/* =============================================
   DALAI LAMA FOUNDATION — Ghost Theme Styles
   ============================================= */

/* ----- CSS Custom Properties ----- */
:root {
    --color-primary: #DCA54A;
    --color-primary-light: #E9BA76;
    --color-primary-dark: #B68633;
    --color-accent: #141004;
    --color-accent-light: #4a4538;

    --color-bg: #ffffff;
    --color-bg-alt: #f7f5f2;
    --color-bg-warm: #fdf8f0;

    --color-text: #141004;
    --color-text-secondary: #4a4538;
    --color-text-muted: #8c887d;

    --color-border: #e8e4df;
    --color-border-light: #f0ece7;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Ghost Font Settings (passed from Admin) */
    --gh-font-heading: var(--font-heading);
    --gh-font-body: var(--font-body);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
}

/* ----- Utility ----- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 40px;
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-primary);
    margin-top: 12px;
    border-radius: 2px;
}

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
.site-header {
    background: var(--color-bg);
    padding: 0;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 2000;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}

.site-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-bg-alt);
    padding: 8px 20px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-left: 16px;
    margin-right: auto;
    flex: 0 1 400px;
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}

.nav-search-wrap:hover {
    background: #fff;
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    color: var(--color-text);
}

.nav-search-icon {
    display: flex;
    color: var(--color-primary);
}

.nav-search-text {
    font-weight: 500;
}

.site-logo {
    height: 64px;
    width: auto;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation links generated by {{navigation}} */
.site-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.site-nav li a {
    display: inline-block;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}

.site-nav li a:hover {
    color: var(--color-primary);
    background: var(--color-bg-warm);
}

.site-nav .nav-current a {
    color: var(--color-primary);
}

/* PREMIUM — DONATE CTA BUTTON */
.site-nav .nav-donate-us a,
.site-nav .nav-donate a {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(220, 165, 74, 0.3);
    margin-left: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: breatheDonate 4s infinite ease-in-out;
}

.site-nav .nav-donate-us a:hover,
.site-nav .nav-donate a:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 165, 74, 0.5);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

@keyframes breatheDonate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); box-shadow: 0 4px 20px rgba(220, 165, 74, 0.4); }
}

/* Hamburger Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.nav-toggle:hover {
    background: var(--color-bg-alt);
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    position: relative;
    min-height: 480px;
    background-color: var(--color-text);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding: 80px 24px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.hero-heading {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    color: #ffffff;
}

.hero-description {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 57, 43, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--color-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* =============================================
   FEATURED SECTION
   ============================================= */
.featured-section {
    padding: 80px 0;
    background: var(--color-bg-warm);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* =============================================
   POSTS SECTION
   ============================================= */
.posts-section {
    padding: 80px 0;
    background: var(--color-bg);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* =============================================
   POST CARD
   ============================================= */
.post-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: all var(--transition);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-border);
}

.post-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.post-card-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin: 0;
}

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image {
    transform: scale(1.05);
}

.post-card-no-image {
    background: linear-gradient(135deg, var(--color-bg-alt), var(--color-bg-warm));
}

.post-card-placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-border-light) 0%, var(--color-bg-alt) 100%);
}

.post-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.post-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-excerpt {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}

.post-card-author {
    font-weight: 600;
    color: var(--color-text-secondary);
}

.post-card-reading-time::before {
    content: '·';
    margin-right: 12px;
}

/* =============================================
   SINGLE POST
   ============================================= */
.post-full-header {
    background: var(--color-bg-warm);
    padding: 100px 0 60px;
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: 60px;
    text-align: center;
}

/* Data-style tables for aligned lists (Legal, Registration, etc.) */
.post-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

.post-content-body td {
    border: none !important;
    padding: 14px 0 !important;
    vertical-align: middle;
    font-size: 17px;
    border-bottom: 1px solid var(--color-border-light) !important;
}

.post-content-body tr:last-child td {
    border-bottom: none !important;
}

.post-content-body td:first-child {
    width: 320px;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 36px !important;
}

/* Premium Gold Dot for Table Rows */
.post-content-body td:first-child::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(220, 165, 74, 0.15);
}

.post-content-body td:last-child {
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
}

@media (max-width: 600px) {
    .post-content-body td:first-child {
        width: 180px;
        padding-left: 28px !important;
        font-size: 15px;
    }
    .post-content-body td:last-child {
        font-size: 15px;
    }
}

.post-full-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    max-width: 820px;
    margin: 0 auto 28px;
    position: relative;
    display: inline-block;
}

.post-full-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.post-full-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.post-full-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.post-full-author a:hover {
    color: var(--color-primary);
}

.post-full-image {
    max-width: 1040px;
    margin: 0 auto 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.post-full-image img {
    width: 100%;
    height: auto;
}

/* Post Content Body */
.post-content-body {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.85;
    color: #333;
}

.post-content-body h2 {
    font-size: 32px;
    margin: 56px 0 24px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-light);
}

.post-content-body h3 {
    font-size: 24px;
    margin: 40px 0 16px;
    color: var(--color-primary-dark);
}

.post-content-body p {
    margin-bottom: 24px;
}

.post-content-body a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-content-body a:hover {
    color: var(--color-primary-dark);
}

.post-content-body blockquote {
    border-left: 3px solid var(--color-primary);
    padding: 4px 0 4px 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--color-text-secondary);
}

.post-content-body ul,
.post-content-body ol {
    padding-left: 0;
    margin-bottom: 32px;
    list-style: none;
}

.post-content-body li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 17px;
}

.post-content-body ul li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
}

.post-content-body ol {
    counter-reset: post-ol;
}

.post-content-body ol li::before {
    counter-increment: post-ol;
    content: counter(post-ol);
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: var(--color-bg-alt);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.post-content-body pre {
    background: var(--color-text);
    color: #e8e8e8;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 32px 0;
    font-size: 14px;
    line-height: 1.6;
}

.post-content-body code {
    background: var(--color-bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.post-content-body pre code {
    background: none;
    padding: 0;
}

.post-content-body hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 48px 0;
}

/* Post Footer / Tags */
.post-full-footer {
    padding: 40px 0 80px;
}

.post-full-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.post-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}

.post-tag:hover {
    background: var(--color-primary);
    color: #ffffff;
}

/* =============================================
   PAGE
   ============================================= */
.page-full-header {
    background: var(--color-bg-warm);
    padding: 100px 0 60px;
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: 60px;
    text-align: center;
}

.page-full-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    display: inline-block;
}

.page-full-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.page-full-image {
    max-width: 1040px;
    margin: 0 auto 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.page-full-image img {
    width: 100%;
}

.page-full-content {
    padding-bottom: 80px;
}

/* =============================================
   TAG ARCHIVE
   ============================================= */
.tag-header {
    padding: 80px 24px;
    text-align: center;
    background: var(--color-text);
    color: #ffffff;
    background-size: cover;
    background-position: center;
}

.tag-name {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.tag-description {
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 16px;
    opacity: 0.85;
}

.tag-post-count {
    font-size: 13px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =============================================
   AUTHOR ARCHIVE
   ============================================= */
.author-header {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.author-header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.author-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-border);
    flex-shrink: 0;
}

.author-name {
    font-size: 32px;
    margin-bottom: 8px;
}

.author-bio {
    font-size: 16px;
    color: var(--color-text-secondary);
    max-width: 560px;
    line-height: 1.6;
}

.author-location {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 8px;
    display: inline-block;
}

/* =============================================
   COMING SOON
   ============================================= */
.coming-soon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 40px 24px;
}

.coming-soon-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -2px;
    line-height: 1;
}

