/*
Theme Name: Second Glance
Theme URI: https://www.secondglance.rs/
Author: Vesna
Description: Bold "Night Edition" magazine theme for Second Glance (Food & Drink, Living, Relationships, Style). Dark cover hero with a giant headline word and stacked story cards, lime and violet accents, rounded cards, pill buttons. Classic PHP theme: Customizer options, widget areas, custom widgets, magazine shortcodes (quick answer, takeaways, recipe card, picks), auto table of contents, popular posts, local fonts and no jQuery.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: second-glance
Tags: blog, news, two-columns, right-sidebar, left-sidebar, custom-menu, custom-logo, featured-images, footer-widgets, theme-options, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--sg-ink: #0B0B0F;
	--sg-paper: #FFFFFF;
	--sg-accent: #D7F75B;
	--sg-accent-2: #5B3BEF;
	--sg-soft: #E6E3FF;
	--sg-tint: #F3F1FF;
	--sg-pink: #FFD6E7;
	--sg-muted: #5F5E6B;
	--sg-muted-dark: #A9A8B8;
	--sg-line: #E2E1EA;
	--sg-line-dark: #26262E;
	--sg-border-dark: #3A3A44;

	--sg-font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--sg-font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--sg-wrap: 1240px;
	--sg-narrow: 760px;
	--sg-gutter: 20px;
	--sg-radius-s: 14px;
	--sg-radius: 20px;
	--sg-radius-l: 24px;
	--sg-pill: 999px;
	--sg-shadow: 0 30px 60px rgba(0, 0, 0, .45);
	--sg-shadow-soft: 0 12px 30px rgba(11, 11, 15, .08);
	--sg-ease: cubic-bezier(.2, .7, .2, 1);
}

.sg-system-fonts {
	--sg-font-display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
	--sg-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
	margin: 0;
	background: var(--sg-paper);
	color: var(--sg-ink);
	font-family: var(--sg-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe, embed, object { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--sg-font-display); line-height: 1.1; letter-spacing: -.02em; margin: 0; font-weight: 800; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sg-accent-2); outline-offset: 3px; }
.sg-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--sg-accent); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--sg-accent); color: var(--sg-ink); clip: auto !important; clip-path: none;
	display: block; font-size: 15px; font-weight: 700; height: auto; left: 12px; top: 12px;
	padding: 14px 20px; width: auto; z-index: 100000; border-radius: var(--sg-pill);
}
.skip-link { position: absolute; }

.sg-wrap { width: 100%; max-width: calc(var(--sg-wrap) + var(--sg-gutter) * 2); margin: 0 auto; padding: 0 var(--sg-gutter); }
.sg-narrow { max-width: calc(var(--sg-narrow) + var(--sg-gutter) * 2); }
.sg-dark { background: var(--sg-ink); color: #fff; }

/* Icons */
.sg-icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; flex: none; }

/* ==========================================================================
   3. Buttons, pills
   ========================================================================== */
