:root {
    --stedh-navy: #10436c;
    --stedh-blue: #225f97;
    --stedh-stone: #cec3b2;
    --stedh-paper: #f2ebdf;
    --stedh-ink: #173951;
    --stedh-white: #fffdf7;
}

body.stedh-blog-page {
    background: var(--stedh-paper);
}

body.stedh-blog-page .site-content > .ast-container,
body.stedh-blog-page #content > .ast-container,
body.stedh-blog-page .content-area,
body.stedh-blog-page #primary.stedh-blog-main,
body.stedh-blog-page .site-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
}

body.stedh-blog-page .site-content > .ast-container,
body.stedh-blog-page #content > .ast-container,
body.stedh-blog-page .content-area {
    padding: 0 !important;
}

body.stedh-blog-page #primary.stedh-blog-main {
    min-height: 420px;
    padding: clamp(55px, 6vw, 95px) 24px !important;
    background: var(--stedh-paper);
}

body.stedh-blog-page .stedh-blog-source-banner,
body.stedh-blog-page .stedh-blog-source-banner h1,
body.stedh-blog-page .stedh-blog-source-banner h2,
body.stedh-blog-page .stedh-blog-source-banner h3,
body.stedh-blog-page .stedh-blog-source-banner p,
body.stedh-blog-page .stedh-blog-source-banner a,
body.stedh-blog-page .stedh-blog-source-banner span,
body.stedh-blog-page .stedh-blog-source-banner li,
body.stedh-blog-page .stedh-blog-source-banner button,
body.stedh-blog-page .stedh-blog-main,
body.stedh-blog-page .stedh-blog-main h1,
body.stedh-blog-page .stedh-blog-main h2,
body.stedh-blog-page .stedh-blog-main h3,
body.stedh-blog-page .stedh-blog-main h4,
body.stedh-blog-page .stedh-blog-main p,
body.stedh-blog-page .stedh-blog-main a,
body.stedh-blog-page .stedh-blog-main span,
body.stedh-blog-page .stedh-blog-main li,
body.stedh-blog-page .stedh-blog-main button {
    font-family: Roboto, Arial, sans-serif !important;
}

.stedh-blog-page #masthead {
    display: none;
}

.stedh-blog-source-banner [data-id="db851af"] {
    background-color: #10436c !important;
}

.stedh-blog-source-banner [data-id="db851af"]:hover {
    background-color: var(--e-global-color-primary) !important;
}

.stedh-blog-source-banner [data-id="db851af"] img {
    filter: brightness(0) invert(1);
}

