/*
Theme Name: MustDesiFood Kadence Child
Theme URI: https://mustdesifood.com/
Description: Custom child theme for MustDesiFood built on Kadence.
Author: MustDesiFood
Template: kadence
Version: 1.0.0
Text Domain: mustdesifood-kadence-child
*/

:root {
  --mdf-bg: #fbf7f2;
  --mdf-surface: #ffffff;
  --mdf-text: #1f1f1f;
  --mdf-muted: #6b6b6b;
  --mdf-border: #e9e1d7;
  --mdf-accent: #d96b1d;
  --mdf-accent-dark: #b95510;
  --mdf-max: 1200px;
  --mdf-radius: 18px;
  --mdf-shadow: 0 10px 30px rgba(22, 22, 22, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--mdf-bg);
  color: var(--mdf-text);
}

body,
button,
input,
select,
textarea {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

a {
  color: var(--mdf-accent);
}

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

.site-main-header-wrap,
.site-bottom-header-wrap,
.site-footer-wrap {
  box-shadow: none !important;
}

.site-container,
.content-wrap,
.site-content,
.entry-content,
.hero-inner,
.mdf-section-inner,
.mdf-archive-inner,
.mdf-single-inner {
  max-width: var(--mdf-max);
  margin: 0 auto;
}

.content-wrap {
  padding-left: 20px;
  padding-right: 20px;
}

#primary {
  width: 100%;
}

#secondary {
  display: none;
}

.site-header-row-container-inner,
.site-footer-row-container-inner {
  max-width: var(--mdf-max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-main-header-wrap {
  background: rgba(251, 247, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mdf-border);
}

.site-branding a,
.site-title a {
  font-weight: 700;
}

.navigation .menu,
#primary-menu {
  gap: 10px;
}

#primary-menu a,
.main-navigation a {
  border-radius: 999px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}

#primary-menu a:hover,
.main-navigation a:hover,
.current-menu-item > a {
  background: rgba(217, 107, 29, 0.09);
  color: var(--mdf-accent-dark);
}

.mdf-hero {
  padding: 36px 20px 20px;
}

.mdf-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
}

.mdf-card,
.mdf-side-card,
.mdf-archive-card,
.mdf-single-card,
.mdf-explore-card {
  background: var(--mdf-surface);
  border: 1px solid var(--mdf-border);
  border-radius: 24px;
  box-shadow: var(--mdf-shadow);
}

.mdf-featured {
  overflow: hidden;
  position: relative;
  min-height: 500px;
}

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

.mdf-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.66), rgba(0,0,0,.18), rgba(0,0,0,.04));
}

.mdf-featured-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px;
  color: #fff;
}

.mdf-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 12px;
  margin-bottom: 14px;
}

.mdf-featured h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  margin: 0 0 14px;
  color: #fff;
}

.mdf-featured p {
  max-width: 700px;
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  margin: 0 0 18px;
}

.mdf-btn {
  display: inline-block;
  background: var(--mdf-accent);
  color: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 600;
}

.mdf-btn:hover {
  color: #fff;
  background: var(--mdf-accent-dark);
}

.mdf-side-stack {
  display: grid;
  gap: 20px;
}

.mdf-side-card {
  padding: 24px;
}

.mdf-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--mdf-accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.mdf-side-card h2,
.mdf-side-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.mdf-side-card p,
.mdf-muted {
  color: var(--mdf-muted);
}

.mdf-tag-list,
.mdf-city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mdf-tag,
.mdf-city {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--mdf-border);
  background: #fff;
  color: var(--mdf-text);
  padding: 10px 14px;
  text-decoration: none;
  font-size: 14px;
}

.mdf-tag:hover,
.mdf-city:hover {
  border-color: var(--mdf-accent);
  color: var(--mdf-accent-dark);
}

.mdf-search {
  width: 100%;
  border: 1px solid var(--mdf-border);
  border-radius: 14px;
  padding: 13px 14px;
  background: #fff;
}

.mdf-section {
  padding: 22px 20px 8px;
}

.mdf-section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
}

