/*
 Theme Name:   Rasm Child  
 Theme URI:    https://themeholy.com/wordpress/rasm/
 Description:  This is a child theme for Rasm - Ivy Lounge Wellness
 Author:       Themeholy & Ivy Lounge Wellness Team
 Template:     rasm
 Version:      1.1.4
 Text Domain:  rasm-child
*/

/* ==========================================================================
   Ivy Lounge Wellness - Reusable Article Template Design System
   ========================================================================== */

:root {
    --ivy-primary: #5e6b4d;
    --ivy-primary-hover: #4a553c;
    --ivy-primary-dark: #37402e;
    --ivy-sage: #758461;
    --ivy-sage-light: #f2f5ee;
    --ivy-sage-subtle: rgba(117, 132, 97, 0.12);
    --ivy-accent-gold: #c28565;
    --ivy-gold-light: #faf2ed;
    --ivy-gold-border: #eedcd0;
    --ivy-gold-hover: #ad7051;
    --ivy-charcoal: #2b352e;
    --ivy-body-text: #4e5951;
    --ivy-muted-text: #7c8880;
    --ivy-bg: #faf9f6;
    --ivy-card-bg: #ffffff;
    --ivy-shadow-subtle: 0 4px 20px rgba(94, 107, 77, 0.06);
    --ivy-shadow-hover: 0 16px 36px -6px rgba(94, 107, 77, 0.14), 0 4px 12px rgba(194, 133, 101, 0.08);
    --ivy-font-heading: 'Cormorant Garamond', Georgia, serif;
    --ivy-font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reading Progress Bar */
.ivy-reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--ivy-primary) 0%, var(--ivy-accent-gold) 100%);
    z-index: 99999;
    transition: width 0.1s ease-out;
}

/* Base Article Wrapper */
.ivy-article-wrapper {
    background-color: var(--ivy-bg);
    color: var(--ivy-body-text);
    font-family: var(--ivy-font-body);
    font-size: 16px;
    line-height: 1.7;
    position: relative;
    overflow: hidden;
    padding: 3rem 1.5rem 6rem;
    box-sizing: border-box;
}

.ivy-article-container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Ambient Backdrop Glows */
.ivy-ambient-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(100px);
}
.glow-top-right {
    width: 500px;
    height: 500px;
    top: -120px;
    right: -100px;
    background: radial-gradient(circle, rgba(117, 132, 97, 0.15) 0%, rgba(250, 249, 246, 0) 70%);
}
.glow-mid-left {
    width: 550px;
    height: 550px;
    top: 600px;
    left: -150px;
    background: radial-gradient(circle, rgba(194, 133, 101, 0.12) 0%, rgba(250, 249, 246, 0) 70%);
}

/* Breadcrumb & Navigation */
.ivy-breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--ivy-gold-border);
}

.ivy-back-journal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ivy-primary);
    background: var(--ivy-card-bg);
    border: 1px solid var(--ivy-gold-border);
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: var(--ivy-shadow-subtle);
}
.ivy-back-journal-btn svg {
    width: 15px;
    height: 15px;
    transition: transform 0.25s ease;
}
.ivy-back-journal-btn:hover {
    background: var(--ivy-primary);
    border-color: var(--ivy-primary);
    color: #ffffff;
    transform: translateX(-3px);
}

.ivy-breadcrumbs-trail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.825rem;
    color: var(--ivy-muted-text);
}
.ivy-breadcrumbs-trail a {
    color: var(--ivy-muted-text);
    text-decoration: none;
    transition: color 0.2s ease;
}
.ivy-breadcrumbs-trail a:hover {
    color: var(--ivy-primary);
}
.ivy-breadcrumbs-trail .sep {
    color: var(--ivy-accent-gold);
    opacity: 0.6;
}
.ivy-breadcrumbs-trail .current {
    color: var(--ivy-charcoal);
    font-weight: 500;
}

/* Article Header */
.ivy-article-header {
    margin-bottom: 2.75rem;
}
.ivy-header-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.ivy-cat-badge {
    background: var(--ivy-sage-light);
    border: 1px solid rgba(117, 132, 97, 0.3);
    color: var(--ivy-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 9999px;
}
.ivy-read-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--ivy-muted-text);
    background: var(--ivy-card-bg);
    border: 1px solid var(--ivy-gold-border);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
}
.ivy-read-time-badge svg {
    width: 13px;
    height: 13px;
    color: var(--ivy-accent-gold);
}

.ivy-article-headline {
    font-family: var(--ivy-font-heading);
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    font-weight: 600;
    color: var(--ivy-charcoal);
    line-height: 1.18;
    letter-spacing: -0.015em;
    margin: 0 0 1.75rem 0;
}

