/* Landing chrome without Fondix.Web.styles.css (102 KiB isolation bundle). Source: matching *.razor.css. */

/* Components/Layout/LandingLayout.razor.css */
.fx-landing-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--fx-surface);
    width: 100%;
}

.fx-header {
    position: sticky;
    top: 0;
    z-index: var(--fx-z-overlay);
    min-height: var(--fx-header-h);
    background: color-mix(in oklch, var(--fx-surface) 88%, transparent);
    backdrop-filter: blur(16px) saturate(1.15);
    border-bottom: 1px solid var(--fx-border);
}

.fx-header__inner {
    position: relative;
    max-width: none;
    margin: 0 auto;
    padding: 0 var(--fx-gutter);
    min-height: var(--fx-header-h);
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.fx-header__toggle {
    display: none;
}

.fx-header__nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.15rem 0.95rem;
    margin-left: auto;
}

.fx-header .fx-clock,
.fx-header .fx-theme,
.fx-header__chrome {
    display: none !important;
}

.fx-header__nav a:not(.fx-btn) {
    color: var(--fx-ink);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    min-height: 44px;
    padding: 0 0.2rem;
    display: inline-flex;
    align-items: center;
}

.fx-header__nav a:not(.fx-btn):hover,
.fx-header__tools summary:hover {
    color: var(--fx-primary);
}

.fx-header__nav a.is-current,
.fx-header__tools summary.is-current {
    color: var(--fx-navy);
    box-shadow: inset 0 -2px 0 var(--fx-navy);
}

.fx-header__login { color: var(--fx-navy) !important; }

.fx-header__cta { flex-shrink: 0; }

.fx-header__menu-btn {
    display: none;
    margin-left: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.85rem;
    border: 1px solid var(--fx-border);
    background: var(--fx-surface);
    color: var(--fx-ink);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.fx-header__toggle:focus-visible + .fx-header__menu-btn {
    outline: none;
    box-shadow: var(--fx-focus-ring);
}

.fx-header__tools {
    position: relative;
}

.fx-header__tools summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 600;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: var(--fx-ink);
}

.fx-header__tools summary::-webkit-details-marker { display: none; }

.fx-header__tools-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 16.5rem;
    padding: 0.45rem;
    background: var(--fx-surface);
    border: 1px solid var(--fx-border);
    border-radius: 12px;
    box-shadow: var(--fx-shadow-lg);
    display: grid;
    z-index: var(--fx-z-dropdown);
}

.fx-header__tools-panel a {
    min-height: 44px;
    padding: 0 0.75rem;
    border-radius: 8px;
}

.fx-header__tools-panel a:hover {
    background: var(--fx-primary-subtle);
}

.fx-main { flex: 1; }

@media (max-width: 1100px) {
    .fx-header__toggle {
        display: block;
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
        border: 0;
    }

    .fx-header__menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .fx-header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 0.8rem var(--fx-gutter) 1.1rem;
        background: var(--fx-surface);
        border-bottom: 1px solid var(--fx-border);
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        gap: 0;
        margin-left: 0;
        z-index: var(--fx-z-dropdown);
    }

    .fx-header__toggle:checked ~ .fx-header__nav { display: flex; }

    .fx-header__nav a,
    .fx-header__tools summary {
        min-height: 48px;
        box-shadow: none !important;
    }

    .fx-header__tools-panel {
        position: static;
        box-shadow: none;
        border: 0;
        padding: 0 0 0.4rem 0.6rem;
    }

    .fx-header__cta { width: 100%; margin-top: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .fx-header__nav a { transition: none; }
}

/* Components/Layout/FondixFooter.razor.css */
.fx-footer {
    --fx-footer-bg: #1B3A5C;
    --fx-footer-ink: #F4F7FB;
    --fx-footer-muted: #D5DEE8;
    --fx-footer-line: #3D5F82;
    background: var(--fx-footer-bg);
    color: var(--fx-footer-muted);
    padding: 2.5rem 0 1.5rem;
    margin-top: auto;
    border-top: 1px solid var(--fx-footer-line);
}

