:root {
    --ink: #10272d;
    --muted: #5b6c70;
    --paper: #fbfcf8;
    --soft: #eff7f4;
    --line: #d9e6e1;
    --teal: #0f6a6d;
    --teal-dark: #083a41;
    --coral: #d85f45;
    --amber: #f1b84b;
    --mint: #7ec6a4;
    --white: #ffffff;
    --danger: #b73e3e;
    --shadow: 0 18px 48px rgba(16, 39, 45, .11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.12;
    letter-spacing: 0;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.1rem;
}

h3 {
    font-size: 1.25rem;
}

button,
input,
select,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hp-field {
    display: none !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(251, 252, 248, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav-shell {
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--teal-dark);
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal), var(--coral));
    font-size: .78rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-weight: 650;
}

.nav-links a:hover,
.text-link:hover,
.table-actions a:hover {
    color: var(--coral);
}

.nav-form {
    margin: 0;
}

.link-button,
.table-actions button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-weight: 650;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--ink);
}

.messages {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto 0;
}

.message {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--mint);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(16, 39, 45, .06);
}

.hero {
    min-height: 74vh;
    display: grid;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-content {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0;
}

.hero-content h1 {
    max-width: 760px;
    margin: 12px 0 18px;
}

.hero-text {
    max-width: 620px;
    color: rgba(255, 255, 255, .9);
    font-size: 1.25rem;
}

.hero-actions,
.dashboard-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(216, 95, 69, .24);
}

.button-primary:hover {
    background: #c94e38;
}

.button-secondary {
    border-color: rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .14);
    color: inherit;
}

.site-header .button-secondary,
.dashboard-header .button-secondary,
.form-panel .button-secondary,
.panel .button-secondary,
.narrow-section .button-secondary {
    border-color: var(--line);
    background: var(--white);
    color: var(--teal-dark);
}

.button-small {
    min-height: 38px;
    padding: 8px 14px;
    border-color: var(--line);
    background: var(--white);
    color: var(--teal-dark);
}

.danger-button {
    background: var(--danger);
    color: var(--white);
}

.full-button {
    width: 100%;
}

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 74px 0;
}

.section-muted {
    width: 100%;
    max-width: none;
    padding-inline: max(16px, calc((100% - 1180px) / 2));
    background: var(--soft);
}

.section-heading,
.split-section,
.cta-band,
.dashboard-header,
.dashboard-grid,
.draft-detail-grid,
.editor-grid {
    display: grid;
    gap: 28px;
}

.section-heading {
    grid-template-columns: 1fr auto;
    align-items: end;
    margin-bottom: 28px;
}

.split-section {
    grid-template-columns: minmax(220px, .82fr) 1.18fr;
    align-items: start;
}

.text-stack p {
    color: var(--muted);
    font-size: 1.05rem;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--coral);
    font-weight: 850;
    text-transform: uppercase;
    font-size: .78rem;
}

.text-link {
    color: var(--teal);
    font-weight: 800;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 40px;
}

.article-grid-spaced {
    margin-top: 38px;
}

.wide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 44px;
}

.article-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(16, 39, 45, .08);
    transform: translateY(0) rotateZ(0) scale(1);
    transform-origin: center center;
    transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .32s ease, border-color .32s ease;
    will-change: transform;
}

.article-card:hover {
    border-color: rgba(15, 106, 109, .28);
    box-shadow: 0 26px 64px rgba(16, 39, 45, .16);
    transform: translateY(-8px) rotateZ(-.45deg) scale(1.01);
}

.article-grid .article-card:nth-child(even):hover {
    transform: translateY(-8px) rotateZ(.45deg) scale(1.01);
}

.card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--soft);
}

.article-photo::after,
.featured-media::after,
.blog-lead-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 58, 65, 0), rgba(8, 58, 65, .34));
    opacity: .38;
    transition: opacity .28s ease;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.article-card:hover .card-image img,
.featured-story:hover .featured-media img,
.blog-lead:hover .blog-lead-image img,
.side-story:hover img {
    transform: scale(1.06);
}

.article-card:hover .article-photo::after,
.featured-story:hover .featured-media::after,
.blog-lead:hover .blog-lead-image::after {
    opacity: .56;
}

.image-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 2;
    max-width: calc(100% - 28px);
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(8, 58, 65, .88);
    box-shadow: 0 10px 22px rgba(16, 39, 45, .18);
    font-size: .78rem;
    font-weight: 850;
}

.magazine-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.32fr) minmax(280px, .68fr);
    gap: 22px;
    align-items: stretch;
}

.featured-story,
.blog-lead {
    overflow: hidden;
    display: grid;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(0) rotateZ(0) scale(1);
    transform-origin: center center;
    transition: transform .32s cubic-bezier(.2, .8, .2, 1), box-shadow .32s ease, border-color .32s ease;
    will-change: transform;
}

.featured-story {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
    min-height: 430px;
}

.featured-story:hover,
.blog-lead:hover {
    border-color: rgba(15, 106, 109, .28);
    box-shadow: 0 32px 76px rgba(16, 39, 45, .17);
    transform: translateY(-6px) rotateZ(-.25deg) scale(1.006);
}

.featured-media,
.blog-lead-image {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    background: var(--soft);
}

.featured-media img,
.blog-lead-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.featured-copy,
.blog-lead-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
}

.featured-copy h3,
.blog-lead-copy h2 {
    margin: 10px 0 18px;
    font-size: 2.05rem;
    line-height: 1.18;
}

.featured-copy p,
.blog-lead-copy p {
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.75;
}

.side-stories {
    display: grid;
    gap: 14px;
}

