/* site palette */
html:root {
    --bg: #FAF7F1;
    --surface: #FFFFFF;
    --surface-alt: #E6F2F5;
    --text: #201C13;
    --text-muted: #726A5A;
    --border: #E4E0D8;
    --primary: #1E6272;
    --primary-hover: #174A56;
    --on-primary: #FFFFFF;
    --primary-text: #1E6272;
    --accent: #D1B35B;
    --on-accent: #111111;
    --accent-text: #836B25;
    --dark-band: #0D2A31;
    --on-dark: #FFFFFF;
    --on-dark-muted: #C3BFB6;
    --brand-btn-bg: #FFFFFF;
    --brand-btn-text: #0D2A31;
    --section-alt-bg: linear-gradient(199deg, #E6F2F5 0%, #F2F5F3 100%);
    --dark-band-bg: linear-gradient(150deg, #0D2A31 0%, #154551 100%);
    --brand-band-bg: #1E6272;
    --hero-bg: linear-gradient(150deg, #0D2A31 0%, #154551 100%);
}

/* /site palette */

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

body {
    font-family: 'LXGW WenKai TC', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.text-muted {
    color: var(--text-muted) !important;
}

.rz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--on-primary);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
    text-decoration: none;
    cursor: pointer;
}

.rz-btn:hover {
    background-color: var(--primary-hover);
    color: var(--on-primary);
}

.rz-btn-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary-text);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
    text-decoration: none;
    cursor: pointer;
}

.rz-btn-alt:hover {
    background-color: var(--surface-alt);
    color: var(--primary);
    border-color: var(--primary);
}

.rz-card {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 150ms ease;
}

.rz-card:hover {
    border-color: var(--primary);
}

.rz-card-highlight {
    background-color: var(--primary) !important;
    color: var(--on-primary) !important;
    border-color: var(--primary) !important;
}

.rz-card-highlight .rz-title-card {
    color: var(--on-primary) !important;
}

.rz-card-highlight .text-muted {
    color: var(--surface-alt) !important;
}

.rz-card-highlight .rz-icon {
    background-color: var(--surface) !important;
    color: var(--primary) !important;
}

.rz-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    border: 1px solid var(--border);
    overflow: hidden;
    flex-shrink: 0;
}

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

.rz-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.rz-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.25;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.rz-title-muted {
    display: block;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.25rem;
}

.rz-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    background-color: var(--surface-alt);
    color: var(--primary-text);
    border: 1px solid var(--border);
}

