@font-face {
    font-family: "Sora";
    src: url("../fonts/sora-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Sora";
    src: url("../fonts/sora-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Sora";
    src: url("../fonts/sora-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Sora";
    src: url("../fonts/sora-latin-800-normal.woff2") format("woff2");
    font-weight: 800 900;
    font-display: swap;
}

:root {
    --primary: #0d3a74;
    --accent: #1a73e8;
    --highlight: #ffc462;
    --text: #111;
    --muted: #767676;
    --border: #ccc;
    --surface: #eee;
    --placeholder: #f8f9fb;
    --ticker-bg: #252525;
    --paper: #fff;
    --ink: var(--text);
    --ink-muted: var(--muted);
    --rule: var(--border);
    --rule-soft: var(--border);
    --font-text: "Sora", "Segoe UI", Arial, sans-serif;
    --font-sans: var(--font-text);
    --font-serif: var(--font-text);
    --wrap: 1260px;
    --gutter: 30px;
    --gap: 40px;
    --header-height: 203px;
    --sticky-top: calc(var(--header-height) + 30px + var(--wp-admin--admin-bar--height, 0px));
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: calc(var(--header-height) - 3px);
    background: #fff;
    color: var(--text);
    font: 400 14px/1.5 var(--font-text);
    -webkit-font-smoothing: antialiased;
}

a:hover {
    text-decoration: none;
}

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

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-text);
    text-wrap: initial;
}

button {
    font: inherit;
    cursor: pointer;
}

svg {
    width: 24px;
    height: 24px;
    flex: none;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.skip:focus {
    background: #fff;
    color: var(--text);
}

.masthead {
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0px);
    right: 0;
    left: 0;
    z-index: 999;
}

.masthead > .wrap {
    max-width: none;
    padding: 0;
}

.row--header {
    padding-inline: max(var(--gutter), (100% - var(--wrap)) / 2 + var(--gutter));
}

.row--header .row__grid {
    gap: 0;
}

.row--header:has(.ticker) {
    height: 40px;
    background: var(--ticker-bg);
}

.row--header:has(.ticker) .row__grid,
.row--header:has(.ticker) .row__col {
    height: 100%;
}

.ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.ticker-label {
    position: relative;
    z-index: 1;
    flex: none;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--accent);
    color: #ccc;
    font-weight: 700;
}

.ticker-track {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.ticker-list {
    display: flex;
    width: max-content;
    animation: ticker 90s linear infinite;
}

.ticker-track:hover .ticker-list {
    animation-play-state: paused;
}

.ticker-list li {
    padding: 0 10px;
    white-space: nowrap;
}

.ticker-list a {
    color: #fff;
}

.ticker-list li + li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--accent);
    vertical-align: middle;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

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

@media (prefers-reduced-motion: reduce) {
    .ticker-list {
        animation: none;
    }
}

.row--header:has(.header-left) {
    height: 115px;
    background: var(--primary);
    color: #fff;
}

.row--header:has(.header-left) .row__grid {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
}

.row--header .row__col:has(.search-bar, .header-date, .header-social) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 50px;
    height: 40px;
    margin-top: 15px;
}

.header-left {
    display: flex;
    align-items: flex-start;
}

.site-logo {
    margin: 0;
    font-size: inherit;
}

.site-logo .custom-logo {
    width: 355px;
    height: auto;
    padding: 13px 0 10px;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #fff;
}

.search-bar {
    display: flex;
    align-items: center;
    width: 239px;
    height: 40px;
    border-radius: 100px;
    background: rgb(255 255 255 / 0.12);
}

.search-bar input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 15px;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    outline: 0;
}

.search-bar input::placeholder {
    color: rgb(255 255 255 / 0.7);
}

.search-bar:focus-within {
    outline: 2px solid #fff;
}

.search-bar button {
    display: flex;
    padding: 0 10px 0 0;
    border: 0;
    background: transparent;
    color: #fff;
}

.header-date {
    min-width: 260px;
    text-align: center;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 10px;
    border-radius: 100px;
    background: rgb(255 255 255 / 0.12);
}

.header-social a {
    display: flex;
    color: #fff;
}