/* Meta Panel: Author & Medical Reviewer */
.ivy-article-meta-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    background: var(--ivy-card-bg);
    border: 1px solid var(--ivy-gold-border);
    border-radius: 16px;
    padding: 1.35rem 1.75rem;
    box-shadow: var(--ivy-shadow-subtle);
}

.ivy-meta-column {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ivy-meta-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.author-avatar {
    background: var(--ivy-sage-light);
    color: var(--ivy-primary);
    border: 1px solid rgba(117, 132, 97, 0.3);
}
.reviewer-avatar {
    background: var(--ivy-gold-light);
    color: var(--ivy-accent-gold);
    border: 1px solid var(--ivy-gold-border);
}
.ivy-meta-avatar svg {
    width: 24px;
    height: 24px;
}
.verified-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #2e7d32;
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.ivy-meta-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.ivy-meta-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ivy-muted-text);
}
.ivy-meta-name {
    font-size: 1.025rem;
    font-weight: 600;
    color: var(--ivy-charcoal);
    line-height: 1.3;
}
.ivy-meta-dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--ivy-muted-text);
    margin-top: 0.2rem;
}
.ivy-meta-dates .bullet {
    color: var(--ivy-accent-gold);
}
.ivy-meta-dates .upd-date {
    color: var(--ivy-primary);
    font-weight: 500;
}

/* Medical Reviewer Specifics */
.reviewer-badge-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ivy-verified-tag {
    display: inline-flex;
    align-items: center;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
}
.ivy-reviewer-title {
    font-size: 0.8rem;
    color: var(--ivy-body-text);
    line-height: 1.25;
}
.ivy-review-date {
    font-size: 0.76rem;
    color: var(--ivy-muted-text);
    margin-top: 0.15rem;
}

/* Featured Image */
.ivy-featured-figure {
    margin: 0 0 3.5rem 0;
}
.ivy-featured-img-wrap {
    width: 100%;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--ivy-sage-light);
    border: 1px solid var(--ivy-gold-border);
    box-shadow: 0 10px 30px rgba(94, 107, 77, 0.1);
}
@media (max-width: 768px) {
    .ivy-featured-img-wrap {
        height: 280px;
    }
}
.ivy-featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}
.ivy-featured-caption {
    font-size: 0.825rem;
    color: var(--ivy-muted-text);
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Grid Layout */
.ivy-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 3.5rem;
    align-items: start;
    margin-bottom: 5rem;
}
@media (max-width: 1024px) {
    .ivy-article-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .ivy-article-sidebar {
        order: 2;
    }
}

/* Callout Cards: Disclaimer, Medical Review, Disclosure */
.ivy-callout-card {
    display: flex;
    gap: 1.25rem;
    border-radius: 14px;
    padding: 1.35rem 1.6rem;
    margin-bottom: 2rem;
    box-sizing: border-box;
}
.ivy-callout-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ivy-callout-icon svg {
    width: 22px;
    height: 22px;
}
.ivy-callout-title {
    font-family: var(--ivy-font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.35rem 0;
    line-height: 1.25;
}
.ivy-callout-body p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Disclaimer Styling */
.ivy-disclaimer-card {
    background: #fdfbf7;
    border: 1px solid #ebdccb;
    border-left: 4px solid var(--ivy-accent-gold);
}
.ivy-disclaimer-card .ivy-callout-icon {
    background: var(--ivy-gold-light);
    color: var(--ivy-accent-gold);
}
.ivy-disclaimer-card .ivy-callout-title {
    color: #8c563b;
}
.ivy-disclaimer-card .ivy-callout-body p {
    color: #615249;
}

/* Medical Verified Callout */
.ivy-medical-verified-card {
    background: #f4f8f2;
    border: 1px solid #d5e5cf;
    border-left: 4px solid var(--ivy-primary);
}
.ivy-medical-verified-card .ivy-callout-icon {
    background: var(--ivy-sage-light);
    color: var(--ivy-primary);
}
.ivy-medical-verified-card .ivy-callout-title {
    color: var(--ivy-charcoal);
}
.ivy-medical-verified-card .ivy-callout-body p {
    color: var(--ivy-body-text);
}

/* Disclosure Styling */
.ivy-disclosure-card {
    background: var(--ivy-sage-light);
    border: 1px solid rgba(117, 132, 97, 0.3);
    border-left: 4px solid var(--ivy-sage);
}
.ivy-disclosure-card .ivy-callout-icon {
    background: #ffffff;
    color: var(--ivy-sage);
}
.ivy-disclosure-card .ivy-callout-title {
    color: var(--ivy-charcoal);
}
.ivy-disclosure-card .ivy-callout-body p {
    color: var(--ivy-body-text);
}

/* Mobile TOC Accordion */
.ivy-mobile-toc-box {
    display: none;
    background: var(--ivy-card-bg);
    border: 1px solid var(--ivy-gold-border);
    border-radius: 12px;
    margin-bottom: 2rem;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .ivy-mobile-toc-box {
        display: block;
    }
}
.ivy-toc-toggle-btn {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--ivy-font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ivy-charcoal);
    cursor: pointer;
}
.ivy-toc-toggle-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}
.ivy-mobile-toc-box.open .ivy-toc-toggle-btn svg {
    transform: rotate(180deg);
}
.ivy-toc-list-wrap {
    display: none;
    padding: 0 1.25rem 1.25rem;
    border-top: 1px solid var(--ivy-gold-border);
}
.ivy-mobile-toc-box.open .ivy-toc-list-wrap {
    display: block;
}

