/* ===================================================
   360° virtual office tour (index.php + contact.php)
   =================================================== */
.office-tour-section {
    padding: 60px 0;
}

.office-tour-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 1rem;
    background: #000;
    box-shadow: 0 14px 44px rgba(57, 49, 133, 0.14);
}

.office-tour-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 767px) {
    .office-tour-section {
        padding: 45px 0;
    }

    .office-tour-frame {
        aspect-ratio: 4 / 3;
    }
}

/* ===================================================
   from blog.php
   =================================================== */
.blog-grid-section {
    padding: 80px 0 60px;
}

.blog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.blog-filter-pill {
    padding: 10px 22px;
    border-radius: 30px;
    background: #f5f5f5;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s ease;
    border: none;
    user-select: none;
}

.blog-filter-pill:hover {
    background: #ebebeb;
}

.blog-filter-pill.active {
    background: var(--blue);
    color: #fff;
}

.blog-filter-search {
    margin-left: auto;
    position: relative;
    min-width: 260px;
}

.blog-filter-search input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 1px solid #e5e5e5;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    transition: border .2s;
}

.blog-filter-search input:focus {
    border-color: var(--blue);
}

.blog-filter-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.featured-post {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fafafa;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    transition: all .3s ease;
}

.featured-post:hover {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.featured-post-img {
    height: 100%;
    min-height: 380px;
    overflow: hidden;
}

.featured-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.featured-post:hover .featured-post-img img {
    transform: scale(1.05);
}

.featured-post-body {
    padding: 50px 50px 50px 0;
}

.featured-post-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--yellow);
    color: #1a1a1a;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.featured-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--blue);
    color: #fff;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-left: 10px;
}

.featured-post-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 18px;
    color: #1a1a1a;
}

.featured-post-title a {
    color: inherit;
    text-decoration: none;
}

.featured-post-title a:hover {
    color: var(--blue);
}

.featured-post-excerpt {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}

.featured-post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: #777;
    margin-bottom: 24px;
}

.featured-post-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #bbb;
    display: inline-block;
}

.featured-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    transition: gap .25s ease;
}

.featured-read-more:hover {
    gap: 16px;
    color: var(--blue);
}

.post-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: all .35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
    border-color: transparent;
    color: inherit;
}

.post-card-img {
    position: relative;
    overflow: hidden;
}

.post-card-img img {
    transition: transform .6s ease;
}

.post-card:hover .post-card-img img {
    transform: scale(1.06);
}

.post-card-tag {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.post-card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.post-card-meta .dot {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #bbb;
    margin: 0 8px 3px;
    vertical-align: middle;
}

.post-card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.post-card:hover .post-card-title {
    color: var(--blue);
}

.post-card-excerpt {
    font-size: 15px;
    line-height: 1.65;
    color: #666;
    margin-bottom: 20px;
    flex: 1;
}

.post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
    font-size: 14px;
    transition: gap .25s ease;
}

.post-card:hover .post-card-link {
    gap: 14px;
}

