/* --------------------------------------------- */
/* RESET + GLOBAL */
/* --------------------------------------------- */

@font-face {
    font-family: "Bright Sunshine";
    src: url("../fonts/BrightSunshineDemo.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "SegoeCustom";
    src: url("../fonts/segoeuithis.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "SegoeCustom";
    src: url("../fonts/segoeuithibd.ttf") format("truetype");
    font-weight: 700;
}

@font-face {
    font-family: "SegoeCustom";
    src: url("../fonts/segoeuithisi.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "SegoeCustom";
    src: url("../fonts/segoeuithisz.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
    font-family: "ImpactCustom";
    src: url("../fonts/impact.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "ImpactCustom";
    src: url("../fonts/Impacted.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "ImpactCustom";
    src: url("../fonts/unicode.impact.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

:root {
    color-scheme: light;
}

html {
    color-scheme: light !important;
    background-color: #ffffff !important;
}

html, body {
    forced-color-adjust: none !important;
    background-color: #ffffff !important;
    color: #000000 !important;
}

html, body, #root, main {
    background: #ffffff !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #fcfcfc;
    font-weight: 300;
    transition: color 0.3s;
    font-size: clamp(14px, 0.9vw, 20px);
}

a:hover {
    color: #fff;
}

/* --------------------------------------------- */
/* HEADER */
/* --------------------------------------------- */

header {
    width: 100%;
    height: clamp(70px, 4vw, 100px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #F9D3E6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(10px, 2vw, 40px);
}

#logo {
    margin-left: clamp(10px, 3vw, 125px);
    font-family: "ImpactCustom";
    font-size: clamp(32px, 2.4vw, 60px);
    font-weight: 400;
    color: #D7351F;
    line-height: 1;
}

#logo a {
    all: inherit;         
    text-decoration: none;
    display: inline-block;
}


#mobileMenu {
    display: flex;
    margin-right: clamp(10px, 6vw, 375px);
    gap: clamp(10px, 1.2vw, 30px);
}

#mobileMenu a {
    font-family: "SegoeCustom";
    font-size: clamp(18px, 1.2vw, 24px);
    color: #D7351F;
    font-weight: 400;
}

.headerLinkSelected {
    font-weight: 800 !important;
} 

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: clamp(28px, 1.6vw, 40px);
    color: #D7351F;
    cursor: pointer;
    margin-right: clamp(10px, 2vw, 40px);
}

/* HEADER SCROLL */

header.smaller {
    height: clamp(60px, 3vw, 75px);
}

header.smaller #logo {
    font-size: clamp(24px, 1.4vw, 35px);
}

header.smaller #mobileMenu a {
    line-height: clamp(30px, 2vw, 75px);
}

/* --------------------------------------------- */
/* SOCIAL BAR */
/* --------------------------------------------- */

.social-bar {
    position: absolute;
    top: 100%;
    right: clamp(10px, 3vw, 80px);
    margin-top: clamp(10px, 1vw, 20px);
    display: flex;
    gap: clamp(10px, 1.2vw, 20px);
}

.social-icon {
    width: clamp(20px, 2vw, 35px);
    height: clamp(20px, 2vw, 35px);
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: clamp(2px, 0.4vw, 6px);
}

.social-icon:hover {
    transform: scale(1.15);
}

/* --------------------------------------------- */
/* FLAG SECTION */
/* --------------------------------------------- */

.flag {
    position: relative;
    margin-top: clamp(40px, 3vw, 70px);
    width: 100%;
    z-index: 1;
}

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

/* --------------------------------------------- */
/* SELECTOR SUPERIOR */
/* --------------------------------------------- */

.selector {
    margin: clamp(20px, 3vw, 40px) auto clamp(10px, 2vw, 20px) auto;
    width: 90%;
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    padding-bottom: clamp(6px, 0.6vw, 12px);
    border-bottom: clamp(3px, 0.6vw, 6px) solid #D7351F;
}

.selector-btn {
    background: none;
    border: none;
    font-size: clamp(16px, 1.2vw, 22px);
    font-family: 'SegoeCustom';
    color: #888;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.selector-btn:hover {
    color: #D7351F;
}

.selector-btn.active {
    color: #D7351F;
}

/* --------------------------------------------- */
/* ARTICLES GRID */
/* --------------------------------------------- */

.articles-grid {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 40px);
}

.articles {
    cursor: pointer;
    font-family: "SegoeCustom";
}