/* Article Body Typography */
.ivy-article-body-content {
    font-family: var(--ivy-font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ivy-body-text);
    margin-bottom: 3rem;
}

.ivy-article-body-content h2 {
    font-family: var(--ivy-font-heading);
    font-size: clamp(1.85rem, 3.2vw, 2.35rem);
    font-weight: 600;
    color: var(--ivy-charcoal);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 2.75rem 0 1.15rem 0;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(238, 220, 208, 0.7);
    scroll-margin-top: 90px;
}

.ivy-article-body-content h3 {
    font-family: var(--ivy-font-heading);
    font-size: clamp(1.4rem, 2.4vw, 1.7rem);
    font-weight: 600;
    color: var(--ivy-charcoal);
    line-height: 1.35;
    margin: 2rem 0 0.85rem 0;
    scroll-margin-top: 90px;
}

.ivy-article-body-content p {
    margin: 0 0 1.5rem 0;
    font-weight: 350;
}

.ivy-article-body-content ul, 
.ivy-article-body-content ol {
    margin: 0 0 1.75rem 1.25rem;
    padding-left: 1rem;
}
.ivy-article-body-content li {
    margin-bottom: 0.65rem;
    line-height: 1.7;
}
.ivy-article-body-content ul li::marker {
    color: var(--ivy-accent-gold);
}

.ivy-article-body-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--ivy-gold-light);
    border-left: 4px solid var(--ivy-accent-gold);
    border-radius: 0 12px 12px 0;
    font-family: var(--ivy-font-heading);
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--ivy-charcoal);
    font-style: italic;
}

.ivy-article-body-content strong {
    color: var(--ivy-charcoal);
    font-weight: 600;
}

.ivy-article-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 2rem 0;
    border: 1px solid var(--ivy-gold-border);
}

/* Scientific References Section */
.ivy-references-section {
    background: var(--ivy-card-bg);
    border: 1px solid var(--ivy-gold-border);
    border-radius: 16px;
    padding: 2.25rem 2.5rem;
    margin-bottom: 3.5rem;
    box-shadow: var(--ivy-shadow-subtle);
}
.ivy-references-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--ivy-gold-border);
}
.ivy-references-header .ref-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--ivy-sage-light);
    color: var(--ivy-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ivy-references-header .ref-icon svg {
    width: 22px;
    height: 22px;
}
.ivy-ref-heading {
    font-family: var(--ivy-font-heading);
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--ivy-charcoal);
    margin: 0 0 0.35rem 0;
}
.ivy-ref-subtext {
    margin: 0;
    font-size: 0.88rem;
    color: var(--ivy-muted-text);
}

.ivy-references-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}
.ivy-ref-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: var(--ivy-bg);
    border-radius: 10px;
    border: 1px solid rgba(238, 220, 208, 0.6);
    transition: all 0.2s ease;
}
.ivy-ref-item:hover {
    border-color: var(--ivy-accent-gold);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(94, 107, 77, 0.05);
}
.ivy-ref-num {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ivy-accent-gold);
    line-height: 1.5;
}
.ivy-ref-details {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
}
.ivy-ref-title {
    font-size: 0.9rem;
    color: var(--ivy-body-text);
    line-height: 1.45;
}
.ivy-ref-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ivy-primary);
    text-decoration: none;
    align-self: flex-start;
    transition: color 0.2s ease;
}
.ivy-ref-link svg {
    width: 12px;
    height: 12px;
}
.ivy-ref-link:hover {
    color: var(--ivy-accent-gold);
    text-decoration: underline;
}

/* Service CTA Banner (High-Converting) */
.ivy-service-cta-banner {
    background: linear-gradient(135deg, #445037 0%, #2b352e 100%);
    border-radius: 20px;
    color: #ffffff;
    padding: 3.25rem 3rem;
    margin-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(43, 53, 46, 0.2);
}
.ivy-service-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 133, 101, 0.2) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}
.ivy-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.ivy-cta-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e3bc9f;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(227, 188, 159, 0.3);
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}
.ivy-cta-title {
    font-family: var(--ivy-font-heading);
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #ffffff;
}
.ivy-cta-subtext {
    font-size: 1.025rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    margin: 0 0 1.75rem 0;
    font-weight: 300;
}