.side-story {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(16, 39, 45, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.side-story:hover {
    border-color: rgba(216, 95, 69, .32);
    box-shadow: 0 18px 42px rgba(16, 39, 45, .12);
    transform: translateX(4px);
}

.side-story-image {
    overflow: hidden;
    aspect-ratio: 1 / .82;
    border-radius: 8px;
    background: var(--soft);
}

.side-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.side-story small {
    display: block;
    margin-bottom: 5px;
    color: var(--coral);
    font-weight: 850;
}

.side-story strong {
    display: block;
    line-height: 1.22;
}

.blog-lead {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
    margin-top: 36px;
    min-height: 390px;
}

.card-body {
    padding: 28px 30px 30px;
}

.card-body h2,
.card-body h3 {
    margin-bottom: 14px;
    font-size: 1.3rem;
    line-height: 1.24;
}

.card-body p {
    color: var(--muted);
    margin-bottom: 22px;
    line-height: 1.72;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: var(--teal);
    font-weight: 850;
}

.read-more span {
    transition: transform .2s ease;
}

.article-card:hover .read-more span {
    transform: translateX(4px);
}

.card-meta,
.article-date {
    color: var(--teal);
    font-size: .9rem;
    font-weight: 750;
}

.card-body .card-meta {
    margin-bottom: 12px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.large-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-tile {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 8px 20px rgba(16, 39, 45, .06);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.category-tile:hover {
    border-color: var(--mint);
    box-shadow: 0 18px 40px rgba(16, 39, 45, .12);
    transform: translateY(-2px);
}

.category-tile span {
    font-weight: 850;
}

.category-tile small,
.category-tile p {
    color: var(--muted);
}

.cta-band {
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-bottom: 64px;
    padding: 42px;
    border-radius: 8px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal-dark), var(--teal) 62%, #346c4d);
}

.cta-band .eyebrow {
    color: var(--amber);
}

.cta-band p {
    max-width: 720px;
    color: rgba(255, 255, 255, .88);
}

.page-hero {
    background: linear-gradient(135deg, var(--soft), #fff7e5);
}

.compact-hero > div {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 70px 0 54px;
}

.compact-hero h1 {
    max-width: 860px;
    font-size: 3rem;
}

.compact-hero p:not(.eyebrow) {
    max-width: 720px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.1rem;
}

.filter-bar {
    display: grid;
    grid-template-columns: 1.2fr .8fr auto;
    gap: 18px;
    align-items: end;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.filter-bar label,
.form-row label {
    display: block;
    margin-bottom: 7px;
    color: var(--teal-dark);
    font-weight: 800;
}

.field,
.form-panel input[type="text"],
.form-panel input[type="password"],
.form-panel input[type="email"],
.form-panel select,
.form-panel textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--white);
}

textarea.field,
.form-panel textarea {
    resize: vertical;
}

.field:focus,
.form-panel input:focus,
.form-panel textarea:focus,
.form-panel select:focus {
    outline: 3px solid rgba(126, 198, 164, .32);
    border-color: var(--mint);
}

.empty-state {
    grid-column: 1 / -1;
    padding: 34px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: var(--white);
}

.article-page {
    width: min(980px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0;
}

.article-header {
    max-width: 820px;
    margin: 0 auto 28px;
    text-align: center;
}

.article-header h1 {
    margin: 16px 0;
    font-size: 3.2rem;
}

.article-excerpt {
    color: var(--muted);
    font-size: 1.16rem;
}

.pill-link {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--teal-dark);
    background: var(--soft);
    font-weight: 800;
}

.article-visual {
    overflow: hidden;
    margin-bottom: 38px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.article-visual img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 34px;
    align-items: start;
}

.article-content {
    font-size: 1.08rem;
}

.article-content > p,
.draft-content > p {
    margin: 0 0 1.25rem;
    line-height: 1.8;
}

.article-content > ul,
.article-content > ol,
.draft-content > ul,
.draft-content > ol,
.takeaway-box ul,
.takeaway-box ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.article-content li,
.draft-content li,
.takeaway-box li {
    margin: .55rem 0;
    line-height: 1.7;
}

.article-content code,
.draft-content code {
    padding: .12rem .35rem;
    border-radius: 4px;
    background: var(--soft);
    font-size: .92em;
}

.article-content h2,
.draft-content h2 {
    margin: 34px 0 12px;
}

.article-content h3,
.draft-content h3 {
    margin: 22px 0 8px;
}

.note-box,
.article-sidebar,
.panel,
.form-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(16, 39, 45, .07);
}

.note-box {
    margin: 32px 0;
    padding: 22px;
}

.advice-box {
    border-left: 5px solid var(--coral);
}

.takeaway-box {
    border-left: 5px solid var(--mint);
}

.faq-section details,
.draft-content details {
    margin: 12px 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.faq-section summary,
.draft-content summary {
    cursor: pointer;
    color: var(--teal-dark);
    font-weight: 850;
}

.article-sidebar {
    position: sticky;
    top: 92px;
    padding: 20px;
}

.article-sidebar h2 {
    font-size: 1.2rem;
}

.narrow-section {
    max-width: 720px;
}

.form-panel {
    padding: 24px;
}

.form-panel h2 {
    margin-bottom: 18px;
    font-size: 1.35rem;
}

.form-row {
    margin-bottom: 18px;
}

.form-row small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
}

.form-error,
.errorlist {
    color: var(--danger);
    font-weight: 750;
}

.errorlist {
    margin: 8px 0 0;
    padding-left: 18px;
}

.dashboard-header {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 48px 0 24px;
}

.dashboard-header h1 {
    font-size: 2.6rem;
}

.dashboard-header p:not(.eyebrow) {
    color: var(--muted);
}

.dashboard-section {
    padding-top: 28px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.email-config-warning {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid #f3c86a;
    border-left: 5px solid #d89a16;
    border-radius: 8px;
    color: #60430f;
    background: #fff7dc;
}

.email-config-warning p {
    margin: 5px 0 0;
}

.stat-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.stat-card span {
    display: block;
    color: var(--teal);
    font-size: 2rem;
    font-weight: 900;
}

.stat-card p {
    margin: 0;
    color: var(--muted);
}

.dashboard-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
    align-items: start;
}

.panel {
    padding: 22px;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.panel-heading h2,
.panel h2 {
    font-size: 1.35rem;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: .86rem;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.table-actions a,
.table-actions button {
    color: var(--teal);
    font-weight: 800;
}

.status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 850;
}

.status-published,
.status-converted,
.status-reviewed {
    color: #21533e;
    background: #daf1e4;
}

.status-draft,
.status-generated {
    color: #765214;
    background: #fff0c4;
}

.status-rejected {
    color: #7d2222;
    background: #ffe2df;
}

.draft-list {
    display: grid;
    gap: 10px;
}

.draft-row {
    display: grid;
    gap: 4px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.draft-row span {
    font-weight: 850;
}

.draft-row small {
    color: var(--muted);
}

.editor-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
}

.content-field {
    min-height: 330px;
}

.form-error-summary {
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid rgba(180, 35, 24, .28);
    border-left: 5px solid var(--danger);
    border-radius: 8px;
    color: var(--danger);
    background: #fff4f2;
    font-weight: 750;
}

.rich-editor {
    overflow: hidden;
    border: 1px solid rgba(16, 24, 40, .14);
    border-radius: 8px;
    background: var(--white);
}

.rich-editor:focus-within {
    outline: 3px solid rgba(14, 165, 233, .22);
    border-color: var(--teal);
}

.rich-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 9px;
    border-bottom: 1px solid rgba(16, 24, 40, .12);
    background: #f8fafc;
}

.rich-editor-toolbar button {
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid rgba(16, 24, 40, .14);
    border-radius: 6px;
    color: var(--ink);
    background: var(--white);
    font: inherit;
    font-size: .82rem;
    font-weight: 750;
}

.rich-editor-toolbar button:hover,
.rich-editor-toolbar button:focus-visible {
    border-color: var(--blue);
    color: var(--blue);
    background: #eef4ff;
}

.rich-editor-surface {
    min-height: 360px;
    max-height: 680px;
    overflow-y: auto;
    padding: 18px;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
}

.rich-editor-compact .rich-editor-surface {
    min-height: 150px;
    max-height: 360px;
}

.rich-editor-surface:focus {
    outline: none;
}

.rich-editor-surface h2 {
    margin: 24px 0 10px;
    font-size: 1.55rem;
}

.rich-editor-surface h3 {
    margin: 18px 0 8px;
    font-size: 1.2rem;
}

.rich-editor-surface p,
.rich-editor-surface ul,
.rich-editor-surface ol {
    margin: 0 0 14px;
}

.rich-editor-surface ul,
.rich-editor-surface ol {
    padding-left: 1.55rem;
}

.rich-editor-surface.is-empty::before {
    content: "Commencez à écrire votre article…";
    color: var(--muted);
}

.publication-help {
    padding: 10px 12px;
    border-radius: 7px;
    color: #1f3f7a !important;
    background: #eef4ff;
    line-height: 1.45;
}

.image-preview {
    margin-top: 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.draft-detail-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
}

.draft-content {
    padding: 28px;
}

.draft-content ol,
.draft-content ul {
    padding-left: 22px;
}

.stacked-actions {
    display: grid;
    gap: 10px;
}

.has-scroll-reveal .reveal-card {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .42s ease, transform .42s ease, box-shadow .28s ease, border-color .28s ease;
}

.has-scroll-reveal .reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.has-scroll-reveal .article-card.reveal-card.is-visible:hover {
    transform: translateY(-8px) rotateZ(-.45deg) scale(1.01);
}

.has-scroll-reveal .article-grid .article-card.reveal-card.is-visible:nth-child(even):hover {
    transform: translateY(-8px) rotateZ(.45deg) scale(1.01);
}

.has-scroll-reveal .featured-story.reveal-card.is-visible:hover,
.has-scroll-reveal .blog-lead.reveal-card.is-visible:hover {
    transform: translateY(-6px) rotateZ(-.25deg) scale(1.006);
}

.has-scroll-reveal .side-story.reveal-card.is-visible:hover {
    transform: translateX(4px);
}

.site-footer {
    margin-top: 40px;
    padding: 48px 16px 24px;
    color: rgba(255, 255, 255, .82);
    background: var(--teal-dark);
}

.footer-newsletter-card {
    width: min(1180px, 100%);
    margin: 0 auto 38px;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: 28px;
    align-items: center;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
}

.footer-newsletter-card .eyebrow {
    color: var(--mint);
}

.footer-newsletter-card h2 {
    margin: 6px 0 10px;
    color: var(--white);
    font-size: 1.7rem;
}

.footer-newsletter-card p:not(.eyebrow) {
    max-width: 48ch;
    color: rgba(255, 255, 255, .82);
}

.footer-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr .8fr .9fr;
    gap: 34px;
}

.footer-brand-block p {
    max-width: 34ch;
}

.footer-grid h2 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 1rem;
}

