/* Blog list designs: Modern = classic_new (.lbd-cn), Bento (.lbd-ba), Spotlight (.lbd-sp). Tokens and shared parts in blog-designs.css. */

.lbd-list a:focus,
.lbd-list a:active,
.lbd-list button:focus,
.lbd-list button:active,
.lbd-list summary:focus,
.lbd-list summary:active { outline: none !important; }

/* Page title */
.lbd-page-title { min-width: 0; }
/* Same type as the classic #titlebar h2 and span */
.lbd .lbd-page-title h1 { margin: 1px 0 3px; font-size: 32px; line-height: 40px; font-weight: 400; color: var(--lbd-heading); overflow-wrap: anywhere; }
.lbd-page-sub { margin-top: 6px; }
.lbd-page-sub,
.lbd-page-sub p { font-size: 20px; line-height: 27px; font-weight: 300; color: var(--lbd-muted); }
.lbd-page-sub p { margin: 0; }

/* Post search */
.lbd-search { position: relative; flex: none; width: 280px; margin: 0; }
.lbd-search i { position: absolute; top: 50%; inset-inline-start: 18px; transform: translateY(-50%); font-size: 14px; color: var(--lbd-muted); pointer-events: none; }
.lbd .lbd-search input[type="search"] { box-sizing: border-box; width: 100%; height: 44px; margin: 0; padding: 0 18px; padding-inline-start: 44px; border: 1px solid var(--lbd-border); border-radius: 6px; background: var(--lbd-surface); box-shadow: none; font-size: 14px; line-height: 42px; font-weight: 400; color: var(--lbd-heading); -webkit-appearance: none; appearance: none; }
.lbd .lbd-search input[type="search"]:focus { border-color: var(--lbd-muted); box-shadow: none; }

/* Image or placeholder in a 4:3 frame */
.lbd-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--lbd-radius); background: var(--lbd-soft); }
.lbd-card-img > img,
.lbd-card-img > .lbd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lbd-card-img .lbd-chip { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; max-width: calc(100% - 32px); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lbd-card-img .lbd-chip:hover { background: rgba(0,0,0,.6); color: #fff; }

/* Card */
.lbd-card,
.lbd-row { position: relative; min-width: 0; }
.lbd-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lbd-card:hover .lbd-card-img > img,
.lbd-row:hover .lbd-card-img > img { transform: scale(1.04); }
.lbd-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 20px; font-size: 13px; line-height: 1.4; color: var(--lbd-muted); }
.lbd .lbd-card-title { margin: 8px 0 10px; font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -.005em; overflow-wrap: anywhere; }
.lbd .lbd-card-title a { color: var(--lbd-heading); }
.lbd-card:hover .lbd-card-title a,
.lbd-row:hover .lbd-card-title a { color: var(--lbd-accent); }
.lbd .lbd-card-excerpt { display: -webkit-box; margin: 0 0 16px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 15px; line-height: 1.65; color: var(--lbd-body); overflow-wrap: anywhere; }

/* Author, reading time, tags */
.lbd-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; line-height: 1.4; color: var(--lbd-muted); }
:where(.lbd) .lbd-foot img.avatar { width: 26px; height: 26px; margin: 0; margin-inline-end: 2px; border-radius: 50%; object-fit: cover; }
.lbd-foot-author { font-weight: 500; color: var(--lbd-heading); }
.lbd-foot-tags { position: relative; z-index: 2; }
.lbd-foot-tags i { margin-inline-end: 2px; font-size: 11px; }
.lbd-foot-tags a { color: var(--lbd-muted); }
.lbd-foot-tags a:hover { color: var(--lbd-accent); }
.lbd-card .lbd-foot-tags { flex-basis: 100%; }

/* Card grid */
.lbd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; }
.lbd-grid.lbd-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Category pills, sort */
.lbd-posts { position: relative; transition: opacity .15s; }
.lbd-posts[aria-busy="true"] { opacity: .65; }
.lbd .lbd-posts > h2.screen-reader-text:focus { inset: auto; inset-inline-start: 0; bottom: 100%; margin: 0; background: var(--lbd-surface); color: var(--lbd-heading); }