.mdf-section-header h2 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.mdf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mdf-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mdf-archive-card,
.mdf-story-card {
  overflow: hidden;
}

.mdf-card-image {
  aspect-ratio: 16 / 10;
  background: #e7dfd4;
}

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

.mdf-card-body {
  padding: 20px;
}

.mdf-meta {
  color: var(--mdf-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.mdf-card-title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.mdf-card-excerpt {
  color: var(--mdf-muted);
  margin: 0 0 12px;
}

.mdf-dark-panel {
  background: #1d1b18;
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  border: 1px solid #2d2a26;
}

.mdf-dark-panel p {
  color: rgba(255,255,255,0.78);
}

.mdf-newsletter {
  padding: 12px 20px 48px;
}

.mdf-newsletter-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--mdf-border);
  border-radius: 28px;
  box-shadow: var(--mdf-shadow);
  padding: 30px;
}

.mdf-newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mdf-newsletter-form input[type="email"],
.mdf-newsletter-form input[type="text"] {
  min-width: 260px;
  border: 1px solid var(--mdf-border);
  border-radius: 14px;
  padding: 13px 14px;
}

.mdf-archive-wrap,
.mdf-single-wrap {
  padding: 34px 20px 60px;
}

.mdf-archive-header,
.mdf-single-header {
  margin-bottom: 24px;
}

.mdf-archive-header h1,
.mdf-single-header h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.mdf-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mdf-single-card {
  padding: 28px;
}

.mdf-single-thumbnail {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 22px;
}

.mdf-single-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.mdf-tax-links {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--mdf-muted);
}

.mdf-tax-links a {
  text-decoration: none;
}

.site-footer-wrap {
  border-top: 1px solid var(--mdf-border);
  background: #fff;
}

.site-info {
  color: var(--mdf-muted);
}

@media (max-width: 1024px) {
  .mdf-hero-grid,
  .mdf-grid-3,
  .mdf-post-grid,
  .mdf-newsletter-box {
    grid-template-columns: 1fr;
  }

  .mdf-grid-2 {
    grid-template-columns: 1fr;
  }

  .mdf-featured {
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .mdf-featured-content {
    padding: 22px;
  }

  .mdf-side-card,
  .mdf-card-body,
  .mdf-single-card,
  .mdf-dark-panel,
  .mdf-newsletter-box {
    padding: 20px;
  }

  .mdf-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-wrap,
  .site-header-row-container-inner,
  .site-footer-row-container-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  /* ================================
   ARTICLE LAYOUT IMPROVEMENTS
================================ */

/* Narrow readable width */
.mdf-single-inner {
  max-width: 780px;
  margin: 0 auto;
}

/* Header spacing */
.mdf-single-header {
  margin-bottom: 28px;
}

.mdf-single-header h1 {
  margin-bottom: 10px;
}

/* Featured image spacing */
.mdf-single-thumbnail {
  margin-top: 20px;
  margin-bottom: 30px;
}

/* Section spacing */
.entry-content h2 {
  margin-top: 40px;
  margin-bottom: 12px;
}

.entry-content p {
  margin-bottom: 16px;
}

/* Clean content block */
.mdf-box {
  background: #fff;
  border: 1px solid var(--mdf-border);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 24px 0;
}

/* Better lists */
.entry-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.entry-content li {
  margin-bottom: 8px;
}

/* Two-column layout support */
.mdf-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .mdf-two-col {
    grid-template-columns: 1fr;
  }
}

/* Quote styling */
blockquote {
  border-left: 4px solid var(--mdf-accent);
  padding-left: 16px;
  margin: 24px 0;
  font-style: italic;
  color: var(--mdf-text);
}

/* Divider */
.entry-content hr {
  border: none;
  border-top: 1px solid var(--mdf-border);
  margin: 40px 0;
}

/* Remove boxed feel */
.mdf-single-card {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0;
}

/* Footer cleanup */
.site-footer-wrap {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* ================================
   ARTICLE PAGE – SECOND PASS
================================ */

.mdf-article-shell {
  display: block;
}

.mdf-single-header {
  text-align: left;
}

.mdf-single-header .mdf-kicker {
  margin-bottom: 14px;
}

.mdf-single-header h1 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.05;
  max-width: 12ch;
}

.mdf-single-header .mdf-muted {
  font-size: 0.98rem;
  color: var(--mdf-muted);
}

/* Better content rhythm */
.entry-content > * {
  max-width: 100%;
}

.entry-content h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  line-height: 1.15;
  margin-top: 52px;
  margin-bottom: 14px;
}