.rz-icon {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background-color: var(--primary);
    color: var(--on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.rz-section {
    background-color: var(--bg);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .rz-section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.rz-section-alt {
    background: var(--section-alt-bg, var(--surface-alt));
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .rz-section-alt {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.rz-section-dark {
    background: var(--dark-band-bg, var(--dark-band));
    color: var(--on-dark);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .rz-section-dark {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.rz-section-brand {
    background-color: var(--brand-band-bg, var(--primary));
    color: var(--on-primary);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .rz-section-brand {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.rz-section-brand .rz-btn {
    background-color: var(--brand-btn-bg, #ffffff);
    color: var(--brand-btn-text, #0D2A31);
    border-color: var(--brand-btn-bg, #ffffff);
}

.rz-section-brand .rz-btn:hover {
    background-color: var(--surface-alt);
    color: var(--brand-btn-text, #0D2A31);
}

.rz-section-brand .rz-btn-alt {
    color: var(--on-primary);
    border-color: var(--on-primary);
}

.rz-section-brand .rz-btn-alt:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.rz-on-dark {
    color: var(--on-dark);
}

.rz-section-dark,
.rz-on-dark {
    color: var(--on-dark);
}

.rz-section-dark h1,
.rz-section-dark h2,
.rz-section-dark h3,
.rz-section-dark h4,
.rz-on-dark h1,
.rz-on-dark h2,
.rz-on-dark h3,
.rz-on-dark h4 {
    color: var(--on-dark);
}

.rz-section-dark .text-muted,
.rz-on-dark .text-muted {
    color: var(--on-dark-muted) !important;
}

.rz-section-dark .rz-eyebrow,
.rz-on-dark .rz-eyebrow {
    color: var(--accent);
}

.rz-section-dark .rz-title-muted,
.rz-on-dark .rz-title-muted {
    color: var(--on-dark-muted);
}

.rz-section-dark .rz-btn-alt,
.rz-on-dark .rz-btn-alt {
    color: var(--on-dark);
    border-color: var(--on-dark);
}

.rz-section-dark .rz-btn-alt:hover,
.rz-on-dark .rz-btn-alt:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.rz-section-dark .rz-card,
.rz-on-dark .rz-card {
    background-color: var(--surface);
    color: var(--text);
    border-color: var(--border);
}

.rz-section-dark .rz-card .text-muted,
.rz-on-dark .rz-card .text-muted {
    color: var(--text-muted) !important;
}

.rz-section-dark .rz-card h1,
.rz-section-dark .rz-card h2,
.rz-section-dark .rz-card h3,
.rz-section-dark .rz-card h4,
.rz-on-dark .rz-card h1,
.rz-on-dark .rz-card h2,
.rz-on-dark .rz-card h3,
.rz-on-dark .rz-card h4 {
    color: var(--text);
}

/* ===== hero ===== */
.hero-section {
    position: relative;
    width: 100%;
    isolation: isolate;
}

.hero-section .hero-media-wrapper {
    width: 100%;
    height: 100%;
}

.hero-section .hero-overlay {
    background: linear-gradient(180deg, rgba(13, 42, 49, 0.45) 0%, rgba(13, 42, 49, 0.72) 65%, rgba(13, 42, 49, 0.88) 100%);
}

.hero-section h1 {
    overflow-wrap: anywhere;
}

.hero-section p {
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 480px;
    }
}

/* ===== morning-brief ===== */
.morning-brief-section {
    background-color: var(--bg);
    overflow-wrap: anywhere;
}

.morning-brief-section .rz-card {
    padding: 24px;
}

.morning-brief-section .morning-brief-feed {
    list-style: none;
    margin: 0;
    padding: 0;
}

.morning-brief-section .morning-brief-item h4,
.morning-brief-section .morning-brief-item p {
    margin: 0;
}

@media (max-width: 767px) {
    .morning-brief-section .rz-card {
        padding: 16px;
    }
}

/* ===== weather-food ===== */
.weather-food-section {
    overflow: hidden;
}

.weather-food-section .weather-ingredient-card {
    min-height: 220px;
}

.weather-food-section .weather-tab.active {
    background-color: var(--primary) !important;
    color: var(--on-primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 767px) {
    .weather-food-section .weather-tab {
        width: 100%;
        text-align: center;
    }
}

/* ===== infographics ===== */
#nutrition-infographics .js-tab-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px
}

#nutrition-infographics .js-data-card {
    transition: opacity 200ms ease, transform 200ms ease
}

#nutrition-infographics .js-data-card.is-hidden {
    display: none
}

/* ===== recipes-grid ===== */
.recipes-grid-block {
    position: relative;
    overflow-wrap: anywhere;
}

.recipes-grid-block .recipes-grid-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-color: #E4E0D8;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.recipes-grid-block .recipes-grid-card:hover {
    border-color: #1E6272;
}

.recipes-grid-block .rz-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .recipes-grid-block .recipes-grid-container {
        grid-template-columns: 1fr;
    }
}

/* ===== weekly-menu ===== */
.weekly-menu-section {
    overflow-wrap: anywhere;
}

.weekly-menu-section a {
    text-decoration: none;
}

.weekly-menu-section img {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .weekly-menu-section .grid {
        grid-template-columns: 1fr;
    }
}

/* ===== shopping-list-update ===== */
.shopping-update-section .shopping-update-card {
    transition: border-color 150ms ease;
}

.shopping-update-section .shopping-update-card:hover {
    border-color: var(--primary);
}

@media (max-width: 767px) {
    .shopping-update-section .shopping-update-layout {
        grid-template-columns: 1fr;
    }
}

/* ===== meal-planner ===== */
.smart-meal-planner .smart-meal-planner__item {
    cursor: pointer;
}

.smart-meal-planner .smart-meal-planner__item .smart-meal-planner__check {
    display: none;
}

.smart-meal-planner .smart-meal-planner__item.is-active {
    border-color: var(--primary);
    background-color: var(--surface-alt);
}

.smart-meal-planner .smart-meal-planner__item.is-active .smart-meal-planner__check {
    display: inline-block;
}

.smart-meal-planner input::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

/* ===== footer ===== */
#smartlunch-footer {
    background: var(--dark-band-bg, linear-gradient(150deg, #0D2A31 0%, #154551 100%));
    position: relative;
    width: 100%;
    overflow: hidden;
}

#smartlunch-footer .sm-footer__disclaimer {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

#smartlunch-footer .sm-footer__disclaimer-text {
    overflow-wrap: anywhere;
    word-break: normal;
}

#smartlunch-footer a {
    transition: color 150ms ease, opacity 150ms ease;
}

#smartlunch-footer .sm-footer__col ul li a:hover {
    color: var(--on-dark);
}

@media (max-width: 767px) {
    #smartlunch-footer .sm-footer__container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #smartlunch-footer .sm-footer__col {
        min-width: 0;
    }
}

/* ===== PAGE: weekly-menu ===== */
.menu-list { position: relative; }
.menu-list__thumb img { transition: transform 0.3s ease; }
.menu-list__thumb:hover img { transform: scale(1.04); }
.menu-list__spotlight { min-height: 100%; }
.menu-list .js-day-btn.is-active {
  background-color: var(--primary, #1E6272);
  color: #FFFFFF;
}
@media (max-width: 767px) {
  .menu-list .js-day-content {
    grid-template-columns: 1fr;
  }
}

/* ===== PAGE: recipes ===== */
.recipes-catalog-section .recipe-clean-item { box-shadow: none; }
.recipes-catalog-section .recipe-clean-item:hover .rz-media img { transform: scale(1.03); }
.recipes-catalog-section .js-recipe-filter.active { background-color: var(--primary); color: var(--on-primary); border-color: var(--primary); }
@media (max-width: 767px) {
  .recipes-catalog-section .recipe-clean-item > div { flex-direction: column; }
  .recipes-catalog-section .rz-media { width: 100%; aspect-ratio: 16/9; }
}

/* ===== PAGE: meal-planning ===== */
.meal-planning-block { overflow-wrap: anywhere; }
.meal-planning-block h2, .meal-planning-block h3, .meal-planning-block p { hyphens: auto; }
.meal-planning-block a { text-decoration: none; }

/* ===== PAGE: shopping-list ===== */
.shopping-tips-section {
  --tips-border-trans: rgba(228, 224, 216, 0.8);
}
.shopping-tips-section .shopping-article-card {
  min-height: 100%;
}
.shopping-tips-section .shopping-article-card img {
  aspect-ratio: 1 / 1;
}
@media (max-width: 767px) {
  .shopping-tips-section .js-checklist-items {
    grid-template-columns: 1fr;
  }
  .shopping-tips-section .js-tips-content-container {
    grid-template-columns: 1fr;
  }
}

/* ===== PAGE: culinary-guide ===== */
.guide-list-block {
  background-color: var(--bg);
}
.guide-list-block .guide-card {
  min-width: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.guide-list-block .guide-card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.guide-list-block .guide-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 767px) {
  .guide-list-block .guide-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== PAGE: about-us ===== */
.smartlunch-about-section {
  background-color: #FAF7F1;
  padding-top: 4rem;
  padding-bottom: 4rem;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .smartlunch-about-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.smartlunch-about-section h2, 
.smartlunch-about-section h3 {
  hyphens: auto;
}

.smartlunch-about-section .rz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.smartlunch-about-section .rz-btn-alt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== PAGE: contact ===== */
.contact-block .contact-input { color: var(--text); background-color: var(--bg); border: 1px solid var(--border); } .contact-block .contact-input::placeholder { color: var(--text-muted); opacity: 0.85; } .contact-block .contact-input:focus { border-color: var(--primary); background-color: var(--surface); } .contact-block .contact-form-panel { box-shadow: 0 4px 16px rgba(13, 42, 49, 0.06); } .contact-block .contact-consent input[type='checkbox'] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; } @media (max-width: 767px) { .contact-block .rz-title { font-size: 16px; } .contact-block h3 { font-size: 14px; } }

/* ===== PAGE: privacy ===== */
.privacy-content-block { overflow-wrap: anywhere; word-break: break-word; } .privacy-content-block .rz-card { box-shadow: 0 4px 16px rgba(13, 42, 49, 0.04); } @media (max-width: 767px) { .privacy-content-block .rz-card { padding: 18px 16px; } }

/* ===== PAGE: terms ===== */
.terms-content-block { overflow-wrap: anywhere; }
.terms-content-block .terms-nav-list a { position: relative; border-radius: 4px; padding-left: 8px; padding-right: 8px; }
.terms-content-block .terms-nav-list a:hover { background-color: var(--surface-alt); }
.terms-content-block .terms-nav-list a.active { color: var(--primary); background-color: var(--surface-alt); font-weight: 700; }
@media (max-width: 767px) {
  .terms-content-block aside { order: 2; margin-top: 1.5rem; }
  .terms-content-block .lg\:col-span-8 { order: 1; }
}

/* ===== PAGE: disclaimer ===== */
.disclaimer-page-block { word-break: break-word; overflow-wrap: anywhere; } .disclaimer-page-block .disclaimer-nav a:hover i:last-child { transform: translateX(2px); color: var(--primary-text); } .disclaimer-page-block .disclaimer-nav a i:last-child { transition: transform 150ms ease, color 150ms ease; }

/* ===== PAGE: cookies ===== */
.cookies-page-section {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font_family_base, sans-serif);
}
.cookies-page-section__header {
  overflow-wrap: anywhere;
}
.cookies-page-section .rz-card {
  min-height: 100%;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.cookies-page-section .rz-card:hover {
  border-color: #1E6272;
}
.cookies-page-section .active-btn {
  background-color: #1E6272 !important;
  color: #FFFFFF !important;
  border-color: #1E6272 !important;
}
@media (max-width: 767px) {
  .cookies-page-section table thead {
    display: none;
  }
  .cookies-page-section table,
  .cookies-page-section table tbody,
  .cookies-page-section table tr,
  .cookies-page-section table td {
    display: block;
    width: 100%;
  }
  .cookies-page-section table tr {
    margin-bottom: 1rem;
    border: 1px solid #E4E0D8;
    border-radius: 4px;
    padding: 0.5rem;
  }
  .cookies-page-section table td {
    padding: 0.375rem 0.5rem;
  }
}

.comment-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    object-fit: cover;
}

.food-comment-item {
    background-color: #FFFFFF;
    border-color: #E4E0D8;
}

.food-comment-item .comment-body {
    color: #201C13;
    font-family: 'LXGW WenKai TC', sans-serif;
}

.comment-action-btn:hover {
    color: #1E6272;
}

.reply-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    object-fit: cover;
}

.food-reply-item {
    background-color: #FAF7F1;
    border-color: #E4E0D8;
    border-left-color: #1E6272;
}

.food-reply-item .reply-body {
    color: #201C13;
    font-family: 'LXGW WenKai TC', sans-serif;
}

.comment-action-btn:hover {
    color: #1E6272;
}


/* ===== PAGE TEMPLATE: weekly-menu ===== */
.hero-section {
    position: relative;
    width: 100%;
    isolation: isolate;
}

.hero-section .hero-media-wrapper {
    width: 100%;
    height: 100%;
}

.hero-section .hero-overlay {
    background: linear-gradient(180deg, rgba(13, 42, 49, 0.45) 0%, rgba(13, 42, 49, 0.72) 65%, rgba(13, 42, 49, 0.88) 100%);
}

.hero-section h1 {
    overflow-wrap: anywhere;
}

.hero-section p {
    overflow-wrap: anywhere;
}

@media (max-width:767px) {
    .hero-section {
        min-height: 480px;
    }
}

#smartlunch-footer {
    background: var(--dark-band-bg, linear-gradient(150deg, #0D2A31 0%, #154551 100%));
    position: relative;
    width: 100%;
    overflow: hidden;
}

#smartlunch-footer .sm-footer__disclaimer {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

#smartlunch-footer .sm-footer__disclaimer-text {
    overflow-wrap: anywhere;
    word-break: normal;
}

#smartlunch-footer a {
    transition: color 150ms ease, opacity 150ms ease;
}

#smartlunch-footer .sm-footer__col ul li a:hover {
    color: var(--on-dark);
}

@media (max-width:767px) {
    #smartlunch-footer .sm-footer__container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #smartlunch-footer .sm-footer__col {
        min-width: 0;
    }
}

.page-menu-detail .summary-overview-card {
    overflow-wrap: anywhere;
}

.page-menu-detail .article-body-content p {
    margin-bottom: 1.25rem;
    overflow-wrap: anywhere;
}

.page-menu-detail .comment-avatar,
.page-menu-detail .reply-avatar {
    width: 38px;
    height: 38px;
}

.page-menu-detail .comment-action-btn.active {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width:767px) {
    .page-menu-detail .schedule-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PAGE TEMPLATE: recipes ===== */
.hero-section {
    position: relative;
    width: 100%;
    isolation: isolate;
}

.hero-section .hero-media-wrapper {
    width: 100%;
    height: 100%;
}

.hero-section .hero-overlay {
    background: linear-gradient(180deg, rgba(13, 42, 49, 0.5) 0%, rgba(13, 42, 49, 0.75) 65%, rgba(13, 42, 49, 0.92) 100%);
}

.hero-section h1,
.hero-section p {
    overflow-wrap: anywhere;
}

.recipe-detail-wrapper {
    isolation: isolate;
}

.recipe-detail-wrapper h1,
.recipe-detail-wrapper h2,
.recipe-detail-wrapper h3,
.recipe-detail-wrapper p {
    overflow-wrap: anywhere;
    hyphens: auto;
}

.recipe-prose p {
    line-height: 1.7;
}

.recipe-striped-table th,
.recipe-striped-table td {
    overflow-wrap: anywhere;
}

#smartlunch-footer {
    background: var(--dark-band-bg, linear-gradient(150deg, #0D2A31 0%, #154551 100%));
    position: relative;
    width: 100%;
    overflow: hidden;
}

#smartlunch-footer .sm-footer__disclaimer {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

#smartlunch-footer .sm-footer__disclaimer-text {
    overflow-wrap: anywhere;
    word-break: normal;
}

#smartlunch-footer a {
    transition: color 150ms ease, opacity 150ms ease;
}

#smartlunch-footer .sm-footer__col ul li a:hover {
    color: var(--on-dark);
}

@media (max-width: 767px) {
    .recipe-striped-table thead {
        display: none;
    }

    .recipe-striped-table,
    .recipe-striped-table tbody,
    .recipe-striped-table tr,
    .recipe-striped-table th,
    .recipe-striped-table td {
        display: block;
        width: 100%;
    }

    .recipe-striped-table th {
        padding-bottom: 0.25rem;
    }

    .recipe-striped-table td {
        padding-top: 0.25rem;
    }

    #smartlunch-footer .sm-footer__container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #smartlunch-footer .sm-footer__col {
        min-width: 0;
    }
}

