/* ==========================================================================
   JADY DONKY KITCHEN - RECIPE ARCHIVE & DETAIL STYLES
   ========================================================================== */

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1rem 2rem 1rem;
}

/* --- FEATURED SPOTLIGHT BANNER --- */
.featured-recipe-banner {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2.5rem;
  display: none !important;
}

.featured-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.featured-img-wrap {
  width: 100%;
  height: 300px;
  background: var(--bg-warm);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
}

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

.recipe-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-sage);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.featured-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}

.recipe-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.recipe-meta-inline {
  font-size: 0.85rem;
  color: var(--accent-sage);
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.recipe-link-btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  background: var(--accent-clay);
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.recipe-link-btn:hover {
  background: var(--text-dark);
  color: #ffffff;
}

/* --- FILTER BAR --- */
.recipe-filter-bar {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-pill {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--accent-clay);
  color: #ffffff;
  border-color: var(--accent-clay);
}

/* --- RECIPE CARDS GRID --- */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.recipe-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.04);
}

.recipe-card-img-wrap {
  width: 100%;
  height: 180px;
  background: var(--bg-warm);
  overflow: hidden;
  padding: 0;
  border-bottom: 1px solid var(--border-light);
}

.recipe-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recipe-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recipe-card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-sage);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.recipe-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.recipe-card-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.recipe-card-title a:hover {
  color: var(--accent-clay);
}

.recipe-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.recipe-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  border-top: 1px solid var(--border-light);
  padding-top: 0.8rem;
  color: var(--text-muted);
}

.card-arrow {
  font-weight: 600;
  color: var(--accent-clay);
}

/* --- STANDALONE RECIPE DETAIL PAGE --- */
.back-link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent-sage);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.recipe-hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.recipe-hero-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0.6rem 0 1rem;
}

.recipe-hero-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.recipe-hero-media {
  width: 100%;
  height: 340px;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.recipe-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recipe-section {
  margin-top: 4rem;
}

.section-summary {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* Recipe Matrix Table Styles */
.recipe-matrix {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.recipe-matrix table {
  width: 100%; 
  border-collapse: collapse; 
  min-width: 1000px; 
  background: var(--card-bg); 
  border: 1px solid var(--border-light);
}

.recipe-matrix tr {
  border-bottom: 2px solid var(--accent-clay);
}

.recipe-matrix th {
  padding-bottom: 0.5rem; 
  text-align: center; 
  background-color: #ffffff;
}

.recipe-matrix div {
  width: 100%; 
  height: 100%; 
  min-height: 160px;
  overflow: hidden; 
  margin: 0;
}

.recipe-matrix-image {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block;
}

.recipe-matrix-body tbody {
  font-size: 0.95rem; 
  color: var(--text-dark);
}

.recipe-matrix-body tr {
  border-bottom: 1px solid var(--border-light);
}

.recipe-matrix-body td {
  padding: 1rem; 
  background-color: var(--bg-warm); 
  font-weight: 600;
  text-align: center;
}

.recipe-matrix-body span {
  font-size: 0.8rem; 
  color: var(--text-muted);
}

/* Recipe Metadata Bar */
.recipe-meta-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin: 1.8rem 0 3rem;
  align-items: start;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-sage);
  display: block;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Sub-materials Grid */
.sub-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.sub-material-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sub-mat-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--bg-warm);
}

.sub-mat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--card-bg);
}

.sub-mat-body {
  padding: 1.2rem;
  flex-grow: 1;
}

.sub-mat-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent-clay);
  margin-bottom: 0.6rem;
}

.sub-mat-body p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-dark);
  margin: 0;
}

/* --- COMPARATIVE CARD GRID (Doenjang Guk vs Jjigae) --- */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0 2rem 0;
}

