:root {
    --fn-blue: #082d5c;
    --fn-blue-dark: #041f42;
    --fn-blue-deep: #03162f;
    --fn-yellow: #f6c90e;
    --fn-white: #ffffff;
    --fn-light: #f5f7fa;
    --fn-text: #162033;
    --fn-border: rgba(255, 255, 255, 0.14);
    --fn-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--fn-light);
    color: var(--fn-text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

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

.skip-link {
    position: fixed;
    z-index: 99999;
    top: -100px;
    left: 20px;
    padding: 12px 18px;
    border-radius: 4px;
    background: var(--fn-yellow);
    color: var(--fn-blue-deep);
    font-weight: 800;
}

.skip-link:focus {
    top: 20px;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    color: var(--fn-white);
    background: var(--fn-blue);
}

.header-main {
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 255, 255, 0.07),
            transparent 34%
        ),
        linear-gradient(
            115deg,
            var(--fn-blue-dark),
            var(--fn-blue)
        );
}

.header-main__inner {
    min-height: 148px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.site-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 19px;
}

.site-brand__logo {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    border: 4px solid var(--fn-yellow);
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--fn-blue-deep);
    box-shadow:
        0 0 0 4px rgba(246, 201, 14, 0.12),
        var(--fn-shadow);
}

.site-brand__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-brand__placeholder {
    color: var(--fn-yellow);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.08;
    text-align: center;
    text-transform: uppercase;
}

.site-brand__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.site-brand__title {
    display: flex;
    flex-direction: column;
    font-size: clamp(26px, 3vw, 39px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.8px;
    text-transform: uppercase;
}

.site-brand__title span {
    color: var(--fn-white);
}

.site-brand__title strong {
    color: var(--fn-yellow);
}

.site-brand__description {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.4;
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-socials__label {
    margin-right: 5px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 12px;
}

.header-socials a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.07);
    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.header-socials a:hover,
.header-socials a:focus-visible {
    border-color: var(--fn-yellow);
    background: var(--fn-yellow);
    color: var(--fn-blue-deep);
    transform: translateY(-2px);
}

.header-socials svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.join-button {
    min-height: 50px;
    max-width: 360px;
    padding: 13px 22px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    background: var(--fn-yellow);
    color: var(--fn-blue-deep);
    box-shadow: var(--fn-shadow);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.join-button:hover,
.join-button:focus-visible {
    background: var(--fn-white);
    color: var(--fn-blue-deep);
    transform: translateY(-2px);
}

.join-button svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    fill: currentColor;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    flex: 0 0 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    background: var(--fn-white);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   NAVIGAZIONE
   ========================================================= */

.main-navigation {
    border-top: 1px solid var(--fn-border);
    background: var(--fn-blue-deep);
}

.main-navigation__inner {
    min-height: 58px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
}

.main-menu {
    min-width: 0;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    list-style: none;
}

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

.main-menu > li > a {
    min-height: 58px;
    padding: 0 21px;
    display: flex;
    align-items: center;
    color: var(--fn-white);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-menu > li > a:hover,
.main-menu > li > a:focus-visible,
.main-menu > .current-menu-item > a,
.main-menu > .current-menu-ancestor > a {
    color: var(--fn-yellow);
}

.main-menu > .current-menu-item > a::after,
.main-menu > .current-menu-ancestor > a::after {
    content: "";
    position: absolute;
    right: 21px;
    bottom: 0;
    left: 21px;
    height: 3px;
    background: var(--fn-yellow);
}

.main-menu .menu-item-has-children > a::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.main-menu .sub-menu {
    width: 240px;
    position: absolute;
    z-index: 50;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 8px 0;
    display: none;
    list-style: none;
    background: var(--fn-white);
    box-shadow: 0 17px 35px rgba(0, 0, 0, 0.22);
}

.main-menu li:hover > .sub-menu,
.main-menu li:focus-within > .sub-menu {
    display: block;
}

.main-menu .sub-menu a {
    padding: 11px 18px;
    display: block;
    color: var(--fn-blue-deep);
    font-size: 14px;
    font-weight: 700;
}

.main-menu .sub-menu a:hover,
.main-menu .sub-menu a:focus-visible {
    background: var(--fn-light);
    color: var(--fn-blue);
}

.search-toggle {
    width: 58px;
    min-height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--fn-white);
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.search-toggle:hover,
.search-toggle:focus-visible,
.search-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.07);
    color: var(--fn-yellow);
}

.search-toggle svg {
    width: 23px;
    height: 23px;
    fill: currentColor;
}

.header-search {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--fn-blue-dark);
}

.header-search.is-open {
    display: block;
}