.sg-pill {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--sg-accent); color: var(--sg-ink);
	font-size: 12px; font-weight: 700; line-height: 1.2;
	padding: 6px 12px; border-radius: var(--sg-pill);
	white-space: nowrap;
}
.sg-pill--white { background: #fff; color: var(--sg-ink); }
.sg-pill--ink { background: var(--sg-ink); color: #fff; }
a.sg-pill:hover { filter: brightness(.95); }

.sg-btn {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 46px; padding: 6px 6px 6px 18px;
	border: 1px solid var(--sg-line); border-radius: var(--sg-pill);
	font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
	background: transparent; cursor: pointer; white-space: nowrap;
	transition: border-color .2s, background-color .2s;
}
.sg-btn:hover { border-color: var(--sg-ink); }
.sg-dark .sg-btn, .site-header .sg-btn { border-color: var(--sg-border-dark); }
.sg-dark .sg-btn:hover, .site-header .sg-btn:hover { border-color: #fff; }
.sg-btn__dot {
	width: 34px; height: 34px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--sg-ink); color: #fff; font-size: 16px;
	transition: transform .25s var(--sg-ease);
}
.sg-btn:hover .sg-btn__dot { transform: rotate(45deg); }
.sg-btn__dot--accent { background: var(--sg-accent); color: var(--sg-ink); }
.sg-btn__dot--violet { background: var(--sg-accent-2); color: #fff; }
.sg-btn--white { background: #fff; color: var(--sg-ink); border-color: #fff; }
.sg-btn--plain { padding: 0 22px; }
.sg-btn--solid { background: var(--sg-ink); color: #fff; border-color: var(--sg-ink); padding: 0 24px; }
.sg-btn--solid:hover { background: var(--sg-accent-2); border-color: var(--sg-accent-2); color: #fff; }

.sg-circle {
	width: 44px; height: 44px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--sg-line); background: #fff; color: var(--sg-ink);
	cursor: pointer; font-size: 18px; padding: 0;
}
.sg-circle--ink { background: var(--sg-ink); border-color: var(--sg-ink); color: #fff; }
.sg-circle:disabled { opacity: .4; cursor: default; }

.sg-link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.sg-link-arrow .sg-btn__dot { width: 26px; height: 26px; font-size: 12px; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header { background: var(--sg-ink); color: #fff; position: relative; z-index: 50; }
.sg-sticky .site-header { position: sticky; top: 0; }
.admin-bar.sg-sticky .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.sg-sticky .site-header { top: 0; position: relative; } }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--sg-line-dark); }

.sg-header__bar {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	min-height: 84px;
}
.sg-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.sg-nav a {
	font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	padding: 8px 0; display: inline-block; position: relative;
}
.sg-nav a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
	background: var(--sg-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--sg-ease);
}
.sg-nav a:hover::after, .sg-nav .current-menu-item > a::after, .sg-nav .current-category-ancestor > a::after, .sg-nav .current-menu-parent > a::after { transform: scaleX(1); }
.sg-nav .sub-menu { display: none; }

.site-branding { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; }
.site-branding .custom-logo { max-height: 44px; width: auto; }
.site-title {
	margin: 0; display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--sg-font-display); font-weight: 800; font-size: 20px; letter-spacing: -.01em; text-transform: uppercase;
	white-space: nowrap;
}
.sg-badge {
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--sg-accent); color: var(--sg-ink);
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--sg-font-display); font-size: 13px; font-weight: 900; letter-spacing: 0; flex: none;
}
.sg-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.sg-header__actions .sg-circle { background: transparent; color: #fff; border-color: var(--sg-border-dark); }
.sg-header__actions .sg-circle:hover { border-color: #fff; }
.sg-cta {
	min-height: 44px; padding: 0 20px; border-radius: var(--sg-pill); border: 1px solid #fff;
	display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.sg-cta:hover { background: var(--sg-accent); color: var(--sg-ink); border-color: var(--sg-accent); }
.sg-menu-toggle { display: none; }

.sg-menu-toggle .sg-icon-close { display: none; }
.sg-menu-toggle[aria-expanded="true"] .sg-icon-open { display: none; }
.sg-menu-toggle[aria-expanded="true"] .sg-icon-close { display: inline-block; }

/* search panel */
.sg-search-panel { border-top: 1px solid var(--sg-line-dark); padding: 18px 0 22px; }
.sg-search-panel[hidden] { display: none; }

/* mobile */
@media (max-width: 960px) {
	.sg-header__bar { grid-template-columns: 1fr auto; min-height: 70px; }
	.site-branding { justify-content: flex-start; order: 1; }
	.sg-header__actions { order: 2; }
	.sg-nav { order: 3; grid-column: 1 / -1; display: none; padding: 4px 0 18px; border-top: 1px solid var(--sg-line-dark); }
	.sg-nav.is-open { display: block; }
	.sg-nav ul { flex-direction: column; gap: 0; }
	.sg-nav a { padding: 12px 0; font-size: 15px; display: block; }
	.sg-nav a::after { display: none; }
	.sg-menu-toggle { display: inline-flex; }
	.sg-cta { display: none; }
	.site-title { font-size: 17px; }
}

/* ==========================================================================
   5. Forms
   ========================================================================== */
.search-form { display: flex; gap: 8px; background: #fff; border-radius: var(--sg-pill); padding: 6px; border: 1px solid var(--sg-line); max-width: 640px; }
.search-form label { flex: 1 1 auto; display: flex; min-width: 0; }
.search-field {
	flex: 1 1 auto; min-width: 0; height: 46px; border: 0; padding: 0 18px; background: transparent; color: var(--sg-ink); font-size: 16px;
}
.search-field:focus { outline: none; }
.search-form:focus-within { outline: 3px solid var(--sg-accent-2); outline-offset: 2px; }
.search-submit {
	height: 46px; padding: 0 22px; border: 0; border-radius: var(--sg-pill);
	background: var(--sg-ink); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
}
.search-submit:hover { background: var(--sg-accent-2); }
.sg-search-panel .search-form { border-color: transparent; }

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea {
	width: 100%; border: 1px solid var(--sg-line); border-radius: var(--sg-radius-s); padding: 12px 16px; background: #fff; font-size: 16px;
}
textarea { min-height: 140px; }
input[type="submit"], button[type="submit"]:not(.search-submit):not(.sg-nl__btn) {
	min-height: 46px; padding: 0 24px; border: 0; border-radius: var(--sg-pill); background: var(--sg-ink); color: #fff;
	font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
input[type="submit"]:hover { background: var(--sg-accent-2); }

/* ==========================================================================
   6. Homepage: intro band + hero
   ========================================================================== */
.sg-cover { background: var(--sg-ink); color: #fff; padding-bottom: 72px; overflow: hidden; }
.sg-intro {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px;
	border-top: 1px solid var(--sg-line-dark); border-bottom: 1px solid var(--sg-line-dark); padding: 14px 0;
}
.sg-intro__title { font-family: var(--sg-font-body); font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--sg-soft); line-height: 1.4; }
.sg-intro__meta { margin: 0; font-size: 13px; color: var(--sg-muted-dark); }

.sg-hero__word {
	margin: 36px 0 0; text-align: center;
	font-family: var(--sg-font-display); font-weight: 900;
	font-size: clamp(40px, 11vw, 150px); line-height: .9; letter-spacing: -.045em;
	color: var(--sg-soft); white-space: nowrap; text-transform: uppercase;
	user-select: none;
}
.sg-hero__row {
	position: relative; display: grid; grid-template-columns: 1fr minmax(300px, 380px) 1fr; gap: 32px;
	align-items: end; margin-top: -64px;
}
.sg-hero__curve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.sg-hero__text, .sg-hero__stack, .sg-hero__aside { position: relative; z-index: 1; }
.sg-hero__text { display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; align-items: flex-start; }
.sg-hero__title {
	font-size: clamp(26px, 2.6vw, 32px); line-height: 1.05; text-transform: uppercase;
}
.sg-hero__title a:hover { color: var(--sg-accent); }
.sg-hero__dek { margin: 0; color: var(--sg-muted-dark); font-size: 15px; line-height: 1.55; }
.sg-hero__meta { margin: 0; color: var(--sg-muted-dark); font-size: 13px; }

.sg-hero__stack { height: 480px; display: flex; align-items: center; justify-content: center; }
.sg-stack__back {
	position: absolute; width: 270px; height: 360px; border-radius: 22px; overflow: hidden;
	transition: transform .5s var(--sg-ease);
}
.sg-stack__back--1 { background: var(--sg-accent-2); transform: rotate(-9deg) translateX(-34px); }
.sg-stack__back--2 { background: var(--sg-pink); transform: rotate(7deg) translateX(30px); }
.sg-stack__back img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.sg-hero__stack:hover .sg-stack__back--1 { transform: rotate(-12deg) translateX(-52px); }
.sg-hero__stack:hover .sg-stack__back--2 { transform: rotate(10deg) translateX(48px); }
.sg-stack__front {
	position: relative; width: 290px; height: 390px; border-radius: 24px; overflow: hidden;
	border: 6px solid #fff; box-shadow: var(--sg-shadow); background: #D5EEDC;
}
.sg-stack__front img, .sg-stack__front .sg-ph { width: 100%; height: 100%; object-fit: cover; }
.sg-stack__front .sg-btn {
	position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
	background: #fff; color: var(--sg-ink); border-color: #fff;
}
.sg-hero__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; padding-bottom: 8px; }
.sg-hero__topics {
	margin: 0; text-align: right; font-family: var(--sg-font-display); font-weight: 700; font-size: 15px; line-height: 1.55;
	text-transform: uppercase; color: var(--sg-accent); transform: rotate(-4deg);
}
.sg-hero__topics a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
	.sg-hero__row { grid-template-columns: 1fr; margin-top: -30px; gap: 8px; }
	.sg-hero__stack { order: -1; height: 440px; }
	.sg-hero__aside { align-items: flex-start; }
	.sg-hero__topics { text-align: left; transform: none; }
	.sg-hero__topics br { display: none; }
	.sg-hero__curve { display: none; }
}
@media (max-width: 400px) {
	.sg-stack__front { width: 250px; height: 340px; }
	.sg-stack__back { width: 230px; height: 310px; }
	.sg-hero__stack { height: 390px; }
}

/* ==========================================================================
   7. Sections
   ========================================================================== */
.sg-section { padding: 80px 0; }
.sg-section--tint { background: var(--sg-tint); }
.sg-section--tight { padding-top: 0; }
.sg-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.sg-section__title {
	font-size: clamp(36px, 5vw, 60px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase;
	max-width: 12ch;
}
.sg-section__title--center { text-align: center; max-width: none; width: 100%; font-size: clamp(32px, 4.4vw, 52px); }
.sg-section__title--md { font-size: clamp(30px, 4vw, 46px); max-width: none; }
.sg-section__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.sg-section__side p { margin: 0; font-size: 14px; color: var(--sg-muted); max-width: 260px; text-align: right; }
@media (max-width: 640px) {
	.sg-section { padding: 56px 0; }
	.sg-section__side { align-items: flex-start; }
	.sg-section__side p { text-align: left; }
}

/* Grids */
.sg-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
@media (max-width: 1080px) { .sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
	.sg-grid .sg-card__title { font-size: 16px; }
	.sg-grid .sg-card__media .sg-pill { top: 8px; left: 8px; font-size: 11px; padding: 5px 9px; }
	.sg-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.sg-grid--3 .sg-card__title { font-size: 20px; }
}
@media (max-width: 340px) { .sg-grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   8. Cards
   ========================================================================== */
.sg-card { display: flex; flex-direction: column; gap: 12px; position: relative; }
.sg-card__media {
	position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--sg-tint);
}
.sg-grid--3 .sg-card__media { aspect-ratio: 3 / 2; }
.sg-card__media img, .sg-card__media .sg-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sg-ease); }
.sg-card:hover .sg-card__media img { transform: scale(1.04); }
.sg-card__media .sg-pill { position: absolute; top: 12px; left: 12px; z-index: 1; }
.sg-card__meta { margin: 0; font-size: 12px; color: var(--sg-muted); }
.sg-card__title { font-size: 19px; line-height: 1.2; letter-spacing: -.01em; font-weight: 700; }
.sg-grid--3 .sg-card__title { font-size: 21px; }
.sg-card__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--sg-ease); }
.sg-card__title a:hover { background-size: 100% 2px; }
.sg-card__excerpt { margin: 0; font-size: 15px; line-height: 1.55; color: var(--sg-muted); }

/* placeholder (no featured image) */
.sg-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--sg-ink); }
.sg-ph .sg-icon { width: 34%; height: 34%; max-width: 120px; max-height: 120px; opacity: .28; stroke-width: 1.1; }

