/* style.css */

/*------------------------------------------------------------------
[Table of contents]

1. Root Variables / Basic Setup
2. Base Styles (Body, Typography, Links)
3. Neumorphism Base Styles & Utilities
4. Layout & Container
5. Header & Navigation (Desktop & Mobile)
6. Hero Section
7. Card Styles (Global & Specific)
    - Base Card
    - Event Card
    - Blog Card
    - Resource Card
    - Insight Card
8. Section Specific Styles
    - About Us
    - Insights
    - Events Calendar
    - History
    - Blog
    - Awards/Community Spotlight
    - External Resources
    - Contact
9. Form Elements (Input, Textarea, Global Button)
10. Footer
11. Modal Styles
12. Animation & Transition Utilities
13. Page Specific Styles
    - success.html
    - privacy.html / terms.html
14. Cookie Consent Popup
-------------------------------------------------------------------*/

/* 1. Root Variables / Basic Setup */
:root {
    --bg-color: #e0e5ec;
    --text-color: #333333; /* WCAG AA compliant on #e0e5ec */
    --heading-color: #1a202c; /* Darker for headings */
    --shadow-light: #ffffff;
    --shadow-dark: #bec3c9;
    --primary-accent: #6DB1BF; /* Triadic 1 (Blue-Green) */
    --primary-accent-dark: #5aa0af;
    --secondary-accent: #BF6D7A; /* Triadic 2 (Muted Red) */
    --tertiary-accent: #7ABF6D; /* Triadic 3 (Green) */

    --card-bg: var(--bg-color);
    --input-bg: var(--bg-color);
    --button-bg: var(--bg-color);
    --button-text-color: var(--text-color);
    --button-hover-text-color: var(--primary-accent);

    --link-color: var(--primary-accent);
    --link-hover-color: var(--primary-accent-dark);

    --footer-bg: #d1d9e6; /* Slightly different shade for footer */
    --footer-text-color: #555555; /* Good contrast on footer bg */

    --font-heading: 'Inter', sans-serif;
    --font-body: 'IBM Plex Sans', sans-serif;

    --border-radius-lg: 20px;
    --border-radius-md: 10px;
    --border-radius-sm: 5px;

    --neumorph-offset: 6px; /* Base offset for shadows */
    --neumorph-blur: 12px;  /* Base blur for shadows */

    --transition-speed: 0.3s;
    --transition-easing: ease-in-out;
}

/* Apply smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* 2. Base Styles (Body, Typography, Links) */
body {
    background-color: var(--bg-color);
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    font-size: clamp(1rem, 2.5vw, 1.1rem); /* Adaptive base font size */
    overflow-x: hidden; /* Prevent horizontal scroll */
    opacity: 1; /* Start visible for JS fade-in */
    transition: opacity var(--transition-speed) var(--transition-easing);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    margin-bottom: 1rem; /* Default spacing */
    line-height: 1.2;
    font-weight: 700; /* Bold headings by default */
}

/* Adaptive Typography for Headings */
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); text-shadow: 1px 1px 2px rgba(0,0,0,0.1); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
h4 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

p {
    margin-bottom: 1rem;
    max-width: 75ch; /* Improve readability */
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-easing);
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

/* Ensure Tailwind container is centered and has padding */
.container {
    max-width: 1280px; /* Or your preferred max width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Basic image styling */
img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove bottom space */
}

section {
    padding-top: 4rem; /* Default vertical padding */
    padding-bottom: 4rem;
    overflow: hidden; /* Contain floats and margins */
}

/* 3. Neumorphism Base Styles & Utilities */
.neumorph-L { /* Outset shadow */
    background: var(--bg-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--neumorph-offset) var(--neumorph-offset) var(--neumorph-blur) var(--shadow-dark),
                calc(-1 * var(--neumorph-offset)) calc(-1 * var(--neumorph-offset)) var(--neumorph-blur) var(--shadow-light);
    transition: box-shadow var(--transition-speed) var(--transition-easing);
}