.coming-soon-subheading {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--color-text-secondary);
    margin-top: 12px;
}

/* =============================================
   NO POSTS PLACEHOLDER
   ============================================= */
.no-posts {
    text-align: center;
    padding: 80px 24px;
    color: var(--color-text-muted);
    font-size: 16px;
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 48px 24px 80px;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-text-secondary);
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}

.pagination-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.pagination-info {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: #141004;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
    font-size: 15px;
    border-top: 1px solid rgba(220, 165, 74, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.5fr 1.2fr;
    gap: 40px;
    padding-bottom: 80px;
}

.footer-col-title {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-logo-wrap {
    background: #fff;
    padding: 10px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.footer-logo {
    max-height: 44px;
    width: auto;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-content {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-content p {
    margin-bottom: 12px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    color: var(--color-primary);
    background: rgba(220, 165, 74, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.social-link:hover {
    background: var(--color-primary);
    color: #141004;
    transform: translateY(-3px);
}

.social-icon-placeholder {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

/* Social Icons via Mask to allow color inheritance */
.social-link::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    display: none;
    pointer-events: none; /* Ensure clicks go through to the anchor */
}

/* --- Page-Based Social Links --- */
.footer-social-page-content {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-page-content p,
.footer-social-page-content ul {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social-page-content a,
.footer-social-placeholder a {
    color: var(--color-primary);
    background: rgba(220, 165, 74, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    font-size: 0; /* Hide text if icon exists */
    flex-shrink: 0;
}

.footer-social-page-content a:hover {
    background: var(--color-primary);
    color: #141004;
    transform: translateY(-3px);
}

/* Icons for Page-based links */
.footer-social-page-content a::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    pointer-events: none;
    display: block; /* Ensure it's always block if we have a mask */
}

/* Specific Icon Matches (Robust URL based) */
.footer-social-page-content a[href*="facebook.com"]::after,
.footer-social-page-content a[href*="fb.com"]::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'%3E%3C/path%3E%3C/svg%3E");
}

.footer-social-page-content a[href*="twitter.com"]::after,
.footer-social-page-content a[href*="x.com"]::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'%3E%3C/path%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z'%3E%3C/path%3E%3C/svg%3E");
}

.footer-social-page-content a[href*="instagram.com"]::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E");
}

.footer-social-page-content a[href*="linkedin.com"]::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'%3E%3C/path%3E%3Crect x='2' y='9' width='4' height='12'%3E%3C/rect%3E%3Ccircle cx='4' cy='4' r='2'%3E%3C/circle%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z'%3E%3C/path%3E%3Crect x='2' y='9' width='4' height='12'%3E%3C/rect%3E%3Ccircle cx='4' cy='4' r='2'%3E%3C/circle%3E%3C/svg%3E");
}

.footer-social-page-content a[href*="youtube.com"]::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.25 29 29 0 0 0-.46-5.33z'%3E%3C/path%3E%3Cpolygon points='9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02'%3E%3C/polygon%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.25 29 29 0 0 0-.46-5.33z'%3E%3C/path%3E%3Cpolygon points='9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02'%3E%3C/polygon%3E%3C/svg%3E");
}

.footer-social-page-content a[href*="whatsapp.com"]::after,
.footer-social-page-content a[href*="wa.me"]::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.414 0 .018 5.393 0 12.03a11.782 11.782 0 001.59 5.963L0 24l6.135-1.61a11.782 11.782 0 005.91 1.588h.005c6.635 0 12.03-5.393 12.034-12.032a11.761 11.761 0 00-3.48-8.527'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.414 0 .018 5.393 0 12.03a11.782 11.782 0 001.59 5.963L0 24l6.135-1.61a11.782 11.782 0 005.91 1.588h.005c6.635 0 12.03-5.393 12.034-12.032a11.761 11.761 0 00-3.48-8.527'/%3E%3C/svg%3E");
}

/* Fallback for other links: show initial letter if no icon detected */
.footer-social-page-content a::before {
    content: ''; /* Prevent URL text leaking */
    font-size: 14px;
    font-weight: 800;
    display: block;
}

/* Hide fallback text if an icon is active */
.footer-social-page-content a[href*="facebook"]::before,
.footer-social-page-content a[href*="twitter"]::before,
.footer-social-page-content a[href*="x.com"]::before,
.footer-social-page-content a[href*="youtube"]::before,
.footer-social-page-content a[href*="instagram"]::before,
.footer-social-page-content a[href*="whatsapp"]::before,
.footer-social-page-content a[href*="wa.me"]::before,
.footer-social-page-content a[href*="linkedin"]::before {
    display: none;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col li a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
    font-size: 14px;
}

.footer-col li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    background: #0d0a03;
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--color-primary);
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.footer-nav li a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.footer-nav li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.5;
}

/* =============================================
   GHOST CONTENT CARDS (kg-cards)
   ============================================= */

/* Image Card */
.kg-image-card {
    margin: 32px 0;
}

.kg-image-card.kg-width-wide {
    max-width: 1040px;
    margin-left: calc(50% - 520px);
    margin-right: calc(50% - 520px);
}

.kg-image-card.kg-width-full {
    max-width: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.kg-image-card img {
    width: 100%;
    border-radius: var(--radius-md);
}

.kg-image-card.kg-width-full img {
    border-radius: 0;
}

.kg-image-card figcaption {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 12px;
    font-style: italic;
}

/* Gallery Card */
.kg-gallery-card {
    margin: 32px 0;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kg-gallery-row {
    display: flex;
    gap: 4px;
}

.kg-gallery-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* Bookmark Card */
.kg-bookmark-card {
    margin: 32px 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow var(--transition);
}

.kg-bookmark-card:hover {
    box-shadow: var(--shadow-md);
}

.kg-bookmark-container {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.kg-bookmark-content {
    flex: 1;
    padding: 20px;
}

.kg-bookmark-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.kg-bookmark-description {
    font-size: 13px;
    color: var(--color-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.kg-bookmark-icon {
    width: 20px;
    height: 20px;
}

.kg-bookmark-thumbnail {
    width: 200px;
    flex-shrink: 0;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Embed Card */
.kg-embed-card {
    margin: 32px 0;
}

.kg-embed-card iframe {
    width: 100%;
    border-radius: var(--radius-md);
}

/* Callout Card */
.kg-callout-card {
    margin: 32px 0;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.kg-callout-card-grey {
    background: var(--color-bg-alt);
}

.kg-callout-card-white {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
}

.kg-callout-card-blue {
    background: #eef5ff;
}

.kg-callout-card-green {
    background: #eefbf3;
}

.kg-callout-card-yellow {
    background: #fef9ee;
}

.kg-callout-card-red {
    background: #fef0f0;
}

.kg-callout-card-pink {
    background: #fef0f6;
}

.kg-callout-card-purple {
    background: #f5f0fe;
}

.kg-callout-emoji {
    font-size: 20px;
    flex-shrink: 0;
}

.kg-callout-text {
    font-size: 15px;
    line-height: 1.6;
}

/* Toggle Card */
.kg-toggle-card {
    margin: 32px 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.kg-toggle-heading-text {
    font-weight: 700;
    font-size: 17px;
}

.kg-toggle-content {
    margin-top: 12px;
    font-size: 15px;
    color: var(--color-text-secondary);
}

/* Button Card */
.kg-button-card {
    margin: 32px 0;
    text-align: center;
}

.kg-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
}

.kg-btn-accent {
    background: var(--color-primary);
    color: #ffffff;
}

.kg-btn-accent:hover {
    background: var(--color-primary-dark);
}

/* File Card */
.kg-file-card {
    margin: 32px 0;
}

.kg-file-card-container {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--transition);
}

.kg-file-card-container:hover {
    box-shadow: var(--shadow-sm);
}

.kg-file-card-title {
    font-weight: 700;
    font-size: 16px;
}

.kg-file-card-caption {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Header Card */
.kg-header-card {
    padding: 80px 40px;
    text-align: center;
    margin: 32px 0;
    border-radius: var(--radius-lg);
}

.kg-header-card h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

/* Video Card */
.kg-video-card {
    margin: 32px 0;
}

.kg-video-card video {
    width: 100%;
    border-radius: var(--radius-md);
}

/* Audio Card */
.kg-audio-card {
    margin: 32px 0;
}

/* Product Card */
.kg-product-card {
    margin: 32px 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
}

/* =============================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-heading {
        font-size: 36px;
    }

    .post-full-title {
        font-size: 36px;
    }

    .author-header-inner {
        flex-direction: column;
        text-align: center;
    }

    .author-bio {
        margin: 0 auto;
    }
}

/* =============================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
    .nav-search-wrap {
        margin-left: 8px;
        margin-right: 8px;
        flex: 1;
        padding: 6px 12px;
        max-width: none;
    }

    .nav-search-text {
        display: none; /* Hide text on small mobile to save space */
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100vh - 88px);
        background: #ffffff; /* Use solid white instead of variable if needed, but variable is preferred */
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 10000;
        overflow-y: auto;
        padding: 24px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15); /* Stronger shadow */
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
        z-index: 10001; /* Higher than site-nav to remain clickable */
    }

    .site-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .site-nav li a {
        display: block;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: var(--radius-md);
    }

    .site-nav li a:hover {
        background: var(--color-bg-alt);
    }

    /* Grids */
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Hero */
    .hero-section {
        min-height: 400px;
        padding: 60px 20px;
    }

    .hero-heading {
        font-size: 28px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    /* Post */
    .post-full-header {
        padding: 48px 0 24px;
    }

    .post-full-title {
        font-size: 28px;
    }

    .post-full-meta {
        flex-direction: column;
        gap: 8px;
    }

    .post-full-image {
        border-radius: 0;
        margin-bottom: 40px;
    }

    .post-content-body {
        font-size: 16px;
    }

    /* Page */
    .page-full-title {
        font-size: 28px;
    }

    /* Tag */
    .tag-header {
        padding: 60px 20px;
    }

    .tag-name {
        font-size: 28px;
    }

    /* Author */
    .author-header {
        padding: 48px 0;
    }

    .author-avatar-large {
        width: 80px;
        height: 80px;
    }

    .author-name {
        font-size: 24px;
    }

    /* Footer */
    .site-footer {
        padding: 48px 0 32px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    /* Sections */
    .featured-section,
    .posts-section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 24px;
    }

    /* Pagination */
    .pagination {
        flex-direction: column;
        gap: 12px;
        padding: 32px 24px 48px;
    }

    /* kg-cards responsive */
    .kg-image-card.kg-width-wide,
    .kg-image-card.kg-width-full {
        margin-left: -24px;
        margin-right: -24px;
    }

    .kg-bookmark-container {
        flex-direction: column;
    }

    .kg-bookmark-thumbnail {
        width: 100%;
        height: 160px;
    }
}

/* =============================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-heading {
        font-size: 24px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }

    .post-full-title {
        font-size: 24px;
    }

    .post-card-content {
        padding: 16px;
    }

    .coming-soon-title {
        letter-spacing: -1px;
    }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast focus for keyboard nav */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* =============================================
   NEW HOMEPAGE COMPONENTS
   ============================================= */

/* Stats Section - Premium Design */
.stats-section {
    padding: 100px 0;
    background: var(--color-bg-warm);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    background: var(--color-bg);
    padding: 48px 32px;
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(20, 16, 4, 0.08);
    border-color: var(--color-primary-light);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-heading);
    letter-spacing: -1px;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    line-height: 1.4;
    color: var(--color-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Focus Areas */
.focus-areas-section {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.focus-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.focus-card-dark {
    background: linear-gradient(145deg, #2a2412 0%, #141004 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 32px;
    border-radius: var(--radius-md);
    text-align: left;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
}

.focus-card-dark:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.1);
}

.focus-title-light {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.focus-description-light {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 32px;
}

.btn-rounded {
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    width: fit-content !important;
}

/* Programs & Initiatives Section - Premium Layout */
.programs-section {
    padding: 80px 0 20px;
    background: #fff;
}


.programs-scroller-outer {
    position: relative;
    overflow: hidden;
}

.programs-scroller-inner {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 24px;
}

.programs-scroller-inner::-webkit-scrollbar {
    display: none;
}

.program-scroller-item {
    flex: 0 0 calc(33.333% - 22px);
    scroll-snap-align: start;
    min-width: 300px;
}

@media (max-width: 991px) {
    .program-scroller-item {
        flex: 0 0 calc(50% - 16px);
    }
}

@media (max-width: 767px) {
    .program-scroller-item {
        flex: 0 0 calc(85% - 10px);
    }
}

.program-card-premium {
    position: relative;
    background: #fff;
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    background: var(--color-bg-alt);
}

.program-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.program-card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    color: #141004;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.program-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #141004;
    margin-bottom: 16px;
    line-height: 1.3;
    transition: color var(--transition);
}

.program-card-excerpt {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.program-card-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.read-more-text {
    font-size: 13px;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hover States */
.program-card-premium:hover {
    transform: translateY(-10px);
}

.program-card-premium:hover .program-card-image {
    transform: scale(1.1);
}

.program-card-premium:hover .program-card-title {
    color: var(--color-primary);
}

/* Empty State Styling */
.programs-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 40px;
    background: var(--color-bg-warm);
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(220, 165, 74, 0.2);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.programs-empty-state p {
    font-size: 16px;
    color: var(--color-text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

.programs-empty-state code {
    color: var(--color-primary);
    font-weight: 700;
    background: rgba(220, 165, 74, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Search Bar UI */
.search-section {
    padding: 24px 0;
}

.search-bar-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-bg-alt);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.search-bar-wrap:hover {
    background: #e9e5de;
    transform: translateY(-2px);
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-icon {
    font-size: 18px;
    opacity: 0.5;
}

.search-input {
    width: 100%;
    border: none;
    background: none;
    font-size: 16px;
    color: var(--color-text-secondary);
    outline: none;
}

/* Stories Split */
.stories-split-section {
    padding: 60px 0 40px;
}

/* Stories Layout Restructure */
/* Stories Scroller Styles */
.stories-scroller-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.scroller-controls {
    display: flex;
    gap: 12px;
}

.scroller-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    color: var(--color-text);
}

.scroller-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: scale(1.05);
}

.stories-scroller-outer {
    position: relative;
    margin-bottom: 60px;
    overflow: hidden;
}

.stories-scroller-inner {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    padding-bottom: 10px;
}

.stories-scroller-inner::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.stories-scroller-inner .story-card-inner {
    flex: 0 0 calc(41.666% - 16px); /* Roughly 2.4 cards visible */
    min-width: 320px;
    scroll-snap-align: start;
}

@media (max-width: 991px) {
    .stories-scroller-inner .story-card-inner {
        flex: 0 0 calc(70% - 12px);
    }
}

@media (max-width: 767px) {
    .stories-scroller-inner .story-card-inner {
        flex: 0 0 calc(90% - 10px);
    }
}

.stories-featured-below {
    width: 100%;
}

.stories-stack {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.story-card-inner {
    height: 380px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    position: relative;
    color: #ffffff;
}

.story-card-content {
    padding: 32px;
    width: 100%;
    background: linear-gradient(transparent, rgba(20, 16, 4, 0.95));
}

.story-meta-light {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary-light);
    margin-bottom: 8px;
}

.story-card-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #ffffff;
}

.story-card-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 24px;
}

.btn-small {
    padding: 10px 20px !important;
    font-size: 12px !important;
}

.stories-featured-below {
    width: 100%;
}

.featured-card-inner {
    height: 100%;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    position: relative;
    color: #ffffff;
    min-height: 400px;
}

.featured-card-content {
    padding: 40px;
    width: 100%;
    background: linear-gradient(transparent, rgba(20, 16, 4, 0.9));
}

.featured-card-title {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 12px;
}

.featured-card-text {
    font-size: 15px;
    margin-bottom: 24px;
    opacity: 0.9;
}

/* Partner Logos */
.partner-logos-section {
    padding: 60px 0 100px;
    border-top: 1px solid var(--color-border-light);
}

.partner-logos-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.partner-logo img {
    height: 40px;
    width: auto;
    filter: grayscale(1);
    transition: filter var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0);
}

/* RESPONSIVE UPDATES */
@media (max-width: 1024px) {
    .stories-split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .stat-item {
        padding: 32px 20px;
    }
    .stat-value {
        font-size: 36px;
    }
    .focus-areas-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .programs-grid {
        grid-template-columns: 1fr;
    }
    .story-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .story-image {
        width: 100%;
    }
    .partner-logos-grid {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   PREMIUM UPGRADE — SCROLL REVEAL ANIMATIONS
   ============================================= */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revealLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes revealRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes revealScale {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 165, 74, 0); }
    50% { box-shadow: 0 0 30px 8px rgba(220, 165, 74, 0.15); }
}

@keyframes slideArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Reveal base class */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.reveal-left {
    transform: translateX(-50px);
}

.reveal.reveal-right {
    transform: translateX(50px);
}

.reveal.reveal-scale {
    transform: scale(0.85);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* =============================================
   PREMIUM — CUSTOM SELECTION & SCROLLBAR
   ============================================= */
::selection {
    background: rgba(220, 165, 74, 0.25);
    color: var(--color-text);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary-dark));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* =============================================
   PREMIUM — HEADER SCROLL EFFECT
   ============================================= */
.site-header.is-scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: transparent;
    background: rgba(255, 255, 255, 0.98);
}

/* =============================================
   PREMIUM — HERO SPLIT LAYOUT
   ============================================= */
.hero-section {
    min-height: 560px;
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    text-align: left;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
}

.hero-heading {
    font-size: 48px;
    text-align: left;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    text-align: left;
    margin: 0 0 36px 0;
    font-size: 17px;
}

.hero-portrait {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.hero-portrait-img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(220, 165, 74, 0.3);
    animation: float 6s ease-in-out infinite;
    object-fit: cover;
}

.hero-portrait::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(220, 165, 74, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Hero secondary nav (buttons) */
.hero-text .gh-secondary-navigation {
    justify-content: flex-start;
}

/* Hero shimmer overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(220, 165, 74, 0.05) 50%,
        transparent 70%
    );
    background-size: 200% 100%;
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-text {
        align-items: center;
        order: 2;
    }

    .hero-heading {
        font-size: 30px;
        text-align: center;
    }

    .hero-description {
        text-align: center;
        margin: 0 auto 28px;
    }

    .hero-portrait {
        order: 1;
    }

    .hero-portrait-img {
        max-width: 260px;
    }

    .hero-text .gh-secondary-navigation {
        justify-content: center;
    }
}

/* =============================================
   PREMIUM — STATS COUNTER GLOW
   ============================================= */
.stat-item {
    animation: pulseGlow 4s ease-in-out infinite;
    animation-play-state: paused;
}

.stat-item:hover {
    animation-play-state: running;
}

.stat-value {
    background: linear-gradient(135deg, var(--color-primary) 0%, #e6c370 50%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
}

.stat-item:hover .stat-value {
    animation: shimmer 2s linear infinite;
}

/* Decorative icon for stats */
.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--color-primary);
    opacity: 0.6;
}

/* =============================================
   PREMIUM — FOCUS CARDS GLASS + TILT
   ============================================= */
.focus-card-dark {
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.focus-card-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    border-radius: inherit;
    z-index: 0;
    transition: height 0.5s ease;
    pointer-events: none;
}

.focus-card-dark:hover::after {
    height: 80%;
}

.focus-card-dark > * {
    position: relative;
    z-index: 1;
}

.focus-title-light {
    transition: transform 0.4s ease;
}

.focus-card-dark:hover .focus-title-light {
    transform: translateY(-4px);
}

/* =============================================
   PREMIUM — PROGRAM CARD ENHANCEMENTS
   ============================================= */
.program-card-tag {
    position: relative;
    overflow: hidden;
}

.program-card-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.program-card-premium:hover .program-card-tag::after {
    left: 100%;
}

.read-more-text .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.program-card-premium:hover .read-more-text .arrow {
    animation: slideArrow 1s ease infinite;
}

/* =============================================
   PREMIUM — STORY CARDS CINEMATIC
   ============================================= */
.story-card-inner {
    transition: all 0.5s ease;
}

.story-card-inner:hover {
    transform: scale(1.02);
}

.story-card-inner:hover .story-card-content {
    background: linear-gradient(transparent, rgba(20, 16, 4, 1));
}

.story-card-title {
    transition: transform 0.4s ease;
}

.story-card-inner:hover .story-card-title {
    transform: translateY(-4px);
}

/* =============================================
   PREMIUM — PARTNER LOGOS MARQUEE
   ============================================= */
.partner-logos-section {
    overflow: hidden;
    padding: 50px 0 80px;
}

.partner-marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
    gap: 60px;
    align-items: center;
}

.partner-marquee-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.partner-logo:hover {
    transform: scale(1.15);
}

.partner-logo img {
    height: 44px;
    width: auto;
    filter: grayscale(1) brightness(0.8);
    transition: all 0.4s ease;
    opacity: 0.7;
}

.partner-logo:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
}

/* =============================================
   PREMIUM — SECTION WAVE DIVIDERS
   ============================================= */
.section-divider {
    width: 100%;
    height: 60px;
    display: block;
    line-height: 0;
}

.section-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* =============================================
   PREMIUM — FEATURED CARD CTA ENHANCEMENT
   ============================================= */
.featured-card-inner {
    transition: all 0.6s ease;
}

.featured-card-inner:hover {
    transform: scale(1.01);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.featured-card-title {
    transition: transform 0.4s ease;
}

.featured-card-inner:hover .featured-card-title {
    transform: translateY(-4px);
}

/* =============================================
   PREMIUM — POST CONTENT BODY ENHANCEMENTS
   ============================================= */

/* Premium Horizontal Rule */
.post-content-body hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    margin: 56px 0;
}

/* Premium Blockquote */
.post-content-body blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 24px 28px;
    margin: 40px 0;
    background: var(--color-bg-warm);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--color-text-secondary);
    position: relative;
}

.post-content-body blockquote::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 32px;
    height: 32px;
    background-color: var(--color-primary);
    opacity: 0.1;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M14.017 21v-7.391c0-5.704 3.731-9.57 8.983-10.609l.995 2.151c-2.432.917-3.995 3.638-3.995 5.849h4v10h-9.983zm-14.017 0v-7.391c0-5.704 3.748-9.57 9-10.609l.996 2.151c-2.433.917-3.996 3.638-3.996 5.849h3.983v10h-9.983z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Premium List Items with checkmark SVG instead of dots */
.post-content-body ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(220, 165, 74, 0.12);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* Premium Ordered List with golden circles */
.post-content-body ol li::before {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #ffffff;
    width: 24px;
    height: 24px;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(220, 165, 74, 0.3);
}

/* Premium Image Captions */
.post-content-body figcaption {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 12px;
    font-style: italic;
    padding: 8px 16px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    display: inline-block;
}

/* Premium Tables */
.post-content-body table {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.post-content-body thead td,
.post-content-body thead th {
    background: linear-gradient(135deg, #2a2412, #141004) !important;
    color: var(--color-primary-light) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px !important;
}

.post-content-body tbody tr:nth-child(even) td {
    background: var(--color-bg-alt);
}

.post-content-body tbody tr {
    transition: background 0.3s ease;
}

.post-content-body tbody tr:hover td {
    background: rgba(220, 165, 74, 0.08) !important;
}

/* Premium Code Blocks */
.post-content-body pre {
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.post-content-body pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary-dark));
}

/* =============================================
   PREMIUM — PAGE CONTENT VARIETY
   ============================================= */

/* Page excerpt styling */
.page-full-excerpt,
.post-full-excerpt {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 16px auto 0;
    line-height: 1.7;
    font-weight: 400;
}

/* Premium page header with gradient */
.page-full-header {
    background: linear-gradient(135deg, var(--color-bg-warm) 0%, #fff5e6 50%, var(--color-bg-alt) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.page-full-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* Premium post header with gradient */
.post-full-header {
    background: linear-gradient(135deg, var(--color-bg-warm) 0%, #fff5e6 50%, var(--color-bg-alt) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    position: relative;
}

.post-full-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

/* =============================================
   PREMIUM — TAG ARCHIVE HEADER
   ============================================= */
.tag-header {
    background: linear-gradient(135deg, #1a1505 0%, #2a2008 100%);
    position: relative;
    overflow: hidden;
}

.tag-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220, 165, 74, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* =============================================
   PREMIUM — FOOTER ENHANCEMENTS
   ============================================= */
.site-footer {
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.footer-col-title {
    position: relative;
    display: inline-block;
}

.footer-col-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
    margin-top: 8px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-col:hover .footer-col-title::after {
    width: 50px;
}

.footer-col li a {
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.footer-col li a:hover {
    padding-left: 8px;
}

/* =============================================
   PREMIUM — BUTTON ENHANCEMENTS
   ============================================= */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(220, 165, 74, 0.4);
}

/* =============================================
   PREMIUM — PLACEHOLDER ICON (SVG-based)
   ============================================= */
.program-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-alt), var(--color-bg-warm));
}

.placeholder-icon-svg {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    opacity: 0.5;
}

/* =============================================
   PREMIUM — RESPONSIVE UPDATES FOR NEW FEATURES
   ============================================= */
@media (max-width: 480px) {
    .hero-heading {
        font-size: 26px;
    }

    .hero-portrait-img {
        max-width: 200px;
    }

    .partner-marquee-track {
        gap: 40px;
    }
}

/* =============================================
   PREMIUM — BACK TO TOP BUTTON
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(220, 165, 74, 0.4);
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(220, 165, 74, 0.5);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}
/* =============================================
   PREMIUM � DONATION PAGE STYLES
   ============================================= */

.donate-page-wrapper {
    background-color: #ffffff;
    min-height: 100vh;
}

.donate-hero {
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.donate-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(20, 16, 4, 0.4) 0%, rgba(20, 16, 4, 0.7) 100%);
}

.donate-hero-content {
    position: relative;
    z-index: 5;
}

.donate-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: white;
}

.donate-subtitle {
    font-size: 22px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.4;
}

.donate-container {
    margin-top: -120px;
    position: relative;
    z-index: 10;
    padding-bottom: 120px;
}

.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Left Message Section */
.donate-message {
    padding: 20px 0;
}

.message-card {
    background: #ffffff;
    padding: 60px;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.message-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.message-title {
    font-size: 40px;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--color-accent);
}

.message-text {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.impact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.impact-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.impact-icon {
    width: 56px; height: 56px;
    background: var(--color-bg-warm);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(220, 165, 74, 0.1);
}

.impact-icon svg { width: 28px; height: 28px; }

.impact-content strong { display: block; font-size: 20px; margin-bottom: 4px; color: var(--color-accent); }
.impact-content span { font-size: 16px; color: var(--color-text-muted); }

.trust-badge-wrap {
    border-top: 1px solid var(--color-border-light);
    padding-top: 40px;
    margin-top: auto;
}

.trust-badge {
    display: flex; align-items: center; gap: 12px;
    font-weight: 700; font-size: 15px;
    color: #10b981;
}

.trust-badge svg { width: 24px; height: 24px; }

/* Right Donation Box Section */
.donate-box-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(220, 165, 74, 0.3);
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.donate-box-header { text-align: center; margin-bottom: 40px; }
.donate-box-header h3 { font-size: 28px; margin-bottom: 12px; font-weight: 800; }
.donate-box-header p { font-size: 15px; color: var(--color-text-muted); }

.danamojo-container {
    flex: 1;
    min-height: 500px;
    background: #ffffff;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border-light);
}

.danamojo-placeholder {
    padding: 40px; text-align: center;
    color: var(--color-text-muted);
}

.placeholder-icon { width: 80px; height: 80px; margin: 0 auto 24px; opacity: 0.2; color: var(--color-primary); }

.danamojo-mock {
    margin-top: 40px; padding: 24px;
    border: 2px dashed var(--color-primary-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    background: var(--color-bg-warm);
    color: var(--color-text-secondary);
}

.donate-box-footer { text-align: center; margin-top: auto; }
.donate-box-footer p { font-size: 13px; margin-bottom: 24px; color: var(--color-text-muted); }

.payment-methods {
    display: flex; justify-content: center; gap: 20px; opacity: 0.5;
}

.payment-methods img { height: 28px; filter: grayscale(1); transition: all 0.3s ease; }
.payment-methods img:hover { opacity: 1; filter: grayscale(0); transform: translateY(-2px); }

/* Secure Info Section */
.secure-info {
    margin-top: 100px;
    border-top: 1px solid var(--color-border-light);
    padding: 80px 0;
}

.secure-info-content {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}

.secure-item { display: flex; gap: 20px; align-items: flex-start; }
.secure-icon { 
    flex-shrink: 0; 
    width: 64px; 
    height: 64px; 
    background: var(--color-bg-warm); 
    border-radius: 16px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.secure-text h4 { font-size: 22px; margin-bottom: 12px; font-weight: 700; }
.secure-text p { font-size: 16px; color: var(--color-text-secondary); line-height: 1.6; }

/* Section Wave - Updated for Premium Feel */
.section-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 0px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

/* Responsive Adjustments */
@media (max-width: 1100px) {
    .donate-grid { grid-template-columns: 1fr; }
    .donate-title { font-size: 48px; }
    .donate-container { margin-top: -60px; }
}

@media (max-width: 768px) {
    .donate-hero { min-height: 400px; height: 50vh; }
    .donate-hero-content { padding: 0 20px; }
    .donate-title { font-size: 36px; }
    .donate-subtitle { font-size: 18px; }
    .message-card, .donate-box-glass { padding: 30px; }
    .secure-info-content { grid-template-columns: 1fr; gap: 40px; }
    .message-title { font-size: 30px; }
}

/* =============================================
   PREMIUM � ABOUT PAGE STYLES
   ============================================= */

.about-hero {
    height: 70vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.about-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(20, 16, 4, 0.5) 0%, rgba(20, 16, 4, 0.8) 100%);
}

.about-hero-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
}

.about-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -3px;
    line-height: 1;
    color: #ffffff;
}

.about-subtitle {
    font-size: 24px;
    opacity: 0.9;
    line-height: 1.4;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.about-container {
    margin-top: -120px;
    position: relative;
    z-index: 10;
    padding-bottom: 120px;
}

/* Founder Section */
.founder-section {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 80px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.06);
    margin-bottom: 80px;
}

.founder-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.founder-image-wrap {
    position: relative;
    text-align: center;
}

.floating-portrait {
    width: 100%;
    max-width: 380px;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.portrait-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120%; height: 120%;
    background: radial-gradient(circle, rgba(220, 165, 74, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.portrait-label {
    margin-top: 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.spiritual-quote {
    font-size: 28px;
    font-weight: 600;
    font-style: italic;
    color: var(--color-primary-dark);
    margin-top: 40px;
    padding-left: 20px;
    border-left: 4px solid var(--color-primary);
    line-height: 1.4;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 80px;
}

.mission-card-premium {
    background: #ffffff;
    padding: 60px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border-light);
    transition: all 0.5s ease;
    text-align: left;
}

.mission-card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 30px 80px rgba(220, 165, 74, 0.1);
}

.card-icon {
    width: 64px; height: 64px;
    background: var(--color-bg-warm);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-primary);
    margin-bottom: 30px;
}

.card-icon svg { width: 32px; height: 32px; }

.mission-card-premium h3 { font-size: 28px; margin-bottom: 20px; }
.mission-card-premium p { font-size: 17px; color: var(--color-text-secondary); line-height: 1.7; }

/* =============================================
   PREMIUM � IMPACTS PAGE STYLES
   ============================================= */

.impact-hero {
    height: 70vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}

.impact-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(20, 16, 4, 0.5) 0%, rgba(20, 16, 4, 0.8) 100%);
}

.impact-title {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -3px;
    color: #ffffff;
}

.impact-subtitle {
    font-size: 24px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.impact-container {
    margin-top: -100px;
    position: relative;
    z-index: 10;
    padding-bottom: 120px;
}

/* Stats Premium Grid */
.stats-premium-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card-premium {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.04);
    border: 1px solid var(--color-border-light);
    transition: all 0.4s ease;
}

.stat-card-premium:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 12px;
}

