:root {
    --primary: #8b180f;
    --primary-dark: #651008;
    --primary-soft: #f5e7e4;
    --accent: #caa56a;
    --accent-soft: #f6efe3;
    --text: #2a2a2a;
    --muted: #6c757d;
    --bg: #fbf8f6;
    --white: #ffffff;
    --border: rgba(139, 24, 15, 0.12);
    --shadow: 0 18px 45px rgba(68, 24, 14, 0.08);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --dark-1: #171311;
    --dark-2: #211917;
    --dark-3: #2a211e;
    --dark-border: rgba(255, 255, 255, 0.08);
    --dark-text: rgba(255, 255, 255, 0.92);
    --dark-muted: rgba(255, 255, 255, 0.68);
    --bs-border-radius: 14px;
}

html, body {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.footer-main {
    margin-top: auto;
    flex-shrink: 0;
}

.footer-main .form-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
    margin-bottom: 0;
    min-height: 0;
    padding-left: 0;
}

.footer-main .form-check-input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 2px 0 0 0;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    box-shadow: none;
    cursor: pointer;
}

.footer-main .form-check-input:focus {
    border-color: rgba(214, 176, 102, 0.95);
    box-shadow: 0 0 0 0.2rem rgba(214, 176, 102, 0.18);
}

.footer-main .form-check-input:checked {
    background-color: #d6b066;
    border-color: #d6b066;
    box-shadow: none;
}

.footer-main .form-check-label {
    display: inline-block;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.55;
    cursor: pointer;
}

.footer-main .form-check-label p {
    display: inline;
    margin: 0;
}

.footer-main .form-check-label a {
    color: #f2cd7d;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(242, 205, 125, 0.35);
    transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.footer-main .form-check-label a:hover,
.footer-main .form-check-label a:focus {
    color: #fff1c9;
    border-bottom-color: rgba(255, 241, 201, 0.8);
    text-decoration: none;
}

.footer-main [data-error-for="privacy_accepted"] {
    margin-top: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #ffd3d3;
}

.footer-main .form-check-input.is-invalid {
    border-color: #ffb4b4;
}

.footer-main .form-check-input.is-invalid + .form-check-label {
    color: #fff;
}

.news-thumb.no-image {
    background:
        linear-gradient(135deg, rgba(139, 24, 15, 0.16), rgba(139, 24, 15, 0.30)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 42%),
        linear-gradient(180deg, #d8d1cb 0%, #c8beb6 100%) !important;
}

.mini-post-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.news-thumb.no-image::before {
    display: none !important;
}

.news-thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    margin: 0 auto;
}

.news-thumb-placeholder-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #fff;
    font-size: 1.5rem;
    backdrop-filter: blur(4px);
}

.news-thumb-placeholder-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.news-thumb .news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

@media (max-width: 576px) {
    .footer-main .form-check {
        gap: 10px;
    }

    .footer-main .form-check-input {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .footer-main .form-check-label {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

.documents-page .documents-toolbar {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.documents-page .documents-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.documents-page .documents-category {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: #5c5550;
    border: 1px solid rgba(139, 24, 15, 0.10);
    font-weight: 700;
    transition: all 0.2s ease;
}

.documents-page .documents-category:hover,
.documents-page .documents-category.active {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: rgba(139, 24, 15, 0.18);
}

.documents-page .documents-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.documents-page .document-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.documents-page .document-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(68, 24, 14, 0.12);
}

.documents-page .document-card-icon,
.documents-page .mini-post-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 18px;
    font-size: 1.6rem;
    font-weight: 700;
}

.documents-page .document-card-icon {
    width: 72px;
    height: 72px;
}

.documents-page .mini-post-icon {
    width: 56px;
    height: 56px;
}

.documents-page .document-card-icon.pdf,
.documents-page .mini-post-icon.pdf {
    background: rgba(220, 53, 69, 0.10);
    color: #dc3545;
}

.documents-page .document-card-icon.doc,
.documents-page .mini-post-icon.doc {
    background: rgba(13, 110, 253, 0.10);
    color: #0d6efd;
}

.documents-page .document-card-icon.xls,
.documents-page .mini-post-icon.xls {
    background: rgba(25, 135, 84, 0.10);
    color: #198754;
}

.documents-page .document-card-content {
    flex: 1 1 auto;
    min-width: 0;
}

.documents-page .document-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.9rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.documents-page .document-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.7rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    border: 1px solid rgba(139, 24, 15, 0.08);
}

.documents-page .document-meta {
    font-size: 0.92rem;
    font-weight: 600;
    color: #8a837d;
}

.documents-page .document-title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    color: #2f241e;
    margin-bottom: 0.7rem;
}