.neumorph-inset { /* Inset shadow */
    background: var(--bg-color);
    border-radius: var(--border-radius-lg);
    box-shadow: inset calc(var(--neumorph-offset) / 1.5) calc(var(--neumorph-offset) / 1.5) calc(var(--neumorph-blur) / 1.5) var(--shadow-dark),
                inset calc(-1 * var(--neumorph-offset) / 1.5) calc(-1 * var(--neumorph-offset) / 1.5) calc(var(--neumorph-blur) / 1.5) var(--shadow-light);
     transition: box-shadow var(--transition-speed) var(--transition-easing);
}

/* 4. Layout & Container */
/* Tailwind handles most, add adjustments if needed */

/* 5. Header & Navigation (Desktop & Mobile) */
header {
    background-color: var(--bg-color); /* Ensures neumorphism base */
    z-index: 1000;
    position: sticky;
    top: 0;
    transition: box-shadow var(--transition-speed) var(--transition-easing);
}

header nav a {
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative; /* For potential underline animation */
}

header nav a:hover {
    color: var(--primary-accent);
    text-decoration: none;
}

/* Mobile Menu Specific Styles */
#mobile-menu {
    display: none; /* Hidden by default, JS toggles */
    position: absolute;
    top: 100%; /* Position below header */
    left: 0;
    width: 100%;
    background-color: var(--bg-color); /* Ensure background */
    border-top: 1px solid var(--shadow-dark);
    padding-top: 1rem;
    padding-bottom: 1rem;
    z-index: 999; /* Below header, above content */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1); /* Softer shadow for dropdown */
}

#mobile-menu a {
    display: block;
    padding: 0.75rem 1.5rem; /* More padding for touch targets */
    color: var(--text-color);
}

#mobile-menu a:hover {
    background-color: rgba(0, 0, 0, 0.03); /* Subtle hover background */
    color: var(--primary-accent);
}

/* Burger Icon */
.burger-icon span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--heading-color);
    margin: 5px 0;
    transition: all var(--transition-speed) var(--transition-easing);
    border-radius: 1px;
}

/* Burger Icon Animation (Example - can be done with JS toggle class) */
#burger-menu-button.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#burger-menu-button.open span:nth-child(2) {
    opacity: 0;
}
#burger-menu-button.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 6. Hero Section */
#hero {
    min-height: 90vh; /* Use viewport height */
    position: relative;
    color: #ffffff; /* White text for hero */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex; /* Use flex for alignment */
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Parallax effect is handled by JS, but ensure fixed attachment if needed */
    /* background-attachment: fixed;  <-- Can cause issues on mobile, JS parallax is better */
}

#hero::before { /* Dark overlay for text contrast */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
    border-radius: inherit; /* Inherit border radius from parent */
}

#hero .relative { /* Ensure content is above overlay */
    z-index: 2;
}

#hero h1 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Stronger shadow for hero */
}

#hero p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

/* Style hero button specifically if needed, but base styles should apply */
#hero .neumorph-button {
   box-shadow: none; /* Override neumorph shadow for contrast */
   background-color: var(--primary-accent);
   color: #ffffff;
   padding: 0.8rem 1.8rem;
   font-size: 1.1rem;
   transition: background-color var(--transition-speed) var(--transition-easing);
}

#hero .neumorph-button:hover {
    background-color: var(--primary-accent-dark);
    box-shadow: none; /* Keep shadow off on hover */
    color: #ffffff;
}

/* 7. Card Styles (Global & Specific) */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--neumorph-offset) var(--neumorph-offset) var(--neumorph-blur) var(--shadow-dark),
                calc(-1 * var(--neumorph-offset)) calc(-1 * var(--neumorph-offset)) var(--neumorph-blur) var(--shadow-light);
    overflow: hidden;
    transition: transform var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
    display: flex;
    flex-direction: column;
    height: 100%; /* Make cards in a grid equal height */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: calc(var(--neumorph-offset) * 1.5) calc(var(--neumorph-offset) * 1.5) calc(var(--neumorph-blur) * 1.5) var(--shadow-dark),
                calc(-1.5 * var(--neumorph-offset)) calc(-1.5 * var(--neumorph-offset)) calc(var(--neumorph-blur) * 1.5) var(--shadow-light);
}

.card-image {
    width: 100%;
    /* Define aspect ratio to maintain consistency */
    aspect-ratio: 16 / 9; /* Or 4 / 3, or specific height */
    /* height: 200px; /* Alternative: Fixed height */
    overflow: hidden;
    /* Removed align-items: center as it's handled by the parent flex */
}

