/*
Theme Name: Mad til mit hjerte
Theme URI: https://example.com
Author: Dit navn
Author URI: https://example.com
Description: Et enkelt og elegant tema til vegetariske opskrifter og kokkens kærlighed til mad — skabt til at dele hjemmelavede retter med dem vi elsker.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: madtilmithjerte
Tags: food, recipe, vegetarian, blog, clean, elegant, green
*/

/* =========================================================
   CSS Custom Properties — Farvepalette & Design Tokens
   ========================================================= */

:root {
  /* Grøn primærpalette */
  --color-sage-50:  #f4f7f0;
  --color-sage-100: #e2ead8;
  --color-sage-200: #c5d5b2;
  --color-sage-300: #a3ba88;
  --color-sage-400: #7d9b5e;
  --color-sage-500: #5e7d42;
  --color-sage-600: #4a6433;
  --color-sage-700: #384d27;
  --color-sage-800: #28381b;
  --color-sage-900: #1a2411;

  /* Varm beige */
  --color-warm-50:  #faf8f3;
  --color-warm-100: #f2ede0;
  --color-warm-200: #e4dcc8;
  --color-warm-300: #d0c4a4;
  --color-warm-400: #b8a67e;
  --color-warm-500: #9e8a5e;
  --color-warm-600: #7d6d47;
  --color-warm-700: #5e5235;
  --color-warm-800: #3e3622;
  --color-warm-900: #201c12;

  /* Terra cotta accent */
  --color-terra-400: #c07350;
  --color-terra-500: #a85c3a;
  --color-terra-600: #8c4a2c;

  /* Neutrale */
  --color-white:    #ffffff;
  --color-off-white: #fdfcf8;
  --color-gray-50:  #f8f8f6;
  --color-gray-100: #eeede9;
  --color-gray-200: #dddcD7;
  --color-gray-400: #9e9d97;
  --color-gray-600: #5e5d58;
  --color-gray-800: #2c2b27;
  --color-gray-900: #1a1917;

  /* Semantiske farver */
  --color-primary:      var(--color-sage-500);
  --color-primary-dark: var(--color-sage-700);
  --color-primary-light:var(--color-sage-100);
  --color-accent:       var(--color-terra-500);
  --color-background:   var(--color-off-white);
  --color-surface:      var(--color-white);
  --color-text:         var(--color-gray-800);
  --color-text-muted:   var(--color-gray-600);
  --color-border:       var(--color-gray-200);

  /* Typografi */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body:    'Lato', 'Helvetica Neue', sans-serif;
  --font-accent:  'Lato', sans-serif;

  /* Størrelser */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --max-width:        1200px;
  --content-width:    720px;
  --sidebar-width:    300px;
  --gutter:           2rem;

  /* Effekter */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --shadow-sm:  0 1px 3px rgba(40, 56, 27, 0.08);
  --shadow-md:  0 4px 16px rgba(40, 56, 27, 0.10);
  --shadow-lg:  0 8px 32px rgba(40, 56, 27, 0.12);
  --transition: 200ms ease;
}

/* =========================================================
   Reset & Base
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* =========================================================
   Typografi
   ========================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-gray-900);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

blockquote {
  border-left: 3px solid var(--color-sage-300);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--color-sage-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-sage-700);
}

/* =========================================================
   Layout — Wrapper & Container
   ========================================================= */

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: var(--content-width);
}

/* =========================================================
   Header & Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-sage-100);
  padding: var(--space-4) 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.site-branding {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

.site-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-sage-700);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.site-title a {
  color: inherit;
}

.site-title a:hover {
  color: var(--color-sage-500);
}

.site-tagline {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 2px;
}

/* Vegetar-badge i headeren */
.veg-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-sage-600);
  background: var(--color-sage-100);
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  margin-top: var(--space-2);
}

.veg-badge::before {
  content: '🌿';
  font-size: 11px;
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-menu li a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-gray-600);
  border-radius: var(--radius-md);
  transition: background var(--transition), color var(--transition);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  background: var(--color-sage-100);
  color: var(--color-sage-700);
}

.nav-search-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--color-sage-100);
  color: var(--color-sage-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  margin-left: var(--space-2);
}

.nav-search-btn:hover {
  background: var(--color-sage-200);
}

/* Mobil menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-sage-600);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =========================================================
   Hero / Forsidebanner
   ========================================================= */

.site-hero {
  background: linear-gradient(135deg, var(--color-sage-50) 0%, var(--color-warm-100) 60%, var(--color-sage-100) 100%);
  padding: var(--space-20) 0 var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: var(--color-sage-100);
  border-radius: 50%;
  opacity: 0.5;
}

