/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 1.25rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    max-width: 400px;
}

/* Tighter spacing on larger screens */
@media (min-width: 1024px) {
    .navbar-brand {
        gap: 0.15rem;
    }
}

/* WordPress custom logo */
.custom-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 0;
    padding: 0;
    line-height: 1;
}

.custom-logo-link img {
    height: 48px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
    margin: 0;
    padding: 0;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    white-space: nowrap;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.brand-name:hover {
    color: var(--primary-gold);
}

.navbar-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    margin: 0;
}

.navbar-logo h1 a {
    color: var(--primary-blue);
    text-decoration: none;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.navbar-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.navbar-links .menu-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-links .menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: var(--light-gray);
    color: var(--primary-blue);
    padding-left: 2rem;
}

.navbar-links a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-links a:hover {
    color: var(--primary-gold);
}

.navbar-cta {
    padding: 10px 24px;
    font-size: 0.95rem;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.toggle-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: var(--white);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-trust {
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-gray);
}

.hero-trust p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.hero-visual {
    position: relative;
}

.hero-image-real {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.15);
}

/* Mission Section */
.mission {
    background: var(--light-gray);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mission-card {
    padding: 3rem;
    border-radius: 12px;
}

.mission-card-blue {
    background: var(--primary-blue);
    color: var(--white);
}

.mission-card-blue h2 {
    color: var(--primary-gold);
}

.mission-card-white {
    background: var(--white);
    border: 3px solid var(--primary-gold);
    color: var(--dark-gray);
}

.mission-card-white h2 {
    color: var(--primary-blue);
}

.mission-card h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.mission-quote {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.mission-card p:last-child {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Impact Section */
.impact {
    background: var(--primary-blue);
    position: relative;
}

.impact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="white" opacity="0.05"/></svg>');
    pointer-events: none;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.impact-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-10px);
}

.impact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        135deg,
        var(--primary-gold) 0%,
        var(--dark-gold) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.1rem;
    color: var(--medium-gray);
    font-weight: 500;
}

/* Timeline Section */
.timeline-section {
    background: var(--light-gray);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(
        to bottom,
        var(--primary-gold),
        var(--primary-blue)
    );
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 45%;
}

.timeline-item.left {
    margin-right: auto;
    padding-right: 3rem;
}

.timeline-item.right {
    margin-left: auto;
    padding-left: 3rem;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    border-left: 4px solid var(--primary-gold);
}

.timeline-item.right .timeline-content {
    border-left: none;
    border-right: 4px solid var(--primary-blue);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.timeline-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--dark-gold));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Programs Section */
.programs-section {
    background: var(--white);
    padding: 80px 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.program-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.program-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.program-card:hover::before {
    background: var(--primary-gold);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.program-image {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.program-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    background: var(--light-gray);
}

.program-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.program-focus {
    font-size: 0.95rem;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.program-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.program-description p {
    margin: 0;
}

.program-accent-line {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    margin: 0 auto;
}

/* Stories Section */
.stories-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.story-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.story-image-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-gold);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
    position: relative;
    display: block;
}

.story-avatar {
    width: 180px !important;
    height: 180px !important;
    min-width: 180px !important;
    min-height: 180px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
    border-radius: 50%;
    position: relative;
    top: 0;
    left: 0;
}

.story-content {
    padding: 0;
}

.story-quote-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.quote-mark {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    opacity: 0.25;
    line-height: 1;
    font-family: Georgia, serif;
}

.story-quote {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin: 0;
    padding: 0.5rem 1rem;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.story-author-name {
    margin-bottom: 1.5rem;
}

.author-name {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.1rem;
    display: block;
}

.btn-read-story {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #d97706 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-read-story:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

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

.btn-read-story:hover .arrow {
    transform: translateX(5px);
}

.story-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.story-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-quote {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.story-author h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.story-author p {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--dark-gold);
    padding-left: 5px;
}

.stories-cta {
    text-align: center;
}

/* Get Involved Section */
.get-involved-section {
    background: var(--white);
    padding: 80px 0;
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.involvement-card {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.involvement-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.involvement-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.involvement-icon svg {
    width: 40px;
    height: 40px;
}

.involvement-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.involvement-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* Single Story Page */
.story-breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-gold);
    transform: translateX(-5px);
}

.breadcrumb-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.story-single-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
    padding: 120px 0 60px;
    margin-top: 80px;
    text-align: center;
}

.story-single-meta {
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.story-single-category {
    background: var(--primary-gold);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

.story-single-year {
    font-size: 1rem;
    opacity: 0.9;
}

.story-single-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.story-single-school {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

.story-single-featured-image {
    max-width: 700px;
    margin: -30px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.story-single-featured-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.story-single-content {
    padding: 80px 0;
}

.story-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Story Content Images - Gallery Support */
.story-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

/* Multiple images grid layout */
.story-content-wrapper figure.wp-block-gallery,
.story-content-wrapper .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.story-content-wrapper .gallery-item,
.story-content-wrapper .blocks-gallery-item {
    overflow: hidden;
    border-radius: 8px;
}

.story-content-wrapper .gallery-item img,
.story-content-wrapper .blocks-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin: 0;
    transition: transform 0.3s ease;
}

.story-content-wrapper .gallery-item img:hover,
.story-content-wrapper .blocks-gallery-item img:hover {
    transform: scale(1.05);
}

/* Image captions */
.story-content-wrapper figcaption,
.story-content-wrapper .wp-caption-text {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.5rem;
    padding: 0.5rem;
}

/* Images wrapped in links (lightbox ready) */
.story-content-wrapper a[href$=".jpg"] img,
.story-content-wrapper a[href$=".jpeg"] img,
.story-content-wrapper a[href$=".png"] img,
.story-content-wrapper a[href$=".webp"] img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.story-content-wrapper a[href$=".jpg"]:hover img,
.story-content-wrapper a[href$=".jpeg"]:hover img,
.story-content-wrapper a[href$=".png"]:hover img,
.story-content-wrapper a[href$=".webp"]:hover img {
    opacity: 0.9;
}

/* Collage Layouts */
.story-content-wrapper .collage-2,
.story-content-wrapper .collage-3,
.story-content-wrapper .collage-4 {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
    clear: both;
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0.5rem;
    border-radius: 12px;
}

/* Collage 2 - Side by side or stacked */
.story-content-wrapper .collage-2 {
    grid-template-columns: repeat(2, 1fr);
    min-height: 300px;
}

.story-content-wrapper .collage-2 > img,
.story-content-wrapper .collage-2 > figure,
.story-content-wrapper .collage-2 > .wp-block-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
}

.story-content-wrapper .collage-2 > figure img,
.story-content-wrapper .collage-2 > .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Collage 3 - Magazine layout */
.story-content-wrapper .collage-3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 200px);
    min-height: 400px;
}

.story-content-wrapper .collage-3 > img,
.story-content-wrapper .collage-3 > figure,
.story-content-wrapper .collage-3 > .wp-block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
}

.story-content-wrapper .collage-3 > img:first-child,
.story-content-wrapper .collage-3 > figure:first-child,
.story-content-wrapper .collage-3 > .wp-block-image:first-child {
    grid-row: span 2;
}

.story-content-wrapper .collage-3 > figure img,
.story-content-wrapper .collage-3 > .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Collage 4 - Banner top + 2 below */
.story-content-wrapper .collage-4 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 200px);
    min-height: 400px;
}

