@charset "utf-8";
@import "../base/icons.css";

/* css for style */
* {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    display: inline-block;
    height: auto;
    vertical-align: middle;
    border: none;
}

body {
    color: #333;
    font-size: 16px;
    line-height: 1.6em;
    font-family: 'Inter', "Segoe UI", "Open Sans", "Helvetica Neue", "MWF-MDL2", "Helvetica,Arial,sans-serif";
}

@font-face {
    font-family: "iconfont";
    src:
        url("../../fonts/iconfont.woff2") format("woff2"),
        url("../../fonts/iconfont.woff?t=1698889420103") format("woff"),
        url("../../fonts/iconfont.ttf?t=1698889420103") format("truetype");
}

/* Icon baseline and glyphs come from /css/base/icons.css */

.hidden {
    overflow: hidden;
}

.bi-grid-fill::before,
.bi-person-lines-fill::before,
.bi-cloud-arrow-down-fill::before,
.bi-chat-square-text-fill::before,
.bi-brush-fill::before,
.bi-chevron-up::before {
    display: block;
}

h1,
h2,
h3 {
    color: #333;
}

ul {
    list-style: none;
}

a {
    color: #ff8800;
    text-decoration: none;
}

.container {
    box-sizing: border-box;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.col-12,
.col-md-4,
.col-md-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.dis-flex2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.totop {
    display: none;
    cursor: pointer;
    position: fixed;
    z-index: 999;
    /*
	width:30px;
	height:30px;
*/
    padding: 6px;
    bottom: 160px;
    right: 20px;
    background-color: #194eb9;
    border: 1px solid #fff;
    transition: all 0.3s;
    opacity: 0.8;
    font-size: 30px;
    color: #fff;
}

.totop:hover {
    opacity: 1;
}

/*--------*/
.bread {
    background-color: #194eb9;
}

.crumb {
    color: #fff;
    padding: 10px 0;
    max-width: 1200px;
    box-sizing: border-box;
    margin: 0 auto;
}

.crumb a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    border: 1px solid #194eb9;
    display: inline-block;
    line-height: 40px;
}

.crumb a:hover {
    text-decoration: underline;
}

.crumb a:active {
    border: 1px dashed #fff;
}

.crumb a img {
    display: block;
    float: left;
    padding-top: 4px;
}

.crumb big {
    font-size: 24px;
    padding: 10px;
}

/* Modern breadcrumb used by refreshed author profiles. */
.author-page {
    --breadcrumb-primary-hover: #1548b5;
    background: #eef3fb;
}

.author-page .bread {
    background: transparent;
    border: none;
    padding-top: 10px;
}

.author-page .crumb {
    list-style: none;
    max-width: 1200px;
    margin: 0 auto 18px;
    padding: 8px 4px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #5e6f8f;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
}

.author-page .crumb li {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.author-page .crumb li:not(:first-child)::before {
    content: "»";
    flex: 0 0 auto;
    color: #8ea0c1;
    font-size: 14px;
    font-weight: 600;
    padding: 0 8px;
}

.author-page .crumb a,
.author-page .breadcrumb-section {
    display: inline-flex;
    align-items: center;
    color: #1a4ea8;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.author-page .crumb a:hover {
    color: var(--breadcrumb-primary-hover);
    text-decoration: underline;
}

.author-page .breadcrumb-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #e6eeff;
    margin-right: 2px;
}

.author-page .crumb a img {
    float: none;
    display: inline-block;
    vertical-align: middle;
    width: 12px;
    height: 12px;
    padding-top: 0;
    margin-right: 0;
    opacity: 0.75;
}

@media (max-width: 1200px) {
    .author-page .crumb {
        margin-left: 16px;
        margin-right: 16px;
    }
}

@media (max-width: 1024px) {
    .author-page .crumb {
        margin-bottom: 14px;
        padding: 9px 0;
        border-radius: 10px;
        font-size: 14px;
        line-height: 1.45;
        gap: 4px 2px;
    }

    .author-page .crumb li[aria-current="page"] {
        display: none;
    }
}