.lbd-latest { padding-top: 72px; padding-bottom: 96px; }
.lbd .lbd-latest:is(.is-first, :has(> .is-first)) { padding-top: 0; }
.lbd-latest-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.lbd-category-nav { --lbd-fade-direction: to right; --lbd-fade-start: 0px; --lbd-fade-end: 0px; display: flex; align-items: center; min-width: 0; }
.lbd-category-nav .lbd-track { min-width: 0; padding: 4px; scroll-padding-inline: 4px; }
.lbd-category-nav .lbd-arrow { flex: none; width: 32px; height: 32px; border-radius: 100px; font-size: 12px; }
.lbd-category-nav.lbd-static .lbd-arrow { display: none; }
.lbd-category-nav a:focus,
.lbd-category-nav a:active,
.lbd-category-nav button:focus,
.lbd-category-nav button:active { outline: none !important; }
.rtl .lbd-category-nav { --lbd-fade-direction: to left; }
.lbd-category-nav:has([data-prev]:enabled) { --lbd-fade-start: 14px; }
.lbd-category-nav:has([data-next]:enabled) { --lbd-fade-end: 14px; }
.lbd-category-nav:not(.lbd-static) .lbd-track:not(:focus-within) { mask-image: linear-gradient(var(--lbd-fade-direction), transparent, #000 var(--lbd-fade-start), #000 calc(100% - var(--lbd-fade-end)), transparent); }
.lbd-pills { gap: 6px; }
.lbd-pills a { padding: 10px 20px; border-radius: 100px; font-size: 15px; line-height: 20px; font-weight: 500; color: var(--lbd-text); white-space: nowrap; }
.lbd-pills a:hover { background: var(--lbd-soft); color: var(--lbd-heading); }
:where(.lbd) .lbd-pills a.on { background: var(--lbd-line); color: var(--lbd-heading); }

.lbd-sort { display: flex; flex: none; align-items: center; gap: 12px; margin-inline-start: auto; font-size: 15px; color: var(--lbd-muted); }
.lbd-sort-menu { position: relative; }
.lbd-sort-menu summary { display: inline-flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border: 1px solid var(--lbd-border); border-radius: 6px; background: var(--lbd-surface); color: var(--lbd-heading); font-size: 15px; font-weight: 500; list-style: none; cursor: pointer; user-select: none; }
.lbd-sort-menu summary::-webkit-details-marker { display: none; }
.lbd-sort-menu summary i { font-size: 11px; color: var(--lbd-muted); transition: transform .2s; }
.lbd-sort-menu[open] summary { border-color: var(--lbd-muted); }
.lbd-sort-menu[open] summary i { transform: rotate(180deg); }
.lbd-sort-menu ul { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 20; min-width: 100%; margin: 0; padding: 6px; border: 1px solid var(--lbd-border); border-radius: 6px; background: var(--lbd-surface); box-shadow: 0 6px 18px rgba(0,0,0,.06); list-style: none; }
.lbd-sort-menu li { margin: 0; padding: 0; }
.lbd-sort-menu a { display: block; padding: 7px 12px; border-radius: 6px; font-size: 14px; line-height: 20px; color: var(--lbd-text); white-space: nowrap; }
.lbd-sort-menu a:hover { background: var(--lbd-soft); color: var(--lbd-heading); }
:where(.lbd) .lbd-sort-menu a.on { font-weight: 500; color: var(--lbd-heading); }

/* WP-PageNavi and core pagination */
.lbd-pages { margin-top: 72px; }
.lbd-pages,
.lbd-pages ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.lbd .lbd-pages .pagination { margin: 0; overflow: visible; }
.lbd .lbd-pages ul { margin: 0; padding: 0; list-style: none; }
.lbd .lbd-pages li { display: block; margin: 0; padding: 0; }
.lbd .lbd-pages li:has(> .pages) { display: none; }
.lbd .lbd-pages a,
.lbd .lbd-pages span:not(.screen-reader-text) { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 42px; height: 42px; margin: 0; padding: 0 12px; border: 0; border-radius: 100px; background: none; font-size: 15px; line-height: 1; font-weight: 400; color: var(--lbd-text); }
.lbd .lbd-pages a i { line-height: 1; }
.lbd .lbd-pages a:hover { background: var(--lbd-soft); color: var(--lbd-heading); }
.lbd .lbd-pages span.current { background: var(--lbd-accent); color: #fff; font-weight: 500; }
.lbd .lbd-pages .prev,
.lbd .lbd-pages .next,
.lbd .lbd-pages .previouspostslink,
.lbd .lbd-pages .nextpostslink { border: 1px solid var(--lbd-border); font-size: 13px; }
.lbd .lbd-pages .prev:hover,
.lbd .lbd-pages .next:hover,
.lbd .lbd-pages .previouspostslink:hover,
.lbd .lbd-pages .nextpostslink:hover { border-color: var(--lbd-heading); background: none; }
.lbd .lbd-pages span.dots,
.lbd .lbd-pages span.extend { min-width: 0; padding: 0 4px; color: var(--lbd-muted); }
.lbd .lbd-pages span.pages { display: none; }
.lbd-empty { padding: 8px 0 24px; }
.lbd .lbd-empty h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.3; font-weight: 500; color: var(--lbd-heading); }
.lbd .lbd-empty p { margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: var(--lbd-body); }
.lbd-empty .lbd-search { width: 100%; max-width: 420px; }

/* Overlay tiles and slides */
.lbd-tile,
.lbd-lead-slide,
.lbd-spot-slide { position: relative; display: block; overflow: hidden; background: #2b2b2b; color: #fff; }
.lbd-tile > img,
.lbd-lead-slide > img,
.lbd-spot-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.lbd-tile > .lbd-ph,
.lbd-lead-slide > .lbd-ph,
.lbd-spot-slide > .lbd-ph { display: none; }
.lbd-tile::after,
.lbd-lead-slide::after,
.lbd-spot-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.lbd-tile h2,
.lbd-tile h3,
.lbd-lead-slide h2,
.lbd-spot-slide h2 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; color: #fff; overflow-wrap: anywhere; }
.lbd-tile:hover,
.lbd-lead-slide:hover,
.lbd-spot-slide:hover { color: #fff; }

/* Modern (classic_new) */
.lbd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 56px 0 36px; }
.lbd-crumbs { flex: none; max-width: 50%; margin-bottom: 4px; font-size: 15px; line-height: 20px; color: var(--lbd-muted); }
.lbd-crumbs ul { display: flex; flex-wrap: wrap; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.lbd-crumbs li { margin: 0; padding: 0; }
.lbd-crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.lbd-crumbs a { color: var(--lbd-body); }
.lbd-crumbs a:hover { color: var(--lbd-heading); }

.lbd-cn-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 72px; padding-bottom: 88px; }
.lbd.lbd-cn .screen-reader-text + .lbd-cn-body { padding-top: 50px; }
:where(.lbd) .lbd-cn-body.has-sidebar { grid-template-columns: minmax(0, 1fr) 340px; }
:where(.lbd) .lbd-cn-body.is-left { grid-template-columns: 340px minmax(0, 1fr); }
:where(.lbd) .lbd-cn-body.is-left .lbd-sidebar { order: -1; }
.lbd-cn .lbd-grid { gap: 48px 28px; }
.lbd-cn .lbd-pages { margin-top: 56px; }

.lbd-lead { position: relative; margin-bottom: 40px; overflow: hidden; border-radius: var(--lbd-radius); }
.lbd-lead .lbd-track { gap: 0; }
.lbd-lead-slide { width: 100%; height: 460px; }
.lbd-lead-slide:hover > img { transform: scale(1.03); }
.lbd-lead-slide::after { background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 100%); }
.lbd-lead-body { position: absolute; bottom: 34px; inset-inline: 36px 240px; z-index: 1; }
.lbd .lbd-lead-body h2 { margin: 14px 0 12px; font-size: 32px; line-height: 1.18; font-weight: 500; letter-spacing: -.01em; }
.lbd-lead-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.8); }
.lbd-lead-nav { position: absolute; bottom: 34px; inset-inline-end: 32px; z-index: 2; display: flex; align-items: center; gap: 10px; }
.lbd-lead-nav .lbd-dots { margin-inline-end: 10px; }
.lbd-lead-nav .lbd-arrow { width: 44px; height: 44px; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.14); color: #fff; }
.lbd-lead-nav .lbd-arrow:hover:not([disabled]) { border-color: #fff; background: #fff; color: #222; }
.lbd-static .lbd-lead-nav { display: none; }
.lbd-static .lbd-lead-body { inset-inline-end: 36px; }

.lbd-rows { border-bottom: 1px solid var(--lbd-line); }
.lbd-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: center; padding: 32px 0; border-top: 1px solid var(--lbd-line); }
.lbd-rows .lbd-row:first-child { border-top: 0; padding-top: 0; }
.lbd-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; line-height: 1.4; color: var(--lbd-muted); }
.lbd-row-meta > a { position: relative; z-index: 2; font-weight: 500; color: var(--lbd-accent); }
.lbd-row-meta > a:hover { color: var(--lbd-heading); }
.lbd-row .lbd-card-title { line-height: 1.35; letter-spacing: -.01em; }