.story-content-wrapper .collage-4 > img,
.story-content-wrapper .collage-4 > figure,
.story-content-wrapper .collage-4 > .wp-block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
}

.story-content-wrapper .collage-4 > img:first-child,
.story-content-wrapper .collage-4 > figure:first-child,
.story-content-wrapper .collage-4 > .wp-block-image:first-child {
    grid-column: span 2;
}

.story-content-wrapper .collage-4 > figure img,
.story-content-wrapper .collage-4 > .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Clear fix for images inside collages */
.story-content-wrapper .collage-2::after,
.story-content-wrapper .collage-3::after,
.story-content-wrapper .collage-4::after {
    content: "";
    display: table;
    clear: both;
}

/* Image Carousel */
.story-carousel {
    position: relative;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    max-width: 700px;
}

.story-carousel-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

/* Carousel slide wrapper - all stacked, only active one visible */
.story-carousel-container .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 350px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
    z-index: 0;
}

.story-carousel-container .carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.story-carousel-container .carousel-slide img {
    max-width: 100% !important;
    max-height: 350px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

.story-carousel-container > img,
.story-carousel-container > figure,
.story-carousel-container > .wp-block-image,
.story-carousel-container > p {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    height: 450px;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-carousel-container > img {
    width: 100% !important;
    height: 450px !important;
    max-width: 100% !important;
    max-height: 450px !important;
    object-fit: contain;
    display: block;
}

.story-carousel-container > figure,
.story-carousel-container > .wp-block-image,
.story-carousel-container > p {
    margin: 0 !important;
    padding: 0 !important;
}

.story-carousel-container > figure img,
.story-carousel-container > .wp-block-image img,
.story-carousel-container > p img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 450px !important;
    object-fit: contain;
    display: block;
    margin: 0 auto !important;
    padding: 0 !important;
}

.story-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.story-carousel-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.story-carousel-btn.prev {
    left: 20px;
}

.story-carousel-btn.next {
    right: 20px;
}

.story-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.story-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.story-carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.story-carousel-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .story-content-wrapper .collage-2,
    .story-content-wrapper .collage-3,
    .story-content-wrapper .collage-4 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .story-content-wrapper .collage-2 img:first-child,
    .story-content-wrapper .collage-3 img:first-child,
    .story-content-wrapper .collage-4 img:first-child {
        grid-column: span 1;
        grid-row: span 1;
    }

    .story-carousel-container img {
        height: 300px;
    }

    .story-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.story-content-wrapper h2,
.story-content-wrapper h3,
.story-content-wrapper h4 {
    color: var(--primary-blue);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.story-content-wrapper h2 {
    font-size: 2rem;
}

.story-content-wrapper h3 {
    font-size: 1.5rem;
}

.story-content-wrapper p {
    margin-bottom: 1.75rem;
}

.story-content-wrapper blockquote {
    border-left: 4px solid var(--primary-gold);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--light-gray);
    border-radius: 8px;
    font-style: italic;
    font-size: 1.2rem;
}

.story-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.story-single-back {
    padding: 40px 0;
    background: var(--light-gray);
    text-align: center;
}

/* Share Buttons */
.story-share-section,
.post-share-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-top: 1px solid #e5e7eb;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.share-label {
    font-weight: 700;
    color: var(--dark-gray);
    font-size: 1rem;
    margin-right: 8px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    color: #fff;
}

/* Icon-only share buttons */
.share-btn.share-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

.share-btn.share-icon svg {
    width: 24px;
    height: 24px;
}

.share-btn svg {
    flex-shrink: 0;
}

.share-btn.facebook {
    background: #1877f2;
    border-color: #1877f2;
}

.share-btn.facebook:hover {
    background: #166fe5;
    border-color: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.share-btn.twitter {
    background: #000000;
    border-color: #000000;
}

.share-btn.twitter:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.share-btn.whatsapp {
    background: #25d366;
    border-color: #25d366;
}

.share-btn.whatsapp:hover {
    background: #20ba5a;
    border-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .share-label {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .share-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .story-single-hero {
        padding: 100px 0 40px;
    }

    .story-single-title {
        font-size: 2rem;
    }

    .story-single-content {
        padding: 60px 0;
    }
}

/* Program Detail Pages */
.program-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.program-hero-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.program-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.program-hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.program-content-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.program-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.program-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.program-block {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.program-block h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.program-block h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.program-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 1.25rem;
}

.highlight-block {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
}

.highlight-block h2,
.highlight-block h3 {
    color: var(--white);
}

.highlight-block p {
    color: var(--white);
    opacity: 0.95;
}

.program-contents-list {
    margin-top: 2rem;
}

.program-contents-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-contents-list li {
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 0.75rem;
    border-radius: 8px;
    font-size: 1.05rem;
    border-left: 4px solid var(--primary-gold);
}

/* Program Stats Grid */
.program-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.program-stat-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.program-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.program-stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.program-stat-item .stat-label {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.program-testimonial {
    border-left: 4px solid var(--primary-gold);
    padding: 2rem;
    margin: 2rem 0;
    background: var(--light-gray);
    border-radius: 8px;
    font-style: italic;
    position: relative;
}

.program-testimonial .quote-mark {
    font-size: 4rem;
    color: var(--primary-gold);
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.3;
}

.program-testimonial p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.program-testimonial cite {
    font-size: 1rem;
    color: var(--medium-gray);
    font-style: normal;
    font-weight: 600;
}

/* Dynamic Testimonial with Image */
.program-testimonial-dynamic {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin: 2rem 0;
}

.testimonial-image-wrapper {
    flex-shrink: 0;
}

.testimonial-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-gold);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.program-testimonial-dynamic .program-testimonial {
    flex: 1;
    margin: 0;
}

.impact-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.impact-stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.impact-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.impact-stat-label {
    font-size: 0.95rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.program-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.program-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.75rem;
}

.step-content p {
    margin: 0;
}

.program-cta-block {
    background: linear-gradient(
        135deg,
        var(--primary-gold) 0%,
        var(--dark-gold) 100%
    );
    color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.program-cta-block h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.program-cta-block p {
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 2rem;
}

.program-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Program Sidebar */
.program-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.program-sidebar-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.program-sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-gold);
}

.quick-facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-facts-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.quick-facts-list li:last-child {
    border-bottom: none;
}

.fact-label {
    font-weight: 600;
    color: var(--dark-gray);
}

.fact-value {
    color: var(--primary-blue);
    font-weight: 700;
}

.related-programs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-programs-list li {
    margin-bottom: 0.75rem;
}

.related-programs-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.3s ease;
}

