/* Base Reset - Mobile First */
:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-dark-blue: #0a2540;
    --color-green: #5dcaa5;
    --color-green-light: #46573d;
    --color-gray-light: #a2acb6;
}

hr {
    border: 0;
    border-top: 1px solid var(--color-gray-light);
    margin: 2.5rem 0 2.5rem;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.page-research .header {
    background-color: var(--color-white);
    backdrop-filter: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

/* Layout Classes */
.container {
    width: 100%;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.section {
    padding: 3rem 0;
}

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

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

.section-header {
    margin-bottom: 2rem;
}

.section-header h1,
.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h1::after,
.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header.text-center h1::after,
.section-header.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.contact-map {
    width: 100%;
    height: 260px;
    margin-top: 60px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

body.page-contact main.page-content > .contact-directory {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.team-intro {
    margin-top: 60px;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    width: 100%;
    position: relative;
}

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

.logo img {
    height: 32px;
}

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    margin-left: auto;
}

.main-nav {
    display: none; /* hidden on mobile, toggled via JS */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0;
}

.nav-links li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

.nav-links .language-switcher a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switcher img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(10, 37, 64, 0.14);
}

.dropdown-menu {
    display: none;
    list-style: none;
    background-color: var(--bg-light);
}

.dropdown-trigger:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding-left: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Page Headers */
.page-header {
    margin-top: 60px; /* offset for mobile header */
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: calc(100vh - 60px);
    min-height: 500px;
    overflow: hidden;
    margin-top: 0;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.carousel-slide.active .carousel-bg {
    transform: scale(1);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

.carousel-overlay-var {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark-blue);
    z-index: -1;
}
.carousel-container {
    position: relative;
    z-index: 5;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.carousel-content {
    max-width: 720px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
}

.carousel-slide.active .carousel-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-badge--green {
    background-color: var(--color-green);
}

.hero-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-title2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--color-green);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #5dcaa5
}

.hero-title--white {
    color: var(--color-white);
}

.hero-title--green {
    color: var(--color-green);
}

.hero-title span {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero-description--gray-light {
    font-size: 1rem;
    color: var(--color-gray-light);
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

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

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

.btn-primary--research {
    background-color: #1d9e75;
    border-color: #1d9e75;
    color: #e1f5ee;
}

.btn-primary--research:hover {
    background-color: #53b267;
    border-color: #53b267;
    color: var(--color-white);
}

.btn-secondary--research {
    border-color: var(--color-gray-light);
    color: var(--color-gray-light);
}

.btn-secondary--research:hover {
    background-color: VAR(--color-green-light);
    border-color: var(--color-gray-light);
    color: var(--color-gray-light);
}


/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.carousel-control:hover {
    background: var(--primary-color);
    color: white;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators .dot {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 767px) {
    body.page-home .location-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .location-grid .glass-card {
        min-width: 0;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .location-grid .glass-link {
        overflow-wrap: anywhere;
    }

    body.page-research .hero-carousel {
        margin-top: 60px;
        height: calc(100vh + 60px);
        height: calc(100svh + 60px);
    }

    .hero-carousel {
        height: calc(100vh - 64px);
        height: calc(100svh - 64px);
        min-height: 560px;
    }

    .carousel-slide {
        align-items: flex-start;
    }

    .carousel-container {
        padding-top: clamp(1.5rem, 6vh, 3rem);
        padding-bottom: 6.5rem;
    }

    .carousel-content {
        max-width: none;
        padding-right: 0;
    }

    .hero-badge {
        width: 100%;
        margin-bottom: 1.25rem;
        padding: 0.45rem 1rem;
        text-align: center;
        line-height: 1.45;
    }

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

    .hero-description {
        margin-bottom: 1.5rem;
        font-size: 1.02rem;
        line-height: 1.55;
    }

    .hero-actions {
        gap: 0.85rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .carousel-control {
        top: auto;
        bottom: 1.25rem;
        transform: none;
        width: 42px;
        height: 42px;
    }

    .carousel-control.prev {
        left: calc(50% - 76px);
    }

    .carousel-control.next {
        right: calc(50% - 76px);
    }

    .carousel-indicators {
        bottom: 2.15rem;
    }
}

/* Grids */
.research-grid,
.news-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.research-grid {
    margin: 10px;
}

.research-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.news-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.news-card:hover .news-image img {
    transform: scale(1.05); /* Efeito suave na foto ao passar o mouse */
}

.news-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1; /* Pushes the link/source to exactly the same spot if heights vary */
}

.news-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1; /* Preenche o espaço vazio */
}

.rc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 6px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.rc-icon--npc {
    background-color: #e1f5ee;
    color: #16765d;
}

.rc-icon--bio {
    background-color: #eeeeff;
    color: #3d368e;
}

.rc-icon--nmd {
    background-color: #e4f0fa;
    color: #194d80;
}

.research-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 1rem;
    border-radius: 10px;
    object-fit: cover;
}

.research-card--featured {
    box-shadow: 0 6px 18px rgba(10, 37, 64, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-card--featured:hover,
.research-card--featured:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(10, 37, 64, 0.18);
}

.research-card--featured .research-card-image {
    transition: transform 1.4s ease;
}

.research-card--featured:hover .research-card-image,
.research-card--featured:focus-within .research-card-image {
    transform: scale(1.03);
}

.research-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.news-source {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.news-link {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Publications */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.publication-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.pub-journal {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
}

.pub-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pub-title a {
    color: var(--text-dark);
}

.pub-authors {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Static template sections */
.hero-bg-lab-1 {
    background-image: url('../images/sliders/01.jpg');
}
.hero-bg-lab-2 {
    background-image: url('../images/sliders/02.jpg');
}
.hero-bg-lab-3 {
    background-image: url('../images/sliders/03.jpg');
}
.hero-bg-lab-4 {
    background-image: url('../images/sliders/04.jpg');
}

.hero-bg-tech {
    background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=1920');
}

.hero-bg-clinical {
    background-image: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&q=80&w=1920');
}

.featured-image {
    max-width: 1200px;
    margin: 0 auto 3rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 450px;
    background-position: center;
    background-size: cover;
}

.featured-image-lab {
    background-image: url('../images/featured/feat-02.jpg?v=20260710-1');
}

.btn-spaced {
    margin-top: 2rem;
}

.icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light), #e2e8f0);
}

.icon-placeholder i {
    color: #cbd5e1;
    font-size: 5rem;
}

.location-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.location-bg,
.location-overlay {
    position: absolute;
    inset: 0;
}

.location-bg {
    background-image: url('../images/niteroi.jpg');
    background-position: center;
    background-size: cover;
    filter: grayscale(100%);
    z-index: 0;
}

.location-overlay {
    background: linear-gradient(to right, rgba(26, 86, 149, 0.4) 0%, rgba(26, 86, 149, 0.95) 100%);
    z-index: 1;
}

.location-content {
    position: relative;
    z-index: 2;
}

.location-header {
    margin-bottom: 4rem;
    text-align: center;
}

.location-header h2,
.glass-card h3 {
    color: white;
    font-family: var(--font-heading);
}

.location-header h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.location-header p {
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.glass-card {
    padding: 3rem 2.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover,
.glass-card:focus-within {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.28);
}

.glass-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.glass-icon i {
    color: white;
    font-size: 1.8rem;
}

.glass-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.glass-card p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.glass-link {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-pill);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.glass-link-light {
    color: var(--primary-dark);
    background: white;
    box-shadow: var(--shadow-md);
}

.glass-link-outline {
    color: white;
    border: 2px solid white;
    transition: background 0.3s ease, color 0.3s ease;
}

.glass-link-outline:hover {
    color: var(--primary-dark);
    background: white;
}

.leader-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.leader-photo,
.leader-content {
    min-width: 300px;
}

.leader-photo {
    flex: 1;
    min-height: 480px;
    align-self: stretch;
    background-position: center;
    background-size: cover;
    object-fit: cover;
}

.leader-photo-main {
    background-image: url("../images/team/team-01.png");
}

.leader-content {
    flex: 1.5;
    padding: 4rem;
}

@media (max-width: 767px) {
    .leader-card {
        flex-direction: column;
    }

    .leader-photo,
    .leader-content {
        width: 100%;
        min-width: 0;
    }

    .leader-photo {
        min-height: 0;
        align-self: auto;
        height: auto;
        object-fit: contain;
    }
}

.leader-title {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 2.75rem;
}

.leader-role {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.leader-text {
    margin-bottom: 2rem;
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.8;
}

.leader-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.button-icon {
    margin-left: 0.75rem;
    font-size: 1.25rem;
}

.team-section {
    padding: 5rem 0 7rem;
}

.team-header {
    margin-bottom: 4rem;
}

.team-link {
    display: inline-block;
    margin-top: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .team-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

.team-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-card-photo {
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.team-photo-camila {
    background-image: url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&q=80&w=600');
}

.team-photo-marcos {
    background-image: url('https://images.unsplash.com/photo-1581092795360-fd1ca04f0952?auto=format&fit=crop&q=80&w=600');
}

.team-photo-amanda {
    background-image: url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&q=80&w=600');
}

.team-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2.5rem 2rem;
}

.team-card-body h3 {
    margin-bottom: 0.25rem;
    font-size: 1.45rem;
}

.team-card-role {
    display: inline-block;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.team-card-body p {
    flex: 1;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.btn-full {
    width: 100%;
}

.contact-page-header {
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.contact-info-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.map-frame {
    min-height: 400px;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-details {
    padding: 4rem 3rem;
}

.contact-details h3 {
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 2rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(26, 86, 149, 0.1);
}

.contact-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.contact-item p,
.contact-link {
    margin: 0;
    color: var(--text-main);
}

.contact-item p {
    line-height: 1.6;
}

.contact-link {
    font-weight: 500;
    text-decoration: none;
}

.social-inline {
    display: flex;
    gap: 1rem;
}

.social-inline a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-inline a:hover {
    color: var(--primary-dark);
}

.contact-form-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    align-items: center;
}

.contact-form-title {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 2.2rem;
}

.contact-form-intro {
    margin-bottom: 3rem;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-submit {
    justify-content: center;
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
}

#contact-form-alert .alert {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
}

#contact-form-alert .alert-success {
    color: #155724;
    border-color: #c3e6cb;
    background-color: #d4edda;
}

#contact-form-alert .alert-danger {
    color: #721c24;
    border-color: #f5c6cb;
    background-color: #f8d7da;
}

.contact-submit:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.submit-icon {
    margin-left: 0.5rem;
}

.contact-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light), #e2e8f0);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-visual-icon {
    position: absolute;
    color: #cbd5e1;
    font-size: 8rem;
}

.contact-visual-logo {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    opacity: 1;
    transform: scale(1);
    transition: transform 3s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-visual:hover .contact-visual-logo {
    transform: scale(1.18);
}

.pub-card-modern {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.publications-section .publications-list {
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pub-card-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 250px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.pub-card-img-wrapper.alt {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.pub-card-img-wrapper i {
    color: rgba(255, 255, 255, 0.2);
    font-size: 6rem;
}

.pub-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2.5rem;
}

.pub-card-label {
    display: inline-block;
    width: fit-content;
    margin-bottom: 1.25rem;
    padding: 0.35rem 0.85rem;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(26, 86, 149, 0.1);
    border: 1px solid rgba(26, 86, 149, 0.2);
    border-radius: 4px;
}

.pub-card-title {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.4rem;
    line-height: 1.4;
}

.pub-card-title a {
    color: inherit;
    text-decoration: none;
}

.pub-card-text {
    flex: 1;
    margin-bottom: 2rem;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.6;
}

.pub-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.pub-card-authors {
    margin: 0 0 0.2rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.pub-card-date {
    margin: 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.pub-card-button {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

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

.footer-container .col-4 {
    width: 100%;
}

.footer-logo {
    height: 48px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

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

.footer h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-contact p,
.footer-contact a,
.footer-links a,
.footer-bottom a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover,
.footer-links a:hover,
.footer-bottom a:hover {
    color: white;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.8rem;
}

/* ==========================================================================
   Media Queries - Desktop / Tablets (Min-width scaling)
   ========================================================================== */

/* Tablet and larger */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .carousel-content {
        margin-left: 5%;
    }

    .section {
        padding: 5rem 0;
    }

    .header-container {
        max-width: 1200px;
        margin: 0 auto;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero-grid {
        flex-direction: row;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
    }

    .hero-content {
        flex: 1;
    }

    .hero-visual {
        flex: 1;
    }

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

    .hero-actions {
        flex-direction: row;
        gap: 1rem;
    }

    .research-grid,
    .news-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .research-card,
    .news-card {
        flex: 1 1 300px; /* grow, shrink, basewidth */
    }

    .publications-list {
        max-width: 800px;
        margin: 0 auto;
    }

    .pub-card-modern {
        flex-direction: row;
    }

    .pub-card-img-wrapper {
        width: 320px;
        min-width: 320px;
        height: auto;
        border-right: 1px solid var(--border-color);
        border-bottom: none;
    }

    .footer-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer-container .col-4 {
        flex: 0 1 calc((100% - 4rem) / 3);
        max-width: calc((100% - 4rem) / 3);
    }

    .footer-info {
        margin-bottom: 0;
    }
}

/* Desktop Only Menu Handling */
@media (min-width: 1024px) {
    .contact-map {
        height: 500px;
        margin-top: 70px;
    }

    .team-intro {
        margin-top: 70px;
    }

    .page-header {
        margin-top: 70px; /* thicker header */
    }

    .logo img {
        height: 40px;
    }

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

    .main-nav {
        display: block !important; /* override JS */
        position: static;
        box-shadow: none;
        padding: 0;
        width: auto;
    }

    .nav-links {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-links li a {
        padding: 0.5rem 0;
        position: relative;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links .language-switcher a {
        white-space: nowrap;
    }

    .nav-links li a:hover,
    .nav-links li a.active {
        background-color: transparent;
    }

    .dropdown-trigger {
        position: relative;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        box-shadow: var(--shadow-md);
        border-radius: var(--radius-md);
        background-color: white;
        padding: 0.5rem 0;
        /* hover visibility approach from earlier */
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }

    .dropdown-trigger:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu li a {
        padding: 0.5rem 1.5rem;
    }

    .footer-container {
        flex-wrap: nowrap;
    }

    .footer-info {
        margin-bottom: 0;
    }
}

/* Utility overrides kept last to survive breakpoint rules */
.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.mt-2 {
    margin-top: 2rem;
}

body.page-home .hero-carousel {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.page-home .header {
    position: sticky;
}

.section.team-section {
    padding: 5rem 0 7rem;
}

/* Team directory */
body.page-team .team-directory {
    padding-top: 7.5rem;
    padding-bottom: 5rem;
}

.team-directory-header {
    max-width: 740px;
    margin-bottom: 2.25rem;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 0.6rem;
    padding-left: 0.55rem;
    border-left: 3px solid var(--color-green);
    color: #08745d;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.1;
    text-transform: uppercase;
}

.team-directory-header h1,
.team-openings h2 {
    margin-bottom: 0.65rem;
    font-size: 2rem;
}

.team-directory-header p,
.team-openings-intro {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

.team-directory-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.65rem;
}

.team-profile-card {
    min-height: 176px;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--color-white);
}

.team-profile-photo {
    width: 7rem;
    height: 7rem;
    margin-bottom: 0.65rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.team-profile-card h2 {
    min-height: 2.45em;
    margin-bottom: 0.45rem;
    font-size: 0.85rem;
    line-height: 1.25;
}

.team-role {
    display: inline-flex;
    max-width: 100%;
    min-height: 1.9rem;
    align-items: center;
    margin-bottom: 0.55rem;
    padding: 0.38rem 0.5rem;
    border-radius: 999px;
    color: #5d665f;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    line-height: 1.15;
    text-transform: uppercase;
}

.team-role--green { background: #dcf5ed; }
.team-role--yellow { background: #fff2d9; }
.team-role--purple { background: #eeeeff; }
.team-role--gray { background: #eef2f3; }

.team-profile-links {
    display: flex;
    gap: 0.45rem;
}

.team-profile-links a,
.opening-card a {
    color: #08745d;
    font-size: 0.66rem;
    font-weight: 700;
}

.team-profile-links a + a::before {
    content: '·';
    margin-right: 0.45rem;
}

.team-openings {
    margin-top: 2.5rem;
    padding-top: 2.15rem;
    border-top: 1px solid var(--border-color);
}

.team-openings-intro {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.team-openings-intro a { color: #08745d; }

.team-openings-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.65rem;
}

.opening-card {
    display: flex;
    min-height: 205px;
    flex-direction: column;
    padding: 1.1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--color-white);
}

.opening-icon {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    border-radius: 0.45rem;
    color: #08745d;
    font-size: 0.65rem;
    font-weight: 700;
}

.opening-icon--green { background: #dcf5ed; }
.opening-icon--purple { background: #eeeeff; color: #57469c; }
.opening-icon--blue { background: #e4f1fc; color: #226494; }

.opening-card h3 {
    margin-bottom: 0.25rem;
    font-size: 0.88rem;
}

.opening-card p {
    flex: 1;
    margin-bottom: 0.9rem;
    color: var(--text-light);
    font-size: 0.78rem;
    line-height: 1.55;
}

@media (min-width: 560px) {
    .team-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .team-openings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
    .team-directory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .team-openings-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Collaborations directory */
body.page-colaborations .collaborations-directory {
    padding-top: 7.5rem;
    padding-bottom: 5rem;
}

.collaborations-header {
    max-width: 780px;
    margin-bottom: 2.35rem;
}

.collaborations-header h1,
.collaborations-funders h2 {
    margin-bottom: 0.65rem;
    font-size: 2rem;
}

.collaborations-header p,
.collaborations-funders > p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

.collaboration-region {
    margin-bottom: 1.75rem;
}

.collaboration-region .section-kicker {
    margin-bottom: 0.45rem;
}

.collaboration-region h2 {
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
}

.collaborations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

@media (max-width: 1100px) {
    .collaborations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .collaborations-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }
}

.collaboration-card {
    display: flex;
    min-height: 110px;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--color-white);
}

.collaboration-logo {
    width: 4rem;
    height: 4rem;
    flex: 0 0 4rem;
    object-fit: contain;
}

.collaboration-country {
    display: block;
    margin-bottom: 0.15rem;
    color: #08745d;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.2;
}

.collaboration-card h3 {
    margin-bottom: 0.18rem;
    font-size: 0.8rem;
    line-height: 1.25;
}

.collaboration-card p {
    color: var(--text-light);
    font-size: 0.7rem;
    line-height: 1.45;
}

.collaboration-card-4 {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.collaboration-card-4 .collaboration-logo {
    width: 100%;
    height: 250px;
    flex: 0 0 250px;
    padding: 2rem;
}

.collaboration-card-4-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2rem;
}

.collaboration-card-4 .collaboration-country {
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}

.collaboration-card-4 h3 {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

.collaboration-card-4 p {
    flex: 1;
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.collaborations-funders {
    margin-top: 1.9rem;
    padding-top: 2.15rem;
    /* border-top: 1px solid var(--border-color); */
}

.collaborations-funders > p {
    max-width: 700px;
    margin-bottom: 1.45rem;
}

.funders-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
}

@media (max-width: 1100px) {
    .funders-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .funders-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }
}

.funder-card {
    display: flex;
    min-height: 136px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--color-white);
    text-align: center;
}

.funder-logo {
    width: 4.55rem;
    height: 4.55rem;
    margin-bottom: 0.6rem;
}

.funder-card h3 {
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.63rem;
    font-weight: 400;
    line-height: 1.35;
}

.funder-card-4 {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.funder-card-4 .funder-logo {
    width: 100%;
    height: 150px;
    margin-bottom: 1.25rem;
    object-fit: contain;
}

.funder-card-4 h3 {
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
}

@media (min-width: 768px) and (max-width: 1100px) {
    .collaborations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Publications directory */
body.page-publications .publications-directory {
    padding-top: 7.5rem;
    padding-bottom: 5rem;
}

.publications-header {
    margin-bottom: 1.8rem;
}

.publications-header h1 {
    margin-bottom: 0.65rem;
    font-size: 2rem;
}

.publications-header p {
    max-width: 760px;
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.65;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.publications-directory-list {
    display: grid;
    gap: 1.5rem;
}

.publication-directory-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.publication-year {
    align-self: flex-start;
    min-width: 58px;
    height: 46px;
    padding: 0 0.5rem;
    background: #dcf5ed;
    color: #08745d;
}

.publication-directory-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.publication-authors {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

.publication-doi {
    margin-top: auto;
    color: #1763a2;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .publications-directory-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.publications-scholar {
    margin-top: 2rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.publications-scholar a { color: #08745d; }

/* Media, podcast and contact directories */
body.page-midia .media-directory,
body.page-podcast .podcast-directory { padding-top: 7.5rem; padding-bottom: 5rem; }

@media (min-width: 768px) {
    body.page-contact .contact-directory { padding-top: 5rem; padding-bottom: 5rem; }
}

.media-header, .podcast-header, .contact-header { max-width: 860px; margin-bottom: 2.1rem; }
.media-header h1, .podcast-header h1, .contact-header h1 { margin-bottom: 0.65rem; font-size: 2rem; }
.media-header p, .podcast-header p, .contact-header p { color: var(--text-light); line-height: 1.65; }
.media-social h2, .media-press h2 { margin-bottom: 1rem; }
.social-card-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }.social-card { display: flex; max-width: 400px; align-items: center; gap: 0.8rem; padding: 1rem; border: 1px solid var(--border-color); border-radius: 0.55rem; background: var(--color-white); transition: transform 0.3s ease, box-shadow 0.3s ease; }.media-social .social-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.social-icon { display: inline-flex; width: 4rem; height: 4rem; flex: 0 0 4rem; align-items: center; justify-content: center; border-radius: 0.45rem; background: #efefff; color: #4b4394; font-size: 0.7rem; font-weight: 700; }
.social-card h3 { margin-bottom: 0.2rem; font-size: 0.82rem; }.social-card p { margin-bottom: 0.38rem; color: var(--text-light); font-size: 0.75rem; line-height: 1.45; }.social-card a, .press-card a { color: #08745d; font-size: 0.68rem; font-weight: 700; }
.media-press { margin-top: 2.2rem; padding-top: 2.15rem; border-top: 1px solid var(--border-color); }.media-press-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.press-card { overflow: hidden; border: 1px solid var(--border-color); border-radius: 0.55rem; background: var(--color-white); transition: transform 0.3s ease, box-shadow 0.3s ease; }.press-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }.press-card-visual { display: flex; height: 220px; align-items: center; justify-content: center; padding: 1rem; color: #08745d; font-size: 0.7rem; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }.press-card-visual--conversation { padding: 0; background: #dff6ef; }.press-card-visual--conversation img { width: 100%; height: 100%; object-fit: cover; }.press-card-visual--video { background: #111; padding: 0; }.press-card-visual--video img { width: 100%; height: 100%; object-fit: cover; }.press-card-visual img { transition: transform 0.5s ease; }.press-card:hover .press-card-visual img { transform: scale(1.05); }.press-card-visual--uff { background: #e4f1fc; color: #245a88; }.press-card-content { padding: 1rem; }.press-card-content > span { display: block; margin-bottom: .55rem; color: #707470; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.press-card h3 { margin-bottom: .45rem; font-size: .86rem; line-height: 1.3; }.press-card p { min-height: 5.2em; margin-bottom: .75rem; color: var(--text-light); font-size: .75rem; line-height: 1.5; }

.podcast-header p { max-width: 850px; font-size: 1.02rem; }.podcast-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.7rem; }.podcast-youtube, .podcast-playlist { display: inline-flex; align-items: center; min-height: 2.4rem; padding: .55rem 1rem; border-radius: .4rem; font-size: .8rem; font-weight: 600; }.podcast-youtube { color: #fff; background: #ff1b10; }.podcast-youtube:hover { color: #fff; background: #d3130a; }.podcast-playlist { border: 1px solid var(--border-color); color: var(--text-dark); background: #fff; }
.section-header .podcast-actions { justify-content: center; }
.podcast-season { margin-top: 2.35rem; }.season-header { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }.season-number { display: flex; width: 6.6rem; min-height: 2.8rem; flex: 0 0 6.6rem; flex-direction: column; justify-content: center; padding: .4rem .6rem; border-radius: .35rem; color: #5dcaa5; background: #0a2540; font-size: .63rem; font-weight: 700; letter-spacing: .08em; }.season-number b { margin-top: .1rem; font-size: .9rem; }.season-header h2 { margin-bottom: .25rem; font-size: 1.08rem; }.season-header p { color: var(--text-light); font-size: .82rem; line-height: 1.5; }.episode-list { display: grid; gap: .65rem; }.episode-card { display: flex; gap: .9rem; padding: 1rem; border: 1px solid var(--border-color); border-radius: .55rem; background: #fff; }.episode-thumb { display: block; width: 512px; max-width: 100%; height: auto; flex: 0 1 512px; align-self: flex-start; border-radius: .4rem; object-fit: cover; }.episode-card > div { min-width: 0; }.episode-code { display: inline-flex; width: 2.25rem; height: 2.25rem; flex: 0 0 2.25rem; align-items: center; justify-content: center; border-radius: .4rem; color: #08745d; background: #e1f5ef; font-size: .68rem; font-weight: 700; }.podcast-season:nth-of-type(3) .episode-code { color: #4b4394; background: #efefff; }.episode-card h3 { margin-bottom: .25rem; font-size: .86rem; line-height: 1.3; }.episode-card p { margin-bottom: .35rem; color: var(--text-light); font-size: .76rem; line-height: 1.45; }.episode-card strong { display: block; margin-bottom: .22rem; color: #08745d; font-size: .74rem; }.episode-card small { color: var(--text-light); font-size: .72rem; }.episode-card small a { color: #08745d; font-weight: 700; }

.contact-header { max-width: 900px; }.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.4rem; }.contact-details section { margin-bottom: 1.25rem; }.contact-details h2, .contact-form label { display: block; margin-bottom: .45rem; color: #707470; font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }.contact-details p { color: var(--text-dark); line-height: 1.45; }.contact-details a { color: #08745d; }.contact-form { display: grid; gap: 1rem; }.contact-form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: .38rem; padding: .75rem; border: 1px solid var(--border-color); border-radius: .4rem; color: var(--text-dark); font: inherit; font-size: .82rem; background: #fff; }.contact-form textarea { resize: vertical; }.contact-form button { width: max-content; min-width: 11rem; align-self: flex-start; justify-self: start; padding: .48rem 1.5rem; border: 0; border-radius: .4rem; color: #fff; background: #1fa47f; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }.contact-form button:hover { background: #08745d; }

@media (min-width: 620px) { .social-card-grid, .media-press-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.social-card { max-width: none; }.contact-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 619px) { .episode-card { flex-direction: column; }.episode-thumb { width: 100%; max-width: 512px; } }
@media (min-width: 820px) { .contact-grid { grid-template-columns: minmax(220px, .72fr) minmax(420px, 1.1fr); gap: 3.5rem; } }

/* Podcast cards */
.episode-list { gap: 1.5rem; }
.episode-card { flex-direction: column; overflow: hidden; gap: 0; padding: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.episode-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.episode-thumb { width: 100%; max-width: 512px; height: 220px; flex: none; border-radius: 0; object-fit: cover; transition: transform .5s ease; }
.episode-card:hover .episode-thumb { transform: scale(1.05); }
.episode-card > div { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.episode-card h3 { margin-bottom: .75rem; font-size: 1.1rem; line-height: normal; }
.episode-card p { flex: 1; margin-bottom: 1.5rem; font-size: .95rem; line-height: 1.6; }
.episode-card strong { margin-bottom: 1rem; font-size: .85rem; font-weight: 500; }
.episode-card small { display: block; margin-bottom: .5rem; font-size: .8rem; }
.episode-card .btn { display: block; width: max-content; margin: .75rem auto 0; padding: .45rem 2.25rem; }
@media (min-width: 620px) { .episode-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .episode-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.podcast-season--2 .episode-code { color: #4b4394; background: #efefff; }

.section.contact-form-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

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

/* Research gallery */
.research-gallery-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.research-gallery-carousel {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0.75rem;
    background: var(--color-dark-blue);
    box-shadow: var(--shadow-md);
}

.research-gallery-track {
    position: relative;
    aspect-ratio: 1361 / 600;
}

.research-gallery-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.research-gallery-slide.is-active { opacity: 1; }

.research-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.research-gallery-control {
    position: absolute;
    top: 50%;
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--color-dark-blue);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 0.2s ease, color 0.2s ease;
}

.research-gallery-control:hover,
.research-gallery-control:focus-visible {
    color: white;
    background: var(--primary-color);
}

.research-gallery-control--previous { left: 1rem; }
.research-gallery-control--next { right: 1rem; }

.research-gallery-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    display: flex;
    gap: 0.55rem;
    transform: translateX(-50%);
}

.research-gallery-indicators button {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.research-gallery-indicators button.is-active { background: white; }

@media (max-width: 600px) {
    .research-gallery-section { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .research-gallery-control { width: 2.1rem; height: 2.1rem; }
    .research-gallery-control--previous { left: 0.65rem; }
    .research-gallery-control--next { right: 0.65rem; }
    .research-gallery-indicators { bottom: 0.65rem; }
}