/* Bento */
.lbd-ba-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 56px 0 36px; }
.lbd-ba .lbd-ba-head + [data-lbd-region="featured"] > .lbd-bento { margin-top: 0; }
:where(.lbd) .lbd-ba-head.is-search-only { justify-content: flex-end; padding-top: 40px; }
.lbd-bento { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 245px 245px; gap: 16px; margin-top: 48px; }
.lbd-bento-1 { grid-template-columns: 1fr; }
:where(.lbd) .lbd-bento-2 > .lbd-tile:not(.is-big) { grid-row: 1 / 3; }
.lbd-tile { border-radius: var(--lbd-radius); }
.lbd-tile:hover > img { transform: scale(1.04); }
.lbd-tile::after { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.8) 100%); }
:where(.lbd) .lbd-tile.is-big { grid-row: 1 / 3; }
:where(.lbd) .lbd-tile.is-big::after { background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.7) 100%), linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 65%); }
.lbd-tile-body { position: absolute; bottom: 30px; inset-inline: 32px; z-index: 1; }
.lbd-label { display: block; margin-bottom: 10px; font-size: 14px; line-height: 1.4; font-weight: 500; color: rgba(255,255,255,.85); }
.lbd .lbd-tile h3 { max-width: 360px; margin: 0 0 12px; font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -.005em; }
.lbd-tile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); }
:where(.lbd) .is-big .lbd-tile-body { bottom: 44px; inset-inline: 44px; }
:where(.lbd) .is-big.has-note .lbd-tile-body { inset-inline-end: 340px; }
.lbd .is-big h2 { margin: 0 0 32px; font-size: 48px; line-height: 1.1; font-weight: 500; letter-spacing: -.015em; }
.lbd-tile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lbd-ghost { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 100px; font-size: 15px; font-weight: 500; color: #fff; transition: background-color .2s, color .2s; }
.lbd-tile:hover .lbd-ghost { background: #fff; color: #222; }
.lbd-ur { font-size: .85em; transform: rotate(-45deg); }
.lbd-author-chip { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px; padding-inline-start: 8px; border-radius: 100px; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; color: #fff; }
:where(.lbd) .lbd-author-chip img.avatar { width: 30px; height: 30px; margin: 0; border-radius: 50%; object-fit: cover; }
.lbd .lbd-tile-note { position: absolute; bottom: 44px; inset-inline-end: 44px; z-index: 1; display: -webkit-box; width: 240px; margin: 0; padding-top: 16px; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.85); }
.lbd-tile-note::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 28px; height: 1.5px; background: rgba(255,255,255,.8); }
.lbd-ba .lbd-latest { padding-top: 80px; }

/* Spotlight */
.lbd-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 40px 0; }
.lbd-strip-item { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 0 24px; border-inline-start: 1px solid var(--lbd-line); }
.lbd-strip-item:first-child { padding-inline-start: 0; border-inline-start: 0; }
.lbd-strip-item:last-child { padding-inline-end: 0; }
.lbd-strip-item > img,
.lbd-strip-item > .lbd-ph { flex: none; width: 104px; height: 78px; border-radius: var(--lbd-radius); object-fit: cover; }
.lbd-strip-item > .lbd-ph::before { font-size: 20px; }
.lbd-strip-text { min-width: 0; }
.lbd-strip-text small { display: block; margin-bottom: 6px; overflow: hidden; font-size: 12px; line-height: 1.4; color: var(--lbd-muted); white-space: nowrap; text-overflow: ellipsis; }
.lbd-strip-text strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--lbd-heading); overflow-wrap: anywhere; transition: color .2s; }
.lbd-strip-item:hover strong { color: var(--lbd-accent); }

