/* ==========================================================================
   Groggar – stilar
   Färger från loggan och det gamla temat: skiffer #2B3542, svart #1D1D1D, gul #F2C200
   ========================================================================== */

@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/roboto-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/roboto-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/roboto-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto Slab"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/roboto-slab-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Roboto Slab"; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/roboto-slab-latin-800-normal.woff2) format("woff2"); }

:root {
	--slate: #2b3542;
	--ink: #1d1d1d;
	--yellow: #f2c200;
	--yellow-soft: #fff6d6;
	--bg: #f5f6f8;
	--surface: #fff;
	--line: #e3e6eb;
	--line-strong: #c9cfd8;
	--muted: #5b6573;
	--text-2: #4a5462;
	--on-dark: #d5dae1;
	--radius: 16px;
	--radius-lg: 20px;
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-head: "Roboto Slab", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--slate); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
.h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 3vw, 30px); margin: 0 0 16px; }
.h3 { font-family: var(--font-head); font-weight: 800; font-size: 21px; margin: 0 0 10px; }
.icon { flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; clip-path: none; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 10px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; }
.button--slate { background: var(--slate); color: #fff; }
.button--slate:hover { background: var(--ink); color: #fff; }
.button--outline { border-color: var(--slate); color: var(--slate); background: transparent; }
.button--outline:hover { background: var(--slate); color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--slate); color: #fff; position: relative; z-index: 50; }
.site-header__inner { display: flex; align-items: center; gap: 12px 32px; min-height: 84px; padding-block: 14px; }
.site-logo { display: block; flex: none; }
.site-logo__img { display: block; height: 52px; width: auto; }
.main-nav { flex: 1; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 12px; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: #c9cfd8; text-decoration: none; border-radius: 6px; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current-cat > a { color: #fff; }
.main-nav .current-menu-item > a, .main-nav .current-cat > a { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.main-nav .menu-item-has-children > a::after, .main-nav .cat-item:has(> .children) > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.main-nav .sub-menu, .main-nav .children { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--ink); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.25); display: none; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav li:hover > .children, .main-nav li:focus-within > .children { display: block; }
.main-nav .sub-menu a, .main-nav .children a { text-transform: none; letter-spacing: 0; font-family: var(--font); font-weight: 500; font-size: 15px; }

.icon-button { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-button:hover { border-color: #fff; }
.site-header__toggle { display: none; margin-left: auto; }
.site-header__toggle .when-open { display: none; }
.site-header__toggle[aria-expanded="true"] .when-open { display: inline-flex; }
.site-header__toggle[aria-expanded="true"] .when-closed { display: none; }
.site-header__toggle span { display: inline-flex; }
.search-panel { background: var(--ink); padding: 16px 0; }
.search-panel .searchbox { max-width: 720px; margin: 0 auto; }

@media (max-width: 960px) {
	.site-header__inner { flex-wrap: wrap; min-height: 72px; }
	.site-logo__img { height: 42px; }
	.site-header__toggle { display: inline-flex; }
	.main-nav { display: none; order: 3; flex-basis: 100%; padding-bottom: 8px; }
	.main-nav.is-open { display: block; }
	.main-nav .menu { flex-direction: column; }
	.main-nav a { padding: 12px 4px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.08); }
	.main-nav .sub-menu, .main-nav .children { position: static; display: block; background: transparent; box-shadow: none; padding: 0 0 0 16px; }
	.main-nav .menu-item-has-children > a::after, .main-nav .cat-item:has(> .children) > a::after { display: none; }
}

/* ---------- Sök ---------- */
.searchbox { display: flex; gap: 8px; background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; padding: 6px; max-width: 600px; }
.searchbox__input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 17px; padding: 10px 12px; background: transparent; color: var(--slate); }
.searchbox:focus-within { outline: 3px solid var(--yellow); outline-offset: 1px; }
.searchbox__button { border: 0; border-radius: 8px; background: var(--yellow); color: var(--ink); font: inherit; font-weight: 700; font-size: 16px; padding: 0 24px; min-height: 46px; cursor: pointer; }
.searchbox__button:hover { background: #ffd21f; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips__label { font-size: 14px; color: var(--on-dark); margin-right: 4px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; min-height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: #fff; text-decoration: none; font-size: 14px; }
.chip:hover { background: rgba(255,255,255,.1); color: #fff; }
.chip--light { border: 0; background: #e8ebef; color: var(--slate); font-weight: 500; }
.chip--light:hover { background: var(--yellow-soft); color: var(--ink); }
.chip__count { opacity: .65; font-size: 13px; }
.badge { align-self: flex-start; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* ---------- Startsidan ---------- */
.hero { background: var(--slate); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: clamp(40px, 7vw, 72px) clamp(48px, 8vw, 88px); }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__title { font-weight: 800; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -.02em; }
.hero__mark { color: var(--yellow); }
.hero__lead { margin: 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--on-dark); max-width: 560px; }
.weekly { flex: 1 1 340px; min-width: 0; max-width: 460px; display: flex; flex-direction: column; background: #fff; color: var(--slate); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; border-top: 6px solid var(--yellow); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.weekly:hover { color: var(--slate); transform: translateY(-2px); transition: transform .15s; }
.weekly__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.weekly__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.weekly__title { font-family: var(--font-head); font-weight: 800; font-size: 34px; line-height: 1.1; }
.weekly__list { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; }
.weekly__row { display: flex; justify-content: space-between; gap: 16px; }
.weekly__row strong { white-space: nowrap; }
.weekly__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

.section { padding-block: clamp(48px, 7vw, 72px) 0; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 24px; }
.section__title { font-weight: 800; font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 24px; }
.section__head .section__title { margin: 0; }
.section__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }

.popular { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.popular__link { display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--slate); height: 100%; }
.popular__link:hover { border-color: var(--slate); color: var(--slate); }
.popular__rank { flex: none; width: 28px; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 26px; color: #8a93a0; }
.popular__img { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--yellow-soft); display: flex; align-items: center; justify-content: center; }
.popular__img img { width: 100%; height: 100%; object-fit: cover; }
.popular__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.popular__name { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.2; }
.popular__desc { font-size: 14px; color: var(--muted); }

.spirits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.spirit { display: flex; flex-direction: column; gap: 6px; padding: 22px; min-height: 160px; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--slate); }
.spirit:hover { border-color: var(--slate); color: var(--slate); }
.spirit__icon { width: 52px; height: 52px; border-radius: 999px; background: var(--slate); color: var(--yellow); display: flex; align-items: center; justify-content: center; margin-bottom: auto; }
.spirit__name { font-family: var(--font-head); font-weight: 700; font-size: 21px; margin-top: 18px; }
.spirit__sub { font-size: 13px; color: var(--muted); }

.themes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.theme { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; }
.theme--slate, .theme--slate:hover { background: var(--slate); color: #fff; }
.theme--dark, .theme--dark:hover { background: var(--ink); color: #fff; }
.theme--yellow, .theme--yellow:hover { background: var(--yellow); color: var(--ink); }
.theme:hover .theme__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.theme:hover .theme__img { transform: scale(1.03); }
.theme__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .3s; }
.theme__icon { display: flex; padding: 32px 24px 48px; color: var(--yellow); }
.theme--yellow .theme__icon { color: var(--ink); }
.theme__body { padding: 20px 24px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; }
.theme__title { display: block; font-family: var(--font-head); font-weight: 800; font-size: 26px; }
.theme__text { font-size: 15px; opacity: .85; }
.theme--slate .icon--arrow, .theme--dark .icon--arrow { color: var(--yellow); }

.cta { background: var(--yellow); color: var(--ink); margin-top: clamp(56px, 8vw, 88px); }
.cta__inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-block: 56px; }
.cta__text { flex: 1 1 420px; }
.cta__title { font-weight: 800; font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 8px; }
.cta__text p { margin: 0; font-size: 17px; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.ad-slot { margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.ad-slot__title { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.recipe-side .ad-slot { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #bbb; font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: center; padding-block: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 4px; }
.site-footer__name { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: #fff; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-menu a, .footer-menu a:hover { color: #fff; }
.footer-menu a:hover { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

/* ---------- Brödsmulor ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); padding-block: 24px; }
.crumbs a { color: var(--muted); }

/* ---------- Receptsidan ---------- */
.recipe-page { padding-bottom: 24px; }
.recipe-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.recipe { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.recipe-side { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.recipe__header { display: flex; flex-direction: column; gap: 16px; }
.recipe__title { font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -.02em; }
.recipe__intro { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 680px; }
.recipe__intro p { margin: 0 0 12px; }
.recipe__intro p:last-child { margin-bottom: 0; }
.recipe__meta { margin: 0; font-size: 14px; color: var(--muted); }
.recipe-side__image { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.recipe-side__image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 0; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.fact dt { font-size: 13px; color: var(--muted); }
.fact dd { margin: 2px 0 0; font-weight: 700; font-size: 17px; }

.ingredients { background: var(--slate); color: #fff; border-radius: var(--radius-lg); padding: 26px 28px; }
.ingredients__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.ingredients__title { font-weight: 800; font-size: 26px; }
.ingredients__list { list-style: none; margin: 0; padding: 0; }
.ingredients__row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: 17px; }
.ingredients__qty { font-weight: 700; color: var(--yellow); white-space: nowrap; text-align: right; }
.ingredients__note { margin: 12px 0 0; font-size: 14px; color: var(--on-dark); }
.stepper { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 4px; }
.stepper__btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.stepper__btn:hover { background: rgba(255,255,255,.12); }
.stepper__btn--plus { background: var(--yellow); color: var(--ink); }
.stepper__btn--plus:hover { background: #ffd21f; }
.stepper__btn:disabled { opacity: .35; cursor: default; }
.stepper__value { min-width: 84px; text-align: center; font-weight: 700; font-size: 15px; }

.recipe__aside-mobile { display: none; }
@media (max-width: 960px) {
	.recipe-layout { gap: 24px; }
	.recipe-side { order: -1; flex-basis: 100%; }
	.recipe-side .related, .recipe-side .ad-slot { display: none; }
	.recipe__aside-desktop { display: none; }
	.recipe__aside-mobile { display: block; }
	.recipe-side__image img { aspect-ratio: 16 / 9; }
	.recipe-page .crumbs { padding-bottom: 12px; }
}

.steps__list { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.steps__item { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 18px 72px; font-size: 17px; min-height: 76px; display: flex; align-items: center; }
.steps__item::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 40px; height: 40px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; display: flex; align-items: center; justify-content: center; }

.more { display: flex; flex-direction: column; gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; }
.prose { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 14px; }
.prose h2, .prose h3, .prose h4 { color: var(--slate); margin: 28px 0 10px; }
.prose h2 { font-size: 28px; } .prose h3 { font-size: 22px; } .prose h4 { font-size: 18px; }
.prose a { color: var(--slate); font-weight: 500; }
.prose img { border-radius: 12px; }
.prose blockquote { border-left: 4px solid var(--yellow); padding-left: 16px; font-style: italic; }
.prose figure { margin: 0 0 16px; }
.prose iframe, .prose .wp-block-embed iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: var(--ink); }
.prose .wp-block-embed { margin: 4px 0 20px; }
.prose .wp-block-embed__wrapper { position: static; }
.prose .wp-block-embed__wrapper::before { display: none; }

.related { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.related__list { list-style: none; margin: 0; padding: 0; }
.related__link { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #eef0f3; text-decoration: none; font-weight: 700; color: var(--slate); }
.related__img { flex: none; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--yellow-soft); color: var(--slate); display: flex; align-items: center; justify-content: center; }
.related__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related__link:hover span { text-decoration: underline; }

/* ---------- Kommentarer ---------- */
.comments { border-top: 1px solid var(--line); padding-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.comments__title { margin: 0; }
.comments__empty { margin: 0; color: var(--text-2); }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list { display: flex; flex-direction: column; gap: 4px; }
.comment-list .children { margin: 4px 0 0 52px; padding-left: 16px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.comment__card { display: flex; gap: 14px; padding: 14px 0; }
.comment__avatar { flex: none; width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.comment__avatar--0 { background: var(--slate); color: #fff; }
.comment__avatar--1 { background: var(--yellow); color: var(--ink); }
.comment__avatar--2 { background: #e8ebef; color: var(--slate); }
.comment__avatar--3 { background: var(--ink); color: var(--yellow); }
.comment__main { flex: 1; min-width: 0; }
.comment__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.comment__author { font-weight: 700; }
.comment__badge { font-size: 12px; font-weight: 700; background: var(--yellow); color: var(--ink); padding: 1px 8px; border-radius: 999px; }
.comment__time { font-size: 13px; color: var(--muted); text-decoration: none; }
.comment__time:hover { text-decoration: underline; color: var(--slate); }
.comment__pending { margin: 6px 0 0; font-size: 14px; color: var(--muted); font-style: italic; }
.comment__text { margin-top: 4px; color: var(--text-2); overflow-wrap: anywhere; }
.comment__text p { margin: 0 0 8px; }
.comment__text p:last-child { margin-bottom: 0; }
.comment__reply { margin-top: 6px; }
.comment__reply a { font-size: 14px; font-weight: 700; text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.comment__reply a:hover { text-decoration: underline; }

.comment-respond { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.comment-list .comment-respond { margin: 8px 0 12px; }
.comment-reply-title { font-family: var(--font-head); font-weight: 800; font-size: 20px; margin: 0 0 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.comment-reply-title small a { font-family: var(--font); font-size: 14px; font-weight: 500; }
.comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin: 0; }
.comment-form > * { grid-column: 1 / -1; margin: 0; }
.comment-form > .comment-form-author, .comment-form > .comment-form-email { grid-column: auto; }
.comment-form p { display: flex; flex-direction: column; gap: 4px; }
.comment-form label { font-weight: 700; font-size: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { font: inherit; font-size: 16px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 14px; background: var(--bg); width: 100%; }
.comment-form input:focus, .comment-form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; background: #fff; border-color: var(--slate); }
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; gap: 8px; }
.comment-form .comment-form-cookies-consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--slate); }
.comment-form .comment-form-cookies-consent label { font-weight: 400; font-size: 14px; color: var(--text-2); }
.comment-form .logged-in-as { font-size: 14px; color: var(--muted); }
.comment-form .form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.comment-form__note { font-size: 13px; color: var(--muted); }
@media (max-width: 560px) {
	.comment-form > .comment-form-author, .comment-form > .comment-form-email { grid-column: 1 / -1; }
	.comment-list .children { margin-left: 18px; padding-left: 12px; }
	.comment-respond { padding: 18px; }
}

/* ---------- Stjärnbetyg, delning ---------- */
.recipe__stars { color: var(--muted); text-decoration: none; }
.recipe__stars:hover { color: var(--slate); text-decoration: underline; }
.ingredients__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
.ingredients__action { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.ingredients__action:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.ingredients__feedback { font-size: 14px; color: var(--yellow); font-weight: 700; }
.rating { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
.rating__title { margin: 0 0 4px; font-weight: 700; font-size: 15px; }
.rating__stars { display: flex; gap: 2px; }
.rating__star { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); border-radius: 8px; }
.rating__star svg { fill: currentColor; }
.rating__star.is-on { color: var(--yellow); }
.rating__star:disabled { cursor: default; }
.rating__summary { margin: 4px 0 0; font-size: 14px; color: var(--on-dark); min-height: 1.4em; }

/* ---------- Startsidan: säsong, ingång ---------- */
.eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.section__head .eyebrow + .section__title { margin: 0; }
.grid--four { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.season .card__link { border-color: transparent; box-shadow: 0 1px 0 var(--line); }
.promo { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--slate); color: #fff; text-decoration: none; }
.promo:hover { color: #fff; background: #333f4f; }
.promo__icon { flex: none; width: 64px; height: 64px; border-radius: 999px; background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.promo__text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 2px; }
.promo__title { font-family: var(--font-head); font-weight: 800; font-size: 26px; }
.promo__sub { color: var(--on-dark); }
.promo__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 10px; background: var(--yellow); color: var(--ink); font-weight: 700; }

/* ---------- Receptsidan: samma ingrediens ---------- */
.same-ingredient .section__head { margin-bottom: 16px; }
.same-ingredient .h2 { margin: 0; }
.same-ingredient .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.same-ingredient .card__body { padding: 12px 14px 14px; }
.same-ingredient .card__title { font-size: 17px; }

/* ---------- Vad har du hemma? ---------- */
.hemma { display: flex; flex-direction: column; gap: 20px; }
.hemma__intro { margin: 0; font-size: 18px; color: var(--text-2); }
.hemma__picker { display: flex; flex-direction: column; gap: 18px; }
.hemma__shelf { border: 0; margin: 0; padding: 0; }
.hemma__legend { font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-bottom: 10px; padding: 0; }
.hemma__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hemma__chip { position: relative; }
.hemma__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hemma__chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); font-size: 15px; cursor: pointer; user-select: none; }
.hemma__chip span:hover { border-color: var(--slate); }
.hemma__chip input:checked + span { background: var(--slate); border-color: var(--slate); color: #fff; }
.hemma__chip input:checked + span::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(-45deg) translateY(-2px); }
.hemma__chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.hemma__bar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 14px; }
.hemma__status { margin: 0; font-weight: 700; }
.hemma__clear { border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; border-radius: 999px; min-height: 40px; padding: 0 16px; font: inherit; cursor: pointer; }
.hemma__results { display: flex; flex-direction: column; gap: 28px; }
.hemma__heading { font-weight: 800; font-size: 24px; margin: 0 0 12px; }
.hemma__heading span { color: var(--muted); font-weight: 700; font-size: 18px; }
.hemma__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.hemma__item { display: flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--slate); height: 100%; }
.hemma__item:hover { border-color: var(--slate); color: var(--slate); }
.hemma__img { flex: none; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--yellow-soft); }
.hemma__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hemma__text { display: flex; flex-direction: column; min-width: 0; }
.hemma__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.hemma__sub { font-size: 13px; color: var(--muted); }

/* ---------- Listor ---------- */
.list-page { padding-bottom: 24px; }
.list-page__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.list-page:not(:has(.crumbs)) .list-page__head { padding-top: 40px; }
.list-page__title { font-weight: 800; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.02em; }
.list-page__desc { color: var(--text-2); font-size: 18px; max-width: 700px; margin: 0; }
.list-page__desc p { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.grid__ad { grid-column: 1 / -1; }
.grid__ad .ad-slot { margin-top: 0; }
.card__link { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--slate); }
.card__link:hover { border-color: var(--slate); color: var(--slate); }
.card__link:hover .card__img { transform: scale(1.03); }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--yellow-soft); }
.card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card__placeholder { display: flex; height: 100%; align-items: center; justify-content: center; color: var(--slate); }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 20px; }
.card__cat { font-size: 13px; color: var(--muted); }
.card__title { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.2; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current { background: var(--slate); color: #fff; border-color: var(--slate); }

.empty { padding-block: 48px; display: flex; flex-direction: column; gap: 16px; }
.empty__text { font-size: 18px; margin: 0; }

/* ---------- Sidor ---------- */
.page-narrow { max-width: 820px; padding-top: 48px; }
.page-title { font-weight: 800; font-size: clamp(34px, 5vw, 52px); margin-bottom: 24px; }
.page-image { margin: 0 0 24px; }
.page-image img { border-radius: var(--radius-lg); }
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content textarea, .entry-content select { font: inherit; font-size: 16px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; background: #fff; width: 100%; max-width: 560px; }
.entry-content input[type="submit"], .entry-content button[type="submit"] { font: inherit; font-weight: 700; background: var(--slate); color: #fff; border: 0; border-radius: 10px; min-height: 48px; padding: 0 24px; cursor: pointer; }
.alignwide { max-width: none; }
.wp-block-image img { border-radius: 12px; }

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

/* ---------- Författare (efter receptet) ---------- */
.byline { display: flex; align-items: center; gap: 12px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.byline__avatar { flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--slate); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.byline__text { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.byline strong { color: var(--slate); }
.byline a { color: var(--muted); }
.byline a:hover { color: var(--slate); }
.more + .byline, .steps + .byline { margin-top: -8px; }

/* ---------- Vad har du hemma?: ingångar ---------- */
.hero__hemma { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark); text-decoration: none; font-size: 16px; }
.hero__hemma strong { color: var(--yellow); }
.hero__hemma:hover { color: #fff; }
.hero__hemma:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.list-page__tip { margin: 0; font-size: 15px; color: var(--text-2); }
/* Ett menyval med CSS-klassen "menu-highlight" blir en gul knapp. */
.main-nav .menu-highlight > a { background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 8px 14px; margin: 2px 0 2px 6px; box-shadow: none; }
.main-nav .menu-highlight > a:hover, .main-nav .menu-highlight.current-menu-item > a { background: #ffd21f; color: var(--ink); box-shadow: none; border-radius: 999px; }
@media (max-width: 960px) { .main-nav .menu-highlight > a { display: inline-block; margin: 10px 0; border-bottom: 0; } }

/* ---------- Sökförslag ---------- */
.searchbox { position: relative; }
.suggest { position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); z-index: 60; background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 18px 40px rgba(29,29,29,.22); padding: 6px; max-height: min(70vh, 520px); overflow-y: auto; text-align: left; }
.suggest__option { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--slate); min-height: 44px; }
.suggest__option:hover, .suggest__option.is-active { background: var(--yellow-soft); color: var(--ink); }
.suggest__img { flex: none; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--yellow-soft); }
.suggest__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.suggest__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.suggest__title { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.suggest__title mark { background: transparent; color: inherit; box-shadow: inset 0 -0.45em 0 rgba(242,194,0,.55); }
.suggest__sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest__extra { border-top: 1px solid var(--line); border-radius: 0 0 0 0; }
.suggest__recipe + .suggest__extra, .suggest__extra:first-child { margin-top: 4px; }
.suggest__extra:hover, .suggest__extra.is-active { border-radius: 10px; }
.suggest__icon { flex: none; width: 44px; height: 44px; border-radius: 8px; background: var(--slate); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.suggest__extra .suggest__text { font-weight: 500; }
.suggest__all { justify-content: center; font-weight: 700; font-size: 15px; border-top: 1px solid var(--line); margin-top: 4px; }
.hero .suggest { color: var(--slate); }