.related-programs-list a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(5px);
}

.program-icon-small {
    font-size: 1.5rem;
}

.social-share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
    color: var(--white);
}

.share-btn.twitter {
    background: #1da1f2;
    color: var(--white);
}

.share-btn.whatsapp {
    background: #25d366;
    color: var(--white);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Program Read More Link */
.program-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

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

.program-read-more:hover {
    color: var(--dark-gold);
}

.program-read-more:hover .arrow {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .program-layout {
        grid-template-columns: 1fr;
    }

    .program-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .program-hero {
        padding: 100px 0 60px;
    }

    .program-hero-title {
        font-size: 2rem;
    }

    .program-block {
        padding: 2rem;
    }

    .impact-stats-grid {
        grid-template-columns: 1fr;
    }

    .program-cta-buttons {
        flex-direction: column;
    }
}

/* Events Section & Pages */
.events-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.events-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.events-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.events-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.events-content-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.events-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.event-card-featured {
    border: 3px solid var(--primary-gold);
}

.event-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--primary-blue),
        var(--secondary-blue)
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.8;
}

.event-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
}

.badge-fundraiser {
    background: #e74c3c;
}
.badge-workshop {
    background: #3498db;
}
.badge-community {
    background: #2ecc71;
}
.badge-distribution {
    background: #f39c12;
}
.badge-meeting {
    background: #9b59b6;
}
.badge-other {
    background: #95a5a6;
}

.event-date-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 60px;
}

.date-day {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--medium-gray);
    text-transform: uppercase;
}

.event-card-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    margin-top: 3rem;
}

.event-title a {
    color: var(--primary-blue);
    text-decoration: none;
}

.event-title a:hover {
    color: var(--primary-gold);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.meta-icon {
    font-size: 1rem;
}

.event-excerpt {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-read-more:hover {
    color: var(--dark-gold);
    gap: 1rem;
}

.event-read-more .arrow {
    transition: transform 0.3s ease;
}

.event-read-more:hover .arrow {
    transform: translateX(5px);
}

.events-cta {
    text-align: center;
}

/* Events List (Archive Page) */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-list-item {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.event-list-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.event-list-date {
    flex-shrink: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    min-width: 100px;
}

.event-list-date .date-day {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.event-list-date .date-month {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    opacity: 0.9;
}

.event-list-content {
    flex: 1;
}

.event-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.event-list-title {
    font-size: 1.5rem;
    margin: 0;
}

.event-list-title a {
    color: var(--primary-blue);
    text-decoration: none;
}

.event-list-title a:hover {
    color: var(--primary-gold);
}

.featured-events-section {
    margin-bottom: 4rem;
}

.section-label {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-gold);
}

.featured-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.no-events {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 12px;
}

.no-events-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.no-events h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.no-events p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.events-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-gold);
}

.sidebar-widget p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.event-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-categories li {
    margin-bottom: 0.75rem;
}

.category-link {
    display: block;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .events-layout {
        grid-template-columns: 1fr;
    }

    .events-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .event-list-item {
        flex-direction: column;
    }

    .event-list-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Gallery Page */
.gallery-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.gallery-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gallery-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.gallery-filter-section {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
}

.gallery-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: var(--white);
}

.gallery-content-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.gallery-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--primary-blue),
        var(--secondary-blue)
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-item-info p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.gallery-zoom-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-zoom-btn {
    opacity: 1;
}

.gallery-videos-section {
    margin-bottom: 4rem;
}

.gallery-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.video-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #333);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.play-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .video-play-overlay {
    opacity: 1;
}

.video-play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--primary-gold);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--dark-gold);
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.gallery-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gallery-cta h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.gallery-cta p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.gallery-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.contact-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.contact-content-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-form-intro {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.required {
    color: #e74c3c;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.btn-submit {
    width: 100%;
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-gold);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-details h4 {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.contact-info-details a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.contact-info-details a:hover {
    color: var(--primary-gold);
}

.info-note {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-top: 0.25rem;
}

.location-card .location-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.location-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.location-address p {
    margin-bottom: 0.5rem;
}

.office-hours h4 {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.office-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.office-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.office-hours li:last-child {
    border-bottom: none;
}

.location-map {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    height: 200px;
    background: var(--light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    background: #e0e0e0;
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.social-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link-item.facebook {
    background: #1877f2;
}
.social-link-item.twitter {
    background: #1da1f2;
}
.social-link-item.instagram {
    background: #e4405f;
}
.social-link-item.youtube {
    background: #ff0000;
}

.emergency-card {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: var(--white);
}

.emergency-card h3 {
    color: var(--white);
    border-bottom-color: var(--white);
}

.emergency-card p {
    color: var(--white);
    opacity: 0.95;
}

.emergency-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--white);
    color: #e74c3c;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.emergency-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.emergency-note {
    font-size: 0.95rem;
    text-align: center;
}

/* Success Stories Page */
.stories-page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 140px 0 100px;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stories-page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>')
        repeat;
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

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

.stories-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.stories-page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.stories-page-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Featured Story Section */
.featured-story-section {
    padding: 0 0 20px;
    margin: 0;
    background: linear-gradient(to bottom, var(--light-gray), var(--white));
}

.section-badge {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.featured-story-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.featured-story-image {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.featured-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-story-card:hover .featured-story-image img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e7ff, #f0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.featured-story-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-story-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.featured-story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.featured-story-meta .meta-item {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.featured-story-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* All Stories Section */
.all-stories-section {
    padding: 80px 0;
    background: var(--white);
}

.stories-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.stories-section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.stories-section-header p {
    font-size: 1.2rem;
    color: var(--dark-gray);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.story-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.story-card.featured {
    border: 2px solid var(--primary-gold);
}

.story-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.story-card:hover .story-card-image img {
    transform: scale(1.1);
}

.story-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gold);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.story-program-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.story-card-content {
    padding: 2rem;
}

.story-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.story-card-title a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.story-card-title a:hover {
    color: var(--primary-gold);
}

.story-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.story-card-meta .meta-item {
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.story-card-excerpt {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.story-read-more {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.story-read-more:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
}

/* No Stories Message */
.no-stories-message {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-gray);
    border-radius: 16px;
}

.no-stories-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.no-stories-message h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.no-stories-message p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

/* Stats Banner */
.stories-stats-banner {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
    padding: 60px 0;
}

.stats-banner-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stats-banner-item {
    padding: 2rem 1rem;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
}

.stats-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Stories CTA Section */
.stories-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.stories-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stories-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.stories-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .stories-page-title {
        font-size: 2.5rem;
    }

    .featured-story-card {
        grid-template-columns: 1fr;
    }

    .featured-story-image {
        min-height: 300px;
    }

    .featured-story-content {
        padding: 2rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

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

    .stories-cta-buttons {
        flex-direction: column;
    }
}

/* Programs Page */
.programs-page-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.programs-page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.programs-page-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.programs-page-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.programs-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.program-page-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-gold);
}

.program-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.program-page-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.program-page-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.program-page-title a {
    color: var(--primary-blue);
    text-decoration: none;
}

.program-page-title a:hover {
    color: var(--primary-gold);
}

.program-page-description {
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.program-page-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.program-page-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--dark-gray);
}

.program-page-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: 700;
}

.programs-page-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.programs-page-cta h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.programs-page-cta p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.programs-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .programs-cta-buttons {
        flex-direction: column;
    }
}

/* Contact Form Messages */
.form-success-message {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.form-success-message p {
    color: #155724;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-error-message {
    background: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.error-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.form-error-message p {
    color: #721c24;
    font-weight: 600;
    margin: 0;
}

.contact-faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-section-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 4px solid var(--primary-gold);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--dark-gray);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-info-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .gallery-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-cta-buttons {
        flex-direction: column;
    }
}

/* Dedicated Blog Page */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.blog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.blog-content-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.post-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.post-card-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.post-title a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #3b82f6;
}

