    /* ==========================================
       GLOBAL BASE (fixes CLS + layout stability)
    ========================================== */
    *, *::before, *::after {
      box-sizing: border-box;
    }
    
    /* ==========================================
       RESPONSIVE CONTAINER
       • Cleaner spacing
       • Scales perfectly on all screens
       • CLS-safe
    ========================================== */
    .container {
      width: 100%;
      margin-inline: auto;
      padding-inline: 16px;
      max-width: min(1200px, 100%);
    }
    
    /* Larger screens: widen inner content smoothly */
    @media (min-width: 1400px) {
      .container {
        max-width: 1320px;
      }
    }
    
    @media (min-width: 1600px) {
      .container {
        max-width: 1440px;
      }
    }
    
    /* Optional small-screen compression */
    @media (max-width: 480px) {
      .container {
        padding-inline: 12px;
      }
    }
    
    .article-containe{ display: flex; align-items: flex-start; justify-content: center; gap: 20px; flex-wrap: wrap; max-width: 100%; margin: 35px 0;}
/* ===========================================================
   BLOG LISTING GRID — Article Cards
=========================================================== */

/* Single box in grid */
.articleBox {
    width: calc(33% - 10px);
    margin-bottom: 25px;
}

/* Responsive widths */
@media (max-width:1200px) {
    .articleBox { width: calc(50% - 16px); }
}
@media (max-width:479px) {
    .articleBox { width: 100%; }
}

/* ===========================================================
   THUMBNAIL + HOVER ZOOM
=========================================================== */

.post .post-thumbnail {
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 24px;
}

.post-thumbnail a {
    display: block;
    position: relative;
    overflow: hidden;
}

.post-thumbnail a img {
    display: block;
    width: 100%;
    transform: translateZ(0);
    transition: transform 1.5s cubic-bezier(0, 0, 0.2, 1);
}

/* Hover zoom */
.post:hover .post-thumbnail a img {
    transform: scale(1.1);
}

/* ===========================================================
   TITLE + EXCERPT
=========================================================== */

.post-title {
    word-break: break-word;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Bloomberg-Style H1 */
.post-title .entry-title {
    font-size: 38px;
    line-height: 1.15;
    font-weight: 600;
    color: #0A0A0A;
    margin: 0 0 20px 0;
    letter-spacing: -0.2px;
}

/* Desktop blog card link titles — keep separate */
.post-title a {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    display: block;
    color: #111;
    text-decoration: none;
    transition: color .25s ease;
}

/* Multi-line excerpt clamp */
.post-excerpt {
    margin-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile */
@media (max-width: 600px) {
    header .post-title .entry-title {
        font-size: 28px !important;
        line-height: 1.22 !important;
        letter-spacing: -0.1px !important;
    }
}

/* ===========================================================
   BUTTON
=========================================================== */

.btn-readmore {
    margin-top: 16px;
}

.btn-readmore a {
    font-size: 17px;
    font-weight: 500;
    line-height: 24px;
    color: #111;
    text-transform: none;
    letter-spacing: normal;
    padding-bottom: 0;
    transition: color .3s ease;
}

/* Shared hover */
.btn-readmore a:hover,
.post-title a:hover {
    color: #e6af5d;
}

.meta-card-pro {
    position: relative;
    z-index: 1;
}

.meta-card-pro:hover {
    z-index: 5; /* stays on top when hovered */
}

.meta-share {
    position: relative;
    z-index: 9998;
}

.share-dropdown {
    position: absolute;
    z-index: 9999 !important;
}

/* ===========================================================
   BLOG PAGE LAYOUT
=========================================================== */

.blog-page {
    margin: 40px auto;
}

.blog-page .content-area {
    flex-basis: calc(100% - 370px);
    max-width: calc(100% - 370px);
}

/* Sidebar area */
.sidebar-right.sidebar-single-post {
    max-width: 370px;
    flex: 0 0 30%;
}

/* Responsive blog layout */
@media (max-width:991px) {
    .blog-page .container-wrapper > .row { flex-wrap: wrap; }
    .blog-page .content-area {
        max-width: 100%;
        flex-basis: 100%;
    }
    .sidebar-right.sidebar-single-post {
        max-width: 100%;
        flex: 1;
        margin-top: 40px;
    }
}

/* ===========================================================
   SIDEBAR WIDGETS
=========================================================== */

.widget .widget-title,
.widget h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 500;
}

.widget_recent_entries li {
    margin-bottom: 15px;
}

.widget_recent_entries li a {
    order: 2;
    display: block;
}

.widget a {
    font-weight: 500;
    color: #111;
    transition: color .25s ease;
}

.widget a:hover,
.related-post-detail a:hover {
    color: #e6af5d;
}

.related-post-detail a {
    color: #111;
}

/* ===========================================================
   RELATED BLOG (Slick Slider Overrides)
=========================================================== */

.realtedblog {
    position: relative;
}

.realtedblog .slick-prev,
.realtedblog .slick-next {
    padding: 12px;
    top: 40%;
    z-index: 1;
    background: #fff;
}

.realtedblog .slick-prev { left: 20px; }
.realtedblog .slick-next { right: 20px; }

.realtedblog .slick-prev:before,
.realtedblog .slick-next:before {
    display: none;
}

.realtedblog .slick-prev img,
.realtedblog .slick-next img {
    width: 20px;
}

/* ===========================================================
   BLOG SIDEBAR SEARCH
=========================================================== */

.blog-srch {
    text-align: center;
}

.blog-srch .widget {
    position: relative;
    max-width: 250px;
    margin: 0 auto;
}

/* ===========================================================
   SPINNER + LOAD MORE BUTTON
=========================================================== */

.spinning-loader {
    width: 50px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0); }
    to   { transform: rotate(360deg); }
}