.card-image img {
    width: 100%;
    height: 100%; /* Fill the container */
    object-fit: cover; /* Crop image nicely */
    display: block;
    transition: transform var(--transition-speed) var(--transition-easing);
}

.card:hover .card-image img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1; /* Allow content to fill remaining space */
    display: flex;
    flex-direction: column;
    text-align: center; /* Center text content */
}

.card-content h3 {
    margin-bottom: 0.75rem;
    color: var(--heading-color);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.card-content p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text-color);
    margin-bottom: 1rem;
    flex-grow: 1; /* Push elements below to bottom */
}

.card-content .text-gray-600 { /* Style date/meta info */
    font-size: 0.85rem;
    color: #666; /* Slightly lighter */
}

.card-content a,
.card-content button {
    margin-top: auto; /* Push button/link to bottom */
    align-self: center; /* Center button */
}

/* Style "Read More" links */
.card-content a.text-\[\#6DB1BF\] { /* Targeting Tailwind class */
    font-weight: 500;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-speed) var(--transition-easing), color var(--transition-speed) var(--transition-easing);
}

.card-content a.text-\[\#6DB1BF\]:hover {
    background-color: var(--primary-accent-dark);
    color: #ffffff;
    text-decoration: none;
}

/* Insight Card Specifics */
#insights .card {
    text-align: center;
}
#insights .card svg {
    margin-bottom: 1rem;
    height: 4rem; /* Larger icons */
    width: 4rem;
    margin-left: auto;
    margin-right: auto;
}
#insights .card h3 {
     font-size: clamp(1.3rem, 3vw, 1.6rem);
}

/* Resource Card Specifics */
#resources .card {
    text-align: left; /* Align text left for resource cards */
}
#resources .card h3 {
     font-size: clamp(1.1rem, 2.5vw, 1.3rem);
     margin-bottom: 0.5rem;
}
#resources .card h3 a {
    color: var(--link-color);
}
#resources .card h3 a:hover {
    color: var(--link-hover-color);
}
#resources .card p {
     font-size: 0.9rem;
     line-height: 1.4;
     margin-bottom: 0;
}

/* 8. Section Specific Styles */

/* Center section titles */
section h2 {
    text-align: center;
    margin-bottom: 3rem; /* More space below section titles */
}
section .text-center { /* Helper for centering intro paragraphs */
    margin-left: auto;
    margin-right: auto;
}

/* About Us */
#about .grid {
    align-items: center; /* Vertically center grid items */
}
#about .neumorph-inset p {
     max-width: none; /* Remove max-width for inset block */
}

/* History */
#history .neumorph-inset p {
    max-width: none; /* Remove max-width for inset block */
}
#history img {
    border-radius: var(--border-radius-lg);
}

/* Awards / Community Spotlight */
#awards .neumorph-inset {
    padding: 1.5rem;
    text-align: center; /* Center testimonial content */
}
#awards .neumorph-inset img.rounded-full { /* Style community image */
    width: 100px; /* Adjust size */
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    object-fit: cover;
}
#awards .neumorph-inset p.italic {
    font-style: italic;
    color: var(--text-color); /* Ensure contrast */
    margin-bottom: 0.5rem;
}
#awards .neumorph-inset p.font-semibold {
    font-weight: 600;
    color: var(--heading-color); /* Darker name */
    font-size: 0.95rem;
}
#awards .md\:col-span-2 .neumorph-inset { /* Ensure centering in full-width testimonial */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Contact Section */
#contact .neumorph-L { /* Styling for the form container */
    padding: 2rem 1.5rem;
}
@media (min-width: 768px) {
    #contact .neumorph-L {
        padding: 3rem;
    }
}

/* 9. Form Elements (Input, Textarea, Global Button) */
.neumorph-input,
textarea.neumorph-input {
    background: var(--input-bg);
    border-radius: var(--border-radius-md);
    box-shadow: inset calc(var(--neumorph-offset) / 2) calc(var(--neumorph-offset) / 2) calc(var(--neumorph-blur) / 2) var(--shadow-dark),
                inset calc(-1 * var(--neumorph-offset) / 2) calc(-1 * var(--neumorph-offset) / 2) calc(var(--neumorph-blur) / 2) var(--shadow-light);
    border: none;
    padding: 1rem;
    width: 100%;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: box-shadow var(--transition-speed) var(--transition-easing);
}

