/* ==========================================================================
   DONUTSHOLE — Exact UI/UX Mockup Design System (v7.0)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Exact Mockup Color Palette */
  --bg-site: #FAF9F5;
  --bg-card: #FFFFFF;
  --bg-subtle: #F4F3ED;
  
  --green-main: #768A57;
  --green-hover: #637547;
  --green-light: #EBF1E5;
  --green-tag: #F1F5EC;

  --text-dark: #2C3227;
  --text-muted: #6C7265;
  --text-light: #8E9487;
  --border-color: #E4E7DF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

  --shadow-sm: 0 4px 12px rgba(44, 50, 39, 0.04);
  --shadow-md: 0 8px 24px rgba(44, 50, 39, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-site);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-dark);
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--green-main);
  font-weight: 600;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.nav-link:hover {
  color: var(--green-main);
}

.header-search {
  position: relative;
  width: 200px;
}

.header-search input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: #FFF;
  font-size: 0.85rem;
  outline: none;
}

.header-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.btn-green {
  background-color: var(--green-main);
  color: #FFF;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
}

.btn-green:hover {
  background-color: var(--green-hover);
}

.btn-bookmark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

/* Hero Section */
.hero-grid {
  display: grid;
  grid-template-columns: 340px 1.2fr 300px;
  gap: 20px;
  padding: 30px 0;
  align-items: stretch;
}

.hero-left-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-main-title {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-main-title span {
  color: var(--green-main);
}

.hero-sub {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-main);
  color: #FFF;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  width: fit-content;
  margin-bottom: 24px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Center Card (Recipe of the Day) */
.hero-center-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition);
}

.hero-center-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.hero-card-img-wrapper {
  position: relative;
  height: 270px;
  overflow: hidden;
}

.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-day {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green-main);
  color: #FFF;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.badge-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.9);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.hero-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hero-card-title {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.hero-card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.hero-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

/* Hero Right Stack */
.hero-right-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-recipe-card {
  position: relative;
  height: 110px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.mini-recipe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-recipe-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 100%);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #FFF;
}

.mini-recipe-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}

.mini-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--green-main);
  color: #FFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
}

