/* Newsdesk preset: Sonnenschein – warm, playful, hand-drawn accents */
.ndk--sonnenschein { --ndk-radius: 22px; }
.ndk-a-hand { font-family: var(--ndk-font-hand); font-weight: 700; }
.ndk-a-title, .ndk-a-featured-title, .ndk-a-card-title, .ndk-a-sh-title, .ndk-a-section-title, .ndk--sonnenschein .ndk-content h2, .ndk--sonnenschein .ndk-content h3 { font-family: var(--ndk-font-display); font-weight: 700; }

/* Hero */
.ndk-a-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 40px; align-items: center; padding-block: clamp(28px, 5vw, 56px) 40px; }
.ndk-a-hero-text { position: relative; }
.ndk-a-eyebrow { display: inline-block; margin: 0; font-size: 30px; color: color-mix(in srgb, var(--ndk-accent) 55%, var(--ndk-text)); transform: rotate(-4deg); }
.ndk-a-title { font-size: clamp(44px, 6vw, 78px); line-height: .98; letter-spacing: -.02em; margin: 6px 0 2px; }
.ndk-a-swash { display: block; color: var(--ndk-accent); margin-bottom: 16px; max-width: 60%; }
.ndk-a-intro { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; max-width: 480px; margin: 0; color: color-mix(in srgb, var(--ndk-text) 82%, var(--ndk-bg)); }
.ndk-a-plane { position: absolute; right: 8px; top: 0; color: var(--ndk-accent); }
.ndk-a-hero-pic { position: relative; }
.ndk-a-blob { width: 100%; height: clamp(220px, 30vw, 380px); object-fit: cover; border-radius: 46% 54% 38% 62% / 55% 44% 56% 45%; }
.ndk-a-note { position: absolute; right: -4px; bottom: 8px; margin: 0; width: 170px; padding: 16px 18px; background: var(--ndk-note); color: var(--ndk-text); font-family: var(--ndk-font-hand); font-weight: 700; font-size: 23px; line-height: 1.05; transform: rotate(-6deg); box-shadow: 0 10px 24px rgba(14, 47, 86, .16); }

/* Filter bar */
.ndk-a-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-bottom: 28px; }
.ndk-a-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ndk-a-pill { font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ndk-line); background: var(--ndk-surface); transition: border-color .15s; }
.ndk-a-pill:hover { border-color: var(--ndk-text); }
.ndk-a-pill[aria-current="page"] { background: var(--ndk-text); border-color: var(--ndk-text); color: var(--ndk-bg); }
.ndk-a-tools { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.ndk-a-sort select { height: 46px; padding: 0 12px; border-radius: 12px; border: 2px solid var(--ndk-line); background: var(--ndk-surface); }
.ndk-a-search { display: flex; align-items: center; gap: 8px; height: 46px; width: 250px; max-width: 100%; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ndk-line); background: var(--ndk-surface); }
.ndk-a-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 15px; padding: 0; box-shadow: none; }
.ndk-a-result { font-weight: 600; margin: 0 0 20px; }