/* ===== PAGE TEMPLATE: meal-planning ===== */
.hero-section {
    position: relative;
    width: 100%;
    isolation: isolate;
}

.hero-section .hero-media-wrapper {
    width: 100%;
    height: 100%;
}

.hero-section .hero-overlay {
    background: linear-gradient(180deg, rgba(13, 42, 49, 0.55) 0%, rgba(13, 42, 49, 0.78) 65%, rgba(13, 42, 49, 0.92) 100%);
}

.hero-section h1,
.hero-section p {
    overflow-wrap: anywhere;
}

.magazine-editorial-content {
    width: 100%;
}

.magazine-columns {
    column-count: 2;
    column-gap: 2.5rem;
    text-align: justify;
}

.magazine-columns p {
    margin-bottom: 1.25rem;
    overflow-wrap: anywhere;
}

.magazine-breakout {
    column-span: all;
}

.magazine-accent-line {
    background-color: var(--primary);
}

.comment-avatar {
    width: 40px;
    height: 40px;
}

.reply-avatar {
    width: 32px;
    height: 32px;
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 380px;
    }

    .magazine-columns {
        column-count: 1;
        text-align: left;
    }

    #smartlunch-footer .sm-footer__container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #smartlunch-footer .sm-footer__col {
        min-width: 0;
    }
}