.comparison-card {
  background: var(--card-bg, #FFFFFF);
  border: 1px solid var(--border-light, #E3DDD5);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.comparison-header {
  background: var(--accent-clay, #A34828);
  color: #FFFFFF;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
}

.comparison-img-wrap {
  width: 100%;
  height: 100%;
  max-height: 360px;
  background: var(--card-bg, #FFFFFF);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light, #E3DDD5);
}

.comparison-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.comparison-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex-grow: 1;
}

.comparison-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-bottom: 1px solid var(--bg-warm, #F8F5F0);
  padding-bottom: 0.8rem;
}

.comparison-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.comparison-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-clay, #A34828);
  font-weight: 600;
}

.comparison-value {
  font-size: 0.95rem;
  color: var(--text-muted, #5C524B);
  line-height: 1.5;
}

/* Mobile Stacking */
@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Two-Column Recipe Content Layout */
.recipe-content-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  color: var(--accent-clay);
}

/* Ingredients Checklist */
.ingredient-group {
  margin-bottom: 1.8rem;
}

.group-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-clay);
  margin-bottom: 0.8rem;
}

.ingredient-list {
  list-style: none;
  padding: 0;
}

.ingredient-list li {
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-dark);
}

.ingredient-list input[type="checkbox"] {
  accent-color: var(--accent-clay);
  margin-right: 0.5rem;
}

/* Instruction Steps */
.instruction-steps {
  padding-left: 1.2rem;
}

.instruction-steps li {
  margin-bottom: 1rem;
}

.instruction-steps h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.instruction-steps p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* R&D Notes Box */
.rd-notes-box {
  background: var(--bg-warm);
  border-left: 3px solid var(--accent-sage);
  border-radius: 6px;
  padding: 1.5rem;
  margin-top: 2.5rem;
}

.rd-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--accent-clay);
  margin-bottom: 0.5rem;
}

.rd-notes-box p {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.recipe-actions {
  margin-top: 2rem;
}

.action-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: var(--accent-clay);
  color: #ffffff;
}

/* ==========================================================================
   PHOTO CARD BLOCKS FOR MATERIALS & METHODS
   ========================================================================== */
.photo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.photo-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.photo-card-img-wrap {
  width: 100%;
  height: 200px;
  background: var(--bg-warm);
  overflow: hidden;
  padding: 0;
  border-bottom: 1px solid var(--border-light);
}

.photo-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.photo-card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-clay);
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: block;
}

.photo-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.photo-card-specs {
  list-style: none;
  padding: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.photo-card-specs li {
  margin-bottom: 0.4rem;
}

.photo-card-specs strong {
  color: var(--text-dark);
}

/* Methods Horizontal Photo Cards */
.method-cards-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.method-photo-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
}

.method-card-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 240px;
  background: var(--bg-warm);
  overflow: hidden;
  padding: 0;
  border-right: 1px solid var(--border-light);
}

.method-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.method-card-content {
  padding: 1.8rem 2rem;
}

.method-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0.3rem 0 1rem;
}

.method-steps {
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.method-steps li {
  margin-bottom: 0.6rem;
}

.method-steps strong {
  color: var(--text-dark);
}

/* --- NUTRITION TABLES --- */
.nutrition-table-box {
  margin: 2rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--border-light);
}

.nutrition-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-sage);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  color: var(--text-dark);
}

.nutrition-table td {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--bg-warm);
}

.nutrition-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--accent-clay);
}

.nutrition-table-container {
  width: 100%;
  overflow-x: auto;
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 4rem;
}

.macro-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: var(--text-dark);
  min-width: 600px;
}