.header-search form {
    padding: 18px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.header-search input {
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    outline: none;
    background: var(--fn-white);
    color: var(--fn-text);
}

.header-search input:focus {
    border-color: var(--fn-yellow);
    box-shadow: 0 0 0 3px rgba(246, 201, 14, 0.18);
}

.header-search button {
    min-width: 110px;
    padding: 0 20px;
    border-radius: 4px;
    background: var(--fn-yellow);
    color: var(--fn-blue-deep);
    font-weight: 900;
    cursor: pointer;
}

/* =========================================================
   CONTENUTO TEMPORANEO
   ========================================================= */

main {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
    padding: 55px 0;
}

/* =========================================================
   TABLET E MOBILE
   ========================================================= */

@media (max-width: 980px) {
    .header-main__inner {
        min-height: 120px;
    }

    .site-brand__logo {
        width: 92px;
        height: 92px;
        flex-basis: 92px;
    }

    .site-brand__title {
        font-size: 29px;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        display: none;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation__inner {
        min-height: 0;
        padding: 12px 0;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .main-menu {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .main-menu > li > a {
        min-height: 46px;
        padding: 0 12px;
    }

    .main-menu > .current-menu-item > a::after,
    .main-menu > .current-menu-ancestor > a::after {
        right: auto;
        bottom: 5px;
        left: 12px;
        width: 35px;
    }

    .main-menu .sub-menu {
        width: 100%;
        position: static;
        display: block;
        padding: 0 0 6px 14px;
        background: rgba(255, 255, 255, 0.04);
        box-shadow: none;
    }

    .main-menu .sub-menu a {
        color: rgba(255, 255, 255, 0.88);
    }

    .main-menu .sub-menu a:hover,
    .main-menu .sub-menu a:focus-visible {
        background: transparent;
        color: var(--fn-yellow);
    }

    .search-toggle {
        width: 100%;
        min-height: 46px;
        flex-basis: auto;
        justify-content: flex-start;
        padding-left: 12px;
    }

    .header-search form {
        grid-template-columns: 1fr;
    }

    .header-search button {
        height: 46px;
    }
}

@media (max-width: 600px) {
    .container,
    main {
        width: min(100% - 24px, 1180px);
    }

    .header-main__inner {
        min-height: 100px;
        gap: 13px;
    }

    .site-brand {
        gap: 12px;
    }

    .site-brand__logo {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
        border-width: 3px;
    }

    .site-brand__placeholder {
        font-size: 9px;
    }

    .site-brand__title {
        font-size: 21px;
        line-height: 1.02;
    }

    .site-brand__description {
        max-width: 225px;
        font-size: 11px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}

/* =========================================================
   HERO SLIDER
   ========================================================= */

.homepage {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-slider {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: var(--fn-blue-deep);
}

.hero-slider__track {
    min-height: inherit;
}

.hero-slide {
    min-height: 500px;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    transition:
        opacity 0.6s ease,
        visibility 0.6s ease,
        transform 1.2s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide--fallback {
    position: relative;
    background:
        radial-gradient(circle at 75% 40%, rgba(246, 201, 14, 0.2), transparent 27%),
        linear-gradient(115deg, #03162f, #0a3b73);
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 22, 47, 0.95) 0%,
            rgba(3, 22, 47, 0.78) 48%,
            rgba(3, 22, 47, 0.28) 100%
        );
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    padding-top: 75px;
    padding-bottom: 90px;
    color: var(--fn-white);
}

.hero-slide__category {
    margin-bottom: 14px;
    display: inline-block;
    color: var(--fn-yellow);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.hero-slide__title {
    max-width: 720px;
    margin: 0 0 18px;
    color: var(--fn-white);
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.hero-slide__excerpt {
    max-width: 620px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.55;
}

.hero-slide__button {
    min-height: 48px;
    padding: 13px 23px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    background: var(--fn-yellow);
    color: var(--fn-blue-deep);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.hero-slide__button:hover {
    background: var(--fn-white);
    color: var(--fn-blue-deep);
    transform: translateY(-2px);
}

.hero-slider__arrow {
    width: 48px;
    height: 64px;
    position: absolute;
    z-index: 5;
    top: 50%;
    display: grid;
    place-items: center;
    background: rgba(3, 22, 47, 0.55);
    color: var(--fn-white);
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.hero-slider__arrow:hover {
    background: var(--fn-yellow);
    color: var(--fn-blue-deep);
}

.hero-slider__arrow--previous {
    left: 0;
}

.hero-slider__arrow--next {
    right: 0;
}

.hero-slider__dots {
    position: absolute;
    z-index: 5;
    right: 0;
    bottom: 23px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.hero-slider__dot {
    width: 11px;
    height: 11px;
    border: 2px solid var(--fn-white);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.hero-slider__dot.is-active {
    border-color: var(--fn-yellow);
    background: var(--fn-yellow);
}

@media (max-width: 700px) {
    .hero-slider,
    .hero-slide {
        min-height: 440px;
    }

    .hero-slide__content {
        padding-top: 55px;
        padding-bottom: 75px;
    }

    .hero-slide__title {
        font-size: 38px;
    }

    .hero-slide__excerpt {
        font-size: 16px;
    }

    .hero-slider__arrow {
        width: 38px;
        height: 52px;
        font-size: 35px;
    }
}
/* =========================================================
   ARTICOLI IN EVIDENZA
   ========================================================= */

.featured-section {
    padding: 48px 0 58px;
    background: var(--fn-white);
}

.section-heading {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.section-heading h2 {
    position: relative;
    margin: 0;
    padding-left: 17px;
    color: var(--fn-blue-dark);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.section-heading h2::before {
    content: "";
    width: 6px;
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: 0;
    border-radius: 2px;
    background: var(--fn-yellow);
}

.section-heading a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--fn-blue-dark);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.section-heading a:hover {
    color: var(--fn-yellow);
}

.section-heading a span {
    font-size: 25px;
    line-height: 1;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.featured-card {
    min-width: 0;
    min-height: 310px;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: var(--fn-blue-dark);
    box-shadow: 0 12px 28px rgba(3, 22, 47, 0.16);
}

.featured-card__link {
    min-height: inherit;
    display: block;
    color: var(--fn-white);
}

.featured-card__image,
.featured-card__placeholder {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

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

.featured-card__placeholder {
    display: grid;
    place-items: center;
    padding: 25px;
    background:
        radial-gradient(
            circle at 70% 20%,
            rgba(246, 201, 14, 0.26),
            transparent 32%
        ),
        linear-gradient(135deg, var(--fn-blue), var(--fn-blue-deep));
    color: rgba(255, 255, 255, 0.8);
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.featured-card__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(3, 22, 47, 0.98) 0%,
            rgba(3, 22, 47, 0.55) 55%,
            rgba(3, 22, 47, 0.1) 100%
        );
}

.featured-card__content {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 24px;
}

.featured-card__category {
    margin-bottom: 9px;
    display: block;
    color: var(--fn-yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.featured-card__title {
    margin: 0 0 17px;
    color: var(--fn-white);
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 900;
    line-height: 1.08;
}

.featured-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.featured-card:hover .featured-card__image img {
    transform: scale(1.06);
}

.featured-section__empty {
    padding: 25px;
    border: 1px dashed #cdd5df;
    border-radius: 5px;
    background: var(--fn-light);
    color: #596476;
}

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

    .featured-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .featured-section {
        padding: 36px 0 42px;
    }

    .section-heading {
        align-items: flex-end;
    }

    .section-heading a {
        font-size: 11px;
    }

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

    .featured-card,
    .featured-card:last-child {
        min-height: 290px;
        grid-column: auto;
    }

    .featured-card__content {
        padding: 20px;
    }
}
/* =========================================================
   BARRA ULTIME NOTIZIE
   ========================================================= */

.news-ticker {
    width: 100%;
    height: 56px;
    display: block;
    position: relative;
    z-index: 30;
    overflow: hidden;
    border-bottom: 1px solid #dbe1e8;
    background: #ffffff;
}

.news-ticker__inner {
    width: min(1180px, calc(100% - 40px));
    height: 56px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
}

.news-ticker__label {
    height: 56px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--fn-yellow);
    color: var(--fn-blue-deep);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    text-transform: uppercase;
}

.news-ticker__dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #d90000;
    box-shadow: 0 0 0 4px rgba(217, 0, 0, 0.14);
}

.news-ticker__viewport {
    min-width: 0;
    height: 56px;
    position: relative;
    overflow: hidden;
}

.news-ticker__items {
    width: 100%;
    height: 56px;
    position: relative;
}

.news-ticker__item {
    width: 100%;
    height: 56px;
    position: absolute;
    inset: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
}

.news-ticker__item.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.news-ticker__item a {
    min-width: 0;
    overflow: hidden;
    color: var(--fn-blue-dark);
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-ticker__item time {
    flex: 0 0 auto;
    color: #7b8492;
    font-size: 11px;
    font-weight: 700;
}

.news-ticker__controls {
    height: 56px;
    display: flex;
}

.news-ticker__button {
    width: 40px;
    height: 56px;
    display: grid;
    place-items: center;
    border-left: 1px solid #dbe1e8;
    background: transparent;
    color: var(--fn-blue-dark);
    font-size: 25px;
    cursor: pointer;
}

.news-ticker__button:hover {
    background: var(--fn-blue-dark);
    color: var(--fn-yellow);
}

@media (max-width: 700px) {
    .news-ticker__inner {
        width: 100%;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .news-ticker__label {
        padding: 0 12px;
        font-size: 10px;
    }

    .news-ticker__item {
        padding: 0 12px;
    }

    .news-ticker__item a {
        font-size: 12px;
    }

    .news-ticker__item time,
    .news-ticker__controls {
        display: none;
    }
}
/* =========================================================
   GUIDE PRATICHE
   ========================================================= */

.guides-section {
    padding: 66px 0 58px;
    background:
        linear-gradient(
            135deg,
            rgba(8, 45, 92, 0.035),
            rgba(246, 201, 14, 0.04)
        ),
        var(--fn-light);
}

.section-heading--guides {
    margin-bottom: 34px;
    align-items: flex-end;
}

.section-heading--guides > div {
    flex: 0 0 auto;
}

.section-heading__eyebrow {
    display: block;
    margin-bottom: 7px;
    padding-left: 17px;
    color: var(--fn-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guides-section__intro {
    width: min(100%, 520px);
    margin: 0;
    color: #536074;
    font-size: 15px;
    line-height: 1.6;
    text-align: right;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.guide-card {
    min-width: 0;
    min-height: 345px;
    position: relative;
    overflow: hidden;
    border: 1px solid #dde3eb;
    border-radius: 10px;
    background: var(--fn-white);
    box-shadow: 0 12px 32px rgba(3, 22, 47, 0.09);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.guide-card::before {
    content: "";
    height: 6px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    background: var(--fn-yellow);
}

.guide-card:hover {
    transform: translateY(-7px);
    border-color: rgba(8, 45, 92, 0.22);
    box-shadow: 0 20px 42px rgba(3, 22, 47, 0.15);
}

.guide-card__link {
    min-height: 345px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px 29px;
    color: var(--fn-text);
}

.guide-card__number {
    position: absolute;
    top: 23px;
    right: 25px;
    color: rgba(8, 45, 92, 0.11);
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
}

.guide-card__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 26px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 50%;
    background: var(--fn-blue);
    color: var(--fn-yellow);
    font-size: 27px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(8, 45, 92, 0.19);
}

.guide-card__icon span {
    display: inline-block;
    line-height: 1;
}

.guide-card__icon span:not(:first-child) {
    font-size: 13px;
}

.guide-card__icon--flag {
    font-size: 38px;
}

.guide-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.guide-card__content h3 {
    margin: 0 0 13px;
    color: var(--fn-blue-dark);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.15;
}

.guide-card__content p {
    margin: 0 0 26px;
    color: #5c6678;
    font-size: 15px;
    line-height: 1.65;
}

.guide-card__button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fn-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.guide-card__button > span {
    color: var(--fn-yellow);
    font-size: 27px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.guide-card:hover .guide-card__button > span {
    transform: translateX(5px);
}

.guides-section__disclaimer {
    max-width: 880px;
    margin: 30px auto 0;
    padding-top: 21px;
    border-top: 1px solid #dce2ea;
    color: #6c7584;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

/* Tablet */

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

    .guide-card:last-child {
        grid-column: 1 / -1;
    }
}

/* Smartphone */

@media (max-width: 700px) {
    .guides-section {
        padding: 45px 0 40px;
    }

    .section-heading--guides {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .section-heading__eyebrow {
        padding-left: 17px;
    }

    .guides-section__intro {
        width: 100%;
        font-size: 14px;
        text-align: left;
    }

    .guides-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .guide-card,
    .guide-card:last-child {
        min-height: 0;
        grid-column: auto;
    }

    .guide-card__link {
        min-height: 310px;
        padding: 30px 24px 25px;
    }

    .guide-card__number {
        top: 21px;
        right: 20px;
        font-size: 42px;
    }

    .guide-card__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 22px;
    }

    .guide-card__content h3 {
        font-size: 22px;
    }

    .guides-section__disclaimer {
        margin-top: 25px;
        text-align: left;
    }
}
/* =========================================================
   NEWSLETTER MAILPOET
   ========================================================= */

.newsletter-section {
    padding: 64px 0 72px;
    background: var(--fn-light);
}

.newsletter-section__inner {
    width: 100%;
    max-width: 944px;
    margin: 0 auto;
}

.newsletter-section .mailpoet_form,
.newsletter-section .mailpoet_form input,
.newsletter-section .mailpoet_form button,
.newsletter-section .mailpoet_form label,
.newsletter-section .mailpoet_form p,
.newsletter-section .mailpoet_form h1,
.newsletter-section .mailpoet_form h2,
.newsletter-section .mailpoet_form h3,
.newsletter-section .mailpoet_form a {
    font-family: Arial, Helvetica, sans-serif !important;
}

.newsletter-section .mailpoet_form {
    width: 100% !important;
    margin: 0 auto !important;
    border-radius: 4px !important;
}

.newsletter-section .mailpoet_form h1,
.newsletter-section .mailpoet_form h2,
.newsletter-section .mailpoet_form h3 {
    margin-bottom: 12px !important;
    color: var(--fn-yellow) !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

.newsletter-section .mailpoet_form p {
    line-height: 1.5 !important;
}

.newsletter-section .mailpoet_text,
.newsletter-section input[type="email"],
.newsletter-section input[type="text"] {
    min-height: 52px !important;
    padding: 14px 16px !important;
    border: 1px solid #d9e0e8 !important;
    border-radius: 4px !important;
    background: var(--fn-white) !important;
    color: var(--fn-text) !important;
    font-size: 15px !important;
    box-shadow: none !important;
}

.newsletter-section .mailpoet_text:focus,
.newsletter-section input[type="email"]:focus,
.newsletter-section input[type="text"]:focus {
    border-color: var(--fn-yellow) !important;
    outline: 2px solid rgba(246, 201, 14, 0.25) !important;
}

.newsletter-section .mailpoet_submit,
.newsletter-section button[type="submit"],
.newsletter-section input[type="submit"] {
    min-height: 52px !important;
    padding: 14px 24px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--fn-yellow) !important;
    color: var(--fn-blue-deep) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition:
        background 0.2s ease,
        transform 0.2s ease !important;
}

.newsletter-section .mailpoet_submit:hover,
.newsletter-section button[type="submit"]:hover,
.newsletter-section input[type="submit"]:hover {
    background: #ffda22 !important;
    transform: translateY(-1px);
}

.newsletter-section .mailpoet_checkbox_label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 9px !important;
    color: var(--fn-white) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

.newsletter-section input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    margin: 1px 0 0 !important;
    accent-color: var(--fn-yellow);
}

.newsletter-section .mailpoet_form a {
    color: var(--fn-yellow) !important;
}

.newsletter-section .mailpoet_form a:hover {
    text-decoration: underline !important;
}

@media (max-width: 700px) {
    .newsletter-section {
        padding: 40px 16px 48px;
    }

    .newsletter-section .mailpoet_form {
        padding: 32px 20px !important;
    }

    .newsletter-section .mailpoet_form h1,
    .newsletter-section .mailpoet_form h2,
    .newsletter-section .mailpoet_form h3 {
        font-size: 25px !important;
    }

    .newsletter-section .mailpoet_checkbox_label {
        font-size: 13px !important;
    }
}
/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 32px 0;
    border-top: 5px solid var(--fn-yellow);
    background: var(--fn-blue-deep);
    color: var(--fn-white);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer__disclaimer {
    max-width: 900px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.6;
}

.site-footer__copyright {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

@media (max-width: 700px) {
    .site-footer {
        padding: 26px 0;
    }

    .site-footer__disclaimer {
        font-size: 12px;
    }
}
/* =========================================================
   PAGINE INTERNE E PRIVACY POLICY
   ========================================================= */

.page-main {
    min-height: 70vh;
    padding: 56px 20px 80px;
    background: #f3f6fa;
}

.page-container {
    width: min(980px, 100%);
    margin: 0 auto;
}

.page-article {
    padding: 52px 64px 64px;
    border-top: 5px solid #ffcc00;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(4, 32, 67, 0.08);
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 22px;
    border-bottom: 1px solid #dce3eb;
}

.page-title {
    margin: 0;
    color: #062d5d;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.1;
}

.page-content {
    color: #17283c;
    font-size: 16px;
    line-height: 1.75;
}

.page-content > *:first-child {
    margin-top: 0;
}

.page-content p {
    margin: 0 0 18px;
}

.page-content h2 {
    margin: 42px 0 16px;
    padding-left: 14px;
    border-left: 4px solid #ffcc00;
    color: #062d5d;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.25;
}

.page-content h3 {
    margin: 30px 0 12px;
    color: #062d5d;
    font-size: 20px;
    font-weight: 800;
}

.page-content ul,
.page-content ol {
    margin: 0 0 22px;
    padding-left: 28px;
}

.page-content li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.page-content strong {
    color: #062d5d;
}

.page-content a {
    color: #064f9f;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.page-content a:hover {
    color: #d4a900;
}

@media (max-width: 700px) {
    .page-main {
        padding: 30px 14px 50px;
    }

    .page-article {
        padding: 32px 22px 42px;
    }

    .page-header {
        margin-bottom: 24px;
    }

    .page-title {
        font-size: 30px;
    }

    .page-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .page-content h2 {
        margin-top: 34px;
        font-size: 21px;
    }
}
/* Pulsanti delle pagine WordPress */
.page-content .wp-block-button__link,
.entry-content .wp-block-button__link,
.wp-block-button__link {
    border-radius: 4px !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

/* Pulsante giallo */
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
    color: #062b57 !important;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:focus {
    color: #062b57 !important;
    text-decoration: none !important;
}

/* Pulsante blu */
.wp-block-button.is-style-outline .wp-block-button__link {
    border-color: #082f63 !important;
    background: #082f63 !important;
    color: #ffffff !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
    border-color: #082f63 !important;
    background: #082f63 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:focus {
    background: #ffcc00 !important;
    color: #062b57 !important;
    text-decoration: none !important;
}
/* =========================================================
   TROVA IL COMITATO
   ========================================================= */

.committee-finder {
    padding: 80px 0;
    background: #ffffff;
    color: #062b57;
}

.committee-finder__header {
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    align-items: end;
    gap: 40px;
}

.committee-finder__header .section-kicker {
    display: block;
    margin-bottom: 8px;
    color: #062b57;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.committee-finder__header h2 {
    margin: 0;
    padding-left: 14px;
    border-left: 4px solid #ffcc00;
    color: #062b57;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.committee-finder__header p {
    margin: 0;
    color: #44546a;
    font-size: 15px;
    line-height: 1.6;
}

.committee-finder__panel {
    padding: 32px;
    border-top: 4px solid #ffcc00;
    border-radius: 4px;
    background: #f2f5f9;
    box-shadow: 0 16px 35px rgba(6, 43, 87, 0.12);
}

.committee-search {
    max-width: 850px;
    margin: 0 auto;
}

.committee-search label {
    display: block;
    margin-bottom: 10px;
    color: #062b57;
    font-size: 15px;
    font-weight: 800;
}

.committee-search__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 12px;
}

.committee-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 18px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    outline: none;
    background: #ffffff;
    color: #062b57;
    font: inherit;
    font-size: 16px;
    box-shadow: none;
}

.committee-search input[type="search"]::placeholder {
    color: #7b8796;
    opacity: 1;
}

.committee-search input[type="search"]:focus {
    border-color: #062b57;
    box-shadow: 0 0 0 3px rgba(6, 43, 87, 0.12);
}

.committee-search button {
    height: 52px;
    padding: 0 24px;
    border: 1px solid #ffcc00;
    border-radius: 4px;
    background: #ffcc00;
    color: #062b57;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.committee-search button:hover,
.committee-search button:focus-visible {
    border-color: #062b57;
    background: #062b57;
    color: #ffffff;
}

.committee-search button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.committee-search__status {
    max-width: 850px;
    margin: 18px auto 0;
    color: #526174;
    font-size: 14px;
    line-height: 1.5;
}

.committee-search__status.is-loading {
    color: #062b57;
    font-weight: 700;
}

.committee-search__status.is-error {
    padding: 12px 14px;
    border-left: 4px solid #b42318;
    background: #fff1f0;
    color: #8a1c13;
    font-weight: 700;
}

.committee-results {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.committee-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid #dce3eb;
    border-top: 4px solid #ffcc00;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(6, 43, 87, 0.08);
}

.committee-card__city {
    display: block;
    margin-bottom: 8px;
    color: #c79f00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.committee-card h3 {
    margin: 0 0 16px;
    color: #062b57;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.2;
}

.committee-card__leader {
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e3e8ef;
    color: #435167;
    font-size: 14px;
    line-height: 1.5;
}

.committee-card__leader strong {
    color: #062b57;
}

.committee-card__contacts {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.committee-card__contacts li {
    margin: 0;
}

.committee-card__contacts a {
    color: #062b57;
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.committee-card__contacts a:hover,
.committee-card__contacts a:focus-visible {
    color: #9b7b00;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.committee-card__unavailable {
    margin: 0;
    color: #6c7888;
    font-size: 13px;
    font-style: italic;
}

.committee-results__empty {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px solid #dce3eb;
    border-left: 4px solid #ffcc00;
    border-radius: 4px;
    background: #ffffff;
    color: #435167;
    text-align: center;
}

.committee-finder__source {
    max-width: 850px;
    margin: 24px auto 0;
    color: #687587;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.committee-finder__source a {
    color: #062b57;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* =========================================================
   TROVA IL COMITATO — TABLET
   ========================================================= */

@media (max-width: 950px) {
    .committee-finder__header {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .committee-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   TROVA IL COMITATO — SMARTPHONE
   ========================================================= */

@media (max-width: 650px) {
    .committee-finder {
        padding: 55px 0;
    }

    .committee-finder__header {
        margin-bottom: 24px;
    }

    .committee-finder__header h2 {
        font-size: 28px;
    }

    .committee-finder__panel {
        padding: 22px 16px;
    }

    .committee-search__row {
        grid-template-columns: 1fr;
    }

    .committee-search button {
        width: 100%;
    }

    .committee-results {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .committee-card {
        padding: 21px;
    }
}
/* Animazione pulsante della guida */
.fn-button-grow .wp-block-button__link {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
    transform-origin: center;
}

.fn-button-grow .wp-block-button__link:hover,
.fn-button-grow .wp-block-button__link:focus-visible {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 18px rgba(0, 38, 75, 0.22);
}

/* Rispetta chi preferisce animazioni ridotte */
@media (prefers-reduced-motion: reduce) {
    .fn-button-grow .wp-block-button__link {
        transition: none;
    }

    .fn-button-grow .wp-block-button__link:hover,
    .fn-button-grow .wp-block-button__link:focus-visible {
        transform: none;
    }
}
/* Pulsanti delle guide */
.page-content .wp-block-button__link {
    background-color: #ffcc00;
    color: #001f3f;
    border: 0;
    border-radius: 4px;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.page-content .wp-block-button__link:hover,
.page-content .wp-block-button__link:focus {
    background-color: #f2b900;
    color: #001f3f;
    text-decoration: none;
    transform: scale(1.04);
}
.committee-download-button .wp-block-button__link {
    display: inline-block;
    padding: 14px 22px;
    border: 2px solid #ffcc00;
    border-radius: 4px;
    background: #ffcc00;
    color: #001b3d !important;
    font-weight: 900;
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.committee-download-button .wp-block-button__link:hover,
.committee-download-button .wp-block-button__link:focus {
    background: #ffcc00;
    color: #001b3d !important;
    text-decoration: none !important;
    transform: scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 27, 61, 0.18);
}

.committee-download-button .wp-block-button__link:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}
html {
    scroll-behavior: smooth;
}

#modulo-ufficiale {
    scroll-margin-top: 130px;
}
/* Pulsante del modulo Contatti – WPForms ID 111 */
#wpforms-form-111 button.wpforms-submit {
    padding: 14px 24px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #ffcc00 !important;
    color: #001f49 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease !important;
}

#wpforms-form-111 button.wpforms-submit:hover,
#wpforms-form-111 button.wpforms-submit:focus {
    background: #ffd633 !important;
    color: #001f49 !important;
    transform: scale(1.04);
    box-shadow: 0 8px 18px rgba(0, 31, 73, 0.18) !important;
}

#wpforms-form-111 button.wpforms-submit:active {
    transform: scale(0.98);
}
/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 0;
    border-top: 4px solid #ffcc00;
    background: #001b3a;
    color: #ffffff;
}

.site-footer__grid {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 36px;
    display: grid;
    grid-template-columns: minmax(280px, 2fr) repeat(3, minmax(140px, 1fr));
    gap: 40px;
    align-items: start;
}

.site-footer__title {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.site-footer__heading {
    margin: 0 0 16px;
    color: #ffcc00;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-footer__disclaimer {
    max-width: 520px;
    margin: 0;
    color: #d8e2ee;
    font-size: 13px;
    line-height: 1.7;
}

.site-footer__links,
.site-footer__socials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.site-footer a,
.site-footer a:visited {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #ffcc00;
    text-decoration: none;
    transform: translateX(3px);
}

.site-footer__email {
    font-size: 13px;
    overflow-wrap: anywhere;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__bottom .container {
    padding-top: 18px;
    padding-bottom: 18px;
}

.site-footer__copyright {
    margin: 0;
    color: #c5d1df;
    font-size: 12px;
    line-height: 1.5;
}

/* Tablet */
@media (max-width: 900px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphone */
@media (max-width: 600px) {
    .site-footer__grid {
        width: calc(100% - 40px);
        padding: 38px 0 28px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .site-footer__title {
        font-size: 21px;
    }

    .site-footer__bottom .container {
        padding: 16px 20px;
    }
}
/* =========================================================
   PAGINA GUIDE PRATICHE
   ========================================================= */

.guides-page {
    padding: 8px 0 16px;
}

/* Introduzione */

.guides-page__header {
    max-width: 720px;
    margin: 0 0 36px;
}

.guides-page__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #062e61;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.guides-page__header h2 {
    margin: 0 0 14px;
    padding-left: 14px;
    border-left: 4px solid #ffcc00;
    color: #062e61;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.12;
}

.guides-page__header p {
    max-width: 680px;
    margin: 0;
    color: #35445a;
    font-size: 15px;
    line-height: 1.7;
}

/* Griglia delle guide */

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

/* Singola scheda */

.guides-page__card {
    min-height: 340px;
    position: relative;
    padding: 28px 22px 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 4px solid #ffcc00;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(6, 46, 97, 0.13);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.guides-page__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(6, 46, 97, 0.2);
}

/* Numero grande */

.guides-page__number {
    position: absolute;
    top: 15px;
    right: 16px;
    color: #e5eaf0;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}

/* Icona */

.guides-page__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #062e61;
    color: #ffcc00;
    font-size: 23px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(6, 46, 97, 0.2);
}

/* Testi delle schede */

.guides-page__card h3 {
    margin: 0 0 12px;
    padding-right: 30px;
    color: #062e61;
    font-size: 21px;
    line-height: 1.18;
}

.guides-page__card p {
    margin: 0 0 25px;
    color: #35445a;
    font-size: 14px;
    line-height: 1.65;
}

/* Collegamento alla guida */

.guides-page__button,
.guides-page__button:visited {
    margin-top: auto;
    color: #062e61 !important;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-decoration: none !important;
}

.guides-page__button:hover,
.guides-page__button:focus {
    color: #062e61 !important;
    text-decoration: none !important;
}

.guides-page__button span {
    display: inline-block;
    margin-left: 3px;
    color: #ffcc00;
    font-size: 22px;
    line-height: 0;
    vertical-align: -2px;
    transition: transform 0.2s ease;
}

.guides-page__button:hover span {
    transform: translateX(5px);
}

/* Nota finale */

.guides-page__notice {
    max-width: 700px;
    margin: 36px auto 0;
    padding-top: 18px;
    border-top: 1px solid #dce3eb;
    color: #697587;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

/* Tablet */

@media (max-width: 900px) {
    .guides-page__grid {
        grid-template-columns: 1fr;
    }

    .guides-page__card {
        min-height: 280px;
    }
}

/* Smartphone */

@media (max-width: 600px) {
    .guides-page__header {
        margin-bottom: 26px;
    }

    .guides-page__header h2 {
        font-size: 27px;
    }

    .guides-page__card {
        min-height: 0;
        padding: 24px 20px 22px;
    }

    .guides-page__card h3 {
        font-size: 21px;
    }
}
/* =========================================================
   DETTAGLI ARTICOLO SINGOLO
   ========================================================= */

.single-post-meta {
    margin-top: 10px;
    color: #5b6878;
    font-size: 14px;
    font-weight: 700;
}

.single-post-thumbnail {
    margin: 0 0 30px;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}
/* =========================================================
   PAGINA LE PROPOSTE
   ========================================================= */

.page-content .proposals-list {
    margin-top: 30px;
}

.proposals-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

.proposal-card {
    min-width: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid #dde3eb;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(3, 22, 47, 0.09);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.proposal-card::before {
    content: "";
    height: 6px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    background: var(--fn-yellow);
}

.proposal-card:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 45, 92, 0.22);
    box-shadow: 0 20px 42px rgba(3, 22, 47, 0.15);
}

.page-content .proposal-card__link {
    min-height: 230px;
    position: relative;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 28px;
    padding: 36px 34px 32px;
    color: var(--fn-text);
    text-decoration: none !important;
}

.proposal-card__number {
    position: absolute;
    top: 23px;
    right: 28px;
    color: rgba(8, 45, 92, 0.11);
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
}

.proposal-card__icon {
    width: 68px;
    height: 68px;
    margin-top: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--fn-blue);
    color: var(--fn-yellow);
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(8, 45, 92, 0.19);
}

.proposal-card__content {
    min-width: 0;
    padding-right: 70px;
}

.proposal-card__title {
    margin: 0 0 13px;
    color: var(--fn-blue-dark);
    font-size: clamp(23px, 3vw, 31px);
    font-weight: 900;
    line-height: 1.12;
}

.proposal-card__excerpt {
    max-width: 650px;
    margin: 0 0 24px;
    color: #5c6678;
    font-size: 15px;
    line-height: 1.65;
}

.proposal-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.proposal-card__footer time {
    color: #6c7584;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.proposal-card__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fn-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.proposal-card__action span {
    color: var(--fn-yellow);
    font-size: 27px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.proposal-card:hover .proposal-card__action span {
    transform: translateX(5px);
}

.proposals-empty {
    padding: 34px;
    border-top: 5px solid var(--fn-yellow);
    background: #f3f6fa;
}

.proposals-empty h2 {
    margin-top: 0;
    color: var(--fn-blue-dark);
}

@media (max-width: 700px) {
    .page-content .proposal-card__link {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px 24px 28px;
    }

    .proposal-card__content {
        padding-right: 0;
    }

    .proposal-card__number {
        top: 21px;
        right: 22px;
        font-size: 43px;
    }

    .proposal-card__title {
        font-size: 23px;
    }

    .proposal-card__icon {
        width: 60px;
        height: 60px;
        font-size: 25px;
    }
}
/* =========================================================
   PAGINA ARTICOLI
   ========================================================= */

.articles-page {
    padding-bottom: 72px;
}

.articles-intro {
    margin-bottom: 34px;
}

.articles-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 30px;
}

.article-list-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dde3eb;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(3, 22, 47, 0.09);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.article-list-card::before {
    content: "";
    height: 6px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    background: var(--fn-yellow);
}

.article-list-card:hover {
    transform: translateY(-5px);
    border-color: rgba(8, 45, 92, 0.22);
    box-shadow: 0 20px 42px rgba(3, 22, 47, 0.15);
}

.page-content .article-list-card__link,
.article-list-card__link {
    min-height: 245px;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    color: var(--fn-text);
    text-decoration: none !important;
}

.article-list-card__image {
    min-height: 245px;
    background: var(--fn-blue-deep);
}

.article-list-card__image img {
    width: 100%;
    height: 100%;
    min-height: 245px;
    object-fit: cover;
}

.article-list-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 245px;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 70% 20%, rgba(246, 201, 14, 0.24), transparent 32%),
        linear-gradient(135deg, var(--fn-blue), var(--fn-blue-deep));
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.article-list-card__content {
    min-width: 0;
    padding: 34px 36px 32px;
}

.article-list-card__meta {
    margin-bottom: 12px;
    color: var(--fn-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.article-list-card__title {
    margin: 0 0 14px;
    color: var(--fn-blue-dark);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    line-height: 1.12;
}

.article-list-card__excerpt {
    max-width: 680px;
    margin: 0 0 24px;
    color: #5c6678;
    font-size: 15px;
    line-height: 1.65;
}

.article-list-card__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fn-blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.article-list-card__button span {
    color: var(--fn-yellow);
    font-size: 27px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.article-list-card:hover .article-list-card__button span {
    transform: translateX(5px);
}

.articles-pagination {
    margin-top: 36px;
}

.articles-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.articles-pagination a,
.articles-pagination span {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dde3eb;
    border-radius: 4px;
    background: #ffffff;
    color: var(--fn-blue-dark);
    font-weight: 800;
    text-decoration: none !important;
}

.articles-pagination .current {
    border-color: var(--fn-yellow);
    background: var(--fn-yellow);
    color: var(--fn-blue-deep);
}

.articles-empty {
    padding: 34px;
    border-top: 5px solid var(--fn-yellow);
    background: #f3f6fa;
}

.articles-empty h2 {
    margin-top: 0;
    color: var(--fn-blue-dark);
}

@media (max-width: 800px) {
    .page-content .article-list-card__link,
    .article-list-card__link {
        grid-template-columns: 1fr;
    }

    .article-list-card__image,
    .article-list-card__image img,
    .article-list-card__placeholder {
        min-height: 220px;
    }

    .article-list-card__content {
        padding: 30px 24px 28px;
    }

    .article-list-card__title {
        font-size: 24px;
    }
}