.ivy-relevant-services-row {
    margin-bottom: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.ivy-relevant-services-row .services-label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
}
.services-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.ivy-service-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.ivy-service-chip svg {
    width: 12px;
    height: 12px;
}
.ivy-service-chip:hover {
    background: var(--ivy-accent-gold);
    border-color: var(--ivy-accent-gold);
    color: #ffffff;
    transform: translateY(-2px);
}

.ivy-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
}
.ivy-btn-primary-book {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--ivy-accent-gold);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.85rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(194, 133, 101, 0.35);
}
.ivy-btn-primary-book svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}
.ivy-btn-primary-book:hover {
    background: var(--ivy-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(194, 133, 101, 0.45);
}
.ivy-btn-primary-book:hover svg {
    transform: translateX(3px);
}
.ivy-btn-secondary-explore {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.85rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.ivy-btn-secondary-explore:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff;
}

/* Article Footer Toolbar */
.ivy-article-footer-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ivy-gold-border);
}
.ivy-share-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.ivy-share-group .share-label {
    font-size: 0.85rem;
    color: var(--ivy-muted-text);
    font-weight: 600;
    margin-right: 0.25rem;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ivy-card-bg);
    border: 1px solid var(--ivy-gold-border);
    color: var(--ivy-charcoal);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.share-btn svg {
    width: 15px;
    height: 15px;
}
.share-btn:hover {
    border-color: var(--ivy-primary);
    color: var(--ivy-primary);
    background: var(--ivy-sage-light);
    transform: translateY(-2px);
}
.ivy-copy-btn {
    width: auto;
    padding: 0 1rem;
    border-radius: 9999px;
    gap: 0.45rem;
    font-family: var(--ivy-font-body);
    font-size: 0.8rem;
    font-weight: 600;
}
.ivy-copy-btn.copied {
    background: var(--ivy-primary);
    border-color: var(--ivy-primary);
    color: #ffffff;
}
.ivy-bottom-journal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ivy-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}
.ivy-bottom-journal-link svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}
.ivy-bottom-journal-link:hover {
    color: var(--ivy-primary-hover);
    transform: translateX(-3px);
}

/* Sticky Sidebar & Cards */
.ivy-article-sidebar {
    position: relative;
}
.ivy-sticky-sidebar-wrap {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.ivy-sidebar-card {
    background: var(--ivy-card-bg);
    border: 1px solid var(--ivy-gold-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--ivy-shadow-subtle);
}
.ivy-side-title {
    font-family: var(--ivy-font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ivy-charcoal);
    margin: 0 0 1rem 0;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--ivy-gold-border);
}

/* Sidebar Table of Contents */
.ivy-toc-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ivy-toc-link {
    display: block;
    font-size: 0.88rem;
    color: var(--ivy-body-text);
    text-decoration: none;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    line-height: 1.4;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}
.ivy-toc-link:hover {
    color: var(--ivy-primary);
    background: var(--ivy-sage-light);
}
.ivy-toc-link.active {
    color: var(--ivy-primary);
    background: var(--ivy-sage-light);
    border-left-color: var(--ivy-primary);
    font-weight: 600;
}
.toc-sub-item .ivy-toc-link {
    padding-left: 1.25rem;
    font-size: 0.825rem;
    color: var(--ivy-muted-text);
}

/* Sidebar Reviewer Card */
.ivy-reviewer-side-card {
    background: #f7faf5;
    border-color: #d7e7d2;
}
.side-reviewer-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}
.side-rev-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2e7d32;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.side-rev-icon svg {
    width: 16px;
    height: 16px;
}
.side-rev-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2e7d32;
}
.side-rev-name {
    font-family: var(--ivy-font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ivy-charcoal);
    margin: 0;
}
.side-rev-text {
    font-size: 0.825rem;
    line-height: 1.5;
    color: var(--ivy-body-text);
    margin: 0 0 0.5rem 0;
}
.side-rev-date {
    display: block;
    font-size: 0.74rem;
    color: var(--ivy-muted-text);
}

/* Sidebar Editorial Card */
.side-edit-text {
    font-size: 0.85rem;
    color: var(--ivy-body-text);
    line-height: 1.55;
    margin: 0 0 0.85rem 0;
}
.side-learn-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ivy-primary);
    text-decoration: none;
}
.side-learn-more:hover {
    text-decoration: underline;
}

