/* =========================================================
   DIY InspireNow — main stylesheet
   สีหลักเปลี่ยนได้ที่ ปรับแต่ง > ตั้งค่าเว็บ > 6) สี
   ========================================================= */
:root {
	--din-green: #4ba44e;
	--din-dark: #2b481e;
	--din-cream: #fff6dc;
	--din-mint: #e7f4e4;
	--din-gray: #c4c4c4;
	--din-text: #333;
	--din-muted: #8a8a8a;
	--din-line: #e6e6e6;
	--din-radius: 12px;
	--din-shadow: 0 3px 10px rgba(0, 0, 0, .12);
	--din-wrap: 1200px;
	--din-header-h: 96px;
	--din-font: "Sarabun", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--din-header-h) + 16px); }
body { margin: 0; font-family: var(--din-font); font-size: 16px; line-height: 1.6; color: var(--din-text); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; max-width: 100%; }
video, iframe, embed, object, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--din-green); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.35; color: var(--din-dark); margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--din-green); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.din-skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: #fff; padding: 8px 16px; border-radius: 6px; }
.din-skip:focus { left: 8px; }
.din-wrap { width: 100%; max-width: calc(var(--din-wrap) + 40px); margin: 0 auto; padding: 0 20px; }
.din-icon { width: 1em; height: 1em; flex: none; vertical-align: middle; }
.din-icon--mask { display: inline-block; background: currentColor; -webkit-mask: var(--din-mask) center / contain no-repeat; mask: var(--din-mask) center / contain no-repeat; }
.din-empty { color: var(--din-muted); text-align: center; padding: 24px 0; }

/* ---------- Header ---------- */
.din-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .2s; }
.admin-bar .din-header { top: 32px; }
.din-header.is-scrolled { box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.din-header__bar { height: var(--din-header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: height .2s; }
.din-header__brand { display: flex; justify-content: center; }
.din-header__brand img, .din-header__brand .custom-logo { max-height: 70px; width: auto; transition: max-height .2s; }
.din-header__tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.din-header__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--din-green); font-size: 32px; }
.din-header__icon:hover { background: var(--din-mint); color: var(--din-green); }
.din-header__burger { font-size: 40px; justify-self: start; }
.din-logo--text { display: inline-flex; align-items: center; gap: 8px; color: var(--din-green); font-size: 28px; line-height: 1; }
.din-logo--text .din-icon { font-size: 44px; }
.din-logo--text b { display: block; font-size: 30px; }

.din-pop { position: relative; }
.din-pop__panel { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--din-radius); box-shadow: var(--din-shadow); padding: 12px; z-index: 5; }
.din-pop__panel--search { width: min(380px, 86vw); }