.blog-newsletter {
    background: linear-gradient(135deg, var(--blue) 0%, #5b54a8 100%);
    border-radius: 24px;
    padding: 60px 50px;
    color: #fff;
    text-align: center;
    margin-top: 60px;
}

.blog-newsletter h3 {
    font-size: 32px;
    margin-bottom: 14px;
    color: #fff;
}

.blog-newsletter p {
    font-size: 17px;
    opacity: 0.92;
    margin-bottom: 30px;
}

.blog-newsletter form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.blog-newsletter input {
    flex: 1;
    min-width: 240px;
    padding: 14px 22px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    outline: none;
}

.blog-newsletter button {
    padding: 14px 32px;
    border: none;
    border-radius: 30px;
    background: var(--yellow);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all .2s;
}

.blog-newsletter button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.post-empty {
    text-align: center;
    padding: 60px 20px;
    color: #777;
}

@media (max-width: 991px) {
    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post-img {
        min-height: 260px;
    }

    .featured-post-body {
        padding: 30px;
    }

    .featured-post-title {
        font-size: 28px;
    }

    .blog-filter-search {
        margin-left: 0;
        width: 100%;
    }
}


/* ===================================================
   from gallery.php
   =================================================== */
/* Masonry layout — column-based so any image/video aspect ratio
                   (including vertical reels) flows without fixed heights. */
.gallery-tab-content .row {
    display: block;
    column-gap: 16px;
}

@media (min-width: 576px) {
    .gallery-tab-content .row {
        column-count: 2;
    }
}

@media (min-width: 768px) {
    .gallery-tab-content .row {
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    .gallery-tab-content .row {
        column-count: 4;
    }
}

.gallery-tab-content .row>[class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: none;
    float: none;
    display: block;
    padding: 0;
    margin: 0 0 16px;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.gallery-tab-content .mil-gallery-item {
    display: block;
}

.gallery-tab-content .mil-gallery-item img,
.gallery-tab-content .mil-gallery-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.gallery-tab-content .gallery-video video {
    pointer-events: none;
    background: #000;
}

.gallery-video {
    position: relative;
}

.gallery-video::after {
    content: "\f04b";
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 50%;
    pointer-events: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-video:hover::after {
    background: rgba(237, 206, 41, 0.9);
    color: #1a1a1a;
    transform: translate(-50%, -50%) scale(1.1);
}


/* ===================================================
   from professional-deep-cleaning-for-your-home.php
   =================================================== */
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.6rem;
    margin-top: 1rem
}

.room-card {
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 1.8rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(0, 0, .36, 1), box-shadow .35s, border-color .35s
}

.room-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 4rem 7rem -3rem rgba(50, 56, 66, .28);
    border-color: var(--yellow)
}

.room-card-img {
    position: relative;
    display: block;
    overflow: hidden;
    line-height: 0
}

.room-card-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(0, 0, .36, 1)
}

.room-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 20, 25, .82) 0%, rgba(18, 20, 25, .30) 38%, rgba(18, 20, 25, 0) 62%);
    pointer-events: none;
    transition: opacity .4s
}

.room-card:hover .room-card-img img {
    transform: scale(1.06)
}

.room-card-tag {
    position: absolute;
    z-index: 2;
    left: 2.2rem;
    bottom: 1.9rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    color: #fff;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: .02rem;
    text-shadow: 0 .2rem 1.2rem rgba(0, 0, 0, .45)
}

.room-card-tag::before {
    content: "";
    width: .5rem;
    height: 2.3rem;
    background: var(--yellow);
    border-radius: 2rem;
    box-shadow: 0 0 1.4rem rgba(237, 206, 41, .6)
}

.room-card-body {
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem
}

.room-card-body i {
    flex: 0 0 auto;
    margin-top: .2rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: rgba(237, 206, 41, .18);
    color: #b89e00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem
}

.room-card-body p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #5a606c;
    margin: 0
}

@media(max-width:992px) {
    .room-grid {
        grid-template-columns: 1fr;
        max-width: 48rem;
        margin: 1rem auto 0
    }
}

.pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: stretch;
    margin-top: 6rem
}

.pkg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 2rem;
    padding: 4rem 3.4rem;
    transition: transform .35s cubic-bezier(0, 0, .36, 1), box-shadow .35s, border-color .35s
}

.pkg-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 4rem 7rem -3rem rgba(50, 56, 66, .28);
    border-color: var(--yellow)
}

.pkg-name {
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.1;
    color: #323842;
    margin: 0 0 .6rem
}

.pkg-meta {
    font-size: 1.6rem;
    font-weight: 500;
    color: #7c8290;
    margin: 0 0 2.4rem
}

.pkg-price {
    display: flex;
    align-items: baseline;
    gap: .8rem;
    margin-bottom: .4rem
}

.pkg-price strong {
    font-size: 3.4rem;
    font-weight: 700;
    color: #323842;
    line-height: 1
}

.pkg-price span {
    font-size: 1.5rem;
    color: #7c8290
}

.pkg-price-note {
    font-size: 1.4rem;
    color: #9aa0ac;
    margin: 0 0 2.6rem
}

.pkg-divider {
    height: 1px;
    background: #ececf1;
    margin: 0 0 2.6rem;
    border: 0
}

.pkg-features {
    list-style: none;
    padding: 0;
    margin: 0 0 3.4rem;
    flex: 1 1 auto
}

.pkg-features li {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    font-size: 1.7rem;
    line-height: 1.5;
    color: #4e545e;
    padding: .9rem 0
}

.pkg-features li i {
    flex: 0 0 auto;
    margin-top: .3rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: rgba(237, 206, 41, .18);
    color: #b89e00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem
}

.pkg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    height: 5.8rem;
    border-radius: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .15rem;
    text-transform: uppercase;
    text-decoration: none;
    background: #323842;
    color: #fff;
    transition: filter .3s, transform .3s
}

.pkg-btn:hover {
    filter: brightness(108%);
    transform: translateY(-.2rem)
}