/* Picks */
.sg-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .sg-picks { grid-template-columns: minmax(0, 1fr); } }
.sg-feature {
	border-radius: var(--sg-radius-l); overflow: hidden; background: var(--sg-accent-2); color: #fff;
	display: flex; flex-direction: column; min-height: 520px;
}
.sg-feature__media { flex: 1 1 auto; min-height: 260px; border-radius: 0 0 48px 0; overflow: hidden; position: relative; background: #FFD9C7; }
.sg-feature__media img, .sg-feature__media .sg-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sg-feature__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.sg-feature__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 12px; }
.sg-feature__title { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.05; text-transform: uppercase; }
.sg-feature__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.sg-mini-list { display: flex; flex-direction: column; gap: 16px; }
.sg-mini {
	display: flex; gap: 18px; align-items: stretch; background: #fff; border-radius: var(--sg-radius); padding: 12px;
	transition: box-shadow .25s;
}
.sg-mini:hover { box-shadow: var(--sg-shadow-soft); }
.sg-mini__media { flex: 0 0 132px; height: 132px; border-radius: var(--sg-radius-s); overflow: hidden; position: relative; }
.sg-mini__media img, .sg-mini__media .sg-ph { width: 100%; height: 100%; object-fit: cover; }
.sg-mini__body { display: flex; flex-direction: column; gap: 8px; justify-content: center; min-width: 0; }
.sg-mini__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--sg-muted); }
.sg-mini__title { font-size: 18px; line-height: 1.15; text-transform: uppercase; letter-spacing: -.01em; }
@media (max-width: 420px) { .sg-mini__media { flex-basis: 96px; height: 96px; } .sg-mini__title { font-size: 16px; } }