.documents-page .document-text {
    color: #69625e;
    margin-bottom: 1rem;
    line-height: 1.75;
}

.documents-page .document-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.documents-page .document-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 170px;
}

.documents-page .documents-sidebar-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.documents-page .documents-sidebar-card .mini-post {
    align-items: center;
}

.documents-page .documents-help-card {
    background: linear-gradient(135deg, rgba(139, 24, 15, 0.98), rgba(102, 16, 9, 0.98));
    color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 1.6rem;
    position: relative;
    overflow: hidden;
}

.documents-page .documents-help-card::after {
    content: "";
    position: absolute;
    top: -35px;
    right: -35px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.documents-page .documents-help-card .help-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    margin-bottom: 1rem;
}

.documents-page .documents-help-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.documents-page .documents-help-card p {
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .documents-page .document-card {
        flex-direction: column;
    }

    .documents-page .document-card-actions {
        width: 100%;
        min-width: 0;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .documents-page .document-card-actions .btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 767.98px) {
    .documents-page .documents-toolbar,
    .documents-page .documents-sidebar-card,
    .documents-page .documents-help-card,
    .documents-page .document-card {
        padding: 1.25rem;
    }

    .documents-page .document-card {
        gap: 1rem;
    }

    .documents-page .document-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .documents-page .document-card-actions {
        flex-direction: column;
    }

    .documents-page .documents-categories {
        gap: 0.55rem;
    }

    .documents-page .documents-category {
        padding: 0.65rem 0.9rem;
        font-size: 0.92rem;
    }
}

h1, h2, h3, h4, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.form-label {
    margin: 0 0 1rem 0;
}

a {
    text-decoration: none;
}

p:last-of-type {
    margin-bottom: 0 !important;
}

.text-primary-custom {
    color: var(--primary) !important;
}

.bg-primary-custom {
    background-color: var(--primary) !important;
}

.form-check-input {
    border: 2px solid var(--primary);
    background-color: transparent;
    box-shadow: none !important;
}

.form-check-input:hover {
    border-color: var(--primary-dark);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: none !important;
}

.form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M3 8.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.form-check-input:focus {
    border-color: var(--primary-dark);
    outline: none;
    box-shadow: none !important;
}

.form-check-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.topbar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
}

.topbar a {
    color: #fff;
}

.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 800;
    color: var(--primary) !important;
    padding: 0;
}

.navbar-brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    object-position: center;
    border-radius: 50rem;
    background: #fff;
}

.brand-text {
    line-height: 1.05;
}

.brand-text small {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #92715d;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: #4a4a4a;
    font-weight: 600;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

.nav-donate {
    background: linear-gradient(135deg, var(--accent), #e0b56f);
    color: #4d3424 !important;
    border-radius: 50rem;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    margin-left: 0.5rem;
    font-weight: 700;
}

.btn-primary-custom {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary) 25%,
        var(--primary-dark) 50%,
        var(--primary) 100%
    );
    background-size: 200% 200%;
    background-position: left center;
    border: none;
    color: #fff;
    border-radius: 50rem;
    padding: 0.9rem 1.35rem;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(139, 24, 15, 0.2);
    transition: all 0.5s ease-in-out;
}

.btn-primary-custom:hover,
.btn-primary-custom:active {
    color: #fff !important;
    background-position: right center;
}