.lbd-spot { --lbd-spot-inset: 48px; --lbd-spot-bottom: 52px; --lbd-spot-button: 48px; position: relative; margin-top: 40px; overflow: hidden; border-radius: var(--lbd-radius); }
.lbd-strip + .lbd-spot,
.lbd-head + [data-lbd-region="featured"] > .lbd-spot:first-child { margin-top: 0; }
.lbd-head + [data-lbd-region="featured"] > .lbd-strip { padding-top: 4px; }
.lbd-spot .lbd-track { gap: 0; }
.lbd-spot-slide { width: 100%; height: 620px; }
.lbd-spot-slide::after { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,.1) 45%, rgba(0,0,0,.8) 100%), linear-gradient(90deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 60%); }
.lbd-spot-slide .lbd-chip { position: absolute; top: 32px; z-index: 2; padding: 7px 16px; font-size: 14px; }
.lbd-spot-cat { inset-inline-start: 40px; max-width: 50%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lbd-spot-read { inset-inline-end: 40px; }
.lbd-spot-body { position: absolute; bottom: var(--lbd-spot-bottom); inset-inline: var(--lbd-spot-inset); z-index: 1; }
.lbd-spot:not(.lbd-static) .lbd-spot-body { inset-inline-end: calc(var(--lbd-spot-inset) + 2 * var(--lbd-spot-button) + 24px); }
.lbd-spot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; font-size: 14px; line-height: 1.4; font-weight: 500; color: rgba(255,255,255,.85); }
.lbd-spot-meta i { margin-inline-end: 4px; }
.lbd .lbd-spot-body h2 { max-width: 900px; margin: 16px 0 18px; font-size: 46px; line-height: 1.12; font-weight: 500; letter-spacing: -.015em; }
.lbd .lbd-spot-body p { display: -webkit-box; max-width: 620px; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.8); }
.lbd-spot-arrows { position: absolute; z-index: 2; bottom: var(--lbd-spot-bottom); inset-inline-end: var(--lbd-spot-inset); gap: 8px; }
.lbd-spot-arrows .lbd-arrow { width: var(--lbd-spot-button); height: var(--lbd-spot-button); border: 0; border-radius: 100px; background: #fff; color: #222; }
.lbd-spot-arrows .lbd-arrow:disabled { opacity: .55; }

/* RTL */
.rtl .lbd .lbd-pages .fa-chevron-left,
.rtl .lbd .lbd-pages .fa-chevron-right { transform: scaleX(-1); }
.rtl .lbd .lbd-ur { transform: rotate(-135deg); }
.rtl .lbd .lbd-tile.is-big::after { background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.7) 100%), linear-gradient(270deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 65%); }
.rtl .lbd .lbd-spot-slide::after { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,.1) 45%, rgba(0,0,0,.8) 100%), linear-gradient(270deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 60%); }