.footer-grid a {
    display: block;
    margin: 7px 0;
}

.footer-brand {
    color: var(--white);
}

.footer-newsletter-card .newsletter-form + p,
.footer-newsletter p {
    max-width: 32ch;
    color: rgba(255, 255, 255, .78);
    font-size: .95rem;
}

.newsletter-form {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.newsletter-field {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    color: var(--white);
    background: rgba(255, 255, 255, .08);
}

.newsletter-field::placeholder {
    color: rgba(255, 255, 255, .62);
}

.newsletter-field:focus {
    outline: 2px solid rgba(126, 198, 164, .72);
    outline-offset: 2px;
}

.newsletter-consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 9px;
    align-items: start;
    color: rgba(255, 255, 255, .72);
    font-size: .84rem;
    line-height: 1.45;
}

.newsletter-consent input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

.footer-newsletter .button {
    width: fit-content;
}

.footer-bottom {
    width: min(1180px, 100%);
    margin: 32px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .9rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.info-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.info-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.topic-list {
    display: grid;
    gap: 18px;
}

.topic-item {
    padding: 22px 24px;
    border-left: 4px solid var(--teal);
    background: var(--soft);
    border-radius: 0 10px 10px 0;
}

.topic-item h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.legal-alert {
    margin: 0 0 2rem;
    padding: 22px;
    border: 1px solid rgba(216, 95, 69, .28);
    border-left: 5px solid var(--coral);
    border-radius: 8px;
    background: #fff8f5;
}

.legal-alert h2 {
    margin-top: 0;
}

.legal-table {
    width: 100%;
    margin: 1rem 0 1.5rem;
    border-collapse: collapse;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: .95rem;
}

.legal-table th,
.legal-table td {
    padding: 12px 14px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    color: var(--ink);
    background: var(--soft);
}

.prose-content h2 {
    margin: 2rem 0 .75rem;
    font-size: 1.5rem;
}

.prose-content h3 {
    margin: 1.5rem 0 .5rem;
    font-size: 1.15rem;
}

.prose-content ul,
.content-list {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.prose-content li,
.content-list li {
    margin-bottom: .45rem;
}

.prose-content a,
.info-card a,
.topic-item a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-section-inline {
    max-width: 760px;
}

.cta-band .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.services-page {
    --service-ink: #0f172a;
    --service-muted: #5c6b7a;
    --service-line: rgba(15, 23, 42, .12);
    --service-soft: #eef7ff;
    --service-blue: #38bdf8;
    --service-blue-deep: #2563eb;
    --service-pink: #ff7ab6;
    --service-violet: #7c8cff;
    background: #f8fbff;
    color: var(--service-ink);
    overflow: hidden;
}

.services-page .eyebrow {
    color: #0284c7;
}

.services-page .text-link {
    color: var(--service-blue-deep);
    font-weight: 850;
}

.services-page .button-primary {
    background: linear-gradient(135deg, var(--service-blue), var(--service-blue-deep));
    color: var(--white);
    box-shadow: 0 18px 36px rgba(37, 99, 235, .24);
}

.services-page .button-primary:hover {
    background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
}

.services-page .button-secondary {
    border-color: rgba(37, 99, 235, .16);
    background: rgba(255, 255, 255, .9);
    color: var(--service-ink);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
}

.services-page .section-muted {
    background: linear-gradient(180deg, #eef7ff 0%, #f8fbff 100%);
}

.services-page .field:focus,
.services-page .form-panel input:focus,
.services-page .form-panel textarea:focus,
.services-page .form-panel select:focus {
    outline: 3px solid rgba(56, 189, 248, .28);
    border-color: var(--service-blue);
}

.services-hero {
    position: relative;
    isolation: isolate;
    min-height: 76vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
    gap: clamp(24px, 5vw, 58px);
    align-items: center;
    padding: clamp(64px, 8vw, 110px) max(16px, calc((100% - 1180px) / 2));
    overflow: hidden;
}

.services-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(100deg, rgba(15, 23, 42, .86), rgba(37, 99, 235, .36) 55%, rgba(56, 189, 248, .2)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.services-hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -20% 42%;
    z-index: -1;
    height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, .46), transparent 62%);
    pointer-events: none;
}

.services-hero-copy {
    max-width: 720px;
    color: var(--white);
}

.services-hero-copy .eyebrow {
    color: #bfdbfe;
}

.services-hero-copy h1 {
    max-width: 760px;
    margin: 12px 0 18px;
    font-size: clamp(2.65rem, 5.4vw, 4.45rem);
}

.services-hero-copy p:not(.eyebrow) {
    max-width: 660px;
    color: rgba(255, 255, 255, .88);
    font-size: 1.18rem;
}

.services-hero-stage {
    min-height: 430px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 14px;
    perspective: 900px;
}

.floating-tile {
    --tile-rotate: 0deg;
    width: min(220px, 46%);
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    color: var(--service-ink);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
    backdrop-filter: blur(16px);
    animation: floatFlex 6.5s ease-in-out infinite;
}

.floating-tile span,
.portfolio-body small {
    color: #2563eb;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.floating-tile strong {
    font-size: 1.05rem;
    line-height: 1.25;
}

.floating-tile-large {
    --tile-rotate: -2deg;
    width: min(286px, 58%);
    min-height: 156px;
}

.floating-tile-photo {
    --tile-rotate: 2deg;
    min-height: 186px;
    padding: 0;
    overflow: hidden;
}

.floating-tile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-tile-blue {
    --tile-rotate: -1deg;
    background: linear-gradient(135deg, rgba(56, 189, 248, .94), rgba(124, 140, 255, .94));
    color: var(--white);
}

.floating-tile-blue span {
    color: rgba(255, 255, 255, .8);
}

.floating-tile:nth-child(2) {
    animation-delay: .8s;
}

.floating-tile:nth-child(3) {
    animation-delay: 1.4s;
}

.floating-tile:nth-child(4) {
    animation-delay: 2.1s;
}

.section-note {
    max-width: 380px;
    margin: 0;
    color: var(--service-muted);
}

.services-intro h2 {
    color: var(--service-ink);
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.process-card {
    min-height: 222px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid var(--service-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
    animation: liftLoop 7s ease-in-out infinite;
}

.process-card:nth-child(2) {
    animation-delay: .6s;
}

.process-card:nth-child(3) {
    animation-delay: 1.2s;
}

.process-card:nth-child(4) {
    animation-delay: 1.8s;
}

.process-card span {
    color: var(--service-pink);
    font-weight: 900;
}

.process-card p {
    color: var(--service-muted);
}

.service-request-form {
    margin: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.portfolio-card {
    position: relative;
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(220px, .92fr) minmax(0, 1.08fr);
    overflow: hidden;
    border: 1px solid var(--service-line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .09);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.portfolio-card:hover {
    border-color: var(--portfolio-accent);
    box-shadow: 0 28px 68px rgba(15, 23, 42, .15);
    transform: translateY(-6px);
}

.portfolio-card:has(.portfolio-radio:checked),
.custom-brief-card:has(.portfolio-radio:checked) {
    border-color: var(--portfolio-accent);
    box-shadow: 0 26px 72px rgba(37, 99, 235, .18);
}

.portfolio-radio {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    width: 20px;
    height: 20px;
    accent-color: var(--portfolio-accent);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .88);
}

.portfolio-media {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #dbeafe, #f8fbff);
}

.portfolio-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, .34));
    pointer-events: none;
}

.portfolio-media img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
    transition: transform .36s ease;
}