.btn-outline-custom {
    border: 1px solid rgba(139, 24, 15, 0.18);
    color: var(--primary);
    background: #fff;
    border-radius: 50rem;
    padding: 0.9rem 1.35rem;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.btn-outline-custom:hover, .btn-outline-custom:active {
    background: var(--primary-soft);
    color: var(--primary-dark);
    border-color: rgba(139, 24, 15, 0.28);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 24, 15, 0.08);
    color: var(--primary);
    border: 1px solid rgba(139, 24, 15, 0.1);
    border-radius: 50rem;
    padding: 0.55rem 0.95rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.section {
    padding: 4.5rem 0;
}

.section-title,
.section-light-title {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.section-title {
    color: #2b1b16;
}

.section-title span {
    color: var(--primary);
}

.section-light-title {
    color: #2b1b16;
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.section-subtitle,
.section-light-subtitle {
    font-size: 1.04rem;
}

.section-subtitle {
    color: var(--muted);
    margin-bottom: 2.2rem;
}

.section-light-subtitle {
    color: var(--muted);
    margin-bottom: 2rem;
}

.form-control,
.form-select,
textarea {
    border-radius: 14px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: rgba(139, 24, 15, 0.28);
}

/* HOME PAGE */
.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4.5rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(139, 24, 15, 0.06), transparent 18%),
        radial-gradient(circle at 85% 15%, rgba(202, 165, 106, 0.12), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.2));
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: #2d1b16;
    margin-top: 1.2rem;
    margin-bottom: 1rem;
}

.hero-title span {
    color: var(--primary);
}

.hero-text {
    font-size: 1.08rem;
    color: #5f5b58;
    max-width: 720px;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-card,
.about-card,
.purpose-card,
.tax-card,
.filter-card,
.featured-card,
.sidebar-card,
.article-card,
.share-box,
.related-card,
.contact-card,
.info-card,
.map-card,
.content-card,
.help-card,
.footer-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: all 0.3s ease-in-out;
}

.hero-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
}

.hero-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50rem;
    background: radial-gradient(circle, rgba(202, 165, 106, 0.22), transparent 65%);
}

.hero-logo-wrap {
    background: linear-gradient(180deg, #fff, #faf2ef);
    border: 1px solid rgba(139, 24, 15, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
}

.hero-logo-wrap img {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
}

.stat-grid {
    margin-top: 2rem;
}

.stat-box {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
    border: 1px solid rgba(139, 24, 15, 0.08);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
    height: 100%;
}

.stat-box .value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.1rem;
}

.icon-circle,
.help-icon,
.impact-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.icon-circle,
.help-icon {
    background: linear-gradient(135deg, var(--primary-soft), #fff8f5);
    color: var(--primary);
}

.about-card,
.purpose-card,
.help-card {
    padding: 1.6rem 2rem;
    height: 100%;
}

.about-card h3,
.purpose-card h3,
.tax-card h3,
.help-card h3 {
    font-size: 1.16rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.about-card p,
.purpose-card p,
.tax-card p,
.help-card p {
    color: #66615d;
    margin-bottom: 0;
}

.purpose-card {
    position: relative;
    overflow: hidden;
}

.purpose-card.highlight {
    background: linear-gradient(135deg, rgba(139, 24, 15, 0.98), rgba(102, 16, 9, 0.98));
    color: #fff;
}

.purpose-card.highlight p,
.purpose-card.highlight .small-muted {
    color: rgba(255, 255, 255, 0.84);
}

.purpose-card.highlight::after {
    content: "";
    position: absolute;
    top: -35px;
    right: -35px;
    width: 140px;
    height: 140px;
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.07);
}

.tax-section {
    position: relative;
    overflow: hidden;
}

.tax-box {
    background: linear-gradient(135deg, rgba(202, 165, 106, 0.16), rgba(139, 24, 15, 0.08));
    border: 1px solid rgba(139, 24, 15, 0.1);
    border-radius: 32px;
    padding: 2.4rem;
}

.tax-card {
    padding: 1.5rem;
    height: 100%;
}

.tax-number {
    display: inline-block;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.6rem;
}

.tax-steps {
    padding-left: 0;
    list-style: none;
    margin: 1.5rem 0 0;
}

.tax-steps li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    line-height: 2;
    margin-bottom: 1rem;
    color: #5d5651;
}

.tax-steps .step-index {
    min-width: 34px;
    width: 34px;
    height: 34px;
    border-radius: 50rem;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* NEWS CARDS - shared */
.news-card {
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.news-card:hover,
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(68, 24, 14, 0.12);
}

.news-thumb {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: end;
    padding: 1.25rem;
    color: #fff;
}

.news-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.42));
    z-index: 1;
}

