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

:root {
    --fox-blue: #003366;
    --fox-red: #C8102E;
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-tertiary: #666666;
    --bg-light: #F5F5F5;
    --border-color: #E0E0E0;
    --link-blue: #003366;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---------- NETWORK NAV ---------- */
.network-wrapper {
    background: #000;
    border-bottom: 1px solid #2a2a2a;
}

.network-nav {
    max-width: calc(100% - 520px);
    margin: 0 auto;
    overflow: hidden;
}

.network-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    padding: 8px 0 4px 0;
    margin: 0;
    white-space: nowrap;
    width: max-content;
    animation: scroll-logos 80s linear infinite;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.network-item {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
}

.network-item.fn-media .logo span {
    color: #999;
}

.invisible {
    display: none;
}

.network-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.network-item a:hover {
    color: var(--fox-red);
}

.network-item.active a {
    color: var(--fox-red);
}

.network-item .logo span {
    display: inline;
}

/* ---------- LISTRA VERMELHA ---------- */
.accent-line {
    height: 4px;
    background: var(--fox-red);
}

/* ---------- IMAGE CAROUSEL ---------- */
.image-carousel-wrapper {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
}

.image-carousel-inner {
    max-width: calc(100% - 520px);
    margin: 0 auto;
    overflow: hidden;
}

.image-carousel {
    display: flex;
    gap: 12px;
    animation: scroll-carousel 120s linear infinite;
    width: max-content;
}

.image-carousel img {
    height: 100px;
    width: auto;
    max-width: 180px;
    object-fit: cover;
    border-radius: 4px;
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.image-carousel-wrapper:hover .image-carousel {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .image-carousel-inner {
        max-width: calc(100% - 40px);
    }
}

/* ---------- SITE HEADER ---------- */
.site-header {
    position: relative;
}

.branding-inline {
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
    font-size: 0;
}

.main-logo {
    height: 50px;
    width: auto;
    display: block;
    border-radius: 8px;
    border: 3px solid #fff;
}

/* ---------- NAVIGATION ---------- */
.upper-wrapper {
    background: var(--fox-blue);
    color: #fff;
}

.nav-row-upper .inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

@media (min-width: 1024px) {
    .nav-row-upper .inner {
        padding: 0 240px;
    }
}

.primary-nav nav>ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 18px;
}

.menu-item {
    position: relative;
}

.menu-item>a {
    display: block;
    padding: 30px 0;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: capitalize;
    transition: color 0.2s;
}

.menu-item>a:hover {
    color: #ccc;
}

/* Secondary Nav */
.secondary-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
}

.search-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.search-icon i {
    font-size: 14px;
}

.btn-login,
.btn-watch {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-login {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn-login:hover {
    opacity: 0.8;
}

.btn-watch {
    background: #d71920;
    color: #fff;
}

.btn-watch:hover {
    opacity: 0.9;
}

/* ---------- TRENDING BAR ---------- */
.trending-bar {
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}

.trending-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trending-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trending-label {
    color: var(--fox-red);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.trending-links {
    display: flex;
    gap: 20px;
}

.trending-links a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.trending-links a:hover {
    color: var(--fox-red);
}

.trending-links a.highlight {
    color: var(--fox-red);
}

.trending-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.market-label {
    color: #999;
    font-weight: 600;
}

.market-value {
    font-weight: 700;
}

.market-value.positive {
    color: #63b76c;
}

/* Recommended Videos */
.recommended-videos {
    background-color: var(--bg-light);
    padding: 20px 16px;
}

.recommended-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.video-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.video-card:hover {
    transform: scale(1.02);
}

.video-card img {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 16px;
    color: white;
}

.video-badge {
    background-color: var(--fox-red);
    color: white;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.video-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

/* Article Container */
.article-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 24px 16px;
}

/* Iframe full width breakout */
#potes-frame {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    max-width: none;
}

/* Category Badge */
.category-badge {
    background-color: var(--fox-red);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

/* Article Title */
.article-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.text-danger {
    color: var(--fox-red);
}

/* Article Subtitle */
.article-subtitle {
    font-size: 18px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Author Info */
.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

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

.author-details {
    flex: 1;
}

.author-name {
    font-size: 14px;
    color: var(--text-secondary);
}

.author-name a {
    color: var(--link-blue);
    text-decoration: none;
    font-weight: 600;
}

.author-name a:hover {
    text-decoration: underline;
}

.publish-date {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook {
    background-color: #1877F2;
}

.share-btn.twitter {
    background-color: #000000;
}

.share-btn.flipboard {
    background-color: #E12828;
}

.share-btn.telegram {
    background-color: #0088CC;
}

.share-btn.print {
    background-color: #666666;
}

.share-btn.email {
    background-color: #333333;
}

.share-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.btn-add-google {
    background-color: var(--fox-blue);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
}

.btn-add-google:hover {
    background-color: #002244;
}

/* Like Section */
.like-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 20px 0;
}

.like-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-tertiary);
    transition: color 0.2s;
}

.like-button:hover {
    color: var(--fox-blue);
}

.like-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-tertiary);
    font-size: 14px;
}