#smartlunch-footer {
    background: var(--dark-band-bg, linear-gradient(150deg, #0D2A31 0%, #154551 100%));
    position: relative;
    width: 100%;
    overflow: hidden;
}

#smartlunch-footer .sm-footer__disclaimer {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

#smartlunch-footer .sm-footer__disclaimer-text {
    overflow-wrap: anywhere;
    word-break: normal;
}

#smartlunch-footer a {
    transition: color 150ms ease, opacity 150ms ease;
}

#smartlunch-footer .sm-footer__col ul li a:hover {
    color: var(--on-dark);
}

/* ===== PAGE TEMPLATE: shopping-list ===== */
.hero-section {
    position: relative;
    width: 100%;
    isolation: isolate;
}

.hero-section .hero-media-wrapper {
    width: 100%;
    height: 100%;
}

.hero-section .hero-overlay {
    background: linear-gradient(180deg, rgba(13, 42, 49, 0.45) 0%, rgba(13, 42, 49, 0.72) 65%, rgba(13, 42, 49, 0.88) 100%);
}

.hero-section h1 {
    overflow-wrap: anywhere;
}

.hero-section p {
    overflow-wrap: anywhere;
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 480px;
    }
}

#smartlunch-footer {
    background: var(--dark-band-bg, linear-gradient(150deg, #0D2A31 0%, #154551 100%));
    position: relative;
    width: 100%;
    overflow: hidden;
}

#smartlunch-footer .sm-footer__disclaimer {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

#smartlunch-footer .sm-footer__disclaimer-text {
    overflow-wrap: anywhere;
    word-break: normal;
}