.fx-footer__inner {
    max-width: var(--fx-wrap);
    margin: 0 auto;
    padding: 0 var(--fx-gutter) 1.6rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
}

.fx-footer__brand p {
    font-family: var(--fx-font-body);
    font-size: 0.9375rem;
    line-height: 1.55;
    max-width: 32ch;
    margin: 0.8rem 0 0;
    color: var(--fx-footer-muted);
}

.fx-footer h3 {
    margin: 0 0 0.7rem;
    color: var(--fx-footer-ink);
    font-size: 0.95rem;
    font-weight: 600;
}

.fx-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.fx-footer a {
    color: var(--fx-footer-ink);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.fx-footer a:hover { color: #FFF6E0; }

.fx-footer__legal {
    max-width: var(--fx-wrap);
    margin: 0 auto;
    padding: 1.1rem var(--fx-gutter) 0;
    border-top: 1px solid var(--fx-footer-line);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.fx-footer__norm,
.fx-footer__credits {
    margin: 0;
    line-height: 1.4;
}

.fx-footer__norm {
    font-size: 0.82rem;
    color: var(--fx-footer-muted);
}

.fx-footer__credits {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
    font-size: 0.875rem;
    color: var(--fx-footer-muted);
    white-space: nowrap;
}

.fx-footer__copy-short { display: none; }

.fx-footer__sep {
    color: var(--fx-footer-line);
}

.fx-footer a.fx-footer__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    text-decoration: none;
    color: var(--fx-footer-ink);
}

.fx-footer a.fx-footer__chip:hover,
.fx-footer a.fx-footer__chip:focus-visible {
    color: #FFF6E0;
}

.fx-footer a.fx-footer__chip:focus-visible {
    outline: 2px solid #E8A317;
    outline-offset: 3px;
}

.fx-footer__chip-icon {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #F4F7FB;
    object-fit: contain;
    flex: 0 0 22px;
}

.fx-footer__chip-name {
    font-weight: 600;
    letter-spacing: 0.04em;
}

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

    .fx-footer__credits {
        gap: 0.35rem 0.5rem;
        font-size: 0.75rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .fx-footer__credits::-webkit-scrollbar { display: none; }

    .fx-footer__copy-long { display: none; }
    .fx-footer__copy-short { display: inline; }
    .fx-footer__powered-tag { display: none; }

    .fx-footer a.fx-footer__chip {
        min-height: 36px;
        gap: 0.3rem;
    }

    .fx-footer__chip-icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }
}

/* Components/Seo/NewsTicker.razor.css */
.fx-news-roll {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: stretch;
    min-height: 3.15rem;
    background: oklch(22% 0.04 245);
    color: var(--fx-on-navy);
    overflow: hidden;
}

.fx-news-roll__live,
.fx-news-roll__rss {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 1.1rem;
    min-height: 3.15rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--fx-navy-deep);
    background: var(--fx-amber);
    white-space: nowrap;
}

.fx-news-roll__rss {
    background: transparent;
    color: var(--fx-on-navy-soft);
    border-left: 1px solid oklch(100% 0 0 / 0.12);
    letter-spacing: 0.08em;
}

.fx-news-roll__rss:hover,
.fx-news-roll__live:hover {
    filter: brightness(1.06);
}

.fx-news-roll__pulse {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--fx-navy-deep);
    box-shadow: 0 0 0 0 oklch(32% 0.06 245 / 0.6);
    animation: fx-news-pulse 1.8s ease-out infinite;
}

.fx-news-roll__viewport {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 1.25rem, #000 calc(100% - 1.25rem), transparent);
}

.fx-news-roll__track {
    display: flex;
    width: max-content;
    animation: fx-news-marquee calc(18s + var(--fx-news-n, 8) * 2.4s) linear infinite;
}

.fx-news-roll:hover .fx-news-roll__track,
.fx-news-roll:focus-within .fx-news-roll__track {
    animation-play-state: paused;
}

.fx-news-roll__list {
    display: flex;
    margin: 0;
    padding: 0.45rem 0;
    list-style: none;
}

