/* Blog chrome added for the WordPress theme: header, footer, index grid, pagination. Palette matches blog.css. */
:root { --dk-accent: #c2410c; --dk-ink: #0f172a; --dk-mute: #52607a; }
.dk-skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 200; }
.dk-skip:focus { left: 12px; top: 12px; }

.dk-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,0,0,.06); }
.dk-header-in { max-width: 1040px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dk-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dk-ink); font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; }
.dk-brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.dk-nav .menu { list-style: none; display: flex; gap: 6px; }
.dk-nav a { display: block; padding: 8px 16px; border-radius: 50px; text-decoration: none; color: #222; font-size: .85rem; font-weight: 600; transition: all .25s ease; }
.dk-nav a:hover, .dk-nav .current-menu-item a, .dk-nav .current_page_item a { color: var(--dk-accent); background: rgba(194,65,12,.08); }

/* blog.css pads the article for the old floating back-button; the sticky header replaces it */
.blog-content { padding: 40px 20px 70px; }
.dk-wrap { width: 100%; max-width: 1040px; margin: 0 auto; }
.dk-wrap > .blog-article { margin: 0 auto; }
.dk-back { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; color: var(--dk-mute); text-decoration: none; font-size: .82rem; font-weight: 600; }
.dk-back:hover { color: var(--dk-accent); }
a.blog-label { text-decoration: none; }

.dk-pagehead { max-width: 760px; margin: 10px auto 36px; text-align: center; }
.dk-pagehead .blog-subtitle { margin-bottom: 18px; }
.dk-cats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dk-cats a { display: inline-block; padding: 7px 16px; border: 1px solid rgba(0,0,0,.1); border-radius: 50px; text-decoration: none; color: #222; font-size: .78rem; font-weight: 600; background: #fff; }
.dk-cats a:hover { border-color: rgba(194,65,12,.4); color: var(--dk-accent); }
.dk-cats small { color: #9aa5b8; margin-left: 4px; }

.dk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 440px)); justify-content: center; gap: 26px; }
.dk-card { background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.05); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.dk-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.1); }
.dk-card-img { display: block; aspect-ratio: 1200 / 630; background: #0b0b0d; overflow: hidden; }
.dk-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.dk-card:hover .dk-card-img img { transform: scale(1.04); }
.dk-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.dk-card-body .blog-label { align-self: flex-start; margin-bottom: 14px; }
.dk-card-title { font-family: 'Playfair Display', serif; font-size: 1.35rem; line-height: 1.25; color: var(--dk-ink); margin-bottom: 10px; }
.dk-card-title a { color: inherit; text-decoration: none; }
.dk-card-title a:hover { color: var(--dk-accent); }
.dk-card-excerpt { font-size: .92rem; line-height: 1.55; color: var(--dk-mute); margin-bottom: 18px; }
.dk-card .blog-meta { margin: auto 0 0; font-size: .72rem; gap: 12px; }
.dk-empty { text-align: center; color: var(--dk-mute); }

.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.nav-links a, .nav-links span { padding: 9px 18px; border-radius: 50px; border: 1px solid rgba(0,0,0,.1); background: #fff; text-decoration: none; color: #222; font-size: .82rem; font-weight: 600; }
.nav-links .current { background: var(--dk-accent); border-color: var(--dk-accent); color: #fff; }
.screen-reader-text { position: absolute; left: -9999px; }

.blog-body .cta-button { color: #fff; }
.blog-body .cta-button:hover { color: #fff; }
.blog-body img { max-width: 100%; height: auto; }
.blog-body ul, .blog-body ol { margin: 0 0 18px 1.3em; line-height: 1.65; color: #2f3a4d; }
.dk-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; }
.dk-tags a { color: var(--dk-mute); font-size: .78rem; font-weight: 600; text-decoration: none; padding: 5px 12px; background: rgba(0,0,0,.04); border-radius: 50px; }
.dk-tags a:hover { color: var(--dk-accent); }
.dk-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.dk-postnav a { display: block; padding: 16px 20px; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 16px; text-decoration: none; color: var(--dk-ink); font-weight: 700; font-size: .9rem; line-height: 1.35; }
.dk-postnav a:hover { border-color: rgba(194,65,12,.4); }
.dk-postnav small { display: block; color: #9aa5b8; font-size: .7rem; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 6px; }
.dk-postnav .next { text-align: right; grid-column: 2; }

.dk-footer { background: #fff; border-top: 1px solid rgba(0,0,0,.06); position: relative; z-index: 1; }
.dk-footer-in { max-width: 1040px; margin: 0 auto; padding: 30px 20px 90px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dk-social { display: flex; gap: 12px; }
.dk-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); color: #222; text-decoration: none; transition: all .25s ease; }
.dk-social a:hover { color: var(--dk-accent); border-color: rgba(194,65,12,.4); transform: translateY(-2px); }
.dk-footnav, .dk-footnav ul { display: flex; align-items: center; gap: 18px; list-style: none; flex-wrap: wrap; justify-content: center; }
.dk-footnav a { color: var(--dk-mute); font-size: .8rem; font-weight: 600; text-decoration: none; }
.dk-footnav a:hover { color: var(--dk-accent); }
.dk-copy { color: #9aa5b8; font-size: .75rem; font-weight: 600; }

@media (max-width: 640px) {
	.dk-brand span { font-size: 1rem; }
	.dk-nav a { padding: 8px 12px; }
	.dk-postnav { grid-template-columns: 1fr; }
	.dk-postnav .next { grid-column: auto; }
	.blog-content { padding: 26px 18px 55px; }
}

/* WordPress writes width/height attributes on the hero; keep the 1200:630 aspect ratio from blog.css in charge */
.hero-figure .hero-image { height: auto; }
