* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #FAF7F2;
    color: #2A2A3A;
    line-height: 1.8;
    padding: 0;
    margin: 0;
    font-size: 19px;
}

/* Top Accent Bar */
.top-accent-bar {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1A535C, #C8963E, #1A535C);
}

/* Header */
.main-header {
    background-color: #FFFDF8;
    width: 100%;
    padding: 0 32px;
    border-bottom: 2px solid #1A535C;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 68px;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 40px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #8A9199;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 24px 18px;
    cursor: default;
    transition: color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.nav-item.active {
    color: #1A535C;
    border-bottom-color: #C8963E;
    font-weight: 600;
}

.nav-divider {
    width: 1px;
    height: 16px;
    background-color: #DDD6C8;
}

.trending-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #F0EBE1;
    border: 1px solid #DDD6C8;
    border-radius: 20px;
    padding: 5px 14px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.flag-icon {
    width: 15px;
    height: auto;
    display: block;
}

/* Advertorial Banner */
.advertorial-banner {
    background-color: #F0EBE1;
    width: 100%;
    padding: 5px 20px;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #8A9199;
}

.container {
    max-width: 740px;
    margin: 0 auto;
    padding: 36px 24px;
}

/* Main Headline */
.main-headline {
    font-family: "Libre Baskerville", Georgia, serif;
    margin: 0;
    padding: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 28px;
    color: #1A2332;
    letter-spacing: -0.4px;
}

/* Article Meta Container */
.article-meta-container {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #4A5568;
    margin: 0;
    padding: 18px 0;
    border-top: 2px solid #1A535C;
    border-bottom: 1px solid #DDD6C8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.author-info-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #DDD6C8;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #1A2332;
    margin-bottom: 2px;
}

.author-date {
    font-size: 12px;
    color: #8A9199;
    font-style: italic;
}

.rating-engagement-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stars {
    display: flex;
    align-items: center;
}

.stars-image {
    height: 15px;
    width: auto;
    opacity: 0.85;
}

.engagement-count {
    display: flex;
    align-items: center;
    gap: 5px;
}

.thumbs-up-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    opacity: 0.7;
}

.engagement-count .count {
    font-size: 13px;
    color: #6B7280;
    font-weight: 600;
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    width: 100%;
    margin-bottom: 32px;
    overflow: hidden;
    border: 1px solid #DDD6C8;
    box-shadow: 0 4px 20px rgba(26, 83, 92, 0.08);
}