.fx-news-chip {
    display: grid;
    grid-template-columns: 4.5rem minmax(12rem, 22rem);
    grid-template-rows: auto auto;
    column-gap: 0.7rem;
    align-items: center;
    min-height: 3rem;
    margin: 0 0.35rem;
    padding: 0.2rem 1.1rem 0.2rem 0.2rem;
    text-decoration: none;
    color: inherit;
    border-right: 1px solid oklch(100% 0 0 / 0.1);
}

.fx-news-chip:hover .fx-news-chip__title,
.fx-news-chip:focus-visible .fx-news-chip__title {
    color: var(--fx-amber);
}

.fx-news-thumb {
    grid-row: 1 / span 2;
    width: 4.5rem;
    height: 3rem;
    overflow: hidden;
    border-radius: 2px;
    background: var(--fx-navy-deep);
}

.fx-news-thumb svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fx-news-chip__meta {
    display: flex;
    gap: 0.55rem;
    align-items: baseline;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fx-on-navy-soft);
}

.fx-news-chip__meta time {
    color: var(--fx-on-navy-soft);
    letter-spacing: 0;
    text-transform: none;
}

.fx-news-chip__flash {
    color: var(--fx-navy-deep);
    background: var(--fx-amber);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.08rem 0.4rem;
    font-size: 0.75rem;
}

.fx-news-chip__title {
    font-size: 0.92rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--fx-on-navy);
}

@keyframes fx-news-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes fx-news-pulse {
    0% { box-shadow: 0 0 0 0 oklch(32% 0.06 245 / 0.55); }
    70% { box-shadow: 0 0 0 0.45rem oklch(32% 0.06 245 / 0); }
    100% { box-shadow: 0 0 0 0 oklch(32% 0.06 245 / 0); }
}

@media (prefers-reduced-motion: reduce) {
    .fx-news-roll__track,
    .fx-news-roll__pulse {
        animation: none;
    }
    .fx-news-roll__track {
        width: auto;
        max-width: 100%;
    }
    .fx-news-roll__list:last-child {
        display: none;
    }
    .fx-news-chip__title {
        white-space: normal;
    }
}

@media (max-width: 720px) {
    .fx-news-roll__rss { display: none; }
    .fx-news-chip {
        grid-template-columns: 3.4rem minmax(10rem, 18rem);
    }
    .fx-news-thumb {
        width: 3.4rem;
        height: 2.4rem;
    }
}

/* Components/HeroPhotoCarousel.razor.css */
.fx-hero-carousel {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: var(--fx-navy-deep);
}

.fx-hero-carousel__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    animation: fx-hero-crossfade 36s ease-in-out infinite;
    animation-delay: calc(var(--slide-i) * 6s);
    will-change: opacity, transform;
}

.fx-hero-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 40%;
    display: block;
}

.fx-hero-carousel__slide:first-child {
    opacity: 1;
    animation-name: fx-hero-crossfade-first;
}

.fx-hero-carousel__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        95deg,
        var(--fx-navy-deep) 0%,
        oklch(32% 0.06 245 / 0.82) 14%,
        oklch(32% 0.06 245 / 0.35) 32%,
        oklch(32% 0.06 245 / 0.12) 50%,
        transparent 62%
    );
    pointer-events: none;
    z-index: 1;
}

.fx-hero-carousel__dots {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    display: flex;
    gap: 0.45rem;
    z-index: 2;
}

.fx-hero-carousel__dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: oklch(98% 0.004 245 / 0.35);
    animation: fx-hero-dot 36s ease-in-out infinite;
    animation-delay: calc(var(--slide-i) * 6s);
}