.stedh-blog-page .site-content,
.stedh-blog-page .ast-container,
.stedh-blog-page .content-area {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.stedh-blog-hero {
    width: 100%;
    min-height: 420px;
    padding: 38px 0 38px clamp(24px, 8.3vw, 158px);
    background-color: var(--stedh-stone);
    background-image: linear-gradient(rgba(255, 253, 247, .55), rgba(255, 253, 247, .55)), url("https://www.stedh.fr/wp-content/uploads/2026/01/1499.webp");
    background-position: center;
    background-size: cover;
    color: var(--stedh-navy);
}

.stedh-blog-hero__top {
    min-height: 100px;
    padding-right: clamp(24px, 7vw, 140px);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.stedh-blog-hero__title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--stedh-navy);
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: clamp(36px, 3.2vw, 58px);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.stedh-blog-hero__title svg {
    width: 58px;
    height: 70px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5;
}

.stedh-blog-hero__actions {
    display: flex;
    gap: 20px;
    padding-top: 16px;
}

.stedh-blog-action {
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    border-radius: 8px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
}

.stedh-blog-action:hover,
.stedh-blog-action:focus {
    color: #fff;
    transform: translateY(-1px);
}

.stedh-blog-action--contact { background: var(--stedh-blue); }
.stedh-blog-action--phone { background: rgba(206, 195, 178, .92); color: var(--stedh-navy); }
.stedh-blog-action--phone:hover,
.stedh-blog-action--phone:focus { color: var(--stedh-navy); }

.stedh-blog-hero__band {
    min-height: 228px;
    padding: 42px clamp(26px, 6vw, 95px) 42px clamp(26px, 4vw, 72px);
    display: flex;
    align-items: center;
    gap: clamp(35px, 6vw, 110px);
    background: rgba(16, 67, 108, .82);
    border-radius: 20px 0 0 20px;
}

.stedh-blog-hero__logo {
    flex: 0 0 clamp(210px, 17vw, 285px);
}

.stedh-blog-hero__logo img {
    width: 100%;
    height: auto;
    display: block;
}

.stedh-blog-services {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(8, minmax(75px, 1fr));
    gap: 10px;
}

.stedh-blog-service {
    min-height: 92px;
    padding: 8px 6px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 6px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.stedh-blog-service:hover,
.stedh-blog-service:focus {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transform: translateY(-2px);
}

.stedh-blog-service img {
    width: auto;
    height: 52px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.stedh-blog-service span {
    max-height: 0;
    overflow: hidden;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    opacity: 0;
}

.stedh-blog-service:hover span,
.stedh-blog-service:focus span {
    max-height: 28px;
    opacity: 1;
}

.stedh-blog-service--quote {
    background: var(--stedh-stone);
    color: var(--stedh-navy);
}

.stedh-blog-service--quote img { filter: none; }

.stedh-blog-mobile-menu { display: none; }

.stedh-blog-service--quote:hover,
.stedh-blog-service--quote:focus { color: var(--stedh-navy); }

.stedh-blog-main {
    min-height: 420px;
    padding: clamp(55px, 6vw, 95px) 24px;
    background: var(--stedh-paper);
}

.stedh-blog-shell {
    width: min(1400px, 100%);
    margin: 0 auto;
}

.stedh-blog-heading {
    margin-bottom: 45px;
    text-align: center;
}

.stedh-blog-eyebrow {
    margin: 0 0 10px;
    color: var(--stedh-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.stedh-blog-heading h1 {
    margin: 0;
    color: var(--stedh-navy);
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: clamp(36px, 4vw, 58px);
    text-transform: uppercase;
}

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

.stedh-blog-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(255, 253, 247, .58);
    border-radius: 12px;
}

.stedh-blog-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.stedh-blog-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.stedh-blog-card:hover .stedh-blog-card__media img { transform: scale(1.025); }

.stedh-blog-card__body {
    flex: 1;
    padding: 24px 22px 26px;
    display: flex;
    flex-direction: column;
}

.stedh-blog-card__date,
.stedh-blog-article__meta {
    margin: 0 0 12px;
    color: var(--stedh-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.stedh-blog-card h3 {
    margin: 0 0 18px;
    color: var(--stedh-navy);
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 900;
    line-height: 1.06;
}

.stedh-blog-card h3 a { color: inherit; text-decoration: none; }
.stedh-blog-card__excerpt { color: #5d6d78; }
.stedh-blog-card__excerpt p { margin: 0 0 22px; }

.stedh-blog-card__link {
    margin-top: auto;
    color: var(--stedh-navy);
    font-family: "Roboto Condensed", Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    text-transform: uppercase;
}

.stedh-blog-card__link span { margin-left: 8px; }

.stedh-blog-empty {
    max-width: 800px;
    margin: 0 auto;
    padding: 70px 30px;
    background: rgba(255, 253, 247, .72);
    border-radius: 14px;
    color: var(--stedh-ink);
    text-align: center;
}

.stedh-blog-empty h3 { margin: 0 0 12px; color: var(--stedh-navy); font-size: 32px; }
.stedh-blog-pagination { margin-top: 45px; text-align: center; }

.stedh-blog-post-nav {
    margin: 0 0 35px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    color: var(--stedh-navy);
    font-size: 17px;
    font-weight: 700;
}

.stedh-blog-post-nav a { color: var(--stedh-navy); text-decoration: none; }
.stedh-blog-post-nav__all { color: var(--stedh-blue) !important; }
.stedh-blog-post-nav__next { text-align: right; }

.stedh-blog-article {
    overflow: hidden;
    padding: clamp(32px, 4vw, 60px);
    background: rgba(255, 253, 247, .8);
    border-radius: 14px;
}

.stedh-blog-article__media {
    margin: 0 0 34px;
    overflow: hidden;
    border-radius: 12px;
}

.stedh-blog-article__media img {
    width: 100%;
    max-height: 650px;
    display: block;
    object-fit: cover;
}

.stedh-blog-article__header { text-align: center; }

.stedh-blog-article__header h1 {
    max-width: 1150px;
    margin: 0 auto 40px;
    color: var(--stedh-navy);
    font-family: Roboto, Arial, sans-serif;
    font-size: clamp(34px, 3.2vw, 50px);
    line-height: 1.05;
    font-weight: 900;
}

.stedh-blog-article__content {
    color: #536570;
    font-size: 17px;
    line-height: 1.7;
}

.stedh-blog-article__content > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.stedh-blog-article__content h2,
.stedh-blog-article__content h3 {
    color: var(--stedh-navy);
    font-family: Roboto, Arial, sans-serif;
    line-height: 1.1;
}

.stedh-blog-article__content h2 { margin-top: 55px; font-size: clamp(30px, 3vw, 30px); font-weight: 400; }
.stedh-blog-article__content h3 { margin-top: 32px; font-size: clamp(25px, 2.5vw, 25px); font-weight: 900; }
.stedh-blog-article__content ul li { margin-left: 20px; }
.stedh-blog-article__content a { color: var(--stedh-blue); }
.stedh-blog-single .stedh-blog-post-nav:nth-of-type(2) { margin-top: 38px; margin-bottom: 0; }

.stedh-blog-share {
    margin-top: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #6b7b86;
}

.stedh-blog-share a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--stedh-navy);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1180px) {
    .stedh-blog-hero { min-height: 330px; padding-left: 40px; }
    .stedh-blog-hero__band { min-height: 175px; gap: 35px; padding: 32px 32px; }
    .stedh-blog-hero__logo { flex-basis: 200px; }
    .stedh-blog-services { grid-template-columns: repeat(4, 1fr); }
    .stedh-blog-service { min-height: 54px; }
    .stedh-blog-service img { height: 38px; }
    .stedh-blog-service span { display: none; }
}

@media (max-width: 900px) {
    .stedh-blog-hero { min-height: 0; padding: 30px 0 30px 24px; }
    .stedh-blog-hero__top { padding-right: 24px; }
    .stedh-blog-hero__actions { display: none; }
    .stedh-blog-mobile-menu {
        position: relative;
        display: block;
        z-index: 20;
    }
    .stedh-blog-mobile-menu summary {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: var(--stedh-navy);
        color: #fff;
        cursor: pointer;
        font-size: 27px;
        list-style: none;
    }
    .stedh-blog-mobile-menu summary::-webkit-details-marker { display: none; }
    .stedh-blog-mobile-menu nav {
        width: min(85vw, 380px);
        padding: 18px 22px;
        position: absolute;
        top: 58px;
        right: 0;
        background: var(--stedh-navy);
        border-radius: 10px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
    }
    .stedh-blog-mobile-menu ul { margin: 0; padding: 0; list-style: none; }
    .stedh-blog-mobile-menu li + li { border-top: 1px solid rgba(255, 255, 255, .14); }
    .stedh-blog-mobile-menu a { display: block; padding: 10px 0; color: #fff; text-decoration: none; }
    .stedh-blog-hero__band { min-height: 130px; justify-content: center; border-radius: 16px 0 0 16px; }
    .stedh-blog-hero__logo { flex-basis: min(55vw, 250px); }
    .stedh-blog-services { display: none; }
    .stedh-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .stedh-blog-hero__title { gap: 14px; font-size: 34px; }
    .stedh-blog-hero__title svg { width: 42px; height: 50px; }
    .stedh-blog-grid { grid-template-columns: 1fr; }
    .stedh-blog-post-nav { grid-template-columns: 1fr 1fr; font-size: 15px; }
    .stedh-blog-post-nav__all { grid-column: 1 / -1; grid-row: 1; text-align: center; }
    .stedh-blog-post-nav__previous { grid-column: 1; grid-row: 2; }
    .stedh-blog-post-nav__next { grid-column: 2; grid-row: 2; }
    .stedh-blog-article { padding: 28px 22px; }
}