.entry-content h3 {
  font-size: 1.3rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.entry-content h6 {
  font-size: 0.92rem;
  color: var(--mdf-muted);
  letter-spacing: 0.01em;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
  font-size: 1.06rem;
  line-height: 1.8;
}

.entry-content ol {
  padding-left: 22px;
  margin-bottom: 20px;
}

.entry-content strong {
  color: var(--mdf-text);
}

/* Make the opening section feel more editorial */
.entry-content > p:first-of-type {
  font-size: 1.14rem;
  line-height: 1.9;
  color: #2b2b2b;
}

/* Better featured image presence */
.mdf-single-thumbnail {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--mdf-shadow);
}

/* Styled separator */
.entry-content hr,
.entry-content .wp-block-separator {
  border: none;
  border-top: 1px solid var(--mdf-border);
  margin: 42px 0;
  opacity: 1;
}

/* Better quote treatment */
.entry-content blockquote,
.wp-block-quote {
  background: #fff;
  border: 1px solid var(--mdf-border);
  border-left: 4px solid var(--mdf-accent);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 28px 0;
  box-shadow: 0 4px 18px rgba(22, 22, 22, 0.04);
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

/* Make plain tables look polished if you add one later */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 30px;
  background: #fff;
  border: 1px solid var(--mdf-border);
  border-radius: 16px;
  overflow: hidden;
}

.entry-content table th,
.entry-content table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--mdf-border);
  text-align: left;
}

.entry-content table th {
  background: #f7f2eb;
  font-weight: 600;
}

/* Footer/meta cleanup */
.mdf-article-footer {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--mdf-border);
}

.mdf-tax-links {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--mdf-muted);
}

.mdf-tax-links strong {
  color: var(--mdf-text);
}

.mdf-tax-links a {
  text-decoration: none;
}

/* Optional utility classes you can use inside posts later */
.mdf-highlight-box {
  background: #fffaf4;
  border: 1px solid var(--mdf-border);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 24px 0;
}

.mdf-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.mdf-stat-card {
  background: #fff;
  border: 1px solid var(--mdf-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 4px 18px rgba(22,22,22,0.04);
}

.mdf-stat-label {
  font-size: 0.84rem;
  color: var(--mdf-muted);
  margin-bottom: 8px;
}

.mdf-stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .mdf-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mdf-stat-grid {
    grid-template-columns: 1fr;
  }

  .mdf-single-header h1 {
    max-width: 100%;
  }
}
/* ================================
   LEGACY ARTICLE SUPPORT
================================ */

/* Better spacing for older/classic posts */
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > figure,
.entry-content > table {
  margin-bottom: 20px;
}

/* Stronger hierarchy for older headings */
.entry-content h2 {
  padding-top: 8px;
  border-top: 1px solid var(--mdf-border);
}

.entry-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

/* Make loose text rows feel less broken */
.entry-content {
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Improve classic image alignment */
.entry-content img {
  border-radius: 18px;
  height: auto;
}

.entry-content figure {
  margin: 28px 0;
}

.entry-content figcaption {
  font-size: 0.92rem;
  color: var(--mdf-muted);
  margin-top: 8px;
  text-align: center;
}

/* Style older plain-text data/table-like content when real table isn't used */
.entry-content table,
.entry-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 30px;
  background: #fff;
  border: 1px solid var(--mdf-border);
  border-radius: 16px;
  overflow: hidden;
}

.entry-content table th,
.entry-content table td,
.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--mdf-border);
  text-align: left;
}

.entry-content table th,
.entry-content .wp-block-table th {
  background: #f7f2eb;
  font-weight: 600;
}

