.aoe-blog-hero,
.aoe-blog-section,
.aoe-blog-detail-hero,
.aoe-detail-shell {
    --aoe-blog-font: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-family: var(--aoe-blog-font);
}

.aoe-blog-hero :where(h1, h2, h3, p, a, span, input, button),
.aoe-blog-section :where(h1, h2, h3, h4, p, a, span, input, button, select),
.aoe-blog-detail-hero :where(h1, h2, h3, p, a, span, button),
.aoe-detail-shell :where(h1, h2, h3, h4, p, a, span, button, summary, li) {
    font-family: var(--aoe-blog-font);
}

.aoe-blog-hero {
    background:
        linear-gradient(135deg, rgba(33, 66, 82, 0.93), rgba(200, 100, 120, 0.78)),
        url("/assets/images/english.jpg") center/cover;
    color: #fff;
    isolation: isolate;
    overflow: hidden;
    padding: 92px 0 54px;
    position: relative;
}

.aoe-blog-hero .container {
    position: relative;
    z-index: 1;
}

.aoe-blog-hero .heading {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
    margin-left: auto;
    margin-right: auto;
    max-width: 860px;
}

.aoe-blog-hero p {
    line-height: 1.72;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
}

.aoe-blog-kicker,
.aoe-detail-kicker {
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    gap: 8px;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    padding: 8px 13px;
    text-transform: uppercase;
}

.aoe-blog-search-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(19, 42, 53, 0.22);
    margin: 30px auto 0;
    max-width: 920px;
    padding: 12px;
}

.aoe-blog-search-box {
    align-items: center;
    display: flex;
    gap: 12px;
}

.aoe-blog-search-icon {
    color: #c86478;
    flex: 0 0 auto;
    margin-left: 6px;
}

.aoe-blog-search-input {
    border: 0;
    color: #214252;
    flex: 1;
    font-size: 1rem;
    min-width: 0;
    outline: 0;
    padding: 12px 4px;
}

.aoe-blog-search-input::placeholder {
    color: #7a8b96;
}