#smartlunch-footer a {
    transition: color 150ms ease, opacity 150ms ease;
}

#smartlunch-footer .sm-footer__col ul li a:hover {
    color: var(--on-dark);
}

@media (max-width: 767px) {
    #smartlunch-footer .sm-footer__container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #smartlunch-footer .sm-footer__col {
        min-width: 0;
    }
}

.article-detail-page .comment-avatar,
.article-detail-page .reply-avatar {
    width: 40px;
    height: 40px;
}

.article-detail-page .reply-avatar {
    width: 32px;
    height: 32px;
}

.article-detail-page .comment-action-btn.is-active {
    color: var(--primary);
    font-weight: bold;
}

.article-detail-page .comment-action-btn.is-active i {
    transform: scale(1.15);
}

.article-detail-page .js-faq-item.is-open .js-faq-icon {
    transform: rotate(45deg);
}

.article-detail-page input::placeholder,
.article-detail-page textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

/* ===== PAGE TEMPLATE: culinary-guide ===== */
.hero-section {
    position: relative;
    width: 100%;
    isolation: isolate;
}

.hero-section .hero-media-wrapper {
    width: 100%;
    height: 100%;
}

.hero-section .hero-overlay {
    background: linear-gradient(180deg, rgba(13, 42, 49, 0.55) 0%, rgba(13, 42, 49, 0.78) 65%, rgba(13, 42, 49, 0.92) 100%);
}