/* Featured + grid */
.ndk-a-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); background: var(--ndk-surface); border-radius: 28px; overflow: hidden; box-shadow: 0 18px 40px rgba(14, 47, 86, .1); margin-bottom: 32px; }
.ndk-a-featured-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.ndk-a-featured-body { padding: clamp(24px, 4vw, 46px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.ndk-a-featured-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; }
.ndk-a-new { font-size: 22px; color: color-mix(in srgb, var(--ndk-accent) 55%, var(--ndk-text)); }
.ndk-a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.ndk-a-card { display: flex; flex-direction: column; background: var(--ndk-surface); border-radius: 24px; overflow: hidden; box-shadow: 0 10px 28px rgba(14, 47, 86, .08); transition: transform .2s, box-shadow .2s; }
.ndk-a-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(14, 47, 86, .14); }
.ndk-a-card-img { width: 100%; height: 210px !important; object-fit: cover; }
.ndk-a-card-body { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; padding: 20px 22px 22px; }
.ndk-a-card-title { font-size: 23px; line-height: 1.15; }
.ndk-a-excerpt { font-size: 15px; line-height: 1.55; color: color-mix(in srgb, var(--ndk-text) 82%, var(--ndk-bg)); flex-grow: 1; }
.ndk-a-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 14px; color: var(--ndk-muted); }
.ndk-a-meta > span { display: inline-flex; gap: 6px; align-items: center; }
.ndk-a-meta--foot { font-size: 13px; }
.ndk-a-tag { display: inline-block; padding: 5px 10px; border-radius: 7px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ndk-cat); color: var(--ndk-text); }
.ndk-a-circ { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ndk-text); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--ndk-text); transition: background .2s, color .2s; }
.ndk-a-card:hover .ndk-a-circ { background: var(--ndk-text); color: var(--ndk-bg); }
.ndk-a-btn { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; padding: 14px 26px; border-radius: 999px; background: var(--ndk-text); color: var(--ndk-bg) !important; font-weight: 700; }