.post-excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-excerpt p {
    margin-bottom: 0;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.read-more-link:hover {
    color: #1e3a8a;
    gap: 12px;
}

.read-more-link .arrow {
    transition: transform 0.3s ease;
}

.read-more-link:hover .arrow {
    transform: translateX(4px);
}

.post-title a:hover {
    color: var(--primary-gold);
}

.post-excerpt {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: var(--dark-gold);
    gap: 1rem;
}

.blog-pagination {
    margin-top: 3rem;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 12px;
}

.no-posts-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.no-posts h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.no-posts p {
    color: var(--medium-gray);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-categories li {
    margin-bottom: 0.5rem;
}

.blog-categories a {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.blog-categories a:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(5px);
}

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-item a {
    display: flex;
    gap: 1rem;
    text-decoration: none;
}

.recent-post-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.recent-post-info h4 {
    font-size: 0.95rem;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.recent-post-item a:hover h4 {
    color: var(--primary-gold);
}

.recent-post-date {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-blue), #2d4a9e);
    color: var(--white);
}

.newsletter-widget h3 {
    color: var(--white);
    border-bottom-color: var(--white);
}

.newsletter-widget p {
    color: var(--white);
    opacity: 0.95;
}

.newsletter-widget input {
    border: 2px solid var(--white);
}

.newsletter-widget .btn-primary {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
}

.newsletter-widget .btn-primary:hover {
    background: var(--dark-gold);
}

/* Events Page */
.events-page-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.events-page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.events-page-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.events-page-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.events-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.event-page-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.event-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.event-page-card.featured {
    border: 3px solid var(--primary-gold);
}

.event-page-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-page-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        var(--primary-blue),
        var(--secondary-blue)
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-page-content {
    padding: 1.5rem;
}

.event-page-date {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
}

.event-page-date .date-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.event-page-date .date-month {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    opacity: 0.9;
}

.event-page-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.event-page-title a {
    color: var(--primary-blue);
    text-decoration: none;
}

.event-page-title a:hover {
    color: var(--primary-gold);
}

.event-page-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.event-page-excerpt {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-gold);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.no-events-page {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 12px;
}

.no-events-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.no-events-page h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.no-events-page p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* Archive/Blog Page */
.archive-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
    padding: 100px 0 80px;
    margin-top: 80px;
    text-align: center;
}

.archive-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.archive-subtitle {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.archive-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.archive-description {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.95;
}

.archive-content-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.archive-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

/* Stories Archive Grid */
.stories-archive-grid {
    display: grid;
    gap: 2rem;
}

.story-archive-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.story-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.story-archive-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.story-archive-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.story-archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-archive-card:hover .story-archive-image img {
    transform: scale(1.05);
}

.story-archive-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gold);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

.story-archive-content {
    padding: 2.5rem;
}

.story-archive-year {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.story-archive-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.story-archive-excerpt {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.story-archive-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.meta-icon {
    font-size: 1.1rem;
}

.story-archive-read-more {
    display: inline-block;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.story-archive-read-more:hover .arrow {
    transform: translateX(5px);
}

/* Pagination */
.archive-pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 1rem;
    border-radius: 8px;
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.archive-pagination .page-numbers:hover,
.archive-pagination .page-numbers.current {
    background: var(--primary-gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* No Results */
.no-results {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
}

.no-results-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.no-results h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.no-results p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* Sidebar */
.archive-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-gold);
}

.sidebar-widget p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

/* Success Stories Widget */
.stories-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.stories-widget h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.stories-widget p {
    color: rgba(255, 255, 255, 0.95);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.about-widget p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Category List */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 0.75rem;
}

.category-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--light-gray);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-item a:hover,
.category-item.active a {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateX(5px);
}

.category-item.active a {
    background: var(--primary-gold);
}

.category-item .count {
    font-size: 1.25rem;
    font-weight: 700;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
}

.cta-widget h3 {
    color: var(--white);
    border-bottom-color: var(--primary-gold);
}

.cta-widget p {
    color: var(--white);
    opacity: 0.95;
    margin-bottom: 1.5rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Responsive Archive */
@media (max-width: 1024px) {
    .archive-layout {
        grid-template-columns: 1fr;
    }

    .archive-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .archive-hero {
        padding: 80px 0 60px;
    }

    .archive-title {
        font-size: 2rem;
    }

    .archive-description {
        font-size: 1.1rem;
    }

    .story-archive-title {
        font-size: 1.5rem;
    }

    .archive-content-section {
        padding: 60px 0;
    }
}

/* Editable Home Page */
.editable-home-content {
    padding: 40px 0;
}

.editable-home-content .wp-block-columns {
    margin-bottom: 2rem;
}

.editable-home-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--primary-gold);
}

.footer-section p {
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 700;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
    opacity: 1;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
}

.newsletter-form .btn {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: left 0.3s ease;
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .navbar-links a {
        font-size: 1.25rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .hero-image-real {
        height: 350px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px !important;
        padding-right: 0 !important;
    }

    .timeline-item.right .timeline-content {
        border-right: none;
        border-left: 4px solid var(--primary-blue);
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Volunteer Modal Popup */
.farina-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow-y: auto;
}

.farina-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.farina-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.farina-modal-close {
    color: #666;
    float: right;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: color 0.3s;
}

.farina-modal-close:hover,
.farina-modal-close:focus {
    color: #000;
}

.volunteer-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.volunteer-form .form-group {
    margin-bottom: 1.5rem;
}

.volunteer-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.volunteer-form input,
.volunteer-form textarea,
.volunteer-form select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.volunteer-form input:focus,
.volunteer-form textarea:focus,
.volunteer-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.volunteer-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .volunteer-form .form-row {
        grid-template-columns: 1fr;
    }

    .farina-modal-content {
        padding: 1.5rem;
        margin: 10% auto;
    }
}

/* Single Blog Post Styles */
.site-main {
    width: 100%;
}

.blog-post-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 3rem 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.blog-post-full {
    background: var(--white) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    max-width: 100% !important;
}

.post-header {
    position: relative;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-header-content {
    padding: 2.5rem;
}

.post-meta-top {
    margin-bottom: 1rem;
}

.post-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-content {
    padding: 2.5rem !important;
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    color: var(--text-dark) !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.post-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--dark);
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--dark);
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

.post-footer {
    padding: 2.5rem;
    border-top: 1px solid var(--gray-200);
}

.post-tags {
    margin-bottom: 2rem;
}

.post-tags strong {
    display: inline-block;
    margin-right: 0.5rem;
    color: var(--dark);
}

.post-tags .tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--text-dark);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.post-share {
    margin-top: 2rem;
}

.post-share h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Related Posts */
.related-posts {
    padding: 2.5rem;
    background: var(--gray-50);
    margin-top: 2rem;
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-post-card:hover {
    transform: translateY(-5px);
}

.related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.related-post-content {
    padding: 1rem;
}

.related-post-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    line-height: 1.4;
}

.related-post-content .post-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-post-container {
        padding: 1.5rem 1rem;
    }

    .post-header-content {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 1.8rem;
    }

    .post-content {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .post-footer {
        padding: 1.5rem;
    }

    .post-meta {
        gap: 1rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BLOG PAGE ENHANCEMENTS
   ============================================ */

/* Blog Hero Section */
.blog-hero {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    padding: 100px 0 80px;
    overflow: hidden;
    margin-bottom: 60px;
}

.blog-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.hero-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-circle-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-circle-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.05;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Blog Search Section (Below Hero) */
.blog-search-section {
    background: #fff;
    padding: 40px 0;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.blog-search {
    max-width: 700px;
    margin: 0 auto 32px;
}

.blog-search-form {
    position: relative;
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.blog-search-form input[type="search"] {
    flex: 1;
    padding: 18px 30px;
    border: none;
    font-size: 1rem;
    color: #1f2937;
    background: transparent;
}

.blog-search-form input[type="search"]:focus {
    outline: none;
}

.blog-search-form input[type="search"]::placeholder {
    color: #9ca3af;
}

.blog-search-form button {
    padding: 18px 30px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-search-form button:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: scale(1.05);
}

/* Category Filter Chips */
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-chip:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-chip.active {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

.tag-chip {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.85rem;
}

.tag-chip:hover {
    background: #e5e7eb;
    color: #374151;
}

.filter-chip.active .chip-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Blog Stats */
.blog-stats {
    display: none; /* Hidden as per user request */
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    margin-bottom: 80px;
}

.blog-main {
    min-width: 0;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

/* Enhanced Post Card */
.post-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.post-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.post-card:hover::before {
    transform: scaleX(1);
}

.post-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.post-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

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

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

.post-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    z-index: 2;
}

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

.post-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: #6b7280;
}

.post-meta .meta-icon {
    margin-right: 6px;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.post-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-title a:hover {
    color: #3b82f6;
}

.post-excerpt {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-excerpt p {
    margin-bottom: 0;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #3b82f6;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 10px 0;
}

.read-more-link:hover {
    color: #1e3a8a;
    gap: 14px;
}

.read-more-link .arrow {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.read-more-link:hover .arrow {
    transform: translateX(6px);
}

/* Pagination */
.blog-pagination {
    margin-top: 60px;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.blog-pagination a,
.blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-pagination a {
    background: #fff;
    color: #3b82f6;
    border: 2px solid #e5e7eb;
}

.blog-pagination a:hover {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.blog-pagination .current {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: #fff;
    border: 2px solid #3b82f6;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-posts-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 24px;
}

.no-posts h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.no-posts p {
    font-size: 1.1rem;
    color: #6b7280;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 80px 0 60px;
    }

    .blog-hero-title {
        font-size: 2.5rem;
    }

    .blog-hero-subtitle {
        font-size: 1.1rem;
    }

    .blog-stats {
        gap: 24px;
        padding: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .blog-search-form input[type="search"],
    .blog-search-form button {
        padding: 16px 24px;
    }
}

/* ============================================
   RELATED STORIES SECTION
   ============================================ */

.related-stories-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    margin-top: 60px;
}

.related-stories-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin-bottom: 36px;
    position: relative;
}

.related-stories-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    margin: 16px auto 0;
    border-radius: 2px;
}

.related-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.related-story-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.related-story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #f59e0b;
}

.related-story-card .post-card-image {
    height: 180px;
    overflow: hidden;
}

.related-story-card .post-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

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

.related-story-card .post-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.related-story-card .post-card-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-related-stories {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    padding: 40px 20px;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .related-stories-section {
        padding: 40px 0;
    }

    .related-stories-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }

    .related-stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .related-story-card .post-card-image {
        height: 160px;
    }

    .related-story-card .post-card-image img {
        height: 160px;
    }
}

/* ============================================
   SUCCESS STORIES PAGE (Matches Blog Style)
   ============================================ */

/* Remove any sidebar on success stories page */
.page-template-page-stories .sidebar,
.page-template-page-stories aside,
.page-template-page-stories .widget-area,
.page-template-page-stories .archive-sidebar,
.page-template-page-stories .sidebar-widget,
body.page-template-page-stories .archive-sidebar,
body.page-id-0 .sidebar {
    display: none !important;
}

.page-template-page-stories .site-main,
.page-template-page-stories .content-area,
.page-template-page-stories .archive-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Stories Hero Section */
.stories-hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: var(--white);
    padding: 120px 0 80px;
    margin-top: 80px;
    text-align: center;
    overflow: hidden;
    margin-bottom: 0;
}

.stories-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.stories-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.stories-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stories-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Archive story hero - Orange gradient */
.archive-story-hero {
    background: linear-gradient(
        135deg,
        #f59e0b 0%,
        #d97706 50%,
        #b45309 100%
    ) !important;
}

/* Stories Search Section */
.stories-search-section,
.blog-search-section {
    background: #fff;
    padding: 12px 0;
    margin-bottom: 0;
    margin-top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

/* Unified Filter Strip */
.unified-filter-strip {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.filter-strip-search {
    flex: 1;
    min-width: 0;
}

.filter-search-form {
    position: relative;
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
    max-width: 100%;
}

.filter-search-form input[type="search"] {
    flex: 1;
    padding: 14px 24px;
    border: none;
    font-size: 0.95rem;
    color: #1f2937;
    background: transparent;
}

.filter-search-form input[type="search"]:focus {
    outline: none;
}

.filter-search-form input[type="search"]::placeholder {
    color: #9ca3af;
}

.filter-search-form button {
    padding: 14px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-search-form button:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.filter-strip-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

/* Filter Dropdowns */
.filter-dropdown-group {
    position: relative;
}

.filter-dropdown {
    padding: 12px 40px 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 180px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.filter-dropdown:hover {
    border-color: #f59e0b;
}

.filter-dropdown:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Responsive filter strip */
@media (max-width: 768px) {
    .unified-filter-strip {
        flex-direction: column;
    }

    .filter-strip-search {
        width: 100%;
    }

    .filter-strip-filters {
        width: 100%;
        justify-content: stretch;
    }

    .filter-dropdown-group {
        flex: 1;
    }

    .filter-dropdown {
        width: 100%;
        min-width: auto;
    }
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.sort-chips {
    margin-left: auto;
}

/* Stories Filter Chips */
.stories-filter-strip {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.filter-label svg {
    color: #f59e0b;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Stories Content Section */
.stories-content-section {
    margin-top: 60px;
    margin-bottom: 80px;
}

/* Featured Story Section */
.featured-story-section {
    padding: 60px 0;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-story-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.featured-story-image {
    position: relative;
    min-height: 350px;
    max-height: 350px;
    overflow: hidden;
}

.featured-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-story-card:hover .featured-story-image img {
    transform: scale(1.05);
}

.featured-story-content {
    padding: 32px 32px 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-story-category {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    width: fit-content;
}

.featured-story-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.2;
}

.featured-story-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-story-title a:hover {
    color: #f59e0b;
}

.featured-story-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    color: #6b7280;
    font-size: 0.9rem;
}

.featured-story-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-story-meta svg {
    color: #f59e0b;
}

.featured-story-excerpt {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1rem;
}

.featured-story-excerpt p {
    margin-bottom: 0;
}

.featured-story-section .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.featured-story-section .btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

/* Stories Grid - Reuses blog post-card styles */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

/* Stories Pagination */
.stories-pagination {
    margin-top: 60px;
    text-align: center;
}

.stories-pagination .page-numbers {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.stories-pagination a,
.stories-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.stories-pagination a {
    background: #fff;
    color: #f59e0b;
    border: 2px solid #e5e7eb;
}

.stories-pagination a:hover {
    background: #f59e0b;
    color: #fff;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.stories-pagination .current {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    border: 2px solid #f59e0b;
}

/* No Stories Message */
.no-stories {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-stories-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 24px;
}

.no-stories h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.no-stories p {
    font-size: 1.1rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .stories-hero {
        padding: 80px 0 60px;
    }

    .stories-hero-title {
        font-size: 2.5rem;
    }

    .stories-hero-subtitle {
        font-size: 1.1rem;
    }

    .featured-story-card {
        grid-template-columns: 1fr;
    }

    .featured-story-image {
        min-height: 300px;
    }

    .featured-story-content {
        padding: 32px;
    }

    .featured-story-title {
        font-size: 1.75rem;
    }

    .featured-story-meta {
        flex-direction: column;
        gap: 12px;
    }

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

    .stories-search-form input[type="search"],
    .stories-search-form button {
        padding: 16px 24px;
    }
}

/* ============================================
   FEE APPEALS SECTION
   ============================================ */

.fee-appeals-section {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    border: 2px solid #f59e0b;
}

.appeals-header {
    text-align: center;
    margin-bottom: 40px;
}

.appeals-badge {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.appeals-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
}

.appeals-header p {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto;
}

.appeals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.appeal-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.appeal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.appeal-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.appeal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appeal-urgency-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.appeal-urgency-badge.critical {
    background: #dc2626;
    color: white;
}

.appeal-urgency-badge.urgent {
    background: #f59e0b;
    color: white;
}

.appeal-card-content {
    padding: 24px;
}

.appeal-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.appeal-card-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.appeal-card-title a:hover {
    color: #f59e0b;
}

.appeal-card-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.appeal-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.appeal-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #4b5563;
}

.meta-icon {
    font-size: 1rem;
}

.appeal-progress-section {
    margin-bottom: 20px;
}

.appeal-progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.appeal-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.appeal-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.appeal-raised {
    color: #059669;
    font-weight: 600;
}

.appeal-goal {
    color: #6b7280;
}

.appeal-card-actions {
    display: flex;
    gap: 12px;
}

.appeals-footer {
    text-align: center;
}

.no-active-appeals {
    text-align: center;
    padding: 40px 20px;
}

.no-active-appeals p {
    color: #6b7280;
    margin-bottom: 20px;
}

/* ============================================
   APPEAL DETAIL PAGE
   ============================================ */

.appeal-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d4a9e 100%);
    color: white;
    padding: 120px 0 60px;
    margin-top: 80px;
    text-align: center;
}

.appeal-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.appeal-hero-badge.critical {
    background: #dc2626;
}

.appeal-hero-badge.urgent {
    background: #f59e0b;
}

.appeal-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.appeal-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.appeal-hero-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.appeal-progress-section {
    padding: 40px 0;
    background: #f9fafb;
}

.appeal-progress-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.progress-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.progress-card-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.progress-percentage {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f59e0b;
}

.progress-bar-large {
    height: 16px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-fill-large {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    border-radius: 8px;
    transition: width 0.5s ease;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-value.raised {
    color: #059669;
}

.stat-value.goal {
    color: var(--primary-blue);
}

.stat-value.remaining {
    color: #dc2626;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.appeal-content-section {
    padding: 60px 0;
}

.appeal-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.appeal-main {
    max-width: 800px;
}

.student-profiles-section,
.donation-tiers-section,
.appeal-faq-section {
    margin-top: 60px;
}

.student-profiles-section h2,
.donation-tiers-section h2,
.appeal-faq-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 30px;
}

.student-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.student-profile-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.student-image {
    height: 200px;
    overflow: hidden;
}

.student-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-info {
    padding: 20px;
}

.student-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.student-info p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

.donation-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.donation-tier-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #f59e0b;
}

.tier-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 12px;
}

.tier-impact {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 16px;
    line-height: 1.5;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.6;
}

.appeal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.donate-widget {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
}

.donate-widget h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.donate-widget > p {
    color: #6b7280;
    margin-bottom: 20px;
}

.donate-amounts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.amount-btn {
    padding: 12px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amount-btn:hover,
.amount-btn.active {
    border-color: #f59e0b;
    background: #fef3c7;
}

.custom-amount {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.875rem;
    color: #6b7280;
}

.share-widget {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.share-widget h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.share-widget > p {
    color: #6b7280;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* Appeal School Info Badges */
.appeal-school-info {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.school-badge,
.grade-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
}

/* Fee Breakdown & Payment Info */
.info-block {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-gold);
}

.info-block h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
}

.fee-breakdown-content p,
.payment-info-content p {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
}

.fee-breakdown-content p:last-child,
.payment-info-content p:last-child {
    border-bottom: none;
    font-weight: 700;
    color: var(--navy);
}

.payment-info-block {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-left-color: #10b981;
}

.payment-note {
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Homepage Featured Appeals */
.featured-appeals-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.featured-appeals-header {
    text-align: center;
    margin-bottom: 50px;
}

.featured-appeals-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
}

.featured-appeals-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.featured-appeals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .appeal-school-info {
        flex-direction: column;
        gap: 10px;
    }

    .featured-appeals-grid {
        grid-template-columns: 1fr;
    }
}

/* Appeal Archive Page */
.appeal-archive-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a4480 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.appeal-archive-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.appeal-archive-hero-content p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.appeal-archive-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.appeals-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
}

.appeal-archive-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.appeal-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.appeal-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.appeal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.appeal-archive-card:hover .appeal-card-image img {
    transform: scale(1.05);
}

.appeal-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.appeal-card-badge.critical {
    background: #dc2626;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.appeal-card-badge.urgent {
    background: #f59e0b;
    color: white;
}

.appeal-card-content {
    padding: 25px;
}

.appeal-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.appeal-card-title a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.appeal-card-title a:hover {
    color: var(--primary-gold);
}

.appeal-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.appeal-card-progress {
    margin-bottom: 20px;
}

.appeal-card-progress .progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.appeal-card-progress .raised {
    font-weight: 700;
    color: var(--primary-gold);
}

.appeal-card-progress .goal {
    color: #666;
}

.appeal-card-progress .progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
}

.appeal-card-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    transition: width 0.5s ease;
}

.appeal-card-progress .progress-percent {
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-gold);
}

.appeal-card-deadline {
    background: #fef3c7;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #92400e;
}

.appeal-card-actions {
    display: flex;
    gap: 12px;
}

.btn-view-appeal,
.btn-donate-appeal {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-view-appeal {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-view-appeal:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-donate-appeal {
    background: var(--primary-gold);
    color: white;
    border: 2px solid var(--primary-gold);
}

.btn-donate-appeal:hover {
    background: #d97706;
    border-color: #d97706;
}

.no-appeals-message {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
}

.no-appeals-message h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
}

.no-appeals-message p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .appeal-archive-hero-content h1 {
        font-size: 36px;
    }

    .appeals-archive-grid {
        grid-template-columns: 1fr;
    }

    .appeal-card-actions {
        flex-direction: column;
    }
}

/* Force appeal content visibility */
#primary.site-main {
    min-height: 400px;
}

.appeal-hero {
    display: block !important;
    visibility: visible !important;
}

.appeal-content-section {
    display: block !important;
    visibility: visible !important;
}

/* Featured Appeals Homepage Cards */
.featured-appeals-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.featured-appeals-header {
    text-align: center;
    margin-bottom: 50px;
}

.featured-appeals-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 15px;
}

.featured-appeals-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.featured-appeals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.appeal-card.featured {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.appeal-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.appeal-card.featured .appeal-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.appeal-card.featured .appeal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.appeal-card.featured:hover .appeal-image img {
    transform: scale(1.05);
}

.appeal-urgency-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.appeal-urgency-badge.critical {
    background: #dc2626;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.appeal-urgency-badge.urgent {
    background: #f59e0b;
    color: white;
}

.appeal-card.featured .appeal-content {
    padding: 25px;
}

.appeal-card.featured .appeal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.appeal-card.featured .appeal-school {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.appeal-card.featured .appeal-students-count {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.appeal-card.featured .appeal-progress-section {
    margin-bottom: 15px;
}

.appeal-card.featured .progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.appeal-card.featured .raised-amount {
    font-weight: 700;
    color: var(--primary-gold);
}

.appeal-card.featured .goal-amount {
    color: #666;
}

.appeal-card.featured .appeal-progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 8px;
}

.appeal-card.featured .appeal-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    transition: width 0.5s ease;
}

.appeal-card.featured .progress-percentage {
    text-align: right;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-gold);
}

.appeal-card.featured .appeal-deadline {
    background: #fef3c7;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #92400e;
}

.appeal-card.featured .appeal-actions {
    display: flex;
    gap: 12px;
}

.appeal-details-link,
.appeal-donate-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.appeal-details-link {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.appeal-details-link:hover {
    background: var(--primary-blue);
    color: white;
}

.appeal-donate-btn {
    background: var(--primary-gold);
    color: white;
    border: 2px solid var(--primary-gold);
}

.appeal-donate-btn:hover {
    background: #d97706;
    border-color: #d97706;
}

.view-all-appeals {
    text-align: center;
    margin-top: 40px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .featured-appeals-header h2 {
        font-size: 32px;
    }

    .featured-appeals-grid {
        grid-template-columns: 1fr;
    }

    .appeal-card.featured .appeal-actions {
        flex-direction: column;
    }
}

/* Appeal Hero with Featured Image Background */
.appeal-hero {
    position: relative;
    overflow: hidden;
}

.appeal-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.appeal-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.appeal-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 64, 128, 0.85) 0%,
        rgba(26, 68, 128, 0.9) 100%
    );
    z-index: 2;
}

.appeal-hero-content {
    position: relative;
    z-index: 3;
}

/* Fallback if no featured image */
.appeal-hero:not(:has(.appeal-hero-background)) {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a4480 100%);
}