.pkg-btn i {
    font-size: 1.5rem
}

/* Featured (dark, premium) */
.pkg-card--featured {
    background: #2b303a;
    border-color: #2b303a;
    box-shadow: 0 5rem 8rem -3rem rgba(50, 56, 66, .45);
    z-index: 2
}

@media(min-width:993px) {
    .pkg-card--featured {
        margin-top: -2rem;
        margin-bottom: -2rem;
        padding-top: 6rem;
        padding-bottom: 6rem
    }
}

.pkg-card--featured:hover {
    border-color: var(--yellow)
}

.pkg-card--featured .pkg-name {
    color: #fff
}

.pkg-card--featured .pkg-meta {
    color: rgba(255, 255, 255, .6)
}

.pkg-card--featured .pkg-price strong {
    color: var(--yellow)
}

.pkg-card--featured .pkg-price span,
.pkg-card--featured .pkg-price-note {
    color: rgba(255, 255, 255, .55)
}

.pkg-card--featured .pkg-divider {
    background: rgba(255, 255, 255, .14)
}

.pkg-card--featured .pkg-features li {
    color: rgba(255, 255, 255, .82)
}

.pkg-card--featured .pkg-features li i {
    background: var(--yellow);
    color: #2b303a
}

.pkg-card--featured .pkg-btn {
    background: var(--yellow);
    color: #2b303a
}

.pkg-ribbon {
    position: absolute;
    top: -1.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--yellow);
    color: #2b303a;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .1rem;
    text-transform: uppercase;
    padding: .8rem 2rem;
    border-radius: 5rem;
    white-space: nowrap;
    box-shadow: 0 1rem 2rem -.6rem rgba(237, 206, 41, .7)
}

@media(max-width:992px) {
    .pkg-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        max-width: 48rem;
        margin: 0 auto
    }

    .pkg-card--featured {
        margin: 0
    }
}


/* ===================================================
   from privacy-policy.php
   =================================================== */
.legal-section {
    padding: 3rem 0 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #0a2540;
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    color: #1a1a1a;
}

.legal-section p,
.legal-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.legal-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.4rem;
}

.legal-meta {
    background: #f8f9fa;
    border-left: 4px solid #EDCE29;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 6px;
    font-size: 0.95rem;
}

.legal-meta strong {
    color: #0a2540;
}


/* ===================================================
   from sitemap.php
   =================================================== */
.sitemap-section {
    padding: 4rem 0 2rem;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.sitemap-block {
    background: #f8f9fa;
    border-left: 4px solid #EDCE29;
    padding: 1.5rem;
    border-radius: 6px;
}

.sitemap-block h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #0a2540;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sitemap-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-block li {
    margin-bottom: 0.45rem;
    line-height: 1.4;
}

.sitemap-block a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.sitemap-block a:hover {
    color: #EDCE29;
    text-decoration: underline;
}

.sitemap-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0 2rem;
}

.sitemap-stat {
    background: #0a2540;
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.sitemap-stat strong {
    color: #EDCE29;
    font-size: 1.1rem;
    margin-right: 0.4rem;
}


/* ===================================================
   from terms-and-conditions.php
   =================================================== */
.legal-section {
    padding: 3rem 0 2rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #0a2540;
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    color: #1a1a1a;
}

.legal-section p,
.legal-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.legal-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.4rem;
}

.legal-meta {
    background: #f8f9fa;
    border-left: 4px solid #EDCE29;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 6px;
    font-size: 0.95rem;
}

.legal-meta strong {
    color: #0a2540;
}


/* ===================================================
   from component/blog-styles.php
   =================================================== */
/* === Reading progress bar === */
.blog-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--yellow) 0%, #f6d62d 100%);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s ease-out;
    box-shadow: 0 1px 8px rgba(237, 206, 41, 0.4);
}

/* === Article typography === */
.mil-blog-article {
    padding-top: 70px;
    padding-bottom: 80px;
}

.mil-blog-article article>p,
.mil-blog-article .blog-content p {
    font-size: 17px;
    line-height: 1.85;
    color: #2c2c2c;
    margin-bottom: 24px;
}

.mil-blog-article article>p.mil-fs-20 {
    font-size: 20px;
    line-height: 1.75;
    color: #1a1a1a;
    font-weight: 400;
}

.mil-blog-article .blog-content h2 {
    scroll-margin-top: 110px;
    margin-top: 60px;
    margin-bottom: 22px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    padding-left: 18px;
    border-left: 4px solid var(--yellow);
}

