/* TechBlog: calm, light editorial layer within the IBCSC design system. */
.page-techblog main,
.page-techblog-article main {
    color: #112630;
    background: #f2f0e9;
}

.page-techblog .site-breadcrumbs,
.page-techblog-article .site-breadcrumbs {
    color: #526971;
    background: #ebe9e2;
    border-color: #c7c4ba;
}

.page-techblog .site-breadcrumbs a,
.page-techblog-article .site-breadcrumbs a { color: #06637b; }

.techblog-hero,
.techblog-article-hero {
    min-height: 0;
    color: #112630;
    background: #f2f0e9;
    border-color: #c7c4ba;
}

.techblog-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.techblog-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.techblog-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(242, 240, 233, .99) 0%, rgba(242, 240, 233, .96) 34%, rgba(242, 240, 233, .72) 53%, rgba(242, 240, 233, .1) 82%);
}

.techblog-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.techblog-article-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.techblog-article-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.techblog-article-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(242, 240, 233, .99) 0%, rgba(242, 240, 233, .97) 36%, rgba(242, 240, 233, .84) 52%, rgba(242, 240, 233, .24) 78%, rgba(242, 240, 233, .06) 100%),
        linear-gradient(180deg, rgba(242, 240, 233, .18), rgba(242, 240, 233, .08));
}

.techblog-article-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.techblog-hero::after,
.techblog-article-hero::after { display: none; }

.techblog-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: clamp(230px, 20vw, 258px);
    flex-direction: column;
    justify-content: center;
    padding-block: 30px 34px;
}

