/* =========================================================================
   IBROSS - DESIGN SYSTEM & STYLES
   ========================================================================= */

:root {
    --primary-yellow: #EBAB18;
    --primary-yellow-light: #f0c152;
    --secondary-blue: #0A3C6B;
    --secondary-blue-dark: #082f54;
    --accent-gray: #7f8c8d;
    --text-dark: #2C3E50;
    --text-muted: #596a7b;
    --bg-white: #FFFFFF;
    --bg-light: #F4F7F9;
    --bg-dark: #122131;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-pill: 50px;
    --shadow-sm: 0 4px 6px rgba(10, 60, 107, 0.05);
    --shadow-md: 0 10px 20px rgba(10, 60, 107, 0.08);
    --shadow-lg: 0 20px 40px rgba(10, 60, 107, 0.12);
    --shadow-hover: 0 15px 35px rgba(10, 60, 107, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: all 0.5s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /*padding-top: 130px;*/
    padding-top: 42px;
}

a {
    text-decoration: none;
    color: var(--primary-yellow);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 0;
    position: relative;
}
/*
.section-title::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-blue);
}
*/
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    margin-top: -8px;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.mt-8 {
    margin-top: 32px;
}

.mt-12 {
    margin-top: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--border-radius-pill);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.btn i {
    margin-left: 8px;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--primary-yellow-light);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.btn-outline:hover {
    background-color: var(--primary-yellow);
    color: var(--bg-white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-text {
    font-weight: 600;
    color: var(--primary-yellow);
    display: inline-flex;
    align-items: center;
}

.btn-text i {
    margin-left: 6px;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--primary-yellow-light);
}

.btn-text:hover i {
    transform: translateX(4px);
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: var(--secondary-blue-dark);
    color: var(--bg-white);
    z-index: 1001;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-bar-contact {
    display: flex;
    gap: 20px;
}

.top-bar-contact a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-contact a:hover {
    color: var(--primary-yellow);
}

.top-bar-social {
    display: flex;
    gap: 15px;
}

.top-bar-social a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.top-bar-social a:hover {
    color: var(--primary-yellow);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    height: 90px;
    /*background-color: transparent;*/
    background-color: var(--bg-white);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header.scrolled {
    background-color: var(--bg-white);
    height: 80px;
    top: 40px;
    box-shadow: var(--shadow-md);
    z-index: 1002;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-white);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.header.scrolled .logo {
    color: var(--primary-yellow);
}

.logo i {
    font-size: 1.75rem;
    margin-right: 10px;
    color: var(--secondary-blue);
}

.nav-list {
    display: flex;
    gap: 15px;
}

.nav-link {
    color: #0A3C6B;
    font-weight: 500;
    font-size: 0.8125rem;
    position: relative;
    padding: 8px 0;
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-blue);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-blue-dark);
}

.header.scrolled .nav-link:hover {
    color: var(--primary-yellow);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .btn-outline {
    border-color: var(--secondary-blue-dark);
    color: var(--secondary-blue-dark);
}

.header.scrolled .btn-outline {
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
}

.header .btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary-yellow);
    border-color: var(--bg-white);
}

.header .btn {
    padding: 8px 20px;
    font-size: 0.8125rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--bg-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.header.scrolled .mobile-menu-toggle {
    color: var(--primary-yellow);
}

/* Hero */
.hero {
    height: 80vh;
    min-height: 600px;
    position: relative;
    background-color: var(--primary-yellow);
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 10s ease;
}

.swiper-slide-active .slide-bg {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 60, 107, 0.9) 0%, rgba(10, 60, 107, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--bg-white);
    max-width: 800px;
    padding-top: 80px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border-radius: var(--border-radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 4rem;
    color: var(--bg-white);
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
}

.slide-noticias
{
    width: 350px;
    margin: 0 20px;
}

.swiper-slide .hero-content>* {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.swiper-slide-active .hero-content .hero-badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.swiper-slide-active .hero-content .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.swiper-slide-active .hero-content .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.swiper-slide-active .hero-content .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.hero-swiper .swiper-pagination-bullet {
    background-color: var(--bg-white);
    opacity: 0.5;
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
    transition: var(--transition);
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
    background-color: var(--secondary-blue);
}

.hero-nav {
    color: var(--bg-white);
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: var(--transition);
}

.hero-nav:hover {
    background-color: var(--secondary-blue);
}

.hero-nav::after {
    font-size: 1.2rem;
}

/* News */
.news-swiper {
    padding-bottom: 50px;
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
}

.news-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.news-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumbnail img {
    transform: scale(1.08);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-blue);
    color: var(--bg-white);
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--primary-yellow);
    min-height: 2.8em;
}

.news-excerpt {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-swiper .swiper-pagination-bullet {
    background-color: var(--primary-yellow);
    opacity: 0.2;
}

.news-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--primary-yellow);
}