/* 6 slides × 6s. ~1.4s fade so consecutive photos overlap. */
@keyframes fx-hero-crossfade {
    0% {
        opacity: 0;
        transform: scale(1.04);
    }
    4% {
        opacity: 1;
        transform: scale(1);
    }
    13% {
        opacity: 1;
        transform: scale(1.03);
    }
    17%, 100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

@keyframes fx-hero-crossfade-first {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    13% {
        opacity: 1;
        transform: scale(1.03);
    }
    17%, 100% {
        opacity: 0;
        transform: scale(1.05);
    }
}

@keyframes fx-hero-dot {
    0%, 3% {
        background: oklch(98% 0.004 245 / 0.35);
        transform: scale(1);
    }
    4%, 13% {
        background: var(--fx-amber-hot);
        transform: scale(1.25);
    }
    17%, 100% {
        background: oklch(98% 0.004 245 / 0.35);
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fx-hero-carousel__slide {
        animation: none;
        opacity: 0;
        transform: none;
    }

    .fx-hero-carousel__slide:first-child {
        opacity: 1;
    }

    .fx-hero-carousel__dot {
        animation: none;
    }

    .fx-hero-carousel__dot:first-child {
        background: var(--fx-amber-hot);
    }
}

/* Components/FondixLogo.razor.css */
.fx-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
    transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.fx-logo:hover {
    opacity: 0.92;
}

.fx-logo:focus-visible {
    outline: 2px solid var(--fx-amber);
    outline-offset: 4px;
    border-radius: 6px;
}

.fx-logo__mark {
    display: block;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
}

.fx-logo--sm .fx-logo__mark { width: 1.75rem; height: 1.75rem; }
.fx-logo--lg .fx-logo__mark { width: 2.75rem; height: 2.75rem; }
.fx-logo--xl .fx-logo__mark { width: 3.25rem; height: 3.25rem; }

.fx-logo__wordmark {
    font-family: var(--fx-font-display);
    font-weight: 400;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.fx-logo--sm .fx-logo__wordmark { font-size: 1.125rem; }
.fx-logo--md .fx-logo__wordmark { font-size: 1.35rem; }
.fx-logo--lg .fx-logo__wordmark { font-size: 1.55rem; }
.fx-logo--xl .fx-logo__wordmark { font-size: 1.85rem; }

.fx-logo__i {
    position: relative;
    font-style: normal;
}

.fx-logo__dot {
    position: absolute;
    top: -0.05em;
    left: 50%;
    transform: translateX(-50%);
    width: 0.28em;
    height: 0.28em;
    border-radius: 50%;
    background: var(--fx-amber);
}

/* Dark theme — header, CTA chiaro */
.fx-logo--dark .fx-logo__mark-bg { fill: var(--fx-navy-deep); }
.fx-logo--dark .fx-logo__mark-f { fill: oklch(98% 0.004 245); }
.fx-logo--dark .fx-logo__mark-link,
.fx-logo--dark .fx-logo__mark-node { fill: var(--fx-amber); }
.fx-logo--dark .fx-logo__wordmark { color: var(--fx-navy-deep); }

/* Light theme — hero, footer scuro */
.fx-logo--light .fx-logo__mark-bg { fill: oklch(98% 0.004 245); }
.fx-logo--light .fx-logo__mark-f { fill: var(--fx-navy-deep); }
.fx-logo--light .fx-logo__mark-link,
.fx-logo--light .fx-logo__mark-node { fill: var(--fx-amber); }
.fx-logo--light .fx-logo__wordmark { color: oklch(98% 0.004 245); }

/* Solo mark su sfondo chiaro */
.fx-logo--mark-dark .fx-logo__mark-bg { fill: var(--fx-navy-deep); }
.fx-logo--mark-dark .fx-logo__mark-f { fill: oklch(98% 0.004 245); }
.fx-logo--mark-dark .fx-logo__mark-link,
.fx-logo--mark-dark .fx-logo__mark-node { fill: var(--fx-amber); }

/* Solo mark su app bar scura */
.fx-logo--mark-light .fx-logo__mark-bg { fill: oklch(98% 0.004 245); }
.fx-logo--mark-light .fx-logo__mark-f { fill: var(--fx-navy-deep); }
.fx-logo--mark-light .fx-logo__mark-link,
.fx-logo--mark-light .fx-logo__mark-node { fill: var(--fx-amber); }

@media (prefers-reduced-motion: reduce) {
    .fx-logo {
        transition: none;
    }
}
