/*
 * SOMAGO — HERO PREMIUM V2
 * Isolated stylesheet candidate
 *
 * Existing institutional hero styles remain unchanged.
 */

.somago-hero-carousel {
    position: relative;
    isolation: isolate;
}

.somago-hero-carousel [data-somago-hero-slide][hidden] {
    display: none !important;
}

/* Congress slide */

.somago-congress-slide {
    position: relative;
    min-height: 40rem;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(18, 143, 148, 0.24),
            transparent 38%
        ),
        linear-gradient(
            125deg,
            #071a35 0%,
            #102d50 58%,
            #123e56 100%
        );
}

.somago-congress-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );
    background-size: 90px 90px;
}

.somago-congress-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    min-height: 40rem;
    padding-top: 5rem;
    padding-bottom: 6rem;
}

.somago-congress-kicker {
    display: inline-block;
    margin: 0 0 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid #d6b56b;
    color: #e8cc91;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.somago-congress-title {
    max-width: 14ch;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.6rem, 5vw, 5rem);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.somago-congress-intro {
    max-width: 39rem;
    margin: 1.7rem 0 0;
    color: #d7e4ee;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.8;
}

.somago-congress-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.6rem;
    margin-top: 1.8rem;
    color: #e8cc91;
    font-weight: 600;
}

.somago-congress-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.somago-congress-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.8rem 1.6rem;
    border: 1px solid #d6b56b;
    border-radius: 3px;
    background: #d6b56b;
    color: #10233b;
    font-weight: 700;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        border-color 180ms ease;
}

.somago-congress-action:hover {
    background: #f0d79f;
    border-color: #f0d79f;
    color: #10233b;
}

/* Congress information panel */

.somago-congress-panel {
    padding: clamp(1.5rem, 3vw, 3rem);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.12);
}

.somago-congress-panel-label {
    margin: 0 0 1.5rem;
    color: #e8cc91;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.somago-congress-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.somago-congress-countdown[hidden] {
    display: none !important;
}

.somago-congress-time {
    min-width: 0;
    padding: 1rem 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.12);
    text-align: center;
}

.somago-congress-time strong {
    display: block;
    color: #ffffff;
    font-size: clamp(1.4rem, 2.5vw, 2.7rem);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.somago-congress-time span {
    display: block;
    margin-top: 0.5rem;
    color: #d7e4ee;
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* Navigation */

.somago-hero-controls {
    position: absolute;
    z-index: 5;
    right: max(1.5rem, calc((100vw - 1200px) / 2));
    bottom: 1.6rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.somago-hero-control,
.somago-hero-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    min-height: 2.6rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    background: #102d50;
    color: #ffffff;
    cursor: pointer;
}

.somago-hero-control:hover,
.somago-hero-dot:hover {
    background: #245578;
}

.somago-hero-dot {
    min-width: 0.8rem;
    min-height: 0.8rem;
    padding: 0;
    border-radius: 50%;
}

.somago-hero-dot[aria-current="true"] {
    background: #d6b56b;
    border-color: #d6b56b;
}

.somago-hero-control:focus-visible,
.somago-hero-dot:focus-visible,
.somago-congress-action:focus-visible {
    outline: 3px solid #f0d79f;
    outline-offset: 4px;
}

/* Responsive */

@media (max-width: 900px) {
    .somago-congress-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 7rem;
    }

    .somago-congress-title {
        max-width: 18ch;
    }

    .somago-hero-controls {
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .somago-congress-slide {
        min-height: auto;
    }

    .somago-congress-layout {
        padding-top: 3rem;
    }

    .somago-congress-panel {
        padding: 1rem;
    }

    .somago-congress-countdown {
        gap: 0.3rem;
    }

    .somago-congress-time {
        padding: 0.75rem 0.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .somago-congress-action {
        transition: none;
    }
}

/* SOMAGO_PREMIUM_20H_V1 */

.somago-hero-carousel {
    position: relative;
    isolation: isolate;
}

.somago-congress-slide {
    position: relative;
    min-height: 660px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 80% 38%,
            rgba(25, 120, 142, .26),
            transparent 38%
        ),
        linear-gradient(
            115deg,
            #091d36 0%,
            #102b47 52%,
            #0b4257 100%
        );
}

.somago-congress-slide[hidden] {
    display: none !important;
}

.somago-20h-inner {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100% - 100px));
    min-height: 660px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 70px;
    padding: 85px 0 110px;
}