.mobile-only-btn {
    display: none;
}

/* Publications */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pub-card {
    display: flex;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.pub-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.pub-cover {
    width: 110px;
    flex-shrink: 0;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    aspect-ratio: 3/4;
}

.pub-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pub-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 60, 107, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-white);
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.pub-card:hover .pub-overlay {
    opacity: 1;
}

.pub-info {
    flex-grow: 1;
}

.pub-title {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.pub-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Associates */
.associates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.associate-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 140px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.associate-card img {
    max-height: 150px;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
}

.associate-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.associate-card:hover img {
    filter: grayscale(0%) opacity(1);
}

.grid-small {
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.associate-card.aspirant {
    height: 150px;
    padding: 20px;
}

.associate-card.aspirant img {
    max-height: 100px;
}

.subsection-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Highlights */
.highlight-banners {
    padding: 0;
}

.banner-split {
    display: flex;
    width: 100%;
}

.split-card {
    flex: 1;
    position: relative;
    height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: var(--bg-white);
    overflow: hidden;
}

.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 60, 107, 0.7);
    z-index: 1;
    transition: var(--transition);
}

.split-card:hover .split-overlay {
    background-color: rgba(10, 60, 107, 0.85);
}

.split-content {
    position: relative;
    z-index: 2;
    max-width: 450px;
}

.split-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--secondary-blue);
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.split-content h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.split-content p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 24px;
}

.footer-logo i {
    color: var(--secondary-blue);
    margin-right: 10px;
}

.footer-desc {
    line-height: 1.8;
}

.footer-heading {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.75rem;
    color: var(--secondary-blue);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--bg-white);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info i {
    color: var(--primary-yellow);
    font-size: 1.25rem;
    margin-right: 16px;
    margin-top: 4px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.7);
}

.contact-info a:hover {
    color: var(--bg-white);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
}

.btn-sobre {
    display: none;
}

.btn-associados {
    display: none;
}