.site-hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: var(--color-warm-200);
  border-radius: 50%;
  opacity: 0.4;
}

.site-hero__content {
  position: relative;
  z-index: 1;
}

.site-hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage-500);
  margin-bottom: var(--space-4);
}

.site-hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  color: var(--color-sage-800);
  max-width: 700px;
  margin: 0 auto var(--space-6);
  line-height: 1.15;
}

.site-hero__description {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  max-width: 540px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   Knapper
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-xl);
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--color-sage-500);
  color: var(--color-white);
  border-color: var(--color-sage-500);
}

.btn-primary:hover {
  background: var(--color-sage-600);
  border-color: var(--color-sage-600);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-sage-600);
  border-color: var(--color-sage-300);
}

.btn-outline:hover {
  background: var(--color-sage-100);
  color: var(--color-sage-700);
  border-color: var(--color-sage-400);
}

/* =========================================================
   Sektioner & Afstand
   ========================================================= */

.section {
  padding: var(--space-16) 0;
}

.section--gray {
  background: var(--color-gray-50);
}

.section--green {
  background: var(--color-sage-50);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage-500);
  margin-bottom: var(--space-3);
}

.section__title {
  font-size: var(--text-3xl);
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
}

.section__desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* =========================================================
   Indlægsnet / Post Grid
   ========================================================= */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-8);
}

.post-grid--2col {
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

/* Post Card */
.post-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.post-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-sage-50);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.04);
}

.post-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--color-sage-50), var(--color-warm-100));
}

.post-card__cat {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: 100px;
  background: var(--color-sage-600);
  color: var(--color-white);
}

.post-card__body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.post-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-gray-400);
  flex-shrink: 0;
}

.post-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.post-card__title a {
  color: var(--color-gray-900);
}

.post-card__title a:hover {
  color: var(--color-sage-600);
}

.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
  flex: 1;
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.post-card__readmore {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-sage-600);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  letter-spacing: 0.02em;
}

.post-card__readmore::after {
  content: '→';
  transition: transform var(--transition);
}

.post-card:hover .post-card__readmore::after {
  transform: translateX(4px);
}

/* =========================================================
   Fremhævet indlæg (Featured Post)
   ========================================================= */

.featured-post {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: var(--space-16);
}

.featured-post__image {
  position: relative;
  min-height: 420px;
  background: var(--color-sage-50);
  overflow: hidden;
}

.featured-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, var(--color-sage-100), var(--color-warm-200));
}

.featured-post__body {
  padding: var(--space-12) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage-500);
  margin-bottom: var(--space-4);
}

.featured-post__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
  line-height: 1.2;
}

.featured-post__title a {
  color: var(--color-gray-900);
}

.featured-post__excerpt {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

/* =========================================================
   Enkelt indlæg (Single Post)
   ========================================================= */

.single-post {
  padding: var(--space-12) 0 var(--space-20);
}

.post-header {
  text-align: center;
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border);
}

.post-header__cat {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sage-600);
  background: var(--color-sage-100);
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  margin-bottom: var(--space-5);
}

.post-header__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  margin-bottom: var(--space-5);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.post-header__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.post-header__meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gray-400);
}

.post-thumbnail {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-10);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: var(--color-sage-50);
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Post Content Typography */
.entry-content {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-gray-800);
}

.entry-content h2 {
  font-size: var(--text-2xl);
  margin: var(--space-10) 0 var(--space-4);
  color: var(--color-sage-800);
}

.entry-content h3 {
  font-size: var(--text-xl);
  margin: var(--space-8) 0 var(--space-3);
  color: var(--color-sage-700);
}

.entry-content p {
  margin-bottom: var(--space-5);
}

.entry-content ul,
.entry-content ol {
  list-style: initial;
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
}

.entry-content ul {
  list-style-type: none;
  padding-left: 0;
}

.entry-content ul li {
  padding-left: var(--space-6);
  position: relative;
  margin-bottom: var(--space-2);
}

.entry-content ul li::before {
  content: '🌿';
  position: absolute;
  left: 0;
  font-size: 0.8em;
}

.entry-content ol {
  list-style-type: decimal;
}

.entry-content ol li {
  margin-bottom: var(--space-2);
  padding-left: var(--space-2);
}

.entry-content img {
  border-radius: var(--radius-lg);
  margin: var(--space-8) 0;
}

.entry-content a {
  color: var(--color-sage-600);
  text-decoration: underline;
  text-decoration-color: var(--color-sage-200);
  text-underline-offset: 3px;
}

.entry-content a:hover {
  text-decoration-color: var(--color-sage-500);
}