.portfolio-card:hover .portfolio-media img {
    transform: scale(1.05);
}

.portfolio-badge {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    max-width: calc(100% - 32px);
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(15, 23, 42, .72);
    font-size: .78rem;
    font-weight: 850;
    backdrop-filter: blur(10px);
}

.portfolio-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
}

.portfolio-body h3 {
    font-size: 1.45rem;
}

.portfolio-body p,
.portfolio-meta dd,
.custom-brief-card p {
    color: var(--service-muted);
}

.portfolio-meta {
    display: grid;
    gap: 12px;
    margin: 2px 0 0;
}

.portfolio-meta div {
    padding-top: 12px;
    border-top: 1px solid var(--service-line);
}

.portfolio-meta dt {
    color: var(--service-ink);
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.portfolio-meta dd {
    margin: 4px 0 0;
    font-size: .94rem;
}

.portfolio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.portfolio-choice {
    flex: 1 1 190px;
}

.portfolio-demo-link {
    flex: 0 0 auto;
}

.portfolio-ai-preview {
    min-height: 430px;
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 34px;
    background:
        radial-gradient(circle at 30% 18%, rgba(56, 189, 248, .35), transparent 28%),
        linear-gradient(135deg, #eff6ff, #ffffff);
}

.portfolio-ai-preview span {
    display: block;
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}

.ai-preview-nav {
    width: 58%;
    height: 18px;
}

.ai-preview-graph {
    height: 150px;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, .9), rgba(124, 140, 255, .88)) !important;
}

.ai-preview-row {
    width: 86%;
    height: 16px;
}

.ai-preview-row.short {
    width: 58%;
}

.custom-brief-section {
    padding-top: 0;
}

.custom-brief-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    overflow: hidden;
    padding: 28px;
    border: 1px solid var(--service-line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(239, 246, 255, .94)),
        radial-gradient(circle at 86% 10%, rgba(255, 122, 182, .22), transparent 28%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.custom-brief-card .portfolio-radio {
    top: 20px;
    left: 20px;
}

.custom-brief-card > div {
    padding-left: 34px;
}

.custom-brief-detail {
    max-width: 680px;
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--service-ink) !important;
    background: var(--white);
    font-weight: 750;
}

.service-form-layout {
    display: grid;
    grid-template-columns: minmax(240px, .78fr) minmax(0, 1.22fr);
    gap: 28px;
    align-items: start;
}

.service-form-layout > div:first-child p:not(.eyebrow) {
    color: var(--service-muted);
}

.service-form-panel {
    border-color: var(--service-line);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .1);
}

@keyframes floatFlex {
    0%,
    100% {
        transform: translateY(0) rotate(var(--tile-rotate));
    }
    50% {
        transform: translateY(-14px) rotate(calc(var(--tile-rotate) + 1deg));
    }
}

@keyframes liftLoop {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-tile,
    .process-card {
        animation: none;
    }
}

.form-grid {
    display: grid;
    gap: 16px;
}

.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid label,
.stack-form label {
    display: grid;
    gap: 7px;
    color: var(--teal-dark);
    font-weight: 800;
}

.full-field {
    grid-column: 1 / -1;
}

.check-row {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    margin: 18px 0;
    color: var(--muted);
    font-weight: 650;
}

.check-row input {
    width: 17px;
    height: 17px;
    margin-top: 3px;
    accent-color: var(--teal);
}