.macro-comparison-table th {
  background: var(--bg-warm);
  color: var(--accent-clay);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.macro-comparison-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.macro-comparison-table tr:last-child td {
  border-bottom: none;
}

.macro-comparison-table tbody tr:hover {
  background: var(--bg-warm);
}

/* --- RECIPE PHOTO SLIDER / CAROUSEL (3-Item View) --- */
.recipe-slider-container {
  position: relative;
  max-width: 100%;
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light, #E3DDD5);
  background: var(--card-bg, #FFFFFF);
}

.recipe-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  gap: 1.5rem; /* Gap between photos */
  padding: 1.5rem;
}

.recipe-slider-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.recipe-slide {
  flex: 0 0 calc(33.333% - 1rem); /* Exactly 3 items visible at once */
  width: calc(33.333% - 1rem);
  scroll-snap-align: start;
  background: var(--bg-warm, #F8F5F0);
  border: 1px solid var(--border-light, #E3DDD5);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.recipe-slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.recipe-slide-caption {
  padding: 1rem;
  font-size: 1.2rem; /* Larger text */
  font-weight: 500;
  color: var(--text-dark, #222220); /* Darker, more readable text */
  line-height: 1.5;
  background: var(--card-bg, #FFFFFF);
  border-top: 1px solid var(--border-light, #E3DDD5);
  flex-grow: 1;
}

.recipe-slide-caption-title {
  padding: 1rem;
  font-size: 1.2rem; /* Larger text */
  font-weight: 500;
  color: var(--text-dark, #222220); /* Darker, more readable text */
  line-height: 1.5;
  background: var(--card-bg, #FFFFFF);
  border-top: 1px solid var(--border-light, #E3DDD5);
}

.recipe-slide-caption-text {
  padding: 1rem;
  font-size: 1rem; /* Larger text */
  font-weight: 400;
  color: var(--text-dark, #222220); /* Darker, more readable text */
  line-height: 1.5;
  background: var(--card-bg, #FFFFFF);
  border-top: 1px solid var(--border-light, #E3DDD5);
  flex-grow: 1;
}

/* Slider Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(34, 34, 32, 0.75);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 10;
}

.slider-btn:hover {
  background: var(--accent-clay, #A34828);
}

.slider-btn.prev {
  left: 0.5rem;
}

.slider-btn.next {
  right: 0.5rem;
}

/* --- BRANDED EXPERTISE BANNER (Extracted from template inline styles) --- */
.expertise-banner {
  background-color: var(--bg-warm, #F8F5F0);
  border: 1px solid var(--accent-clay, #A34828);
  border-radius: 8px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 5rem;
  margin-bottom: 3rem;
}

.expertise-banner-content {
  flex: 1;
  min-width: 250px;
}

.expertise-banner-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.expertise-emblem {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.expertise-tag {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-clay, #A34828);
  font-weight: 600;
}

.expertise-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--text-dark, #2b2b2b);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.expertise-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted, #555);
  margin-bottom: 1.2rem;
}

.expertise-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--accent-clay, #A34828);
  color: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.expertise-btn:hover {
  opacity: 0.9;
}

.expertise-banner-media {
  flex: 0 0 260px;
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
}

.expertise-jar-img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border-light, #e0d8cc);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

/* --- REUSABLE UTILITY CLASSES --- */
.section-margin-top {
  margin-top: 4rem;
}

.section-margin-top-large {
  margin-top: 5rem;
}

.notes-box-margin {
  margin: 4rem 0 2rem 0;
}

/* Mobile Responsiveness: Switch to 1 item view on smaller screens */
@media (max-width: 868px) {
  .recipe-slide {
    flex: 0 0 100%;
    width: 100%;
  }
  .recipe-slider-track {
    padding: 1rem;
    gap: 1rem;
  }
  .recipe-slide img {
    height: 220px;
  }
}

/* --- PRINT STYLES --- */
@media print {
  header, footer, .back-link, .recipe-filter-bar, .recipe-actions {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .recipe-content-grid {
    grid-template-columns: 1fr;
  }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 868px) {
  .page-content {
    padding: 2rem 1rem 2rem 1rem !important;
  }

  .featured-grid,
  .recipe-hero-section,
  .recipe-content-grid,
  .recipe-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .featured-img-wrap,
  .recipe-hero-media {
    width: 100% !important;
    height: 240px !important;
  }

  .featured-recipe-banner {
    padding: 1.25rem !important;
  }

  .featured-title {
    font-size: 1.5rem !important;
  }

  .recipe-hero-title {
    font-size: 2rem !important;
  }

  .recipe-meta-box {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
    padding: 1rem !important;
    margin: 1.2rem 0 2rem;
  }

  .recipe-filter-bar {
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .sub-materials-grid {
    grid-template-columns: 1fr;
  }

  .method-photo-card {
    grid-template-columns: 1fr;
  }

  .method-card-img-wrap {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    height: 240px;
    min-height: auto;
  }
}