/* Topics */
.sg-topics__nav { display: flex; gap: 10px; }
.sg-topics {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.sg-topics::-webkit-scrollbar { display: none; }
@media (max-width: 1080px) { .sg-topics { grid-auto-columns: calc((100% - 16px) / 2); } }
@media (max-width: 560px) { .sg-topics { grid-auto-columns: 78%; } }
.sg-topic {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	aspect-ratio: 3 / 4; border-radius: var(--sg-radius); overflow: hidden; padding: 16px; scroll-snap-align: start;
}
.sg-topic > img, .sg-topic > .sg-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sg-ease); }
.sg-topic:hover > img { transform: scale(1.05); }
.sg-topic__label {
	position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px;
	background: var(--sg-ink); color: var(--sg-accent); border-radius: var(--sg-radius-s); padding: 12px 14px;
}
.sg-topic__name { display: block; font-family: var(--sg-font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; line-height: 1.15; }
.sg-topic__blurb { display: block; font-size: 12px; color: var(--sg-muted-dark); line-height: 1.4; margin-top: 2px; }
.sg-topic__label .sg-icon { font-size: 18px; transition: transform .25s var(--sg-ease); }
.sg-topic:hover .sg-topic__label .sg-icon { transform: rotate(45deg); }

/* Category block + most read */
.sg-split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.sg-split__main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.sg-split__side { flex: 1 1 300px; min-width: 0; }
.sg-block-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 2px solid var(--sg-ink); padding-bottom: 12px; }
.sg-block-head h2 { font-size: 28px; text-transform: uppercase; }
.sg-block-head a { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-decoration: underline; text-underline-offset: 4px; }
.sg-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.sg-row__media { flex: 0 0 200px; height: 140px; border-radius: 16px; overflow: hidden; position: relative; }
.sg-row__media img, .sg-row__media .sg-ph { width: 100%; height: 100%; object-fit: cover; }
.sg-row__body { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sg-row__title { font-size: 21px; line-height: 1.2; font-weight: 700; }
.sg-row__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 520px) { .sg-row__media { flex-basis: 100%; height: 200px; } }

.sg-most { background: var(--sg-ink); color: #fff; border-radius: var(--sg-radius-l); padding: 28px; }
.sg-most h2 { font-size: 22px; text-transform: uppercase; margin-bottom: 14px; }
.sg-most ol { list-style: none; margin: 0; padding: 0; }
.sg-most li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--sg-line-dark); }
.sg-most__n { font-family: var(--sg-font-display); font-weight: 900; font-size: 26px; line-height: 1; color: var(--sg-accent); min-width: 32px; }
.sg-most__t { display: flex; flex-direction: column; gap: 4px; }
.sg-most__t a { font-weight: 600; font-size: 15px; line-height: 1.35; }
.sg-most__t a:hover { color: var(--sg-accent); }
.sg-most__t span { font-size: 12px; color: var(--sg-muted-dark); }

/* Newsletter band */
.sg-nl { background: var(--sg-accent); color: var(--sg-ink); padding: 72px 0; position: relative; overflow: hidden; }
.sg-nl__squiggle { position: absolute; right: 6%; top: 28px; width: 220px; height: 120px; pointer-events: none; }
.sg-nl__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: end; }
@media (max-width: 860px) { .sg-nl__grid { grid-template-columns: minmax(0, 1fr); } .sg-nl__squiggle { display: none; } }
.sg-nl__title { font-weight: 900; font-size: clamp(34px, 4.6vw, 56px); line-height: .98; letter-spacing: -.03em; text-transform: uppercase; }
.sg-nl__text { margin: 14px 0 0; font-size: 16px; max-width: 46ch; }
.sg-nl__form { display: flex; flex-direction: column; gap: 10px; }
.sg-nl__form label { font-size: 14px; font-weight: 600; }
.sg-nl__field { display: flex; flex-wrap: wrap; gap: 10px; background: #fff; border-radius: var(--sg-pill); padding: 6px; }
.sg-nl__field input {
	flex: 1 1 200px; min-width: 0; height: 48px; border: 0; padding: 0 18px; background: transparent; color: var(--sg-ink); font-size: 16px; border-radius: var(--sg-pill); width: auto;
}
.sg-nl__btn {
	height: 48px; padding: 0 26px; border-radius: var(--sg-pill); border: 0; background: var(--sg-ink); color: #fff;
	font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; cursor: pointer;
}
.sg-nl__btn:hover { background: var(--sg-accent-2); }
.sg-nl__note { margin: 0; font-size: 13px; }
.sg-nl__note a { text-decoration: underline; }

/* ==========================================================================
   9. Archive / page headers
   ========================================================================== */
.sg-page-hero { background: var(--sg-ink); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.sg-page-hero__kicker { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-accent); }
.sg-page-hero__title { font-weight: 900; font-size: clamp(40px, 7vw, 96px); line-height: .92; letter-spacing: -.04em; text-transform: uppercase; color: var(--sg-soft); overflow-wrap: anywhere; }
.sg-page-hero__desc { margin: 18px 0 0; max-width: 60ch; color: var(--sg-muted-dark); font-size: 16px; }
.sg-page-hero__desc p:last-child { margin: 0; }
.sg-page-hero .search-form { margin-top: 26px; border-color: transparent; }
.sg-page-hero .sg-breadcrumbs { margin-bottom: 18px; color: var(--sg-muted-dark); }
.sg-page-hero .sg-breadcrumbs a:hover { color: #fff; }

.sg-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-muted); margin: 0 0 22px; font-family: var(--sg-font-body); }