.neumorph-input:focus,
textarea.neumorph-input:focus {
    outline: none;
    box-shadow: inset calc(var(--neumorph-offset) / 2) calc(var(--neumorph-offset) / 2) calc(var(--neumorph-blur) / 2) var(--shadow-dark),
                inset calc(-1 * var(--neumorph-offset) / 2) calc(-1 * var(--neumorph-offset) / 2) calc(var(--neumorph-blur) / 2) var(--shadow-light),
                0 0 0 2px var(--primary-accent-dark); /* Focus ring */
}

textarea.neumorph-input {
    resize: vertical; /* Allow vertical resize */
    min-height: 120px;
}

::placeholder {
    color: #888; /* Placeholder text color */
    opacity: 1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--heading-color);
}

/* Global Button Styles */
.btn, /* Generic button class */
button, /* Apply to all buttons */
input[type="submit"], /* Apply to submit inputs */
.neumorph-button /* Apply to elements with this class */
{
    display: inline-block; /* Allows padding and margin */
    padding: 0.75rem 1.5rem; /* Default padding */
    font-family: var(--font-heading); /* Use heading font */
    font-weight: 600; /* Bold text */
    font-size: 1rem; /* Base font size */
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--button-bg);
    color: var(--button-text-color);
    box-shadow: var(--neumorph-offset) var(--neumorph-offset) var(--neumorph-blur) var(--shadow-dark),
                calc(-1 * var(--neumorph-offset)) calc(-1 * var(--neumorph-offset)) var(--neumorph-blur) var(--shadow-light);
    transition: all var(--transition-speed) var(--transition-easing);
    user-select: none; /* Prevent text selection */
    text-decoration: none; /* Remove underline from button-styled links */
}

.btn:hover,
button:hover,
input[type="submit"]:hover,
.neumorph-button:hover {
    box-shadow: inset calc(var(--neumorph-offset) / 2) calc(var(--neumorph-offset) / 2) calc(var(--neumorph-blur) / 2) var(--shadow-dark),
                inset calc(-1 * var(--neumorph-offset) / 2) calc(-1 * var(--neumorph-offset) / 2) calc(var(--neumorph-blur) / 2) var(--shadow-light);
    color: var(--button-hover-text-color);
    text-decoration: none; /* Ensure no underline on hover */
}

.btn:active,
button:active,
input[type="submit"]:active,
.neumorph-button:active {
     box-shadow: inset var(--neumorph-offset) var(--neumorph-offset) var(--neumorph-blur) var(--shadow-dark),
                inset calc(-1 * var(--neumorph-offset)) calc(-1 * var(--neumorph-offset)) var(--neumorph-blur) var(--shadow-light);
     transform: translateY(1px); /* Slight press effect */
}

/* 10. Footer */
footer {
    background-color: var(--footer-bg); /* Use footer background variable */
    color: var(--footer-text-color);
    padding: 3rem 0;
    margin-top: 4rem;
    /* Apply inset neumorphism */
    box-shadow: inset 8px 8px 16px #b9c0cb, inset -8px -8px 16px #e9f2ff; /* Adjusted shadows for footer bg */
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0; /* Round top corners */
}

footer h3 {
    color: var(--heading-color); /* Darker headings */
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

footer p {
    color: var(--footer-text-color);
    font-size: 0.95rem;
    margin-bottom: 0;
}

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

footer ul li {
    margin-bottom: 0.5rem;
}

footer a.footer-link {
    color: var(--footer-text-color); /* Use footer text color */
    transition: color var(--transition-speed) var(--transition-easing);
}

footer a.footer-link:hover {
    color: var(--primary-accent); /* Use accent color on hover */
    text-decoration: underline;
}

/* Footer Social Links - Text Only */
footer .social-link {
    color: var(--footer-text-color); /* Text color for social links */
    margin: 0 0.5rem; /* Spacing between links */
    font-weight: 500;
    transition: color var(--transition-speed) var(--transition-easing);
}

footer .social-link:hover {
    color: var(--primary-accent); /* Accent on hover */
    text-decoration: underline;
}

/* Footer Bottom Copyright */
footer .border-t {
    border-color: var(--shadow-dark); /* Match shadow color */
    margin-top: 2rem;
    padding-top: 2rem;
}

footer .text-gray-600 {
    color: var(--footer-text-color); /* Ensure correct color */
    opacity: 0.8;
}

/* 11. Modal Styles */
#event-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(30, 30, 40, 0.75); /* Dark semi-transparent overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0; /* Hidden by default, JS controls visibility */
    visibility: hidden;
    transition: opacity var(--transition-speed) var(--transition-easing), visibility 0s linear var(--transition-speed);
}