/* Dignity Pack Default Content */
.program-default-content {
    margin-bottom: 40px;
}

.program-default-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    margin-top: 40px;
}

.program-default-content h2:first-child {
    margin-top: 0;
}

.program-default-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.program-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.program-impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.impact-stat {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a4480 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .program-features-grid {
        grid-template-columns: 1fr;
    }

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

/* ==============================================
   OUR STORY PAGE STYLES
   ============================================== */

/* ----------------------------------------------
   HERO SECTION
   ---------------------------------------------- */
.our-story-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.our-story-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.our-story-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.our-story-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.88) 0%, rgba(30, 58, 138, 0.7) 50%, rgba(245, 158, 11, 0.4) 100%);
    z-index: 1;
}

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

.our-story-hero-content {
    max-width: 750px;
    padding: 60px 0;
}

.our-story-hero-badge {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.our-story-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.our-story-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.our-story-hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

/* ----------------------------------------------
   SHARED STORY SECTION ELEMENTS
   ---------------------------------------------- */
.story-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    margin-bottom: 16px;
}

.story-section-label.light {
    color: rgba(255, 255, 255, 0.85);
}

.label-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.story-section-label.light .label-dot {
    background: rgba(255, 255, 255, 0.85);
}

.story-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.2;
    margin-bottom: 24px;
}