.articles img {
    width: 100%;
    height: auto;
    border-radius: clamp(2px, 0.4vw, 6px);
}

.articles .meta {
    font-size: clamp(12px, 0.8vw, 14px);
    color: #555;
    margin-top: clamp(4px, 0.6vw, 8px);
}

.articles .titulo {
    font-size: clamp(16px, 1.2vw, 20px);
    font-weight: bold;
    margin-top: clamp(6px, 0.8vw, 10px);
}

/* --------------------------------------------- */
/* ARTICLE PAGE */
/* --------------------------------------------- */

.article-wrapper {
    width: clamp(260px, 33%, 900px);
    margin: clamp(60px, 6vw, 90px) auto clamp(40px, 4vw, 60px);
    font-family: "SegoeCustom";
    color: black;
}

.article-title {
    font-size: clamp(24px, 2vw, 36px);
    font-weight: 700;
    margin-bottom: clamp(6px, 0.8vw, 10px);
}

.article-meta {
    font-size: clamp(12px, 0.8vw, 14px);
    color: #777;
    margin-bottom: clamp(15px, 1.6vw, 25px);
}

.article-subtitle {
    font-size: clamp(18px, 1.6vw, 24px);
    font-weight: 700;
    color: #D7351F;
    margin-bottom: clamp(10px, 1.2vw, 20px);
}

.article-body {
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.6;
    margin-bottom: clamp(20px, 2vw, 30px);
}

.article-image {
    width: 100%;
    margin-bottom: clamp(4px, 0.6vw, 5px);
}

.article-caption {
    font-size: clamp(12px, 0.8vw, 14px);
    font-style: italic;
    color: #555;
    margin-bottom: clamp(20px, 3vw, 40px);
}

/* --------------------------------------------- */
/* MAGAZINE */
/* --------------------------------------------- */

.magazine-wrapper {
    width: clamp(300px, 70%, 1800px);
    margin: clamp(40px, 5vw, 80px) auto clamp(30px, 4vw, 60px);
    font-family: "SegoeCustom";
    color: black;
    text-align: center;
}

.magazine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 4vw, 60px);
}

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

.magazine-number {
    font-size: clamp(40px, 3vw, 70px);
    font-weight: 500;
    font-family: "ImpactCustom", Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: #D7351F;
    margin-bottom: 0;
}

.magazine-name {
    font-family: "Bright Sunshine", "SegoeCustom", sans-serif;
    font-size: clamp(40px, 4vw, 70px);
    font-weight: normal;
    color: #D7351F;
    margin-top: 0;
    margin-bottom: clamp(10px, 2vw, 30px);
}

.magazine-image {
    width: 100%;
    max-width: clamp(200px, 16vw, 420px);
    height: auto;
    margin: 0 auto clamp(10px, 1.2vw, 15px);
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: clamp(2px, 0.4vw, 6px);
}

.magazine-image:hover {
    transform: scale(1.05);
}

.magazine-link {
    font-size: clamp(14px, 1.2vw, 18px);
    color: #D7351F;
    text-decoration: none;
    font-weight: 600;
}

/* --------------------------------------------- */
/* ABOUT US */
/* --------------------------------------------- */

.about-wrapper {
    width: clamp(300px, 50%, 1250px);
    margin: clamp(60px, 6vw, 90px) auto clamp(40px, 4vw, 60px);
    font-family: "SegoeCustom";
    color: black;
    text-align: center;
}

.about-title {
    font-size: clamp(40px, 3vw, 70px);
    font-weight: 500;
    font-family: "ImpactCustom", Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: #D7351F;
    margin-bottom: 0;
}

.about-title-2 {
    font-family: "Bright Sunshine", "SegoeCustom", sans-serif;
    font-size: clamp(80px, 8vw, 200px);
    color: #D7351F;
    margin-top: 0;
    margin-bottom: clamp(10px, 2vw, 30px);
}

.about-title-3 {
    font-family: "Bright Sunshine", "SegoeCustom", sans-serif;
    font-size: clamp(50px, 4vw, 100px);
    color: #D7351F;
    margin-top: 0;
    margin-bottom: clamp(-20px, -1vw, -30px);
}

.about-title-4 {
    font-size: clamp(40px, 3vw, 70px);
    font-weight: 500;
    font-family: "ImpactCustom", Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    color: #D7351F;
    margin-top: clamp(-20px, -1vw, -30px);
    margin-bottom: clamp(20px, 3vw, 40px);
}