/* Video Embed */
.video-embed {
    margin: 24px 0;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.video-embed img {
    width: 100%;
    height: auto;
    display: block;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.play-button-large {
    width: 80px;
    height: 80px;
    background-color: var(--fox-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.play-button-large:hover {
    transform: scale(1.1);
}

.play-button-large::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 28px solid white;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    margin-left: 6px;
}

.video-branding {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: white;
    padding: 4px 8px;
    border-radius: 2px;
}

.video-branding-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--fox-blue);
}

.video-caption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Article Content */
.article-content {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content a {
    color: var(--link-blue);
    text-decoration: underline;
    font-weight: 600;
}

.article-content a:hover {
    color: var(--fox-red);
}

.article-content h2,
.article-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 32px 0 16px;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 20px;
}

/* CTA Link */
.cta-link {
    display: block;
    color: var(--link-blue);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: underline;
    margin: 24px 0;
    letter-spacing: 0.3px;
}

.cta-link:hover {
    color: var(--fox-red);
}

/* Attention Box */
.attention-box {
    border-left: 5px solid var(--fox-red);
    background-color: var(--bg-light);
    padding: 20px;
    margin: 32px 0;
    border-radius: 0 4px 4px 0;
}

.attention-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--fox-red);
    margin-bottom: 16px;
    text-align: center;
}

