/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: #fafafa;
}

a {
    color: #2c5282;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a3a5c;
}

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

/* Navigation */
.main-nav {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3a5c;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.ad-disclosure {
    font-size: 0.8rem;
    color: #718096;
    font-style: italic;
    padding-right: 1rem;
    border-right: 1px solid #e0e0e0;
}

/* Editorial Container - Main Layout */
.editorial-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.story-flow {
    background: #ffffff;
    padding: 3rem 4rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Typography - Editorial Style */
.editorial-title {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 800;
    color: #1a202c;
    margin: 2rem 0 1.5rem;
    letter-spacing: -1px;
}

.editorial-intro {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 3rem;
    font-weight: 400;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin: 2.5rem 0 1.2rem;
    line-height: 1.3;
}

.content-block h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin: 1.8rem 0 1rem;
}

.content-block h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 1.5rem 0 0.8rem;
}

.content-block p {
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
    color: #3d4852;
}

.content-block ul,
.content-block ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.content-block li {
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
    color: #3d4852;
}

/* Hero Editorial */
.hero-editorial {
    margin-bottom: 4rem;
}

.hero-image-container {
    margin: 0 -4rem 2rem;
    background-color: #e2e8f0;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Inline Images */
.inline-image-wrapper {
    margin: 2.5rem 0;
    background-color: #f7fafc;
}

.inline-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Blockquotes */
.editorial-quote {
    font-size: 1.4rem;
    line-height: 1.6;
    font-style: italic;
    color: #2d3748;
    border-left: 4px solid #4299e1;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    background: #f7fafc;
    display: flex;
    flex-direction: column;
}

.quote-attribution {
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 600;
    color: #718096;
    margin-top: 1rem;
}

/* Programme Cards - Editorial Style */
.programs-section {
    margin-top: 3rem;
}

.program-card {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e2e8f0;
}

.program-card:last-child {
    border-bottom: none;
}

.program-image-wrapper {
    margin: 1.5rem 0;
    background-color: #edf2f7;
}

.program-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.program-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.program-age {
    font-size: 0.95rem;
    color: #718096;
    font-weight: 600;
    margin-bottom: 1rem;
}

.program-details {
    font-style: italic;
    color: #4a5568;
}

.program-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2c5282;
    margin: 1.5rem 0 1rem;
}

.program-note {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 0.5rem;
}

/* CTAs - Inline Editorial Style */
.cta-inline {
    display: inline-block;
    background: #2c5282;
    color: #ffffff;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.cta-inline:hover {
    background: #1a3a5c;
    color: #ffffff;
}

/* Forms - Editorial Integration */
.enrollment-section {
    background: #f7fafc;
    padding: 2.5rem;
    margin: 3rem -2rem;
}

.enrollment-form {
    max-width: 100%;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #cbd5e0;
    background: #ffffff;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
}

.submit-button {
    background: #2c5282;
    color: #ffffff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background: #1a3a5c;
}

/* Testimonials */
.testimonial-section {
    background: #f7fafc;
    padding: 2.5rem;
    margin: 3rem -2rem;
}

.testimonial-block {
    margin-bottom: 2rem;
}

.testimonial-block p {
    font-size: 1.2rem;
    font-style: italic;
    color: #2d3748;
    line-height: 1.7;
}

.testimonial-author {
    display: block;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 600;
    color: #718096;
    margin-top: 0.8rem;
}

/* Disclaimer */
.disclaimer-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.disclaimer {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.6;
    font-style: italic;
}

/* Citations */
.citation {
    color: #2c5282;
    font-weight: 600;
    text-decoration: none;
}

.citation:hover {
    text-decoration: underline;
}

/* Page Headers */
.page-header {
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1rem;
}

.page-intro {
    font-size: 1.2rem;
    color: #4a5568;
}

/* Contact Page */
.contact-details {
    margin-top: 2rem;
}

.contact-info-block {
    margin-bottom: 2.5rem;
}

.contact-info-block h3 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

.contact-detail {
    font-size: 1.05rem;
    color: #3d4852;
    margin-bottom: 0.3rem;
}

.contact-note {
    font-size: 0.95rem;
    color: #718096;
    margin-top: 0.5rem;
    font-style: italic;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
}

/* Thanks Page */
.thanks-container {
    text-align: center;
    padding: 3rem 2rem;
}

.thanks-icon {
    font-size: 4rem;
    color: #48bb78;
    margin-bottom: 1.5rem;
}

.thanks-container h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1rem;
}

.thanks-message {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.thanks-details {
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #f7fafc;
}

.thanks-details p {
    margin-bottom: 1rem;
}

.next-steps {
    text-align: left;
    max-width: 600px;
    margin: 2.5rem auto;
}

.next-steps h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.next-steps ol {
    margin-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.8rem;
}

.thanks-actions {
    margin: 2.5rem 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary {
    background: #2c5282;
    color: #ffffff;
    padding: 1rem 2rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #1a3a5c;
    color: #ffffff;
}

.btn-secondary {
    background: #edf2f7;
    color: #2c5282;
    padding: 1rem 2rem;
    font-weight: 600;
    border: 2px solid #2c5282;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #2c5282;
    color: #ffffff;
}

.additional-info {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: #718096;
}

/* Legal Content */
.legal-content h2 {
    margin-top: 2.5rem;
}

.legal-content h3 {
    margin-top: 1.8rem;
}

.text-link {
    color: #2c5282;
    text-decoration: underline;
}

.text-link:hover {
    color: #1a3a5c;
}

/* Footer */
.main-footer {
    background: #2d3748;
    color: #e2e8f0;
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-section.references ol {
    list-style: decimal;
    margin-left: 1.5rem;
    font-size: 0.85rem;
}

.footer-section.references ol li {
    margin-bottom: 0.5rem;
}

.footer-section.references a {
    color: #90cdf4;
    font-size: 0.85rem;
}

.footer-section.references a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1100px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #4a5568;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #a0aec0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d3748;
    color: #ffffff;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.btn-accept,
.btn-reject {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: #48bb78;
    color: #ffffff;
}

.btn-accept:hover {
    background: #38a169;
}

.btn-reject {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-reject:hover {
    background: #ffffff;
    color: #2d3748;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .ad-disclosure {
        border-right: none;
        padding-right: 0;
        width: 100%;
        text-align: center;
    }

    .story-flow {
        padding: 2rem 1.5rem;
    }

    .editorial-title {
        font-size: 2.2rem;
    }

    .editorial-intro {
        font-size: 1.1rem;
    }

    .hero-image-container {
        margin: 0 -1.5rem 2rem;
    }

    .hero-image {
        height: 400px;
    }

    .content-block h2 {
        font-size: 1.5rem;
    }

    .enrollment-section,
    .testimonial-section {
        margin: 2rem -1.5rem;
        padding: 1.5rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
        width: 100%;
    }

    .thanks-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}