.stat-desc {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Beneficiary Grid */
.beneficiary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #ffffff;
    padding: 80px;
    border-radius: var(--radius-xl);
    box-shadow: 0 40px 100px rgba(0,0,0,0.06);
    margin-bottom: 80px;
}

.beneficiary-image-large {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
}

.premium-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.beneficiary-image-large:hover .premium-thumb {
    transform: scale(1.05);
}

.thumb-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(20, 16, 4, 0.9));
    color: #ffffff;
}

.thumb-overlay h4 { font-size: 24px; margin-bottom: 8px; }
.thumb-overlay p { font-size: 15px; opacity: 0.8; }

.premium-check-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.premium-check-list li {
    position: relative;
    padding-left: 48px;
    margin-bottom: 30px;
}

.premium-check-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 4px;
    width: 32px; height: 32px;
    background: var(--color-bg-warm);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23DCA54A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.premium-check-list li strong { display: block; font-size: 19px; margin-bottom: 4px; }
.premium-check-list li span { font-size: 15px; color: var(--color-text-muted); }

/* RESPONSIVE UPGRADES */
@media (max-width: 1024px) {
    .founder-grid, .beneficiary-grid, .stats-premium-grid { grid-template-columns: 1fr; }
    .stats-premium-grid { grid-template-columns: repeat(2, 1fr); }
    .about-title, .impact-title { font-size: 48px; }
    .about-hero, .impact-hero { height: auto; padding: 100px 0; }
    .founder-section, .beneficiary-grid, .mission-card-premium { padding: 40px; }
    .founder-grid, .beneficiary-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .stats-premium-grid { grid-template-columns: 1fr; }
    .about-title, .impact-title { font-size: 36px; }
    .about-subtitle, .impact-subtitle { font-size: 18px; }
}