.story-section-title.light {
    color: var(--white);
}

.story-section-desc {
    font-size: 1.125rem;
    color: var(--medium-gray);
    line-height: 1.7;
    max-width: 700px;
}

.story-section-desc.light {
    color: rgba(255, 255, 255, 0.85);
}

.story-body-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.story-body-text p:last-child {
    margin-bottom: 0;
}

.story-lead {
    font-size: 1.25rem !important;
    font-weight: 500;
    color: var(--primary-blue) !important;
}

.story-photo-caption {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-style: italic;
    margin-top: 12px;
}

/* ----------------------------------------------
   INTRO SECTION
   ---------------------------------------------- */
.story-intro-section {
    padding: 100px 0;
    background: var(--white);
}

.story-intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-photo-card {
    position: relative;
}

.story-photo-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ----------------------------------------------
   PROBLEM SECTION
   ---------------------------------------------- */
.story-problem-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a2d6e 100%);
}

.story-problem-header {
    text-align: center;
    margin-bottom: 60px;
}

.problem-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.problem-stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.problem-stat-card:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}

.problem-stat-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.problem-stat-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.problem-stat-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.problem-detail-block {
    background: rgba(255, 255, 255, 0.06);
    border-left: 4px solid var(--primary-gold);
    border-radius: 0 12px 12px 0;
    padding: 36px 40px;
}

