/* Editorial single post using the established GDINA palette and components. */
@media(min-width:901px) {
 .single-post .gd-page-mark-row {height:0;position:relative;z-index:1}
 .single-post .gd-post-hero-copy {padding-top:89px}
}
.gd-post-hero {display:grid;grid-template-columns:1fr 1fr;min-height:500px;background:var(--gd-ink);color:var(--gd-paper)}
.gd-post-hero-copy {padding:44px max(32px,5vw) 60px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.gd-post-back {font-size:12px;margin-bottom:36px;color:var(--gd-paper)}
.gd-post-back:hover {color:var(--gd-peach)}
.gd-post-categories {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.gd-post-categories a {color:var(--gd-ink)}
.gd-post-hero h1 {font-size:clamp(30px,3.1vw,48px);line-height:1.15;text-transform:none;margin:0;overflow-wrap:break-word}
.gd-post-byline {display:flex;gap:12px;flex-wrap:wrap;margin-top:26px;font-size:13px;color:#d5d3cf}
.gd-post-hero-photo {position:relative;min-width:0}
.gd-post-hero-photo img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gd-post-hero.without-image {grid-template-columns:1fr;min-height:0}
.gd-post-hero.without-image .gd-post-hero-copy {max-width:1100px;margin:auto;width:100%}
.gd-post-layout {display:grid;grid-template-columns:260px minmax(0,740px);gap:64px;max-width:1160px;padding-top:64px;padding-bottom:64px;align-items:start}
.gd-post-layout.without-toc {display:block;max-width:820px}
.gd-post-layout>aside {position:sticky;top:32px}
.gd-post-toc {background:white;border-radius:12px;padding:22px;box-shadow:0 2px 4px #0000000a}
.gd-post-toc summary {font:700 15px/1.4 'Zalando Sans Expanded',sans-serif;display:flex;justify-content:space-between;gap:14px;cursor:pointer;list-style:none}
.gd-post-toc summary::-webkit-details-marker {display:none}
.gd-post-toc ol {padding:0;margin:18px 0 0;list-style:none;max-height:65vh;overflow:auto}
.gd-post-toc li {font-size:12px;line-height:1.6;margin:0 0 12px}
.gd-post-toc li.is-level-3 {padding-left:14px}
.gd-post-toc a:hover {color:var(--gd-peach)}
.gd-post-content {font-size:17px;line-height:1.85;min-width:0;overflow-wrap:anywhere}
.gd-post-content>:first-child {margin-top:0}
.gd-post-content p {margin:0 0 24px}
.gd-post-content h2 {font-size:29px;line-height:1.3;text-transform:none;margin:44px 0 18px;scroll-margin-top:36px}
.gd-post-content h3 {font-size:22px;line-height:1.4;text-transform:none;margin:32px 0 16px;scroll-margin-top:36px}
.gd-post-content h4 {font-size:19px;margin:26px 0 14px}
.gd-post-content a {text-decoration:underline;text-underline-offset:3px}
.gd-post-content a:hover {color:var(--gd-peach)}
.gd-post-content ul,.gd-post-content ol {padding-left:24px;margin:0 0 24px}
.gd-post-content li {margin-bottom:10px}
.gd-post-content img {max-width:100%;height:auto;border-radius:12px}
.gd-post-content figure {max-width:100%;margin:28px 0}
.gd-post-content figcaption {font-size:12px;line-height:1.5;color:#777776;margin-top:10px}
.gd-post-content blockquote {margin:30px 0;padding:24px;background:#fff3cf;border-left:4px solid var(--gd-peach);border-radius:0 12px 12px 0}
.gd-post-content blockquote p:last-child {margin-bottom:0}
.gd-post-content table {display:block;max-width:100%;overflow:auto;border-collapse:collapse;font-size:14px}
.gd-post-content th,.gd-post-content td {padding:12px;border:1px solid #ddd}
.gd-post-content iframe,.gd-post-content video {max-width:100%}
.gd-post-content pre {overflow:auto;max-width:100%;font-size:14px}
.gd-post-neighbours {max-width:1160px;display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-bottom:64px}
.gd-post-neighbours a {display:flex;flex-direction:column;gap:12px;background:white;padding:24px;border-radius:12px}
.gd-post-neighbours span {font-size:12px;color:var(--gd-peach);font-weight:700}
.gd-post-neighbours strong {font:700 16px/1.5 'Zalando Sans Expanded',sans-serif}
.gd-post-related {background:#fff9e9}
.gd-post-pages {display:flex;gap:14px}
@media(max-width:900px){.gd-post-hero-copy{padding:32px}.gd-post-layout{grid-template-columns:210px minmax(0,1fr);gap:32px}.gd-post-hero h1{font-size:30px}}
@media(max-width:600px){
.gd-post-hero{display:flex;flex-direction:column;min-height:0}
.gd-post-hero-photo{order:-1;aspect-ratio:4/3}
.gd-post-hero-copy{padding:26px 22px 34px}
.gd-post-back{margin-bottom:24px}
.gd-post-hero h1{font-size:28px;line-height:1.2}
.gd-post-categories{margin-bottom:18px}
.gd-post-layout{display:block;padding-top:32px;padding-bottom:32px}
.gd-post-layout>aside{position:static;margin-bottom:30px}
.gd-post-toc ol{max-height:240px}
.gd-post-content{font-size:16px;line-height:1.8}
.gd-post-content h2{font-size:24px;margin-top:34px}
.gd-post-content h3{font-size:20px}
.gd-post-neighbours{grid-template-columns:1fr;padding-bottom:32px;gap:14px}
}
