/* Single post hero */
.casara-single-post-hero {
    color: #2f261f;
    background: transparent;
    padding: var(--casara-section-y) 0;
}

.casara-single-post-hero > .wrapper {
    width: 100%;
    margin: 0 auto;
}

.casara-single-post-hero .block-html {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.casara-single-post-hero .block-html > .content {
    padding: 0;
}

.casara-single-post-hero-shell {
    isolation: isolate;
    border-radius: 8px;
}

.casara-single-post-hero-inner {
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 16px;
    max-width: 760px;
}

.casara-single-post-kicker {
    letter-spacing: .06em;
    line-height: 1.2;
}

.casara-single-post-title {
    font-family: Mulish, sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

.casara-single-post-excerpt {
    max-width: 680px;
}

.casara-single-post-hero-media {
    position: absolute;
    z-index: 1;
    inset: 0 0 0 auto;
    width: 43%;
    background-image: var(--single-post-hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .96;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 20%, #000 44%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .18) 20%, #000 44%);
}

.casara-single-post-hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .42) 34%, rgba(255, 255, 255, 0) 66%);
    pointer-events: none;
}

/* Single post section layout */
.single-post #main-content {
    background: #f5f1eb;
    padding: 0 0 2rem;
}
.single-post #breadcrumb {
    background: #fff;
    border-bottom: 1px solid #eadfce;
}
.casara-single-post-hero {
    padding: 0;
}
.casara-single-post-hero > .wrapper {
    max-width: none;
    padding: 0;
}
.casara-single-post-hero-object {
    background: #392612;
    color: #fff;
}
.casara-single-post-hero-object > .wrapper {
    max-width: 1180px;
    padding: 3.4rem 1rem 4.4rem;
}
.casara-single-post-hero-object .section-object {
    width: 100%;
}
.casara-single-post-hero-object .section-object-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: 1.5rem;
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.casara-single-post-hero-object .section-object-image {
    order: 2;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 6px;
    box-shadow: 0 18px 38px rgba(0,0,0,.24);
}
.casara-single-post-hero-object .section-object-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}
.casara-single-post-hero-object .section-object-body {
    order: 1;
    min-width: 0;
}
.casara-single-post-hero-object .section-object-title {
    width: min(820px, 100%);
    margin: .8rem 0 .9rem;
    font-size: 1.8rem;
    line-height: 1.12;
}
.casara-single-post-hero-object .section-object-title a {
    color: #fff;
}
.casara-single-post-hero-object .section-object-title::before {
    content: "Tin tức Casara";
    display: table;
    width: fit-content;
    margin-bottom: .9rem;
    border: 1px solid rgba(245,204,125,.44);
    border-radius: 4px;
    padding: .42rem .78rem;
    background: rgba(255,255,255,.08);
    color: #f3d28c;
    font-size: .86rem;
    font-weight: 800;
    text-transform: uppercase;
}
.casara-single-post-hero-object .section-object-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: .95rem;
}
.casara-single-post-hero-object .section-object-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 4px;
    padding: .35rem .72rem;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: .9rem;
}
.casara-single-post-hero-object .section-object-meta .casara-view-count {
    gap: .42rem;
    border-color: rgba(245,204,125,.24);
    background: rgba(245,204,125,.14);
    color: #fff5dc;
}
.casara-single-post-hero-object .section-object-meta .casara-view-count i {
    color: #f3d28c;
    font-size: .92rem;
}
.casara-single-post-hero-object .section-object-meta .casara-view-count-number {
    padding: 0;
    background: transparent;
    color: #fff;
    font-weight: 800;
}
.casara-single-post-hero-object .section-object-meta .casara-view-count-label {
    padding: 0;
    background: transparent;
    color: rgba(255,255,255,.82);
}
.casara-single-post-hero-object .section-object-excerpt {
    width: min(740px, 100%);
    color: rgba(255,255,255,.86);
    font-size: 1.08rem;
    line-height: 1.75;
}
.casara-single-post-hero-shell {
    min-height: 430px;
    display: grid;
    align-items: end;
    position: relative;
    overflow: hidden;
    background: #392612;
    color: #fff;
}
.casara-single-post-hero-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(57,38,18,.92), rgba(57,38,18,.68) 46%, rgba(57,38,18,.24)), var(--single-post-hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}
.casara-single-post-hero-inner {
    position: relative;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 5rem 1rem 3.25rem;
}
.casara-single-post-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    width: fit-content;
    border: 1px solid rgba(245,204,125,.44);
    border-radius: 4px;
    padding: .42rem .78rem;
    background: rgba(255,255,255,.08);
    color: #f3d28c;
    font-size: .86rem;
    font-weight: 800;
    text-transform: uppercase;
}
.casara-single-post-kicker i,
.casara-single-post-meta i {
    color: #d8aa52;
}
.casara-single-post-title {
    width: min(900px, 100%);
    margin: 1rem 0 .85rem;
    color: #fff;
    font-size: 1.8rem;
    line-height: 1.12;
}
.casara-single-post-excerpt {
    width: min(740px, 100%);
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 1.08rem;
    line-height: 1.75;
}
.casara-single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
}
.casara-single-post-meta li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 34px;
    border-radius: 4px;
    padding: .35rem .72rem;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: .9rem;
}
.single-post #main-content > .wrapper {
    position: relative;
    z-index: 2;
}
.casara-single-article-card {
    padding: 0;
}
.casara-single-article-card > .wrapper,
.casara-single-sidebar > .wrapper,
.casara-single-related > .wrapper {
    padding: 0;
}
.casara-single-article-card .section-object-card {
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(57,38,18,.08);
    overflow: hidden;
}
.casara-single-article-card .section-object-body {
    padding: 2.2rem;
}
.casara-single-article-card .section-object-content {
    color: #392612;
    font-size: 1.04rem;
    line-height: 1.82;
}
.casara-single-article-card .section-object-content > p:first-child {
    font-size: 1.12rem;
    color: #5f4219;
}
.casara-single-article-card .section-object-content h2 {
    margin: 2.35rem 0 1rem;
    padding-left: .85rem;
    border-left: 4px solid #c65911;
    color: #392612;
    font-size: 1.55rem;
    line-height: 1.35;
}
.casara-single-article-card .section-object-content h3 {
    margin: 1.5rem 0 .65rem;
    color: #5f4219;
    font-size: 1.18rem;
    line-height: 1.45;
}
.casara-single-article-card .section-object-content ul,
.casara-single-article-card .section-object-content ol {
    background: #fbf7f0;
    border: 1px solid #eadfce;
    border-radius: 6px;
    padding: 1rem 1.25rem 1rem 1.8rem;
    margin: 1rem 0;
}
.casara-single-article-card .section-object-content li {
    margin: .35rem 0;
}
.casara-single-article-card .section-object-content li:has(> i:first-child),
.casara-single-article-card .section-object-content li:has(> .fa:first-child),
.casara-single-article-card .section-object-content li:has(> .fa-solid:first-child),
.casara-single-article-card .section-object-content li:has(> .fa-regular:first-child),
.casara-single-article-card .section-object-content li:has(> .fa-brands:first-child) {
    list-style: none;
}
.casara-single-article-card .section-object-content .casara-article-icon-list {
    list-style: none;
    padding: 1rem 1.2rem;
}
.casara-single-article-card .section-object-content .casara-article-icon-list li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
}
.casara-single-article-card .section-object-content .casara-article-icon-list i {
    flex: 0 0 auto;
    margin-top: .22rem;
    color: #c65911;
}
.casara-single-article-card .section-object-content a {
    color: #c65911;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.casara-single-article-card .section-object-content figure,
.casara-single-article-card .section-object-content .wp-caption {
    max-width: 100%;
    margin: 1.65rem auto;
    padding: 0;
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 6px !important;
    box-shadow: 0 10px 24px rgba(57,38,18,.08);
    overflow: hidden;
}
.casara-single-article-card .section-object-content img {
    width: 100%;
    display: block;
    border-radius: 0;
}
.casara-single-article-card .section-object-content figcaption,
.casara-single-article-card .section-object-content .wp-caption-text,
.casara-single-article-card .section-object-content .wp-caption-dd {
    margin: 0;
    padding: .75rem .95rem .85rem;
    background: #fff;
    color: #6f5a3f;
    border-top: 1px solid #eadfce;
    font-size: .95rem;
    font-style: normal;
    line-height: 1.55;
    text-align: left;
}
.casara-single-article-card .casara-writer-signature {
    margin-top: 2rem;
    color: #6f5a3f;
}
.casara-single-sidebar {
    position: static;
    padding: 0;
}
.casara-single-sidebar > .wrapper {
    display: grid;
    gap: 1rem;
}
.casara-single-sidebar > .wrapper > .block-html.casara-single-sidebar-box {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}
.casara-single-sidebar-box {
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(57,38,18,.08);
    padding: 1.2rem;
}
.casara-single-sidebar-box h2,
.casara-single-sidebar-box h3 {
    margin: 0 0 .65rem;
    color: #392612;
    font-size: 1.08rem;
    line-height: 1.35;
}
.casara-single-sidebar-box p {
    color: #6f5a3f;
    margin: 0 0 .8rem;
}
.casara-single-sidebar-list {
    list-style: none;
    padding: 0;
    margin: .8rem 0 1rem;
    display: grid;
    gap: .55rem;
}
.casara-single-sidebar-list li {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    color: #392612;
    font-size: .95rem;
}
.casara-single-sidebar-list i {
    color: #c65911;
    margin-top: .25rem;
}
.casara-single-sidebar-actions {
    display: grid;
    gap: .55rem;
}
.casara-single-sidebar-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 42px;
    border-radius: 6px;
    padding: .55rem .85rem;
    font-weight: 800;
}
.casara-single-sidebar-actions .primary {
    background: #392612;
    color: #fff;
}
.casara-single-sidebar-actions .secondary {
    background: #f7ead7;
    color: #5f4219;
}
.casara-single-related {
    padding: 0;
}
.casara-single-related .block-collection {
    background: transparent;
}
.casara-single-related .block-collection > .head {
    margin: 1rem 0 .75rem;
    padding: 0 0 .45rem;
    border-bottom: 1px solid #eadfce;
}
.casara-single-related .head .title,
.casara-single-related .section-title,
.casara-single-related h2 {
    display: block;
    position: relative;
    width: fit-content;
    color: #392612;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: left !important;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}
.casara-single-related .head .title::before,
.casara-single-related .section-title::before,
.casara-single-related h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.5rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #c65911;
}
.casara-single-related .posts-list {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: .75rem;
}
.casara-single-related .posts-list .item {
    background: #fff;
    border: 1px solid #eadfce;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(57,38,18,.08);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.casara-single-related .posts-list .item:hover {
    border-color: #d8c3a3;
    box-shadow: 0 12px 24px rgba(57,38,18,.12);
    transform: translateY(-2px);
}
.casara-single-related .posts-list .post-image {
    display: block;
    overflow: hidden;
    background: #f5f1eb;
}
.casara-single-related .posts-list .post-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    object-fit: cover;
    transition: transform .25s ease;
}
.casara-single-related .posts-list .item:hover .post-image img {
    transform: scale(1.03);
}
.casara-single-related .posts-list .post-info {
    padding: .68rem .75rem .75rem;
}
.casara-single-related .posts-list .post-title {
    display: block;
    color: #392612;
    font-size: .9rem;
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 .35rem;
}
.casara-single-related .posts-list .post-title:hover {
    color: #c65911;
}
.casara-single-related .posts-list .post-excerpt {
    color: #5f4219;
    font-size: .86rem;
    line-height: 1.55;
    margin-bottom: .35rem;
}
.casara-single-related .posts-list .post-date {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: #6f5a3f;
    font-size: .84rem;
    line-height: 1.2;
}
.casara-single-related .posts-list .post-date svg,
.casara-single-related .posts-list .post-date i {
    width: 14px;
    height: 14px;
    color: #c65911;
}
.casara-single-related .posts-list .post-views {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: #6f5a3f;
    font-size: .84rem;
    line-height: 1.2;
}
.casara-single-related .posts-list .post-views i {
    width: 14px;
    height: 14px;
    color: #c65911;
}
.casara-single-related .posts-list .post-views .casara-view-count-number {
    color: #392612;
    font-weight: 800;
}
.casara-single-related .block-collection > .foot {
    justify-content: stretch;
    margin-top: 1rem;
}
.casara-single-related .block-collection > .foot .viewmore {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    border-radius: 4px;
    background: #392612;
    border-color: #392612;
    color: #fff;
    box-shadow: none;
    padding: .65rem 1rem;
}
.casara-single-related .block-collection > .foot .viewmore:hover,
.casara-single-related .block-collection > .foot .viewmore:focus-visible {
    background: #6f4a25;
    border-color: #6f4a25;
}
.casara-single-bottom-cta {
    padding: 0 0 1rem;
}
.casara-single-bottom-cta > .wrapper {
    max-width: 1180px;
}
.casara-single-bottom-cta-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    background: #392612;
    color: #fff;
    border-radius: 6px;
    padding: 1.4rem;
    box-shadow: 0 14px 34px rgba(57,38,18,.16);
}
.casara-single-bottom-cta-box h2 {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: 1.35rem;
}
.casara-single-bottom-cta-box p {
    margin: 0;
    color: rgba(255,255,255,.82);
}
.casara-single-bottom-cta-box a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 6px;
    background: #ffc000;
    color: #392612;
    font-weight: 900;
    padding: .75rem 1rem;
    white-space: nowrap;
}
@media (max-width: 992px) {
    .casara-single-post-hero-object > .wrapper {
        padding: 2.5rem 1rem 3rem;
    }
    .casara-single-post-hero-object .section-object-card {
        grid-template-columns: 1fr;
    }
    .casara-single-post-hero-object .section-object-image,
    .casara-single-post-hero-object .section-object-body {
        order: initial;
    }
    .casara-single-post-hero-shell {
        min-height: 360px;
    }
    .single-post #main-content > .wrapper {
        margin-top: -1rem;
    }
    .casara-single-article-card .section-object-body {
        padding: 1.25rem;
    }
    .casara-single-bottom-cta-box {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .casara-single-post-hero-object .section-object-title {
        font-size: 1.8rem;
        line-height: 1.18;
    }
    .casara-single-post-title {
        font-size: 1.8rem;
        line-height: 1.18;
    }
    .casara-single-post-hero-inner {
        padding: 3rem .85rem 2rem;
    }
    .casara-single-article-card .section-object-content {
        font-size: 1rem;
        line-height: 1.75;
    }
}