/* Media Queries */
@media (max-width: 1199px) {
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .associates-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .header-actions .btn-outline {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .associates-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-small {
        grid-template-columns: repeat(3, 1fr);
    }

    .banner-split {
        flex-direction: column;
    }

    .split-card {
        height: 400px;
        padding: 40px;
    }
}

@media (max-width: 767px) {
    .top-bar-contact span {
        display: none;
    }

    .top-bar-contact {
        gap: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .section-header .btn-text {
        display: none;
    }

    .mobile-only-btn {
        display: block;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        transition: var(--transition);
        padding: 40px 24px;
        overflow-y: auto;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .nav-link {
        color: var(--text-dark);
        font-size: 1.125rem;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 12px;
    }

    .header.scrolled .nav {
        top: 113px;
    }

    .header .btn-primary {
        display: none;
    }

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .publications-grid {
        grid-template-columns: 1fr;
    }

    .pub-card {
        flex-direction: column;
        text-align: center;
    }

    .pub-cover {
        width: 100%;
        height: 200px;
        aspect-ratio: auto;
    }

    .associates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-small {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .btn-sobre {
        display: block;
    }

    .btn-associados {
        display: block;
    }
}

/* =========================================================================
   NEWS DETAIL PAGE STYLES
   ========================================================================= */

.news-detail-wrapper {
    padding-bottom: 80px;
    margin-top: 20px;
}

/* Breadcrumbs */
.breadcrumbs-section {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.breadcrumbs li::after {
    content: '/';
    margin-left: 10px;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--primary-yellow);
}

.breadcrumbs li.active {
    color: var(--secondary-blue);
    font-weight: 600;
}

/* News Header */
.news-header {
    margin-bottom: 40px;
}

.news-header-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.news-category-badge {
    background-color: var(--secondary-blue);
    color: var(--bg-white);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
}

.news-date-item {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-detail-title {
    font-size: 3rem;
    color: var(--secondary-blue);
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 900px;
}

.news-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 500;
    max-width: 850px;
}

/* Share Bar */
.news-share-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.share-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg-white);
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.share-btn.fb {
    background-color: #3b5998;
}

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

.share-btn.in {
    background-color: #0077b5;
}

.share-btn.wa {
    background-color: #25d366;
}

.share-btn.cp {
    background-color: var(--accent-gray);
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
    color: var(--bg-white);
}

/* Featured Image */
.news-featured-image {
    margin-bottom: 60px;
}

.featured-image-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.featured-image-container img {
    width: 100%;
}

.image-caption {
    padding: 15px 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* Content Body */
.news-detail-body {
    margin-bottom: 80px;
}

.news-text-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-text-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.news-text-content h3 {
    font-size: 1.75rem;
    color: var(--secondary-blue);
    margin: 40px 0 20px;
}

.news-text-content blockquote {
    font-size: 1.5rem;
    line-height: 1.4;
    font-style: italic;
    color: var(--secondary-blue);
    border-left: 5px solid var(--primary-yellow);
    padding: 20px 40px;
    margin: 40px 0;
    background-color: var(--bg-light);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.content-inline-image {
    margin: 40px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.news-footer-actions {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Related News */
.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Responsive adjustments for news detail */
@media (max-width: 991px) {
    .news-detail-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 767px) {
    .news-detail-title {
        font-size: 1.875rem;
    }

    .news-header-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-lead {
        font-size: 1.125rem;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
    }

    .news-text-content blockquote {
        font-size: 1.25rem;
        padding: 20px;
    }
}

/* =========================================================================
   NEWS LISTING PAGE STYLES
   ========================================================================= */

.news-list-wrapper {
    padding-bottom: 80px;
}

.news-list-header {
    margin-bottom: 40px;
    padding: 60px 0 20px;
}

.list-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 30px;
}

.list-header-content .section-title {
    margin-bottom: 0;
}

.search-container {
    flex: 0 0 400px;
}

.search-form {
    position: relative;
    display: flex;
}

.search-form input {
    width: 100%;
    padding: 14px 50px 14px 24px;
    border: 2px solid #e1e8ed;
    border-radius: var(--border-radius-pill);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--transition);
    outline: none;
}

.search-form input:focus {
    border-color: var(--primary-yellow);
    box-shadow: var(--shadow-sm);
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-yellow);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

.search-form button:hover {
    background-color: var(--primary-yellow-light);
    transform: scale(1.05);
}

.news-grid-section {
    padding-top: 0;
}

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

.pagination-info {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive adjustments for news listing */
@media (max-width: 991px) {
    .list-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .search-container {
        width: 100%;
        flex: none;
    }
}

@media (max-width: 767px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   STUDIES SECTION STYLES
   ========================================================================= */

.study-detail-wrapper {
    padding-bottom: 80px;
}

.study-container {
    display: flex;
    gap: 60px;
    margin: 40px 0;
}

.study-sidebar {
    flex: 0 0 350px;
}

.study-main-content {
    flex: 1;
}

.study-cover-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 120px;
}

.study-cover-card img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.study-actions .btn-full {
    width: 100%;
    margin-bottom: 20px;
    justify-content: center;
}

.study-share {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.study-title {
    font-size: 2.75rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 800;
}

.study-meta {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.study-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.study-text p {
    margin-bottom: 20px;
}

.study-text ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.study-text li {
    margin-bottom: 10px;
    position: relative;
    list-style-type: none;
    padding-left: 15px;
}

.study-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
}

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

/* Studies List Page Layout */
.studies-list-wrapper .news-list-header {
    background-color: var(--bg-light);
    border-bottom: none;
}

/* Responsividade Estudos */
@media (max-width: 991px) {
    .study-container {
        flex-direction: column;
        gap: 40px;
    }

    .study-sidebar {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .study-cover-card {
        position: static;
    }

    .study-title {
        font-size: 2.25rem;
    }

    .studies-grid.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .study-title {
        font-size: 1.875rem;
    }

    .studies-grid.grid-3 {
        grid-template-columns: 1fr;
    }
}
/* =========================================================================
   AWARD (PRÊMIO) PAGE STYLES
   ========================================================================= */

.premio-page-wrapper {
    padding-bottom: 80px;
}

.premio-hero {
    background-color: var(--secondary-blue);
    background-image: linear-gradient(135deg, var(--secondary-blue-dark) 0%, var(--secondary-blue) 100%);
    padding: 80px 0 60px;
    color: var(--bg-white);
    text-align: center;
}

.premio-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.premio-title {
    font-size: 3rem;
    font-weight: 800;
    margin: 16px 0 20px;
    line-height: 1.15;
    color: var(--bg-white);
}

.premio-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    color: var(--bg-white);
}

/* Main 2-col layout */
.premio-body {
    padding: 60px 0 80px;
}

.premio-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: flex-start;
}

/* Featured image in article */
.premio-featured-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.premio-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Podium */
.podium-section {
    margin: 48px 0;
}

.podium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-end;
    gap: 20px;
}

.podium-item {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.podium-item.first {
    min-height: 320px;
    border: 2px solid var(--primary-yellow);
}

.podium-item.second {
    min-height: 260px;
}

.podium-item.third {
    min-height: 220px;
}

.gold-crown {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
}

.podium-rank {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary-blue);
    opacity: 0.18;
    line-height: 1;
    margin-bottom: 12px;
}

.podium-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    margin: 0;
}

/* Sidebar */
.premio-sidebar {
    position: sticky;
    top: 130px;
}

.premio-sidebar-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.premio-sidebar-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-blue);
    margin-bottom: 16px;
}

/* Event info card inside sidebar */
.sidebar-info-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 28px;
}

.sidebar-info-card h4 {
    margin-bottom: 14px;
}

.sidebar-info-card h4 i {
    margin-right: 8px;
    color: var(--primary-yellow);
}

.sidebar-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-info-card li {
    font-size: 0.9375rem;
    color: var(--text-dark);
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    display: flex;
    gap: 6px;
}

.sidebar-info-card li:last-child {
    border-bottom: none;
}

/* Award Share Buttons */
.award-share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 4px;
}