.header-social svg {
    width: 21px;
    height: 21px;
}

.row--header:has(.site-nav) {
    height: 48px;
    background: #fff;
    box-shadow: 0 0 4px 4px rgb(0 0 0 / 0.1);
}

.nav-menu {
    display: flex;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 48px;
    padding: 0 15px;
}

.nav-menu > .menu-item-has-children > a::after {
    content: "";
    width: 6px;
    height: 6px;
    margin: -3px 0 0 4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
    color: var(--primary);
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 8px 0;
    border-radius: 0 0 4px 4px;
    background: #fff;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.15s;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
}

.nav-menu .sub-menu a {
    height: 40px;
}

.drawer {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgb(0 0 0 / 0.5);
}

.drawer[hidden] {
    display: none;
}

.drawer-panel {
    position: relative;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    padding: 56px 20px 20px;
    overflow-y: auto;
    background: #fff;
}

.drawer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    padding: 4px;
    border: 0;
    background: transparent;
}

.drawer-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--surface);
    font-weight: 500;
}

.drawer-menu .sub-menu a {
    padding-left: 15px;
    font-weight: 400;
}

main.wrap {
    padding-top: 30px;
}

.row {
    margin-bottom: var(--gap);
}

.row--header,
.row--footer {
    margin-bottom: 0;
}

.row__col {
    gap: var(--gap);
}

.row--body .row__col + .row__col {
    padding-left: 0;
    border-left: 0;
}

.row--body.row--cols-2 .row__grid {
    gap: 0;
}

.row--cols-4 .row__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--gap) 20px;
}

.row--body.row--cols-2-1 .row__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
}

.row--body.row--cols-1-2 .row__grid {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 56px;
}

.row--divider {
    padding-bottom: var(--gap);
    border-bottom: 1px solid var(--border);
}

.section-title,
.section__title {
    margin: 0 0 15px;
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
}

.section-title a:hover {
    color: var(--primary);
}

.ad {
    margin: 0 auto;
}

.ad__label {
    font-family: var(--font-text);
}

.ad__img {
    width: 100%;
}

.post-label {
    margin: 0 0 8px;
}

.post-label a {
    display: inline-block;
    padding: 0 8px;
    background: var(--primary);
    color: #fff;
    line-height: 24px;
    font-weight: 900;
    text-transform: uppercase;
}

.post-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--placeholder);
}

.post-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.card:hover .post-thumb img {
    transform: scale(1.04);
}

.card-title {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
}

.card-title a:hover {
    color: var(--primary);
}

.card-date {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 18px;
}

.card-overlay {
    position: relative;
    height: 100%;
}

.card-overlay .card-media,
.card-overlay .post-thumb {
    height: 100%;
}

.card-overlay .post-thumb {
    aspect-ratio: auto;
}

.card-overlay .card-media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0.6) 20%, rgb(0 0 0 / 0) 80%);
    pointer-events: none;
}

.card-overlay .card-body {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 15px;
}

.card-overlay .card-title a {
    color: #fff;
}

.card-overlay .card-date {
    color: #ccc;
}

.slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
}

.slide .card-body,
.local-center .card-body,
.ms-grid .card-overlay .card-body {
    padding: 30px 30px 45px;
}

.slide .card-title,
.local-center .card-title,
.ms-grid .card-overlay .card-title {
    font-size: 21px;
}