.form-footnote {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: .92rem;
}

.form-errors {
    margin-bottom: 18px;
    color: var(--danger);
    font-weight: 800;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.filter-pills a {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: var(--white);
    font-weight: 800;
}

.filter-pills a.is-active {
    border-color: var(--teal);
    color: var(--white);
    background: var(--teal);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.detail-list {
    display: grid;
    gap: 16px;
    margin: 0;
}

.detail-list div {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.detail-list dt {
    color: var(--muted);
    font-size: .84rem;
    font-weight: 850;
    text-transform: uppercase;
}

.detail-list dd {
    margin: 4px 0 0;
}

.compact-detail-list {
    margin-bottom: 22px;
}

.stack-form {
    display: grid;
    gap: 16px;
}

.status-new {
    color: #194d55;
    background: #d9f3f0;
}

.status-reviewing,
.status-demo_sent,
.status-payment_pending {
    color: #765214;
    background: #fff0c4;
}

.status-approved,
.status-paid {
    color: #21533e;
    background: #daf1e4;
}

.status-archived {
    color: #5b6c70;
    background: #e8efed;
}

.status-read {
    color: #765214;
    background: #fff0c4;
}

.status-replied {
    color: #21533e;
    background: #daf1e4;
}

.delivery-status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 850;
}

.delivery-status-sent {
    color: #21533e;
    background: #daf1e4;
}

.delivery-status-error {
    color: #7d2222;
    background: #ffe2df;
}

.notification-error {
    display: block;
    margin-top: 8px;
    overflow-wrap: anywhere;
    color: var(--danger);
}

.compact-detail-list + form,
.panel form + .stack-form {
    margin-top: 18px;
}

.contact-message-body {
    max-width: 72ch;
    overflow-wrap: anywhere;
    font-size: 1.02rem;
    line-height: 1.75;
}

@media (max-width: 980px) {
    h1,
    .compact-hero h1,
    .article-header h1 {
        font-size: 2.8rem;
    }

    .article-grid,
    .wide-grid,
    .large-category-grid,
    .template-grid,
    .steps-grid,
    .portfolio-grid,
    .process-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split-section,
    .cta-band,
    .dashboard-header,
    .dashboard-grid,
    .editor-grid,
    .draft-detail-grid,
    .article-layout,
    .filter-bar,
    .magazine-grid,
    .featured-story,
    .blog-lead,
    .services-hero,
    .portfolio-card,
    .custom-brief-card,
    .service-form-layout,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .services-hero-stage {
        min-height: 320px;
    }

    .portfolio-media img,
    .portfolio-ai-preview {
        min-height: 280px;
    }

    .featured-media,
    .blog-lead-image {
        min-height: 320px;
    }

    .article-sidebar {
        position: static;
    }

    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-newsletter-card {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        inset: 72px 16px auto 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .nav-links.is-open {
        display: flex;
    }

    .hero {
        min-height: 68vh;
    }

    .hero-content {
        padding: 52px 0;
    }

    h1,
    .compact-hero h1,
    .article-header h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .article-grid,
    .wide-grid,
    .category-grid,
    .large-category-grid,
    .template-grid,
    .steps-grid,
    .portfolio-grid,
    .process-flow,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .template-card,
    .portfolio-card {
        min-height: auto;
    }

    .template-card label {
        min-height: auto;
    }

    .services-hero {
        min-height: auto;
        padding: 52px 12px;
    }

    .services-hero-copy h1 {
        font-size: 2.35rem;
    }

    .services-hero-copy p:not(.eyebrow) {
        font-size: 1rem;
    }

    .services-hero-stage {
        min-height: auto;
        justify-content: flex-start;
    }

    .floating-tile {
        width: calc(50% - 7px);
        min-height: 118px;
        padding: 14px;
    }

    .floating-tile-large {
        width: 100%;
    }

    .floating-tile-photo {
        min-height: 150px;
    }

    .portfolio-media img,
    .portfolio-ai-preview {
        min-height: 260px;
    }

    .portfolio-body {
        padding: 20px;
    }

    .portfolio-actions .button {
        width: 100%;
        flex-basis: 100%;
    }

    .custom-brief-card {
        padding: 24px;
    }

    .custom-brief-card > div {
        padding-top: 32px;
        padding-left: 0;
    }

    .section,
    .compact-hero > div,
    .dashboard-header {
        width: min(100% - 24px, 1180px);
    }

    .section {
        padding: 50px 0;
    }

    .section-muted {
        padding-inline: 12px;
    }

    .section-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .cta-band {
        padding: 28px;
    }

    .featured-copy,
    .blog-lead-copy {
        padding: 30px;
    }

    .featured-copy h3,
    .blog-lead-copy h2 {
        font-size: 1.65rem;
    }

    .side-story {
        grid-template-columns: 96px 1fr;
    }

    .featured-media,
    .blog-lead-image {
        min-height: 230px;
    }

    .article-page {
        width: min(100% - 24px, 980px);
        padding: 44px 0;
    }
}


/* Article spacing override v2 */
.article-grid {
    column-gap: 46px;
    row-gap: 54px;
}

.wide-grid {
    margin-top: 54px;
}

.article-card > .card-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: clamp(34px, 3.2vw, 48px) !important;
}

.article-card > .card-body .card-meta {
    margin: 0;
}

.article-card > .card-body h2,
.article-card > .card-body h3 {
    margin: 0;
    line-height: 1.26;
}

.article-card > .card-body p {
    margin: 0;
    line-height: 1.78;
}

.article-card > .card-body .read-more {
    margin-top: 8px;
}

.blog-lead-copy,
.featured-copy {
    gap: 18px;
    padding: clamp(38px, 4vw, 58px) !important;
}

.blog-lead-copy .eyebrow,
.featured-copy .card-meta,
.blog-lead-copy h2,
.featured-copy h3,
.blog-lead-copy p,
.featured-copy p {
    margin: 0;
}

.blog-lead-copy p,
.featured-copy p {
    line-height: 1.78;
}

.article-card:hover {
    transform: translateY(-9px) rotateZ(-.55deg) scale(1.012);
}

.article-grid .article-card:nth-child(even):hover {
    transform: translateY(-9px) rotateZ(.55deg) scale(1.012);
}

.has-scroll-reveal .article-card.reveal-card.is-visible:hover {
    transform: translateY(-9px) rotateZ(-.55deg) scale(1.012);
}

.has-scroll-reveal .article-grid .article-card.reveal-card.is-visible:nth-child(even):hover {
    transform: translateY(-9px) rotateZ(.55deg) scale(1.012);
}

@media (max-width: 760px) {
    .article-grid {
        row-gap: 34px;
    }

    .article-card > .card-body {
        padding: 28px !important;
    }
}


/* Bootstrap vibrant redesign */
:root {
    --ink: #101828;
    --muted: #667085;
    --paper: #f8fbff;
    --soft: #eef7ff;
    --line: rgba(16, 24, 40, .12);
    --teal: #0ea5e9;
    --teal-dark: #1d4ed8;
    --coral: #f97316;
    --amber: #facc15;
    --mint: #22c55e;
    --violet: #7c3aed;
    --rose: #fb7185;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(16, 24, 40, .12);
    --bs-primary: #2563eb;
    --bs-body-color: var(--ink);
    --bs-border-radius: 8px;
}

body {
    color: var(--ink);
    background:
        linear-gradient(180deg, #f8fbff 0%, #ffffff 38%, #eef7ff 100%);
}

body,
button,
input,
select,
textarea {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(16, 24, 40, .1);
    box-shadow: 0 14px 36px rgba(16, 24, 40, .08);
}

.nav-shell {
    width: min(1320px, calc(100% - 32px));
    min-height: 78px;
    padding: 0;
}

.brand {
    color: var(--ink);
    font-weight: 900;
}

.brand-mark {
    background: linear-gradient(135deg, var(--teal), var(--violet) 58%, var(--coral));
    box-shadow: 0 12px 26px rgba(37, 99, 235, .24);
}

.site-header .navbar-collapse {
    flex-grow: 0;
}

.site-header .nav-link {
    padding: .62rem .88rem !important;
    border-radius: 999px;
    color: #475467;
    font-weight: 850;
    transition: color .22s ease, background-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
    color: var(--teal-dark);
    background: #e0f2fe;
    transform: translateY(-1px);
}

.site-header .nav-link-contact {
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--teal), var(--violet));
    box-shadow: 0 12px 28px rgba(37, 99, 235, .18);
}

.navbar-toggler {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
}

.messages {
    margin-top: 18px;
}

.message {
    border: 1px solid rgba(34, 197, 94, .22);
    border-left: 5px solid var(--mint);
    background: #f0fdf4;
    color: var(--ink);
}

.button {
    min-height: 46px;
    border-radius: 999px;
    font-weight: 900;
}

.button-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark) 54%, var(--violet));
    color: var(--white);
    box-shadow: 0 18px 38px rgba(37, 99, 235, .24);
}