/* Layout with sidebar */
.sg-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.sg-layout--right { grid-template-columns: minmax(0, 1fr) 320px; }
.sg-layout--left { grid-template-columns: 320px minmax(0, 1fr); }
.sg-layout--left .sg-sidebar { order: -1; }
@media (max-width: 1000px) {
	.sg-layout--right, .sg-layout--left { grid-template-columns: minmax(0, 1fr); }
	.sg-layout--left .sg-sidebar { order: 0; }
}
.sg-layout--right .sg-grid--3, .sg-layout--left .sg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .sg-layout--right .sg-grid--3, .sg-layout--left .sg-grid--3 { grid-template-columns: minmax(0, 1fr); } }

/* Pagination */
.sg-pagination { margin-top: 56px; }
.sg-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sg-pagination .page-numbers {
	min-width: 46px; height: 46px; padding: 0 16px; border-radius: var(--sg-pill); border: 1px solid var(--sg-line);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.sg-pagination .page-numbers.current { background: var(--sg-ink); color: #fff; border-color: var(--sg-ink); }
.sg-pagination a.page-numbers:hover { border-color: var(--sg-ink); }

/* ==========================================================================
   10. Sidebar + widgets
   ========================================================================== */
.sg-sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { font-size: 15px; }
.widget-title {
	font-size: 18px; text-transform: uppercase; margin: 0 0 14px; letter-spacing: -.01em;
}
.sg-sidebar .widget { border: 1px solid var(--sg-line); border-radius: var(--sg-radius-l); padding: 24px; }
.sg-sidebar .widget.sg-w-dark, .sg-sidebar .widget.sg-w-accent, .sg-sidebar .widget.sg-w-plain { border: 0; }
.sg-sidebar .widget.sg-w-dark { background: var(--sg-ink); color: #fff; }
.sg-sidebar .widget.sg-w-accent { background: var(--sg-accent); color: var(--sg-ink); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-top: 1px solid var(--sg-line); }
.widget li:first-child { border-top: 0; }
.widget a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sg-w-dark li { border-color: var(--sg-line-dark); }
.sg-w-dark .sg-most { padding: 0; border-radius: 0; }
.widget .search-form { border-color: var(--sg-line); }

.sg-w-about__logo { margin-bottom: 12px; }
.sg-w-social { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-w-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sg-line); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.sg-w-social a:hover { background: var(--sg-ink); color: #fff; border-color: var(--sg-ink); text-decoration: none; }
.site-footer .sg-w-social a { border-color: var(--sg-border-dark); }
.site-footer .sg-w-social a:hover { background: var(--sg-accent); color: var(--sg-ink); border-color: var(--sg-accent); }

.sg-w-nl form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.sg-w-nl input[type="email"] { border-radius: var(--sg-pill); border: 0; height: 48px; }
.sg-w-nl button { height: 48px; border: 0; border-radius: var(--sg-pill); background: var(--sg-ink); color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 13px; cursor: pointer; }
.sg-w-nl button:hover { background: var(--sg-accent-2); }
.sg-w-nl p { margin: 0; }
.sg-sidebar .sg-nl__field, .site-footer .sg-nl__field { flex-direction: column; border-radius: 20px; }
.sg-sidebar .sg-nl__field input, .site-footer .sg-nl__field input { flex: 0 0 auto; width: 100%; }
.sg-sidebar .sg-nl__btn, .site-footer .sg-nl__btn { width: 100%; }
.sg-nl__btn:disabled { opacity: .55; cursor: not-allowed; }

.sg-w-nl .sg-small { font-size: 12px; margin-top: 6px; }

.sg-w-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sg-w-topics a { border-radius: var(--sg-radius-s); padding: 14px 12px; font-family: var(--sg-font-display); font-weight: 800; text-transform: uppercase; font-size: 14px; line-height: 1.2; color: var(--sg-ink); display: flex; flex-direction: column; gap: 6px; min-height: 76px; justify-content: space-between; }
.sg-w-topics a:hover { text-decoration: none; filter: brightness(.96); }
.sg-w-topics small { font-family: var(--sg-font-body); font-weight: 600; font-size: 12px; text-transform: none; }

.sg-w-feature { display: flex; flex-direction: column; gap: 12px; }
.sg-w-feature__media { aspect-ratio: 4 / 3; border-radius: var(--sg-radius-s); overflow: hidden; }
.sg-w-feature__media img, .sg-w-feature__media .sg-ph { width: 100%; height: 100%; object-fit: cover; }
.sg-w-feature h3 { font-size: 19px; line-height: 1.2; }

.sg-w-posts li { display: flex; gap: 12px; align-items: center; }
.sg-w-posts__thumb { flex: 0 0 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.sg-w-posts__thumb img, .sg-w-posts__thumb .sg-ph { width: 100%; height: 100%; object-fit: cover; }

/* below header / after post / footer bar areas */
.sg-area-below-header { padding: 18px 0; border-bottom: 1px solid var(--sg-line); }
.sg-area-after-post { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }

/* ==========================================================================
   11. Single post
   ========================================================================== */
.sg-entry-head { padding: 48px 0 32px; }
.sg-breadcrumbs { font-size: 13px; color: var(--sg-muted); margin: 0 0 22px; }
.sg-breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(95,94,107,.4); }
.sg-breadcrumbs a:hover { text-decoration-color: currentColor; }
.sg-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sg-breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.sg-entry-kicker { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.entry-title {
	font-size: clamp(34px, 5vw, 62px); line-height: 1.02; letter-spacing: -.035em; max-width: 20ch;
}
.sg-entry-dek { margin: 20px 0 0; font-size: 20px; line-height: 1.5; color: var(--sg-muted); max-width: 62ch; }
.sg-entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; font-size: 14px; color: var(--sg-muted); }
.sg-entry-meta__author { display: inline-flex; align-items: center; gap: 10px; color: var(--sg-ink); font-weight: 600; }
.sg-entry-meta__author .sg-avatar { flex: 0 0 40px; width: 40px; height: 40px; }
.sg-entry-meta__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--sg-line); }
.sg-updated { color: var(--sg-ink); font-weight: 600; }

.sg-avatar { border-radius: 50%; overflow: hidden; flex: none; display: inline-block; }
.sg-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sg-entry-media { margin: 0 0 48px; }
.sg-entry-media__frame { border-radius: var(--sg-radius-l); overflow: hidden; background: var(--sg-tint); }
.sg-entry-media img { width: 100%; height: auto; max-height: 720px; object-fit: cover; }
.sg-entry-media figcaption { font-size: 13px; color: var(--sg-muted); margin-top: 10px; }

.sg-entry-wrap { padding-bottom: 72px; }
.sg-entry-body { min-width: 0; max-width: var(--sg-narrow); }
.sg-layout--none .sg-entry-body { margin: 0 auto; }

/* Content typography */
.entry-content { font-size: 18px; line-height: 1.72; overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 0; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; scroll-margin-top: 110px; }
.entry-content h3 { font-size: 23px; line-height: 1.2; scroll-margin-top: 110px; }
.entry-content h4 { font-size: 19px; }
.entry-content > h2 { margin-top: 1.8em; }
.entry-content > h3, .entry-content > h4 { margin-top: 1.5em; }
.entry-content > h2 + *, .entry-content > h3 + *, .entry-content > h4 + * { margin-top: .6em; }
.entry-content > .sg-toc + h2 { margin-top: 1em; }
.entry-content a { color: var(--sg-accent-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-thickness: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .45em; }
.entry-content ul li::marker { color: var(--sg-accent-2); }
.entry-content blockquote {
	margin-left: 0; margin-right: 0; padding: 4px 0 4px 26px; border-left: 4px solid var(--sg-accent);
	font-family: var(--sg-font-display); font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em;
}
.entry-content blockquote p { margin: 0; }
.entry-content blockquote cite { display: block; margin-top: 10px; font-family: var(--sg-font-body); font-size: 14px; font-weight: 500; font-style: normal; color: var(--sg-muted); }
.entry-content img { border-radius: var(--sg-radius); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .wp-caption-text, .wp-element-caption { font-size: 14px; color: var(--sg-muted); margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--sg-line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--sg-tint); font-weight: 700; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content hr { border: 0; height: 2px; background: var(--sg-line); margin: 2.4em 0; }
.entry-content code { background: var(--sg-tint); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.entry-content pre { background: var(--sg-ink); color: #fff; padding: 20px; border-radius: var(--sg-radius-s); overflow-x: auto; }
.alignleft { float: left; margin: .4em 1.5em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide { max-width: none; }
.wp-block-button__link { border-radius: var(--sg-pill); background: var(--sg-ink); color: #fff !important; text-decoration: none !important; padding: 14px 26px; font-weight: 700; }
.sticky, .bypostauthor, .gallery-caption { display: revert; }

/* TOC */
.sg-toc { border: 1px solid var(--sg-line); border-radius: var(--sg-radius); padding: 0; background: var(--sg-tint); margin: 0 0 2em; }
.sg-toc summary {
	cursor: pointer; list-style: none; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
	font-family: var(--sg-font-display); font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: .02em;
}
.sg-toc summary::-webkit-details-marker { display: none; }
.sg-toc summary .sg-icon { transition: transform .2s; }
.sg-toc[open] summary .sg-icon { transform: rotate(180deg); }
.sg-toc ol { margin: 0; padding: 0 22px 20px 44px; font-size: 16px; line-height: 1.45; }
.sg-toc ol ol { padding: 6px 0 0 20px; list-style: lower-alpha; }
.sg-toc li + li { margin-top: 8px; }
.entry-content .sg-toc a { color: var(--sg-ink); text-decoration: none; }
.entry-content .sg-toc a:hover { text-decoration: underline; }

/* Tags */
.sg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.sg-tags a { border: 1px solid var(--sg-line); border-radius: var(--sg-pill); padding: 6px 14px; font-size: 13px; font-weight: 600; }
.sg-tags a:hover { border-color: var(--sg-ink); }

/* Author box */
.sg-author-box {
	display: flex; gap: 22px; align-items: flex-start; margin-top: 48px; padding: 28px; border-radius: var(--sg-radius-l);
	background: var(--sg-ink); color: #fff;
}
.sg-author-box .sg-avatar { flex: 0 0 88px; width: 88px; height: 88px; border: 3px solid var(--sg-accent); }
.sg-author-box__body { min-width: 0; flex: 1 1 auto; }
.sg-author-box__label { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-accent); }
.sg-author-box__name { font-size: 22px; margin: 0 0 8px; }
.sg-author-box__bio { margin: 0; color: #D6D5E0; font-size: 15px; line-height: 1.6; }
.sg-author-box__links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.sg-author-box__links a { color: var(--sg-accent); }
.sg-author-box__links a:hover { text-decoration: underline; }
@media (max-width: 520px) { .sg-author-box { flex-direction: column; } }

/* Post nav */
.sg-post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.sg-post-nav a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border: 1px solid var(--sg-line); border-radius: var(--sg-radius); }
.sg-post-nav a:hover { border-color: var(--sg-ink); }
.sg-post-nav span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-muted); }
.sg-post-nav strong { font-family: var(--sg-font-display); font-size: 17px; line-height: 1.25; }
.sg-post-nav__next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .sg-post-nav { grid-template-columns: minmax(0, 1fr); } .sg-post-nav__next { grid-column: 1; } }

/* Related */
.sg-related { background: var(--sg-tint); padding: 72px 0; }
.sg-related .sg-section__title { margin-bottom: 32px; font-size: clamp(30px, 4vw, 46px); max-width: none; }

/* Comments */
.sg-comments { padding: 64px 0; }
.sg-comments__title { font-size: 28px; text-transform: uppercase; margin-bottom: 24px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 20px 0; border-top: 1px solid var(--sg-line); }
.comment-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; color: var(--sg-muted); }
.comment-author { display: flex; align-items: center; gap: 10px; color: var(--sg-ink); }
.comment-author img { border-radius: 50%; width: 40px; height: 40px; }
.comment-author .says { display: none; }
.comment-content { margin-top: 10px; }
.comment-reply-link { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--sg-accent-2); }
.comment-respond { background: var(--sg-tint); border-radius: var(--sg-radius-l); padding: 28px; }
.comment-reply-title { font-size: 22px; text-transform: uppercase; margin-bottom: 12px; }
.comment-form p { margin: 0 0 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ==========================================================================
   12. Shortcode components
   ========================================================================== */
.entry-content .sg-box, .sg-box {
	border-radius: var(--sg-radius); padding: 22px 24px; background: var(--sg-tint); border: 1px solid var(--sg-line);
}
.sg-box__title { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--sg-font-display); font-weight: 800; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; }
.sg-box__title .sg-icon { font-size: 20px; }
.sg-box__body > * + * { margin-top: .8em; }
.sg-box__body p { margin: 0; }
.sg-box--answer { background: var(--sg-ink); color: #fff; border-color: var(--sg-ink); }
.sg-box--answer .sg-box__title { color: var(--sg-accent); }
.entry-content .sg-box--answer a { color: var(--sg-accent); }
.sg-box--tip { background: #EEFBC8; border-color: #D9EE96; }
.sg-box--note { background: var(--sg-tint); }
.sg-box--warning { background: #FFE9DF; border-color: #FFCDB8; }
.sg-takeaways ul { list-style: none; padding: 0; margin: 0; }
.sg-takeaways li { position: relative; padding-left: 32px; }
.sg-takeaways li + li { margin-top: 10px; }
.sg-takeaways li::before {
	content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
	background: var(--sg-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0B0F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.entry-content .sg-quote {
	margin: 2em 0; padding: 32px; border: 0; border-radius: var(--sg-radius-l); background: var(--sg-accent-2); color: #fff;
	font-family: var(--sg-font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: -.01em;
}
.entry-content .sg-quote p { margin: 0; }
.entry-content .sg-quote cite { color: var(--sg-soft); font-family: var(--sg-font-body); font-size: 14px; text-transform: none; font-weight: 600; margin-top: 14px; display: block; }

.entry-content .sg-readnext {
	display: flex; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--sg-line); border-radius: var(--sg-radius);
	text-decoration: none; color: var(--sg-ink); background: #fff;
}
.entry-content .sg-readnext:hover { border-color: var(--sg-ink); }
.sg-readnext__media { flex: 0 0 96px; height: 96px; border-radius: 12px; overflow: hidden; }
.sg-readnext__media img, .sg-readnext__media .sg-ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.sg-readnext__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-accent-2); }
.sg-readnext__title { display: block; font-family: var(--sg-font-display); font-weight: 800; font-size: 19px; line-height: 1.2; margin-top: 4px; }

.sg-recipe { border-radius: var(--sg-radius-l); overflow: hidden; border: 1px solid var(--sg-line); }
.sg-recipe__head { background: var(--sg-ink); color: #fff; padding: 24px 26px; }
.sg-recipe__kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-accent); }
.entry-content .sg-recipe__title { font-size: 26px; margin: 0; text-transform: uppercase; }
.sg-recipe__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.entry-content .sg-recipe__facts li { margin: 0; background: #1C1C24; border-radius: var(--sg-pill); padding: 6px 14px; font-size: 13px; }
.sg-recipe__facts strong { color: var(--sg-accent); margin-right: 4px; }
.sg-recipe__cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 0; }
.sg-recipe__cols > div { padding: 24px 26px; }
.sg-recipe__cols > div + div { border-left: 1px solid var(--sg-line); }
@media (max-width: 640px) { .sg-recipe__cols { grid-template-columns: minmax(0, 1fr); } .sg-recipe__cols > div + div { border-left: 0; border-top: 1px solid var(--sg-line); } }
.entry-content .sg-recipe h3 { font-size: 17px; text-transform: uppercase; margin: 0 0 12px; }
.sg-recipe__ing { list-style: none; padding: 0 !important; margin: 0; }
.sg-recipe__ing li { padding: 8px 0; border-top: 1px solid var(--sg-line); font-size: 16px; }
.entry-content .sg-recipe__ing li + li { margin-top: 0; }
.sg-recipe__steps { counter-reset: sgstep; list-style: none; padding: 0 !important; margin: 0; }
.sg-recipe__steps li { counter-increment: sgstep; position: relative; padding-left: 44px; font-size: 16px; }
.sg-recipe__steps li + li { margin-top: 14px; }
.sg-recipe__steps li::before {
	content: counter(sgstep); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
	background: var(--sg-accent); color: var(--sg-ink); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.sg-recipe__notes { padding: 18px 26px; background: var(--sg-tint); font-size: 15px; border-top: 1px solid var(--sg-line); }
.sg-recipe__notes p { margin: 0; }

.sg-picks-box { border-radius: var(--sg-radius-l); background: var(--sg-tint); padding: 24px; }
.entry-content .sg-picks-box__title { font-size: 20px; text-transform: uppercase; margin: 0 0 14px; }
.sg-picks-box ul { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 10px; }
.entry-content .sg-picks-box li { margin: 0; background: #fff; border-radius: var(--sg-radius-s); padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; }
.sg-picks-box__name { font-weight: 700; }
.sg-picks-box__note { display: block; font-size: 14px; color: var(--sg-muted); font-weight: 400; }
.sg-picks-box__price { font-weight: 700; font-size: 15px; }
.entry-content .sg-picks-box a.sg-picks-box__go { display: inline-flex; align-items: center; gap: 6px; background: var(--sg-ink); color: #fff; text-decoration: none; padding: 8px 16px; border-radius: var(--sg-pill); font-size: 13px; font-weight: 700; }
.entry-content .sg-picks-box a.sg-picks-box__go:hover { background: var(--sg-accent-2); }
.sg-picks-box__disc { margin: 12px 0 0; font-size: 13px; color: var(--sg-muted); }

/* ==========================================================================
   13. 404 / none
   ========================================================================== */
.sg-404__word { font-family: var(--sg-font-display); font-weight: 900; font-size: clamp(120px, 26vw, 320px); line-height: .8; letter-spacing: -.06em; color: var(--sg-soft); margin: 0 0 18px; }
.sg-none { padding: 40px 0; }
.sg-none h2 { font-size: 28px; text-transform: uppercase; margin-bottom: 12px; }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer { background: var(--sg-ink); color: #fff; padding: 64px 0 0; }
.sg-footer__cols { display: grid; gap: 36px; padding-bottom: 48px; grid-template-columns: repeat(var(--sg-fcols, 4), minmax(0, 1fr)); }
@media (max-width: 900px) { .sg-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sg-footer__cols { grid-template-columns: minmax(0, 1fr); } }
.site-footer .widget-title, .sg-footer__h { font-family: var(--sg-font-body); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-accent); margin: 0 0 14px; }
.site-footer .widget li { border: 0; padding: 5px 0; }
.site-footer .widget, .site-footer p { color: #D6D5E0; font-size: 14px; }
.site-footer a:hover { color: var(--sg-accent); text-decoration: none; }
.site-footer .sg-btn__dot, .sg-dark .sg-link-arrow .sg-btn__dot, .sg-w-dark .sg-btn__dot { background: var(--sg-accent); color: var(--sg-ink); }
.sg-footer__brand .site-title { font-size: 20px; color: #fff; margin-bottom: 14px; }
.sg-footer__bar {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center;
	border-top: 1px solid var(--sg-line-dark); padding: 20px 0; font-size: 13px; color: var(--sg-muted-dark);
}
.sg-footer__bar p { margin: 0; color: var(--sg-muted-dark); font-size: 13px; }
.sg-footer__bar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }
.sg-footer__bar .widget { color: var(--sg-muted-dark); }

/* Back to top */
.sg-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; border: 0;
	background: var(--sg-accent); color: var(--sg-ink); display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
	cursor: pointer; box-shadow: var(--sg-shadow-soft); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.sg-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* Print */
@media print {
	.site-header, .site-footer, .sg-sidebar, .sg-related, .sg-comments, .sg-top, .sg-nl, .sg-post-nav, .sg-toc { display: none !important; }
	body { font-size: 12pt; }
}

/* ==========================================================================
   15. Fixes and small-screen tweaks
   ========================================================================== */
.entry-content .sg-recipe__facts, .entry-content .sg-recipe__ing, .entry-content .sg-recipe__steps, .entry-content .sg-takeaways ul, .entry-content .sg-picks-box ul { padding-left: 0; }
.sg-w-about__logo .site-branding, .sg-footer__brand .site-branding { justify-content: flex-start; }
@media (max-width: 600px) {
	.sg-entry-meta { gap: 8px 16px; }
	.sg-entry-meta__sep { display: none; }
	.sg-entry-meta__author { flex-basis: 100%; }
	.sg-entry-head { padding-top: 32px; }
	.sg-entry-dek { font-size: 18px; }
}
.search-form .search-field { border: 0; border-radius: var(--sg-pill); background: transparent; }