/* Sidebar Appointment Booking Card */
.ivy-side-appointment-card {
    background: linear-gradient(135deg, var(--ivy-sage-light) 0%, #ffffff 100%);
    border-color: rgba(117, 132, 97, 0.4);
    text-align: center;
}
.side-book-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ivy-primary);
    margin-bottom: 0.45rem;
}
.side-book-heading {
    font-family: var(--ivy-font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--ivy-charcoal);
    margin: 0 0 0.5rem 0;
}
.side-book-desc {
    font-size: 0.825rem;
    color: var(--ivy-muted-text);
    margin: 0 0 1.15rem 0;
}
.ivy-side-book-btn {
    display: block;
    background: var(--ivy-primary);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.7rem 1.25rem;
    border-radius: 9999px;
    text-decoration: none;
    margin-bottom: 0.85rem;
    transition: all 0.25s ease;
}
.ivy-side-book-btn:hover {
    background: var(--ivy-primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 107, 77, 0.25);
}
.ivy-side-call-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--ivy-muted-text);
    text-decoration: none;
    transition: color 0.2s ease;
}
.ivy-side-call-link svg {
    width: 13px;
    height: 13px;
}
.ivy-side-call-link:hover {
    color: var(--ivy-primary);
}

/* Related Articles Section */
.ivy-related-articles-section {
    padding-top: 4rem;
    border-top: 1px solid var(--ivy-gold-border);
}
.related-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}
.related-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ivy-primary);
    background: var(--ivy-sage-light);
    border: 1px solid rgba(117, 132, 97, 0.25);
    padding: 0.35rem 0.95rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}
.related-title {
    font-family: var(--ivy-font-heading);
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 600;
    color: var(--ivy-charcoal);
    margin: 0;
}
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 992px) {
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   Header Logo & Theme Breadcrumb Normalization
   ========================================================================== */
#hed .header-logo,
.header-logo,
.th-header .header-logo,
.th-menu-area .header-logo {
    max-width: 280px !important;
    display: inline-block !important;
}

#hed .header-logo img,
.header-logo img,
.th-menu-area .header-logo img,
.th-header .header-logo img {
    max-width: 100% !important;
    width: auto !important;
    max-height: 85px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Hide theme's default blog breadcrumb wrapper with giant arrows on single posts */
.single-post .breadcumb-wrapper,
.single-post #breadcumbwrap,
body.single-post > .breadcumb-wrapper {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* Strict SVG Icon Sizing */
.ivy-article-wrapper svg {
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.ivy-back-journal-btn svg,
.ivy-bottom-journal-link svg {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
}

.ivy-read-time-badge svg,
.ivy-side-call-link svg {
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
}

.ivy-meta-avatar svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
}

.ivy-callout-icon svg,
.ref-icon svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
}

.ivy-toc-toggle-btn svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
}

.ivy-btn-primary-book svg,
.share-btn svg,
.side-rev-icon svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
}

.ivy-read-btn svg,
.ivy-copy-btn svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
}

.ivy-ref-link svg,
.ivy-service-chip svg {
    width: 12px !important;
    height: 12px !important;
    max-width: 12px !important;
    max-height: 12px !important;
}
/* ==========================================================================
   Ivy Lounge Wellness Journal Cards & Related Articles Grid
   ========================================================================== */

.ivy-related-articles-section {
    padding-top: 4.5rem !important;
    border-top: 1px solid #eedcd0 !important;
    margin-top: 4rem !important;
    position: relative !important;
}

.related-header {
    text-align: center !important;
    max-width: 650px !important;
    margin: 0 auto 3rem !important;
}

.related-badge {
    display: inline-block !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #5e6b4d !important;
    background: #f2f5ee !important;
    border: 1px solid rgba(117, 132, 97, 0.25) !important;
    padding: 0.35rem 0.95rem !important;
    border-radius: 9999px !important;
    margin-bottom: 0.75rem !important;
}

.related-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: clamp(2rem, 3.2vw, 2.6rem) !important;
    font-weight: 600 !important;
    color: #2b352e !important;
    margin: 0 !important;
    line-height: 1.25 !important;
}

.related-articles-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2.25rem 2rem !important;
    position: relative !important;
}

@media (max-width: 1024px) {
    .related-articles-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.75rem 1.5rem !important;
    }
}

@media (max-width: 640px) {
    .related-articles-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Card Container */
.ivy-journal-card {
    background: #ffffff !important;
    border: 1px solid #eedcd0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 16px rgba(94, 107, 77, 0.06) !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.ivy-journal-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 36px -6px rgba(94, 107, 77, 0.14), 0 4px 12px rgba(194, 133, 101, 0.08) !important;
    border-color: #c28565 !important;
}

.ivy-journal-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 24px !important;
    right: 24px !important;
    height: 3px !important;
    border-radius: 0 0 3px 3px !important;
    background: #eedcd0 !important;
    z-index: 5 !important;
    transition: background 0.3s ease !important;
}

