/* ==========================================================================
   Agenda Lyon Ouest - Pages villes V2
   ========================================================================== */

.alo-city-page-v2 {
    padding: 38px 20px 58px;
    background: #f5f3ef;
    color: #17211b;
    font-family: var(--alo-font-main, "DM Sans", sans-serif);
}

.alo-city-page-v2 *,
.alo-city-page-v2 *::before,
.alo-city-page-v2 *::after {
    box-sizing: border-box;
}

.alo-city-page-v2__inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.alo-city-v2-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    align-items: stretch;
    padding: 34px;
    border: 1px solid rgba(39, 103, 73, 0.13);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 248, 0.92)),
        #ffffff;
    box-shadow: 0 18px 44px rgba(42, 35, 26, 0.07);
}

.alo-city-v2-hero__main {
    min-width: 0;
}

.alo-city-v2-hero__eyebrow,
.alo-city-v2-kicker,
.alo-city-v2-section__header p {
    margin: 0 0 9px;
    color: #8a641e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.alo-city-v2-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #17211b;
    font-size: 44px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.05;
}

.alo-city-v2-hero__main > p {
    max-width: 700px;
    margin: 16px 0 0;
    color: #435047;
    font-size: 17px;
    line-height: 1.65;
}

.alo-city-v2-hero__actions,
.alo-city-v2-empty__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.alo-city-v2-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid rgba(39, 103, 73, 0.22);
    border-radius: 999px;
    background: #ffffff;
    color: #276749 !important;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none !important;
}

.alo-city-v2-button:hover,
.alo-city-v2-button:focus-visible {
    border-color: rgba(39, 103, 73, 0.42);
    background: rgba(39, 103, 73, 0.07);
    color: #174d35 !important;
}

.alo-city-v2-button--primary {
    border-color: #276749;
    background: #276749;
    color: #ffffff !important;
}

.alo-city-v2-button--primary:hover,
.alo-city-v2-button--primary:focus-visible {
    background: #1f5139;
    color: #ffffff !important;
}

.alo-city-v2-button--soft {
    border-color: rgba(138, 100, 30, 0.26);
    color: #6f5017 !important;
}

.alo-city-v2-hero__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 190px;
    padding: 22px;
    border: 1px solid rgba(39, 103, 73, 0.12);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(245, 243, 239, 0.95), rgba(255, 255, 255, 0.88)),
        #f9f7f2;
}

.alo-city-v2-hero__number {
    display: block;
    color: #276749;
    font-size: 52px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 0.95;
}

.alo-city-v2-hero__label {
    display: block;
    margin-top: 10px;
    color: #29362f;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.35;
}

.alo-city-v2-hero__panel a {
    margin-top: 18px;
    color: #276749;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.alo-city-v2-hero__panel a:hover,
.alo-city-v2-hero__panel a:focus-visible {
    text-decoration: underline;
}

.alo-city-v2-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin: 18px 0 30px;
    padding: 12px 14px;
    border: 1px solid rgba(39, 103, 73, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
}

.alo-city-v2-shortcuts span {
    margin-right: 4px;
    color: #6b6257;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.alo-city-v2-shortcuts a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border: 1px solid rgba(39, 103, 73, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #276749 !important;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none !important;
}

.alo-city-v2-shortcuts a:hover,
.alo-city-v2-shortcuts a:focus-visible {
    border-color: rgba(39, 103, 73, 0.34);
    background: rgba(39, 103, 73, 0.07);
}

.alo-city-v2-section {
    margin: 32px 0 0;
}

.alo-city-v2-section__header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 16px;
}

.alo-city-v2-section__header h2,
.alo-city-v2-local-guide h2,
.alo-city-v2-faq h2 {
    margin: 0;
    color: #17211b;
    font-size: 28px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.15;
}

.alo-city-v2-section__header a {
    flex: 0 0 auto;
    color: #276749;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.alo-city-v2-section__header a:hover,
.alo-city-v2-section__header a:focus-visible {
    text-decoration: underline;
}

.alo-city-v2-event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.alo-city-page-v2 .alo-city-event-card {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr);
    width: 100% !important;
    max-width: none !important;
    min-height: 128px;
    overflow: hidden;
    border: 1px solid rgba(39, 103, 73, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(42, 35, 26, 0.06);
}

.alo-city-page-v2 .alo-city-event-card__image-link {
    display: block;
    width: 112px;
    height: 100%;
    min-height: 128px;
    background: #ece7dc;
}

.alo-city-page-v2 .alo-card__image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    color: transparent;
    font-size: 0;
    object-fit: cover;
}

.alo-city-page-v2 .alo-city-event-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 13px 14px 12px;
}

.alo-city-page-v2 .alo-city-event-card__date,
.alo-city-page-v2 .alo-city-event-card__city,
.alo-city-page-v2 .alo-card__meta--categorie {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin: 0;
    color: #5c675f;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.alo-city-page-v2 .alo-city-event-card__date svg,
.alo-city-page-v2 .alo-city-event-card__city svg,
.alo-city-page-v2 .alo-card__meta--categorie svg {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    color: #276749;
}

.alo-city-page-v2 .alo-city-event-card__title {
    margin: 0;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.18;
}

.alo-city-page-v2 .alo-city-event-card__title a {
    color: #17211b !important;
    text-decoration: none !important;
}

.alo-city-page-v2 .alo-city-event-card__title a:hover,
.alo-city-page-v2 .alo-city-event-card__title a:focus-visible {
    color: #276749 !important;
}

.alo-city-event-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 10px;
    align-items: center;
    margin-top: auto;
}

.alo-city-page-v2 .alo-card__category-more,
.alo-city-page-v2 .alo-card__date-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(39, 103, 73, 0.08);
    color: #276749;
    font-size: 11px;
    font-weight: 950;
}