/* Most read */
.ndk-a-top { padding-block: 48px 72px; }
.ndk-a-section-title { font-size: 32px; margin-bottom: 18px !important; }
.ndk-a-toplist { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.ndk-a-toplist a { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 20px; background: color-mix(in srgb, var(--ndk-note) 45%, var(--ndk-bg)); }
.ndk-a-toplist strong { display: block; font-size: 16px; line-height: 1.25; }
.ndk-a-toplist .ndk-views { font-size: 13px; color: var(--ndk-muted); }
.ndk-a-rank { font-family: var(--ndk-font-display); font-size: 42px; font-weight: 700; width: 32px; text-align: center; color: color-mix(in srgb, var(--ndk-accent) 75%, var(--ndk-text)); }
.ndk-a-top-img { width: 70px; height: 70px !important; border-radius: 16px; object-fit: cover; flex-shrink: 0; font-size: 1.4rem; }

/* Single */
.ndk-a-sh-pic { position: relative; max-width: 1240px; margin: 0 auto; padding-inline: clamp(0px, 1.6vw, 20px); }
.ndk-a-sh-img { width: 100%; height: clamp(240px, 34vw, 460px) !important; object-fit: cover; border-radius: 0 0 50% 50% / 0 0 70px 70px; }
.ndk-a-note--sh { right: clamp(24px, 5vw, 64px); bottom: -30px; transform: rotate(5deg); }
.ndk-a-sh-text { max-width: 1120px; padding-top: 44px; }
.ndk-a-crumb { font-size: 14px; color: var(--ndk-muted); margin-bottom: 16px; }
.ndk-a-sh-title { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -.01em; margin: 14px 0; max-width: 840px; }
.ndk-a-lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; max-width: 760px; margin: 0; color: color-mix(in srgb, var(--ndk-text) 82%, var(--ndk-bg)); }
.ndk-a-sh-meta { padding-block: 20px; margin-top: 22px; border-block: 2px dashed var(--ndk-line); font-size: 15px; }
.ndk-a-av { width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--ndk-primary) 14%, var(--ndk-surface)); color: var(--ndk-primary); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.ndk-a-share { margin-left: auto; display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border-radius: 999px; border: 2px solid var(--ndk-line); background: var(--ndk-surface); font-weight: 600; }
.ndk-a-cols { max-width: 1120px; display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 36px; }
.ndk-a-content { flex: 999 1 560px; }
.ndk--sonnenschein .ndk-content h2 { font-size: 30px; margin: 1.4em 0 .5em; }
.ndk--sonnenschein .ndk-content blockquote { position: relative; margin: 34px 0; padding: 28px 34px 24px; background: color-mix(in srgb, var(--ndk-note) 45%, var(--ndk-bg)); border-radius: 26px; border: 0; transform: rotate(-.6deg); font-family: var(--ndk-font-hand); font-weight: 700; font-size: 30px; line-height: 1.2; }
.ndk--sonnenschein .ndk-content blockquote p { margin: 0; }
.ndk--sonnenschein .ndk-content blockquote cite { display: block; margin-top: 10px; font-family: var(--ndk-font-body); font-size: 15px; font-style: normal; }
.ndk-a-aside { flex: 1 1 260px; display: flex; flex-direction: column; gap: 24px; }
.ndk-a-aside-sun { text-align: center; color: var(--ndk-accent); }
.ndk-a-sun { width: 70px; height: 70px; }
.ndk-a-box { background: var(--ndk-surface); border-radius: 22px; padding: 22px; }
.ndk-a-box h2 { font-family: var(--ndk-font-display); font-size: 22px; margin-bottom: 14px; }
.ndk-a-mini { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ndk-a-mini a { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 15px; line-height: 1.25; }
.ndk-a-mini .ndk-views { display: block; font-weight: 400; font-size: 13px; color: var(--ndk-muted); margin-top: 2px; }
.ndk-a-mini-img { width: 56px; height: 56px !important; border-radius: 12px; object-fit: cover; flex-shrink: 0; font-size: 1.2rem; }
.ndk-a-box--cats { background: var(--ndk-primary); color: var(--ndk-surface); }
.ndk-a-box--cats div { display: flex; flex-wrap: wrap; gap: 8px; }
.ndk-a-box--cats a { padding: 6px 13px; border-radius: 999px; border: 2px solid color-mix(in srgb, var(--ndk-surface) 40%, transparent); font-size: 14px; }
.ndk-a-box--cats a:hover { background: var(--ndk-surface); color: var(--ndk-primary); }
.ndk-a-pn { max-width: 1120px; display: flex; flex-wrap: wrap; gap: 20px; margin-top: 44px; padding-top: 28px; border-top: 2px dashed var(--ndk-line); }
.ndk-a-pn a { flex: 1 1 280px; display: flex; gap: 16px; align-items: center; }
.ndk-a-pn-next { justify-content: flex-end; text-align: right; }
.ndk-a-pn small { display: block; font-size: 13px; color: var(--ndk-muted); }
.ndk-a-pn strong { font-size: 17px; }
.ndk-a-pn .ndk-a-circ { margin-left: 0; border: 0; background: var(--ndk-surface); box-shadow: 0 6px 16px rgba(14, 47, 86, .1); }
.ndk-a-pn .ndk-a-circ--sun { background: var(--ndk-accent); }
.ndk-a-related { max-width: 1120px; padding-block: 56px 80px; }
.ndk-a-rel { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 24px; }
.ndk-a-rel a { background: var(--ndk-surface); border-radius: 22px; overflow: hidden; }
.ndk-a-rel img, .ndk-a-rel .ndk-noimg { width: 100%; height: 170px !important; object-fit: cover; }
.ndk-a-rel span { display: block; padding: 16px 20px 20px; }
.ndk-a-rel small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ndk-muted); }
.ndk-a-rel strong { display: block; font-family: var(--ndk-font-display); font-size: 21px; line-height: 1.2; margin-top: 6px; }

@media (max-width: 600px) {
	.ndk-a-card { flex-direction: row; border-radius: 20px; }
	.ndk-a-card-img { width: 116px !important; height: auto !important; min-height: 150px; flex-shrink: 0; }
	.ndk-a-card .ndk-noimg { width: 116px; min-height: 150px; aspect-ratio: auto; font-size: 2rem; }
	.ndk-a-card-body { padding: 12px 14px; gap: 6px; }
	.ndk-a-card-title { font-size: 18px; }
	.ndk-a-excerpt { font-size: 13px; }
	.ndk-a-card .ndk-a-circ { display: none; }
	.ndk-a-grid { gap: 14px; }
	.ndk-a-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 4px; }
	.ndk-a-pill { flex-shrink: 0; }
	.ndk-a-tools { margin-left: 0; width: 100%; }
	.ndk-a-search { flex: 1; width: auto; }
	.ndk-a-note { width: 130px; font-size: 19px; }
	.ndk-a-share { margin-left: 0; }
}