.ivy-journal-card:hover::before {
    background: #5e6b4d !important;
}

/* Card Media / Thumbnail */
.ivy-journal-media {
    position: relative !important;
    width: 100% !important;
    height: 230px !important;
    overflow: hidden !important;
    background-color: #f2f5ee !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.ivy-journal-media a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.ivy-journal-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.65s ease !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
}

.ivy-journal-card:hover .ivy-journal-media img {
    transform: scale(1.05) !important;
}

/* Category Pill Tag */
.ivy-category-tag {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #5e6b4d !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    z-index: 3 !important;
    line-height: 1.2 !important;
    display: inline-block !important;
}

/* Card Content Area */
.ivy-article-content {
    padding: 24px 28px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    box-sizing: border-box !important;
}

.ivy-article-meta {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.82rem !important;
    color: #7c8880 !important;
    margin-bottom: 10px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.ivy-article-meta .meta-bullet {
    color: #c28565 !important;
    font-size: 0.9rem !important;
    line-height: 1 !important;
}

.ivy-article-meta .meta-read {
    color: #5e6b4d !important;
    font-weight: 600 !important;
}

.ivy-article-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.45rem !important;
    font-weight: 600 !important;
    color: #2b352e !important;
    line-height: 1.35 !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.01em !important;
}

.ivy-article-title a {
    color: #2b352e !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.ivy-article-title a:hover {
    color: #5e6b4d !important;
}

.ivy-article-excerpt {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.925rem !important;
    color: #4e5951 !important;
    line-height: 1.65 !important;
    margin: 0 0 16px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    flex-grow: 1 !important;
    font-weight: 300 !important;
}

/* Card Footer & Read Button */
.ivy-article-footer {
    padding: 0 28px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    box-sizing: border-box !important;
    margin-top: auto !important;
}

.ivy-read-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #5e6b4d !important;
    background: #faf2ed !important;
    border: 1px solid #eedcd0 !important;
    padding: 0.6rem 1.3rem !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
}

.ivy-read-btn svg {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    transition: transform 0.25s ease !important;
}

.ivy-read-btn:hover {
    background: #5e6b4d !important;
    border-color: #5e6b4d !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(94, 107, 77, 0.2) !important;
    transform: translateX(3px) !important;
}

/* ==========================================================================
   Ivy Lounge Wellness - Article Custom Elements (Tables, Figures, FAQs)
   ========================================================================== */

/* Short Answer Lead Callout */
.ivy-short-answer-box {
    background: #fdfaf7;
    border: 1px solid var(--ivy-gold-border);
    border-left: 4px solid var(--ivy-accent-gold);
    border-radius: 0 14px 14px 0;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0 2rem;
}
.ivy-short-answer-box .short-answer-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ivy-accent-gold);
    margin-bottom: 0.5rem;
}
.ivy-short-answer-box p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ivy-charcoal);
    font-weight: 400;
}

/* Responsive Comparison Table */
.ivy-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 2rem 0 2.5rem;
    border-radius: 14px;
    border: 1px solid var(--ivy-gold-border);
    background: #ffffff;
    box-shadow: var(--ivy-shadow-subtle);
}
.ivy-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.96rem;
    line-height: 1.6;
    text-align: left;
}
.ivy-comparison-table th {
    background: var(--ivy-sage-light);
    color: var(--ivy-primary);
    font-family: var(--ivy-font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--ivy-gold-border);
    letter-spacing: 0.02em;
}
.ivy-comparison-table td {
    padding: 1.15rem 1.4rem;
    border-top: 1px solid rgba(238, 220, 208, 0.6);
    color: var(--ivy-body-text);
    vertical-align: top;
}
.ivy-comparison-table tr:hover td {
    background: rgba(242, 245, 238, 0.35);
}
.ivy-comparison-table td strong {
    color: var(--ivy-charcoal);
}

/* Figure / Infographic Cards */
.ivy-figure-card {
    background: #ffffff;
    border: 1px solid var(--ivy-gold-border);
    border-radius: 18px;
    padding: 2.25rem 2.25rem 1.75rem;
    margin: 2.75rem 0;
    box-shadow: var(--ivy-shadow-subtle);
    position: relative;
    overflow: hidden;
}
.ivy-figure-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(238, 220, 208, 0.6);
}
.ivy-figure-header .figure-leaf-decor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--ivy-sage-light);
    color: var(--ivy-primary);
    border-radius: 50%;
    margin-bottom: 0.75rem;
}
.ivy-figure-header h3 {
    font-family: var(--ivy-font-heading);
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    color: var(--ivy-charcoal);
    margin: 0 0 0.4rem 0;
    line-height: 1.25;
    border: none;
    padding: 0;
}
.ivy-figure-header p {
    color: var(--ivy-muted-text);
    font-size: 0.95rem;
    margin: 0;
}