/* Search form */
.din-search { display: flex; border: 2px solid var(--din-green); border-radius: 999px; overflow: hidden; background: #fff; }
.din-search input { flex: 1; min-width: 0; border: 0; padding: 10px 16px; font: inherit; outline: 0; background: transparent; }
.din-search button { border: 0; background: var(--din-green); color: #fff; padding: 0 16px; font-size: 20px; display: grid; place-items: center; }
.din-searchbox { max-width: 520px; margin: 0 auto 28px; }

/* Drawer */
.din-drawer { position: fixed; inset: 0; z-index: 200; }
.din-drawer[hidden] { display: none; }
.din-drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 30, 16, .45); animation: din-fade .2s ease; }
@keyframes din-fade { from { opacity: 0; } }
.din-drawer__panel { position: absolute; left: 0; top: 0; width: min(760px, 100vw); max-height: 100vh; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; background: var(--din-green); color: #fff; border-radius: 0 0 40px 0; box-shadow: 8px 8px 40px rgba(0, 0, 0, .22); animation: din-slide .28s ease; }
.din-drawer a { color: #fff; }
.din-drawer a:hover { color: var(--din-cream); }
.din-drawer__top { display: flex; align-items: center; gap: 24px; padding: 20px 40px 12px; }
.din-drawer__brand { flex: none; }
.din-drawer__brand img { display: block; max-height: 46px; width: auto; }
.din-drawer__brand .din-logo--text { color: #fff; font-size: 20px; }
.din-drawer__brand .din-logo--text b { font-size: 22px; }
.din-drawer__search { flex: 1; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; }
.din-drawer__search .din-icon { font-size: 19px; }
.din-drawer__search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 16px; outline: 0; }
.din-drawer__search input::placeholder { color: rgba(255, 255, 255, .8); }
.din-drawer__search:focus-within { background: rgba(255, 255, 255, .28); }
.din-drawer__pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0 40px 14px; }
.din-pill { height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; background: #fff; color: var(--din-dark) !important; font-size: 15px; font-weight: 600; white-space: nowrap; }
.din-pill .din-icon { font-size: 18px; color: var(--din-green); }
.din-pill--outline { background: transparent; border: 1.5px solid #fff; color: #fff !important; }
.din-pill--outline .din-icon { color: #fff; }
.din-pill:hover { background: var(--din-cream); }
.din-pill--outline:hover { background: rgba(255, 255, 255, .15); }
.din-drawer__cats { display: grid; grid-template-columns: repeat(var(--din-cols, 5), minmax(0, 1fr)); gap: 26px 18px; padding: 6px 40px 26px; position: relative; z-index: 2; }
.din-drawer__col { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.din-drawer__col a { font-size: 14px; line-height: 1.4; color: #eaf6e6; }
.din-drawer__col--row { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 8px 36px; padding-right: 150px; }
.din-drawer__cats .din-drawer__col--row a.din-drawer__head { margin: 0; }
.din-drawer__col a.din-drawer__head { font-size: 16px; font-weight: 700; color: #fff; letter-spacing: .02em; margin-bottom: 4px; }
.din-drawer__col:not(.din-drawer__col--row) a.din-drawer__head + a.din-drawer__head { margin-top: 6px; }
.din-drawer__fest { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, max-content); gap: 10px 44px; padding-right: 150px; margin-top: -4px; }
.din-drawer__fest a { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #fff; line-height: 1.3; }
.din-drawer__fest a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.din-fest__icon, .din-fest__img { flex: none; width: 26px; height: 26px; object-fit: contain; }
.din-fest__dot { flex: none; width: 10px; height: 10px; margin: 0 8px; border-radius: 50%; background: #fff; }
.din-drawer__pills--first { padding-top: 24px; }
.din-pill--red { background: #ffa8a8; color: #6b1d1d !important; font-weight: 700; box-shadow: 0 4px 0 #e98585; transition: transform .15s ease, box-shadow .15s ease; }
.din-pill--red .din-icon { color: #c94848; }
.din-pill--red:hover { background: #ffb8b8; transform: translateY(-2px); box-shadow: 0 6px 0 #e98585; }
.din-pill--red:active { transform: translateY(2px); box-shadow: 0 2px 0 #e98585; }
.din-pill--shop { background: #ffd84d; color: #2b481e !important; font-weight: 800; font-size: 14.5px; gap: 6px; padding: 0 10px 0 5px; box-shadow: 0 4px 0 #d9a91a; transition: transform .15s ease, box-shadow .15s ease; }
.din-pill--shop:hover { background: #ffe066; transform: translateY(-2px); box-shadow: 0 6px 0 #d9a91a; }
.din-pill--shop:active { transform: translateY(2px); box-shadow: 0 2px 0 #d9a91a; }
.din-pill__cart { width: 31px; height: 31px; flex: none; border-radius: 50%; background: #fff; color: #4ba44e; display: grid; place-items: center; }
.din-pill--shop:hover .din-pill__cart svg { animation: din-cart-roll .6s ease-in-out; }
@keyframes din-cart-roll { 0%, 100% { transform: translateX(0) rotate(0); } 30% { transform: translateX(3px) rotate(-8deg); } 60% { transform: translateX(-2px) rotate(5deg); } }
.din-drawer__links a { text-transform: uppercase; }
.din-drawer__band { position: relative; z-index: 3; min-height: 136px; box-sizing: border-box; padding: 36px 100px 36px 40px; display: flex; flex-direction: column; justify-content: center; gap: 12px; background: #3d8c40; border-radius: 0 0 40px 0; margin-top: auto; }
.din-drawer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; }
.din-drawer__links a { font-size: 14.5px; }
.din-drawer__sns { display: flex; align-items: center; gap: 20px; }
.din-drawer__sns a { display: flex; font-size: 24px; }
.din-drawer__sns a:hover { transform: translateY(-2px); }
.din-drawer__close { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; padding: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.din-drawer__close:hover { color: var(--din-cream); }
.din-drawer__nunid { position: absolute; right: 34px; bottom: 100%; width: 128px; height: 107px; display: block; }
.din-drawer__nunid-head { position: absolute; left: 0; bottom: -5px; width: 128px; height: auto; z-index: -1; transform-origin: 50% 92%; animation: din-nunid-sway 2.6s ease-in-out infinite; }
a.din-drawer__nunid:hover .din-drawer__nunid-head { animation-duration: .9s; }
@keyframes din-nunid-sway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
/* ---------- Page: หมวดหมู่ทั้งหมด ---------- */
.din-allc { padding-bottom: 64px; }
.din-allc__hero { position: relative; margin: 8px 0 32px; padding: 40px 48px 34px; border-radius: 32px; background: #eef7ea; overflow: hidden; display: flex; flex-direction: column; gap: 26px; }
.din-allc__hero-text { padding-right: 230px; display: flex; flex-direction: column; gap: 6px; }
.din-allc__title { margin: 0; font-size: 44px; line-height: 1.15; font-weight: 800; color: var(--din-dark); }
.din-allc__sub { margin: 0; font-size: 18px; color: #4a6141; }
.din-allc__nunid { position: absolute; right: 64px; top: 14px; width: 128px; height: auto; animation: din-allc-bob 3.2s ease-in-out infinite; }
@keyframes din-allc-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.din-allc__jump { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; position: relative; z-index: 1; }
.din-allc__jump a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px 16px; border-radius: 20px; background: #fff; box-shadow: 0 2px 10px rgba(43, 72, 30, .08); color: var(--din-green); font-size: 16px; font-weight: 700; text-align: center; transition: transform .15s, background .15s; }
.din-allc__jump a:hover { transform: translateY(-2px); background: var(--din-cream); color: var(--din-green); }
.din-allc__jump .din-icon { font-size: 44px; }
.din-allc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.din-allc__card { scroll-margin-top: 90px; border: 1.5px solid #dcebd6; border-radius: 28px; padding: 28px 28px 30px; background: #fff; display: flex; flex-direction: column; gap: 20px; }
.din-allc__head { display: flex; align-items: center; gap: 16px; }
.din-allc__icon { flex: none; width: 64px; height: 64px; border-radius: 20px; background: var(--din-green); color: #fff; display: grid; place-items: center; }
.din-allc__icon .din-icon { font-size: 40px; color: #fff; }
.din-allc__head h2 { flex: 1; margin: 0; font-size: 26px; font-weight: 800; letter-spacing: .01em; }
.din-allc__head h2 a { color: var(--din-dark); }
.din-allc__head h2 a:hover { color: var(--din-green); }
.din-allc__all { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--din-green); white-space: nowrap; }
.din-allc__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.din-allc__chips a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 12px; border-radius: 999px; background: #eef7ea; color: var(--din-dark); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background .15s, color .15s; }
.din-allc__chips a .din-icon { font-size: 22px; color: var(--din-green); }
.din-allc__chips a:hover { background: var(--din-green); color: #fff; }
.din-allc__chips a:hover .din-icon { color: #fff; }
.din-allc__extras { margin-top: 44px; }
.din-allc__h2 { margin: 0 0 18px; font-size: 26px; font-weight: 800; color: var(--din-dark); }
.din-allc__extras-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.din-allc__extras-grid a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 18px; border-radius: 20px; background: #fff; border: 1.5px solid #dcebd6; color: var(--din-dark); font-size: 15.5px; font-weight: 700; line-height: 1.3; transition: transform .15s, background .15s, border-color .15s; }
.din-allc__extras-grid a:hover { transform: translateY(-2px); background: #eef7ea; border-color: var(--din-green); color: var(--din-dark); }
.din-allc__extras-grid .din-fest__icon path[fill="#ffffff"], .din-allc__extras-grid .din-fest__icon rect[fill="#ffffff"] { fill: var(--din-green); }
.din-allc__extras-grid .din-fest__icon circle[fill="#ffffff"] { fill: #fff; stroke: #d7d7d7; stroke-width: .8; }
.din-allc__extras-grid .din-fest__icon, .din-allc__extras-grid .din-fest__img { width: 30px; height: 30px; }
@media (max-width: 900px) {
	.din-allc__grid { grid-template-columns: 1fr; }
	.din-allc__extras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.din-allc__hero { margin-top: 4px; padding: 24px 18px 20px; border-radius: 24px; gap: 18px; }
	.din-allc__hero-text { padding-right: 96px; }
	.din-allc__title { font-size: 28px; }
	.din-allc__sub { font-size: 15px; }
	.din-allc__nunid { right: 14px; top: 10px; width: 74px; }
	.din-allc__jump { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.din-allc__jump a { padding: 12px 6px; border-radius: 16px; font-size: 14px; }
	.din-allc__jump .din-icon { font-size: 34px; }
	.din-allc__grid { gap: 16px; }
	.din-allc__card { padding: 18px 16px 20px; border-radius: 22px; gap: 14px; }
	.din-allc__icon { width: 48px; height: 48px; border-radius: 14px; }
	.din-allc__icon .din-icon { font-size: 30px; }
	.din-allc__head { gap: 12px; }
	.din-allc__head h2 { font-size: 21px; }
	.din-allc__all { font-size: 14px; }
	.din-allc__chips { gap: 8px; }
	.din-allc__chips a { height: 40px; padding: 0 14px 0 10px; font-size: 14px; }
	.din-allc__extras { margin-top: 32px; }
	.din-allc__h2 { font-size: 21px; }
	.din-allc__extras-grid { gap: 10px; }
	.din-allc__extras-grid a { min-height: 56px; padding: 10px 12px; font-size: 13.5px; border-radius: 16px; gap: 8px; }
	.din-allc__extras-grid .din-fest__icon, .din-allc__extras-grid .din-fest__img { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .din-allc__nunid { animation: none; } }

/* ---------- Translate button ---------- */
.din-lang__btn { position: relative; }
.din-lang__badge { position: absolute; right: 4px; bottom: 5px; display: flex; pointer-events: none; }
.din-lang__badge .din-flag { width: 16px; height: 16px; box-shadow: 0 0 0 2px #fff; }
.din-flag { flex: none; display: inline-flex; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 1px 3px rgba(0, 0, 0, .15); background: #fff; }
.din-flag svg { width: 100%; height: 100%; display: block; }
.din-pop__panel--lang { width: 236px; padding: 12px; border-radius: 18px; box-shadow: 0 12px 32px rgba(43, 72, 30, .18); animation: din-pop .15s ease; }
.din-lang__title { margin: 2px 6px 10px; display: flex; align-items: baseline; justify-content: space-between; font-size: 14px; font-weight: 700; color: var(--din-dark); }
.din-lang__title span { font-size: 11px; font-weight: 600; color: #7b8a75; letter-spacing: .08em; text-transform: uppercase; }
.din-lang__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.din-lang__list button { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; border: 1.5px solid transparent; border-radius: 14px; background: transparent; color: var(--din-dark); font: inherit; text-align: left; transition: background .15s, border-color .15s; }
.din-lang__list button:hover { background: #f3f9f1; }
.din-lang__name { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.din-lang__name b { font-size: 15px; font-weight: 600; }
.din-lang__name small { font-size: 11.5px; color: #7b8a75; }
.din-lang__check { color: var(--din-green); opacity: 0; }
.din-lang__list button[aria-current="true"] { background: var(--din-mint); border-color: var(--din-green); }
.din-lang__list button[aria-current="true"] .din-lang__name b { font-weight: 800; }
.din-lang__list button[aria-current="true"] .din-lang__check { opacity: 1; }
.din-lang__note { margin: 10px 6px 2px; padding-top: 10px; border-top: 1px dashed #dfe9db; display: flex; align-items: center; gap: 6px; font-size: 11px; color: #7b8a75; }
.din-drawer__lang { display: none; }
@media (max-width: 760px) {
	.din-header .din-lang { display: none; }
	.din-drawer__lang { display: flex; align-items: center; gap: 8px; padding: 0 16px 16px; margin-top: -42px; position: relative; z-index: 2; color: #fff; }
	.din-drawer__lang > .din-icon { font-size: 20px; }
	.din-drawer__lang button { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; opacity: .82; transition: transform .15s, opacity .15s; }
	.din-drawer__lang .din-flag { width: 28px; height: 28px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55); }
	.din-drawer__lang button[aria-current="true"] { opacity: 1; transform: scale(1.12); }
	.din-drawer__lang button[aria-current="true"] .din-flag { box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(0, 0, 0, .25); }
}
/* Hide Google's own bar and hover boxes */
.goog-te-banner-frame, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, #google_translate_element { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight, .VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: none !important; box-shadow: none !important; }
font { background: none !important; }

/* ---------- Nunid cursor (desktop mouse only; ปรับแต่ง > 6) ---------- */
@media (hover: hover) and (pointer: fine) {
	body.din-cursor, body.din-cursor * { cursor: url(../img/cursor/nunid-a.png) 1 1, auto; cursor: -webkit-image-set(url(../img/cursor/nunid-a.png) 1x, url(../img/cursor/nunid-a@2x.png) 2x) 1 1, auto; }
	body.din-cursor :is(a, button, label, summary, select, [role="button"], [data-din-toggle], [data-din-close], .din-tile), body.din-cursor :is(a, button, label, summary, [role="button"]) * { cursor: url(../img/cursor/nunid-a.png) 1 1, pointer; cursor: -webkit-image-set(url(../img/cursor/nunid-a.png) 1x, url(../img/cursor/nunid-a@2x.png) 2x) 1 1, pointer; }
	body.din-cursor.din-cursor--b :is(a, button, label, summary, select, [role="button"], [data-din-toggle], [data-din-close], .din-tile), body.din-cursor.din-cursor--b :is(a, button, label, summary, [role="button"]) * { cursor: url(../img/cursor/nunid-b.png) 1 1, pointer; cursor: -webkit-image-set(url(../img/cursor/nunid-b.png) 1x, url(../img/cursor/nunid-b@2x.png) 2x) 1 1, pointer; }
	body.din-cursor :is(input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]), textarea, [contenteditable="true"]) { cursor: text; }
}

@media (prefers-reduced-motion: reduce) { .din-drawer__nunid-head { animation: none; } }
.din-drawer__hand { position: absolute; bottom: -10px; width: 30px; height: 20px; }
.din-drawer__hand--l { left: -12px; transform: rotate(-14deg); }
.din-drawer__hand--r { left: 62px; transform: rotate(14deg); }
@media (max-width: 760px) {
	.din-drawer__panel { width: calc(100vw - 20px); max-height: 100vh; max-height: 100dvh; border-radius: 0 0 28px 0; box-shadow: 0 14px 34px rgba(0, 0, 0, .42), 3px 0 0 rgba(255, 255, 255, .9), 6px 0 18px rgba(0, 0, 0, .25); }
	.din-drawer__backdrop { background: rgba(15, 25, 12, .62); }
	.din-drawer__band { border-radius: 0 0 28px 0; }
	.din-drawer__top { padding: 14px 16px 10px; }
	.din-drawer__brand img { max-height: 34px; }
	.din-drawer__brand .din-logo--text { font-size: 17px; }
	.din-drawer__search { height: 36px; }
	.din-drawer__pills { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px 12px; }
	.din-pill { font-size: 13.5px; height: 36px; gap: 6px; }
	.din-pill .din-icon { font-size: 16px; }
	.din-drawer__cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 2px 16px 60px; }
	.din-drawer__col { gap: 2px; }
	.din-drawer__col a { font-size: 13px; line-height: 1.35; }
	.din-drawer__col a.din-drawer__head { font-size: 14.5px; margin-bottom: 1px; }
	.din-drawer__col--row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; padding-right: 92px; }
	.din-drawer__band { padding: 16px 64px 16px 16px; min-height: 0; gap: 10px; }
	.din-drawer__links { gap: 6px 16px; }
	.din-pill__cart { width: 27px; height: 27px; }
	.din-drawer__pills--first { padding-top: 18px; }
	.din-drawer__fest { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding-right: 0; margin-top: 0; }
	.din-drawer__fest a { font-size: 13.5px; gap: 8px; }
	.din-fest__icon, .din-fest__img { width: 22px; height: 22px; }
	.din-drawer__links a { font-size: 13px; }
	.din-drawer__sns { gap: 16px; }
	.din-drawer__sns a { font-size: 21px; }
	.din-drawer__close { right: 8px; width: 44px; height: 44px; }
	.din-drawer__nunid { right: 54px; width: 76px; height: 64px; }
	.din-drawer__nunid-head { width: 76px; bottom: -4px; }
	.din-drawer__hand { width: 20px; height: 13px; bottom: -6px; }
	.din-drawer__hand--l { left: -7px; }
	.din-drawer__hand--r { left: 37px; }
}

/* ---------- Breadcrumb ---------- */
.din-breadcrumb { margin: 4px 0 24px; }
.din-breadcrumb ol { list-style: none; margin: 0; padding: 8px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; background: var(--din-green); border-radius: 6px; color: #fff; font-size: 14px; }
.din-breadcrumb li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.din-breadcrumb li + li::before { content: "›"; opacity: .8; margin-right: 2px; }
.din-breadcrumb a { color: #fff; }
.din-breadcrumb a:hover { color: var(--din-cream); }
.din-breadcrumb .din-icon { font-size: 20px; }
.din-breadcrumb [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; opacity: .9; }

/* ---------- Layout ---------- */
.din-main { padding-bottom: 56px; }
.din-home { padding-top: 8px; }
.din-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.din-layout--left { grid-template-columns: 300px minmax(0, 1fr); }
.din-sidebar { display: flex; flex-direction: column; gap: 28px; }
.din-layout__main > :first-child { margin-top: 0; }
.din-layout > *, .din-section, .din-carousel { min-width: 0; }
html, body { overflow-x: clip; }

/* ---------- Section heading ---------- */
.din-section { margin: 0 0 48px; }
.din-heading { text-align: center; margin: 0 0 24px; }
.din-heading__title { display: inline-block; font-size: 24px; font-weight: 700; color: var(--din-dark); margin: 0; padding-bottom: 4px; border-bottom: 2px solid var(--din-dark); }
.din-heading__sub { margin: 6px 0 0; font-size: 13px; color: var(--din-dark); }

/* ---------- Hero ---------- */
.din-hero { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 40px; margin-bottom: 40px; }
.din-hero__feature { position: relative; display: block; border-radius: 6px; overflow: hidden; background: #ddd; min-height: 560px; color: #fff; }
.din-hero__feature img, .din-hero__noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.din-hero__noimg { display: grid; place-items: center; font-size: 80px; color: var(--din-green); background: var(--din-mint); }
.din-hero__label { position: absolute; top: 24px; left: 24px; font-weight: 700; font-size: 20px; letter-spacing: .02em; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.din-hero__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; text-align: center; font-size: 20px; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); display: flex; flex-direction: column; align-items: center; }
.din-hero__caption .din-icon { font-size: 28px; }
.din-hero__feature:hover { color: #fff; }
.din-hero__feature:hover img { transform: scale(1.03); }
.din-hero__feature img { transition: transform .4s; }
.din-hero__side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.din-hero__stories { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.din-hero__story { position: relative; display: block; aspect-ratio: 361 / 211; border-radius: 6px; overflow: hidden; background: #ddd; color: #fff; }
.din-hero__story img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.din-hero__story span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: 14px; font-weight: 600; line-height: 1.4; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.din-hero__story:hover { color: #fff; }
.din-hero__story:hover img { transform: scale(1.05); }
.din-hero__dots { display: none; }
.din-monthly { display: flex; align-items: stretch; min-height: 150px; border: 3px solid var(--din-green); border-radius: 6px; overflow: hidden; background: #fff; }
.din-monthly__copy { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.din-monthly__copy b { font-size: 20px; color: var(--din-dark); line-height: 1.35; }
.din-monthly__copy span { font-size: 15px; color: var(--din-dark); }
.din-monthly__flower { align-self: flex-start; padding: 14px 12px 0 0; color: var(--din-green); }
.din-monthly__img { flex: 0 0 34%; }
.din-monthly__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Icon tiles ---------- */
.din-tiles { margin: 0 0 48px; }
.din-tiles__track { display: flex; gap: 20px; justify-content: space-between; }
.din-tiles--cat .din-tiles__track, .din-tiles--wrap .din-tiles__track { justify-content: flex-start; flex-wrap: wrap; }
.din-tiles--cat .din-tiles__track { flex-wrap: nowrap; justify-content: center; gap: 20px; }
.din-tile { flex: 0 1 135px; min-width: 0; height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px; text-align: center; border-radius: var(--din-radius); background: #fafafa; box-shadow: var(--din-shadow); color: var(--din-green); font-size: 16px; font-weight: 700; line-height: 1.15; text-transform: uppercase; transition: background .15s, transform .15s; }
.din-tile .din-icon { font-size: 56px; stroke-width: 1.4; }
.din-tile span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
.din-tile img.din-icon { width: 48px; height: 48px; object-fit: contain; }
.din-tile:hover { background: var(--din-cream); color: var(--din-green); transform: translateY(-2px); }
.din-tile.is-active { background: var(--din-green); color: #fff; }
.din-tiles--cat .din-tile { flex: 1 1 0; max-width: 240px; }
.din-tiles--wrap .din-tile { flex: 0 0 135px; }

/* ---------- Cards ---------- */
.din-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 28px 20px; }
.din-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "media media" "body side"; gap: 8px 6px; align-content: start; }
.din-card__media { grid-area: media; position: relative; display: block; aspect-ratio: 285 / 159; border-radius: 6px; overflow: hidden; background: var(--din-mint); }
.din-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.din-card:hover .din-card__media img { transform: scale(1.05); }
.din-card__noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--din-green); font-size: 40px; }
.din-card__body { grid-area: body; min-width: 0; }
.din-card__title { margin: 0 0 4px; font-size: 15px; font-weight: 700; line-height: 1.45; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.din-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; color: var(--din-muted); }
.din-card__date { display: inline-flex; align-items: center; gap: 3px; }
.din-card__cat { color: var(--din-green); }
.din-card__side { grid-area: side; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 2px; }
.din-card__share { width: 26px; height: 26px; border: 0; padding: 0; border-radius: 50%; background: var(--din-green); color: #fff; display: grid; place-items: center; font-size: 15px; }
.din-card__share:hover { background: var(--din-dark); }
.din-bubble { position: absolute; z-index: 150; display: flex; gap: 8px; padding: 10px 12px; background: var(--din-mint); border-radius: 18px; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); animation: din-pop .15s ease; }
.din-bubble::after { content: ""; position: absolute; top: 100%; left: calc(var(--arrow, 50%) - 9px); border: 9px solid transparent; border-top-color: var(--din-mint); }
@keyframes din-pop { from { opacity: 0; transform: translateY(4px); } }
.din-bubble .din-share__btn { width: 36px; height: 36px; font-size: 19px; }
.din-card__views { display: flex; flex-direction: column; align-items: center; font-size: 10px; color: var(--din-muted); line-height: 1.1; }
.din-card__views .din-icon { font-size: 15px; }

/* list (small thumbnail on the left) */
.din-list { display: flex; flex-direction: column; gap: 16px; }
.din-card--list { grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "media body side"; gap: 0 12px; align-items: start; }
.din-card--list .din-card__media { aspect-ratio: 4 / 3; }
.din-card--list .din-card__title { font-size: 14px; -webkit-line-clamp: 3; }
.din-list--compact .din-card--list { grid-template-columns: 80px minmax(0, 1fr) auto; }
.din-list--compact .din-card__title { font-size: 13px; }
.din-list--rank { counter-reset: din-rank; }
.din-list--rank .din-card__media { counter-increment: din-rank; }
.din-list--rank .din-card__media::before { content: counter(din-rank); position: absolute; z-index: 1; left: 0; top: 0; min-width: 18px; height: 18px; padding: 0 4px; background: var(--din-green); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; border-radius: 0 0 4px 0; }

/* big (title over the picture) */
.din-card--big { grid-template-columns: 1fr; grid-template-areas: "media"; height: 100%; }
.din-card--big .din-card__media { aspect-ratio: auto; height: 100%; min-height: 320px; }
.din-card--big .din-card__body { grid-area: media; align-self: end; z-index: 1; padding: 48px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); border-radius: 0 0 6px 6px; pointer-events: none; }
.din-card--big .din-card__body a { pointer-events: auto; }
.din-card--big .din-card__title, .din-card--big .din-card__title a, .din-card--big .din-card__meta, .din-card--big .din-card__cat { color: #fff; }
.din-card--big .din-card__title { font-size: 18px; }
.din-card--big .din-card__side { grid-area: media; align-self: start; justify-self: end; z-index: 1; padding: 10px; }
.din-card--big .din-card__views { color: #fff; }

/* 1 big + list */
.din-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; }
.din-feature__list { display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }
.din-feature__list .din-card--list { grid-template-columns: 140px minmax(0, 1fr) auto; }
.din-feature__list .din-card--list .din-card__media { aspect-ratio: 16 / 10; }

/* carousel */
.din-carousel { position: relative; --gap: 20px; }
.din-carousel__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.din-carousel__track::-webkit-scrollbar { display: none; }
.din-carousel__item { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); scroll-snap-align: start; min-width: 0; }
.din-carousel__btn { position: absolute; top: calc(var(--din-carousel-img, 90px) - 18px); z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .92); color: var(--din-dark); box-shadow: var(--din-shadow); display: grid; place-items: center; font-size: 22px; transition: opacity .2s; }
.din-carousel__btn--prev { left: -12px; }
.din-carousel__btn--next { right: -12px; }
.din-carousel__btn[disabled] { opacity: 0; pointer-events: none; }

/* "read all" button */
.din-more { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 0; padding: 4px 16px; border-radius: 8px; background: var(--din-green); color: #fff; font-weight: 600; font-size: 17px; text-align: center; transition: background .15s; }
.din-more .din-icon { font-size: 28px; }
.din-mask { display: inline-block; flex: none; width: 38px; height: 38px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.din-mask--nunid { -webkit-mask-image: url(../img/nunid.png); mask-image: url(../img/nunid.png); }
.din-mask--click { -webkit-mask-image: url(../img/click.png); mask-image: url(../img/click.png); width: 36px; height: 36px; }
.din-monthly .din-mask--flower { -webkit-mask-image: url(../img/flower.png); mask-image: url(../img/flower.png); width: 48px; height: 50px; }
.din-more span { margin: 0 64px; }
.din-more:hover { background: var(--din-dark); color: #fff; }

/* ---------- Blocks: topics / promo ---------- */
.din-topics__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.din-topics__chips a { padding: 4px 14px; border: 1.5px solid var(--din-green); border-radius: 4px; color: var(--din-green); font-size: 13px; transition: background .15s; }
.din-topics__chips a:hover { background: var(--din-cream); }
.din-topics .din-search { max-width: 480px; margin: 20px auto 0; }

.din-cols.wp-block-columns { gap: 32px; margin-bottom: 48px; }
.din-promo { margin: 0 0 48px; }
.wp-block-column .din-promo { margin-bottom: 0; }
.din-promo__box { display: block; color: inherit; }
.din-promo__media { position: relative; display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--din-mint); }
.din-promo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.din-promo__box:hover img { transform: scale(1.04); }
.din-promo__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--din-green); font-size: 56px; }
.din-promo__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 46px; border-radius: 12px; background: #f00; color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: var(--din-shadow); }
.din-promo__copy { display: block; text-align: center; margin-top: 10px; }
.din-promo__title { display: block; color: var(--din-green); font-weight: 700; font-size: 15px; }
.din-promo__text { display: block; font-size: 14px; color: var(--din-muted); }
.din-promo--card .din-promo__media { background: var(--din-mint); }
.din-promo--banner .din-promo__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; padding: 32px 40px; border-radius: 6px; background: var(--din-green); color: #fff; }
.din-promo--banner .din-promo__media { background: #fff; aspect-ratio: 4 / 3; border-radius: 0; }
.din-promo--banner .din-promo__media img { object-fit: contain; }
.din-promo--banner .din-promo__copy { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.din-promo__logo { display: block; background: #fff; padding: 6px 14px; margin-bottom: 8px; }
.din-promo__logo img { display: block; height: 52px; width: auto; }
.din-promo__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.din-promo--banner .din-promo__title { color: #fff; font-size: 18px; }
.din-promo--banner .din-promo__text { color: #fff; opacity: .95; }
.din-promo--banner .din-promo__box:hover { color: #fff; background: var(--din-dark); }

/* ---------- Sidebar widgets ---------- */
.din-widget { margin: 0; }
.din-widget__title { text-align: center; font-size: 16px; font-weight: 700; color: var(--din-dark); margin: 0 auto 14px; width: fit-content; border-bottom: 2px solid var(--din-dark); padding-bottom: 2px; }
.din-widget__sub { margin: -8px 0 14px; text-align: center; font-size: 12px; color: var(--din-dark); }
.din-widget__more { display: block; margin-top: 12px; text-align: right; font-size: 13px; font-weight: 600; color: var(--din-green); }
.din-banner-widget { display: block; border-radius: 4px; overflow: hidden; }
.din-banner-widget__img { width: 100%; }
.din-banner-widget__placeholder { display: grid; place-items: center; min-height: 250px; padding: 20px; background: var(--din-gray); color: #111; font-size: 26px; font-weight: 600; text-align: center; line-height: 1.3; }
.din-catgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.din-catgrid a { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 4px; background: #ececec; color: var(--din-green); font-size: 11px; font-weight: 600; text-transform: uppercase; line-height: 1.2; transition: background .15s; }
.din-catgrid a:hover { background: var(--din-cream); }
.din-catgrid .din-icon { font-size: 26px; }
.din-catgrid img.din-icon { width: 26px; height: 26px; }
.din-follow { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.din-follow a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #9a9a9a; color: #fff; font-size: 22px; transition: background .15s; }
.din-follow a:hover { color: #fff; }
.din-follow__facebook:hover { background: #1877f2; }
.din-follow__x:hover { background: #000; }
.din-follow__line:hover { background: #06c755; }
.din-follow__youtube:hover { background: #f00; }
.din-follow__instagram:hover { background: #d62976; }
.din-follow__tiktok:hover { background: #111; }
.din-follow__pinterest:hover { background: #e60023; }
.din-linktiles { display: flex; flex-direction: column; gap: 16px; }
.din-linktiles a { display: grid; place-items: center; min-height: 70px; padding: 12px; background: var(--din-gray); color: #111; font-size: 18px; font-weight: 600; text-align: center; transition: background .15s; }
.din-linktiles a:hover { background: var(--din-cream); color: var(--din-dark); }
.din-newsletter { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.din-newsletter input { width: 100%; padding: 8px 16px; border: 1.5px solid var(--din-green); border-radius: 999px; font: inherit; font-size: 13px; text-align: center; }
.din-newsletter button { padding: 6px 40px; border: 0; border-radius: 999px; background: var(--din-green); color: #fff; font-size: 13px; font-weight: 700; }
.din-newsletter button:hover { background: var(--din-dark); }
.din-sidebar .widget_block, .din-sidebar .widget_media_image { text-align: center; }
/* Banner images in the sidebar: no extra white space around them, and stack them closely. */
.din-sidebar .din-widget > :first-child { margin-top: 0; }
.din-sidebar .din-widget > :last-child { margin-bottom: 0; }
.din-sidebar .din-widget :is(figure, .wp-block-image, .wp-block-group, .wp-block-columns, .textwidget, p:has(img)) { margin: 0; padding: 0; }
.din-sidebar .din-widget img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.din-sidebar .din-widget p:has(img) br { display: none; }
.din-sidebar .din-widget:is(.widget_media_image, .widget_block, .widget_text, .widget_custom_html, .widget_din_banner):has(img) + .din-widget:is(.widget_media_image, .widget_block, .widget_text, .widget_custom_html, .widget_din_banner):has(img) { margin-top: -16px; }

/* ---------- Category page ---------- */
.din-banner { position: relative; height: 302px; border-radius: var(--din-radius); overflow: hidden; margin-bottom: 36px; background: linear-gradient(135deg, var(--din-green), var(--din-dark)); }
.din-banner > img, .din-banner__slide img { width: 100%; height: 100%; object-fit: cover; }
.din-banner__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s; }
.din-banner__slide.is-active { opacity: 1; z-index: 1; }
.din-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .18); pointer-events: none; z-index: 1; }
.din-banner--image { height: auto; aspect-ratio: 4 / 1; background: #f3f3f1; }
.din-banner--image::after { display: none; }
.din-banner--image picture, .din-banner--image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.din-banner--sub { height: auto; aspect-ratio: 4 / 1; background: repeating-linear-gradient(135deg, #f4f8f2 0 14px, #eaf3e6 14px 28px); border: 2px solid #d3e8cf; box-sizing: border-box; }
.din-banner--sub::after { display: none; }
.din-banner--sub .din-banner__title { color: var(--din-green); text-shadow: none; font-weight: 800; letter-spacing: .04em; }
.din-banner__title { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; color: #fff; font-size: 52px; font-weight: 700; letter-spacing: .02em; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); pointer-events: none; text-align: center; width: 90%; }
.din-desc { margin: -16px 0 36px; padding: 14px 20px; background: var(--din-mint); color: var(--din-green); border-radius: 4px; font-size: 14px; }
.din-desc b { color: var(--din-green); }
.din-desc--inline { margin: 0 0 20px; background: var(--din-green); color: #fff; }
.din-desc--inline b { color: #fff; }
.din-cat-top { margin-bottom: 40px; text-align: center; }
.din-cat-top img { margin: 0 auto; }
.din-allcats__title a { display: inline-flex; align-items: center; gap: 10px; color: var(--din-green); }
.din-allcats__title .din-icon { font-size: 36px; }

/* pagination */
.navigation.pagination { margin-top: 32px; }
.nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.page-numbers { min-width: 40px; height: 40px; padding: 0 10px; display: grid; place-items: center; border-radius: 6px; border: 1.5px solid var(--din-green); color: var(--din-green); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--din-green); color: #fff; }
.page-numbers.dots { border: 0; }

/* ---------- Article ---------- */
.din-article__title { font-size: 28px; font-weight: 700; color: #111; margin: 0 0 8px; }
.din-article__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--din-muted); margin-bottom: 16px; }
.din-article__meta span, .din-article__meta time { display: inline-flex; align-items: center; gap: 4px; }
.din-article__meta a { color: var(--din-green); }
.din-article__thumb { margin: 0 0 14px; border-radius: 6px; overflow: hidden; }
.din-article__thumb img { width: 100%; }
.din-article__share { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; margin-bottom: 20px; border-bottom: 1px solid var(--din-line); }
.din-article__views { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--din-muted); }
.din-article__views .din-icon { font-size: 18px; }
.entry-content { font-size: 17px; line-height: 1.85; color: #222; overflow-wrap: anywhere; }
.entry-content > * { margin: 0 0 1.1em; }
.entry-content h2 { font-size: 23px; margin-top: 1.6em; }
.entry-content h3 { font-size: 20px; margin-top: 1.4em; }
.entry-content a { color: var(--din-green); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 6px; margin-left: auto; margin-right: auto; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: 13px; color: var(--din-muted); text-align: center; }
.entry-content blockquote { margin-left: 0; padding: 12px 20px; border-left: 4px solid var(--din-green); background: var(--din-mint); border-radius: 0 6px 6px 0; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content td, .entry-content th { border: 1px solid var(--din-line); padding: 8px; }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
/* Old-site content often carries fixed widths (captions, galleries, embeds, tables): keep it inside the screen. */
.entry-content img, .entry-content video { max-width: 100% !important; height: auto !important; }
.entry-content figure, .entry-content .wp-caption, .entry-content .wp-block-image, .entry-content .gallery, .entry-content [style*="width"] { max-width: 100% !important; box-sizing: border-box; }
.entry-content .wp-caption img { width: 100%; }
/* Center every image / figure / caption / embed in articles (old posts often sit left with a fixed width). */
.entry-content img:not(.alignleft):not(.alignright):not(.emoji):not([width="1"]) { display: block; margin-left: auto !important; margin-right: auto !important; }
.entry-content figure:not(.alignleft):not(.alignright), .entry-content .wp-caption:not(.alignleft):not(.alignright), .entry-content .wp-block-image:not(.alignleft):not(.alignright), .entry-content .wp-block-embed, .entry-content .wp-block-video, .entry-content iframe, .entry-content video { margin-left: auto !important; margin-right: auto !important; }
.entry-content figure:not(.alignleft):not(.alignright), .entry-content .wp-caption:not(.alignleft):not(.alignright) { display: block; width: auto !important; max-width: min(100%, var(--din-figw, 100%)) !important; text-align: center; }
.entry-content figure[style*="width"], .entry-content .wp-caption[style*="width"] { width: auto !important; min-width: min(100%, 240px); }
.entry-content .wp-caption-text, .entry-content figcaption { white-space: normal; word-break: normal; overflow-wrap: break-word; }
.entry-content figure > figcaption, .entry-content .wp-caption-text, .entry-content .wp-element-caption { display: block; text-align: center; margin-top: 6px; }
.entry-content .wp-block-image figure, .entry-content .wp-block-gallery figure { display: block; }
.entry-content p:has(> img:only-child), .entry-content p:has(> a:only-child > img) { text-align: center; }
.entry-content p > a:only-child:has(> img) { display: inline-block; text-decoration: none; }
.entry-content iframe, .entry-content video { display: block; }
.entry-content iframe, .entry-content embed, .entry-content object { max-width: 100% !important; }
.entry-content iframe[src*="youtube"], .entry-content iframe[src*="youtu.be"], .entry-content iframe[src*="vimeo"], .entry-content .wp-block-embed iframe { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
.entry-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content td, .entry-content th { overflow-wrap: normal; min-width: 96px; }
.entry-content pre { overflow-x: auto; white-space: pre-wrap; }
.entry-content .alignleft, .entry-content .alignright { max-width: 50%; }
.entry-content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.entry-content .gallery .gallery-item { width: auto !important; margin: 0 !important; }
.din-article__after { margin: 32px 0; }
.din-article__tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 24px; }
.din-article__tags a { padding: 6px 18px; border-radius: 4px; background: var(--din-green); color: #fff; font-size: 13px; }
.din-article__tags a:hover { background: var(--din-dark); color: #fff; }
.din-author { display: flex; gap: 16px; align-items: center; padding: 16px 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--din-line); }
.din-author img { border-radius: 50%; flex: none; }
.din-author b { color: var(--din-dark); }
.din-author p { margin: 2px 0 0; font-size: 14px; color: var(--din-muted); }
.din-article--page { max-width: 860px; margin: 0 auto; }
.din-comments { margin-bottom: 40px; }
.din-comments textarea, .din-comments input[type=text], .din-comments input[type=email], .din-comments input[type=url] { width: 100%; padding: 8px 12px; border: 1px solid var(--din-gray); border-radius: 6px; font: inherit; }
.din-comments .submit { background: var(--din-green); color: #fff; border: 0; border-radius: 6px; padding: 8px 24px; }

/* Share buttons */
.din-share { display: flex; gap: 8px; align-items: center; }
.din-share__btn { width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; color: #fff; font-size: 18px; transition: transform .15s, filter .15s; }
.din-share__btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.1); }
.din-share__btn--facebook { background: #3b5998; }
.din-share__btn--x { background: #111; }
.din-share__btn--line { background: #06c755; }
.din-share__btn--email { background: #2d6bd8; }
.din-share__btn--messenger { background: #0a7cff; }
.din-share__btn--more { background: var(--din-green); }
.din-pop__panel--share .din-share { flex-wrap: nowrap; }

/* floating rail */
.din-rail { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 50; opacity: 0; pointer-events: none; transition: opacity .3s; }
.din-rail.is-visible { opacity: 1; pointer-events: auto; }
.din-share--rail { flex-direction: column; }

/* Popup "Editor's Pick" */
.din-popup { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(400px, calc(100vw - 40px)); padding: 16px; background: var(--din-mint); border-radius: var(--din-radius); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); animation: din-up .35s ease; }
.din-popup[hidden] { display: none; }
@keyframes din-up { from { transform: translateY(30px); opacity: 0; } }
.din-popup__title { margin: 0 0 12px; text-align: center; font-weight: 700; color: var(--din-dark); }
.din-popup__close { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--din-green); font-size: 24px; display: grid; place-items: center; }
.din-popup__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.din-popup__grid a { font-size: 12px; font-weight: 600; line-height: 1.35; }
.din-popup__grid img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 4px; width: 100%; }
.din-popup__grid span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* to top + toast */
.din-totop { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 48px; height: 46px; border-radius: 3px; background: var(--din-green); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1; gap: 2px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s; box-shadow: var(--din-shadow); }
.din-totop .din-icon { width: 24px; height: 11px; margin-bottom: 3px; }
.din-totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.din-totop:hover { background: var(--din-dark); color: #fff; }
body.din-popup-open .din-totop { bottom: 330px; }
.din-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 300; background: var(--din-dark); color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; }
.din-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.din-footer { --din-footer-bar: #317a22; background: var(--din-green); color: #fff; overflow: hidden; }
.din-footer__main { padding: 34px 0 40px; }
.din-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.din-footer__brand { display: flex; align-items: flex-end; justify-content: center; gap: 0; }
.din-footer__mascot { display: block; flex: none; margin-right: var(--din-mascot-gap, -40px); position: relative; z-index: 1; }
.din-footer__mascot img { display: block; width: auto; height: 132px; max-width: 120px; object-fit: contain; object-position: right bottom; }
.din-footer__logo { display: flex; justify-content: center; padding-bottom: 18px; }
.din-footer__logo img { height: 72px; max-height: 72px; width: auto; }
.din-footer__text { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.din-footer .din-logo--text { color: #fff; }
.din-footer__links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; font-size: 16px; line-height: 1.5; }
.din-footer__links li + li::before { content: "|"; margin: 0 6px; }
.din-footer a { color: #fff; }
.din-footer a:hover { color: var(--din-cream); }
.din-footer__bar { background: var(--din-footer-bar); padding: 18px 0; }
.din-footer__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.din-footer__copy { margin: 0; font-size: 13.5px; font-weight: 500; letter-spacing: .01em; }
.din-footer__sns { display: flex; align-items: center; gap: 16px; }
.din-footer__sns a { display: flex; transition: transform .15s; }
.din-footer__sns a:hover { transform: translateY(-2px); }
.din-badge { width: 30px; height: 30px; }

/* 404 */
.din-404 { text-align: center; }
.din-404__code { font-size: 96px; font-weight: 700; color: var(--din-green); margin: 0; line-height: 1; }
.din-404 .din-tiles__track { justify-content: center; flex-wrap: wrap; }
.din-404 .din-section { text-align: left; margin-top: 48px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
	.din-hero { grid-template-columns: 320px minmax(0, 1fr); gap: 24px; }
	.din-hero__stories { gap: 16px; }
	.din-layout { gap: 28px; grid-template-columns: minmax(0, 1fr) 260px; }
	.din-layout--left { grid-template-columns: 260px minmax(0, 1fr); }
	.din-tiles__track { gap: 12px; }
	.din-rail { display: none; }
}

@media (max-width: 900px) {
	:root { --din-header-h: 64px; }
	.admin-bar .din-header { top: 46px; }
	.din-header__icon { width: 40px; height: 40px; font-size: 26px; }
	.din-header__burger { font-size: 30px; }
	.din-header__brand img, .din-header__brand .custom-logo { max-height: 46px; }
	.din-header__tools { gap: 0; }
	.din-logo--text { font-size: 20px; gap: 6px; }
	.din-logo--text b { font-size: 22px; }
	.din-logo--text .din-icon { font-size: 30px; }

	.din-layout, .din-layout--left { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.din-layout--left .din-sidebar { order: 2; }

	/* hero becomes a swipe slider */
	.din-hero { grid-template-columns: 1fr; gap: 16px; }
	.din-hero__feature { display: none; }
	.din-hero__stories { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 6px; }
	.din-hero__stories::-webkit-scrollbar { display: none; }
	.din-hero__story { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; aspect-ratio: 16 / 10; }
	.din-hero__story span { font-size: 16px; padding-bottom: 28px; }
	.din-hero__dots { display: flex; justify-content: center; gap: 6px; margin: -30px 0 14px; position: relative; z-index: 2; }
	.din-hero__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); }
	.din-hero__dots button.is-active { background: #fff; width: 20px; border-radius: 4px; }

	/* tiles scroll sideways */
	.din-tiles { margin-left: -20px; margin-right: -20px; }
	.din-tiles__track { overflow-x: auto; justify-content: flex-start !important; flex-wrap: nowrap !important; padding: 6px 20px 12px; scrollbar-width: none; }
	.din-tiles__track::-webkit-scrollbar { display: none; }
	.din-tile, .din-tiles--cat .din-tile, .din-tiles--wrap .din-tile { flex: 0 0 96px; max-width: none; height: 92px; font-size: 11px; }
	.din-tile .din-icon, .din-tile img.din-icon { font-size: 36px; width: 36px; height: 36px; }

	.din-banner { height: 200px; }
	.din-banner--image { height: auto; aspect-ratio: 2 / 1; }
	.din-banner--sub { aspect-ratio: auto; height: 140px; }
	.din-banner__title { font-size: 34px; }
	.din-promo--banner .din-promo__box { grid-template-columns: 1fr; padding: 24px; text-align: center; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.din-section { margin-bottom: 40px; }
	.din-heading__title { font-size: 20px; }

	/* grid → 1 big card on top, the rest as a list (as in the mobile design) */
	.din-grid { grid-template-columns: 1fr !important; gap: 16px; }
	.din-grid > .din-card:not(:first-child) { grid-template-columns: 120px minmax(0, 1fr) auto; grid-template-areas: "media body side"; gap: 0 12px; }
	.din-grid > .din-card:not(:first-child) .din-card__media { aspect-ratio: 4 / 3; }
	.din-grid > .din-card:not(:first-child) .din-card__title { font-size: 14px; -webkit-line-clamp: 3; }
	.din-grid > .din-card:first-child .din-card__title { font-size: 17px; }

	.din-feature { grid-template-columns: 1fr; }
	.din-feature__list .din-card--list { grid-template-columns: 120px minmax(0, 1fr) auto; }
	.din-carousel { --gap: 14px; }
	.din-carousel__item { flex-basis: 78%; }
	.din-carousel__btn { display: none; }

	.din-cols.wp-block-columns { gap: 24px; }
	.din-monthly__copy b { font-size: 17px; }
	.din-monthly__img { flex-basis: 30%; }
	.din-article__title { font-size: 23px; }
	.entry-content { font-size: 16px; }
	.entry-content .alignleft, .entry-content .alignright { float: none; max-width: 100%; margin-left: auto; margin-right: auto; }
	.din-footer__main { padding: 26px 0 28px; }
	.din-footer__mascot img { height: 96px; max-width: 88px; }
	.din-footer__mascot { margin-right: calc(var(--din-mascot-gap, -40px) * .7); }
	.din-footer__logo { padding-bottom: 12px; }
	.din-footer__logo img { height: 52px; }
	.din-footer__text { gap: 8px; }
	.din-footer__links ul { font-size: 13.5px; }
	.din-footer__bar-inner { flex-direction: column-reverse; gap: 12px; text-align: center; }
	.din-footer__copy { font-size: 12px; }
	.din-more span { margin: 0 16px; }
	.din-mask { width: 34px; height: 34px; }
	.din-totop { width: 42px; height: 40px; right: 12px; bottom: 12px; font-size: 10px; }
	.din-popup { right: 10px; left: 10px; bottom: 10px; width: auto; }
	.din-breadcrumb ol { font-size: 13px; }
}

/* =========================================================
   Mobile home — follows the "Home Mobile" frame in Figma (390px)
   ========================================================= */
@media (max-width: 640px) {
	:root { --din-gutter: 16px; }
	.din-wrap { padding: 0 16px; }
	.din-tiles { margin-left: -16px; margin-right: -16px; }
	.din-tiles__track { padding-left: 16px; padding-right: 16px; }
	.din-header__bar { position: relative; grid-template-columns: auto 1fr; }
	.din-header__brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); justify-content: center; }
	.din-header__brand .din-logo--text span { white-space: nowrap; }
	.din-header__tools { grid-column: 2; }
	.din-header__icon { width: 34px; height: 34px; font-size: 22px; }
	.din-header__brand img, .din-header__brand .custom-logo { max-height: 40px; }

	/* order: category band → hero slider → monthly → content */
	.din-home > .din-wrap { display: flex; flex-direction: column; }
	.din-home .din-tiles--home { order: -1; }
	.din-home { padding-top: 0; }

	/* green category band */
	.din-tiles--home { position: relative; margin: 0 -16px 16px; background: var(--din-green); }
	.din-tiles--home .din-tiles__track { gap: 12px; padding: 12px 40px 12px 16px; }
	.din-tiles--home .din-tile { flex: 0 0 84px; height: 80px; gap: 4px; background: var(--din-green); color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .22); border-radius: 10px; font-size: 11px; }
	.din-tiles--home .din-tile .din-icon { font-size: 34px; }
	.din-tiles--home .din-tile.is-active { background: #fff; color: var(--din-green); }
	.din-tiles--home .din-tile:hover { background: #fff; color: var(--din-green); transform: none; }
	.din-tiles--home::after { content: "›"; position: absolute; right: 0; top: 0; bottom: 0; width: 34px; display: grid; place-items: center; color: #fff; font-size: 30px; line-height: 1; background: linear-gradient(90deg, rgba(75, 164, 78, 0), var(--din-green) 55%); pointer-events: none; }

	/* hero slider 358×265 */
	.din-hero { margin-bottom: 18px; gap: 18px; }
	.din-hero__stories { border-radius: 8px; }
	.din-hero__story { aspect-ratio: 358 / 265; }
	.din-hero__story span { font-size: 15px; padding: 40px 18px 30px; }

	/* monthly box: text on top, picture below */
	.din-monthly { flex-direction: column; position: relative; min-height: 0; border-radius: 4px; }
	.din-monthly__copy { padding: 18px 70px 14px 20px; gap: 8px; }
	.din-monthly__copy b { font-size: 18px; }
	.din-monthly__copy span { font-size: 15px; }
	.din-monthly__flower { position: absolute; top: 16px; right: 16px; padding: 0; }
	.din-monthly__img { flex: none; height: 150px; }

	.din-tiles { margin-bottom: 28px; }
	.din-topics__chips { gap: 10px 12px; }

	/* promo cards: video / interview */
	.din-cols.wp-block-columns { gap: 28px; margin-bottom: 36px; }
	.din-promo__title { font-size: 16px; }

	/* health banner: logo + text only, like the design */
	.din-promo--banner .din-promo__box { padding: 28px 20px; gap: 0; }
	.din-promo--banner .din-promo__media { display: none; }
	.din-promo--banner .din-promo__title { font-size: 17px; }

	/* article lists: first = big picture with the title on it, then thumbnail rows */
	.din-grid { gap: 18px; }
	.din-grid > .din-card:first-child { grid-template-columns: 1fr; grid-template-areas: "media"; }
	.din-grid > .din-card:first-child .din-card__media { aspect-ratio: 358 / 300; border-radius: 8px; }
	.din-grid > .din-card:first-child .din-card__body { grid-area: media; align-self: end; z-index: 1; padding: 60px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); border-radius: 0 0 8px 8px; pointer-events: none; }
	.din-grid > .din-card:first-child .din-card__body a { pointer-events: auto; }
	.din-grid > .din-card:first-child .din-card__title, .din-grid > .din-card:first-child .din-card__title a { color: #fff; font-size: 16px; }
	.din-grid > .din-card:first-child .din-card__meta, .din-grid > .din-card:first-child .din-card__cat { color: rgba(255, 255, 255, .9); }
	.din-grid > .din-card:first-child .din-card__side { grid-area: media; align-self: start; justify-self: end; z-index: 1; padding: 10px; }
	.din-grid > .din-card:first-child .din-card__views { color: #fff; }
	.din-grid > .din-card:not(:first-child), .din-list .din-card--list, .din-feature__list .din-card--list { grid-template-columns: 140px minmax(0, 1fr) auto; gap: 0 12px; }
	.din-grid > .din-card:not(:first-child) .din-card__media, .din-list .din-card--list .din-card__media { aspect-ratio: 150 / 112; border-radius: 6px; }
	.din-grid > .din-card:not(:first-child) .din-card__title { font-size: 14px; -webkit-line-clamp: 3; }
	.din-more { margin-top: 20px; }
	.din-more span { margin: 0 10px; font-size: 14.5px; line-height: 1.3; }
	.din-more { padding: 6px 12px; }
	.din-more .din-icon { font-size: 24px; flex: none; }
	.din-footer__links li + li::before { content: none; }
	.din-footer__links ul { gap: 2px 14px; }

	/* sidebar under the content */
	.din-sidebar { gap: 24px; }
	.din-list--compact .din-card--list { grid-template-columns: 140px minmax(0, 1fr) auto; }
}

.din-bnav { display: none; }
.din-anchor { display: block; position: relative; top: calc(-1 * var(--din-header-h) - 16px); visibility: hidden; }
.din-sidebar > .din-anchor { margin-bottom: -28px; }
@media (max-width: 640px) { .din-sidebar > .din-anchor { margin-bottom: -24px; } }
@media (max-width: 900px) {
	.din-bnav { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--din-green); box-shadow: 0 -2px 10px rgba(0, 0, 0, .15); padding-bottom: env(safe-area-inset-bottom); }
	.din-bnav__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 66px; padding: 6px 4px; color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.2; text-align: center; }
	.din-bnav__item + .din-bnav__item { border-left: 1px solid rgba(255, 255, 255, .25); }
	.din-bnav__item .din-icon { font-size: 32px; }
	.din-bnav__duo { display: inline-flex; align-items: center; gap: 2px; }
	.din-bnav__duo .din-icon { font-size: 24px; }
	.din-bnav__item { transition: background .15s, color .15s; -webkit-tap-highlight-color: transparent; }
	/* active = white button, green icon + text (as in the design) */
	.din-bnav__item:hover, .din-bnav__item:focus-visible, .din-bnav__item:active, .din-bnav__item.is-active, .din-bnav__item.is-pressed { background: #fff; color: var(--din-green); }
	.din-bnav__item .din-icon--wide { width: 1.36em; font-size: 38px; margin-bottom: -2px; }
	body:has(.din-bnav) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
	body:has(.din-bnav) .din-totop { bottom: calc(78px + env(safe-area-inset-bottom)); }
	body:has(.din-bnav) .din-popup { bottom: calc(76px + env(safe-area-inset-bottom)); }
	body:has(.din-bnav) .din-toast { bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Block editor preview tweaks */
.din-editor-preview { pointer-events: none; }

/* Tablet: category icon tiles use the full row instead of tiny phone tiles */
@media (min-width: 641px) and (max-width: 900px) {
	.din-tiles--cat .din-tiles__track { justify-content: flex-start !important; }
	.din-tiles--cat .din-tile { flex: 1 0 120px; max-width: 170px; height: 112px; font-size: 13px; }
	.din-tiles--cat .din-tile .din-icon { font-size: 44px; width: 44px; height: 44px; }
}


/* ---------- Category / sub category: icon row + description bubble (Figma) ---------- */
.din-tiles--cat:has(+ .din-catdesc) { margin-bottom: 0; }
.din-tiles--sub .din-tile.is-active { background: #e3f0df; color: var(--din-green); }
.din-catdesc { position: relative; margin: 22px 0 40px !important; padding: 14px 20px 16px !important; border: 0 !important; border-radius: 10px !important; background: #4ba44e !important; background: var(--din-green) !important; color: #fff !important; font-size: 15px; line-height: 1.6; box-shadow: none; --din-arrow: 56px; }
.din-catdesc::before { content: ""; position: absolute; top: -14px; left: calc(var(--din-arrow) - 15px); width: 0; height: 0; border-left: 15px solid transparent; border-right: 15px solid transparent; border-bottom: 15px solid #4ba44e; border-bottom-color: var(--din-green); }
.din-catdesc b { display: block; font-size: 16px; font-weight: 700; color: inherit !important; }
.din-catdesc p { margin: 0 !important; color: inherit !important; font-size: inherit; }
.din-catdesc--sub { background: #e4f0e0 !important; color: #3d8c40 !important; }
.din-catdesc--sub::before { border-bottom-color: #e4f0e0; }
@media (max-width: 640px) {
	.din-archive > .din-wrap { display: flex; flex-direction: column; }
	.din-archive > .din-wrap > .din-tiles--cat { order: -1; }
	.din-archive > .din-wrap > .din-banner { margin-bottom: 14px; }
	.din-tiles--cat { position: relative; margin: -4px -16px 16px !important; background: var(--din-green); }
	.din-tiles--cat .din-tiles__track { gap: 12px; padding: 12px 40px 12px 16px !important; }
	.din-tiles--cat .din-tile, .din-tiles--sub .din-tile { flex: 0 0 84px; height: 80px; gap: 4px; background: var(--din-green); color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .22); border-radius: 10px; font-size: 11px; }
	.din-tiles--cat .din-tile .din-icon { font-size: 34px; width: 34px; height: 34px; }
	.din-tiles--cat .din-tile.is-active { background: #fff; color: var(--din-green); }
	.din-tiles--cat .din-tile:hover { background: #fff; color: var(--din-green); transform: none; }
	.din-tiles--cat::after { content: "›"; position: absolute; right: 0; top: 0; bottom: 0; width: 34px; display: grid; place-items: center; color: #fff; font-size: 30px; line-height: 1; background: linear-gradient(90deg, rgba(75, 164, 78, 0), var(--din-green) 55%); pointer-events: none; }
	.din-catdesc { margin: 0 0 28px; padding: 12px 14px 14px; font-size: 14px; border-radius: 12px; }
	.din-catdesc::before { display: none; }
}

/* ---------- Make room for sticky ads (Ad Inserter etc.): JS measures them into --din-ad-h ---------- */
.din-popup { bottom: calc(20px + var(--din-ad-h, 0px)); }
.din-totop { bottom: calc(24px + var(--din-ad-h, 0px)); }
body.din-popup-open .din-totop { bottom: calc(330px + var(--din-ad-h, 0px)); }
body { padding-bottom: var(--din-ad-h, 0px); }
@media (max-width: 640px) {
	.din-totop { bottom: calc(12px + var(--din-ad-h, 0px)); }
	.din-popup { bottom: calc(10px + var(--din-ad-h, 0px)); }
}
@media (max-width: 900px) {
	body:has(.din-bnav) { padding-bottom: calc(66px + env(safe-area-inset-bottom) + var(--din-ad-h, 0px)); }
	body:has(.din-bnav) .din-totop { bottom: calc(78px + env(safe-area-inset-bottom) + var(--din-ad-h, 0px)); }
	body:has(.din-bnav) .din-popup { bottom: calc(76px + env(safe-area-inset-bottom) + var(--din-ad-h, 0px)); }
}

/* Captions: beat WordPress block styles (display: table / table-caption) that put the caption beside the image. */
.entry-content figure:not(.alignleft):not(.alignright), .entry-content .wp-caption:not(.alignleft):not(.alignright), .entry-content .wp-block-image > figure { display: block !important; }
.entry-content figure figcaption, .entry-content .wp-caption .wp-caption-text, .entry-content .wp-element-caption { display: block !important; caption-side: initial !important; width: auto !important; max-width: 100% !important; text-align: center !important; margin: 6px auto 0 !important; padding: 0 !important; float: none !important; }
.entry-content figure img, .entry-content .wp-caption img { float: none !important; }

/* Editor's Pick sits in the bottom-right corner; the share rail moves up while it is open. */
.din-popup { right: 12px; }
body.din-popup-open .din-rail { top: 120px; transform: none; }
@media (min-width: 641px) { .din-popup { left: auto; } }

/* ---------- Product box in articles (block "DIY: กล่องสินค้า") ---------- */
.din-product { display: flex; align-items: center; gap: 24px; margin: 28px auto !important; padding: 20px 22px 20px 20px; border: 1.5px solid #cfe5c9; border-radius: 22px; background: #fff; box-shadow: 0 8px 24px rgba(43, 72, 30, .08); text-align: left; }
.din-product__media { flex: none; width: 150px; height: 150px; border-radius: 16px; overflow: hidden; background: #f4f8f2; }
.entry-content .din-product__media img, .din-product__img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0; margin: 0 !important; display: block; }
.din-product__body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.din-product__badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 999px; background: #eef7ea; color: #3d8c40; font-size: 13px; font-weight: 700; line-height: 1; }
.entry-content .din-product__title, .din-product__title { margin: 0 !important; font-size: 21px; line-height: 1.4; font-weight: 700; color: var(--din-dark); }
.din-product__btns { flex: none; width: 220px; display: flex; flex-direction: column; gap: 12px; }
.entry-content a.din-product__btn, .din-product__btn { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px 0 8px; border-radius: 16px; background: var(--b); color: #fff !important; font-size: 17px; font-weight: 700; line-height: 1.2; text-decoration: none !important; box-shadow: 0 4px 0 var(--s); transition: transform .15s, box-shadow .15s, filter .15s; }
.din-product__btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--s); filter: brightness(1.04); color: #fff; }
.din-product__btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--s); }
.din-product__ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .22); display: grid; place-items: center; }
.din-product__lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.din-product__arrow { flex: none; }
@media (max-width: 760px) {
	.din-product { flex-wrap: wrap; gap: 14px; padding: 16px; border-radius: 20px; }
	.din-product__media { width: 96px; height: 96px; border-radius: 14px; }
	.din-product__body { flex-basis: calc(100% - 110px); }
	.entry-content .din-product__title, .din-product__title { font-size: 17px; }
	.din-product__btns { width: 100%; flex-direction: row; gap: 10px; }
	.din-product__btn { flex: 1; height: 48px; font-size: 15px; justify-content: center; padding: 0 10px; border-radius: 14px; }
	.din-product__ico { width: 24px; height: 30px; border-radius: 10px; background: transparent; }
	.din-product__btn { gap: 6px; }
	.din-product__arrow { display: none; }
	.din-product__lbl { flex: 0 1 auto; }
}

/* Product box: every combination (no photo / no name / one button) stays balanced. */
.din-product__media--icon { width: 88px; height: 88px; border-radius: 50%; background: #eef7ea; color: var(--din-green); display: grid; place-items: center; }
.din-product--noimg { padding-left: 24px; }
.din-product--one .din-product__btns { justify-content: center; }
.din-product--notitle .din-product__body { flex: 0 1 auto; }
.din-product--notitle .din-product__btns { flex: 1; width: auto; flex-direction: row; justify-content: flex-end; }
.din-product--notitle .din-product__btn { flex: 1 1 0; max-width: 260px; }
.din-product--nobtn .din-product__btns { display: none; }
@media (max-width: 760px) {
	.din-product__media--icon { width: 64px; height: 64px; }
	.din-product__media--icon svg { width: 28px; height: 28px; }
	.din-product--noimg .din-product__body { flex-basis: calc(100% - 78px); }
	.din-product--noimg { padding-left: 16px; }
	.din-product--notitle .din-product__btns { justify-content: stretch; }
	.din-product--notitle .din-product__btn { max-width: none; }
}
.din-admin-note { padding: 8px 12px; border: 1px dashed #e0a800; border-radius: 8px; background: #fff8e1; color: #6b5300; font-size: 13px; }

/* ---------- หมวดหมู่ทั้งหมด v2 (list style from Figma) ---------- */
.din-allc2__hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: 190px; margin: 8px 0 28px; padding: 32px 220px; border-radius: 6px; background: var(--din-green); color: #fff; text-align: center; overflow: hidden; }
.din-allc2__hero h1 { margin: 0; color: #fff; font-size: 30px; font-weight: 800; }
.din-allc2__hero p { margin: 6px 0 0; font-size: 15px; color: #eaf6e6; }
.din-allc2__nunid { position: absolute; right: 36px; bottom: -6px; width: 118px; height: auto; }
.din-allc2__group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 44px; scroll-margin-top: 90px; }
.din-allc2__row { display: flex; align-items: center; gap: 22px; padding: 14px 24px 14px 14px; border-radius: 8px; background: #e7f2e3; color: var(--din-green); transition: transform .15s, box-shadow .15s; }
.din-allc2__row:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(43, 72, 30, .12); color: var(--din-green); }
.din-allc2__row--main { background: var(--din-green); color: #fff; padding-top: 18px; padding-bottom: 18px; }
.din-allc2__row--main:hover { color: #fff; }
.din-allc2__icon { flex: none; width: 96px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.din-allc2__icon .din-icon { font-size: 40px; }
.din-allc2__icon small { font-size: 12.5px; font-weight: 700; line-height: 1.2; }
.din-allc2__row--main .din-allc2__icon small { text-transform: uppercase; }
.din-allc2__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; line-height: 1.55; }
.din-allc2__text b { font-size: 17px; font-weight: 800; }
.din-allc2__row--main .din-allc2__text b { font-size: 24px; letter-spacing: .01em; }
.din-allc2__row:not(.din-allc2__row--main) .din-allc2__text span { color: #4f8f4a; }
@media (max-width: 640px) {
	.din-allc2__hero { min-height: 150px; padding: 24px 110px 24px 18px; text-align: left; justify-content: flex-start; }
	.din-allc2__hero h1 { font-size: 24px; }
	.din-allc2__hero p { font-size: 13.5px; }
	.din-allc2__nunid { right: 12px; width: 84px; }
	.din-allc2__row { gap: 12px; padding: 12px 14px 12px 8px; align-items: flex-start; }
	.din-allc2__icon { width: 64px; }
	.din-allc2__icon .din-icon { font-size: 30px; }
	.din-allc2__icon small { font-size: 11px; }
	.din-allc2__text { font-size: 13.5px; }
	.din-allc2__text b { font-size: 15.5px; }
	.din-allc2__row--main .din-allc2__text b { font-size: 19px; }
	.din-allc2__group { margin-bottom: 32px; }
}

/* ---------- "ฟังบทความนี้" button ---------- */
.din-article__tools { display: inline-flex; align-items: center; gap: 14px; }
.din-listen { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #cfe5c9; background: #fff; color: #3d8c40; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.din-listen:hover { background: #eef7ea; border-color: var(--din-green); color: #3d8c40; }
.din-listen[hidden] { display: none; }
.din-listen__stop { display: none; }
.din-listen.is-playing { background: var(--din-green); border-color: var(--din-green); color: #fff; }
.din-listen.is-playing .din-listen__play { display: none; }
.din-listen.is-playing .din-listen__stop { display: block; }
.din-tts-reading { background: #fff6dc; border-radius: 4px; box-shadow: 0 0 0 4px #fff6dc; transition: background .2s; }
@media (max-width: 640px) { .din-listen { height: 36px; padding: 0 12px; font-size: 13px; } }

/* หมวดหมู่ทั้งหมด: ปฏิทิน & เทศกาล */
.din-allc2__extras { margin-top: 56px; }
.din-allc2__extras-head { position: relative; display: flex; align-items: center; gap: 14px; height: 64px; margin: 0 0 14px; padding: 0 24px 0 120px; border-radius: 8px; background: #a6c86c; color: #fff; font-size: 24px; font-weight: 800; }
.din-allc2__extras-head img { position: absolute; left: 20px; bottom: 0; width: 84px; height: auto; }
.din-allc2__extras-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.din-allc2__extras-grid a { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 72px; padding: 12px 18px; border-radius: 8px; background: #e7f2e3; color: var(--din-green); font-size: 18px; font-weight: 800; transition: transform .15s, box-shadow .15s; }
.din-allc2__extras-grid a:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(43, 72, 30, .12); color: var(--din-green); }
.din-allc2__extras-grid .din-fest__icon, .din-allc2__extras-grid .din-fest__img { width: 32px; height: 32px; }
.din-allc2__extras-grid .din-fest__icon path[fill="#ffffff"], .din-allc2__extras-grid .din-fest__icon rect[fill="#ffffff"] { fill: var(--din-green); }
.din-allc2__extras-grid .din-fest__icon circle[fill="#ffffff"] { fill: #fff; stroke: #cfd8cb; stroke-width: .8; }
@media (max-width: 640px) {
	.din-allc2__extras { margin-top: 40px; }
	.din-allc2__extras-head { height: 54px; padding-left: 90px; font-size: 19px; }
	.din-allc2__extras-head img { left: 12px; width: 66px; }
	.din-allc2__extras-grid { gap: 10px; }
	.din-allc2__extras-grid a { flex-direction: column; gap: 6px; min-height: 84px; padding: 10px 6px; font-size: 13.5px; text-align: center; }
	.din-allc2__extras-grid .din-fest__icon, .din-allc2__extras-grid .din-fest__img { width: 26px; height: 26px; }
}

/* Icon tiles: soft shadow so each tile lifts off the page */
.din-tile { box-shadow: 0 6px 16px rgba(43, 72, 30, .13), 0 1px 3px rgba(0, 0, 0, .08); }
.din-tile:hover { box-shadow: 0 10px 22px rgba(43, 72, 30, .18), 0 2px 4px rgba(0, 0, 0, .08); }
.din-tile.is-active { box-shadow: 0 8px 18px rgba(75, 164, 78, .35), 0 1px 3px rgba(0, 0, 0, .08); }
.din-tiles__track { padding-top: 6px; padding-bottom: 14px; }

/* หมวดหมู่ทั้งหมด: soft shadows on every box (same feel as the icon tiles) */
.din-allc2__hero { box-shadow: 0 8px 22px rgba(43, 72, 30, .18); }
.din-allc2__row, .din-allc2__extras-grid a { box-shadow: 0 6px 16px rgba(43, 72, 30, .12), 0 1px 3px rgba(0, 0, 0, .06); }
.din-allc2__row--main { box-shadow: 0 8px 20px rgba(75, 164, 78, .32), 0 1px 3px rgba(0, 0, 0, .08); }
.din-allc2__extras-head { box-shadow: 0 8px 20px rgba(122, 160, 64, .3), 0 1px 3px rgba(0, 0, 0, .06); }
.din-allc2__row:hover, .din-allc2__extras-grid a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(43, 72, 30, .18), 0 2px 4px rgba(0, 0, 0, .08); }
.din-allc2__row--main:hover { box-shadow: 0 12px 26px rgba(75, 164, 78, .4), 0 2px 4px rgba(0, 0, 0, .08); }
.din-allc2__group { gap: 14px; }
.din-allc2__extras-grid { gap: 16px; }

/* Large screens: Editor's Pick sits bottom-LEFT, away from the share rail, TOP button and sticky ads on the right. */
@media (min-width: 1100px) {
	.din-popup { left: 20px; right: auto; }
	body.din-popup-open .din-rail { top: 50%; transform: translateY(-50%); }
	body.din-popup-open .din-totop { bottom: calc(24px + var(--din-ad-h, 0px)); }
}

/* ---------- Support strip (QR) ---------- */
.din-support { display: flex; align-items: center; gap: 20px; margin: 32px 0 24px; padding: 16px 20px 16px 16px; border-radius: 22px; background: #eef7ea; box-shadow: 0 6px 16px rgba(43, 72, 30, .12); }
.din-support__qr { position: relative; flex: none; padding: 0; border: 0; border-radius: 14px; background: #fff; cursor: zoom-in; box-shadow: 0 4px 10px rgba(43, 72, 30, .15); }
.din-support__qr img { display: block; width: 104px; height: 104px; object-fit: contain; border-radius: 14px; image-rendering: crisp-edges; }
.din-support__zoom { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--din-green); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.din-support__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.din-support__text b { font-size: 19px; line-height: 1.35; color: var(--din-dark); }
.din-support__text span { font-size: 14px; color: #556650; }
.din-support__copy { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--din-green); color: #fff; font: inherit; font-size: 15px; font-weight: 700; box-shadow: 0 4px 0 #3a8a3d; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.din-support__copy:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #3a8a3d; }
.din-support__copy.is-copied { background: #2f7d33; }
.din-qrmodal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.din-qrmodal[hidden] { display: none; }
.din-qrmodal__backdrop { position: absolute; inset: 0; background: rgba(15, 25, 12, .6); animation: din-fade .2s ease; }
.din-qrmodal__box { position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 22px 20px 18px; border-radius: 24px; background: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.3); animation: din-pop .2s ease; }
.din-qrmodal__close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1f4ef; color: var(--din-dark); display: grid; place-items: center; cursor: pointer; }
.din-qrmodal__title { font-size: 18px; color: var(--din-dark); padding: 0 34px; }
.din-qrmodal__box img { width: min(340px, 100%); height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 14px; background: #fff; image-rendering: crisp-edges; }
.din-qrmodal__acc { margin: 0; font-size: 15px; color: #556650; }
.din-qrmodal__acc b { color: var(--din-dark); font-size: 18px; letter-spacing: .03em; }
.din-qrmodal__btns { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.din-qrmodal__save, .din-qrmodal__copy { display: grid; place-items: center; height: 46px; border-radius: 14px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.din-qrmodal__save { border: 1.5px solid #cfe5c9; background: #fff; color: #3d8c40 !important; }
.din-qrmodal__copy { border: 0; background: var(--din-green); color: #fff; }
.din-qrmodal small { font-size: 12px; line-height: 1.5; color: #6b7a66; }
@media (max-width: 640px) {
	.din-support { gap: 12px; padding: 12px; border-radius: 18px; flex-wrap: wrap; }
	.din-support__qr img { width: 76px; height: 76px; }
	.din-support__text { flex-basis: calc(100% - 90px); }
	.din-support__text b { font-size: 16px; }
	.din-support__text span { font-size: 12.5px; }
	.din-support__copy { width: 100%; justify-content: center; height: 44px; }
}

.din-support__icon { flex: none; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--din-green); display: grid; place-items: center; box-shadow: 0 4px 10px rgba(43, 72, 30, .12); }
.din-support__acc { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 15px; color: #556650; }
.din-support__bank { font-style: normal; height: 24px; padding: 0 10px; border-radius: 999px; background: #138f2d; color: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; }
.din-support__acc b { font-size: 18px; letter-spacing: .03em; color: var(--din-dark); }
.din-support__hint { font-size: 13px !important; color: #6b7a66 !important; }
@media (max-width: 640px) {
	.din-support__icon { width: 52px; height: 52px; }
	.din-support__icon svg { width: 28px; height: 28px; }
	.din-support__text { flex-basis: calc(100% - 70px); }
	.din-support__acc b { font-size: 16px; }
}

/* TOP button: always above the mobile bar and any sticky ad, with a little breathing room */
@media (max-width: 900px) {
	body:has(.din-bnav) .din-totop { bottom: calc(var(--din-bnav-h, calc(66px + env(safe-area-inset-bottom))) + var(--din-ad-h, 0px) + 14px); }
	body:has(.din-bnav) .din-popup { bottom: calc(var(--din-bnav-h, calc(66px + env(safe-area-inset-bottom))) + var(--din-ad-h, 0px) + 10px); }
}

/* Mobile: share icons + "ฟังบทความ" stay on one line */
@media (max-width: 640px) {
	.din-article__share { flex-wrap: nowrap; gap: 8px; }
	.din-article__share .din-share { gap: 6px; flex-wrap: nowrap; }
	.din-article__share .din-share__btn { width: 32px; height: 32px; font-size: 16px; }
	.din-article__tools { gap: 8px; flex: none; }
	.din-listen { height: 34px; padding: 0 10px; gap: 5px; font-size: 12.5px; white-space: nowrap; }
	.din-listen svg { width: 16px; height: 16px; }
	.din-article__views { font-size: 12px; }
}
@media (max-width: 370px) {
	.din-article__share .din-share__btn { width: 30px; height: 30px; }
	.din-article__share .din-share { gap: 4px; }
	.din-listen span { font-size: 0; }
	.din-listen span::after { content: "ฟัง"; font-size: 12.5px; }
	.din-listen.is-playing span::after { content: "หยุด"; }
}
@media (max-width: 640px) { .din-article__share .din-article__views { display: none; } }

/* "Inspire Now !" summary box at the end of articles */
.entry-content .din-inspire-box { margin: 28px 0; }
.entry-content .din-inspire-box table { border: 2px solid #2f5f9e !important; border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #f5f9ff; display: table; }
.entry-content .din-inspire-box td, .entry-content .din-inspire-box th { border: 0 !important; padding: 16px 20px !important; }
.entry-content .din-inspire-box, .entry-content .din-inspire-box td { text-align: left !important; }

/* ---------- บทความที่เกี่ยวข้อง: 4 × 2 on desktop, 2 × 4 on phones ---------- */
.din-related { margin-top: 48px; }
.din-related .din-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px 16px; }
.din-related .din-card__title { font-size: 15px; -webkit-line-clamp: 2; }
.din-related .din-card__meta { font-size: 11.5px; }
@media (max-width: 900px) {
	.din-related .din-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
	.din-related .din-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px 12px; }
	.din-related .din-grid > .din-card, .din-related .din-grid > .din-card:first-child, .din-related .din-grid > .din-card:not(:first-child) { display: flex !important; flex-direction: column; grid-template-columns: none; grid-template-areas: none; gap: 6px; }
	.din-related .din-grid > .din-card .din-card__media, .din-related .din-grid > .din-card:first-child .din-card__media { aspect-ratio: 4 / 3 !important; border-radius: 8px; }
	.din-related .din-grid > .din-card:first-child .din-card__body { grid-area: auto; padding: 0; background: none; color: inherit; }
	.din-related .din-grid > .din-card:first-child .din-card__title, .din-related .din-grid > .din-card:first-child .din-card__title a { color: var(--din-dark); }
	.din-related .din-card__title, .din-related .din-grid > .din-card:first-child .din-card__title, .din-related .din-grid > .din-card:not(:first-child) .din-card__title { font-size: 13.5px; -webkit-line-clamp: 3; }
	.din-related .din-card__meta { font-size: 10.5px; gap: 4px; flex-wrap: wrap; }
}
@media (max-width: 640px) {
	.din-related .din-card__side { display: none !important; }
	.din-related .din-grid > .din-card:first-child .din-card__body { position: static; display: block; }
	.din-related .din-grid > .din-card:first-child .din-card__meta { display: flex; color: var(--din-muted); }
	.din-related .din-card__cat { display: none; }
}
@media (max-width: 640px) {
	.din-related .din-grid > .din-card:first-child .din-card__title, .din-related .din-grid > .din-card:first-child .din-card__title a { font-size: 13.5px !important; color: #222 !important; text-shadow: none !important; }
}
