:root {
    --bg: #F0F0F0;
    --surface: #F0F0F0;
    --surface-alt: #ECECEC;
    --text: #202020;
    --text-muted: #666666;
    --border: #DEDEDE;
    --primary: #DF057F;
    --primary-hover: #BC046B;
    --on-primary: #FFFFFF;
    --primary-text: #C1056E;
}

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

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Geologica', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M24 0H0v24' fill='none' stroke='%23DEDEDE' stroke-width='1'/%3E%3C/svg%3E");
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-family: 'Geologica', sans-serif;
    font-style: normal;
}

h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    font-weight: 700;
    line-height: 1.28;
}

h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
}

h5,
h6 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

p {
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.6;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.15s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button {
    cursor: pointer;
    border: 0;
    font-family: 'Geologica', sans-serif;
    font-style: normal;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

input,
textarea,
select {
    font-family: 'Geologica', sans-serif;
    font-style: normal;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 1.625rem;
        line-height: 1.18;
    }

    h2 {
        font-size: 1.375rem;
        line-height: 1.22;
    }

    h3 {
        font-size: 1.0625rem;
        line-height: 1.3;
    }

    h4 {
        font-size: 0.9375rem;
    }

    h5 {
        font-size: 0.875rem;
    }

    a,
    p,
    span {
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 0.9375rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }
}

/* ===== header ===== */
.js-logo-img {
    max-width: 48px;
    height: auto;
}

#header .js-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: var(--bg);
}

#header .js-mobile-menu.open {
    max-height: 360px;
}

/* ===== hero ===== */
#hero article,
#hero div {
    hyphens: auto;
}

#hero img {
    object-fit: cover;
}

/* ===== main_story ===== */
#main-story {
    overflow: hidden;
}

.main-story-pattern {
    background-image: radial-gradient(#DEDEDE 1px, transparent 1px);
    background-size: 16px 16px;
}

/* ===== latest_news ===== */
#latest-news {
    background-color: #F0F0F0;
    background-image: radial-gradient(#DEDEDE 1px, transparent 1px);
    background-size: 20px 20px
}

.news-micro-card {
    border: 1px solid #DEDEDE;
    box-shadow: 0 4px 12px rgba(41, 30, 36, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease
}

.news-micro-card:hover {
    transform: translateY(-2px);
    border-color: #DF057F;
    box-shadow: 0 6px 16px rgba(223, 5, 127, 0.12)
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.scrollbar-none::-webkit-scrollbar {
    display: none
}

.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none
}

/* ===== explore_categories ===== */
#explore-categories .js-cat-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

#explore-categories .js-cat-card:hover {
    box-shadow: 0 4px 12px rgba(193, 5, 110, 0.08);
}

/* ===== argentina_focus ===== */
#argentina-focus {
    hyphens: auto;
}

#article-modal:not(.hidden) {
    display: flex;
}

/* ===== about_brontiva ===== */
#about-brontiva {
    hyphens: auto;
}

/* ===== contact ===== */
#contact {
    background-image: radial-gradient(#DEDEDE 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ===== footer ===== */
#footer {
    hyphens: auto;
}

#footer address span,
#footer address a {
    word-break: break-word;
}
/* News modals */
.news-modal{z-index:2147483000!important;display:flex;align-items:center;justify-content:center;padding:24px;overflow:hidden;overscroll-behavior:contain}
.news-modal.hidden{display:none!important}
.news-modal__wrap{display:contents}
.news-modal__panel{width:100%;max-width:900px;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;margin:auto}
.news-modal__panel h2,.news-modal__panel h3,.news-modal__panel h4{white-space:normal;overflow-wrap:break-word;word-break:normal;hyphens:manual}
#modal-title,#js-modal-title,.news-modal .js-modal-title{padding-right:40px}
.news-modal__panel img{max-width:100%;display:block}
.news-modal__body p{margin:0 0 .8em}
.news-modal__subhead{font-weight:700;font-size:15px;line-height:1.35;margin:1.1em 0 .45em;color:#202020}
.news-modal__link{color:#C1056E;text-decoration:underline;overflow-wrap:anywhere}
@media (max-width:640px){
.news-modal{padding:16px}
.news-modal__panel{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:20px 16px!important}
}