/* Categories Carousel Row */
.categories-block {
  padding: 30px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.category-card-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.category-card-tile:hover {
  border-color: var(--green-main);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.cat-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 1rem;
}

.cat-tile-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.cat-tile-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.cat-tile-count {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Discovery Bar / Smart Filters */
.discovery-bar {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.2fr;
  gap: 16px;
  margin-bottom: 40px;
}

.discovery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.discovery-title {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.discovery-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.discovery-input-box {
  display: flex;
  gap: 8px;
}

.discovery-input-box input {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  font-size: 0.88rem;
  outline: none;
}

.quick-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.q-pill {
  background: var(--green-tag);
  color: var(--text-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.q-pill:hover {
  background: var(--green-main);
  color: #FFF;
}

/* Main 2-Column Section */
.main-two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  margin-bottom: 50px;
}

/* Recipe Grid (New Recipes) */
.recipes-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.recipe-card-modern {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition);
}

.recipe-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img-box {
  position: relative;
  height: 180px;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content-box {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title-text {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: auto;
  padding-top: 10px;
}

/* Popular List Right Sidebar */
.popular-ranked-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popular-rank-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.rank-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-main);
  color: #FFF;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
}

/* Bottom Features Bar */
.features-bar {
  background: var(--green-light);
  border-radius: var(--radius-md);
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFF;
  color: var(--green-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Detail View Layout (Mockup 2) */
.detail-view-container {
  background: #FFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.detail-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.detail-large-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.detail-title-main {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.detail-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.detail-pill {
  background: var(--green-tag);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
}

.detail-actions-row {
  display: flex;
  gap: 12px;
}

.ingredients-box {
  background: var(--bg-site);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.step-photo-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  background: #FFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.step-photo-thumb {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.chef-tips-box {
  background: var(--green-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
  border: 1px solid #D5E2CD;
}

.author-card-sidebar {
  background: var(--bg-site);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.author-avatar-lg {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44, 50, 39, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #FFF;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow-y: auto;
  padding: 36px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-main);
  font-weight: 800;
  border: none;
  cursor: pointer;
}

/* Footer */
.footer {
  background: #242920;
  color: #DDE2D8;
  padding: 50px 0 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .main-two-col {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .features-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .recipes-grid-4 {
    grid-template-columns: 1fr;
  }
  .discovery-bar {
    grid-template-columns: 1fr;
  }
}

/* DLE template layer */
.logo-mark{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--green-light);color:var(--green-main);font-weight:800;font-family:var(--font-heading)}
.site-nav{display:flex;align-items:center;gap:28px}.nav-actions{display:flex;align-items:center;gap:12px}.dle-login{display:block}.dle-login>a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:10px 22px;border-radius:var(--radius-pill);background:var(--green-main);color:#fff;font-size:.92rem;font-weight:700;box-shadow:var(--shadow-sm);white-space:nowrap}.dle-login>a:hover{background:var(--green-hover)}.header-search input:focus,.discovery-input-box input:focus{border-color:var(--green-main);box-shadow:0 0 0 3px rgba(118,138,87,.14)}
.page-shell{padding:38px 20px 64px}.page-intro{max-width:720px;margin:0 auto 28px;text-align:center}.page-intro h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:8px}.page-intro p{color:var(--text-muted)}.dle-content{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px}.dle-content>.recipe-full{grid-column:1/-1}.dle-content>.dle-navigation,.dle-content>.navigation{grid-column:1/-1}.breadcrumbs{margin-bottom:20px}.breadcrumbs a{color:var(--green-main)}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-heading h2{font-size:1.8rem}.section-heading a{font-weight:700;color:var(--green-main)}.hero-feature-slot{min-width:0}.mini-recipe-overlay small{display:block;margin-top:3px;font-family:var(--font-body);font-size:.72rem}.mini-recipe-overlay b{font-family:var(--font-heading);font-size:1rem;line-height:1.25}.popular-sidebar{min-width:0}.popular-rank-item b,.popular-rank-item small{display:block}.popular-rank-item small{color:var(--text-muted);margin-top:3px}.btn-light{background:var(--green-light);color:var(--green-main)}.quick-filter-pills a{background:var(--green-tag);color:var(--text-dark);font-size:.78rem;font-weight:600;padding:6px 12px;border-radius:var(--radius-pill)}.quick-filter-pills a:hover{background:var(--green-main);color:#fff}
.recipe-card-modern .card-content-box>p{font-size:.87rem;color:var(--text-muted);margin-bottom:12px}.recipe-card-modern .card-title-text a:hover,.hero-card-title a:hover{color:var(--green-main)}.recipe-full{background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:36px;box-shadow:var(--shadow-sm)}.recipe-lead{color:var(--text-muted);font-size:1.05rem}.recipe-body{max-width:850px}.recipe-instructions{margin-top:34px}.recipe-instructions h2,.ingredients-box h2{font-size:1.55rem;margin-bottom:16px}.full-text{color:var(--text-dark)}.full-text p,.full-text ul,.full-text ol{margin:0 0 16px}.full-text img{border-radius:var(--radius-sm);margin:20px 0}.recipe-xfield{color:var(--text-dark)}.recipe-xfield p,.recipe-xfield ul,.recipe-xfield ol{margin:0 0 10px}.detail-actions-row .btn-green{display:inline-flex;align-items:center}.footer-row{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.footer-logo{font-family:var(--font-heading);font-size:1.4rem;color:#fff}.footer p{font-size:.85rem;color:#8e9487;margin-top:4px}.footer-nav{display:flex;gap:24px;font-weight:600}.footer-nav a:hover{color:#fff}
.speedbar{margin:0 0 20px;color:var(--text-muted);font-size:.85rem}.speedbar a{color:var(--green-main)}.profile-card{grid-column:1/-1;max-width:820px;margin:0 auto;background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:32px;box-shadow:var(--shadow-sm)}.profile-card__head{display:flex;align-items:center;gap:18px;padding-bottom:22px;border-bottom:1px solid var(--border-color)}.profile-card__head img{width:72px;height:72px;border-radius:50%;object-fit:cover;background:var(--green-light)}.profile-card__head h1{font-size:2rem}.profile-card__head p{color:var(--text-muted)}.profile-card__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.profile-card__grid div{padding:14px;border-radius:var(--radius-sm);background:var(--bg-subtle)}.profile-card__grid span,.profile-card__grid b{display:block}.profile-card__grid span{font-size:.75rem;color:var(--text-muted);margin-bottom:4px}.profile-card__about{border-top:1px solid var(--border-color);padding-top:20px}.profile-card__about h2{font-size:1.25rem;margin-bottom:8px}.profile-card__links{display:flex;gap:16px;flex-wrap:wrap;margin-top:20px;font-weight:700}.profile-card__links a{color:var(--green-main)}
.comments-form{grid-column:1/-1;max-width:820px;margin:32px auto 0;background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:28px;box-shadow:var(--shadow-sm)}.comments-form h2{font-size:1.45rem;margin-bottom:18px}.comments-form__fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}.comments-form input,.comments-form textarea{width:100%;border:1px solid var(--border-color);border-radius:var(--radius-sm);padding:12px;font:inherit;background:var(--bg-subtle);color:var(--text-main)}.comments-form__editor textarea{min-height:150px}.comments-form__captcha,.comments-form__question,.comments-form__security,.comments-form__subscribe,.comments-form__upload{margin:16px 0}.comments-form__security{display:flex;gap:12px;align-items:center}.recipe-comment{max-width:820px;margin:16px auto;padding:20px;background:#fff;border:1px solid var(--border-color);border-radius:var(--radius-md)}.recipe-comment__top{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.recipe-comment__author{font-weight:700}.recipe-comment time{font-size:.8rem;color:var(--text-muted)}.recipe-comment__text{line-height:1.65}.recipe-comment__actions{display:flex;gap:14px;margin-top:14px;font-size:.8rem}.recipe-comment__actions a{color:var(--green-main)}
@media(max-width:1100px){.site-nav{gap:16px}.header-search{width:160px}.hero-grid{grid-template-columns:280px 1fr 240px}}
@media(max-width:820px){.header{position:static}.nav-wrapper{flex-wrap:wrap}.site-nav{order:3;width:100%;justify-content:space-between;border-top:1px solid var(--border-color);padding-top:12px}.nav-actions{margin-left:auto}.header-search{display:none}.hero-grid{grid-template-columns:1fr}.hero-left-box{padding:16px 0}.hero-right-stack{display:grid;grid-template-columns:repeat(3,1fr)}.mini-recipe-card{height:160px}.main-two-col{grid-template-columns:1fr}.dle-content{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-full{padding:24px}.detail-top-grid{gap:24px}}
@media(max-width:560px){.container{padding-left:16px;padding-right:16px}.logo-sub{display:none}.site-nav{overflow:auto;justify-content:flex-start;white-space:nowrap}.nav-actions .nav-login{padding:8px 14px}.hero-main-title{font-size:2.2rem}.hero-card-img-wrapper{height:220px}.hero-right-stack{grid-template-columns:1fr}.mini-recipe-card{height:130px}.dle-content{grid-template-columns:1fr}.recipe-full{padding:18px;border-radius:var(--radius-md)}.detail-large-img{height:250px}.detail-actions-row{flex-wrap:wrap}.footer-nav{gap:14px}.comments-form__fields{grid-template-columns:1fr}.comments-form__security{display:block}.comments-form__security input{margin-top:10px}}

/* DLE comment editor, aligned with the Donutshole recipe form */
#dle-comments-form{grid-column:1/-1;width:100%;margin:0}.comments-form{width:min(820px,100%);box-sizing:border-box}.comments-form__inner,.comments-form__editor,.comments-form .dleaddcomments-editor,.comments-form .wseditor,.comments-form .bb-editor{width:100%!important;max-width:none!important;box-sizing:border-box}.comments-form .dleaddcomments-editor{border:1px solid var(--border-color);border-radius:var(--radius-sm);overflow:hidden;background:#fff}.comments-form .bb-editor textarea,.comments-form textarea#comments{display:block;width:100%!important;min-height:190px!important;height:190px!important;box-sizing:border-box;border:0!important;border-radius:0!important;background:#fff!important;color:var(--text-dark)!important;font:inherit!important;line-height:1.6;padding:14px!important;box-shadow:none!important}.comments-form .bb-editor textarea:focus,.comments-form textarea#comments:focus{outline:2px solid rgba(118,138,87,.32)!important;outline-offset:-2px}.comments-form .bb-editor .bb-pane,.comments-form .bb-editor .bb-pane>div{max-width:100%!important;box-sizing:border-box}.comments-form .bb-editor .bb-upload{background:var(--bg-subtle)!important;border-top:1px solid var(--border-color)!important}.comments-form .bb-editor .bb-upload button,.comments-form .bb-editor .bb-upload input[type=file]{font:inherit!important}.comments-form__security{width:100%;max-width:420px;padding:12px;background:var(--bg-subtle);border:1px solid var(--border-color);border-radius:var(--radius-sm)}.comments-form__security img{display:block;border-radius:4px}.comments-form__security input{height:42px}.comments-form .btn-green{min-width:240px;border:0;border-radius:var(--radius-pill);padding:13px 22px;font:700 .9rem var(--font-body);cursor:pointer}.comments-form .btn-green:hover{background:var(--green-hover)}.comments-form .btn-green:active{transform:translateY(1px)}
.ingredients-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.servings-control{display:flex;align-items:center;gap:8px;font-size:.85rem;font-weight:700;color:var(--green-main)}.servings-control select{border:1px solid var(--border-color);border-radius:var(--radius-pill);padding:7px 10px;background:#fff;font:inherit;color:var(--text-dark)}.recipe-ingredients{list-style:none;margin:0;padding:0}.recipe-ingredients li{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid var(--border-color)}.ingredient-amount{font-weight:700;white-space:nowrap}.servings-note{margin:14px 0 0;font-size:.82rem;color:var(--text-muted)}
.recipe-gallery{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}.recipe-gallery img{width:100%;height:280px;object-fit:cover;border-radius:var(--radius-md);background:var(--bg-subtle)}@media(max-width:560px){.recipe-gallery{grid-template-columns:1fr}.recipe-gallery img{height:230px}}

/* Full-width recipe layout and robust ingredient list styling for DLE editor output. */
.recipe-body{max-width:none;width:100%}.ingredients-box{width:100%;box-sizing:border-box}.recipe-xfield ul,.recipe-ingredients{list-style:none;margin:0;padding:0}.recipe-xfield li,.recipe-ingredients li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:12px 0;border-bottom:1px solid var(--border-color)}.recipe-xfield li:last-child,.recipe-ingredients li:last-child{border-bottom:0}.recipe-xfield .ingredient-name{min-width:0}.recipe-xfield .ingredient-amount{font-weight:700;white-space:nowrap;text-align:right}.recipe-ingredient-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.recipe-ingredient-tags a{display:inline-flex;align-items:center;padding:6px 11px;border-radius:var(--radius-pill);background:var(--green-light);color:var(--green-main);font-size:.82rem;font-weight:700}.recipe-ingredient-tags a:hover{background:var(--green-main);color:#fff}@media(max-width:560px){.recipe-xfield li,.recipe-ingredients li{gap:12px;padding:10px 0}}

/* Recipe steps and comments: compact, editorial layout. */
.recipe-instructions>.full-text>h2:first-child{display:none}
.recipe-instructions{margin-top:34px}.recipe-instructions>.full-text>p:first-child{display:none}.recipe-instructions .full-text>ol{counter-reset:recipe-step;list-style:none;margin:0;padding:0;display:grid;gap:12px}.recipe-instructions .full-text>ol>li{counter-increment:recipe-step;position:relative;min-height:48px;padding:16px 18px 16px 64px;background:#fff;border:1px solid var(--border-color);border-radius:12px;line-height:1.65;color:var(--text-dark)}.recipe-instructions .full-text>ol>li:before{content:counter(recipe-step);position:absolute;left:17px;top:17px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--green-main);color:#fff;font:700 .82rem var(--font-body)}.recipe-instructions .full-text>ol>li:hover{border-color:rgba(118,138,87,.5);box-shadow:var(--shadow-sm)}.recipe-comment{width:min(760px,100%);box-sizing:border-box;margin:20px 0;padding:18px 20px;background:#fff}.comments-form{width:min(760px,100%);margin:34px auto 0;padding:24px}.comments-form .bb-editor textarea,.comments-form textarea#comments{min-height:145px!important;height:145px!important}.comments-form .bb-editor .bb-upload{min-height:58px!important;max-height:58px!important;overflow:hidden}.comments-form .bb-upload .bb-upload-drop{min-height:56px!important;padding:8px!important}.comments-form__upload{margin:12px 0}.comments-form__subscribe{margin:12px 0}.comments-form h2{font-size:1.45rem}.recipe-comment__author{font-size:.95rem}.recipe-comment__actions{margin-top:12px}@media(max-width:560px){.recipe-instructions .full-text>ol>li{padding:14px 14px 14px 56px}.recipe-instructions .full-text>ol>li:before{left:14px;top:14px}.comments-form{padding:18px}}