.mil-blog-article .blog-content h2:first-of-type {
    margin-top: 10px;
}

.mil-blog-article .blog-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.mil-blog-article .blog-content ul,
.mil-blog-article .blog-content ol {
    padding-left: 0;
    margin: 0 0 28px;
    list-style: none;
}

.mil-blog-article .blog-content ul li,
.mil-blog-article .blog-content ol li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.75;
    font-size: 16.5px;
    color: #2c2c2c;
}

.mil-blog-article .blog-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
}

.mil-blog-article .blog-content ol {
    counter-reset: item;
}

.mil-blog-article .blog-content ol li {
    counter-increment: item;
}

.mil-blog-article .blog-content ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mil-blog-article .blog-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* === Featured image === */
.mil-blog-article article>img {
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* === Meta strip === */
.mil-meta-strip {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    flex-wrap: wrap;
}

.mil-meta-strip .mil-meta-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
    flex-shrink: 0;
}

.mil-meta-strip .mil-meta-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mil-meta-strip p {
    margin: 0;
}

/* === Key Takeaways box === */
.mil-takeaway-box {
    background: linear-gradient(135deg, #fffbe5 0%, #fff7d4 100%);
    border: 1px solid #f0e3a8;
    border-radius: 16px;
    padding: 32px 36px;
    position: relative;
}

.mil-takeaway-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 5px;
    background: var(--yellow);
    border-radius: 0 4px 4px 0;
}

.mil-takeaway-box h4 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1a1a;
}

.mil-takeaway-box h4::before {
    content: "💡";
    font-size: 22px;
}

.mil-takeaway-box ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mil-takeaway-box ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    line-height: 1.65;
    font-size: 16px;
    color: #1a1a1a;
}

.mil-takeaway-box ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free", "FontAwesome";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--yellow);
    color: #1a1a1a;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === CTA card === */
.mil-blog-cta-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #fff;
    padding: 40px 45px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
}

.mil-blog-cta-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(237, 206, 41, 0.25) 0%, transparent 65%);
    border-radius: 50%;
}

.mil-blog-cta-card>* {
    position: relative;
    z-index: 1;
}

.mil-blog-cta-card h4 {
    color: #fff;
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 600;
}

.mil-blog-cta-card p {
    color: rgba(255, 255, 255, 0.85);
}

.mil-blog-cta-card .mil-btn {
    background: var(--yellow);
    color: #1a1a1a;
    font-weight: 600;
}

/* === FAQ === */
.mil-faq-list {
    border-top: 1px solid #e5e5e5;
}

.mil-faq-item {
    border-bottom: 1px solid #e5e5e5;
    padding: 0;
    transition: background 0.2s;
}

.mil-faq-item:hover {
    background: #fafafa;
}

.mil-faq-q {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 16px;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    gap: 20px;
    color: #1a1a1a;
}

.mil-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 16px;
}

.mil-faq-a p {
    margin: 0;
    line-height: 1.85;
    color: #444;
    font-size: 16px;
}

.mil-faq-item.active {
    background: #fffbe5;
}

.mil-faq-item.active .mil-faq-a {
    max-height: 600px;
    padding: 0 16px 22px;
}

.mil-faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0 !important;
    transition: background 0.2s;
}

.mil-faq-toggle::before {
    content: "\f078";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    font-size: 13px;
    color: #1a1a1a;
    line-height: 1;
    transition: transform 0.3s;
    display: inline-block;
}

.mil-faq-item.active .mil-faq-toggle::before {
    transform: rotate(180deg);
}

/* === Tag pills (with # prefix) === */
.mil-tag-pill {
    display: inline-block;
    padding: 8px 18px;
    background: #fff;
    border: 1.5px solid var(--yellow);
    border-radius: 24px;
    margin-right: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.mil-tag-pill::before {
    content: "# ";
    color: var(--blue);
    font-weight: 700;
}

.mil-tag-pill:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
    transform: translateY(-1px);
}

.mil-tag-pill:hover::before {
    color: var(--yellow);
}

/* === Author card === */
.mil-author-card {
    background: #fff;
    border: 1px solid #ececec;
    padding: 35px;
    border-radius: 16px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.mil-author-card .mil-author-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    flex-shrink: 0;
    border: 4px solid var(--yellow);
    box-shadow: 0 6px 20px rgba(237, 206, 41, 0.25);
}

.mil-author-card .mil-author-body {
    flex: 1;
    min-width: 240px;
}

.mil-author-card .mil-author-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 6px;
}