.problem-detail-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.problem-detail-text strong {
    color: var(--primary-gold);
}

/* ----------------------------------------------
   PHOTO BREAK — FULL WIDTH
   ---------------------------------------------- */
.story-photo-break {
    position: relative;
}

.story-photo-break-inner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.story-photo-break-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.story-photo-break-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

.story-photo-break-quote {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

/* ----------------------------------------------
   ENCOUNTER SECTION
   ---------------------------------------------- */
.story-encounter-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.story-encounter-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-encounter-media {
    order: 1;
}

.story-encounter-content {
    order: 2;
}

.encounter-image-grid {
    position: relative;
}

.encounter-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.story-highlight-quote {
    position: relative;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    border-left: 4px solid var(--primary-gold);
    border-radius: 0 12px 12px 0;
    padding: 32px 36px;
    margin-top: 24px;
}

.story-highlight-quote .quote-mark {
    font-size: 3rem;
    color: var(--primary-gold);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
    font-family: Georgia, serif;
}

.story-highlight-quote p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--dark-gray);
    font-style: italic;
}

/* ----------------------------------------------
   GAP SECTION
   ---------------------------------------------- */
.story-gap-section {
    padding: 100px 0;
    background: var(--white);
}

.story-gap-header {
    text-align: center;
    margin-bottom: 48px;
}

