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

body {
    font-family: "Open Sans", sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    font-size: 19px;
}

/* Advertorial Banner */
.advertorial-banner {
    background-color: #f8f9fa;
    width: 100%;
    padding: 5px 20px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #8a9bae;
    border-bottom: 1px solid #e8ecf0;
}

/* Header */
.main-header {
    background-color: #0d1b2a;
    width: 100%;
    padding: 14px 24px;
    border-bottom: 3px solid #1b9aaa;
    box-shadow: none;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    position: static;
    left: auto;
    transform: none;
}

.menu-icon {
    width: 22px;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
}

.site-brand {
    color: #ffffff;
    font-family: "Times New Roman", Times, serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background-color: transparent;
    border-radius: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    padding: 5px 4px;
    min-width: 220px;
    transition: border-color 0.2s;
}

.search-bar:focus-within {
    border-bottom-color: #ffffff;
}

.search-icon {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1;
    margin-right: 8px;
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 13px;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    color: #ffffff;
    background: transparent;
    letter-spacing: 0.3px;
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.55);
    font-style: italic;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
}

.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
}

.article-column {
    min-width: 0;
}

.popular-reads-sidebar {
    position: sticky;
    top: 20px;
}

.popular-reads-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.3px;
    border-bottom: 3px solid #1e1e1e;
    padding-bottom: 10px;
}

.popular-read-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8ecf0;
}

.popular-read-thumb {
    width: 112px;
    height: 74px;
    flex-shrink: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #d9dde1 0%, #c4cbd3 100%);
}

.popular-read-text h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.popular-read-text p {
    font-size: 14px;
    color: #6b7280;
}

/* Breadcrumb */
.breadcrumb {
    font-family: "Open Sans", sans-serif;
    line-height: 1.75;
    color: #1a1a1a;
    text-align: left;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.breadcrumb-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #1a1a1a;
    flex-shrink: 0;
}

.breadcrumb-item {
    color: #4a4a4a;
    font-weight: bold;
    text-transform: uppercase;
}

.breadcrumb-separator {
    color: #4a4a4a;
    font-weight: bold;
}

.breadcrumb-dot {
    color: #4a4a4a;
    font-weight: bold;
}

.topic-tags {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 8px 0 18px;
    overflow: hidden;
    padding-bottom: 0;
}

.topic-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-width: 0;
    flex: 1 1 0;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    color: #2b2b2b;
    background: #e9e9e9;
    border: 1px solid #cdcdcd;
    border-radius: 14px;
    padding: 10px 12px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topic-tag-trending {
    flex: 0 0 auto;
    background: #4f5257;
    border-color: #4f5257;
    color: #ffffff;
    position: relative;
    padding-right: 30px;
}

.topic-tag-trending::after {
    content: "";
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 12px solid #4f5257;
}

.topic-tag-icon {
    color: #d62939;
    margin-right: 8px;
    font-size: 14px;
}

.read-time {
    color: #888888;
    font-weight: bold;
    text-transform: uppercase;
}