.load-more-btn {
    background-color: #8b6f4e;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 25px;
    transition: background-color .3s ease, color .3s ease;
}

.load-more-btn:hover {
    background-color: #73583b;
    color: #fff;
}

/* ===========================================================
   SIDEBAR STATIC CONTAINER
=========================================================== */

.sidebar-right {
    position: relative;
}
    
/* ============================
   MAIN CONTENT AREA — CLEANED
============================ */

/* Featured Image */
.content-area .post-thumbnail {
    margin-bottom: 48px;
}

.content-area .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;          /* Prevents CLS */
}

/* Blog Content General */
.content-area .post-content {
    margin-bottom: 20px;
    line-height: 1.65;
}

/* Paragraphs */
.content-area .post-content p {
    margin-bottom: 0.75em;
}

/* Links */
.content-area .post-content a {
    color: #111;
    transition: color .25s ease;
}

.content-area .post-content a:hover {
    color: #e6af5d;
}

/* Unordered Lists */
.content-area .post-content ul {
    list-style: square;
    margin: 0 0 1.625em;
    padding-left: 1.825rem;
}

.content-area .post-content ul li {
    list-style: inherit;
}

/* WordPress editor images */
.content-area .post-content .wp-block-image .aligncenter {
    margin-left: auto;
    margin-right: auto;
}

/* Figure Wrapper */
.content-area .post-content figure {
    margin: 0 0 1rem;
}

/* Direct `.image img` elements */
.content-area .post-content .image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