/* Better classic blockquotes */
.entry-content blockquote,
.wp-block-quote {
  background: #fff;
  border: 1px solid var(--mdf-border);
  border-left: 4px solid var(--mdf-accent);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 18px rgba(22, 22, 22, 0.04);
}

/* Lists in older posts */
.entry-content ul,
.entry-content ol {
  padding-left: 24px;
}

.entry-content li {
  margin-bottom: 8px;
}

/* Small notes like the HbA1c note */
.entry-content h6,
.entry-content .has-small-font-size {
  font-size: 0.92rem;
  color: var(--mdf-muted);
}

/* Make embedded separators look intentional */
.entry-content .wp-block-separator,
.entry-content hr {
  margin: 42px 0;
  border: none;
  border-top: 1px solid var(--mdf-border);
  opacity: 1;
}
.mdf-legacy-friendly-content > *:first-child {
  margin-top: 0;
}
/* ================================
   HARDEN SINGLE POST LAYOUT
================================ */

.mdf-prose {
  max-width: 100%;
}

.mdf-prose > *:first-child {
  margin-top: 0 !important;
}

.mdf-prose > *:last-child {
  margin-bottom: 0 !important;
}

.mdf-prose p,
.mdf-prose ul,
.mdf-prose ol,
.mdf-prose blockquote,
.mdf-prose figure,
.mdf-prose table,
.mdf-prose .wp-block-image,
.mdf-prose .wp-block-table,
.mdf-prose .wp-block-columns,
.mdf-prose .wp-block-group {
  margin-top: 0;
  margin-bottom: 22px;
}

.mdf-prose h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  margin-top: 52px;
  margin-bottom: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--mdf-border);
}

.mdf-prose h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.mdf-prose h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  margin-top: 28px;
  margin-bottom: 10px;
}

.mdf-prose h4,
.mdf-prose h5,
.mdf-prose h6 {
  margin-top: 22px;
  margin-bottom: 10px;
}

.mdf-prose p,
.mdf-prose li,
.mdf-prose blockquote {
  font-size: 1.06rem;
  line-height: 1.8;
}

.mdf-prose ul,
.mdf-prose ol {
  padding-left: 24px;
}

.mdf-prose li {
  margin-bottom: 8px;
}

.mdf-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.mdf-prose figure {
  margin: 28px 0;
}

.mdf-prose figcaption {
  font-size: 0.92rem;
  color: var(--mdf-muted);
  margin-top: 8px;
  text-align: center;
}

.mdf-prose blockquote,
.mdf-prose .wp-block-quote {
  background: #fff;
  border: 1px solid var(--mdf-border);
  border-left: 4px solid var(--mdf-accent);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 18px rgba(22, 22, 22, 0.04);
}

.mdf-prose hr,
.mdf-prose .wp-block-separator {
  border: none;
  border-top: 1px solid var(--mdf-border);
  margin: 42px 0;
  opacity: 1;
}

.mdf-prose table,
.mdf-prose .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 30px;
  background: #fff;
  border: 1px solid var(--mdf-border);
  border-radius: 16px;
  overflow: hidden;
}

.mdf-prose table th,
.mdf-prose table td,
.mdf-prose .wp-block-table th,
.mdf-prose .wp-block-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--mdf-border);
  text-align: left;
}

.mdf-prose table th,
.mdf-prose .wp-block-table th {
  background: #f7f2eb;
  font-weight: 600;
}

.mdf-prose .has-small-font-size,
.mdf-prose h6 {
  font-size: 0.92rem;
  color: var(--mdf-muted);
}

/* Hide stray like/share counters if theme/plugin prints bare zeros */
.mdf-prose + .sharedaddy,
.mdf-prose .sharedaddy,
.mdf-prose .jp-sharing,
.mdf-prose .sd-sharing-enabled,
.mdf-prose .sd-like,
.mdf-prose .sd-block,
.mdf-prose .post-likes,
.mdf-prose .likes,
.mdf-prose .shared-counts {
  display: none !important;
}

/* Defensive cleanup for empty paragraphs often found in old posts */
.mdf-prose p:empty {
  display: none;
}