.video-thumbnail a {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.thumbnail-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

/* CTA Button */
.watch-now-btn {
    width: 100%;
    background: linear-gradient(135deg, #1A535C 0%, #236B76 100%);
    color: #FFFDF8;
    border: none;
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    margin: 28px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(26, 83, 92, 0.25);
}

.watch-now-btn:hover {
    background: linear-gradient(135deg, #15444B 0%, #1A535C 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 83, 92, 0.35);
}

/* Content Text */
.content {
    margin: 40px 0;
}

.content p {
    margin-bottom: 22px;
    font-size: 19px;
    color: #3D3D50;
    text-align: left;
    line-height: 1.85;
}

.intro-section > .content:first-of-type p:first-of-type::first-letter {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 3.2em;
    float: left;
    line-height: 0.85;
    margin-right: 8px;
    margin-top: 4px;
    color: #1A535C;
    font-weight: 700;
}

.content strong {
    font-weight: 600;
    color: #1A2332;
}

.content a.video-link {
    color: #1A535C;
    text-decoration: none;
    border-bottom: 2px solid #C8963E;
    padding-bottom: 2px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.content a.video-link:hover {
    border-bottom-color: #1A535C;
    color: #15444B;
    background-color: rgba(200, 150, 62, 0.08);
}

.content h2 {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 30px;
    font-weight: 700;
    color: #1A2332;
    text-align: center;
    line-height: 1.35;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 16px;
}

.content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C8963E, #D4A847);
    border-radius: 2px;
}

.accent-highlight {
    color: #C8963E;
}

.content .ritual-subtitle {
    font-size: 17px;
    text-align: center;
    margin-bottom: 28px;
    color: #6B7280;
    font-style: italic;
    margin-top: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        padding: 0 16px;
    }
    
    .header-content {
        min-height: 56px;
    }
    
    .logo-icon {
        height: 30px;
    }
    
    .header-nav {
        display: none;
    }
    
    .trending-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .flag-icon {
        width: 13px;
    }
    
    .advertorial-banner {
        padding: 3px 16px;
        font-size: 8px;
    }
    
    .container {
        max-width: 100%;
        padding: 20px 18px;
    }
    
    .main-headline {
        font-size: 27px;
        line-height: 1.35;
    }
    
    .watch-now-btn {
        font-size: 16px;
        padding: 16px 18px;
    }
    
    .content p {
        font-size: 17px;
        line-height: 1.8;
    }
    
    .content h2 {
        font-size: 24px;
    }

    .intro-section > .content:first-of-type p:first-of-type::first-letter {
        font-size: 2.8em;
    }
}

/* Footer */
.main-footer {
    background-color: #1A2332;
    width: 100%;
    padding: 52px 24px;
    margin-top: 0;
    border-top: 4px solid #C8963E;
}

.footer-content {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.footer-disclaimer {
    color: #8A9199;
    font-size: 12px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.footer-additional-info {
    margin: 28px 0;
    text-align: left;
}

.footer-additional-info p {
    color: #8A9199;
    font-size: 12px;
    line-height: 1.75;
    margin-bottom: 14px;
}

.footer-additional-info strong {
    font-weight: 600;
    color: #C8963E;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #6B7280;
    font-size: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(200, 150, 62, 0.2);
}

.footer-links a {
    color: #8A9199;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.link-separator {
    color: rgba(200, 150, 62, 0.3);
    font-weight: 300;
}

/* Legal Pages */
.legal-page {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.legal-page h1 {
    font-size: 32px;
    color: #1A2332;
    margin-bottom: 10px;
    font-weight: bold;
}

.last-updated {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 30px;
    font-style: italic;
}

.legal-page section {
    margin-bottom: 30px;
}

.legal-page h2 {
    font-size: 22px;
    color: #1A2332;
    margin-bottom: 15px;
    font-weight: bold;
}

.legal-page p {
    font-size: 15px;
    line-height: 1.8;
    color: #3D3D50;
    margin-bottom: 15px;
}

.legal-page ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-page li {
    font-size: 15px;
    line-height: 1.8;
    color: #3D3D50;
    margin-bottom: 10px;
}

.legal-page strong {
    font-weight: bold;
    color: #1A2332;
}

.back-link {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #DDD6C8;
}

.back-link a {
    color: #1A535C;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .main-footer {
        padding: 36px 16px;
    }
    
    .footer-disclaimer {
        font-size: 11px;
    }
    
    .footer-additional-info {
        margin: 20px 0;
    }
    
    .footer-additional-info p {
        font-size: 11px;
        margin-bottom: 12px;
    }
    
    .footer-links {
        font-size: 11px;
        flex-wrap: wrap;
    }
    
    .legal-page {
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .legal-page h1 {
        font-size: 26px;
    }
    
    .legal-page h2 {
        font-size: 20px;
    }
    
    .legal-page p,
    .legal-page li {
        font-size: 14px;
    }
}

/* Scientific References Section */
.scientific-references {
    padding: 52px 0;
    background-color: #FFFDF8;
    margin-top: 60px;
    border-top: 2px solid #1A535C;
}

.references-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.references-header {
    text-align: center;
}

.references-title {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #1A2332;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
}

.references-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #C8963E;
    border-radius: 2px;
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.university-logo {
    position: relative;
    margin: 0 auto;
}

.cornell-logo {
    width: 48px;
    height: 48px;
}

.other-logo {
    width: 64px;
    height: 48px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (min-width: 768px) {
    .cornell-logo {
        width: 64px;
        height: 64px;
    }
    
    .other-logo {
        width: 96px;
        height: 64px;
    }
}

.references-list {
    position: relative;
    transition: all 0.7s ease-in-out;
    overflow: hidden;
    max-height: 160px;
}

.references-list.expanded {
    max-height: none;
}

.references-content {
    columns: 2;
    column-gap: 32px;
    font-size: 12px;
    color: #4A5568;
}

.reference-item {
    break-inside: avoid-column;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #EDE8DD;
}

.reference-title {
    font-weight: 600;
    color: #1A2332;
}

.reference-source {
    font-style: italic;
    color: #8A9199;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, #FFFDF8, transparent);
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.references-list.expanded .gradient-overlay {
    opacity: 0;
}

.references-toggle-container {
    margin-top: 28px;
    text-align: center;
}

.references-toggle-btn {
    background: none;
    border: 2px solid #1A535C;
    color: #1A535C;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.references-toggle-btn:hover {
    background-color: #1A535C;
    color: #FFFDF8;
}

.toggle-icon {
    width: 16px;
    height: 16px;
    margin-left: 8px;
    transition: transform 0.3s ease-in-out;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

/* Responsive Scientific References */
@media (max-width: 768px) {
    .scientific-references {
        padding: 36px 0;
        margin-top: 30px;
    }
    
    .references-container {
        padding: 0 16px;
    }
    
    .references-title {
        font-size: 20px;
        margin-bottom: 32px;
    }
    
    .universities-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        max-width: 100%;
    }
    
    .references-content {
        columns: 2;
        column-gap: 32px;
        font-size: 12px;
    }
    
    .references-list {
        max-height: 160px;
    }
}