/* =========================================================
   Tips & Tricks Boks
   ========================================================= */

.tip-box {
  background: var(--color-sage-50);
  border: 1px solid var(--color-sage-200);
  border-left: 4px solid var(--color-sage-500);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0;
}

.tip-box__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-sage-600);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.tip-box p {
  color: var(--color-sage-800);
  font-size: var(--text-base);
  margin-bottom: 0;
}

/* =========================================================
   Kategorier / Tags
   ========================================================= */

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tag-chip {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--color-warm-100);
  color: var(--color-warm-700);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 100px;
  border: 1px solid var(--color-warm-200);
  transition: all var(--transition);
}

.tag-chip:hover {
  background: var(--color-sage-100);
  color: var(--color-sage-700);
  border-color: var(--color-sage-200);
}

/* =========================================================
   Sidebar / Widget-område
   ========================================================= */

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--space-12);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: calc(72px + var(--space-6));
}

.widget {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.widget-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-sage-100);
  letter-spacing: -0.01em;
}

.widget ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.widget ul li a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-gray-100);
  transition: color var(--transition);
}

.widget ul li a:hover {
  color: var(--color-sage-600);
}

/* Om mig widget */
.about-widget {
  text-align: center;
}

.about-widget__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  border: 3px solid var(--color-sage-200);
  overflow: hidden;
  background: var(--color-sage-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.about-widget__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-2);
}

.about-widget__bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* =========================================================
   Om-siden boks
   ========================================================= */

.philosophy-strip {
  background: var(--color-sage-700);
  color: var(--color-white);
  padding: var(--space-16) 0;
  text-align: center;
}

.philosophy-strip__title {
  font-size: var(--text-3xl);
  color: var(--color-sage-100);
  margin-bottom: var(--space-5);
}

.philosophy-strip__text {
  font-size: var(--text-lg);
  color: var(--color-sage-200);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* =========================================================
   Feature-blokke (ikoner + tekst)
   ========================================================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
}

.feature-item {
  text-align: center;
  padding: var(--space-6);
}

.feature-item__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  display: block;
}

.feature-item__title {
  font-size: var(--text-lg);
  color: var(--color-gray-900);
  margin-bottom: var(--space-2);
}

.feature-item__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* =========================================================
   Søgefelt
   ========================================================= */

.search-form {
  display: flex;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--color-sage-200);
  background: var(--color-surface);
}

.search-form input[type="search"] {
  flex: 1;
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  border: none;
  outline: none;
  background: transparent;
  color: var(--color-text);
}

.search-form input[type="search"]::placeholder {
  color: var(--color-gray-400);
}

.search-form button {
  padding: var(--space-3) var(--space-5);
  background: var(--color-sage-500);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background var(--transition);
}

.search-form button:hover {
  background: var(--color-sage-600);
}

/* =========================================================
   Pagination
   ========================================================= */

.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-12);
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  border: 1.5px solid var(--color-border);
  transition: all var(--transition);
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--color-sage-500);
  color: var(--color-white);
  border-color: var(--color-sage-500);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--color-sage-900);
  color: var(--color-sage-200);
  padding: var(--space-16) 0 var(--space-8);
  margin-top: auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-sage-100);
  margin-bottom: var(--space-3);
}

.footer-brand__desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-sage-400);
  margin-bottom: var(--space-4);
}

.footer-veg-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sage-400);
  background: rgba(255,255,255,0.05);
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-col__title {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sage-100);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col ul li a {
  font-size: var(--text-sm);
  color: var(--color-sage-400);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-sage-200);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--color-sage-500);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-post__image {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 1.25rem;
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }

  .site-header__inner {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .main-navigation {
    display: none;
    width: 100%;
    order: 3;
  }

  .main-navigation.is-open {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  .site-hero {
    padding: var(--space-12) 0 var(--space-10);
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================================================
   WordPress Core Classes
   ========================================================= */

.alignleft {
  float: left;
  margin-right: var(--space-6);
  margin-bottom: var(--space-4);
}

.alignright {
  float: right;
  margin-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-4);
}

.wp-block-image {
  margin-bottom: var(--space-6);
}

.wp-block-image img {
  border-radius: var(--radius-lg);
}

.wp-block-quote {
  border-left: 4px solid var(--color-sage-400);
  padding: var(--space-4) var(--space-6);
  font-style: italic;
  color: var(--color-sage-700);
}

.sticky {
  /* WordPress sticky post */
}

.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;
  width: 1px;
  word-wrap: normal !important;
}

/* Comment form styles */
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color var(--transition);
  margin-bottom: var(--space-4);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--color-sage-400);
}

.comment-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