.hero-section h1 {
    overflow-wrap: anywhere;
}

.hero-section p {
    overflow-wrap: anywhere;
}

.cg-article-page .cg-image-frame {
    transition: border-color 150ms ease;
}

.cg-article-page .cg-facts-list dt,
.cg-article-page .cg-facts-list dd {
    overflow-wrap: anywhere;
}

.cg-article-page input::placeholder,
.cg-article-page textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

.food-comment-item .comment-avatar {
    width: 40px;
    height: 40px;
}

.food-reply-item .reply-avatar {
    width: 32px;
    height: 32px;
}

.comment-action-btn.is-active {
    color: var(--primary);
}

.comment-action-btn.is-active i {
    font-weight: 700;
}

#smartlunch-footer {
    background: var(--dark-band-bg, linear-gradient(150deg, #0D2A31 0%, #154551 100%));
    position: relative;
    width: 100%;
    overflow: hidden;
}

#smartlunch-footer .sm-footer__disclaimer {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

#smartlunch-footer .sm-footer__disclaimer-text {
    overflow-wrap: anywhere;
    word-break: normal;
}

#smartlunch-footer a {
    transition: color 150ms ease, opacity 150ms ease;
}

#smartlunch-footer .sm-footer__col ul li a:hover {
    color: var(--on-dark);
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 400px;
    }

    .cg-article-page .cg-facts-list>div {
        flex-direction: row;
        justify-content: space-between;
    }

    #smartlunch-footer .sm-footer__container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #smartlunch-footer .sm-footer__col {
        min-width: 0;
    }
}

/* mobile-text-guard */
@media (max-width: 767px) {
  h1, h2, h3, h4, h5, h6, p, li, dt, dd, blockquote, figcaption, td, th, label {
    overflow-wrap: anywhere;
  }
  a, button, .btn {
    overflow-wrap: anywhere;
    white-space: normal;
  }
  img, video, iframe {
    max-width: 100%;
  }
}