.techblog-label {
    margin-bottom: 14px !important;
    color: #06637b !important;
    font-size: .72rem !important;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.techblog-hero h1 {
    max-width: 680px;
    margin-bottom: 12px;
    color: #112630;
    font-size: clamp(2.05rem, 3vw, 2.85rem);
    line-height: 1;
}

.techblog-hero-stats {
    display: flex;
    gap: 18px;
    margin-top: 18px;
    color: #38515c;
    font-size: .72rem;
}

.techblog-hero-stats span + span { padding-left: 18px; border-left: 1px solid #aeb9b8; }
.techblog-hero-stats strong { color: #06637b; font-variant-numeric: tabular-nums; }

.techblog-hero p,
.techblog-article-hero > .container > p:last-child {
    max-width: 720px;
    color: #526971;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.techblog-index { border-bottom: 1px solid #c7c4ba; }
.techblog-index-inner { padding-block: clamp(24px, 3.2vw, 46px) clamp(50px, 6vw, 80px); }

.techblog-widget-search h2 { margin-bottom: 11px; }

.techblog-search { display: grid; gap: 8px; margin: 0; }

.techblog-search-row {
    position: relative;
    border: 1px solid #bdbab1;
    background: #f8f6f0;
}

.techblog-search-icon {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 13px;
    height: 13px;
    border: 1.6px solid #526971;
    border-radius: 50%;
    pointer-events: none;
    transform: translateY(-56%);
}

.techblog-search-icon::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 6px;
    height: 1.5px;
    background: #526971;
    transform: rotate(45deg);
}

.techblog-search input {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px 8px 36px;
    color: #112630;
    background: transparent;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: .84rem;
}

.techblog-search input::placeholder { color: #5c6f76; }
.techblog-search-row:focus-within { border-color: #06637b; box-shadow: 0 0 0 2px rgba(6, 99, 123, .12); }

.techblog-search button {
    width: 100%;
    min-height: 38px;
    padding: 9px 16px;
    color: #f2f0e9;
    background: #06637b;
    border: 0;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    transition: background-color .2s ease, transform .2s ease;
}

.techblog-search button:hover { background: #112630; }
.techblog-search button:active { transform: translateY(1px); }

.techblog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: clamp(26px, 3vw, 38px);
}

.techblog-content { min-width: 0; grid-column: 1; grid-row: 1; }

.techblog-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #c7c4ba;
}

.techblog-results-kicker {
    margin: 0 0 3px !important;
    color: #06637b;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.techblog-results-head h2 {
    margin: 0;
    color: #112630;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 1.65rem;
    line-height: 1;
}

.techblog-results-head > p { margin: 0; color: #526971; font-size: .75rem; }

.techblog-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: 0 0 18px;
    font-size: .73rem;
}

.techblog-active-filters span { padding: 6px 9px; color: #38515c; background: #e5e2d9; border-left: 2px solid #06637b; }
.techblog-active-filters a { margin-left: 4px; color: #06637b; font-weight: 700; }

.techblog-empty {
    padding: 32px;
    color: #38515c;
    background: #e9e6de;
    border-left: 3px solid #06637b;
}

.techblog-empty strong { display: block; margin-bottom: 6px; color: #112630; font-size: 1.15rem; }
.techblog-empty p { margin: 0 0 12px; }
.techblog-empty a { color: #06637b; font-weight: 700; }

.techblog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    align-items: stretch;
    gap: clamp(16px, 1.8vw, 24px);
}

.techblog-entry {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: #f7f5ef;
    border: 1px solid #c7c4ba;
    border-top: 2px solid #06637b;
}

.techblog-entry-media {
    display: block;
    overflow: hidden;
    background: #e5e2d9;
    border-bottom: 1px solid #c7c4ba;
}

.techblog-entry-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transform: scale(1.12);
    transform-origin: 72% center;
    transition: transform .35s var(--ease);
}

.techblog-entry:hover .techblog-entry-media img { transform: scale(1.17); }

.techblog-entry-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(17px, 1.7vw, 23px);
}

.techblog-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 11px !important;
    color: #526971 !important;
    font-size: .66rem !important;
    font-weight: 650;
    letter-spacing: .045em;
}

.techblog-meta > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.techblog-meta span + span,
.techblog-meta time + span { padding-left: 10px; border-left: 1px solid #c7c4ba; }
.techblog-meta time { flex: none; color: #06637b; }

.techblog-meta-flag {
    flex: none;
    padding: 3px 7px !important;
    color: #06637b !important;
    background: #dbe9ec;
    border-left: 0 !important;
    font-size: .6rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.techblog-entry h3 {
    display: -webkit-box;
    margin-bottom: 10px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #112630;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: clamp(1.3rem, 1.55vw, 1.65rem);
    line-height: 1.08;
    text-transform: none;
}

.techblog-entry h3 a:hover { color: #06637b; }

.techblog-grid .techblog-entry h3 { min-height: 2.16em; }

.techblog-entry-copy > p:not(.techblog-meta) {
    display: -webkit-box;
    margin-bottom: 15px;
    overflow: hidden;
    color: #526971;
    font-size: .86rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.techblog-read {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 34px;
    margin-top: auto;
    color: #06637b;
    font-size: .76rem;
    font-weight: 700;
}

.techblog-entry-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.techblog-entry-foot .techblog-read { margin-top: 0; }

.techblog-comment-count {
    color: #55666d;
    font-size: .68rem;
    white-space: nowrap;
}

.techblog-comment-count:hover { color: #06637b; }

.techblog-grid.is-split { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.techblog-entry-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
    margin-bottom: clamp(16px, 1.8vw, 24px);
}

.techblog-entry-featured .techblog-entry-media {
    border-right: 1px solid #c7c4ba;
    border-bottom: 0;
}

.techblog-entry-featured .techblog-entry-media img {
    height: 100%;
    aspect-ratio: auto;
    transform: scale(1.06);
}

.techblog-entry-featured:hover .techblog-entry-media img { transform: scale(1.1); }

.techblog-entry-featured .techblog-entry-copy {
    justify-content: center;
    padding: clamp(22px, 2.4vw, 34px);
}

.techblog-entry-featured h3 {
    -webkit-line-clamp: 3;
    font-size: clamp(1.7rem, 2.3vw, 2.2rem);
}

.techblog-entry-featured .techblog-entry-copy > p:not(.techblog-meta) {
    margin-bottom: 20px;
    font-size: .95rem;
    -webkit-line-clamp: 4;
}

.techblog-entry-featured .techblog-entry-foot { margin-top: 0; }

.techblog-sidebar {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--header-h) + 22px);
    display: grid;
    gap: 18px;
}

.techblog-widget {
    padding: 18px;
    background: #e9e6de;
    border-top: 2px solid #06637b;
}

.techblog-widget h2 {
    margin: 0 0 13px;
    color: #112630;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 1.25rem;
    line-height: 1;
    text-transform: none;
}

.techblog-category-list,
.techblog-recent-list,
.techblog-recent-comments { margin: 0; padding: 0; list-style: none; }

.techblog-category-list li + li { border-top: 1px solid #cbc8bf; }

.techblog-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    color: #38515c;
    font-size: .78rem;
    line-height: 1.35;
}

.techblog-category-list a:hover,
.techblog-category-list a.is-active { color: #06637b; }
.techblog-category-list a.is-active span { font-weight: 700; }

.techblog-category-list strong {
    min-width: 22px;
    color: #06637b;
    font-size: .68rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.techblog-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }

.techblog-tag-cloud a {
    padding: 5px 7px;
    color: #38515c;
    background: #f5f3ed;
    border: 1px solid #c7c4ba;
    font-size: .68rem;
    line-height: 1;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.techblog-tag-cloud a[data-count="2"] { font-size: .78rem; font-weight: 700; }
.techblog-tag-cloud a:hover,
.techblog-tag-cloud a.is-active { color: #f5f3ed; background: #06637b; border-color: #06637b; }

.techblog-recent-list { counter-reset: recent; }
.techblog-recent-list li + li { margin-top: 11px; padding-top: 11px; border-top: 1px solid #cbc8bf; }

.techblog-recent-list a {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.techblog-recent-list img { display: block; width: 74px; height: 50px; object-fit: cover; }
.techblog-recent-list span { min-width: 0; }
.techblog-recent-list strong { display: -webkit-box; overflow: hidden; color: #112630; font-size: .73rem; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.techblog-recent-list a:hover strong { color: #06637b; }
.techblog-recent-list time { display: block; margin-top: 4px; color: #55666d; font-size: .61rem; }

.techblog-recent-comments li { color: #526971; font-size: .72rem; line-height: 1.45; }
.techblog-recent-comments li + li { margin-top: 9px; padding-top: 9px; border-top: 1px solid #cbc8bf; }
.techblog-recent-comments strong { color: #112630; }
.techblog-recent-comments a { color: #06637b; }

.techblog-read:hover { color: #112630; }
.techblog-read:active { transform: translateY(1px); }

.techblog-next {
    max-width: 700px;
    margin: 22px 0 0;
    color: #526971;
    font-size: .86rem;
}

.techblog-article-head {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: clamp(300px, 24vw, 360px);
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(36px, 5vw, 62px);
}

.techblog-article-head .breadcrumbs {
    margin-bottom: 20px;
    color: #526971;
}

.techblog-article-head .breadcrumbs a { color: #06637b; }

.techblog-article-head h1 {
    max-width: min(62%, 760px);
    margin-bottom: 18px;
    color: #112630;
    font-size: clamp(2.25rem, 3.7vw, 3.45rem);
    line-height: 1.02;
    text-transform: none;
}

.techblog-article-head > p:last-child {
    max-width: min(52%, 620px);
}

.techblog-article-shell {
    display: grid;
    grid-template-columns: 210px minmax(0, 760px);
    justify-content: center;
    gap: clamp(44px, 7vw, 96px);
    padding-top: clamp(40px, 6vw, 76px);
    padding-bottom: clamp(64px, 8vw, 110px);
}

.techblog-article-info {
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 28px);
    padding-top: 4px;
}

.techblog-article-info dl { margin: 0; }

.techblog-article-info div {
    padding: 14px 0;
    border-bottom: 1px solid #c7c4ba;
}

.techblog-article-info div:first-child { padding-top: 0; }

.techblog-article-info dt {
    margin-bottom: 3px;
    color: #526971;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.techblog-article-info dd {
    margin: 0;
    color: #112630;
    font-size: .86rem;
    line-height: 1.45;
}

.techblog-prose { min-width: 0; }

.techblog-prose > p,
.techblog-prose > ul li,
.techblog-prose > ol li {
    color: #253e49;
    font-size: 1.04rem;
    line-height: 1.78;
}

.techblog-prose > p { margin-bottom: 1.45em; }
.techblog-prose > p:first-child { font-size: 1.12rem; }

.techblog-prose h2 {
    margin: 2em 0 .65em;
    color: #112630;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.05;
    text-transform: uppercase;
}

.techblog-prose h2:first-of-type { margin-top: 1.7em; }

.techblog-prose ul,
.techblog-prose ol {
    margin: 0 0 1.6em;
    padding-left: 1.3em;
}

.techblog-prose li { margin-bottom: .55em; padding-left: .2em; }

.techblog-prose code {
    color: #0a5267;
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: .91em;
}

.techblog-note {
    margin: 30px 0;
    padding: 20px 24px;
    border-left: 3px solid #06637b;
    background: #e5e2d9;
}

.techblog-note strong { color: #112630; }
.techblog-note p { margin: 5px 0 0; color: #38515c; line-height: 1.65; }

.techblog-code {
    max-width: 100%;
    margin: 28px 0;
    padding: 22px 24px;
    overflow-x: auto;
    color: #dce8ec;
    background: #06131d;
    border-left: 3px solid #19b9e6;
    font-size: .88rem;
    line-height: 1.7;
    tab-size: 4;
}

.techblog-code code { color: inherit; font-size: inherit; }

.techblog-figure { margin: 32px 0 46px; }

.techblog-figure-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
    margin: 32px 0 46px;
}

.techblog-figure-grid .techblog-figure { margin: 0; }

.techblog-figure-open {
    position: relative;
    display: block;
    overflow: hidden;
    color: inherit;
    background: #e5e2d9;
    border: 1px solid #c7c4ba;
    cursor: zoom-in;
}

.techblog-figure img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .28s var(--ease), filter .28s var(--ease);
}

.techblog-figure-open:hover img {
    filter: saturate(1.04) contrast(1.02);
    transform: scale(1.012);
}

.techblog-figure-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 8px 12px;
    color: #f2f0e9;
    background: rgba(6, 19, 29, .9);
    border: 1px solid rgba(242, 240, 233, .3);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.techblog-figure-zoom span { color: #76d6ee; font-size: 1rem; }

.techblog-figure figcaption {
    margin-top: 10px;
    color: #526971;
    font-size: .82rem;
    line-height: 1.55;
}

.techblog-lightbox {
    width: min(94vw, 1480px);
    max-width: none;
    max-height: 94vh;
    margin: auto;
    padding: 0;
    overflow: visible;
    color: #f2f0e9;
    background: #06131d;
    border: 1px solid #29414c;
}

.techblog-lightbox::backdrop {
    background: rgba(2, 10, 18, .86);
    backdrop-filter: blur(3px);
}

.techblog-lightbox-panel { position: relative; padding: 18px; }
.techblog-lightbox figure { margin: 0; }

.techblog-lightbox img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(88vh - 72px);
    margin-inline: auto;
    object-fit: contain;
}

.techblog-lightbox figcaption {
    margin-top: 12px;
    padding-right: 54px;
    color: #c8d4d9;
    font-size: .82rem;
    line-height: 1.45;
}

.techblog-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: #06131d;
    background: #76d6ee;
    border: 1px solid #06131d;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.65rem;
    line-height: 1;
    transition: background-color .2s ease, transform .2s ease;
}

.techblog-lightbox-close:hover { background: #f2f0e9; }
.techblog-lightbox-close:active { transform: translateY(1px); }
body.techblog-lightbox-open { overflow: hidden; }

.techblog-comments {
    margin-top: 62px;
    padding-top: 26px;
    border-top: 2px solid #112630;
}

.techblog-comments-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.techblog-comments-head p {
    margin: 0 0 4px;
    color: #06637b;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.techblog-comments .techblog-comments-head h2 {
    margin: 0;
    color: #112630;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 1.8rem;
    line-height: 1;
    text-transform: none;
}

.techblog-comments-head > span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    color: #f2f0e9;
    background: #06637b;
    font-size: .75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.techblog-comment-notice {
    margin: 0 0 16px;
    padding: 12px 14px;
    color: #28454f;
    background: #e1ebe5;
    border-left: 3px solid #317b58;
    font-size: .84rem;
}

.techblog-comment-notice.is-error { color: #632e2e; background: #f0e1dc; border-color: #a9483d; }

.techblog-comments-empty {
    margin: 0 0 20px;
    padding: 16px 18px;
    color: #526971;
    background: #e9e6de;
    font-size: .86rem;
    line-height: 1.55;
}

.techblog-comment-list { margin-bottom: 24px; }

.techblog-comment {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    padding: 17px 0;
    border-bottom: 1px solid #c7c4ba;
}

.techblog-comment:first-child { border-top: 1px solid #c7c4ba; }

.techblog-comment-avatar {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #f2f0e9;
    background: #38515c;
    font-size: .8rem;
    font-weight: 700;
}

.techblog-comment header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.techblog-comment header strong { color: #112630; font-size: .84rem; }
.techblog-comment header span { padding: 2px 5px; color: #06637b; background: #dce9e8; font-size: .58rem; font-weight: 700; text-transform: uppercase; }
.techblog-comment time { margin-left: auto; color: #71848b; font-size: .65rem; }
.techblog-comment > div > p { margin: 7px 0 0; color: #38515c; font-size: .9rem; line-height: 1.62; }

.techblog-comment-compose {
    padding: 20px;
    background: #e9e6de;
    border-top: 2px solid #06637b;
}

.techblog-comment-login strong { display: block; margin-bottom: 5px; color: #112630; }
.techblog-comment-login p { margin: 0 0 10px; color: #526971; font-size: .84rem; line-height: 1.5; }
.techblog-comment-login a { color: #06637b; font-size: .78rem; font-weight: 700; }

.techblog-comment-form-head,
.techblog-comment-form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.techblog-comment-form-head { margin-bottom: 8px; }
.techblog-comment-form-head label { color: #112630; font-size: .82rem; font-weight: 700; }
.techblog-comment-form-head span { color: #55666d; font-size: .68rem; }
.techblog-comment-form-head strong { color: #38515c; }

.techblog-comment-compose textarea {
    display: block;
    width: 100%;
    min-height: 120px;
    padding: 13px 14px;
    resize: vertical;
    color: #112630;
    background: #f8f6f0;
    border: 1px solid #bdbab1;
    border-radius: 0;
    outline: 0;
    font: inherit;
    font-size: .88rem;
    line-height: 1.55;
}

.techblog-comment-compose textarea:focus { border-color: #06637b; box-shadow: 0 0 0 2px rgba(6, 99, 123, .12); }
.techblog-comment-form-foot { align-items: end; margin-top: 10px; }
.techblog-comment-form-foot p { max-width: 410px; margin: 0; color: #55666d; font-size: .66rem; line-height: 1.45; }

.techblog-comment-form-foot button {
    min-height: 38px;
    padding: 9px 14px;
    color: #f2f0e9;
    background: #06637b;
    border: 0;
    cursor: pointer;
    font-size: .72rem;
    font-weight: 700;
}

.techblog-comment-form-foot button:hover { background: #112630; }
.techblog-comment-form-foot button:active { transform: translateY(1px); }

.techblog-comment-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.techblog-sources {
    margin-top: 48px;
    padding-top: 2px;
    border-top: 1px solid #c7c4ba;
}

.techblog-sources ul { padding-left: 1.2em; }
.techblog-sources li { color: #38515c; font-size: .94rem; }
.techblog-sources a { color: #06637b; text-decoration: underline; text-underline-offset: 3px; }
.techblog-sources a:hover { color: #112630; }

.techblog-review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 26px 0 42px;
}

.techblog-review-grid section {
    padding: 20px 22px 16px;
    background: #e9e6de;
    border-top: 3px solid #317b58;
}

.techblog-review-grid section:last-child { border-top-color: #c16b55; }

.techblog-review-grid h3 {
    margin: 0 0 12px;
    color: #112630;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 1.35rem;
}

.techblog-review-grid ul { margin: 0; padding-left: 1.15em; }
.techblog-review-grid li { margin-bottom: .45em; color: #38515c; font-size: .88rem; line-height: 1.5; }

.techblog-entry a:focus-visible,
.techblog-search input:focus-visible,
.techblog-search button:focus-visible,
.techblog-active-filters a:focus-visible,
.techblog-sidebar a:focus-visible,
.techblog-comment-login a:focus-visible,
.techblog-comment-compose button:focus-visible,
.techblog-figure-open:focus-visible,
.techblog-lightbox-close:focus-visible,
.techblog-prose a:focus-visible,
.techblog-article-head a:focus-visible {
    outline: 2px solid #06637b;
    outline-offset: 4px;
}

@media (max-width: 980px) {
    .techblog-layout { display: flex; flex-direction: column; }
    .techblog-content { order: 1; }
    .techblog-widget-search { grid-column: 1 / -1; }
    .techblog-sidebar {
        order: 2;
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 8px;
    }
}

@media (max-width: 860px) {
    .techblog-entry-featured { grid-template-columns: 1fr; }
    .techblog-entry-featured .techblog-entry-media { border-right: 0; border-bottom: 1px solid #c7c4ba; }
    .techblog-entry-featured .techblog-entry-media img { aspect-ratio: 16 / 9; }
    .techblog-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .techblog-article-hero-media::after { background: rgba(242, 240, 233, .9); }
    .techblog-article-hero-media img { object-position: 72% center; }
    .techblog-article-head h1,
    .techblog-article-head > p:last-child { max-width: 100%; }
    .techblog-article-shell { grid-template-columns: 1fr; gap: 34px; }
    .techblog-article-info { position: static; }
    .techblog-article-info dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
}

@media (max-width: 620px) {
    .techblog-hero-media::after { background: rgba(242, 240, 233, .9); }
    .techblog-hero-inner { min-height: 240px; padding-block: 26px 30px; }
    .techblog-hero h1 { font-size: 2.2rem; }
    .techblog-hero p { max-width: 92%; font-size: .96rem; }
    .techblog-hero-stats { margin-top: 14px; }
    .techblog-sidebar { grid-template-columns: 1fr; }
    .techblog-entry-copy { padding: 18px; }
    .techblog-entry h3 { font-size: 1.5rem; }
    .techblog-article-head { min-height: 0; padding-block: 34px 42px; }
    .techblog-article-head h1 { font-size: clamp(2rem, 9vw, 2.55rem); }
    .techblog-article-shell { padding-top: 36px; }
    .techblog-article-info dl { grid-template-columns: 1fr; }
    .techblog-prose > p,
    .techblog-prose > ul li { font-size: 1rem; }
    .techblog-code { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); border-left: 0; }
    .techblog-figure { margin-inline: calc(var(--gutter) * -1); }
    .techblog-figure-grid { grid-template-columns: 1fr; gap: 24px; }
    .techblog-figure-grid .techblog-figure { margin-inline: 0; }
    .techblog-figure figcaption { padding-inline: var(--gutter); }
    .techblog-figure-zoom { right: 8px; bottom: 8px; }
    .techblog-lightbox { width: calc(100vw - 20px); }
    .techblog-lightbox-panel { padding: 10px; }
    .techblog-lightbox img { max-height: calc(86vh - 60px); }
    .techblog-lightbox figcaption { padding: 0 50px 2px 2px; }
    .techblog-comments { margin-top: 48px; }
    .techblog-comment-compose { padding: 16px; }
    .techblog-comment-form-head,
    .techblog-comment-form-foot { align-items: stretch; flex-direction: column; }
    .techblog-comment-form-head { gap: 4px; }
    .techblog-comment-form-foot { gap: 10px; }
    .techblog-comment-form-foot button { width: 100%; }
    .techblog-comment time { width: 100%; margin-left: 0; }
    .techblog-review-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
}

@media (prefers-reduced-motion: reduce) {
    .techblog-entry-media img { transition: none; }
}

@media print {
    .techblog-article-info { position: static; }
    .techblog-article-shell { display: block; }
    .techblog-article-info { margin-bottom: 28px; }
    .techblog-code { white-space: pre-wrap; }
}

/* Temps de lecture dans les cartes */
.techblog-meta-time { flex: none; color: #38515c !important; }

/* Pagination */
.techblog-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: clamp(24px, 3vw, 34px);
    padding-top: 16px;
    border-top: 1px solid #c7c4ba;
    font-size: .78rem;
}

.techblog-pagination a { color: #06637b; font-weight: 700; }
.techblog-pagination a:hover { color: #112630; }
.techblog-pagination .is-disabled { color: #98a4a8; }

.techblog-page-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.techblog-page-list a,
.techblog-page-list .is-current {
    display: grid;
    min-width: 34px;
    min-height: 34px;
    padding: 0 8px;
    place-items: center;
    background: #f5f3ed;
    border: 1px solid #c7c4ba;
    font-size: .76rem;
    font-variant-numeric: tabular-nums;
}

.techblog-page-list .is-current {
    color: #f5f3ed;
    background: #06637b;
    border-color: #06637b;
    font-weight: 700;
}

.techblog-page-list a:hover { border-color: #06637b; }

/* Widget d'abonnement */
.techblog-widget-follow p {
    margin: 0 0 11px;
    color: #38515c;
    font-size: .76rem;
    line-height: 1.5;
}

.techblog-feed-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 12px;
    color: #06637b;
    background: #f5f3ed;
    border: 1px solid #c7c4ba;
    font-size: .74rem;
    font-weight: 700;
}

.techblog-feed-link:hover { color: #f5f3ed; background: #06637b; border-color: #06637b; }
.techblog-tag-reset { font-weight: 700; }

/* Colonne latérale de l'article : tags et partage */
.techblog-article-aside-title {
    margin: 0 0 8px !important;
    color: #526971;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.techblog-article-tags { padding: 16px 0; border-bottom: 1px solid #c7c4ba; }
.techblog-article-share { padding-top: 16px; }

.techblog-article-share ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.techblog-article-share a { color: #06637b; font-size: .78rem; font-weight: 700; }
.techblog-article-share a:hover { color: #112630; }

/* Articles liés */
.techblog-related {
    margin-top: 54px;
    padding-top: 22px;
    border-top: 2px solid #112630;
}

.techblog-related h2 {
    margin: 0 0 16px;
    color: #112630;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 1.65rem;
    line-height: 1;
    text-transform: none;
}

.techblog-related ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.techblog-related li { margin: 0; }

.techblog-related a {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 10px;
    background: #f7f5ef;
    border: 1px solid #c7c4ba;
    border-left: 3px solid #06637b;
}

.techblog-related a:hover { border-left-color: #112630; }
.techblog-related img { display: block; width: 120px; height: 80px; object-fit: cover; }
.techblog-related strong { display: block; color: #112630; font-size: .95rem; line-height: 1.25; }
.techblog-related a:hover strong { color: #06637b; }
.techblog-related em { display: block; margin-top: 5px; color: #55666d; font-size: .7rem; font-style: normal; }

@media (max-width: 620px) {
    .techblog-pagination { flex-wrap: wrap; justify-content: center; }
    .techblog-page-list { order: -1; width: 100%; justify-content: center; }
    .techblog-related a { grid-template-columns: 84px minmax(0, 1fr); gap: 10px; }
    .techblog-related img { width: 84px; height: 60px; }
}

/* Occurrences trouvées par la recherche */
.techblog-entry mark {
    padding: 0 2px;
    color: #06222b;
    background: #cfe7ee;
}

/* Bloc auteur en fin d'article */
.techblog-author {
    margin-top: 34px;
    padding: 20px 22px;
    background: #e9e6de;
    border-left: 3px solid #06637b;
}

.techblog-author p { margin: 0; color: #38515c; font-size: .88rem; line-height: 1.6; }
.techblog-author strong { color: #112630; }
.techblog-author .techblog-article-aside-title { margin-bottom: 6px !important; }
.techblog-author-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px !important; }
.techblog-author-links a { color: #06637b; font-size: .8rem; font-weight: 700; }
.techblog-author-links a:hover { color: #112630; }

/* Sommaire d'article */
.techblog-toc {
    margin: 28px 0 34px;
    padding: 20px 24px;
    background: #e9e6de;
    border-left: 3px solid #06637b;
}

.techblog-toc-title {
    margin: 0 0 10px !important;
    color: #112630;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.techblog-toc ol { margin: 0; padding-left: 1.3em; }
.techblog-toc li { margin-bottom: .35em; color: #38515c; font-size: .92rem; }
.techblog-toc a { color: #06637b; }
.techblog-toc a:hover { color: #112630; text-decoration: underline; text-underline-offset: 3px; }

/* Tableaux d'article */
.techblog-table-wrap {
    margin: 26px 0 34px;
    overflow-x: auto;
    border: 1px solid #c7c4ba;
    background: #f7f5ef;
}

.techblog-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.techblog-table th,
.techblog-table td {
    padding: 12px 14px;
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid #ddd9cf;
}

.techblog-table thead th {
    color: #112630;
    background: #e9e6de;
    border-bottom: 2px solid #06637b;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 1rem;
    letter-spacing: .02em;
    white-space: nowrap;
}

.techblog-table td { color: #38515c; line-height: 1.55; }
.techblog-table td:first-child { color: #112630; font-weight: 600; white-space: nowrap; }
.techblog-table tbody tr:last-child th,
.techblog-table tbody tr:last-child td { border-bottom: 0; }
.techblog-table strong { color: #112630; }

@media (max-width: 620px) {
    .techblog-table { font-size: .82rem; }
    .techblog-table th, .techblog-table td { padding: 10px; }
    .techblog-table td:first-child { white-space: normal; }
}