.news-thumb > * {
    position: relative;
    z-index: 2;
}

.news-badge,
.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 50rem;
    font-size: 0.84rem;
    font-weight: 700;
}

.news-badge {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.42rem 0.75rem;
}

.tag {
    padding: 0.48rem 0.8rem;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(139, 24, 15, 0.08);
}

.news-body,
.related-body {
    padding: 1.35rem 1.35rem 1.5rem;
}

.news-date,
.news-meta,
.featured-meta {
    color: #8a837d;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.news-title,
.related-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
    color: #2f241e;
    margin-bottom: 0.75rem;
}

.news-text,
.related-text {
    font-size: 1rem;
    color: #69625e;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary);
    font-weight: 700;
}

.news-thumb.bg-1 {
    background:
        linear-gradient(135deg, rgba(139, 24, 15, .22), rgba(139, 24, 15, .34)),
        url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.news-thumb.bg-2 {
    background:
        linear-gradient(135deg, rgba(202, 165, 106, .28), rgba(139, 24, 15, .30)),
        url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.news-thumb.bg-3 {
    background:
        linear-gradient(135deg, rgba(139, 24, 15, .26), rgba(91, 13, 7, .32)),
        url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.news-thumb.bg-4 {
    background:
        linear-gradient(135deg, rgba(202, 165, 106, .24), rgba(139, 24, 15, .30)),
        url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.news-thumb.bg-5 {
    background:
        linear-gradient(135deg, rgba(139, 24, 15, .22), rgba(202, 165, 106, .30)),
        url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.news-thumb.bg-6 {
    background:
        linear-gradient(135deg, rgba(139, 24, 15, .22), rgba(90, 60, 30, .32)),
        url('https://images.unsplash.com/photo-1488190211105-8b0e65b80b4e?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.news-thumb.bg-7 {
    background:
        linear-gradient(135deg, rgba(139, 24, 15, .24), rgba(202, 165, 106, .30)),
        url('https://images.unsplash.com/photo-1529390079861-591de354faf5?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.news-thumb.bg-8 {
    background:
        linear-gradient(135deg, rgba(139, 24, 15, .24), rgba(91, 13, 7, .30)),
        url('https://images.unsplash.com/photo-1513258496099-48168024aec0?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.news-thumb.bg-9 {
    background:
        linear-gradient(135deg, rgba(202, 165, 106, .24), rgba(139, 24, 15, .34)),
        url('https://images.unsplash.com/photo-1517486808906-6ca8b3f04846?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

/* GENERIC PAGE HERO */
.page-hero,
.hero-article {
    position: relative;
    overflow: hidden;
}

.page-hero {
    padding: 5.5rem 0 3.5rem;
}

.hero-article {
    padding: 4.8rem 0 3rem;
}

.page-hero .container,
.hero-article .container {
    position: relative;
    z-index: 1;
}

.breadcrumb-wrap {
    margin-bottom: 1.5rem;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: #7d756f;
    font-weight: 600;
}

.breadcrumb-item.active {
    color: var(--primary);
}

.page-title,
.article-title {
    line-height: 1.08;
    color: #2d1b16;
    margin-top: 1.15rem;
    margin-bottom: 1rem;
}

.page-title {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 800;
}

.page-title span {
    color: var(--primary);
}

.page-text,
.article-lead {
    font-size: 1.08rem;
    color: #5f5b58;
}

.article-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.4rem;
    color: #7e7771;
    font-weight: 600;
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* CONTACT PAGE */
.contact-card,
.info-card {
    padding: 2rem;
    height: 100%;
}

.info-title,
.sidebar-title,
.author-name {
    color: #2f241e;
}

.info-title,
.sidebar-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.info-title {
    margin-bottom: 0.55rem;
}

.info-text {
    color: #69625e;
    margin-bottom: 0;
}

.contact-highlight,
.newsletter-box {
    background: linear-gradient(135deg, rgba(139, 24, 15, 0.98), rgba(102, 16, 9, 0.98));
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-highlight::after,
.newsletter-box::after {
    content: "";
    position: absolute;
    top: -35px;
    right: -35px;
    width: 140px;
    height: 140px;
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.07);
}

.contact-highlight .info-text,
.contact-highlight p,
.contact-highlight li,
.contact-highlight small,
.newsletter-box p {
    color: rgba(255, 255, 255, 0.88);
}

.contact-highlight .icon-circle {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.map-card {
    padding: 0;
    overflow: hidden;
}

.map-placeholder {
    min-height: 360px;
    background:
        linear-gradient(135deg, rgba(139, 24, 15, 0.06), rgba(202, 165, 106, 0.14)),
        radial-gradient(circle at 20% 30%, rgba(139, 24, 15, 0.07), transparent 20%),
        radial-gradient(circle at 70% 60%, rgba(202, 165, 106, 0.18), transparent 20%),
        #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.map-inner {
    max-width: 520px;
}

.map-pin {
    width: 84px;
    height: 84px;
    border-radius: 50rem;
    background: linear-gradient(135deg, var(--primary), #a61d11);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 12px 30px rgba(139, 24, 15, 0.18);
    margin-bottom: 1rem;
}

.faq-list .accordion-item {
    border: 1px solid var(--border);
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 26px rgba(68, 24, 14, 0.05);
}

.faq-list .accordion-button {
    font-weight: 700;
    color: #2f241e;
    background: #fff;
    box-shadow: none !important;
}

.faq-list .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--primary-soft);
}

.faq-list .accordion-body {
    color: #69625e;
}

/* NEWS LIST PAGE */
.filter-card,
.sidebar-card {
    padding: 1.5rem;
}

.featured-card {
    overflow: hidden;
    height: 100%;
}

.featured-image {
    min-height: 420px;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(139, 24, 15, .30), rgba(30, 18, 15, .45)),
        url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
    position: relative;
}

.featured-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.35));
}

.featured-body {
    padding: 2rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(139, 24, 15, 0.08);
    color: #5c5550;
    font-weight: 600;
}

.category-list a:last-child {
    border-bottom: none;
}

.category-list a:hover {
    color: var(--primary);
}

.mini-post {
    display: flex;
    gap: 0.95rem;
    align-items: center;
    padding: 0.95rem 0;
    border-bottom: 1px solid rgba(139, 24, 15, 0.08);
}

.mini-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mini-post:first-child {
    padding-top: 0;
}

.mini-post-thumb {
    width: 88px;
    height: 72px;
    border-radius: 14px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.mini-post-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    color: #2f241e;
    margin-bottom: 0.3rem;
}

.mini-post-date {
    font-size: 0.85rem;
    color: #8a837d;
    font-weight: 600;
}

.pagination-custom .page-link {
    border: none;
    color: var(--primary);
    background: #fff;
    border-radius: 12px !important;
    margin: 0 0.25rem;
    padding: 0.8rem 1rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(68, 24, 14, 0.06);
}

.pagination-custom .page-item.active .page-link {
    background: var(--primary);
    color: #fff;
}

/* NEWS SINGLE PAGE */
.article-card {
    overflow: hidden;
}

.article-cover {
    min-height: 460px;
    background:
        linear-gradient(135deg, rgba(139, 24, 15, .22), rgba(25, 18, 15, .40)),
        url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    position: relative;
}

.article-cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.22));
}

.article-body {
    padding: 2.2rem;
}

.article-content,
.content-body {
    color: #4d4844;
    font-size: 1.05rem;
    line-height: 1.9;
}

.article-content h2,
.article-content h3,
.content-body h2,
.content-body h3,
.content-body h4 {
    color: #2b1b16;
    font-weight: 800;
    line-height: 1.3;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
}

.article-content p,
.content-body p {
    margin-bottom: 1.25rem;
}

.article-content ul,
.content-body ul,
.content-body ol {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.article-content li,
.content-body li {
    margin-bottom: 0.7rem;
}

.quote-box,
.highlight-box {
    border-radius: 20px;
    margin: 2rem 0;
}

.quote-box {
    padding: 1.6rem 1.7rem;
    background: linear-gradient(135deg, rgba(139, 24, 15, 0.05), rgba(202, 165, 106, 0.12));
    border: 1px solid rgba(139, 24, 15, 0.08);
    position: relative;
    overflow: hidden;
}

.quote-box::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    left: 18px;
    font-size: 5rem;
    line-height: 1;
    color: rgba(139, 24, 15, 0.14);
    font-weight: 800;
}

.quote-box p {
    font-size: 1.14rem;
    font-weight: 600;
    color: #4a3f39;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    padding-left: 1rem;
}

.quote-author {
    color: #7b726d;
    font-weight: 700;
    padding-left: 1rem;
    position: relative;
    z-index: 1;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 2rem;
}

.share-box {
    padding: 1.4rem 1.5rem;
    margin-top: 1.6rem;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50rem;
    background:
        linear-gradient(135deg, rgba(139, 24, 15, .18), rgba(202, 165, 106, .20)),
        url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=300&q=80') center/cover no-repeat;
    flex-shrink: 0;
}

.author-name {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.author-role {
    color: #7c756f;
    font-size: 0.94rem;
}

.social-link-inline {
    width: 42px;
    height: 42px;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(139, 24, 15, 0.08);
    transition: all 0.3s ease-in-out;
}

.social-link-inline:hover {
    background: var(--primary);
    color: #fff;
}

.related-card {
    overflow: hidden;
    height: 100%;
}

.related-thumb {
    height: 220px;
    position: relative;
}

.related-thumb.bg-1 {
    background:
        linear-gradient(135deg, rgba(139, 24, 15, .22), rgba(139, 24, 15, .34)),
        url('https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.related-thumb.bg-2 {
    background:
        linear-gradient(135deg, rgba(202, 165, 106, .28), rgba(139, 24, 15, .30)),
        url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

.related-thumb.bg-3 {
    background:
        linear-gradient(135deg, rgba(139, 24, 15, .26), rgba(91, 13, 7, .32)),
        url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
}

/* BLANK PAGE */
.content-card {
    padding: 2.4rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(139, 24, 15, 0.05), rgba(202, 165, 106, 0.12));
    border: 1px solid rgba(139, 24, 15, 0.08);
    padding: 1.5rem;
}

.content-body strong {
    color: #2f241e;
}

/* DONATE PAGE */
.donate-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(202, 165, 106, .08), transparent 18%),
        radial-gradient(circle at 90% 20%, rgba(139, 24, 15, .12), transparent 16%),
        linear-gradient(180deg, #1a1412 0%, #130f0e 100%);
    color: var(--dark-text);
    position: relative;
    overflow: hidden;
}

.donate-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.025), transparent 45%);
    pointer-events: none;
}

.section-title-light {
    color: #fff;
}

.section-subtitle-light {
    color: var(--dark-muted);
    margin-bottom: 0;
}

.donate-panel,
.impact-card,
.faq-card {
    border-radius: var(--radius-md);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.donate-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--dark-border);
    padding: 2rem;
}