.mil-author-card .mil-author-title {
    font-size: 15px;
    color: var(--blue);
    margin-bottom: 14px;
    font-weight: 500;
}

.mil-author-card .mil-author-bio {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 18px;
}

.mil-author-card .mil-author-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.mil-author-btn {
    display: inline-block;
    padding: 10px 26px;
    border: 2px solid var(--yellow);
    border-radius: 24px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background: #fff;
    transition: all 0.2s;
}

.mil-author-btn:hover {
    background: var(--yellow);
    color: #1a1a1a;
}

.mil-author-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--yellow);
    border-radius: 50%;
    color: var(--blue);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 15px;
}

.mil-author-social:hover {
    background: var(--yellow);
    color: #1a1a1a;
}

/* === Back to Blog button === */
.mil-blog-back {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 28px 8px 10px;
    border-radius: 50px;
    background: #f4f4f2;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid #ececec;
}

.mil-blog-back i {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #1a1a1a;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.mil-blog-back:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.mil-blog-back:hover i {
    transform: translateX(-5px);
    background: var(--yellow);
}

/* === AI Summarize section === */
.ai-summarize-section {
    background: #fffbe5;
    border: 1px solid #f0e3a8;
    border-radius: 12px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.ai-summarize-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.ai-summarize-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}

.ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.ai-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.ai-btn-chatgpt {
    background: #10a37f;
    color: #fff;
}

.ai-btn-chatgpt:hover {
    background: #0d8c6c;
    color: #fff;
}

.ai-btn-claude {
    background: #cc785c;
    color: #fff;
}

.ai-btn-claude:hover {
    background: #b8634a;
    color: #fff;
}

.ai-btn-google {
    background: #fff;
    color: #3c4043;
    border-color: #dadce0;
}

.ai-btn-google:hover {
    background: #f8f9fa;
    color: #3c4043;
}

.ai-btn-perplexity {
    background: #6366f1;
    color: #fff;
}

.ai-btn-perplexity:hover {
    background: #4f51d6;
    color: #fff;
}

/* === Sticky sidebar fix - parent overflow blocks sticky === */
body {
    overflow-x: hidden;
}

.mil-page-wrapper {
    overflow: clip !important;
    overflow-clip-margin: 0 !important;
}

.mil-blog-article,
.mil-blog-article .container,
.mil-blog-article .row {
    overflow: visible !important;
}

/* === Sticky sidebar (TOC + share together) === */
@media (min-width: 992px) {

    .mil-blog-article aside.col-lg-4,
    .mil-blog-article aside.col-xl-3 {
        position: -webkit-sticky;
        position: sticky;
        top: 110px;
        align-self: flex-start;
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: #ddd transparent;
    }

    .mil-blog-article aside::-webkit-scrollbar {
        width: 6px;
    }

    .mil-blog-article aside::-webkit-scrollbar-thumb {
        background: #ddd;
        border-radius: 3px;
    }

    .mil-blog-article aside::-webkit-scrollbar-track {
        background: transparent;
    }

    .mil-blog-article aside .toc-wrapper {
        position: static !important;
        top: auto !important;
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .mil-blog-article {
        padding-top: 40px;
    }

    .mil-blog-article .blog-content h2 {
        font-size: 26px;
    }

    .mil-blog-cta-card {
        padding: 32px 28px;
    }

    .mil-blog-cta-card h4 {
        font-size: 22px;
    }

    .mil-takeaway-box {
        padding: 28px 24px;
    }

    .mil-author-card {
        padding: 25px;
        gap: 20px;
    }

    .mil-author-card .mil-author-img {
        width: 100px;
        height: 100px;
    }

    .ai-summarize-section {
        padding: 20px;
    }

    .ai-summarize-buttons {
        width: 100%;
    }
}

/* ===================================================
   from component/blog-share.php
   =================================================== */
.blog-share-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 18px;
    margin-top: 16px;
}

.blog-share-title {
    font-size: 15px;
    margin: 0 0 12px;
    color: #333;
    font-weight: 600;
}

.blog-share-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-share-icons .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all .25s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.share-btn.share-fb {
    background: #1877f2;
}

.share-btn.share-x {
    background: #000;
}

.share-btn.share-li {
    background: #0a66c2;
}

.share-btn.share-wa {
    background: #25d366;
}

.share-btn.share-copy {
    background: #6b7280;
}

.blog-share-icons .share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.share-btn.copied {
    background: #16a34a !important;
}

/* ===================================================
   from component/instagram-reels.php
   =================================================== */
.instagram-reels-section {
    padding: 100px 0;
    background: #fafafa;
}