/* =============================================
   PREMIUM � OUR WORK PAGE STYLES
   ============================================= */

.work-hero-full {
    height: 60vh; width: 100%;
    background: var(--color-bg-warm);
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    border-bottom: 1px solid var(--color-border-light);
}

.work-title { font-size: 64px; color: var(--color-accent); letter-spacing: -2px; margin-bottom: 24px; }
.work-subtitle { font-size: 20px; color: var(--color-text-secondary); max-width: 700px; margin: 0 auto; }

.work-project-block {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.project-image-side { overflow: hidden; position: relative; }
.project-img-parallax { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.work-project-block:hover .project-img-parallax { transform: scale(1.05); }

.project-content-side {
    padding: 100px;
    display: flex; flex-direction: column; justify-content: center;
    background: #ffffff;
}

.block-reverse .project-image-side { order: 2; }
.block-reverse .project-content-side { order: 1; text-align: right; }
.block-reverse .project-stats-mini { justify-content: flex-end; }

.project-badge { 
    display: inline-block; padding: 6px 14px; background: var(--color-bg-warm); 
    color: var(--color-primary); font-weight: 800; font-size: 12px; margin-bottom: 30px;
    border-radius: 4px;
}

.project-stats-mini { display: flex; gap: 40px; margin-top: 40px; }
.mini-stat strong { display: block; font-size: 24px; color: var(--color-accent); }
.mini-stat span { font-size: 14px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Approach Cards */
.approach-section { padding: 120px 0; background: var(--color-bg-warm); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }

.approach-card-tilted {
    background: #ffffff; padding: 50px 40px; border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05); transition: all 0.5s ease;
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

.approach-card-tilted:hover { transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(-10px); }
.approach-card-tilted.card-primary { background: var(--color-primary); color: #ffffff; transform: perspective(1000px) scale(1.05); z-index: 5; }
.approach-card-tilted.card-primary .approach-icon { background: rgba(255,255,255,0.2); color: #ffffff; }
.approach-card-tilted.card-primary h4, .approach-card-tilted.card-primary p { color: #ffffff; }

.approach-icon { 
    width: 60px; height: 60px; background: var(--color-bg-warm); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 30px;
}

/* =============================================
   PREMIUM � TEAM PAGE STYLES
   ============================================= */

.team-hero { padding: 120px 0 60px; text-align: center; }
.team-title { font-size: 56px; color: var(--color-accent); margin-bottom: 20px; }
.team-subtitle { font-size: 20px; color: var(--color-text-muted); }

.leadership-spotlight { margin-bottom: 40px; }
.spotlight-card {
    display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 60px;
    background: #ffffff; border-radius: var(--radius-xl); padding: 80px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.06); align-items: center;
}

.leader-image { position: relative; }
.leader-img-glow { width: 100%; border-radius: var(--radius-lg); z-index: 2; position: relative; }

.bio-label { color: var(--color-primary); font-weight: 800; font-size: 13px; text-transform: uppercase; margin-bottom: 15px; }
.bio-short { font-size: 20px; font-weight: 600; color: var(--color-accent); margin: 20px 0; }
.bio-extended { font-size: 17px; line-height: 1.7; color: var(--color-text-secondary); }

.bio-milestones { list-style: none; padding: 0; margin-top: 30px; }
.bio-milestones li { margin-bottom: 15px; position: relative; padding-left: 25px; }
.bio-milestones li::before { content: '�'; position: absolute; left: 0; color: var(--color-primary); font-size: 24px; line-height: 1; }

.team-structure-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px;
}

.team-member-card {
    background: #ffffff; padding: 40px 25px; border-radius: var(--radius-lg); text-align: center;
    border: 1px solid var(--color-border-light); transition: all 0.3s ease;
}

.team-member-card:hover { border-color: var(--color-primary); transform: translateY(-5px); }
.member-icon { font-size: 40px; margin-bottom: 20px; background: var(--color-bg-warm); width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-right: auto; }

/* =============================================
   PREMIUM � PARTNERSHIPS PAGE STYLES
   ============================================= */

.partners-hero { padding: 120px 0; text-align: center; background: #fafafa; }
.partners-title { font-size: 64px; color: var(--color-accent); margin-bottom: 24px; }

.partner-why-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; 
    margin-top: -60px; margin-bottom: 100px;
}

.why-card {
    background: #ffffff; padding: 50px 40px; border-radius: var(--radius-xl);
    box-shadow: 0 30px 80px rgba(0,0,0,0.05); text-align: center;
}

.why-card.card-highlight { background: var(--color-accent); color: #ffffff; border: 2px solid var(--color-primary); }
.why-card.card-highlight h3, .why-card.card-highlight p { color: #ffffff; }

.why-icon { font-size: 48px; margin-bottom: 30px; }

.types-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
    margin-bottom: 100px;
}

.type-list-premium { list-style: none; padding: 0; margin-top: 30px; }
.type-list-premium li { margin-bottom: 40px; }
.type-list-premium li strong { display: block; font-size: 20px; color: var(--color-primary-dark); margin-bottom: 6px; }
.type-list-premium li span { color: var(--color-text-secondary); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .work-project-block, .spotlight-card, .types-grid, .partner-why-grid, .approach-grid, .team-structure-grid { grid-template-columns: 1fr; }
    .project-content-side, .spotlight-card, .types-grid { padding: 40px; }
    .work-project-block { min-height: auto; }
    .project-image-side { height: 350px; }
    .block-reverse .project-image-side { order: 0; }
    .block-reverse .project-content-side { order: 1; text-align: left; }
    .block-reverse .project-stats-mini { justify-content: flex-start; }
}

/* =============================================
   SUPER-PREMIUM � PARTNERSHIPS PAGE STYLES (ELEVATED)
   ============================================= */

.partners-parallax-hero {
    height: 80vh; min-height: 700px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
    color: #ffffff;
}

.parallax-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 120%;
    background-size: cover; background-position: center;
    transform: translateY(0); z-index: 1;
    will-change: transform; transition: transform 0.1s linear;
}

.partners-hero-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(20,16,4,0.4) 0%, rgba(20,16,4,0.7) 100%);
    z-index: 2;
}

.partners-hero-content { position: relative; z-index: 5; max-width: 900px; }
.hero-label-gold { display: inline-block; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 5px; color: var(--color-primary); margin-bottom: 20px; }
.partners-title-large { color: #ffffff; text-shadow: 0 2px 20px rgba(0,0,0,0.5); font-size: 84px; font-weight: 800; margin-bottom: 30px; letter-spacing: -4px; line-height: 0.95; }
.partners-subtitle-large { font-size: 26px; max-width: 800px; margin: 0 auto; opacity: 0.9; line-height: 1.4; }

.hero-wave { position: absolute; bottom: -2px; left: 0; width: 100%; height: 120px; z-index: 6; }
.hero-wave svg { width: 100%; height: 100%; }

.partners-main { margin-top: -60px; padding-bottom: 120px; }

/* Iconic Value Grid */
.partners-value-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 100px;
}

.value-card-premium {
    background: #ffffff; padding: 50px 40px; border-radius: var(--radius-xl);
    box-shadow: 0 40px 100px rgba(0,0,0,0.06); text-align: center;
    border: 1px solid var(--color-border-light); transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.value-card-premium:hover { transform: translateY(-15px); border-color: var(--color-primary); }
.value-card-premium.card-active { border: 2px solid var(--color-primary); background: var(--color-bg-warm); }

.value-icon-box { font-size: 48px; margin-bottom: 30px; width: 100px; height: 100px; background: var(--color-bg-warm); border-radius: 24px; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-right: auto; color: var(--color-primary); }

/* Partnership Marquee */
.partnership-marquee-section { padding: 60px 0; background: var(--color-bg-warm); border-radius: var(--radius-xl); margin-bottom: 40px; }
.marquee-title { text-align: center; text-transform: uppercase; letter-spacing: 4px; font-size: 13px; color: var(--color-text-muted); margin-bottom: 40px; }

.marquee-container { overflow: hidden; position: relative; width: 100%; padding: 20px 0; }
.marquee-track { display: flex; width: max-content; gap: 80px; animation: marquee-scroll 30s linear infinite; }

.marquee-item.text-logo { font-size: 28px; font-weight: 800; color: var(--color-accent); white-space: nowrap; opacity: 0.3; transition: opacity 0.3s ease; }
.marquee-item.text-logo:hover { opacity: 0.8; }

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Collaboration Block */
.collaboration-types { background: #ffffff; padding: 100px; border-radius: var(--radius-xl); box-shadow: 0 40px 100px rgba(0,0,0,0.06); margin-bottom: 40px; }
.collab-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: flex-start; }

.collab-item { display: flex; gap: 30px; margin-bottom: 40px; border-bottom: 1px solid var(--color-border-light); padding-bottom: 30px; }
.collab-num { font-size: 14px; font-weight: 800; color: var(--color-primary); background: var(--color-bg-warm); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.collab-body strong { display: block; font-size: 22px; margin-bottom: 8px; }
.collab-body p { font-size: 16px; color: var(--color-text-secondary); }

/* Premium CTA Block */
.premium-cta-block { padding: 40px 0 120px; background-attachment: fixed; background-size: cover; background-position: center; position: relative; }
.cta-glass-card { 
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); border-radius: var(--radius-xl);
    padding: 80px; border: 1px solid rgba(220,165,74,0.2); box-shadow: 0 40px 120px rgba(0,0,0,0.1);
    max-width: 900px; margin: 0 auto;
}

.cta-glass-card h2 { font-size: 40px; margin-bottom: 24px; color: var(--color-accent); }
.cta-glass-card p { font-size: 18px; margin-bottom: 40px; color: var(--color-text-secondary); }

.btn-premium-gold {
    display: inline-block; padding: 18px 45px; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff !important; border-radius: 50px; text-decoration: none; font-weight: 800; 
    box-shadow: 0 10px 30px rgba(220,165,74,0.4); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-premium-gold:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 20px 50px rgba(220,165,74,0.6); }

/* RESPONSIVE UPGRADE */
@media (max-width: 1024px) {
    .partners-value-grid, .collab-grid { grid-template-columns: 1fr; }
    .partners-title-large { font-size: 56px; }
    .collaboration-types { padding: 40px; }
    .cta-glass-card { padding: 50px 30px; }
}

/* =============================================
   PREMIUM � ANNUAL REPORT PAGE STYLES
   ============================================= */

.report-hero {
    padding: 140px 0 80px;
    background: #ffffff;
    text-align: center;
    border-bottom: 1px solid var(--color-border-light);
}

.report-label {
    display: inline-block; padding: 6px 14px; background: var(--color-bg-warm); 
    color: var(--color-primary); font-weight: 800; font-size: 11px; margin-bottom: 24px;
    border-radius: 4px; text-transform: uppercase; letter-spacing: 3px;
}

.report-title { font-size: 56px; font-weight: 800; color: var(--color-accent); margin-bottom: 20px; }
.report-subtitle { font-size: 19px; color: var(--color-text-muted); max-width: 750px; margin: 0 auto; line-height: 1.6; }

.report-container { padding: 80px 0; max-width: 1000px; margin: 0 auto; }

.year-marker {
    display: inline-block; font-size: 14px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 2px; color: var(--color-primary); margin-bottom: 30px;
    padding-bottom: 8px; border-bottom: 2px solid var(--color-primary);
}

.report-card-premium {
    background: #ffffff; border-radius: var(--radius-xl); padding: 50px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.06); border: 1px solid var(--color-border-light);
    display: flex; align-items: center; gap: 40px; margin-bottom: 50px;
    transition: all 0.5s ease;
}

.report-card-premium:hover { transform: translateY(-10px); border-color: var(--color-primary); }
.featured-report { background: var(--color-bg-warm); border: 1px solid var(--color-primary-light); }

.report-icon-box {
    width: 100px; height: 100px; background: #ffffff; border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    color: var(--color-primary); box-shadow: 0 10px 30px rgba(220,165,74,0.1);
    flex-shrink: 0;
}

.report-icon-box.small { width: 80px; height: 80px; }

.report-info { flex: 1; }
.report-info h3 { font-size: 28px; margin-bottom: 12px; }
.report-info p { font-size: 16px; color: var(--color-text-secondary); margin-bottom: 20px; }

.report-highlights-mini { display: flex; gap: 30px; }
.h-stat { font-size: 14px; color: var(--color-text-muted); font-weight: 700; text-transform: uppercase; }
.h-stat strong { color: var(--color-accent); font-size: 16px; margin-right: 4px; }

.btn-download-formal {
    display: inline-block; padding: 18px 30px; background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #ffffff !important; border-radius: 12px; font-weight: 800; font-size: 15px;
    box-shadow: 0 10px 30px rgba(220,165,74,0.3); transition: all 0.4s ease;
    white-space: nowrap;
}

.btn-download-formal:hover { transform: scale(1.05); box-shadow: 0 15px 40px rgba(220,165,74,0.5); }
.file-size { font-size: 12px; font-weight: 400; opacity: 0.8; margin-left: 6px; }

.btn-download-outline {
    display: inline-block; padding: 16px 28px; border: 2px solid var(--color-primary);
    color: var(--color-primary) !important; border-radius: 12px; font-weight: 800; font-size: 14px;
    transition: all 0.3s ease; white-space: nowrap;
}

.btn-download-outline:hover { background: var(--color-primary); color: #ffffff !important; }

.year-highlights { padding-left: 140px; margin-bottom: 100px; }
.year-highlights h4 { font-size: 20px; color: var(--color-accent); margin-bottom: 20px; text-transform: none; border: none; }

.formal-highlights { list-style: none; padding: 0; margin-top: 24px; }
.formal-highlights li { position: relative; padding-left: 30px; margin-bottom: 16px; font-size: 16px; color: var(--color-text-secondary); }
.formal-highlights li::before { content: '?'; position: absolute; left: 0; color: var(--color-primary); font-weight: 800; }

@media (max-width: 1024px) {
    .report-card-premium { flex-direction: column; text-align: center; padding: 40px; }
    .report-highlights-mini { justify-content: center; flex-wrap: wrap; }
    .year-highlights { padding-left: 0; }
    .report-title { font-size: 40px; }
}

/* === BUTTON FIX === */
.featured-card-content .btn,
.story-card-content .btn {
    position: relative !important;
    z-index: 100 !important;
    opacity: 1 !important;
    background: #e6a836 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
    font-weight: 800 !important;
    text-shadow: none !important;
    mix-blend-mode: normal !important;
}

/* === SCROLLER CLIPPING FIX === */
.stories-scroller-outer { overflow: visible !important; }
.stories-scroller-inner {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    margin-top: -24px !important;
    margin-bottom: -10px !important;
}

/* === BANK DETAILS DYNAMIC LIST STYLING === */
.bank-details-glass {
    min-height: auto !important; /* Removes the stretched empty feel */
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(220, 165, 74, 0.05) 100%) !important;
    border: 1px solid rgba(220, 165, 74, 0.2) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05), inset 0 0 20px rgba(220, 165, 74, 0.05) !important;
    position: relative;
    overflow: hidden;
}

/* Add a subtle shine animation to the bank card */
.bank-details-glass::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 0; bottom: 0;
    width: 50%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    transform: skewX(-20deg);
    animation: shine-sweep 6s infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes shine-sweep {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.bank-details-premium {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.bank-dynamic-content ul {
    list-style: none;
    padding: 20px 0 0 0;
    margin: 0;
    max-width: 100%;
}
.bank-dynamic-content li {
    padding: 16px 12px;
    border-bottom: 1px dashed rgba(220, 165, 74, 0.3);
    font-size: 16px;
    color: var(--color-text-secondary);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.bank-dynamic-content li:hover {
    background: rgba(220, 165, 74, 0.08);
    border-radius: 8px;
    transform: translateX(5px);
}
.bank-dynamic-content li:last-child {
    border-bottom: none;
}
.bank-dynamic-content li strong {
    display: inline-block;
    width: 150px;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-weight: 800;
}

/* === PREMIUM TRUST BADGES === */
/* Fixed icon stretching and improved mobile spacing */
.secure-item { align-items: flex-start !important; }
.secure-icon {
    width: 60px !important;
    height: 60px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background: #fdf6e7 !important; /* Soft premium gold-white */
    border: 1px solid rgba(182, 134, 51, 0.1) !important;
}

.secure-icon svg {
    color: var(--color-primary-dark) !important;
    width: 28px !important;
    height: 28px !important;
}

/* Responsive adjustments for the new 3-column layout and bank details */
@media (max-width: 991px) {
    .secure-info-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .secure-info-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .bank-dynamic-content li {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .bank-dynamic-content li strong { width: 100%; }
}