.alo-city-v2-empty {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 24px;
    align-items: center;
    padding: 26px;
    border: 1px solid rgba(39, 103, 73, 0.14);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(42, 35, 26, 0.05);
}

.alo-city-v2-empty h3 {
    margin: 0 0 8px;
    color: #17211b;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.2;
}

.alo-city-v2-empty p {
    max-width: 620px;
    margin: 0;
    color: #4f5b53;
    font-size: 15px;
    line-height: 1.65;
}

.alo-city-v2-empty__actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
}

.alo-city-v2-local-guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 28px;
    margin-top: 36px;
    padding: 28px;
    border: 1px solid rgba(39, 103, 73, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.alo-city-v2-local-guide p:not(.alo-city-v2-kicker) {
    max-width: 680px;
    margin: 12px 0 0;
    color: #4f5b53;
    font-size: 15px;
    line-height: 1.7;
}

.alo-city-v2-nearby-links span {
    display: block;
    margin-bottom: 12px;
    color: #6b6257;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.alo-city-v2-nearby-links div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.alo-city-v2-nearby-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 11px;
    border: 1px solid rgba(39, 103, 73, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #276749 !important;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none !important;
}

.alo-city-v2-faq {
    margin-top: 28px;
}

.alo-city-v2-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.alo-city-v2-faq article {
    padding: 18px;
    border: 1px solid rgba(39, 103, 73, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.alo-city-v2-faq h3 {
    margin: 0 0 7px;
    color: #17211b;
    font-size: 16px;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.25;
}

.alo-city-v2-faq p {
    margin: 0;
    color: #4f5b53;
    font-size: 14px;
    line-height: 1.6;
}

.alo-city-page-v2 .alo-pagination,
.alo-city-page-v2 .navigation.pagination {
    margin-top: 22px;
}

@media ( max-width: 860px ) {
    .alo-city-page-v2 {
        padding: 22px 14px 44px;
    }

    .alo-city-v2-hero,
    .alo-city-v2-local-guide,
    .alo-city-v2-faq__grid {
        grid-template-columns: 1fr;
    }

    .alo-city-v2-hero {
        gap: 20px;
        padding: 24px 18px;
    }

    .alo-city-v2-hero h1 {
        font-size: 34px;
    }

    .alo-city-v2-hero__main > p {
        font-size: 16px;
    }

    .alo-city-v2-hero__panel {
        min-height: 0;
        padding: 18px;
    }

    .alo-city-v2-hero__number {
        font-size: 42px;
    }

    .alo-city-v2-shortcuts {
        flex-wrap: nowrap;
        align-items: center;
        overflow-x: auto;
        margin: 16px -14px 26px;
        padding: 10px 14px;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        scrollbar-width: none;
    }

    .alo-city-v2-shortcuts span {
        flex: 0 0 auto;
        width: auto;
    }

    .alo-city-v2-shortcuts a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .alo-city-v2-shortcuts::-webkit-scrollbar {
        display: none;
    }

    .alo-city-v2-event-grid {
        grid-template-columns: 1fr;
    }

    .alo-city-v2-empty {
        display: block;
    }

    .alo-city-v2-empty__actions {
        margin-top: 20px;
    }
}

@media ( max-width: 520px ) {
    .alo-city-page-v2 {
        padding-top: 16px;
    }

    .alo-city-v2-hero {
        gap: 16px;
        padding: 20px 16px;
    }

    .alo-city-v2-hero h1 {
        font-size: 30px;
    }

    .alo-city-v2-hero__main > p {
        margin-top: 14px;
        font-size: 15.5px;
        line-height: 1.55;
    }

    .alo-city-v2-hero__actions,
    .alo-city-v2-empty__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin-top: 20px;
    }

    .alo-city-v2-button {
        width: auto;
        min-height: 42px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .alo-city-v2-button--soft {
        grid-column: 1 / -1;
    }

    .alo-city-v2-hero__panel {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 4px 14px;
        align-items: center;
        padding: 15px 18px;
    }

    .alo-city-v2-hero__number {
        grid-row: 1 / 3;
        font-size: 43px;
    }

    .alo-city-v2-hero__label {
        margin-top: 0;
        font-size: 14px;
    }

    .alo-city-v2-hero__panel a {
        margin-top: 0;
    }

    .alo-city-v2-shortcuts {
        margin-top: 14px;
        margin-bottom: 24px;
    }

    .alo-city-v2-shortcuts a {
        min-height: 36px;
    }

    .alo-city-v2-section {
        margin-top: 24px;
    }

    .alo-city-v2-section__header {
        display: block;
    }

    .alo-city-v2-section__header h2,
    .alo-city-v2-local-guide h2,
    .alo-city-v2-faq h2 {
        font-size: 24px;
    }

    .alo-city-v2-section__header a {
        display: inline-flex;
        margin-top: 10px;
    }

    .alo-city-page-v2 .alo-city-event-card {
        grid-template-columns: 82px minmax(0, 1fr);
        min-height: 112px;
    }

    .alo-city-page-v2 .alo-city-event-card__image-link {
        width: 82px;
        min-height: 112px;
    }

    .alo-city-page-v2 .alo-city-event-card__content {
        padding: 11px 12px;
        gap: 7px;
    }

    .alo-city-page-v2 .alo-city-event-card__title {
        font-size: 16px;
        line-height: 1.2;
    }

    .alo-city-page-v2 .alo-city-event-card__date,
    .alo-city-page-v2 .alo-city-event-card__city,
    .alo-city-page-v2 .alo-card__meta--categorie {
        font-size: 11.5px;
    }

    .alo-city-v2-empty,
    .alo-city-v2-local-guide,
    .alo-city-v2-faq article {
        padding: 18px;
    }
}