.story-gap-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ----------------------------------------------
   TUNU / BIRTH OF MOVEMENT SECTION
   ---------------------------------------------- */
.story-tunu-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.story-tunu-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.tunu-impact-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.tunu-impact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.tunu-impact-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.tunu-impact-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.tunu-impact-card p {
    font-size: 0.9375rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ----------------------------------------------
   CAPACITY BUILDING SECTION
   ---------------------------------------------- */
.story-capacity-section {
    padding: 100px 0;
    background: var(--white);
}

.story-capacity-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.capacity-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.capacity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.12);
    border-color: var(--secondary-blue);
}

.capacity-card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.capacity-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.capacity-card p {
    font-size: 0.9375rem;
    color: var(--medium-gray);
    line-height: 1.6;
}

/* ----------------------------------------------
   DREAM / REVOLVING FUND SECTION
   ---------------------------------------------- */
.story-dream-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a2d6e 100%);
}

.story-dream-header {
    text-align: center;
    margin-bottom: 60px;
}

.dream-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.dream-timeline::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-gold), rgba(245, 158, 11, 0.2));
    border-radius: 2px;
}

.dream-timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.dream-timeline-item:last-child {
    margin-bottom: 0;
}

.dream-step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
    z-index: 1;
}

.dream-step-content {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 32px;
    flex: 1;
    transition: all 0.3s ease;
}

.dream-step-content:hover {
    background: rgba(255, 255, 255, 0.14);
}

.dream-step-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.dream-step-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

/* ----------------------------------------------
   VISION SECTION
   ---------------------------------------------- */
.story-vision-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.story-vision-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ----------------------------------------------
   CTA SECTION
   ---------------------------------------------- */
.story-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    text-align: center;
}

.story-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.story-cta-content p {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.125rem;
}

/* ----------------------------------------------
   RESPONSIVE — OUR STORY PAGE
   ---------------------------------------------- */
@media (max-width: 1024px) {
    .our-story-hero-title {
        font-size: 2.75rem;
    }

    .story-intro-layout,
    .story-encounter-layout,
    .story-tunu-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .story-encounter-media {
        order: 2;
    }

    .story-encounter-content {
        order: 1;
    }

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

    .capacity-grid {
        grid-template-columns: 1fr;
    }

    .story-photo-card img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .our-story-hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .our-story-hero-title {
        font-size: 2rem;
    }

    .our-story-hero-subtitle {
        font-size: 1.0625rem;
    }

    .story-section-title {
        font-size: 1.875rem;
    }

    .story-problem-section,
    .story-intro-section,
    .story-encounter-section,
    .story-gap-section,
    .story-tunu-section,
    .story-capacity-section,
    .story-dream-section,
    .story-vision-section,
    .story-cta-section {
        padding: 64px 0;
    }

    .problem-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .problem-detail-block {
        padding: 24px;
    }

    .story-photo-break-inner {
        height: 300px;
    }

    .story-photo-break-overlay {
        padding: 30px 20px;
    }

    .story-photo-break-quote {
        font-size: 1.25rem;
    }

    .encounter-img-main img {
        height: 300px;
    }

    .dream-timeline::before {
        left: 24px;
    }

    .dream-step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .dream-timeline-item {
        gap: 20px;
    }

    .dream-step-content {
        padding: 24px;
    }

    .story-cta-content h2 {
        font-size: 1.875rem;
    }

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

    .story-cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .story-photo-card img {
        height: 320px;
    }
}
