/* ==========================================================
   Odeal – אוו דיל
   ========================================================== */
:root {
	--ink: #0E0E0C;
	--paper: #F2F0EB;
	--card: #FFFFFF;
	--line: #E2DED5;
	--muted: #4F4C45;
	--muted-2: #6A665E;
	--sun: #FFD23F;
	--accent: #4A2FE0;
	--dark-muted: #BDB9AF;
	--dark-line: #34332E;
	--chip-bg: #EEEAFE;
	--chip-fg: #3B24C4;
	--display: 'Karantina', 'Rubik', sans-serif;
	--body: 'Rubik', 'Segoe UI', Arial, sans-serif;
	--r-lg: 32px;
	--r-md: 24px;
	--r-sm: 14px;
	--gap: 16px;
	--pad: clamp(16px, 3.4vw, 64px);
	--maxw: 1680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 12px; right: 12px; width: auto; height: auto; clip: auto; z-index: 1000; padding: 12px 18px; background: var(--ink); color: #fff; border-radius: 10px; }
.odeal-wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); box-sizing: border-box; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r-sm); font-weight: 700; font-size: 16px; cursor: pointer; text-align: center; transition: transform .15s ease; }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: #26251F; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { color: #fff; filter: brightness(1.1); }
.btn-sun { background: var(--sun); color: var(--ink); font-weight: 800; }
.btn-sun:hover { color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.icon-btn { width: 52px; height: 52px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: var(--paper); font-size: 15px; text-align: center; padding: 10px var(--pad); }
.topbar a { color: inherit; }
.topbar-badge { display: inline-block; margin-inline-end: 10px; padding: 2px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: 13px; font-weight: 800; }

.site-header { position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }
.header-inner > .logo, .header-inner > .custom-logo-link, .header-actions { flex-shrink: 0; }
.main-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.logo { display: inline-flex; align-items: baseline; font-family: var(--display); font-size: 52px; line-height: 1; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-b { color: var(--accent); }
.logo-dot { width: 12px; height: 12px; border-radius: 999px; background: var(--sun); margin-inline-start: 4px; }
.custom-logo { max-height: 60px; width: auto; }
.site-footer .logo { color: #fff; font-size: 56px; }
.site-footer .logo-b { color: var(--sun); }
.site-footer .logo-dot { display: none; }

.main-nav .menu { list-style: none; margin: 0; padding: 6px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; max-width: 100%; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.main-nav a { display: block; padding: 11px 20px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.main-nav a:hover { background: var(--paper); color: var(--ink); }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { background: var(--ink); color: #fff; }
.header-actions { display: flex; gap: 8px; }
.menu-toggle { display: none; }
.header-search { border-top: 1px solid var(--line); background: var(--card); padding-block: 18px; }

.search-form { display: flex; gap: 8px; padding: 8px; border-radius: 20px; background: var(--paper); max-width: 760px; }
.header-search .search-form { margin-inline: auto; }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font-size: 17px; }
.search-form input:focus { outline: none; }
.search-form:focus-within { box-shadow: 0 0 0 3px var(--accent); }

/* ---------- Bento hero ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(280px, auto) minmax(240px, auto); gap: var(--gap); padding-block: 16px 64px; }
.tile { border-radius: var(--r-lg); position: relative; overflow: hidden; }
a.tile:hover { transform: translateY(-2px); }
a.tile { transition: transform .2s ease; }
.tile-hero { grid-column: span 7; grid-row: span 2; background: var(--card); border: 1px solid var(--line); padding: clamp(28px, 3.6vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.sticker { position: absolute; top: 40px; left: 40px; transform: rotate(-8deg); padding: 10px 18px; border-radius: 12px; background: var(--sun); font-weight: 800; font-size: 18px; }
.kicker { margin: 0 0 14px; font-weight: 700; color: var(--accent); }
.display { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(72px, 8.9vw, 128px); line-height: .88; letter-spacing: -.01em; }
.lead { margin: 18px 0 0; font-size: 20px; color: var(--muted); max-width: 34em; }
.hero-search label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero-search-row { display: flex; gap: 8px; padding: 8px; border-radius: 20px; background: var(--paper); }
.hero-search-row:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font-size: 18px; }
.hero-search input:focus { outline: none; }
.hero-search .btn { min-height: 56px; padding: 0 30px; font-size: 17px; }

.tile-five { grid-column: span 5; background: var(--sun); color: var(--ink); padding: 36px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tile-five:hover { color: var(--ink); }
.tile-five-text { display: flex; flex-direction: column; gap: 6px; }
.tile-five-text strong { font-size: 28px; font-weight: 800; line-height: 1.2; }
.tile-five-text span { font-weight: 500; }
.tile-five-big { font-family: var(--display); font-size: clamp(110px, 11.8vw, 170px); line-height: .7; }

.tile-bf { grid-column: span 3; background: var(--ink); color: #fff; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-bf:hover { color: #fff; }
.tile-bf-label { color: var(--dark-muted); font-size: 15px; }
.tile-bf-date { font-family: var(--display); font-size: clamp(72px, 6.7vw, 96px); line-height: .85; color: var(--sun); }
.tile-bf-cta { font-weight: 700; }

.tile-cash { grid-column: span 2; background: var(--accent); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.tile-cash:hover { color: #fff; }
.tile-cash .icon { width: 36px; height: 36px; }
.tile-cash strong { font-size: 20px; font-weight: 800; line-height: 1.25; }

/* ---------- Blocks ---------- */
.block { padding-block: 0 72px; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.section-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(48px, 5vw, 72px); line-height: .9; }
.section-title--sm { font-size: clamp(40px, 4vw, 56px); margin-bottom: 20px; }
.more { font-weight: 700; color: var(--accent); white-space: nowrap; }
.more--sun { color: var(--sun); }
.admin-hint { padding: 18px 22px; border: 2px dashed var(--line); border-radius: var(--r-sm); color: var(--muted); }
.admin-hint a { color: var(--accent); font-weight: 700; }

/* Coupons */
.coupon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.coupon { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; overflow: hidden; }
.coupon-body { padding: 24px 24px 20px; display: flex; flex-direction: column; gap: 8px; }
.coupon-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.coupon-store { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.3; }
.chip { flex-shrink: 0; padding: 4px 12px; border-radius: 999px; background: var(--chip-bg); color: var(--chip-fg); font-size: 13px; font-weight: 700; }
.coupon-line { margin: 0; color: var(--muted); }
.coupon-exp { margin: 0; font-size: 14px; color: var(--muted-2); }
.coupon-foot { margin-top: auto; border-top: 2px dashed var(--line); padding: 16px 24px; }
.code-box { display: flex; gap: 8px; align-items: center; }
.code { flex: 1; min-height: 48px; border: 2px dashed var(--accent); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 18px; font-weight: 700; letter-spacing: .08em; direction: ltr; user-select: all; }
.coupon-single { max-width: 460px; }

/* Categories */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--gap); }
.cat-card { display: flex; flex-direction: column; gap: 4px; }
.cat-card:hover { color: var(--ink); }
.cat-card-img { display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--line); margin-bottom: 10px; }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-img.is-empty { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 120px; line-height: 1; color: #C9C3B6; }
.cat-card-name { font-size: 21px; font-weight: 800; line-height: 1.3; }
.cat-card:hover .cat-card-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.cat-card-count { font-size: 14px; color: var(--muted-2); }

/* Stores */
.stores { background: var(--ink); color: #fff; padding-block: 56px; margin-bottom: 72px; }
.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.store { min-height: 96px; border-radius: 20px; border: 1px solid var(--dark-line); padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; transition: border-color .2s ease; }
.store:hover { color: #fff; border-color: var(--sun); }
.store-text { display: flex; flex-direction: column; gap: 2px; }
.store-text strong { font-size: 22px; font-weight: 800; }
.store-text span { font-size: 14px; color: var(--dark-muted); }
.store .icon { color: var(--sun); flex-shrink: 0; }

/* Magazine & post cards */
.mag-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.mag-side { display: flex; flex-direction: column; gap: var(--gap); }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.post-card:hover { color: var(--ink); border-color: var(--ink); }
.post-card-img { display: block; background: var(--line); aspect-ratio: 16 / 10; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-text { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.post-card-date { font-size: 14px; color: var(--muted-2); }
.post-card-title { font-size: 20px; font-weight: 800; line-height: 1.35; }
.post-card--large .post-card-title { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; }
.post-card--large .post-card-text { padding: 28px; }
.post-card--row { flex-direction: row; align-items: center; flex: 1; padding: 16px; gap: 18px; }
.post-card--row .post-card-img { width: 128px; flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: 16px; }
.post-card--row .post-card-text { padding: 0; }
.post-card--row .post-card-title { font-size: 19px; }

/* ---------- Inner pages ---------- */
.page-wrap { padding-block: 32px 80px; }
.page-wrap.narrow { max-width: 900px; }
.page-head { margin-bottom: 32px; }
.store-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.post-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty { color: var(--muted); }
.empty .search-form { margin-top: 16px; background: var(--card); }
.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-numbers { min-width: 48px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

.article { padding-block: 32px 80px; }
.article-head, .entry, .article-img, .comments { max-width: 760px; margin-inline: auto; }
.article-meta { margin: 0 0 12px; color: var(--muted-2); font-size: 15px; display: flex; gap: 10px; }
.article-meta a { color: var(--accent); font-weight: 700; }
.article-title { margin: 0 0 28px; font-size: clamp(34px, 4vw, 52px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.article-img { max-width: 1000px; margin-bottom: 36px; }
.article-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-md); }
.entry { font-size: 19px; line-height: 1.8; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 30px; line-height: 1.25; margin-top: 1.8em; }
.entry h3 { font-size: 23px; line-height: 1.3; margin-top: 1.5em; }
.entry a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: var(--r-sm); }
.entry blockquote { margin-inline: 0; padding: 20px 24px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); font-weight: 500; }
.entry ul, .entry ol { padding-inline-start: 1.3em; }
.entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; }
.related { margin: 72px 0 0; }
.comments { margin-top: 64px; }
.comment-list { list-style: none; padding: 0; }
.comments input[type="text"], .comments input[type="email"], .comments input[type="url"], .comments textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.comments .submit { min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; }
.notfound { text-align: center; }
.notfound .display { font-size: clamp(120px, 20vw, 220px); color: var(--accent); }
.notfound .search-form { margin: 24px auto; background: var(--card); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--dark-muted); border-radius: 40px 40px 0 0; padding-block: 64px 32px; }
.site-footer a { color: var(--dark-muted); }
.site-footer a:hover { color: #fff; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--dark-line); }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.footer-brand p { margin: 0; }
.footer-top .newsletter, .footer-top .edignl-form { flex: 0 1 460px; }
.footer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 32px; }
.footer-title { margin: 0 0 16px; font-size: 17px; font-weight: 700; color: #fff; }
.footer-title a { color: #fff; }
.footer-title a:hover { color: var(--sun); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.45; }
.footer-col li a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.footer-more { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--sun) !important; }
.footer-more:hover { text-decoration: underline; }
.newsletter label { display: block; margin-bottom: 8px; color: #fff; font-size: 14px; font-weight: 500; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; height: 50px; border-radius: var(--r-sm); border: 1px solid var(--dark-line); background: #1A1A17; color: #fff; padding: 0 16px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-line); display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom p a { color: var(--sun); }
.legal ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 20px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.main-nav .menu { gap: 2px; }
	.main-nav a { padding: 10px 14px; }
	.coupon-grid, .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bento { grid-template-rows: auto; }
	.tile-hero { grid-column: 1 / -1; grid-row: auto; }
	.tile-five { grid-column: span 12; }
	.tile-bf, .tile-cash { grid-column: span 6; min-height: 200px; }
}
@media (max-width: 900px) {
	.menu-toggle { display: inline-flex; }
	.main-nav { position: absolute; top: 100%; inset-inline: var(--pad); display: none; }
	.main-nav .menu { flex-wrap: nowrap; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.main-nav.is-open { display: block; }
	.main-nav .menu { flex-direction: column; border-radius: var(--r-md); padding: 10px; box-shadow: 0 20px 40px rgba(14, 14, 12, .12); }
	.main-nav a { padding: 14px 18px; font-size: 17px; }
	.logo { font-size: 42px; }
	.icon-btn { width: 46px; height: 46px; }
	.mag-grid, .post-grid, .post-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mag-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.topbar { font-size: 13px; }
	.header-inner { padding-block: 12px; }
	.bento { padding-block: 4px 40px; gap: 10px; }
	.tile { border-radius: 24px; }
	.tile-hero { padding: 26px 22px; }
	.sticker { position: static; align-self: flex-start; margin-bottom: -12px; font-size: 14px; padding: 6px 12px; }
	.tile-hero { gap: 24px; }
	.tile-five-big { font-size: 96px; }
	.tile-bf-date { font-size: 60px; }
	.section-title { font-size: 46px; }
	.block-head { flex-wrap: wrap; }
	.display { font-size: 68px; }
	.lead { font-size: 16px; }
	.hero-search .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
	.tile-five { padding: 22px; }
	.tile-five-text strong { font-size: 20px; }
	.tile-bf, .tile-cash { min-height: 150px; padding: 20px; }
	.block { padding-bottom: 48px; }
	.coupon-grid, .store-grid, .post-grid, .post-grid--3 { grid-template-columns: 1fr; }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.cat-card-img { border-radius: 16px; margin-bottom: 6px; }
	.cat-card-name { font-size: 17px; }
	.stores { padding-block: 40px; margin-bottom: 48px; }
	.post-card--row .post-card-img { width: 92px; }
	.post-card--row .post-card-title { font-size: 16px; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.footer-top { padding-bottom: 28px; margin-bottom: 28px; }
	.footer-top .newsletter, .footer-top .edignl-form { flex-basis: 100%; }
	.site-footer { border-radius: 28px 28px 0 0; padding-top: 40px; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.entry { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	a.tile:hover, .cat-card:hover .cat-card-img img { transform: none; }
}

/* EDigital Newsletter form on dark surfaces (footer, sidebar box) */
.on-dark .edignl-form { color: #fff; }
.on-dark .edignl-lead { color: #fff; font-size: 18px; }
.on-dark .edignl-row input { background: #1A1A17; border-color: var(--dark-line); color: #fff; }
.on-dark .edignl-row input::placeholder { color: #8C887E; }
.on-dark .edignl-btn { background: var(--sun); color: var(--ink); font-weight: 800; }
.on-dark .edignl-consent { color: var(--dark-muted); }
.on-dark .edignl-msg { color: var(--sun); }
.on-dark .edignl-msg.is-error { color: #FF9C8F; }

/* ---------- Single post with sidebar ---------- */
.single-layout.has-sidebar { display: grid; grid-template-columns: 340px minmax(0, 1fr); grid-template-areas: "side main"; gap: 56px; align-items: start; max-width: min(var(--maxw), calc(340px + 56px + 1000px + 2 * var(--pad))); }
.single-layout.has-sidebar .single-main { grid-area: main; }
.single-layout.has-sidebar .single-sidebar { grid-area: side; padding-block: 32px 80px; }
.single-layout.has-sidebar .article-head,
.single-layout.has-sidebar .entry,
.single-layout.has-sidebar .article-img,
.single-layout.has-sidebar .comments { max-width: 1000px; margin-inline: 0; }
.single-layout.has-sidebar .entry { max-width: 820px; }
.sidebar-inner { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.admin-bar .sidebar-inner { top: 56px; }
.side-box { border-radius: var(--r-md); padding: 24px; }
.side-nl { background: var(--ink); color: #fff; }
.side-nl-title { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 40px; line-height: .95; color: #fff; }
.side-nl-text { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: var(--dark-muted); }
.side-nl .edignl-lead { display: none; }
.side-nl .edignl-row { flex-direction: column; }
.side-nl .edignl-row input { flex: none; width: 100%; }
.side-nl .edignl-btn { width: 100%; }
.side-posts { background: var(--card); border: 1px solid var(--line); }
.side-title { margin: 0 0 12px; font-size: 20px; font-weight: 800; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li + li { border-top: 1px solid var(--line); }
.side-list a { display: flex; gap: 12px; align-items: center; padding-block: 12px; }
.side-list a:hover { color: var(--ink); }
.side-list a:hover .side-post-title { color: var(--accent); }
.side-thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--line); }
.side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.side-post-title { font-size: 15px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.side-date { font-size: 13px; color: var(--muted-2); }
@media (max-width: 1100px) {
	.single-layout.has-sidebar { grid-template-columns: 300px minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 900px) {
	.single-layout.has-sidebar { display: block; }
	.single-layout.has-sidebar .single-sidebar { padding-top: 0; }
	.single-layout.has-sidebar .article-head,
	.single-layout.has-sidebar .entry,
	.single-layout.has-sidebar .article-img { margin-inline: auto; }
	.sidebar-inner { position: static; }
}

/* ---------- Back to top (left side, site colour) ---------- */
.to-top { position: fixed; left: 24px; bottom: 24px; z-index: 900; width: 52px; height: 52px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transition: transform .2s ease, filter .2s ease; }
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-3px); filter: brightness(1.1); }
.to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 640px) { .to-top { left: 16px; bottom: 16px; width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .to-top:hover { transform: none; } }