/* Main Headline */
.main-headline {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.main-headline .highlight-yellow {
    background-color: #ffeb3b;
    padding: 2px 4px;
}

.main-headline .headline-emphasis {
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* Article Meta Container */
.article-meta-container {
    font-family: "Open Sans", sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 40px !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

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

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

.author-date {
    font-size: 12px;
    color: #666;
}

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

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

.stars-image {
    height: 16px;
    width: auto;
}

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

.thumbs-up-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.engagement-count .count {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    float: left;
    width: min(44%, 430px);
    margin: 4px 20px 12px 0;
    overflow: hidden;
}

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

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

.prohibition-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.red-circle {
    width: 100px;
    height: 100px;
    background-color: #ff0000;
    border-radius: 50%;
    border: 4px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.red-circle svg {
    width: 100%;
    height: 100%;
}

/* Click Here To Watch The Video Button */
.watch-now-btn {
    width: 100%;
    background-color: #cc0000;
    color: #ffffff;
    border: none;
    border-left: 6px solid #8b0000;
    padding: 16px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: background-color 0.2s, border-left-color 0.2s;
    text-decoration: none;
    font-family: Georgia, 'Times New Roman', serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}


.watch-now-btn::after {
    content: "→";
    font-size: 20px;
    font-family: Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    flex-shrink: 0;
}

.watch-now-btn:hover {
    background-color: #a80000;
    border-left-color: #600000;
}

.arrows {
    font-size: 16px;
    font-weight: normal;
}

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

.content p {
    margin-bottom: 20px;
    font-size: 19px;
    color: #000000;
    text-align: left;
}

.content strong {
    font-weight: bold;
}

.content a.video-link {
    color: #0066cc;
    text-decoration: none;
    border: none;
    outline: none;
}

.content a.video-link:hover {
    text-decoration: underline;
    color: #0052a3;
}

.content h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    text-align: center;
}

.clarity-brew-red {
    color: #cc0000;
}

.content .ritual-subtitle {
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.signal-pathway-box {
    clear: both;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 24px 0 30px;
    padding: 18px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    background-color: #eaf4ff;
}

.signal-pathway-image {
    width: 170px;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

.signal-pathway-text {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    color: #111111;
}

.ingredients-grid-section {
    margin: 30px 0;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 22px;
}

.ingredient-card {
    display: flex;
    flex-direction: column;
}

.ingredient-image-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: #f2f2f2;
    border: 2px solid #e5e5e5;
    color: #5f5f5f;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ingredient-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 12px;
    border: 2px solid #e5e5e5;
}

.ingredient-title {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-radius: 4px;
    background: #2f5487;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
    font-weight: 700;
}

.ingredient-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ingredient-points li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.4;
    color: #2b2b2b;
}

.ingredient-points li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #78be5a;
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .advertorial-banner {
        padding: 6px 15px;
        font-size: 11px;
    }
    
    .main-header {
        padding: 10px 16px;
    }

    .header-content {
        position: static;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .brand-row {
        position: static;
        left: auto;
        transform: none;
    }
    
    .site-brand {
        font-size: 24px;
    }

    .brand-row {
        gap: 10px;
    }

    .menu-icon {
        width: 20px;
        position: static;
        left: auto;
        top: auto;
        transform: none;
    }

    .search-bar {
        width: 100%;
        min-width: 0;
    }
    
    .container {
        max-width: 100%;
        padding: 10px 14px;
    }

    .page-layout {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .popular-reads-sidebar {
        position: static;
    }

    .popular-reads-title {
        font-size: 30px;
        margin-bottom: 14px;
    }

    .popular-read-text h3 {
        font-size: 16px;
    }
    
    .red-circle {
        width: 80px;
        height: 80px;
    }
    
    .watch-now-btn {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .content p {
        font-size: 14px;
    }

    .signal-pathway-box {
        flex-direction: column;
        gap: 12px;
        padding: 14px;
    }

    .video-thumbnail {
        float: none;
        width: 100%;
        margin: 0 0 16px;
    }

    .signal-pathway-image {
        width: 100%;
        max-width: 240px;
    }

    .signal-pathway-text {
        font-size: 16px;
    }

    .ingredients-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ingredient-image-placeholder {
        width: 120px;
        height: 120px;
    }

    .ingredient-image {
        width: 120px;
        height: 120px;
    }

    .ingredient-title {
        font-size: 18px;
    }

    .ingredient-points li {
        font-size: 14px;
    }
}

/* Footer */
.main-footer {
    background-color: #3B0764;
    width: 100%;
    padding: 50px 20px 30px;
    margin-top: 60px;
    border-top: 4px solid #7C3AED;
}

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

.footer-disclaimer {
    color: #a8b8c8;
    font-size: 12.5px;
    line-height: 1.7;
    margin-bottom: 24px;
    padding: 16px 20px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 6px;
}

.footer-additional-info {
    margin: 24px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
}

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

.footer-additional-info strong {
    font-weight: bold;
    color: #c5d5e5;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: #A855F7;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #C084FC;
    text-decoration: underline;
}

.link-separator {
    color: rgba(255,255,255,0.2);
    font-weight: bold;
}

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

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

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

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

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

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

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

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

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

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

.back-link a {
    color: #4a4a4a;
    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: 30px 15px;
        margin-top: 40px;
    }
    
    .footer-disclaimer {
        font-size: 12px;
    }
    
    .footer-additional-info {
        margin: 20px 0;
        padding: 0 10px;
    }
    
    .footer-additional-info p {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .footer-links {
        font-size: 12px;
        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: 48px 0;
    background-color: #ffffff;
    margin-top: 36px;
}

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

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

.references-title {
    font-size: 24px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
}

.references-logos-image {
    width: 100%;
    max-width: 1024px;
    height: auto;
    display: block;
    margin: 0 auto 26px;
}

.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: w-12 h-12 (48px) en móvil, md:w-16 md:h-16 (64px) en desktop */
.cornell-logo {
    width: 48px;
    height: 48px;
}

/* Otros logos: w-16 h-12 (64px x 48px) en móvil, md:w-24 md:h-16 (96px x 64px) en desktop */
.other-logo {
    width: 64px;
    height: 48px;
}

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

/* Desktop: tamaños más grandes */
@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: #4b5563;
}

.reference-item {
    break-inside: avoid-column;
    margin-bottom: 0;
    padding: 9px 0 9px 12px;
    border-left: 2px solid #d1d5db;
    border-bottom: 1px solid #f3f4f6;
}

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

.reference-title {
    font-weight: 600;
    font-family: Georgia, 'Times New Roman', serif;
    color: #1f2937;
    font-size: 11.5px;
    line-height: 1.5;
    display: block;
    margin-bottom: 2px;
}

.reference-source {
    font-style: normal;
    font-size: 10.5px;
    color: #9ca3af;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

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

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

.references-toggle-container {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.references-toggle-container::before,
.references-toggle-container::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #d1d5db;
}

.references-toggle-btn {
    background: none;
    border: 1px solid #d1d5db;
    color: #6b7280;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    white-space: nowrap;
    font-family: Arial, sans-serif;
    transition: color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.references-toggle-btn:hover {
    color: #111827;
    border-color: #6b7280;
}

.toggle-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease-in-out;
}

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

/* Responsive Scientific References */
@media (max-width: 768px) {
    .scientific-references {
        padding: 32px 0;
        margin-top: 30px;
    }
    
    .references-container {
        padding: 0 16px;
    }
    
    .references-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .references-logos-image {
        margin-bottom: 20px;
    }
    
    /* Mantener 4 columnas en móvil como en el original */
    .universities-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        max-width: 100%;
    }
    
    /* Mantener 2 columnas en las referencias incluso en móvil */
    .references-content {
        columns: 2;
        column-gap: 32px;
        font-size: 12px;
    }
    
    .references-list {
        max-height: 160px;
    }
}


/* Mobile Breadcrumb - 480px and below */
@media (max-width: 480px) {
    .breadcrumb {
        font-size: 11px;
        gap: 6px;
    }
    
    .breadcrumb-icon {
        width: 10px;
        height: 10px;
    }
    
    .breadcrumb-item {
        font-size: 11px;
    }
    
    .breadcrumb-separator {
        font-size: 11px;
    }

    .topic-tags {
        gap: 6px;
        margin-bottom: 14px;
    }

    .topic-tag {
        font-size: 11px;
        padding: 7px 8px;
        border-radius: 12px;
    }

    .topic-tag-trending {
        padding-right: 20px;
    }

    .topic-tag-trending::after {
        right: -10px;
        border-top-width: 12px;
        border-bottom-width: 12px;
        border-left-width: 10px;
    }
}