.aoe-blog-search-submit {
    background: #c86478;
    border: 1px solid #c86478;
    border-radius: 8px;
    color: #fff;
    flex: 0 0 auto;
    font-weight: 800;
    min-height: 46px;
    padding: 10px 18px;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.aoe-blog-search-submit:hover {
    background: #a84e62;
    border-color: #a84e62;
    transform: translateY(-1px);
}

.aoe-blog-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

.aoe-blog-hero-actions a {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 8px 13px;
    text-decoration: none;
}

.aoe-blog-hero-actions a:hover {
    background: #fff;
    color: #214252;
}

.aoe-blog-section {
    background: #f7f9fb;
    padding: 42px 0 68px;
}

.aoe-blog-section-head {
    align-items: end;
    display: flex;
    gap: 22px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.aoe-blog-section-head h2 {
    color: #214252;
    font-size: 2rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 4px 0 8px;
}

.aoe-blog-section-head p {
    color: #60727d;
    line-height: 1.7;
    margin: 0;
    max-width: 650px;
}

.aoe-blog-section-eyebrow {
    color: #c86478;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aoe-blog-section-cta {
    align-items: center;
    background: #214252;
    border-radius: 8px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 800;
    min-height: 44px;
    padding: 10px 15px;
    text-decoration: none;
}

.aoe-blog-section-cta:hover {
    background: #c86478;
    color: #fff;
}

.aoe-blog-toolbar {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 26px;
}

.aoe-blog-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aoe-blog-chip {
    background: #fff;
    border: 1px solid #e6edf1;
    border-radius: 999px;
    color: #214252;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 9px 15px;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.aoe-blog-chip:hover,
.aoe-blog-chip.is-active {
    border-color: #c86478;
    box-shadow: 0 8px 20px rgba(200, 100, 120, 0.14);
    color: #c86478;
    transform: translateY(-1px);
}

.aoe-blog-mobile-filter {
    display: none;
    min-width: 230px;
}

.aoe-blog-mobile-filter .category-select {
    border-color: #dfe8ee;
    color: #c86478;
    font-weight: 700;
    min-height: 46px;
}

.aoe-blog-featured {
    background: #fff;
    border: 1px solid #e8eef2;
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(33, 66, 82, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    margin-bottom: 26px;
    overflow: hidden;
}

.aoe-blog-featured-media,
.aoe-blog-card-media {
    aspect-ratio: 16 / 9;
    align-items: center;
    background: #e9eef1;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.aoe-blog-featured-media img,
.aoe-blog-card-media img {
    display: block;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: 50% 50%;
    transition: transform 0.28s ease;
    width: 100% !important;
}

.aoe-blog-featured-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
}

.aoe-blog-featured:hover img,
.aoe-blog-card:hover img {
    transform: scale(1.035);
}

.aoe-blog-featured-label {
    color: #c86478;
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.aoe-blog-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
}

.aoe-blog-meta {
    align-items: center;
    color: #6f7f88;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.88rem;
    gap: 8px;
    margin-bottom: 14px;
}

.aoe-blog-pill {
    background: rgba(200, 100, 120, 0.12);
    border-radius: 999px;
    color: #b24f65;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 10px;
    text-decoration: none;
}

.aoe-blog-featured h2,
.aoe-blog-card h2,
.aoe-blog-card h3 {
    color: #214252;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
}

.aoe-blog-featured h2 {
    font-size: 2.25rem;
    margin-bottom: 14px;
}

.aoe-blog-card h2,
.aoe-blog-card h3 {
    font-size: 1.16rem;
    margin-bottom: 10px;
}

.aoe-blog-featured h2 a,
.aoe-blog-card h2 a,
.aoe-blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.aoe-blog-featured h2 a:hover,
.aoe-blog-card h2 a:hover,
.aoe-blog-card h3 a:hover {
    color: #c86478;
}

.aoe-blog-card-desc {
    color: #5d6c75;
    display: -webkit-box;
    line-height: 1.65;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.aoe-blog-featured .aoe-blog-card-desc {
    -webkit-line-clamp: 4;
}

.aoe-blog-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aoe-blog-card {
    background: #fff;
    border: 1px solid #e8eef2;
    border-radius: 8px;
    box-shadow: 0 10px 26px rgba(33, 66, 82, 0.06);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.aoe-blog-card:hover {
    box-shadow: 0 18px 36px rgba(33, 66, 82, 0.11);
    transform: translateY(-2px);
}

.aoe-blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.aoe-blog-card-body .aoe-blog-card-desc {
    flex: 1;
}

.aoe-blog-readmore {
    align-items: center;
    color: #c86478;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    text-decoration: none;
}

.aoe-blog-readmore:hover {
    color: #a84e62;
}

.aoe-blog-empty {
    background: #fff;
    border: 1px dashed #c9d5dc;
    border-radius: 8px;
    color: #60727d;
    padding: 34px;
    text-align: center;
}

.aoe-blog-search-state {
    align-items: center;
    background: #fff;
    border: 1px solid #e8eef2;
    border-left: 4px solid #c86478;
    border-radius: 8px;
    color: #60727d;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    justify-content: space-between;
    padding: 16px 18px;
}

.aoe-blog-search-state strong {
    color: #214252;
}

.aoe-blog-search-state a {
    color: #c86478;
    font-weight: 800;
    text-decoration: none;
}

.aoe-blog-pagination {
    align-items: center;
    gap: 8px;
}

.aoe-blog-pagination > a,
.aoe-blog-pagination > span {
    align-items: center;
    background: #fff;
    border: 1px solid #e0e9ee;
    border-radius: 8px;
    color: #214252;
    display: inline-flex;
    font-weight: 800;
    gap: 6px;
    justify-content: center;
    min-height: 40px;
    min-width: 40px;
    padding: 8px 12px;
    text-decoration: none;
}

.aoe-blog-pagination.custom-pagination > a,
.aoe-blog-pagination.custom-pagination > span {
    height: auto;
    line-height: 1;
    width: auto;
}

.aoe-blog-pagination.custom-pagination > span {
    height: 40px;
    padding: 0;
    width: 40px;
}

.aoe-blog-pagination.custom-pagination > .aoe-blog-page-nav {
    border-radius: 999px;
    height: 40px;
    min-width: 88px;
    padding: 0 14px;
    width: auto;
}

.aoe-blog-pagination .aoe-blog-page-nav > span {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: inline;
    height: auto;
    line-height: 1;
    min-width: 0;
    padding: 0;
    width: auto;
}

.aoe-blog-pagination > a:hover,
.aoe-blog-pagination > .active {
    background: #c86478;
    border-color: #c86478;
    color: #fff;
}

.aoe-reading-progress {
    height: 4px;
    left: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
}

.aoe-reading-progress span {
    background: linear-gradient(90deg, #c86478, #214252);
    display: block;
    height: 100%;
    width: 0;
}

.posts-entry .no-result {
    background: #fff;
    border: 1px dashed #c9d5dc;
    border-radius: 8px;
    color: #60727d;
    padding: 24px;
}

.aoe-blog-detail-hero {
    min-height: 520px;
}

.aoe-blog-detail-hero.site-cover.overlay:before {
    background: linear-gradient(180deg, rgba(15, 31, 39, 0.34), rgba(15, 31, 39, 0.84));
}

.aoe-detail-breadcrumb {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.aoe-detail-breadcrumb a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.aoe-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.aoe-detail-description {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.08rem;
    line-height: 1.7;
    margin: 0 auto 18px;
    max-width: 760px;
}

.aoe-detail-share {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.aoe-detail-share a,
.aoe-detail-copy {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    min-height: 38px;
    padding: 8px 12px;
    text-decoration: none;
}

.aoe-detail-share a:hover,
.aoe-detail-copy:hover {
    background: #fff;
    color: #214252;
}

.aoe-detail-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.aoe-detail-hero-cta a {
    border-radius: 999px;
    display: inline-flex;
    font-weight: 850;
    justify-content: center;
    min-height: 44px;
    padding: 10px 15px;
    text-decoration: none;
}

.aoe-detail-hero-cta-primary {
    background: #fff;
    border: 1px solid #fff;
    color: #214252;
}

.aoe-detail-hero-cta-secondary {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.62);
    color: #fff;
}

.aoe-detail-hero-cta-primary:hover,
.aoe-detail-hero-cta-secondary:hover {
    background: #c86478;
    border-color: #c86478;
    color: #fff;
}

.aoe-detail-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;
    margin-top: 12px;
}

.aoe-detail-hero-links a {
    color: #fff;
    font-size: .92rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aoe-detail-shell {
    background: #f7f9fb;
    padding: 42px 0 68px;
}

.aoe-detail-layout {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 780px) minmax(260px, 320px);
    justify-content: center;
}

.aoe-detail-content-card {
    background: #fff;
    border: 1px solid #e8eef2;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(33, 66, 82, 0.07);
    padding: 34px;
}

.aoe-detail-content-card .post-content-body {
    max-width: 100%;
}

.aoe-detail-sidebar {
    position: sticky;
    top: 92px;
}

.aoe-detail-sidebar .adsbygoogle {
    display: block;
    width: 100%;
}

.aoe-detail-toc {
    max-height: calc(100vh - 118px);
    overflow: auto;
}

.aoe-detail-toc summary {
    cursor: pointer;
    list-style: none;
}

.aoe-detail-toc summary::-webkit-details-marker {
    display: none;
}

#toc-list a.is-active {
    color: #214252;
    font-weight: 850;
}

.aoe-detail-aside-card {
    background: #214252;
    border-radius: 8px;
    color: #fff;
    margin-bottom: 25px;
    padding: 18px;
}

.aoe-detail-aside-card span {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.aoe-detail-aside-card strong {
    color: #fff;
    display: block;
    font-size: 1.08rem;
    line-height: 1.35;
}

.aoe-detail-aside-card p {
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    margin: 10px 0 14px;
}

.aoe-detail-aside-card a {
    background: #fff;
    border-radius: 8px;
    color: #214252;
    display: inline-flex;
    font-weight: 850;
    min-height: 40px;
    padding: 9px 12px;
    text-decoration: none;
}

.aoe-detail-aside-card a:hover {
    color: #c86478;
}

.aoe-detail-tags {
    border-top: 1px solid #e8eef2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    padding-top: 22px;
}

.aoe-detail-tag {
    background: #f6e8ec;
    border-radius: 999px;
    color: #a84e62;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 7px 12px;
}

.aoe-detail-cta {
    background: linear-gradient(135deg, #214252, #c86478);
    border-radius: 8px;
    color: #fff;
    margin-top: 28px;
    padding: 24px;
}

.aoe-detail-cta h2 {
    color: #fff !important;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.aoe-detail-cta p {
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 18px;
}

.aoe-detail-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.aoe-detail-cta a {
    background: #fff;
    border-radius: 999px;
    color: #214252;
    font-weight: 800;
    padding: 10px 14px;
    text-decoration: none;
}

.aoe-detail-cta a:hover {
    color: #c86478;
}

.aoe-detail-authority {
    background: #f8fbfc;
    border: 1px solid #e1ebef;
    border-radius: 8px;
    margin-top: 30px;
    padding: 22px;
}

.aoe-detail-authority-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aoe-detail-authority-card {
    background: #fff;
    border: 1px solid #e6edf1;
    border-radius: 8px;
    color: #214252;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-height: 142px;
    padding: 18px;
    position: relative;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.aoe-detail-authority-card:hover {
    border-color: #c86478;
    box-shadow: 0 14px 28px rgba(33, 66, 82, 0.1);
    color: #214252;
    transform: translateY(-1px);
}

.aoe-detail-authority-icon {
    align-items: center;
    background: #fff1f4;
    border: 1px solid #f4d3dc;
    border-radius: 8px;
    color: #c86478;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.1rem;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.aoe-detail-authority-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 7px;
    padding-right: 26px;
}

.aoe-detail-authority-copy strong {
    color: #214252;
    font-size: 1.02rem;
    line-height: 1.35;
}

.aoe-detail-authority-copy span {
    color: #60727d;
    line-height: 1.6;
}

.aoe-detail-authority-arrow {
    color: #c86478;
    font-size: 1.05rem;
    position: absolute;
    right: 18px;
    top: 24px;
    transition: transform 0.18s ease;
}

.aoe-detail-authority-card:hover .aoe-detail-authority-arrow {
    transform: translateX(3px);
}

.aoe-detail-related {
    border-top: 1px solid #e8eef2;
    margin-top: 34px;
    padding-top: 30px;
}

.aoe-detail-related-head {
    margin-bottom: 18px;
}

.aoe-detail-related-head span {
    color: #c86478;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aoe-detail-related-head h2 {
    color: #214252 !important;
    font-size: 1.55rem;
    font-weight: 850;
    margin: 4px 0 6px;
}

.aoe-detail-related-head p {
    color: #60727d;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 991.98px) {
    .aoe-blog-hero {
        padding: 78px 0 42px;
    }

    .aoe-blog-hero .heading {
        font-size: 2.35rem;
    }

    .aoe-blog-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .aoe-blog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .aoe-blog-chips {
        display: none;
    }

    .aoe-blog-mobile-filter {
        display: block;
    }

    .aoe-blog-featured,
    .aoe-blog-grid,
    .aoe-detail-layout {
        grid-template-columns: 1fr;
    }

    .aoe-blog-featured-media {
        min-height: 250px;
    }

    .aoe-blog-featured h2 {
        font-size: 1.85rem;
    }

    .aoe-detail-sidebar {
        order: -1;
        position: static;
    }

    .aoe-detail-toc {
        max-height: none;
    }
}

@media (max-width: 575.98px) {
    .aoe-detail-authority-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .aoe-blog-search-box {
        gap: 8px;
        flex-wrap: wrap;
    }

    .aoe-blog-search-icon {
        margin-left: 0;
    }

    .aoe-blog-search-input {
        flex-basis: calc(100% - 34px);
    }

    .aoe-blog-search-submit {
        width: 100%;
    }

    .aoe-blog-hero .heading {
        font-size: 2rem;
    }

    .aoe-blog-section-head h2 {
        font-size: 1.6rem;
    }

    .aoe-blog-featured-body,
    .aoe-detail-content-card {
        padding: 22px;
    }

    .aoe-blog-card-body {
        padding: 18px;
    }

    .aoe-detail-hero-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .aoe-detail-share {
        align-items: stretch;
        flex-direction: column;
    }

    .aoe-detail-share a,
    .aoe-detail-copy {
        justify-content: center;
        width: 100%;
    }

    .aoe-blog-meta {
        font-size: 0.82rem;
    }
}