.panel-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 50rem;
    padding: 0.5rem 0.85rem;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.method-group,
.recurring-group,
.amount-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.method-btn,
.amount-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    font-weight: 700;
    min-height: 56px;
    transition: all 0.3s ease-in-out;
}

.method-btn:hover,
.amount-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.method-btn.active,
.amount-btn.active {
    background: linear-gradient(135deg, var(--accent), #e0b56f);
    border-color: transparent;
    color: #342417;
    box-shadow: 0 10px 24px rgba(202, 165, 106, 0.18);
}

.method-btn {
    min-width: 140px;
}

.amount-btn {
    min-width: 130px;
}

.form-dark .form-control,
.form-dark .form-select {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.92rem 1rem;
    box-shadow: none !important;
}

.form-dark .form-label {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 700;
}

.form-note {
    color: var(--dark-muted);
    font-size: 0.92rem;
}

.donate-submit {
    background: linear-gradient(135deg, var(--accent), #e0b56f);
    border: none;
    color: #342417;
    border-radius: 50rem;
    padding: 1rem 1.4rem;
    font-weight: 800;
    min-height: 58px;
    box-shadow: 0 14px 30px rgba(202, 165, 106, 0.2);
}

.donate-submit:hover {
    background: linear-gradient(135deg, #d8b57b, #ebc06d);
    color: #342417;
}

.donate-secure {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.94rem;
    font-weight: 600;
}

.recurring-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1rem 1.1rem;
}

.form-switch .form-check-input {
    width: 3.1rem;
    height: 1.7rem;
    margin-top: 0;
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none !important;
}

.form-switch .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.form-switch .form-check-label {
    font-weight: 800;
    color: #fff;
    margin-left: 0.4rem;
}

.impact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    height: 100%;
}

.impact-icon {
    background: rgba(202, 165, 106, 0.14);
    color: var(--accent);
}

.impact-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.7rem;
}