.somago-20h-content {
    max-width: 660px;
}

.somago-20h-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #c5d8df;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .20em;
}

.somago-20h-line {
    width: 38px;
    height: 2px;
    background: #d7af69;
}

.somago-20h-edition {
    margin-top: 36px;
    color: #e0ba78;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .22em;
}

.somago-20h-title {
    margin: 18px 0 22px;
    color: #ffffff;
    font-size: clamp(58px, 6vw, 100px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 800;
}

.somago-20h-title span {
    display: block;
    color: #e1bd7e;
}

.somago-20h-subtitle {
    max-width: 570px;
    color: #ffffff;
    font-size: clamp(19px, 2vw, 27px);
    line-height: 1.45;
    font-weight: 600;
}

.somago-20h-description {
    max-width: 560px;
    margin-top: 23px;
    color: #bbcedb;
    font-size: 16px;
    line-height: 1.85;
}

.somago-20h-actions {
    margin-top: 35px;
}

.somago-20h-notice {
    display: inline-block;
    padding: 14px 20px;
    border-left: 3px solid #e1bd7e;
    background: rgba(255,255,255,.07);
    color: #f4f6f8;
    font-size: 14px;
}

.somago-20h-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 470px;
}

.somago-20h-orbit {
    position: absolute;
    border: 1px solid rgba(225,189,126,.22);
    border-radius: 50%;
}

.somago-20h-orbit-one {
    width: 470px;
    height: 470px;
}

.somago-20h-orbit-two {
    width: 370px;
    height: 370px;
}

.somago-20h-visual-card {
    position: relative;
    z-index: 2;
    width: min(340px, 90%);
    aspect-ratio: 4 / 5;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.15),
            rgba(255,255,255,.035)
        );
    border: 1px solid rgba(225,189,126,.5);
    box-shadow: 0 35px 80px rgba(0,0,0,.22);
    backdrop-filter: blur(12px);
}

.somago-20h-card-top {
    color: #e4c48d;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .28em;
}

.somago-20h-card-symbol {
    text-align: center;
    color: #e6c58a;
    font-size: 95px;
    line-height: 1;
}

.somago-20h-card-bottom {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .10em;
}

.somago-20h-card-bottom strong {
    display: block;
    margin-top: 5px;
    color: #e4c48d;
    font-size: 60px;
    letter-spacing: -.04em;
}

.somago-20h-visual-caption {
    position: absolute;
    bottom: -5px;
    color: #c3d5dc;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    white-space: nowrap;
}

.somago-hero-controls {
    z-index: 20;
}

@media (max-width: 900px) {
    .somago-20h-inner {
        width: min(100% - 48px, 680px);
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 75px 0 115px;
    }

    .somago-20h-visual {
        min-height: 350px;
    }

    .somago-20h-orbit-one {
        width: 330px;
        height: 330px;
    }

    .somago-20h-orbit-two {
        width: 260px;
        height: 260px;
    }

    .somago-20h-visual-card {
        width: 245px;
        padding: 25px;
    }

    .somago-20h-card-symbol {
        font-size: 65px;
    }

    .somago-20h-card-bottom strong {
        font-size: 45px;
    }
}

@media (max-width: 480px) {
    .somago-20h-inner {
        width: calc(100% - 36px);
    }

    .somago-20h-title {
        font-size: clamp(52px, 13vw, 72px);
    }

    .somago-20h-description {
        font-size: 14px;
    }

    .somago-20h-visual {
        min-height: 310px;
    }

    .somago-20h-orbit-one {
        width: 285px;
        height: 285px;
    }

    .somago-20h-orbit-two {
        width: 225px;
        height: 225px;
    }
}


/* SOMAGO_20N3_VISUAL_FIX */

/* Évite le chevauchement des informations sous la carte. */
.somago-congress-slide .somago-20h-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.somago-congress-slide .somago-20h-visual-card {
    flex-shrink: 0;
}

.somago-congress-slide .somago-20h-visual-caption {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0;
    text-align: center;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
}

.somago-20n3-calendar-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    color: #fff;
    text-align: center;
}