.button-primary:hover {
    background: linear-gradient(135deg, #0284c7, #1d4ed8 54%, #6d28d9);
    color: var(--white);
}

.button-secondary {
    border-color: rgba(37, 99, 235, .18);
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(16, 24, 40, .08);
}

.site-header .button-secondary,
.dashboard-header .button-secondary,
.form-panel .button-secondary,
.panel .button-secondary,
.narrow-section .button-secondary {
    color: var(--teal-dark);
    background: var(--white);
}

.eyebrow {
    color: var(--violet);
    letter-spacing: .08em;
}

.text-link,
.read-more,
.table-actions a,
.table-actions button {
    color: var(--teal-dark);
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 78vh;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 34%;
    background: linear-gradient(0deg, rgba(16, 24, 40, .34), rgba(16, 24, 40, 0));
    pointer-events: none;
}

.hero-content {
    width: min(1320px, calc(100% - 32px));
    padding: clamp(68px, 9vw, 118px) 0;
}

.hero-content h1 {
    max-width: 780px;
    font-size: clamp(3.4rem, 8vw, 6.6rem);
}

.hero-text {
    max-width: 710px;
    font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.section {
    width: min(1240px, calc(100% - 32px));
    padding: clamp(62px, 7vw, 96px) 0;
}

.section-muted {
    background: linear-gradient(180deg, #eef7ff 0%, #ffffff 100%);
}

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, #dff4ff 0%, #f5e8ff 48%, #fff3e8 100%);
}

.compact-hero > div {
    width: min(1240px, calc(100% - 32px));
    padding: clamp(64px, 8vw, 96px) 0 clamp(48px, 6vw, 74px);
}

.compact-hero h1 {
    max-width: 930px;
    color: var(--ink);
    font-size: clamp(2.45rem, 5vw, 4.8rem);
}

.compact-hero p:not(.eyebrow) {
    color: #475467;
}

.article-card,
.featured-story,
.blog-lead,
.side-story,
.info-card,
.category-tile,
.panel,
.form-panel,
.note-box,
.article-sidebar {
    border-color: rgba(16, 24, 40, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 48px rgba(16, 24, 40, .08);
}

.article-card,
.featured-story,
.blog-lead,
.info-card,
.category-tile {
    border-top: 4px solid transparent;
}

.article-card:nth-child(3n + 1),
.info-card:nth-child(4n + 1),
.category-tile:nth-child(5n + 1) {
    border-top-color: var(--teal);
}

.article-card:nth-child(3n + 2),
.info-card:nth-child(4n + 2),
.category-tile:nth-child(5n + 2) {
    border-top-color: var(--violet);
}

.article-card:nth-child(3n),
.info-card:nth-child(4n + 3),
.category-tile:nth-child(5n + 3) {
    border-top-color: var(--coral);
}

.info-card:nth-child(4n),
.category-tile:nth-child(5n + 4) {
    border-top-color: var(--mint);
}

.article-card:hover,
.featured-story:hover,
.blog-lead:hover,
.info-card:hover,
.category-tile:hover {
    border-color: rgba(37, 99, 235, .24);
    box-shadow: 0 32px 84px rgba(16, 24, 40, .16);
}

.image-badge,
.pill-link {
    background: linear-gradient(135deg, var(--teal-dark), var(--violet));
    color: var(--white);
}

.card-meta,
.article-date {
    color: var(--violet);
}

.featured-copy h3,
.blog-lead-copy h2,
.card-body h2,
.card-body h3,
.info-card h3,
.topic-item h3,
.category-tile span {
    color: var(--ink);
}

.featured-copy p,
.blog-lead-copy p,
.card-body p,
.info-card p,
.category-tile p,
.category-tile small {
    color: var(--muted);
}

.topic-item {
    border-left-color: var(--teal);
    border-radius: 8px;
    background: linear-gradient(90deg, #ffffff 0%, #f0f9ff 100%);
    box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
}

.topic-item:nth-child(even) {
    border-left-color: var(--rose);
    background: linear-gradient(90deg, #ffffff 0%, #fff1f6 100%);
}

.category-tile {
    background: linear-gradient(135deg, #ffffff 0%, #eef7ff 100%);
}

.category-tile:nth-child(even) {
    background: linear-gradient(135deg, #ffffff 0%, #fff3e8 100%);
}

.filter-bar {
    border-color: rgba(16, 24, 40, .1);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 48px rgba(16, 24, 40, .08);
}

.filter-bar label,
.form-row label,
.form-grid label,
.stack-form label {
    color: var(--ink);
}

.field,
.form-panel input[type="text"],
.form-panel input[type="password"],
.form-panel input[type="email"],
.form-panel select,
.form-panel textarea {
    border-color: rgba(16, 24, 40, .14);
    background: #ffffff;
}

.field:focus,
.form-panel input:focus,
.form-panel textarea:focus,
.form-panel select:focus {
    outline: 3px solid rgba(14, 165, 233, .22);
    border-color: var(--teal);
}

.article-header h1 {
    font-size: clamp(2.45rem, 5vw, 4.7rem);
}

.article-excerpt,
.article-content,
.text-stack p {
    color: #475467;
}

.article-visual {
    box-shadow: 0 24px 70px rgba(16, 24, 40, .14);
}

.article-sidebar {
    border-top: 4px solid var(--teal);
    background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
}

.advice-box {
    border-left-color: var(--coral);
    background: #fff7ed;
}

.takeaway-box {
    border-left-color: var(--mint);
    background: #f0fdf4;
}

.faq-section details,
.draft-content details {
    border-color: rgba(16, 24, 40, .1);
    box-shadow: 0 10px 28px rgba(16, 24, 40, .05);
}

.cta-band {
    background: linear-gradient(135deg, #0f172a 0%, var(--teal-dark) 52%, var(--violet) 100%);
    box-shadow: 0 30px 90px rgba(37, 99, 235, .22);
}

.cta-band .eyebrow {
    color: var(--amber);
}

.site-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 58%, #7c3aed 100%);
}

.footer-newsletter-card.row,
.footer-grid.row {
    display: flex;
}

.footer-newsletter-card {
    border-color: rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(14px);
}

.footer-newsletter-card .eyebrow {
    color: #bae6fd;
}

.newsletter-field {
    background: rgba(255, 255, 255, .12);
}

.newsletter-field:focus {
    outline: 3px solid rgba(186, 230, 253, .38);
    border-color: #bae6fd;
}

@media (min-width: 992px) {
    .site-header .nav-links.collapse {
        display: flex !important;
    }
}

@media (max-width: 991.98px) {
    .nav-shell {
        width: min(100% - 24px, 1320px);
        padding: 10px 0;
    }

    .site-header .nav-links {
        position: static;
        inset: auto;
        width: 100%;
        margin-top: 10px;
        padding: 12px;
        border: 1px solid rgba(16, 24, 40, .1);
        border-radius: 8px;
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 20px 50px rgba(16, 24, 40, .12);
    }

    .site-header .nav-links.collapse:not(.show) {
        display: none;
    }

    .site-header .nav-links.collapse.show {
        display: block;
    }

    .site-header .navbar-nav {
        align-items: stretch !important;
    }

    .site-header .nav-link {
        width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 11vw, 4.8rem);
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: 72vh;
    }

    .hero-content {
        width: min(100% - 24px, 1320px);
        padding: 58px 0;
    }

    .section,
    .compact-hero > div,
    .dashboard-header {
        width: min(100% - 24px, 1240px);
    }
}

/* Services template catalog refresh */
.services-page {
    --service-soft: #eef7ff;
    --service-coral: #fb7185;
    --service-sun: #facc15;
    --service-mint: #2dd4bf;
}

.services-page .section-muted {
    background:
        linear-gradient(135deg, rgba(219, 234, 254, .82), rgba(255, 255, 255, .96) 48%, rgba(254, 243, 199, .58));
}

.services-page .button {
    cursor: pointer;
}

.services-hero::before {
    background:
        linear-gradient(102deg, rgba(15, 23, 42, .9), rgba(37, 99, 235, .44) 54%, rgba(45, 212, 191, .22)),
        var(--hero-image);
    background-size: cover;
    background-position: center;
}

.services-hero-stage {
    transform-style: preserve-3d;
}

.floating-tile {
    border-color: rgba(255, 255, 255, .78);
}

.floating-tile-large {
    background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(238, 247, 255, .88));
}

.floating-tile-photo {
    border-color: rgba(250, 204, 21, .82);
    box-shadow: 0 26px 70px rgba(250, 204, 21, .18);
}

.process-card:nth-child(1) {
    border-top: 4px solid var(--service-blue);
}

.process-card:nth-child(2) {
    border-top: 4px solid var(--service-coral);
}

.process-card:nth-child(3) {
    border-top: 4px solid var(--service-mint);
}

.process-card:nth-child(4) {
    border-top: 4px solid var(--service-sun);
}

.services-page .portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.services-page .portfolio-card {
    min-height: auto;
    display: flex;
    flex-direction: column;
    border-color: rgba(15, 23, 42, .1);
}

.services-page .portfolio-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--portfolio-accent);
    opacity: .9;
}

.services-page .portfolio-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.services-page .portfolio-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
}

.services-page .portfolio-badge {
    right: 12px;
    bottom: 12px;
    background: color-mix(in srgb, var(--portfolio-accent) 78%, #0f172a 22%);
}

.services-page .portfolio-body {
    flex: 1;
    padding: 22px;
}

.services-page .portfolio-body h3 {
    font-size: 1.28rem;
}

.services-page .portfolio-body p {
    line-height: 1.62;
}

.services-page .portfolio-meta {
    gap: 10px;
}

.services-page .portfolio-meta div {
    padding-top: 10px;
}

.services-page .portfolio-actions {
    align-items: center;
}

.services-page .portfolio-choice,
.services-page .portfolio-demo-link {
    min-height: 44px;
    justify-content: center;
    text-align: center;
}

.services-page .portfolio-demo-link {
    color: var(--service-blue-deep);
}

.services-page .custom-brief-card {
    border-top: 4px solid var(--portfolio-accent);
}

@media (max-width: 1140px) {
    .services-page .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .services-page .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .services-page .portfolio-body {
        padding: 18px;
    }

    .services-page .portfolio-choice,
    .services-page .portfolio-demo-link {
        flex: 1 1 100%;
    }
}

/* Navbar : même taille que le bouton "Voir les modèles" */
.site-header .nav-link,
.site-header .btn-outline-brand {
    font-size: 1rem !important;
}


/* ===== PredictNeed IA page ===== */

.pn-hero {
    min-height: 720px;
    padding: 5rem max(2rem, 5vw);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    align-items: center;
    gap: 4rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 22%, rgba(255, 207, 80, .45), transparent 25rem),
        linear-gradient(135deg, #5b37c9 0%, #37217f 100%);
    color: #fff;
}

.pn-hero-copy {
    max-width: 760px;
}

.pn-hero-copy h1 {
    margin: 1rem 0 1.5rem;
    font-size: clamp(3.4rem, 6vw, 6.8rem);
    line-height: .94;
    letter-spacing: -.055em;
}

.pn-hero-copy > p {
    max-width: 720px;
    font-size: clamp(1.08rem, 1.5vw, 1.35rem);
    line-height: 1.75;
    color: rgba(255,255,255,.87);
}

.pn-hero-visual {
    position: relative;
    min-height: 520px;
}

.pn-dashboard-card,
.pn-mini-card {
    position: absolute;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(18, 8, 58, .22);
}

.pn-card-main {
    top: 90px;
    left: 50%;
    width: min(100%, 430px);
    padding: 2.3rem;
    transform: translateX(-50%) rotate(-3deg);
    background: #fff9e9;
    color: #242032;
}

.pn-card-main > span,
.pn-mini-card > span {
    display: block;
    margin-bottom: 1.2rem;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.pn-card-main > strong {
    display: block;
    font-size: 2.15rem;
    line-height: 1.05;
}

.pn-card-main > small {
    display: block;
    margin-top: .8rem;
    color: #6f697c;
}

.pn-score {
    margin-top: 2rem;
    padding: 1.2rem 1.35rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    background: #f0eaff;
}

.pn-score strong {
    font-size: 2rem;
    color: #5731c6;
}

.pn-mini-card {
    width: 190px;
    padding: 1.35rem;
}

.pn-mini-card strong,
.pn-mini-card small {
    display: block;
}

.pn-mini-card strong {
    font-size: 1.15rem;
}

.pn-mini-card small {
    margin-top: .4rem;
    opacity: .78;
}

.pn-mini-one {
    top: 0;
    right: 0;
    background: #ffc934;
    color: #282116;
    transform: rotate(7deg);
}

.pn-mini-two {
    bottom: 8px;
    left: 0;
    background: #63d3b1;
    color: #132d27;
    transform: rotate(-5deg);
}

.pn-mini-three {
    right: -5px;
    bottom: 55px;
    background: #ff805c;
    color: #3b1810;
    transform: rotate(5deg);
}

.pn-feature-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.pn-feature-card {
    min-height: 310px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(52, 42, 78, .12);
    border-radius: 28px;
    background: #fff;
}

.pn-feature-card:nth-child(2) {
    background: #fff1d0;
}

.pn-feature-card:nth-child(3) {
    background: #e8f8f2;
}

.pn-feature-card:nth-child(4) {
    background: #eee9ff;
}

.pn-feature-number {
    margin-bottom: auto;
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .12em;
    color: #6038d1;
}

.pn-feature-card h3 {
    margin-top: 3rem;
    font-size: 1.55rem;
}

.pn-feature-card p {
    margin-bottom: 0;
    color: #625d6b;
    line-height: 1.65;
}

.pn-process {
    margin-top: 3rem;
    display: grid;
    gap: 1px;
    border-radius: 32px;
    overflow: hidden;
    background: rgba(44, 35, 65, .13);
}

.pn-process article {
    padding: 2rem;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    align-items: start;
    background: #fff;
}

.pn-process article > span {
    font-size: 2.5rem;
    font-weight: 900;
    color: #653cca;
}

.pn-process h3 {
    margin-bottom: .5rem;
    font-size: 1.5rem;
}

.pn-process p {
    margin-bottom: 0;
    max-width: 780px;
    color: #6b6573;
}

.pn-small-business-section {
    padding: 6rem max(2rem, 4vw);
    background: #34217d;
    color: #fff;
}

.pn-small-business-section > .container-fluid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.pn-small-business-copy h2 {
    margin: 1rem 0 1.5rem;
    font-size: clamp(2.6rem, 4.5vw, 5.2rem);
    line-height: .97;
}

.pn-small-business-copy > p {
    max-width: 650px;
    color: rgba(255,255,255,.78);
    font-size: 1.1rem;
    line-height: 1.75;
}

.pn-business-points {
    display: grid;
    gap: 1rem;
}

.pn-business-points article {
    padding: 1.7rem;
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 1.2rem;
    border-radius: 24px;
    background: rgba(255,255,255,.1);
}

.pn-business-points i {
    grid-row: span 2;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #ffd044;
    color: #30215f;
    font-size: 1.6rem;
}

.pn-business-points h3,
.pn-business-points p {
    margin: 0;
}

.pn-business-points p {
    margin-top: .35rem;
    color: rgba(255,255,255,.7);
}

.pn-bridge-section {
    margin: 2rem max(2rem, 4vw) 6rem;
    padding: clamp(2.5rem, 5vw, 5rem);
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 3rem;
    align-items: center;
    border-radius: 36px;
    background: #fff0c8;
}

.pn-bridge-section h2 {
    max-width: 900px;
    margin: 1rem 0;
    font-size: clamp(2.5rem, 4.2vw, 4.8rem);
    line-height: .98;
}

.pn-bridge-section p {
    max-width: 780px;
    line-height: 1.75;
}

.pn-bridge-actions {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.pn-bridge-actions .btn {
    width: 100%;
}

.pn-final-cta {
    margin-bottom: 0;
}

@media (max-width: 1199.98px) {
    .pn-hero {
        grid-template-columns: 1fr;
    }

    .pn-hero-visual {
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .pn-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pn-small-business-section > .container-fluid,
    .pn-bridge-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .pn-hero {
        min-height: auto;
        padding: 4rem 1.25rem;
    }

    .pn-hero-copy h1 {
        font-size: clamp(3rem, 15vw, 4.7rem);
    }

    .pn-hero-visual {
        min-height: 600px;
    }

    .pn-card-main {
        width: calc(100% - 20px);
    }

    .pn-mini-card {
        width: 160px;
    }

    .pn-feature-grid {
        grid-template-columns: 1fr;
    }

    .pn-process article {
        grid-template-columns: 1fr;
    }

    .pn-small-business-section {
        padding: 4rem 1.25rem;
    }

    .pn-business-points article {
        grid-template-columns: 54px 1fr;
    }

    .pn-business-points i {
        width: 54px;
        height: 54px;
    }

    .pn-bridge-section {
        margin: 1rem 1rem 4rem;
        padding: 2rem;
    }
}


/* ===== PLAN EDITORIAL IA ===== */

.editorial-dashboard {
    display: grid;
    gap: 1.5rem;
}

.editorial-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.editorial-global-count {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    white-space: nowrap;
}

.editorial-global-count strong {
    font-size: 2rem;
}

.editorial-categories {
    display: grid;
    gap: 1rem;
}

.editorial-category {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
}

.editorial-category summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.3rem;
    font-weight: 700;
}

.editorial-category summary::-webkit-details-marker {
    display: none;
}

.editorial-topic-list {
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.editorial-topic-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.3rem;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.editorial-topic-row:last-child {
    border-bottom: 0;
}

.editorial-topic-main {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
}

.editorial-topic-main small {
    display: block;
    margin-top: .2rem;
    opacity: .7;
}

.editorial-status {
    font-size: 1.25rem;
    line-height: 1.2;
}

.editorial-status-done {
    font-weight: 800;
}

.editorial-warning {
    font-weight: 600;
}

.editorial-topic-action form {
    margin: 0;
}

@media (max-width: 760px) {
    .editorial-heading,
    .editorial-topic-row {
        align-items: stretch;
        flex-direction: column;
    }

    .editorial-topic-action,
    .editorial-topic-action form,
    .editorial-topic-action .button {
        width: 100%;
    }
}