/* Figure 1 Items */
.ivy-figure-options-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.ivy-figure-option-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.25rem;
    align-items: center;
    padding: 1.15rem 1.35rem;
    background: #fdfdfc;
    border: 1px solid rgba(238, 220, 208, 0.5);
    border-radius: 12px;
    transition: all 0.25s ease;
}
.ivy-figure-option-row:hover {
    background: #ffffff;
    border-color: var(--ivy-primary);
    box-shadow: 0 6px 16px rgba(94, 107, 77, 0.08);
}
.ivy-figure-opt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: var(--ivy-sage-light);
    color: var(--ivy-primary);
    border-radius: 12px;
    margin: 0 auto;
}
.ivy-figure-opt-icon svg {
    width: 28px;
    height: 28px;
}
.ivy-figure-opt-text h4 {
    font-family: var(--ivy-font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ivy-charcoal);
    margin: 0 0 0.25rem 0;
}
.ivy-figure-opt-text p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--ivy-body-text);
    line-height: 1.5;
}

/* Figure Warning Callout inside card */
.ivy-figure-alert {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #faf4ee;
    border: 1px solid #ebd8ca;
    border-radius: 10px;
    padding: 0.95rem 1.25rem;
    font-size: 0.92rem;
    color: #615249;
    margin-top: 1.25rem;
}
.ivy-figure-alert .alert-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--ivy-gold-light);
    color: var(--ivy-accent-gold);
    font-weight: 700;
}
.ivy-figure-caption {
    font-size: 0.85rem;
    color: var(--ivy-muted-text);
    font-style: italic;
    text-align: center;
    margin-top: 1rem;
}

/* Figure 2 Warning Grid */
.ivy-figure-redflags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.ivy-redflag-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: #faf9f7;
    border: 1px solid rgba(238, 220, 208, 0.6);
    border-radius: 12px;
    transition: all 0.25s ease;
}
.ivy-redflag-item:hover {
    background: #ffffff;
    border-color: #d97757;
    box-shadow: 0 4px 14px rgba(217, 119, 87, 0.12);
}
.ivy-redflag-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fbf0ec;
    color: #c28565;
}
.ivy-redflag-icon svg {
    width: 22px;
    height: 22px;
}
.ivy-redflag-title {
    font-family: var(--ivy-font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ivy-charcoal);
    margin: 0;
}

/* Questions Numbered List */
.ivy-questions-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    counter-reset: ivy-q-counter;
}
.ivy-questions-list li {
    counter-increment: ivy-q-counter;
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    padding: 1.1rem 1.25rem;
    background: #ffffff;
    border: 1px solid var(--ivy-gold-border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    box-shadow: var(--ivy-shadow-subtle);
    font-size: 1rem;
    color: var(--ivy-charcoal);
}
.ivy-questions-list li::before {
    content: counter(ivy-q-counter);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--ivy-sage-light);
    color: var(--ivy-primary);
    font-weight: 700;
    border-radius: 50%;
    font-size: 0.85rem;
}

/* FAQ Item Cards */
.ivy-faq-group {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin: 1.75rem 0 2.5rem;
}
.ivy-faq-item {
    background: #ffffff;
    border: 1px solid var(--ivy-gold-border);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    box-shadow: var(--ivy-shadow-subtle);
}
.ivy-faq-q {
    font-family: var(--ivy-font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ivy-charcoal);
    margin: 0 0 0.65rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ivy-faq-q svg {
    color: var(--ivy-accent-gold);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.ivy-faq-a {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--ivy-body-text);
}

/* ==========================================================================
   Strict Global & Scoped SVG Icon Constraints
   ========================================================================== */
.ivy-article-wrapper svg,
.elementor-widget-html svg,
.ivy-article-container svg {
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.ivy-read-time-badge svg {
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
    min-width: 13px !important;
    min-height: 13px !important;
}

.ivy-author-col .author-avatar svg,
.ivy-reviewer-col .reviewer-avatar svg,
.ivy-meta-avatar svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
}

.figure-leaf-decor svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

.ivy-figure-opt-icon svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
}

.ivy-redflag-icon svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
}

.ivy-faq-q svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

.ivy-figure-alert .alert-icon {
    width: 28px !important;
    height: 28px !important;
    font-size: 14px !important;
    line-height: 28px !important;
}

.ivy-callout-icon svg,
.ref-icon svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
}

/* ==========================================================================
   Universal Hard SVG Size Lock - Prevents Any Oversized Icons
   ========================================================================== */