.somago-20n3-calendar-countdown strong {
    color: #e5bf75;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}

.somago-20n3-calendar-countdown span {
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* SOMAGO_20N9C_PREMIUM_V1 */

.somago-congress-slide .somago-20h-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(30px, 4vw, 65px);
    padding-top: 75px;
    padding-bottom: 120px;
}

.somago-congress-slide .somago-20h-title {
    max-width: 610px;
    font-size: clamp(48px, 4.3vw, 72px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.somago-congress-slide .somago-20h-edition {
    margin-top: 22px;
    font-size: 12px;
    letter-spacing: .15em;
}

.somago-congress-slide .somago-20h-description {
    max-width: 530px;
    font-size: 15px;
    line-height: 1.7;
}

.somago-congress-slide .somago-20h-visual {
    gap: 16px;
    min-width: 0;
}

.somago-congress-slide .somago-20h-visual-card {
    width: min(300px, 90%);
    aspect-ratio: 5 / 5.4;
    padding: 28px;
}

.somago-congress-slide .somago-20h-card-symbol {
    font-size: 72px;
}

.somago-congress-slide .somago-20h-card-bottom {
    font-size: 18px;
}

.somago-congress-slide .somago-20h-card-bottom strong {
    font-size: clamp(32px, 3.2vw, 46px);
}

.somago-congress-slide .somago-20n9c-countdown {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: min(420px, 100%);
    margin-top: 5px;
}

.somago-congress-slide .somago-20n9c-countdown[hidden] {
    display: none !important;
}

.somago-congress-slide .somago-20n9c-countdown .somago-congress-time {
    min-width: 0;
    padding: 12px 6px;
    border: 1px solid rgba(225,189,126,.3);
    background: rgba(255,255,255,.06);
    text-align: center;
}

.somago-congress-slide .somago-20n9c-countdown strong {
    display: block;
    color: #e7c487;
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.somago-congress-slide .somago-20n9c-countdown span {
    display: block;
    margin-top: 5px;
    color: #d3e0e7;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.somago-congress-slide .somago-20h-visual-caption {
    position: relative;
    inset: auto;
    margin: 0;
    font-size: 11px;
    letter-spacing: .08em;
}

@media (max-width: 900px) {
    .somago-congress-slide .somago-20h-inner {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 65px 0 115px;
    }

    .somago-congress-slide .somago-20h-title {
        font-size: clamp(42px, 8vw, 64px);
    }

    .somago-congress-slide .somago-20h-visual-card {
        width: min(280px, 85%);
    }
}

@media (max-width: 480px) {
    .somago-congress-slide .somago-20h-title {
        font-size: clamp(38px, 11vw, 52px);
    }

    .somago-congress-slide .somago-20n9c-countdown {
        gap: 5px;
    }

    .somago-congress-slide .somago-20n9c-countdown strong {
        font-size: 22px;
    }

    .somago-congress-slide .somago-20n9c-countdown span {
        font-size: 9px;
    }
}

/* ======================================================
   SOMAGO_20N9D_HEADER_CLEARANCE
   Le deuxième slide commence sous le menu principal.
   Le Hero mère-enfant reste inchangé.
   ====================================================== */

@media (min-width: 901px) {

    .somago-congress-slide .somago-20h-inner {
        min-height: 720px;
        padding-top: 170px;
        padding-bottom: 100px;
        align-items: center;
    }

    .somago-congress-slide .somago-20h-content {
        align-self: center;
    }

    .somago-congress-slide .somago-20h-visual {
        align-self: center;
        min-height: 0;
    }

    .somago-congress-slide .somago-20h-visual-card {
        width: min(280px, 88%);
        aspect-ratio: 5 / 4.5;
    }

    .somago-congress-slide .somago-20h-card-symbol {
        font-size: 58px;
    }

    .somago-congress-slide .somago-20h-card-bottom strong {
        font-size: 40px;
    }

    .somago-congress-slide .somago-20h-orbit-one {
        width: 350px;
        height: 350px;
    }

    .somago-congress-slide .somago-20h-orbit-two {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 900px) {

    .somago-congress-slide .somago-20h-inner {
        padding-top: 135px;
        padding-bottom: 115px;
    }

    .somago-congress-slide .somago-20h-visual {
        min-height: 0;
    }

    .somago-congress-slide .somago-20h-orbit-one {
        width: 290px;
        height: 290px;
    }

    .somago-congress-slide .somago-20h-orbit-two {
        width: 230px;
        height: 230px;
    }
}

@media (max-width: 480px) {

    .somago-congress-slide .somago-20h-inner {
        padding-top: 125px;
    }

    .somago-congress-slide .somago-20h-title {
        font-size: clamp(36px, 10vw, 48px);
    }
}


/* ======================================================
   SOMAGO_20N9E_MINIMAL_CONTROLS
   Navigation minimaliste du Hero premium.
   ====================================================== */

.somago-hero-carousel .somago-hero-controls {
    gap: 8px;
}

.somago-hero-carousel .somago-hero-controls button {
    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        opacity .2s ease;
}

.somago-hero-carousel .somago-hero-controls button:not(:focus-visible) {
    box-shadow: none;
}

.somago-hero-carousel .somago-hero-controls
button[data-somago-hero-prev],
.somago-hero-carousel .somago-hero-controls
button[data-somago-hero-next] {
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    opacity: .8;
}

.somago-hero-carousel .somago-hero-controls
button[data-somago-hero-prev]:hover,
.somago-hero-carousel .somago-hero-controls
button[data-somago-hero-next]:hover {
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    color: #fff;
    opacity: 1;
}

.somago-hero-carousel .somago-hero-controls
button[data-somago-hero-pause] {
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: transparent;
    color: rgba(255,255,255,.65);
    font-size: 10px;
    opacity: .8;
}

.somago-hero-carousel .somago-hero-controls
button[data-somago-hero-pause]:hover {
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.07);
    color: #fff;
    opacity: 1;
}

.somago-hero-carousel .somago-hero-controls
button:focus-visible {
    outline: 2px solid #e4c48d;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .somago-hero-carousel .somago-hero-controls button {
        transition: none;
    }
}


/* ======================================================
   SOMAGO_20N11_FULL_VIEWPORT
   Hero plein écran — deux slides.
   ====================================================== */

:root {
    --somago-hero-viewport: 100svh;
}

/* Le carrousel occupe au minimum toute la hauteur visible. */
.somago-hero-carousel {
    position: relative;
    min-height: var(--somago-hero-viewport);
}

/* Slide de la Régionale. */
.somago-hero-carousel .somago-congress-slide {
    min-height: var(--somago-hero-viewport);
}

.somago-hero-carousel .somago-20h-inner {
    min-height: var(--somago-hero-viewport);
    box-sizing: border-box;
    padding-top: clamp(150px, 17vh, 200px);
    padding-bottom: clamp(100px, 12vh, 150px);
}

/* Le texte reste équilibré sur grand écran. */
.somago-hero-carousel .somago-20h-content {
    align-self: center;
}

/* L'ensemble de la composition respire davantage. */
.somago-hero-carousel .somago-20h-visual {
    align-self: center;
}

/* Commandes discrètes près du bas du Hero. */
.somago-hero-carousel .somago-hero-controls {
    z-index: 30;
}

/* Adaptation tablette. */
@media (max-width: 900px) {
    .somago-hero-carousel .somago-20h-inner {
        min-height: var(--somago-hero-viewport);
        padding-top: 155px;
        padding-bottom: 115px;
    }
}

/* Adaptation mobile : aucun contenu coupé. */
@media (max-width: 600px) {
    .somago-hero-carousel .somago-20h-inner {
        min-height: var(--somago-hero-viewport);
        height: auto;
        padding-top: 145px;
        padding-bottom: 110px;
    }

    .somago-hero-carousel .somago-20h-title {
        font-size: clamp(40px, 10vw, 60px);
    }
}


/* ==========================================================
   SOMAGO_20N11C_BOTH_SLIDES
   Harmonisation des deux slides en pleine hauteur.
   Ne modifie pas le Hero original ni ses ressources.
   ========================================================== */

@media (min-width: 901px) {

    .somago-home .somago-hero-carousel {
        position: relative;
        min-height: 100vh;
        min-height: 100svh;
        overflow: hidden;
    }

    .somago-home .somago-hero-carousel > [data-somago-hero-slide] {
        min-height: 100vh;
        min-height: 100svh;
    }

    .somago-home .somago-hero-carousel > [data-somago-hero-slide]:first-child {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .somago-home .somago-hero-carousel .somago-congress-slide {
        min-height: 100vh;
        min-height: 100svh;
    }

    .somago-home .somago-hero-carousel .somago-hero-controls {
        position: absolute;
        bottom: 22px;
        z-index: 30;
    }
}

@media (max-width: 900px) {

    .somago-home .somago-hero-carousel {
        position: relative;
        min-height: 100svh;
    }

    .somago-home .somago-hero-carousel > [data-somago-hero-slide] {
        min-height: 100svh;
    }

    .somago-home .somago-hero-carousel .somago-hero-controls {
        z-index: 30;
    }
}

/* Maintenir le fond du Hero derrière les contrôles. */
.somago-home .somago-hero-carousel {
    background: #0b233c;
}

/* Navigation discrète, sans grand bouton encadré. */
.somago-home .somago-hero-carousel .somago-hero-controls button {
    border-radius: 3px;
}



/* SOMAGO_20N14F — Régionale premium calendar countdown */
.somago-congress-slide .somago-regionale-days {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: min(100%, 19rem);
    margin: 1.25rem auto 0;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(226, 190, 121, 0.38);
    border-radius: 4px;
    background: rgba(8, 31, 51, 0.36);
    color: #ffffff;
    text-align: center;
}

.somago-congress-slide .somago-regionale-days[hidden] {
    display: none !important;
}

.somago-congress-slide .somago-regionale-days strong {
    display: block;
    color: #e5bc73;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.somago-congress-slide .somago-regionale-days span {
    display: block;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .somago-congress-slide .somago-regionale-days {
        width: min(100%, 16rem);
        margin-top: 0.8rem;
        padding: 0.75rem 1rem;
    }

    .somago-congress-slide .somago-regionale-days strong {
        font-size: 2.5rem;
    }
}


/* SOMAGO_20N16C — Minister portrait premium */
.somago-congress-slide .somago-minister-premium {
    position: relative;
    z-index: 2;
    width: min(330px, 92%);
    margin: 0 auto;
}

.somago-congress-slide .somago-minister-patronage {
    position: relative;
    z-index: 4;
    margin: 0 12px -9px;
    padding: 11px 8px;
    border: 1px solid #e8c681;
    border-radius: 3px;
    background: linear-gradient(110deg, #d4a653, #f2d18c, #c99948);
    color: #10253b;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .06em;
    text-align: center;
    box-shadow: 0 5px 18px rgba(215,171,90,.25);
}

.somago-congress-slide .somago-minister-frame {
    position: relative;
    padding: 23px 17px 20px;
    border: 1px solid rgba(236,193,112,.88);
    border-radius: 7px;
    background: linear-gradient(155deg,rgba(22,54,78,.94),rgba(6,26,45,.98));
    box-shadow: 0 0 24px rgba(224,179,91,.13);
    text-align: center;
}

.somago-congress-slide .somago-minister-photo {
    position: relative;
    width: 100%;
    padding: 7px;
    background: #fff;
    transform: rotate(-1.3deg);
    box-shadow: 0 9px 22px rgba(0,0,0,.3);
}

.somago-congress-slide .somago-minister-photo img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center 24%;
    border-radius: 0;
}

.somago-congress-slide .somago-minister-photo::before,
.somago-congress-slide .somago-minister-photo::after {
    content: "";
    position: absolute;
    z-index: 3;
    width: 74px;
    height: 24px;
    background: linear-gradient(110deg,rgba(225,188,117,.9),rgba(245,220,165,.75));
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
}

.somago-congress-slide .somago-minister-photo::before {
    top: -10px;
    left: -18px;
    transform: rotate(-22deg);
}

.somago-congress-slide .somago-minister-photo::after {
    bottom: -7px;
    right: -17px;
    transform: rotate(-22deg);
}

.somago-congress-slide .somago-minister-name {
    margin-top: 19px;
    color: #e8bf73;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.25;
}

.somago-congress-slide .somago-minister-title {
    margin-top: 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .08em;
}

@media (max-width: 900px) {
    .somago-congress-slide .somago-minister-premium {
        width: min(300px, 90%);
    }

    .somago-congress-slide .somago-minister-photo img {
        height: 190px;
    }
}


/* SOMAGO_20N16D — Countdown under minister portrait */
.somago-congress-slide .somago-20n9c-countdown {
    width: min(440px, 100%);
    margin: 10px auto 0;
}

.somago-congress-slide .somago-20n9c-countdown .somago-congress-time {
    border-color: rgba(231,196,135,.45);
    background: rgba(9,34,55,.55);
}

.somago-congress-slide .somago-minister-name {
    font-size: clamp(13px, 1.1vw, 16px);
}