.slider-dots {
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dots button {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 100px;
    background: #e0e0e0;
    transition: width 0.3s, background 0.3s;
}

.slider-dots button.is-active {
    width: 30px;
    background: var(--highlight);
}

.lead-overlay .card-overlay {
    height: 400px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 400px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(var(--per-row, 3), minmax(0, 1fr));
    gap: 20px;
}

.card-grid--2 {
    --per-row: 2;
}

.card-grid--4 {
    --per-row: 4;
}

.local-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.local-center .card-overlay {
    height: 400px;
}

.card-side {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.card-side:last-child {
    margin-bottom: 0;
}

.card-side .card-media {
    flex: 0 0 180px;
}

.card-side .post-thumb {
    height: 120px;
    aspect-ratio: auto;
}

.card-column,
.card-stack {
    margin-bottom: 20px;
}

.card-column .card-media,
.card-stack .card-media {
    margin-bottom: 15px;
}

.column .card-text {
    margin-bottom: 20px;
}

.giro {
    display: flex;
    min-height: 145px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.giro-head {
    display: flex;
    flex: 0 0 180px;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
}

.giro-nav {
    display: flex;
    gap: 8px;
}

.giro-nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgb(255 255 255 / 0.25);
    border-radius: 100px;
    background: transparent;
    color: #fff;
}

.giro-list {
    display: flex;
    gap: 30px;
    padding: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.giro-list::-webkit-scrollbar {
    display: none;
}

.card-circle {
    display: flex;
    flex: 0 0 300px;
    gap: 15px;
    scroll-snap-align: start;
}

.card-circle .card-media {
    flex: 0 0 94px;
    height: 94px;
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.card-circle .post-thumb {
    width: 90px;
    height: 90px;
    border: 2px solid #fff;
    border-radius: 50%;
    aspect-ratio: auto;
}

.ms-box {
    padding: 30px;
    background: var(--surface);
}

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

.ms-grid .card-overlay {
    grid-column: 1 / -1;
    height: auto;
}

.ms-grid .card-overlay .post-thumb {
    aspect-ratio: 784 / 429;
}

.ms-grid .card-stack {
    margin-bottom: 0;
}

.card-row {
    display: flex;
    gap: 15px;
    margin-bottom: var(--gap);
}

.card-row .card-body {
    flex: 1;
    min-width: 0;
}

.card-row .card-title {
    font-size: 20px;
}

.card-row .card-media {
    flex: 0 0 180px;
}

.card-row .post-thumb {
    height: 120px;
    aspect-ratio: auto;
}

.latest-list > .card:last-child {
    margin-bottom: 0;
}

.latest-list > .card-text {
    margin-bottom: 20px;
}

.load-more,
.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 15px;
    border: 0;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    font-weight: 500;
}

.latest .load-more {
    display: flex;
    margin: var(--gap) auto 0;
}

.load-more[disabled] {
    opacity: 0.6;
    cursor: wait;
}

.empty {
    color: var(--muted);
}

.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: var(--gap);
}

.pagination .page-numbers {
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--surface);
}

.pagination .current {
    background: var(--primary);
    color: #fff;
}

.popular-list {
    counter-reset: popular;
}

.popular-list li {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    counter-increment: popular;
}

.popular-list li::before {
    content: counter(popular) ".";
    flex: 0 0 11px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.breadcrumb {
    margin-bottom: 15px;
    color: var(--muted);
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li + li::before {
    content: "/";
    margin: 0 6px;
}

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

.article-page .row__col {
    gap: 0;
}

.entry-title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.entry-info {
    margin-top: 15px;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    color: var(--muted);
}

.entry-author {
    font-weight: 700;
}

.share {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.share a,
.share button {
    display: flex;
    width: 30px;
    height: 30px;
    padding: 5px;
    border: 0;
    border-radius: 50%;
    color: #fff;
}

.share svg {
    width: 20px;
    height: 20px;
}

.share-facebook {
    background: #4267b2;
}

.share-x {
    background: #000;
}

.share-telegram {
    background: #40b3e0;
}

.share-whatsapp {
    background: #00b900;
}

.share-link,
.share-linkedin,
.share-email {
    background: #333;
}

.share-link.is-copied {
    background: var(--primary);
}

.entry-thumb {
    margin: 30px 0 0;
}

.entry-thumb img {
    width: 100%;
}

.entry-thumb figcaption {
    margin-top: 6px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.article__content {
    margin-top: 30px;
    font-size: 18px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.article__content p {
    margin: 0 0 27px;
}

.article__content h2,
.article__content h3 {
    margin: 32px 0 16px;
    font-size: 22px;
    line-height: 1.3;
}

.article__content ul,
.article__content ol {
    margin: 0 0 27px;
    padding-left: 24px;
    list-style: disc;
}

.article__content ol {
    list-style: decimal;
}

.article__content a {
    color: var(--primary);
    text-decoration: underline;
}

.article__content blockquote {
    margin: 0 0 27px;
    padding: 0 0 0 20px;
    border-left: 4px solid var(--primary);
    font-style: italic;
}

.article__content img {
    margin: 0 auto;
}

.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.entry-tags a {
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--surface);
    font-size: 13px;
}

.entry-tags a:hover {
    background: var(--primary);
    color: #fff;
}

.not-found {
    padding: 40px 0;
}

.not-found-code {
    margin: 0;
    color: var(--primary);
    font-size: 96px;
    line-height: 1;
    font-weight: 900;
}

.not-found .entry-title {
    margin: 16px 0 8px;
}

.not-found .button {
    margin-top: var(--gap);
}

.archive-description {
    margin-bottom: var(--gap);
    color: var(--muted);
}

.footer {
    margin-top: 56px;
    padding: 56px 0 20px;
}

.footer > .wrap {
    position: relative;
}

.row--footer .row__col {
    gap: 0;
}

.back-to-top {
    position: absolute;
    top: -48px;
    right: var(--gutter);
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin: 15px 0 0;
    padding-bottom: 40px;
}

.footer-social a {
    display: flex;
    width: 32px;
    height: 32px;
    padding: 5px;
    border: 1px solid var(--text);
    border-radius: 50%;
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    color: var(--muted);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

.credits {
    margin-top: 6px;
    font-size: 12px;
}

.footer__consent,
.legal-info {
    justify-self: center;
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

@media (max-width: 1100px) {
    .header-date {
        display: none;
    }
}

@media (max-width: 1024px) {
    :root {
        --header-height: 120px;
    }

    .row--header:has(.header-left) {
        height: 80px;
    }

    .row--header:has(.header-left) .row__grid,
    .row--header:has(.header-left) .row__col {
        height: 100%;
        align-items: center;
    }

    .row--header .row__col:has(.search-bar, .header-date, .header-social) {
        gap: 16px;
        margin-top: 0;
    }

    .header-left {
        align-items: center;
        gap: 8px;
    }

    .menu-toggle {
        display: flex;
    }

    .site-logo .custom-logo {
        width: 220px;
        padding: 0;
    }

    .row--header:has(.site-nav) {
        height: 0;
        box-shadow: none;
    }

    .site-nav {
        display: none;
    }

    .is-sticky {
        position: static;
    }

    .row--body.row--cols-2 .row__grid,
    .row--body.row--cols-2-1 .row__grid,
    .row--body.row--cols-1-2 .row__grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .local-center {
        grid-column: 1 / -1;
        order: -1;
    }

    .row--cols-4 .row__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .row--body.row--cols-2-1 .row__col + .row__col,
    .row--body.row--cols-1-2 .row__col + .row__col {
        padding-top: 0;
        border-top: 0;
    }
}

@media (max-width: 720px) {
    :root {
        --gap: 30px;
        --gutter: 16px;
        --header-height: 104px;
    }

    .row--header:has(.header-left) {
        height: 64px;
    }

    .site-logo .custom-logo {
        width: 160px;
    }

    .search-bar,
    .header-social {
        display: none;
    }

    .slider {
        height: 300px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        height: auto;
    }

    .hero-grid .card-overlay {
        height: 220px;
    }

    .local-grid,
    .row--cols-4 .row__grid,
    .ms-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .local-center .card-overlay,
    .lead-overlay .card-overlay {
        height: 300px;
    }

    .ms-grid .card-overlay .post-thumb {
        aspect-ratio: 4 / 3;
    }

    .ms-box {
        margin-inline: calc(var(--gutter) * -1);
        padding: 20px var(--gutter);
    }

    .giro {
        flex-direction: column;
    }

    .giro-head {
        flex: none;
        flex-direction: row;
        align-items: center;
    }

    .card-circle {
        flex-basis: 260px;
    }

    .card-row .card-title {
        font-size: 16px;
    }

    .card-row .card-media,
    .card-side .card-media {
        flex-basis: 120px;
    }

    .card-row .post-thumb,
    .card-side .post-thumb {
        height: 80px;
    }

    .entry-title {
        font-size: 24px;
    }

    .article__content {
        font-size: 17px;
    }
}