/* Responsive */
@media (max-width: 1239px) {
	.lbd-cn-body,
	:where(.lbd) .lbd-cn-body.has-sidebar { gap: 48px; }
	:where(.lbd) .lbd-cn-body.has-sidebar { grid-template-columns: minmax(0, 1fr) 280px; }
	:where(.lbd) .lbd-cn-body.is-left { grid-template-columns: 280px minmax(0, 1fr); }
	.lbd-row { grid-template-columns: 240px minmax(0, 1fr); gap: 28px; }
	.lbd-lead-slide { height: 400px; }
	.lbd .lbd-lead-body h2 { font-size: 28px; }
	.lbd .is-big h2 { font-size: 40px; }
	:where(.lbd) .is-big.has-note .lbd-tile-body { inset-inline-end: 300px; }
	.lbd .lbd-tile-note { width: 220px; }
	.lbd-spot-slide { height: 540px; }
	.lbd .lbd-spot-body h2 { font-size: 40px; }
	.lbd-strip-item { gap: 12px; padding: 0 16px; }
	.lbd-strip-item > img,
	.lbd-strip-item > .lbd-ph { width: 80px; height: 64px; }
	.lbd-strip-text strong { font-size: 15px; }
}

@media (min-width: 992px) and (max-width: 1239px) {
	:where(.lbd) .lbd-cn-body.has-sidebar .lbd-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
	:where(.lbd) .lbd-cn-body.has-sidebar,
	:where(.lbd) .lbd-cn-body.is-left { grid-template-columns: minmax(0, 1fr); }
	:where(.lbd) .lbd-cn-body.is-left .lbd-sidebar { order: 0; }
	.lbd-grid,
	.lbd-grid.lbd-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
	.lbd-bento { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 280px; }
	:where(.lbd) .lbd-tile.is-big { grid-row: auto; grid-column: 1 / 3; }
	.lbd-bento-1 { grid-template-columns: 1fr; grid-template-rows: 420px; }
	:where(.lbd) .lbd-bento-1 .lbd-tile.is-big { grid-column: auto; }
	.lbd-bento-2 { grid-template-rows: 420px 280px; }
	:where(.lbd) .lbd-bento-2 > .lbd-tile:not(.is-big) { grid-row: auto; grid-column: 1 / 3; }
	:where(.lbd) .is-big.has-note .lbd-tile-body { inset-inline-end: 44px; }
	.lbd .lbd-tile-note { display: none; }
	.lbd-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
	.lbd-strip-item:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
	.lbd-strip-item:nth-child(even) { padding-inline-end: 0; }
	.lbd-strip-item:nth-child(odd) { padding-inline-end: 16px; }
	.lbd-spot-slide { height: 460px; }
	.lbd-spot { --lbd-spot-inset: 32px; --lbd-spot-bottom: 32px; }
	.lbd .lbd-spot-body h2 { font-size: 34px; }
	.lbd-latest { padding-top: 56px; padding-bottom: 72px; }
	.lbd-ba .lbd-latest { padding-top: 56px; }
	.lbd-pages { margin-top: 56px; }
}