/* Carousel wrapper */
.reels-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reels-carousel-track-container {
    flex: 1;
    overflow: hidden;
}

.reels-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.reel-card {
    flex: 0 0 calc((100% - 60px) / 4);
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

/* Nav buttons */
.reels-nav {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.reels-nav:hover {
    background: #222;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: scale(1.08);
}


/* Dots */
.reels-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.reels-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.reels-dot.active {
    background: #333;
    transform: scale(1.3);
}

/* Reel card internals */
.reel-video-wrapper {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    cursor: pointer;
}

.reel-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.4) 0%,
            transparent 30%,
            transparent 50%,
            rgba(0, 0, 0, 0.6) 100%);
    padding: 16px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.reel-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.reel-mute-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease;
    z-index: 3;
}

.reel-card.playing .reel-mute-btn {
    opacity: 1;
}

.reel-mute-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.reel-mute-btn.unmuted i::before {
    content: "\f028";
}

.reel-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reel-badge i {
    font-size: 14px;
}

.reel-bottom {
    color: #fff;
}

.reel-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.reel-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
}

.reel-username {
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.reel-caption {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reel-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 500;
    padding-bottom: 44px;
}

.reel-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.reel-stats i {
    font-size: 15px;
}

.reel-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.reel-play-btn i {
    margin-left: 3px;
}

.reel-play-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) scale(1.1);
}

.reel-card.playing .reel-play-btn {
    opacity: 0;
    pointer-events: none;
}

.reel-card.playing:hover .reel-play-btn {
    opacity: 1;
    pointer-events: all;
}

.reel-card.playing:hover .reel-play-btn i::before {
    content: "\f04c";
}

/* Responsive — Desktop default: 4 reels */
@media (max-width: 1199px) {
    .reel-card {
        flex: 0 0 calc((100% - 60px) / 4);
    }
}

/* Tablet: 2 reels */
@media (max-width: 991px) {
    .instagram-reels-section {
        padding: 70px 0;
    }

    .reels-carousel-track {
        gap: 16px;
    }

    .reel-card {
        flex: 0 0 calc((100% - 16px) / 2);
    }

    .reels-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .reel-username {
        font-size: 13px;
    }

    .reel-caption {
        font-size: 12px;
    }

    .reel-stats {
        font-size: 12px;
        gap: 12px;
    }
}

/* Mobile: 1 reel, larger and centered */
@media (max-width: 575px) {
    .instagram-reels-section {
        padding: 50px 0;
    }

    .reels-carousel-wrapper {
        gap: 8px;
    }

    .reels-carousel-track {
        gap: 12px;
    }

    .reel-card {
        flex: 0 0 calc(100% - 0px);
        max-width: 280px;
        margin: 0 auto;
    }

    .reels-nav {
        width: 36px;
        height: 36px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .reel-overlay {
        padding: 12px;
    }

    .reel-username {
        font-size: 13px;
    }

    .reel-caption {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .reel-stats {
        font-size: 12px;
        gap: 12px;
        padding-bottom: 42px;
    }

    .reel-avatar {
        width: 28px;
        height: 28px;
    }

    .reel-play-btn {
        width: 52px;
        height: 52px;
        font-size: 18px;
    }

    .reel-mute-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
        bottom: 12px;
        right: 12px;
    }
}

/* ===================================================
   from component/toc.php
   =================================================== */
.toc-wrapper {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0;
    width: 100%;
    max-width: 380px;
    position: sticky;
    top: 130px;
}

.toc-title {
    background: var(--blue);
    color: #fff !important;
    padding: 14px 20px;
    margin: 0 !important;
    border-radius: 8px 8px 0 0;
}

#toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* TOC Item */
.toc-item {
    padding: 12px 20px 12px 38px;
    /* left padding improved for icon */
    cursor: pointer;
    border-bottom: 1px solid #eee;
    transition: all 0.25s ease;
    font-weight: 500;
    position: relative;
    display: flex;
    align-items: center;
}

/* Icon Before */
.toc-item::before {
    font-family: FontAwesome;
    content: "\f0a4";
    /* fa-hand-o-right */
    position: absolute;
    left: 14px;
    /* perfect horizontal alignment */
    top: 50%;
    transform: translateY(-50%);
    /* perfect vertical alignment */
    font-size: 15px;
    color: #6d6d6d;
    opacity: .8;
    transition: color .2s, opacity .2s;
}

/* Hover */
.toc-item:hover {
    background: #f5f6f7;
}

/* Hover icon effect */
.toc-item:hover::before {
    color: var(--blue);
    opacity: 1;
}

/* Active State */
.toc-item.active {
    background: var(--yellow);
    color: #fff;
    font-weight: 600;
    border-left: 4px solid var(--blue);
}

/* Active icon */
.toc-item.active::before {
    color: #fff;
    opacity: 1;
}

/* ===================================================
   from component/booking-popup.php
   =================================================== */
.mil-booking-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.mil-booking-popup.mil-active {
    visibility: visible;
    opacity: 1;
}

.mil-booking-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.mil-booking-popup-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    z-index: 1;
}