.attention-label {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.attention-content {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.attention-content a {
    color: var(--link-blue);
    text-decoration: underline;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    margin: 40px 0;
    text-align: center;
}

.cta-intro {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta-media {
    position: relative;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.cta-media img {
    width: 100%;
    height: auto;
    display: block;
}

.cta-button {
    display: inline-block;
    background-color: var(--fox-red);
    color: white;
    font-size: 20px;
    font-weight: 700;
    padding: 18px 60px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    text-transform: none;
    animation: pulse 2s infinite;
    transition: transform 0.2s;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.cta-button:hover {
    transform: scale(1.05);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3), 0 0 0 0 rgba(200, 16, 46, 0.7);
    }

    50% {
        box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3), 0 0 0 15px rgba(200, 16, 46, 0);
    }
}

/* Comments Section */
.comments-section {
    margin: 48px 0;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.comment {
    display: flex;
    gap: 12px;
    padding: 20px;
    background-color: var(--bg-light);
    margin-bottom: 16px;
    border-radius: 4px;
}

.comment:nth-child(even) {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-size: 15px;
    font-weight: 700;
    color: var(--link-blue);
    margin-bottom: 8px;
}

.comment-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.comment-actions {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.comment-action {
    cursor: pointer;
    transition: color 0.2s;
}

.comment-action:hover {
    color: var(--fox-blue);
}

.comments-closed {
    text-align: center;
    padding: 24px;
    font-size: 15px;
    color: var(--text-tertiary);
    background-color: var(--bg-light);
    border-radius: 4px;
    margin-top: 20px;
}

.comments-closed a {
    color: var(--link-blue);
    text-decoration: none;
    font-weight: 600;
}

.comments-closed a:hover {
    text-decoration: underline;
}

/* Facebook Comments Section */
.fb-comments-section {
    margin: 32px 0;
    background: #fff;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    overflow: hidden;
}

.fb-comments-header {
    background: #f5f6f7;
    padding: 12px 16px;
    border-bottom: 1px solid #dddfe2;
}

.fb-comments-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1c1e21;
}

.fb-comments-title i {
    color: #1877f2;
    font-size: 18px;
}

.fb-comment {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #eff1f3;
    position: relative;
}

.fb-comment:last-of-type {
    border-bottom: none;
}

.fb-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.fb-comment-content {
    flex: 1;
}

.fb-comment-author {
    font-size: 13px;
    font-weight: 600;
    color: #050505;
    margin-bottom: 2px;
}

.fb-comment-text {
    font-size: 14px;
    line-height: 1.4;
    color: #050505;
    margin-bottom: 6px;
}

.fb-comment-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
}

.fb-action {
    color: #65676b;
    font-weight: 600;
    cursor: pointer;
}

.fb-action:hover {
    text-decoration: underline;
}

.fb-separator {
    color: #65676b;
}

.fb-time {
    color: #65676b;
}

.fb-comment-likes {
    position: absolute;
    right: 16px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid #dddfe2;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 12px;
    color: #65676b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.fb-comment-likes i {
    color: #1877f2;
    font-size: 12px;
}

.fb-comments-closed {
    text-align: center;
    padding: 16px;
    font-size: 13px;
    color: #65676b;
    background: #f5f6f7;
    border-top: 1px solid #dddfe2;
}

/* Scientific References Section */
.references-section {
    margin: 40px 0;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--fox-blue);
}

.references-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 4px;
}

.references-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--fox-blue);
    margin-bottom: 16px;
}

.references-list {
    padding-left: 20px;
    margin: 0;
}

.references-list li {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.references-list li:last-child {
    margin-bottom: 0;
}

/* Author name highlight */
.author-name-highlight {
    color: var(--link-blue);
    font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
    margin: 48px 0;
}

.testimonial {
    margin-bottom: 40px;
}

.testimonial-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 16px;
    border-radius: 4px;
    overflow: hidden;
}

.testimonial-images img {
    width: 100%;
    height: auto;
    display: block;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
    padding: 0 16px;
}

/* Related Article */
.related-article {
    margin: 32px 0;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 4px;
}

.related-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.related-card {
    display: flex;
    gap: 16px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.related-card:hover {
    opacity: 0.8;
}

.related-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 4px;
}

.related-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

/* Responsive */
@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr 1fr;
    }

    .article-title {
        font-size: 42px;
    }

    .article-subtitle {
        font-size: 20px;
    }

    .article-content {
        font-size: 19px;
    }

    .related-image {
        width: 140px;
        height: 140px;
    }

    .related-text {
        font-size: 18px;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .primary-nav nav>ul {
        gap: 16px;
    }

    .menu-item>a {
        font-size: 12px;
    }

    .trending-links {
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .network-nav {
        max-width: calc(100% - 40px);
    }

    .network-nav ul {
        gap: 12px;
        font-size: 10px;
    }

    .primary-nav {
        display: none;
    }

    .main-logo {
        height: 48px;
        border-radius: 6px;
        border: 2px solid #fff;
    }

    .nav-row-upper .inner {
        padding: 15px 16px;
    }

    .trending-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .btn-login {
        display: none;
    }

    .accent-line {
        display: none;
    }

    .article-title {
        font-size: 28px;
    }

    .testimonial-images {
        grid-template-columns: 1fr;
    }

    .cta-button {
        font-size: 18px;
        padding: 16px 40px;
    }
}