@media (max-width: 768px) {
    .author-page .bread {
        padding-top: 6px;
    }

    .author-page .crumb {
        margin: 0 10px 10px;
        padding: 6px 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        white-space: nowrap;
    }

    .author-page .crumb::-webkit-scrollbar {
        display: none;
    }

    .author-page .crumb li {
        flex: 0 0 auto;
    }
}

/* Keep the nav.js back-to-top control consistent with the rest of the site. */
.scroll-to-top-btn {
    position: fixed;
    right: 15px;
    bottom: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid #4c88ff;
    border-radius: 8px;
    background: #2268f5;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease,
        visibility 0.3s ease, transform 0.3s ease;
}

.scroll-to-top-btn:hover {
    border-color: #1a55c8;
    background: #1a55c8;
    transform: translateY(-2px);
}

.scroll-to-top-btn:focus-visible {
    outline: 3px solid rgba(34, 104, 245, 0.35);
    outline-offset: 3px;
}

.scroll-to-top-btn .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/*author information*/
.full-box {
    padding: 60px 0;
    background: linear-gradient(180deg, #f2f7ff, #fafcff);
}

.author-page .full-box {
    padding-top: 0;
    background: transparent;
}

.index {
    max-width: 1200px;
    margin: 0 auto;
}

.author-div {
    display: grid;
    grid-gap: 60px;
    align-items: center;
    grid-auto-flow: column;
    padding: 60px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(25, 78, 185, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.author-div::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(135deg, #194eb9, #4ca1af);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.author-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(25, 78, 185, 0.12);
}

.author-infor {
    display: grid;
    grid-gap: 20px;
    place-items: center;
    position: relative;
    z-index: 1;
}

.author-infor img {
    width: 120px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.author-div:hover .author-infor img {
    transform: scale(1.05);
}

.author-infor h1 {
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 700;
}

.author-job {
    display: grid;
    grid-gap: 16px;
    line-height: 1.6em;
}

.author-job p:first-child strong {
    color: #194eb9;
    font-size: 20px;
}

@media (max-width: 1200px) {
    .crumb {
        margin: 0 20px;
    }

    .author-div {
        padding: 50px;
        margin: 0 20px;
    }
}

@media (max-width: 1024px) {
    .author-div {
        grid-gap: 40px;
    }
}

@media (max-width: 768px) {
    .author-div {
        padding: 40px 20px;
        grid-gap: 30px;
        display: flex;
        flex-direction: column;
    }

    .author-infor {
        grid-gap: 10px;
    }

    .author-infor img {
        width: 80px;
    }
}

/*All articles*/
.article-div {
    display: grid;
    grid-gap: 60px;
    margin: 80px 0 60px;
}

.article-div>h2 {
    font-size: 36px;
    line-height: 1.2;
}

.all-article {
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

.article-a {
    display: grid;
    grid-gap: 20px;
    grid-template-rows: min-content;
    color: #333333;
    padding: 30px;
    border-radius: 20px;
    background: #ffffff;
    transition: all ease-in-out 0.5s;
    box-shadow: 5px 5px 15px 0px rgba(25, 78, 185, 0.1);
}

.article-a:hover {
    transform: translateY(-10px);
}

.article-a h3 {
    color: #333333;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-a p {
    font-size: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.article-a time {
    color: #808080;
}

.article-a time::before {
    margin-right: 8px;
    content: url("../../images/common/date.png");
}

@media (max-width: 1200px) {
    .article-div {
        margin: 80px 20px 60px;
    }
}

@media (max-width: 1024px) {
    .all-article {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .all-article {
        grid-template-columns: repeat(1, 1fr);
    }
}

.follw-icon {
    margin-right: 10px;
    transition: all 0.3s;
}

.follw-icon:hover {
    transition: all 0.3s;
    transform: translateY(-5px);
}

@media (min-width: 1200px) {

    .logo {
        padding-top: 10px;
    }
}