/* Caption */
.content-area .post-content figcaption {
    margin: 6px 0 0;
    padding: 0 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Headings inside content */
.content-area .post-content h2 {
    line-height: 1.3;
    margin-top: 1.6em;
    margin-bottom: 0.8em;
}

/* Post bottom wrapper (share section area) */
.post-bottom {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
    
/* ============================
FAQ Section
============================== */
    
.lma-faq h4 a {
    display: block;                /* larger click area */
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;

    color: #8b6f4e;
    text-decoration: none;

    padding: 6px 0;               /* breathing room */
    transition: color .25s ease;  /* smooth hover */
}

.lma-faq h4 a:hover {
    color: #6f583b;               /* softer, subtle hover */
}

.lma-faq h4 a:focus-visible {
    outline: 2px solid #8b6f4e;   /* accessibility win */
    outline-offset: 3px;
}

/* =============================================
   SUMMARY / TLDR CARD (Container)
============================================= */
.summary-section {
    background: #ffffff;
    border: 1px solid #dedede;
    border-radius: 12px;
    padding: 0;
    margin: 30px 0;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);

    contain: layout paint style;
}

/* =============================================
   HEADER WRAPPER — Takeaways Style
============================================= */
.summary-section .tldr-label {
    display: flex;
    align-items: center;

    padding: 14px 18px; 
    margin: 0;

    font-size: 17px;
    font-weight: 700;
    color: #222;

    /* subtle separator line */
    background-image: linear-gradient(
        to right,
        transparent 18px,
        #e4e4e4 18px,
        #e4e4e4 calc(100% - 18px),
        transparent calc(100% - 18px)
    );
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 100% 1px;

    cursor: pointer;
    user-select: none;
    touch-action: manipulation;
}

/* =============================================
   STAR ICON
============================================= */
.summary-section .tldr-label::before {
    content: "★"; 
    font-size: 17px;
    margin-right: 6px;
    color: #000;
    font-weight: 600;
    transform: translateY(-0.5px); 
    flex-shrink: 0;
}

/* =============================================
   TITLE (Takeaways) —
============================================= */
.tldr-label .tldr-title {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.2px;
}

/* =============================================
   AUTHOR CREDIT
============================================= */
.tldr-label .tldr-by {
    margin-left: 6px; 
    font-weight: 500;
    font-size: 15px;
    color: #6f6f6f;
    opacity: 0.95;
    letter-spacing: -0.1px;
    white-space: nowrap;
    transform: translateY(0.5px);
}

/* =============================================
   TOGGLE WRAP
============================================= */
.summary-section .toggle-wrap {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 15px;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.summary-section .chevron {
    font-size: 14px;
    transition: transform 0.25s ease;
}

.summary-section.open .chevron {
    transform: rotate(180deg);
}

/* =============================================
   MOBILE TWEAKS
============================================= */
@media (max-width: 480px) {
    .summary-section .tldr-label {
        padding: 12px 16px;
        font-size: 16px;
    }
    .tldr-label .tldr-title {
        font-size: 16px;
    }
    .tldr-label .tldr-by {
        font-size: 14px;
        opacity: 0.85;
    }
}

/* =============================================
   CONTENT AREA (Expandable)
============================================= */
.summary-content {
    padding: 16px 22px;

    /* SEO/UX: controlled expansion for smoothness */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

/* Bullet list styling (SEO readable) */
.summary-content ul {
    margin: 0;
    padding-left: 24px;
}

.summary-content ul li {
    margin-bottom: 14px;
    line-height: 1.6;
    font-size: 16px;
    color: #333;

    /* SEO: list readability improved */
    list-style-position: outside;
}

/* Collapse state — prevents layout shift */
.summary-section.collapsed .summary-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ============================
MAIN CONTENT — Figure Images
============================== */
    
    /* Wrapper for images inserted via editor (e.g., TinyMCE, Gutenberg) */
    .content-area .post-content figure.image {
        display: table;               /* shrink-to-content but stable (better than fit-content) */
        margin: 1.5rem auto;          /* consistent blog spacing */
        text-align: center;           /* ensures figcaption aligns properly */
        max-width: 100%;              /* responsive safety, prevents overflow */
    }
    
    /* Responsive image handling */
    .content-area .post-content figure.image img {
        display: block;
        width: auto;                  /* preserves natural dimensions */
        max-width: 100%;              /* prevents large images from overflowing */
        height: auto;                 /* maintains aspect ratio */
        margin: 0 auto;               /* ensures perfect centering */
    }
    
    /* Figcaption (optional but recommended for accessibility & design balance) */
    .content-area .post-content figure.image figcaption {
        margin-top: 8px;              /* breathing room */
        font-size: 14px;
        line-height: 1.4;
        color: #666;
        text-align: center;
    }
    
/* ================================
WHY STONEGALLERIA — Optimized
================================ */
    
    /* Wrapper */
    .why-stonegalleria {
      background: #f9f9f9;
      padding: 20px 32px;
      border-radius: 8px;
      max-width: 100%;
    }
    
    /* Title Row */
    .why-stonegalleria-title {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 1.05rem;
      font-weight: 600;
      margin-bottom: 12px;
      color: var(--text-dark, #222);
    }
    
    /* Icon */
    .why-stonegalleria-title .svg-icon {
      width: 22px;
      height: 22px;
    }
    
    /* Description */
    .why-stonegalleria-description {
      font-size: 15px;
      line-height: 1.65;
      color: var(--text-light, #555);
      margin-bottom: 8px;
    }
    
    /* Add spacing between paragraphs automatically */
    .why-stonegalleria-description p + p {
      margin-top: 10px;
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
      .why-stonegalleria {
        padding: 18px 20px;
      }
      
      .why-stonegalleria-title {
        font-size: 1rem;
      }
    
      .why-stonegalleria-description {
        font-size: 14px;
      }
    }
    
/* =====================================
BLOG META + SHARE + SUMMARY MODULE
(Optimized, Reduced, CLS-Safe, Premium)
===================================== */

.meta-card-pro {
    padding: 24px 28px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e3e3e3;
    box-shadow:
        0 4px 14px rgba(0,0,0,0.06),
        0 2px 6px rgba(0,0,0,0.03);
    transition: box-shadow .25s ease, transform .25s ease;
}

.meta-card-pro:hover {
    box-shadow:
        0 10px 28px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.03);
    transform: translateY(-1px);
}

/* ---------- TOP BLOCK (COMPACT OPTION B) ---------- */
.meta-top.compact {
    display: flex;
    align-items: center;
    gap: 14px;
}

.compact-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #ddd;
    object-fit: cover;
}

.compact-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 2px;
}

.meta-author-line,
.meta-review-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Softer labels */
.meta-label {
    font-size: 12px !important;
    letter-spacing: 0.3px;
    color: #8a8a8a !important;
    text-transform: uppercase;
}

/* Softer text */
.compact-text {
    font-size: 12px;
    font-weight: 400;
    color: #1d1d1f;
}

.compact-role {
    font-size: 12px;
    color: #666;
    margin-left: 4px;
}

.inline-share {
    margin-left: auto;
    display: flex;
    gap: 6px;
    align-items: center;
}

/* ---------- DIVIDER ---------- */
.meta-divider {
    height: 1px;
    background: #e7e7e7;
    margin: 16px 0;
}

/* =====================================
DATES — Unified & Compact
===================================== */
.meta-dates,
.compact-dates {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #444;
    margin-top: 6px;
}

.meta-dates span,
.compact-dates span {
    white-space: nowrap;
    font-weight: 500;
}

/* =====================================
SHARE — PREMIUM BUTTON + DROPDOWN
===================================== */
.meta-share {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* DEFAULT SHARE BUTTONS (TOP SECTION) */
.share-btn,
.copy-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f3f3f3;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.share-btn i,
.copy-btn i {
    font-size: 18px;
    color: #555;
}

.share-btn:hover,
.copy-btn:hover {
    background: #e9e9e9;
}

/* Dropdown panel */
.share-dropdown {
    position: absolute;
    top: 45px;
    left: 0;
    background: #fff;
    padding: 10px 0;
    border-radius: 10px;
    width: 180px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    display: none;
    flex-direction: column;
    z-index: 999;
    animation: fadeIn .25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.share-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: background .22s ease;
    border-bottom: 1px solid #f2f2f2;
}

.share-dropdown a:last-child {
    border-bottom: none;
}

.share-dropdown a i {
    font-size: 18px;
}

.share-dropdown a span {
    font-size: 15px;
}

.share-dropdown a:hover {
    background: #f7f7f7;
}

/* Translation Button (Matches Share + Copy) */
.translate-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #f3f3f3;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    position: relative;
}

.translate-btn i {
    font-size: 18px;
    color: #555;
}

.translate-btn:hover {
    background: #e9e9e9;
}

/* Translation Dropdown */
.translate-dropdown {
    position: absolute;
    top: 45px;  /* exactly like share dropdown */
    right: 0;
    background: #fff;
    padding: 10px 0;
    border-radius: 10px;
    width: 220px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    display: none;
    flex-direction: column;
    z-index: 9999;
    animation: fadeIn .25s ease;
}

.translate-dropdown .t-title {
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid #f2f2f2;
    color: #333;
}

.translate-dropdown a {
    padding: 10px 15px;
    display: block;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background .22s ease;
    border-bottom: 1px solid #f2f2f2;
}

.translate-dropdown a:last-child {
    border-bottom: none;
}

.translate-dropdown a:hover {
    background: #f7f7f7;
}

/* Prevent hover triggers on mobile */
@media (hover: none) {
    .share-btn:hover,
    .copy-btn:hover,
    .share-dropdown a:hover {
        background: inherit;
    }
}

/* Fact Check inline badge – looks like another date item but aligned right */
.fact-check-inline {
    margin-left: auto;        /* pushes it fully to the right */
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    white-space: nowrap;      /* prevents wrapping */
    opacity: 0.9;
}

.fact-check-inline img {
    width: 15px;
    height: 15px;
    opacity: 0.8;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .fact-check-inline {
        color: #e5e5e7;
        opacity: 1;
    }
    .fact-check-inline img {
        opacity: 1;
    }
}

/* =====================================
     FINAL MOBILE META-CARD OPTIMIZATION
     (Compact • Grade 1 • Clean)
===================================== */
@media (max-width: 600px) {

    /* Reduce card padding */
    .meta-card-pro {
        padding: 14px 16px !important;
        border-radius: 12px !important;
    }

    /* Avatar */
    .compact-avatar {
        width: 34px !important;
        height: 34px !important;
    }

    /* Author/Reviewer block spacing */
    .meta-top.compact {
        gap: 10px !important;
        align-items: flex-start !important;
    }

    .compact-meta {
        gap: 1px !important;
        margin-top: -2px !important;
    }

    /* Font adjustments */
    .compact-text {
        font-size: 13.5px !important;
    }
    .compact-role {
        font-size: 11px !important;
    }
    .meta-label {
        font-size: 8.5px !important;
        letter-spacing: 0.2px !important;
    }

    /* Share buttons */
    .share-btn,
    .copy-btn {
        width: 28px !important;
        height: 28px !important;
        border-radius: 6px !important;
    }

    .share-btn i,
    .copy-btn i {
        font-size: 13px !important;
    }

    /* Divider */
    .meta-divider {
        margin: 8px 0 !important;
    }

    /* Dates block */
    .compact-dates {
        gap: 6px !important;
        font-size: 12px !important;
        margin-top: 0 !important;
        line-height: 1.2 !important;
    }

    .compact-dates span {
        font-weight: 400 !important;
        white-space: normal !important;
        display: block !important;
    }
}
/* Hide reviewer role on mobile */
@media (max-width: 600px) {
    .compact-role {
        display: none !important;
    }
}
/* MOBILE — Translation Button Matching Share + Copy */
@media (max-width: 600px) {
    .translate-btn {
        width: 28px !important;
        height: 28px !important;
        border-radius: 6px !important;
    }

    .translate-btn i {
        font-size: 13px !important;
    }

    /* Optional: Smaller dropdown spacing on mobile */
    .translate-dropdown {
        top: 36px !important; /* matches reduced button height */
        width: 200px;
    }

    .translate-dropdown a {
        padding: 8px 14px;
        font-size: 13px;
    }

    .translate-dropdown .t-title {
        padding: 8px 14px;
        font-size: 13.5px;
    }
}

/* ============================================================
   BOTTOM TAGS + SHARE (Aligned With Meta Card Styling)
============================================================ */

/* Wrapper */
.blog-tags-section {
    padding: 0 2px;
}

/* Title and Share Row (Matches top meta row spacing) */
.tag-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

/* Tag title — match meta-label tone */
.blog-tags-title {
    font-size: 12px;
    font-weight: 600;
    color: #7d7d7d;
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* Inline Share */
.bottom-inline-share {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

/* “Share this article” — match meta small text */
.share-small-label {
    font-size: 12px;
    color: #8a8a8a;
    letter-spacing: 0.3px;
}

/* Light Share Buttons — match Meta Share buttons scaled down */
.light-share-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f3f3f3;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
}

.light-share-btn i {
    font-size: 15px;
    color: #555;
}

.light-share-btn:hover {
    background: #e9e9e9;
}

/* Dropdown panel — same as top share dropdown */
.bottom-inline-share .share-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    background: #fff;
    padding: 10px 0;
    border-radius: 10px;
    width: 180px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    display: none;
    flex-direction: column;
    z-index: 999;
    animation: fadeIn .25s ease;
}

.bottom-inline-share .share-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: #333;
    cursor: pointer;
    text-decoration: none;
    transition: background .22s ease;
    border-bottom: 1px solid #f2f2f2;
}

/* Tag Chips — now match meta aesthetics better */
.blog-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tag {
    padding: 4px 10px;
    font-size: 13px;
    color: #1d1d1f;
    border: 1px solid #e1e1e5;
    border-radius: 10px;
    background: #fafafa;
    transition: all .25s ease;
}

.blog-tag:hover {
    background: #f0f0f3;
    border-color: #c8c8cc;
}

/* Divider — match Meta Card divider softness */
.section-divider {
    width: 100%;
    height: 1px;
    background: #e7e7e7;
    margin: 32px 0;
    border-radius: 2px;
}

/* ============================================================
   MOBILE REFINEMENT — match Meta Card mobile scale
============================================================ */

@media (max-width: 600px) {

    .tag-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bottom-inline-share {
        margin-top: 2px;
    }

    .share-small-label {
        font-size: 12px;
    }

    .light-share-btn {
        width: 28px;
        height: 28px;
    }

    .blog-tag {
        font-size: 12px;
        padding: 3px 8px;
    }

    /* Bottom sheet on mobile */
    .bottom-inline-share .share-dropdown {
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        width: 88vw;
        border-radius: 14px;
        padding: 12px 0;
    }
}

/* ============================================
   FINAL FIX — Prevent Fact Checked from breaking on mobile
============================================ */
@media (max-width: 600px) {

    /* Apply block layout ONLY to date spans, NOT to Fact Check */
    .compact-dates > span:not(.fact-check-inline) {
        display: block !important;
        white-space: normal !important;
        font-weight: 400 !important;
    }

    /* Restore Fact Checked badge */
    .compact-dates > .fact-check-inline {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-left: 0 !important;
        margin-top: 8px !important;
        white-space: nowrap !important;
        font-weight: 500 !important;
        opacity: 0.95 !important;
    }

    .compact-dates > .fact-check-inline img {
        width: 16px !important;
        height: 16px !important;
        opacity: 0.9 !important;
    }
}
    
/* ================================================
APPLE GLASS STYLE — CTA BOX
(Frosted Glass + Soft Shadows + Minimal UI)
================================================ */
    
    .on-this-page-cta {
        margin-top: 18px;
        padding: 18px 16px;
        border-radius: 14px;
        
        /* Frosted Glass Core */
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        
        /* Soft Borders */
        border: 1px solid rgba(255, 255, 255, 0.35);
        outline: 1px solid rgba(255, 255, 255, 0.2);
    
        /* Shadows for depth */
        box-shadow: 
            0 4px 12px rgba(0,0,0,0.08),
            0 8px 28px rgba(0,0,0,0.06);
    
        text-align: center;
        transition: transform .25s ease, box-shadow .25s ease;
    }
    
    /* Hover Effect (Subtle Lift) */
    .on-this-page-cta:hover {
        transform: translateY(-2px);
        box-shadow: 
            0 8px 22px rgba(0,0,0,0.10),
            0 12px 32px rgba(0,0,0,0.08);
    }
    
    /* Title */
    .on-this-page-cta .cta-text {
        font-size: 20px;
        font-weight: 600;
        color: #8b6f4e;   /* Accent theme */
        margin-bottom: 6px;
    }
    
    /* Subtext */
    .on-this-page-cta .cta-subtext {
        font-size: 15px;
        font-weight: 500;
        color: #444;
        margin: 10px 0 4px;
    }
    
    /* Phone link */
    .on-this-page-cta .cta-phone {
        font-size: 16px;
        font-weight: 500;
        color: #333;
        text-decoration: none;
        transition: color .25s ease, opacity .25s ease;
    }
    
    .on-this-page-cta .cta-phone:hover {
        color: #8b6f4e;
        opacity: 0.85;
    }
    
    /* Hide CTA on mobile */
    @media (max-width: 767px) {
        .on-this-page-cta {
            display: none !important;
        }
    }
    
/* ================================================
ON THIS PAGE — BOX (Optimized, Same Styling)
================================================ */
    
    .on-this-page-box {
      background: #fff;
      border: 1px solid #eee;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
      z-index: 9999;
    }
    
    .on-this-page-box > div {
      font-size: 14px;
      color: #8b6f4e;
    }
    
/* -----------------------------------------------
       Header
------------------------------------------------ */
    .on-this-page-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    
      padding: 14px 20px;
      background: #f9f9f9;
      border-bottom: 1px solid #eaeaea;
    
      font-size: 15px;
      font-weight: 600;
      text-transform: uppercase;
    }
    
    .toggle-btn {
      background: none;
      border: none;
      padding: 0;
      font-size: 18px;
      font-weight: bold;
      color: #8b6f4e;
      cursor: pointer;
    }
    
    /* -----------------------------------------------
       List
    ------------------------------------------------ */
    .on-this-page-list {
      list-style: none;
      padding: 14px 20px;
      overflow-y: auto;
    }
    
    .on-this-page-list li {
      margin-bottom: 10px;
      list-style: disc;
      margin-left: 5px;
    }
    
    .on-this-page-list a {
      display: block;
      font-size: 15px;
      text-decoration: none;
      color: #333;
      padding-left: 0;
      transition: color 0.2s ease, padding-left 0.2s ease;
    }
    
    /* Shared Hover + Active (merge duplicate rules) */
    .on-this-page-list a:hover,
    .on-this-page-list a.active {
      color: var(--accent-color, #c49a4a);
    }
    
    .on-this-page-list a.active {
      font-weight: 500;
      border-left: 1.5px solid var(--accent-color, #c49a4a);
      padding-left: 6px;
    }
    
    /* -----------------------------------------------
       Desktop Behavior
    ------------------------------------------------ */
    @media (min-width: 768px) {
      .on-this-page-box {
        position: sticky;
        top: 100px;
      }
    
      .on-this-page-box.open .on-this-page-list {
        display: block;
      }
    
      .on-this-page-box:not(.open) .on-this-page-list {
        display: none;
      }
    }
    
    /* -----------------------------------------------
       Mobile Behavior
    ------------------------------------------------ */
    @media (max-width: 767px) {
      .on-this-page-box {
        position: fixed;
        bottom: 90px;
        left: 0;
        right: 0;
        width: 90%;
        margin: auto;
        border-radius: 10px 10px 0 0;
        z-index: 9999;
      }
    
      .on-this-page-box .on-this-page-list {
        display: none;
      }
    
      .on-this-page-box.open .on-this-page-list {
        display: block;
      }
    }
    
    /* ================================
       NEWS ITEM CARD (Optimized)
    ================================ */
    
    .news-item {
        display: flex;
        gap: 15px;
        margin-bottom: 25px;
        color: #000;
        text-decoration: none;
        cursor: pointer;
    
        /* smoother animations */
        transition: transform 0.25s ease, color 0.25s ease;
        will-change: transform;
    }
    
    .news-item:hover {
        transform: translateY(-3px);
        color: #d60000; /* text/icon color change */
    }
    
    /* Thumbnail wrapper */
    .news-img {
        flex: 0 0 120px;
        height: 80px;
        border-radius: 6px;
        overflow: hidden;
    
        /* prevent CLS jump */
        aspect-ratio: 3 / 2;
    }
    
    /* Thumbnail image */
    .news-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    
        transition: transform 0.3s ease;
        will-change: transform;
    }
    
    .news-item:hover .news-img img {
        transform: scale(1.05);
    }
    
    /* Title Text */
    .news-title {
        font-size: 1rem;
        line-height: 1.3;
        font-weight: 500;
    }

/* ============================
   SEARCH INPUT —  Style
============================ */

/* Wrapper */
.search-form {
    position: relative;
}

/* Input Field */
.search-form input[type="text"],
.blog-srch .widget input,
.sidebar-right.sidebar-single-post input {
    width: 100%;
    font-size: 16px;
    color: #333;

    border: none;
    border-bottom: 2px solid #ddd;
    background: transparent;

    padding: 10px 42px 10px 0;  /* right padding for icon */
    outline: none;

    transition: border-color .25s ease, color .25s ease;
}

/* Focus state */
.search-form input[type="text"]:focus {
    border-bottom-color: #8b6f4e;  /* your theme accent */
    color: #222;
}

/* Search button (icon wrapper) */
.search-submit {
    position: absolute;
    top: 50%;
    right: 0;

    width: 40px;
    height: 40px;
    transform: translateY(-50%);

    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Icon styling */
.search-btn-icon {
    font-size: 18px;
    color: #666;
    pointer-events: none;
    transition: color .25s ease;
}

.search-submit:hover .search-btn-icon {
    color: #8b6f4e;
}

/* Hide unwanted screen reader labels */
.widget .screen-reader-text,
.search-btn-text {
    display: none;
}

/* Widget spacing */
.widget + .widget {
    margin-top: 32px;
}

/* Put name/title + LinkedIn in a single row */
.header-with-icon {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

/* Keep the left block as your existing vertical stack */
.header-with-icon .left-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* LinkedIn button */
.linkedin-mini-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.25s ease, transform 0.25s ease;
}

/* Icon */
.linkedin-mini-icon {
    fill: #0a66c2;
    transition: fill 0.25s ease;
}

.linkedin-mini-btn:hover {
    background: rgba(10, 102, 194, 0.12);
    transform: translateY(-2px);
}

.linkedin-mini-btn:hover .linkedin-mini-icon {
    fill: #084a92;
}

.linkedin-square-icon {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.linkedin-mini-btn:hover .linkedin-square-icon {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* Mobile fix */
@media (max-width: 600px) {
    .header-with-icon {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.author-expand-btn {
    background:none;
    border:0;
    color:#424A55;
    padding:0;
    font-size:14px;
    margin-top:6px;
    cursor:pointer;
    font-weight:500;
}

.author-expand-btn:hover {
    text-decoration:underline;
}

.sg-review-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    padding-right: 10px; /* prevents overflow on mobile */
}

.sg-review-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.sg-review-icon svg {
    display: block;
}

.sg-review-text {
    font-size: 12px;
    color: #555;
    line-height: 1.6;
    word-break: break-word; /* important for Safari/iPhone */
}

.sg-review-text a {
    color: #0066cc;
    text-decoration: underline;
}

.sg-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e4e4e4;
}

.sg-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    border-radius: 6px 6px 0 0;
    transition: background 0.2s ease;
}

.sg-tab-btn.active {
    background: #f0f0f0;
    color: #000;
    font-weight: 600;
}

/* ============================================================
   REVIEWER + VERIFICATION TABS (Optimized to match site styling)
=============================================================== */

/* Tab Buttons Row */
.sg-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #e4e4e4;
}

/* Individual Tab Button */
.sg-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
    border-radius: 6px 6px 0 0;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Active Tab Button */
.sg-tab-btn.active {
    background: #f0f0f0;
    color: #000;
    font-weight: 600;
}

/* Tab Content (hidden by default) */
.sg-tab-content {
    display: none;
    animation: tabFade 0.3s ease;
}

/* Fade animation */
@keyframes tabFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Reviewer Heading */
.sg-section-heading {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #222;
}

/* Verification Heading */
.sg-verification-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Verification Paragraph */
.sg-verification-text {
    font-size: 14.5px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}

/* Sources List */
.sg-sources-list li {
    font-size: 14px;
    color: #444;
    margin-bottom: 4px;
    line-height: 1.55;
}

/* Expand Button (reuse your style but improve hit-area) */
.author-expand-btn {
    background: none;
    border: 0;
    color: #424A55;
    padding: 2px 0;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.author-expand-btn:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* E-E-A-T Box */
.eat-credentials-box {
    background: #ffffff;
    border-left: 4px solid #424A55;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 13.8px;
    line-height: 1.55;
}

/* Reviewer Profile Link */
.reviewer-link {
    font-size: 14px;
    font-weight: 500;
    color: #424A55;
    text-decoration: none;
}

.reviewer-link:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .sg-tab-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .sg-section-heading,
    .sg-verification-heading {
        font-size: 16px;
    }

    .sg-verification-text {
        font-size: 14px;
    }
}

/* Base clickable term */
.glossary-link {
    border-bottom: 1px dotted #b9985a;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

/* Hover highlight */
.glossary-link:hover {
    color: #c07f2a;
}

/* Reset pseudo-elements */
.glossary-link::before,
.glossary-link::after {
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s ease-out;
}

/* Tooltip box */
.glossary-link:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: 36px;                    /* moved DOWN so it never overlaps text */
    transform: translateX(-50%);
    width: 260px;

    background: rgba(250, 250, 250, 0.97);
    color: #333;

    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.45;
    white-space: normal;

    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    z-index: 999999;

    opacity: 1;
}

.glossary-link::before,
.glossary-link::after {
    will-change: transform, opacity;
}

/* Tooltip arrow */
.glossary-link:hover::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 28px;                   /* arrow sits ABOVE tooltip */
    transform: translateX(-50%);

    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent rgba(250,250,250,0.97) transparent;

    z-index: 999998;

    opacity: 1;
}

#reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 99999;
    
}

#reading-progress-bar {
    height: 3px;
    width: 0;
    background: #424A55; /* your accent color */
    transition: width 0.2s linear;
}


  #contact_one{
      border:1px solid #000;
      text-align: center;
    padding-bottom: 25px;
    border: 1px solid #000;
    margin: 20px auto;
    width: 100%;
    color: #65696f;}
     #contact_two{
      border:1px solid #000;
      text-align: center;
    padding-bottom: 25px;
    border: 1px solid #000;
    margin: 20px auto;
    width: 100%;
    color: #65696f;}
    
    #contact_one,
#contact_two {
    text-align: center;
}

#contact_one h3,
#contact_two h3 {
    margin-bottom: 20px;
}

#contact_one .btn-six,
#contact_two .btn-six {
    display: inline-block;
    margin: 20px 0 25px 0;
}

#contact_one p,
#contact_two p {
    margin-top: 0;
}

.industry_contribution h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
    color: #222;
}
.industry_contribution p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-light, #555);
    margin-bottom: 8px;
}