.mil-booking-popup.mil-active .mil-booking-popup-content {
    transform: translateY(0);
}

.mil-close-booking {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.mil-close-booking:hover {
    opacity: 0.6;
}

/* ===================================================
   from component/instagram-feed-behold.php
   =================================================== */
.beh-ig-section {
    padding: 100px 0;
    background: #fafafa;
}

/* ---- profile header ---- */
.beh-profile {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0 0 50px;
    padding: 24px 32px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.beh-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    padding: 3px;
    background: linear-gradient(45deg, #EDCE29, #393185);
}

.beh-pinfo {
    flex: 1;
    min-width: 0;
}

.beh-pname {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.beh-pname i {
    color: #393185;
    font-size: 18px;
}

.beh-pstats {
    display: flex;
    gap: 22px;
    margin: 0 0 8px;
    font-size: 15px;
    color: #333;
}

.beh-pstats b {
    color: #1a1a1a;
}

.beh-pbio {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
    white-space: pre-line;
}

/* ---- carousel ---- */
.beh-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.beh-track-container {
    flex: 1;
    overflow: hidden;
}

.beh-track {
    display: flex;
    gap: 22px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.beh-slide {
    flex: 0 0 calc((100% - 66px) / 4);
}

.beh-nav {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    color: #333;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    z-index: 2;
}

.beh-nav:hover {
    background: #222;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transform: scale(1.08);
}

.beh-nav:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
    background: #fff;
    color: #333;
}

/* ---- dots ---- */
.beh-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.beh-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.beh-dot.active {
    background: #333;
    transform: scale(1.3);
}

/* ---- card ---- */
.beh-card {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.beh-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.beh-card>img,
.beh-card>video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.beh-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.beh-permalink {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.beh-permalink:hover {
    background: rgba(237, 206, 41, 0.9);
    color: #1a1a1a;
}

.beh-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 30%, transparent 48%, rgba(0, 0, 0, 0.82) 100%);
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.beh-card.playing .beh-overlay {
    opacity: 0;
}

.beh-card.playing:hover .beh-overlay {
    opacity: 1;
}

.beh-caption {
    font-size: 13px;
    line-height: 1.45;
    margin: 0 0 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.beh-stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    font-weight: 600;
}

.beh-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.beh-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.beh-play i {
    margin-left: 3px;
}

.beh-play:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) scale(1.1);
}

.beh-card.playing .beh-play {
    opacity: 0;
    pointer-events: none;
}

.beh-card.playing:hover .beh-play {
    opacity: 1;
    pointer-events: all;
}

.beh-card.playing:hover .beh-play i::before {
    content: "\f04c";
}

.beh-mute {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease;
    z-index: 3;
}

.beh-card.playing .beh-mute {
    display: flex;
    opacity: 1;
}

.beh-mute:hover {
    background: rgba(255, 255, 255, 0.3);
}

.beh-mute.unmuted i::before {
    content: "\f028";
}

/* ---- skeleton / states ---- */
.beh-skel {
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    background: linear-gradient(100deg, #ececec 30%, #f5f5f5 50%, #ececec 70%);
    background-size: 200% 100%;
    animation: beh-shimmer 1.3s infinite;
}

@keyframes beh-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.beh-error {
    width: 100%;
    text-align: center;
    color: #777;
    font-size: 16px;
    padding: 40px 0;
}

/* ---- responsive ---- */
@media (max-width: 991px) {
    .beh-ig-section {
        padding: 70px 0;
    }

    .beh-track {
        gap: 16px;
    }

    .beh-slide {
        flex: 0 0 calc((100% - 16px) / 2);
    }

    .beh-profile {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .beh-pname,
    .beh-pstats {
        justify-content: center;
    }

    .beh-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .beh-ig-section {
        padding: 50px 0;
    }

    .beh-carousel-wrap {
        gap: 8px;
    }

    .beh-track {
        gap: 12px;
    }

    .beh-slide {
        flex: 0 0 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .beh-avatar {
        width: 76px;
        height: 76px;
    }

    .beh-nav {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

/* ===================================================
   from component/summarize-with-ai.php
   =================================================== */
.summarize-ai {
    position: relative;
    margin: 28px 0;
    padding: 18px 20px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.summarize-ai__label {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.summarize-ai__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.summarize-ai .ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .08);
}

.summarize-ai .ai-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, .15);
    color: #fff;
    text-decoration: none;
}

.summarize-ai .ai-btn:active {
    transform: translateY(0);
}

.summarize-ai .ai-btn svg {
    flex-shrink: 0;
}

.summarize-ai .ai-btn--chatgpt {
    background: #10a37f;
}

.summarize-ai .ai-btn--claude {
    background: #d97757;
}

.summarize-ai .ai-btn--google {
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.summarize-ai .ai-btn--google:hover {
    color: #1f2937;
}

.summarize-ai .ai-btn--perplexity {
    background: #6366f1;
}

.summarize-ai__toast {
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translate(-50%, 100%);
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .25);
    z-index: 5;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: none;
}

.summarize-ai__toast.is-show {
    opacity: 1;
    transform: translate(-50%, 100%) translateY(-6px);
}

@media (max-width: 480px) {
    .summarize-ai {
        padding: 14px;
    }

    .summarize-ai__btns {
        gap: 8px;
    }

    .summarize-ai .ai-btn {
        padding: 9px 12px;
        font-size: 13px;
    }

    .summarize-ai__toast {
        white-space: normal;
        max-width: 90%;
        text-align: center;
    }
}

/* ===================================================
   from component/social-share.php
   =================================================== */
.social-share {
    position: fixed;
    top: 40%;
    right: 0;
    z-index: 9999;
}

.social-btn {
    background-color: #064483;
    color: white;
    font-size: 18px;
    border-radius: 10px 0 0 10px;
    height: 35px;
    width: 35px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1px;
}

.social-btn a {
    color: #fff;
}

.social-btn.fb {
    background-color: #3b5998;
}

.social-btn.whats-app {
    background-color: #25d366;
}

.social-btn.tweetr {
    background-color: #00acee;
}

.social-btn.linkdin {
    background-color: #0A66C2
}

/* ===================================================
   from component/header.php
   =================================================== */
.safal-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    /* soft off-white with a faint center glow */
    background: radial-gradient(circle at 50% 45%, #ffffff 0%, #fafafa 70%, #f4f4f4 100%);
    transition: opacity .55s ease, visibility .55s ease;
}

.safal-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.safal-loader.is-hidden .safal-loader__inner {
    transform: scale(1.12);
    filter: blur(3px);
    opacity: 0;
}

.safal-loader__inner {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: safalIn .55s cubic-bezier(.2, .7, .2, 1) both;
    transition: transform .55s ease, filter .55s ease, opacity .55s ease;
}

/* soft brand glow behind the icon */
.safal-loader__halo {
    position: absolute;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(237, 206, 41, .35) 0%, rgba(237, 206, 41, 0) 70%);
    animation: safalHalo 1.8s ease-in-out infinite;
}

/* concentric orbiting arcs */
.safal-loader__ring {
    position: absolute;
    inset: 0;
    transform-origin: center;
}

.safal-loader__ring--out {
    animation: safalSpin 1.5s linear infinite;
}

.safal-loader__ring--in {
    animation: safalSpinRev 2.1s linear infinite;
}

.safal-loader__track {
    fill: none;
    stroke: #eee;
    stroke-width: 3;
}

.safal-loader__arc {
    fill: none;
    stroke: url(#safalArcGrad);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 78 211;
}

/* glowing bead riding the arc's leading tip */
.safal-loader__bead {
    fill: #F6E27A;
    filter: drop-shadow(0 0 4px rgba(237, 206, 41, .9));
}

.safal-loader__arc-in {
    fill: none;
    stroke: rgba(237, 206, 41, .5);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 30 196;
}

/* favicon — gentle eased counter-spin with depth */
.safal-loader__icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .14));
    animation: safalSpinRev 1.25s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes safalSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes safalSpinRev {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes safalHalo {

    0%,
    100% {
        transform: scale(.82);
        opacity: .55;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes safalIn {
    from {
        opacity: 0;
        transform: scale(.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {

    .safal-loader__ring,
    .safal-loader__icon,
    .safal-loader__halo,
    .safal-loader__inner {
        animation: none;
    }
}