.about-body,
.about-body-2,
.about-body-3 {
    font-size: clamp(14px, 1.2vw, 20px);
    line-height: 1.7;
    margin-bottom: clamp(15px, 1.6vw, 25px);
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
}

.about-body-3 {
    color: #D7351F;
}

.about-image {
    width: 100%;
    height: clamp(250px, 22vw, 550px);
    object-fit: cover;
    display: block;
    margin: clamp(20px, 3vw, 40px) 0;
    border-radius: clamp(2px, 0.4vw, 6px);
}

/* --------------------------------------------- */
/* TEAM SECTION */
/* --------------------------------------------- */

.team-section {
    width: 100%;
    margin: clamp(40px, 4vw, 60px) auto clamp(80px, 8vw, 120px);
    display: flex;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 40px);
}

.team-leader {
    width: 100%;
    height: clamp(250px, 22vw, 550px);
    object-fit: cover;
    display: block;
    margin-top: clamp(20px, 3vw, 40px);
    margin-bottom: clamp(6px, 0.8vw, 10px);
    border-radius: clamp(2px, 0.4vw, 6px);
}

.team-member {
    width: 33%;
    text-align: center;
    font-family: "SegoeCustom";
}

.team-member img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: clamp(2px, 0.4vw, 6px);
    margin-bottom: clamp(6px, 0.8vw, 10px);
}

.team-role {
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.4;
    margin-top: clamp(4px, 0.6vw, 5px);
}

/* --------------------------------------------- */
/* COLLABORATE */
/* --------------------------------------------- */

.collaborate {
    width: clamp(300px, 60vw, 1500px);
    margin: clamp(20px, 4vw, 40px) auto;
    padding: 0 clamp(10px, 2vw, 20px);
    font-family: "Inter", sans-serif;
    color: #222;
}

.collaborate-mail-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}

.intro-section p {
    font-size: clamp(14px, 1.2vw, 20px);
    line-height: 1.6;
    margin-bottom: clamp(10px, 2vw, 20px);
    text-align: justify;
}

.intro-section a {
    display: block;
    text-align: center;
}

.contribute-image {
    width: clamp(120px, 35%, 600px);
    margin-top: clamp(6px, 1vw, 10px);
    border-radius: clamp(2px, 0.4vw, 6px);
}

/* --------------------------------------------- */
/* MOBILE BREAKPOINT */
/* --------------------------------------------- */

@media (max-width: 900px) {

    .menu-toggle {
        display: flex;
        align-items: center;
        z-index: 1001;
    }

    #mobileMenu {
        position: fixed;
        top: clamp(70px, 4vw, 100px); 
        left: 0;
        width: 100%;
        background: #F9D3E6;
        flex-direction: column;
        align-items: center;
        gap: clamp(10px, 3vw, 20px);
        padding: clamp(10px, 3vw, 20px) 0;
        display: none;
        margin-right: 0;
        z-index: 1000;
    }

    #mobileMenu.open {
        display: flex;
    }

    #mobileMenu a {
        font-size: clamp(18px, 4vw, 26px);
        line-height: 1.4;
    }

    .social-bar {
        position: static;
        display: flex;          
        justify-content: flex-end;
        margin-top: clamp(10px, 3vw, 20px);
        width: 100%;
        padding-right: clamp(10px, 3vw, 20px);
    }

    .flag {
        margin-top: clamp(70px, 8vw, 100px);
    }

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

    header.menu-open {
        height: clamp(70px, 4vw, 100px);
    }

    header.menu-open #logo {
        font-size: clamp(32px, 2.4vw, 60px); 
    }

    .team-section {
        flex-direction: row;
        justify-content: center;
        gap: clamp(10px, 3vw, 20px);
        align-items: flex-start; 
    }

    .team-member {
        width: 33%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .team-member img {
        width: 100%;
        aspect-ratio: 3 / 4;   
        object-fit: cover;
        border-radius: clamp(2px, 0.4vw, 6px);
        flex-shrink: 0;        
    }

    .team-role {
        margin-top: clamp(6px, 1vw, 10px);
        min-height: 3.5em;     
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about-wrapper,
    .magazine-wrapper,
    .article-wrapper,
    .collaborate,
    .selector,
    .articles-grid {
        width: 80% !important; 
        margin-left: auto;
        margin-right: auto;
    }

    .about-wrapper,
    .magazine-wrapper,
    .article-wrapper {
        max-width: none;
        margin: clamp(30px, 3vw, 45px) auto clamp(18px, 1.8vw, 30px);
    }

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

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