.site-shell {
    width: min(calc(100% - 48px), var(--h-shell));
    margin-inline: auto;
}

.site-main {
    padding-bottom: clamp(48px, 6vw, 96px);
}

.section-block {
    padding-top: clamp(40px, 5vw, 72px);
    border-top: 1px solid var(--h-line);
    margin-top: clamp(40px, 5vw, 72px);
}

.section-head {
    margin-bottom: 22px;
}

.section-head--center {
    text-align: center;
}

.section-head h2,
.empty-state h2,
.comments-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.3vw, 2.25rem);
    line-height: 1.2;
}

/* =========================
   HEADER PERSONNALISÉ
========================= */

.site-header {
    position: relative;
    background: var(--h-surface);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    align-items: center;
    gap: 24px;
    min-height: 74px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.site-logo,
.custom-logo-link,
.wp-block-site-logo {
    display: block;
    width: 60px;
    max-width: 60px;
    flex: 0 0 60px;
    overflow: hidden;
}

.custom-logo,
.custom-logo-link img,
.wp-block-site-logo img,
.site-logo img {
    display: block;
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
    object-fit: contain !important;
}

.header-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex: 0 0 22px;
}

.header-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111;
}

.header-search {
    display: flex;
    align-items: center;
    min-width: 0;
}

.header-search .search-form {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
    gap: 0;
}

.header-search label {
    margin: 0;
    width: 100%;
}

.header-search .search-field {
    width: 100%;
    height: 38px;
    padding: 0 14px;
    border: 1px solid #d8d8d8;
    background: #fff;
    color: #111;
    font-size: 14px;
    line-height: 38px;
}

.header-search .search-field::placeholder {
    color: #8a8a8a;
}

.header-search .search-submit {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-language {
    position: relative;
    margin-right: 8px;
}

.header-language__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.header-language__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 170px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    z-index: 1001;
}

.header-language__menu.open {
    display: block;
}

.header-language__menu a {
    display: block;
    padding: 9px 12px;
    font-size: 14px;
    line-height: 1.35;
    color: #111;
    text-decoration: none;
}

.header-language__menu a:hover {
    background: #f7f7f7;
}

.header-actions--labels {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.header-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 58px;
    color: #111;
    text-decoration: none;
}

.header-action-card__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #111;
    border-radius: 999px;
    background: #fff;
    transition: all 0.2s ease;
}

.header-action-card__icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.header-action-card__label {
    font-size: 10px;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    color: #555;
}

.header-action-card__count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 9px;
    line-height: 16px;
    text-align: center;
}

.header-action-card:hover .header-action-card__icon {
    background: #111;
    color: #fff;
}

/* drawer */
.header-drawer {
    display: none !important;
}

.header-drawer.open {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;
    padding: 90px 20px 20px;
    background: #fff;
    border-right: 1px solid #111;
    z-index: 9999;
}

.header-drawer__nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-drawer__nav li {
    margin: 0;
    padding: 0;
}

.header-drawer__nav a {
    display: block;
    padding: 12px 0;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid rgba(17,17,17,0.08);
}

.header-drawer__nav a:hover {
    opacity: 1;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    margin-top: 60px;
    background: var(--h-surface);
    border-top: 1px solid var(--h-line);
}

.site-footer .site-shell {
    padding-top: 48px;
    padding-bottom: 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3 {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.2;
    color: var(--h-text);
}

.footer-col p {
    margin: 0;
    color: var(--h-muted);
    line-height: 1.8;
    white-space: pre-line;
}

.footer-bottom {
    border-top: 1px solid var(--h-line);
    margin-top: 40px;
    padding-top: 18px;
    color: var(--h-muted);
    font-size: 14px;
    text-align: center;
}