.elementor-5690 svg,
.ivy-article-wrapper svg,
.ivy-figure-card svg,
.ivy-figure-option-row svg,
.ivy-redflag-item svg,
.ivy-faq-item svg {
    max-width: 28px !important;
    max-height: 28px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.ivy-figure-opt-icon svg {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
}

.ivy-redflag-icon svg {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
}

.figure-leaf-decor svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

.ivy-faq-q svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

.ivy-read-time-badge svg {
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
}

.ivy-meta-avatar svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
}


/* === Ivy Lounge Hero 6 Enhanced Styling === */
.hero-6 {
  position: relative;
  overflow: hidden;
  background-color: #faf9f6 !important;
  padding: 40px 0 40px 0 !important;
}

.hero-6 .th-hero-slide {
  min-height: auto !important;
}

.hero-6 .row.align-items-end,
.hero-6 .row {
  align-items: center !important;
}

.hero-6 .th-hero-img {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 440px !important;
  max-height: 400px !important;
  margin: 0 0 0 auto !important;
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}

.hero-6 .th-hero-img img {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 390px !important;
  max-height: 390px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 36px -8px rgba(94, 107, 77, 0.22), 0 8px 16px -4px rgba(0, 0, 0, 0.06) !important;
  border: 4px solid #ffffff !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-6 .th-hero-slide:hover .th-hero-img img {
  transform: scale(1.015);
}

.hero-style6 {
  position: relative;
  z-index: 6;
  padding: 30px 0 30px 0 !important;
  max-width: 620px !important;
}

.hero-style6 .sub-title {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(8px);
  padding: 5px 15px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(117, 132, 97, 0.25) !important;
  color: #5e6b4d !important;
  font-weight: 600 !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
  margin-top: 0 !important;
  margin-bottom: 0.85rem !important;
  box-shadow: 0 2px 8px rgba(94, 107, 77, 0.06) !important;
}

.hero-style6 .sub-title img {
  width: 15px !important;
  height: 15px !important;
}

.hero-style6 .hero-title {
  font-size: 42px !important;
  line-height: 1.18 !important;
  color: #2b352e !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.3px;
  margin-bottom: 1.35rem !important;
}

.hero-style6 .btn-group {
  margin-top: 0.25rem !important;
}

.hero-style6 .th-btn {
  background: linear-gradient(135deg, #758461 0%, #5e6b4d 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(94, 107, 77, 0.25) !important;
  border-radius: 50px !important;
  padding: 12px 30px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-style6 .th-btn:hover {
  background: linear-gradient(135deg, #49543c 0%, #3d4632 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(94, 107, 77, 0.35) !important;
  color: #ffffff !important;
}

.hero-6 .indicator-number {
  bottom: 20px !important;
}

@media (max-width: 1299px) {
  .hero-6 {
    padding: 30px 0 30px 0 !important;
  }
  .hero-style6 {
    padding: 25px 0 25px 0 !important;
    max-width: 520px !important;
  }
  .hero-style6 .hero-title {
    font-size: 36px !important;
    line-height: 1.2 !important;
    margin-bottom: 1.1rem !important;
  }
  .hero-6 .th-hero-img {
    min-width: 0 !important;
    max-width: 380px !important;
    max-height: 350px !important;
  }
  .hero-6 .th-hero-img img {
    height: 350px !important;
    max-height: 350px !important;
  }
}

@media (max-width: 991px) {
  .hero-6 {
    padding: 30px 0 30px 0 !important;
  }
  .hero-style6 {
    padding: 20px 0 15px 0 !important;
    text-align: center;
    margin: 0 auto;
    max-width: 100% !important;
  }
  .hero-style6 .sub-title {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-style6 .hero-title {
    font-size: 32px !important;
    line-height: 1.22 !important;
    margin-bottom: 1rem !important;
  }
  .hero-6 .th-hero-img {
    min-width: 0 !important;
    max-width: 340px !important;
    max-height: 300px !important;
    margin: 20px auto 0 !important;
  }
  .hero-6 .th-hero-img img {
    height: 300px !important;
    max-height: 300px !important;
  }
}

@media (max-width: 575px) {
  .hero-6 {
    padding: 25px 0 25px 0 !important;
  }
  .hero-style6 {
    padding: 15px 0 10px 0 !important;
  }
  .hero-style6 .sub-title {
    font-size: 0.74rem !important;
    padding: 4px 12px !important;
    margin-bottom: 0.6rem !important;
  }
  .hero-style6 .hero-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin-bottom: 0.85rem !important;
  }
  .hero-style6 .th-btn {
    padding: 10px 24px !important;
    font-size: 13px !important;
  }
  .hero-6 .th-hero-img {
    min-width: 0 !important;
    max-width: 100% !important;
    max-height: 250px !important;
  }
  .hero-6 .th-hero-img img {
    height: 250px !important;
    max-height: 250px !important;
    border-radius: 14px !important;
    border-width: 3px !important;
  }
}