/* ================================
   FEATURED IMAGE CONTROL
================================ */

.mdf-single-thumbnail {
  max-width: 720px;
  margin: 0 auto 30px;
  border-radius: 18px;
  overflow: hidden;
}

.mdf-single-thumbnail img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.mdf-single-thumbnail {
  max-width: 720px;
  margin: 10px auto 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.mdf-single-thumbnail {
  max-width: 680px;
}
.mdf-single-thumbnail img,
.mdf-featured-image {
  max-height: 400px;
}
/* About page polish */
.page-about .entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-about h2 {
  margin-top: 40px;
}
/* ================================
   ABOUT PAGE
================================ */

.mdf-about-hero {
  text-align: center;
  padding: 72px 20px 56px;
  background: #f8f5f0;
  border-radius: 28px;
  margin: 10px 0 28px;
}

.mdf-about-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
}

.mdf-about-subtitle {
  max-width: 720px;
  margin: 0 auto;
  color: var(--mdf-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.mdf-about-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.mdf-about-intro {
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--mdf-text);
}

.mdf-about-intro p {
  margin-bottom: 18px;
}

.mdf-about-section {
  margin: 56px 0;
}

.mdf-about-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.mdf-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mdf-about-card {
  background: #fff;
  border: 1px solid var(--mdf-border);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 8px 24px rgba(22, 22, 22, 0.04);
}

.mdf-about-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.mdf-about-card p {
  margin: 0;
  color: var(--mdf-muted);
  line-height: 1.75;
}

.mdf-about-quote {
  max-width: 820px;
  margin: 56px auto;
  background: #fffaf4;
  border: 1px solid var(--mdf-border);
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
}

.mdf-about-quote p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.7;
}

.mdf-about-note {
  max-width: 820px;
  margin: 0 auto 56px;
}

.mdf-about-note p {
  color: var(--mdf-muted);
  line-height: 1.85;
}

.mdf-about-cta {
  text-align: center;
  padding: 10px 0 20px;
}

.mdf-about-cta-buttons {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mdf-about-btn {
  display: inline-block;
  background: var(--mdf-accent);
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.mdf-about-btn:hover {
  background: var(--mdf-accent-dark);
  color: #fff;
}

.page-about .mdf-single-card,
.page-about .entry-content {
  max-width: 100%;
}

.page-about .entry-content > *:first-child {
  margin-top: 0;
}

@media (max-width: 900px) {
  .mdf-about-grid {
    grid-template-columns: 1fr;
  }
}
/* ================================
   HOME PAGE POLISH
================================ */

.mdf-card-image {
  min-height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--mdf-border);
}

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

.mdf-section {
  padding-top: 34px;
}

.mdf-side-card h2 {
  font-size: 1.8rem;
  line-height: 1.2;
}

.mdf-archive-card p:last-child,
.mdf-card-body p:last-child {
  margin-bottom: 0;
}
}
/* ================================
   DISH REVIEWS V2
================================ */

.mdf-dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mdf-dish-card {
  background: #fff;
  border: 1px solid var(--mdf-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(22,22,22,0.04);
}

.mdf-dish-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.mdf-dish-rank {
  font-size: 0.82rem;
  color: var(--mdf-muted);
  margin-bottom: 6px;
  font-weight: 600;
}

.mdf-dish-name {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.mdf-dish-rating {
  background: #fffaf4;
  border: 1px solid var(--mdf-border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.mdf-dish-restaurant {
  margin-top: 8px;
  font-weight: 600;
  color: var(--mdf-text);
}

.mdf-dish-meta {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--mdf-muted);
  font-size: 0.92rem;
}

.mdf-dish-bestfor {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--mdf-muted);
}

.mdf-dish-note {
  margin-top: 12px;
  color: var(--mdf-text);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .mdf-dish-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .mdf-dish-grid {
    grid-template-columns: 1fr;
  }
}

/* Dynamic ranking pages */
.mdf-dynamic-header {
  margin-bottom: 28px;
}

.mdf-dynamic-header h1 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}