.award-share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--border-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg-white);
    transition: var(--transition);
}

.award-share-btn:hover {
    opacity: 0.88;
    transform: translateX(4px);
    color: var(--bg-white);
}

.award-share-btn.fb { background-color: #3b5998; }
.award-share-btn.tw { background-color: #111111; }
.award-share-btn.li { background-color: #0077b5; }
.award-share-btn.wa { background-color: #25d366; }

/* Partners */
.partner-box {
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-blue);
    border-left: 4px solid var(--primary-yellow);
}

/* Responsive Premio */
@media (max-width: 1100px) {
    .premio-grid {
        grid-template-columns: 1fr 280px;
        gap: 40px;
    }

    .premio-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .premio-grid {
        grid-template-columns: 1fr;
    }

    .premio-sidebar {
        position: static;
    }

    .podium-grid {
        gap: 12px;
    }

    .podium-item.first {
        min-height: 250px;
    }
}

@media (max-width: 767px) {
    .podium-grid {
        grid-template-columns: 1fr;
    }

    .podium-item,
    .podium-item.first,
    .podium-item.second,
    .podium-item.third {
        min-height: auto;
        padding: 24px 20px;
    }

    .gold-crown {
        top: -18px;
        font-size: 1.8rem;
    }

    .premio-title {
        font-size: 2rem;
    }
}
