/* ================================================
   Newborn Sepsis Society - Component Styles
   ================================================ */

/* ================================================
   Top Bar
   ================================================ */

.top-bar {
    background-color: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8125rem;
    padding: 0.5rem 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar-left a {
    color: rgba(255, 255, 255, 0.8);
}

.top-bar-left a:hover {
    color: var(--white);
}

.top-bar-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.top-bar-right a:hover {
    color: var(--white);
}

.top-bar-join {
    background: var(--blue-primary);
    color: var(--white) !important;
    padding: 0.25rem 0.875rem;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.top-bar-join:hover {
    background: var(--blue-hover);
}

/* ================================================
   Header / Navigation
   ================================================ */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-lg);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.6875rem;
    color: var(--gray-500);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav > ul > li > a {
    display: block;
    padding: 0.5rem 0.875rem;
    color: var(--gray-700);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.main-nav > ul > li > a:hover {
    color: var(--blue-primary);
    background: var(--blue-pale);
}

/* Dropdowns */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    min-width: 240px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 400;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.dropdown li a:hover {
    background: var(--blue-pale);
    color: var(--blue-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================
   Hero Section
   ================================================ */

.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1e3a5f 100%);
    padding: 8rem 0 6rem;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232, 131, 124, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero h1 {
    color: var(--white);
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    max-width: 700px;
    line-height: 1.15;
}

.hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1875rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.375rem;
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* ================================================
   Mission Pillars
   ================================================ */

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--blue-pale);
    border-radius: var(--radius-lg);
    color: var(--blue-primary);
    margin-bottom: 1.5rem;
}

.pillar-card:nth-child(2) .pillar-icon {
    background: var(--teal-light);
    color: var(--teal);
}

.pillar-card:nth-child(3) .pillar-icon {
    background: var(--coral-light);
    color: var(--coral);
}

.pillar-card h3 {
    margin-bottom: 0.75rem;
}

.pillar-card p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.pillar-link {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--blue-primary);
}

.pillar-link:hover {
    color: var(--blue-hover);
}

/* ================================================
   Guidelines Banner
   ================================================ */

.guidelines-banner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: center;
}

.guidelines-content h2 {
    margin-bottom: 1rem;
}

.guidelines-content > p {
    color: var(--gray-500);
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.guidelines-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.guideline-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
}

.guideline-feature svg {
    color: var(--teal);
    flex-shrink: 0;
}

.guidelines-visual {
    display: flex;
    justify-content: center;
}

.guidelines-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.guidelines-card-header {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--blue-primary);
}

.guidelines-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
}

.guidelines-card p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

.guidelines-card-badge {
    display: inline-block;
    background: var(--teal-light);
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================================
   Events
   ================================================ */

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.event-card {
    display: flex;
    gap: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}

.event-card:hover {
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-md);
}

.event-featured {
    border-color: var(--blue-primary);
    border-width: 2px;
    background: linear-gradient(135deg, var(--blue-pale) 0%, var(--white) 100%);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 1rem;
    background: var(--navy);
    border-radius: var(--radius-md);
    color: var(--white);
    flex-shrink: 0;
}

.event-month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.event-day {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
}

.event-year {
    font-size: 0.75rem;
    opacity: 0.6;
}

.event-details {
    flex: 1;
}

.event-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blue-primary);
    margin-bottom: 0.375rem;
}

.event-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.event-details p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.event-meta svg {
    flex-shrink: 0;
}

.event-link {
    font-weight: 600;
    font-size: 0.9375rem;
}

/* ================================================
   News
   ================================================ */

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.news-featured {
    grid-column: 1;
    grid-row: 1 / span 3;
    display: flex;
    flex-direction: column;
}

.news-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.news-featured .news-image {
    height: 280px;
}

.news-image-sm {
    height: 80px !important;
}

.news-category {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--blue-primary);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content time {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-bottom: 0.5rem;
    display: block;
}

.news-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-featured .news-content h3 {
    font-size: 1.375rem;
}

.news-content p {
    color: var(--gray-500);
    font-size: 0.9375rem;
    flex: 1;
}

.news-link {
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: auto;
}

/* ================================================
   Membership CTA
   ================================================ */

.membership-cta {
    background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 50%, var(--navy-light) 100%);
    color: var(--white);
}

.membership-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: start;
}

.membership-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.membership-content > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    margin-bottom: 2rem;
}

.membership-benefits {
    margin-bottom: 2.5rem;
}

.membership-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
}

.membership-benefits svg {
    flex-shrink: 0;
    color: var(--teal);
    margin-top: 2px;
}

.membership-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.membership-tiers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tier-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    position: relative;
}

.tier-featured {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.tier-badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: var(--blue-primary);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
}

.tier-card h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.tier-price {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.375rem;
}

.tier-price span {
    font-size: 0.875rem;
    font-weight: 400;
    font-family: var(--font-body);
    opacity: 0.6;
}

.tier-card > p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
    margin-bottom: 0;
}

/* ================================================
   Partners
   ================================================ */

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 80px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

.partner-logo:hover {
    border-color: var(--gray-300);
    color: var(--gray-600);
    box-shadow: var(--shadow-sm);
}

/* ================================================
   Newsletter (bottom section)
   ================================================ */

.newsletter-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.newsletter-form-large {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    margin: 0 auto 1rem;
}

.newsletter-form-large input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition);
}

.newsletter-form-large input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form-large input:focus {
    border-color: rgba(255, 255, 255, 0.4);
}

.newsletter-section small {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8125rem;
}

/* ================================================
   Footer
   ================================================ */

.site-footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
}

.footer-main {
    padding: 4rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 36px;
    width: 36px;
    object-fit: contain;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-about > p {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--blue-primary);
    color: var(--white);
}

/* Social icons on light backgrounds (e.g. sidebar cards) */
.social-light a {
    background: var(--gray-100);
    color: var(--gray-500);
}

.social-light a:hover {
    background: var(--blue-primary);
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-links ul li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-contact svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter h5 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.newsletter-form {
    display: flex;
    gap: 0.375rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.8125rem;
    font-family: var(--font-body);
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8125rem;
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-credit:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-credit-logo {
    flex-shrink: 0;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* ================================================
   Animations
   ================================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for grid items */
.pillar-card.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.pillar-card.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.event-card.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.event-card.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

.tier-card.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.tier-card.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }

/* ================================================
   Mobile Responsive
   ================================================ */

@media (max-width: 1024px) {
    .header-actions .btn { display: none; }
    .mobile-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-xl);
        padding: 5rem 1.5rem 2rem;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .main-nav.is-open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav > ul > li > a {
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--gray-100);
        border-radius: 0;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 1rem;
        display: none;
    }

    .dropdown-open .dropdown {
        display: block;
    }

    .hero {
        padding: 5rem 0 4rem;
        min-height: auto;
    }

    .hero h1 { font-size: 2.5rem; }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .guidelines-banner {
        grid-template-columns: 1fr;
    }

    .guidelines-visual {
        order: -1;
    }

    .guidelines-features {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-featured {
        grid-row: auto;
    }

    .membership-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .top-bar { display: none; }

    .hero {
        padding: 3.5rem 0 3rem;
    }

    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }

    .hero-buttons {
        flex-direction: column;
        margin-bottom: 2.5rem;
    }

    .hero-stats { gap: 1rem; }

    .event-card {
        flex-direction: column;
        gap: 1rem;
    }

    .event-date {
        flex-direction: row;
        gap: 0.5rem;
        min-width: auto;
        padding: 0.75rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .newsletter-form-large {
        flex-direction: column;
    }

    .membership-actions {
        flex-direction: column;
    }
}