/* ---------- Module: carousel ---------- */
.ndk-a-car-band { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 60px) clamp(16px, 4vw, 48px); border-radius: 48px; background: var(--ndk-primary); color: var(--ndk-surface); }
.ndk-a-spark { position: absolute; color: var(--ndk-accent); }
.ndk-a-spark--l { left: 10px; top: 110px; }
.ndk-a-spark--r { right: 10px; bottom: 120px; transform: scaleX(-1); }
.ndk-a-car-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; margin-bottom: 30px; }
.ndk-a-chip { display: inline-block; padding: 4px 14px; border: 2px solid color-mix(in srgb, var(--ndk-surface) 55%, transparent); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ndk-a-car-title { margin-top: 12px !important; font-family: var(--ndk-font-display); font-weight: 700; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.05; color: var(--ndk-surface); }
.ndk-a-car-all { margin-left: auto; font-size: 24px; color: var(--ndk-note); }
.ndk-a-arrows { display: flex; gap: 12px; margin-left: auto; }
.ndk-a-car-all + .ndk-a-arrows { margin-left: 0; }
.ndk-a-arrows button { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ndk-surface) 18%, transparent); color: var(--ndk-surface); }
.ndk-a-arrows button + button { background: var(--ndk-accent); color: var(--ndk-text); }
.ndk-a-car-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px; }
.ndk-a-feat { display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: var(--ndk-surface); color: var(--ndk-text); animation: ndkAIn .45s ease; }
.ndk-a-feat:not([data-pos="0"]) { display: none; }
.ndk-a-feat-img { width: 100%; height: 280px !important; object-fit: cover; }
.ndk-a-feat .ndk-noimg { height: 280px; aspect-ratio: auto; }
.ndk-a-feat-body { display: flex; flex-direction: column; flex-grow: 1; gap: 12px; padding: 24px 28px 26px; }
.ndk-a-feat-title { font-family: var(--ndk-font-display); font-weight: 700; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.1; }
.ndk-a-feat .ndk-a-meta { margin-top: auto; }
.ndk-a-side { display: flex; flex-direction: column; gap: 14px; }
.ndk-a-side-item { display: none; gap: 16px; align-items: center; padding: 12px; border-radius: 20px; background: var(--ndk-surface); color: var(--ndk-text); animation: ndkAIn .45s ease; }
.ndk-a-side-item[data-pos="1"] { display: flex; order: 1; }
.ndk-a-side-item[data-pos="2"] { display: flex; order: 2; }
.ndk-a-side-item[data-pos="3"] { display: flex; order: 3; }
.ndk-a-side-item[data-pos="4"] { display: flex; order: 4; }
.ndk-a-side-img { width: 140px !important; height: 98px !important; flex-shrink: 0; border-radius: 14px; object-fit: cover; font-size: 1.6rem; aspect-ratio: auto; }
.ndk-a-side-text { display: flex; flex-direction: column; flex-grow: 1; gap: 6px; min-width: 0; }
.ndk-a-side-title { font-weight: 700; font-size: 17px; line-height: 1.2; }
.ndk-a-side-date { font-size: 13px; color: var(--ndk-muted); }
.ndk-a-side-item .ndk-a-circ { width: 42px; height: 42px; }
.ndk-a-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.ndk-a-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--ndk-surface) 40%, transparent); transition: width .25s, background .25s; }
.ndk-a-dots button[aria-current="true"] { width: 34px; background: var(--ndk-accent); }
@keyframes ndkAIn { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ndk--sonnenschein .ndk-gal-item { border-radius: 18px; }
@media (max-width: 600px) {
	.ndk-a-car-band { border-radius: 32px; }
	.ndk-a-feat-img, .ndk-a-feat .ndk-noimg { height: 200px !important; }
	.ndk-a-side-item[data-pos="3"], .ndk-a-side-item[data-pos="4"] { display: none; }
	.ndk-a-side-img { width: 100px !important; height: 80px !important; }
	.ndk-a-arrows button { width: 46px; height: 46px; }
}