@media (max-width: 767px) {
	.lbd-head { flex-direction: column; align-items: flex-start; gap: 12px; padding: 36px 0 28px; }
	.lbd-crumbs { max-width: none; }
	.lbd-crumbs ul { justify-content: flex-start; }
	.lbd-cn-body { padding-bottom: 64px; }
	.lbd-lead { margin-bottom: 28px; }
	.lbd-lead-slide { height: 340px; }
	.lbd-lead-body,
	.lbd-static .lbd-lead-body { bottom: 24px; inset-inline: 20px; }
	.lbd .lbd-lead-body h2 { margin: 10px 0 8px; font-size: 24px; }
	.lbd-lead-nav { top: 20px; bottom: auto; inset-inline-end: 20px; }
	.lbd-lead-nav .lbd-dots { margin: 0; }
	.lbd-lead-nav .lbd-arrow { display: none; }
	.lbd-row { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 28px 0; }
	.lbd .lbd-card-title { font-size: 20px; }
	.lbd-ba-head { flex-direction: column; align-items: stretch; gap: 24px; padding: 40px 0 28px; }
	.lbd-search { width: 100%; }
	.lbd-bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 12px; margin-top: 28px; }
	:where(.lbd) .lbd-bento .lbd-tile.is-big,
	:where(.lbd) .lbd-bento-2 > .lbd-tile:not(.is-big) { grid-row: auto; grid-column: auto; }
	.lbd-bento .lbd-tile { height: 260px; }
	:where(.lbd) .lbd-bento .lbd-tile.is-big { height: 380px; }
	:where(.lbd) .is-big .lbd-tile-body,
	.lbd-tile-body { bottom: 24px; inset-inline: 22px; }
	.lbd .is-big h2 { margin-bottom: 20px; font-size: 30px; }
	.lbd .lbd-tile h3 { font-size: 22px; }
	.lbd-ghost,
	.lbd-author-chip { height: 40px; }
	.lbd-strip { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 24px 0; }
	.lbd-strip .lbd-strip-item { padding: 12px 0; border-inline-start: 0; border-top: 1px solid var(--lbd-line); }
	.lbd-strip .lbd-strip-item:first-child { padding-top: 0; border-top: 0; }
	.lbd-strip .lbd-strip-item:last-child { padding-bottom: 0; }
	.lbd-spot { margin-top: 24px; }
	.lbd-spot-slide { height: 440px; }
	.lbd-spot-slide .lbd-chip { top: 20px; padding: 5px 12px; font-size: 13px; }
	.lbd-spot-cat { inset-inline-start: 20px; }
	.lbd-spot-read { inset-inline-end: 20px; }
	.lbd-spot { --lbd-spot-inset: 22px; --lbd-spot-bottom: 24px; --lbd-spot-button: 36px; }
	.lbd .lbd-spot-body h2 { margin: 12px 0 12px; font-size: 28px; }
	.lbd .lbd-spot-body p { font-size: 15px; }
	.lbd-spot-meta { gap: 4px 16px; font-size: 13px; }
	.lbd-latest-bar { gap: 8px; margin-bottom: 28px; }
	.lbd-pills { gap: 4px; }
	.lbd-pills a { padding: 8px; }
	.lbd-sort { gap: 6px; max-width: 46%; font-size: 13px; }
	.lbd-sort-menu { min-width: 0; }
	.lbd-sort-menu summary { display: block; gap: 0; padding: 0 8px; overflow: hidden; line-height: 36px; white-space: nowrap; text-overflow: ellipsis; }
	.lbd-sort-menu summary i { margin-inline-start: 4px; }
	.lbd-latest { padding-top: 48px; padding-bottom: 64px; }
	.lbd-ba .lbd-latest { padding-top: 48px; }
	.lbd-pages { margin-top: 48px; }
}

@media (max-width: 575px) {
	.lbd-pills a { padding-inline: 6px; font-size: 14px; }
	.lbd-grid,
	.lbd-grid.lbd-grid-2 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.lbd .is-big h2 { font-size: 26px; }
	.lbd-author-chip { display: none; }
	.lbd-spot-slide { height: 400px; }
	.lbd .lbd-spot-body h2 { margin-bottom: 0; font-size: 24px; }
	.lbd .lbd-spot-body p { display: none; }
	.lbd .lbd-pages a,
	.lbd .lbd-pages span:not(.screen-reader-text) { min-width: 38px; height: 38px; padding: 0 8px; }
}