.impact-card p {
    color: var(--dark-muted);
    margin-bottom: 0;
}

.faq-wrap {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    height: 100%;
}

.faq-card-title {
    font-size: 1.18rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
}

.accordion-dark .accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.accordion-dark .accordion-button {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    font-weight: 700;
    box-shadow: none !important;
}

.accordion-dark .accordion-button:not(.collapsed) {
    background: rgba(202, 165, 106, 0.12);
    color: #fff;
}

.accordion-dark .accordion-button::after {
    filter: invert(1) brightness(200%);
}

.accordion-dark .accordion-body {
    color: var(--dark-muted);
    background: rgba(255, 255, 255, 0.01);
    line-height: 1.75;
}

.logo-mark {
    width: 88px;
    height: 88px;
    object-fit: contain;
    border-radius: 50rem;
    background: #fff;
    padding: 0.35rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* FOOTER */
.footer-main {
    background:
        linear-gradient(180deg, rgba(139, 24, 15, 0.98), rgba(91, 13, 7, 0.98)),
        var(--primary);
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.05);
}

.footer-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    height: 100%;
    box-shadow: none;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    padding: 0.34rem 0;
    transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
    color: #fff;
}

.footer-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #fff;
    border-radius: 50rem;
    padding: 0.35rem;
    margin-bottom: 1rem;
}