#event-modal.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) var(--transition-easing), visibility 0s linear var(--transition-speed);
}
#event-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}


#event-modal > div { /* The modal content box */
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    /* Apply neumorphism to the modal */
    box-shadow: var(--neumorph-offset) var(--neumorph-offset) var(--neumorph-blur) var(--shadow-dark),
                calc(-1 * var(--neumorph-offset)) calc(-1 * var(--neumorph-offset)) var(--neumorph-blur) var(--shadow-light);
    transform: scale(0.95); /* Start slightly smaller for animation */
    transition: transform var(--transition-speed) var(--transition-easing);
}

#event-modal:not(.hidden) > div {
    transform: scale(1);
}

#event-modal h3 {
    color: var(--heading-color);
    margin-top: 0;
}

#event-modal p {
    color: var(--text-color);
}

#event-modal button {
    margin-top: 1.5rem;
}


/* 12. Animation & Transition Utilities */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Basic Parallax Placeholder (Actual effect via JS) */
.parallax-bg {
    background-attachment: fixed; /* Classic parallax, can be jerky */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* Consider JS for smoother parallax */


/* 13. Page Specific Styles */

/* success.html */
.success-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Full viewport height */
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-color);
}
.success-page .neumorph-L { /* Style the content box */
    padding: 3rem;
    max-width: 600px;
}
.success-page h1 {
    color: var(--tertiary-accent); /* Green for success */
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}
.success-page p {
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
}
.success-page a { /* Style the return link like a button */
     display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--button-bg);
    color: var(--button-text-color);
    box-shadow: var(--neumorph-offset) var(--neumorph-offset) var(--neumorph-blur) var(--shadow-dark),
                calc(-1 * var(--neumorph-offset)) calc(-1 * var(--neumorph-offset)) var(--neumorph-blur) var(--shadow-light);
    transition: all var(--transition-speed) var(--transition-easing);
    text-decoration: none;
}
.success-page a:hover {
    box-shadow: inset calc(var(--neumorph-offset) / 2) calc(var(--neumorph-offset) / 2) calc(var(--neumorph-blur) / 2) var(--shadow-dark),
                inset calc(-1 * var(--neumorph-offset) / 2) calc(-1 * var(--neumorph-offset) / 2) calc(var(--neumorph-blur) / 2) var(--shadow-light);
    color: var(--button-hover-text-color);
    text-decoration: none;
}


/* privacy.html / terms.html */
.legal-page-content {
    padding-top: 120px; /* Ensure content is below fixed header */
    padding-bottom: 4rem;
}
.legal-page-content h1,
.legal-page-content h2,
.legal-page-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.legal-page-content h1 {
    text-align: center;
    margin-bottom: 2.5rem;
}
.legal-page-content p,
.legal-page-content ul,
.legal-page-content ol {
    margin-bottom: 1.5rem;
    max-width: 80ch;
    margin-left: auto;
    margin-right: auto;
}
.legal-page-content ul,
.legal-page-content ol {
    padding-left: 2rem;
}
.legal-page-content li {
    margin-bottom: 0.5rem;
}

/* 14. Cookie Consent Popup */
/* Styles are mostly inline in HTML, add overrides if needed */
#cookie-popup {
    /* Inline styles handle positioning, background, color, z-index */
    font-family: var(--font-body);
}
#accept-cookie-btn {
    /* Inline styles handle background, color, border, padding, radius */
    font-weight: 600;
}

header nav {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 20px;
}

#resources .card {
    padding: 10px;
}

.hidden a {
    display: none;
}