.footer-main .form-control,
.footer-main .form-select,
.footer-main textarea,
.newsletter-box .form-control {
    background: rgba(255, 255, 255, 0.95);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 3rem;
    padding-top: 1.2rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease-in-out;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .nav-donate {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
    }

    .hero {
        padding-top: 4.5rem;
    }

    .hero-card {
        margin-top: 2rem;
    }

    .page-hero,
    .hero-article {
        padding-top: 4.2rem;
    }

    .featured-image {
        min-height: 280px;
    }

    .article-cover {
        min-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .topbar .text-end {
        text-align: start !important;
        margin-top: 0.4rem;
    }

    .hero-title,
    .page-title,
    .article-title {
        font-size: 2rem;
    }

    .section {
        padding: 4rem 0;
    }

    .tax-box,
    .about-card,
    .purpose-card,
    .contact-card,
    .info-card,
    .footer-card,
    .filter-card,
    .sidebar-card,
    .featured-body,
    .article-body,
    .content-card,
    .faq-card,
    .donate-panel,
    .help-card {
        padding: 1.35rem;
    }

    .hero-logo-wrap img {
        max-height: 260px;
    }

    .map-placeholder {
        min-height: 300px;
    }

    .news-thumb {
        height: 210px;
    }

    .article-cover {
        min-height: 240px;
    }

    .method-btn,
    .amount-btn {
        min-width: calc(50% - 0.4rem);
        flex: 1 1 calc(50% - 0.4rem);
    }
}