/*
    Ricette.cc — Modello 3
    Palette: verde profondo, crema e oro.
    Struttura mobile-first con categorie laterali su desktop.
*/

:root {
    --green-950: #031d16;
    --green-900: #043326;
    --green-850: #064232;
    --green-800: #07503b;
    --green-700: #0a6648;
    --green-600: #11805a;
    --cream-50: #fffdf7;
    --cream-100: #faf5e9;
    --cream-150: #f5eedf;
    --cream-200: #eee2ce;
    --cream-300: #e1ceb0;
    --ink: #18251f;
    --ink-soft: #536057;
    --gold-300: #e5c57c;
    --gold-400: #d5aa50;
    --gold-500: #bf8d2c;
    --red: #bb2e27;
    --white: #ffffff;
    --border: rgba(60, 50, 31, 0.16);
    --green-border: rgba(229, 197, 124, 0.25);
    --shadow-sm: 0 8px 24px rgba(21, 32, 26, 0.08);
    --shadow-md: 0 18px 48px rgba(12, 30, 22, 0.14);
    --shadow-dark: 0 24px 60px rgba(0, 15, 10, 0.30);
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --container: 1440px;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    background: var(--green-950);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream-100);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p,
figure {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    line-height: 1.08;
}

h1 {
    font-size: clamp(2.35rem, 8vw, 5.75rem);
    letter-spacing: -0.045em;
}

h2 {
    font-size: clamp(1.75rem, 5vw, 3.1rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: clamp(1.16rem, 3vw, 1.5rem);
}

::selection {
    color: var(--green-950);
    background: var(--gold-300);
}

.container {
    width: min(calc(100% - 28px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tricolore {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 4px;
    position: relative;
    z-index: 1001;
}

.tricolore span:nth-child(1) {
    background: #168447;
}

.tricolore span:nth-child(2) {
    background: #f7f3e8;
}

.tricolore span:nth-child(3) {
    background: #c72f2a;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 253, 247, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 72px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    justify-self: start;
}

.brand-name {
    color: var(--green-900);
    font-family: var(--serif);
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.brand-name strong {
    color: var(--red);
    font-weight: 700;
}

.brand-tagline {
    margin-top: 7px;
    color: var(--green-700);
    font-size: 0.64rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.header-search,
.desktop-nav {
    display: none;
}

.menu-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    color: var(--green-900);
    background: transparent;
    border: 1px solid rgba(4, 51, 38, 0.2);
    border-radius: 50%;
}

.menu-button span {
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1200;
    padding: 12px;
    background: rgba(1, 19, 14, 0.74);
    backdrop-filter: blur(10px);
}

.mobile-menu-panel {
    width: min(100%, 440px);
    height: 100%;
    margin-left: auto;
    padding: 22px;
    overflow-y: auto;
    color: var(--cream-50);
    background:
        radial-gradient(circle at 80% 15%, rgba(213, 170, 80, 0.16), transparent 32%),
        linear-gradient(150deg, var(--green-800), var(--green-950));
    border: 1px solid var(--green-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark);
}

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--green-border);
}

.mobile-menu-top .brand-name {
    color: var(--cream-50);
}

.mobile-menu-top button {
    width: 42px;
    height: 42px;
    color: var(--cream-50);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--green-border);
    border-radius: 50%;
    font-size: 1.6rem;
}

.mobile-search {
    display: grid;
    grid-template-columns: 1fr auto;
    margin: 22px 0;
    padding: 6px;
    background: var(--cream-50);
    border-radius: 999px;
}

.mobile-search input {
    min-width: 0;
    padding: 10px 14px;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.mobile-search button {
    padding: 0 18px;
    color: var(--green-950);
    background: var(--gold-300);
    border: 0;
    border-radius: 999px;
    font-weight: 800;
}

.mobile-main-nav,
.mobile-category-nav {
    display: grid;
}

.mobile-main-nav a,
.mobile-category-nav a {
    padding: 13px 2px;
    border-bottom: 1px solid rgba(229, 197, 124, 0.18);
}

.mobile-main-nav a {
    font-family: var(--serif);
    font-size: 1.24rem;
}

.mobile-category-nav {
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.mobile-category-nav a {
    font-size: 0.9rem;
}

.mobile-menu-label {
    margin: 26px 0 6px;
    color: var(--gold-300);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Main layout and sidebar */

.site-main {
    min-height: 60vh;
    background:
        radial-gradient(circle at 10% 5%, rgba(229, 197, 124, 0.08), transparent 26rem),
        var(--cream-100);
}

.content-layout {
    padding-block: 18px 42px;
}

.site-sidebar {
    display: none;
}

.content-column {
    min-width: 0;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    color: #6e756f;
    font-size: 0.77rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.breadcrumbs::-webkit-scrollbar {
    display: none;
}

.breadcrumbs a:hover {
    color: var(--green-700);
    text-decoration: underline;
}

/* Shared headings and buttons */

.eyebrow,
.card-kicker {
    margin-bottom: 8px;
    color: var(--gold-500);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading {
    display: grid;
    gap: 12px;
    margin-bottom: 22px;
}

.section-heading h2 {
    margin-bottom: 8px;
    color: var(--green-900);
}

.section-heading p:not(.eyebrow) {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--ink-soft);
}

.centered-heading {
    text-align: center;
}

.centered-heading p {
    margin-inline: auto;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: var(--green-800);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-link span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(4, 51, 38, 0.22);
    border-radius: 50%;
}

.gold-button,
.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.gold-button {
    color: var(--green-950);
    background: linear-gradient(135deg, #f0d38e, var(--gold-400));
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 9px 24px rgba(191, 141, 44, 0.23);
}

.outline-button {
    color: var(--green-800);
    background: transparent;
    border: 1px solid rgba(4, 51, 38, 0.28);
}

.gold-button:hover,
.outline-button:hover {
    transform: translateY(-1px);
}

/* Home hero */

.home-hero {
    position: relative;
    display: grid;
    overflow: hidden;
    color: var(--cream-50);
    background:
        radial-gradient(circle at 75% 20%, rgba(213, 170, 80, 0.17), transparent 32%),
        radial-gradient(circle at 15% 90%, rgba(17, 128, 90, 0.22), transparent 40%),
        linear-gradient(145deg, var(--green-800), var(--green-950));
    border: 1px solid var(--green-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(229, 197, 124, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 197, 124, 0.12) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at 70% 40%, black, transparent 70%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 34px 24px 10px;
}

.hero-kicker {
    margin-bottom: 16px;
    color: var(--gold-300);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 720px;
    margin-bottom: 20px;
    color: var(--cream-50);
    font-size: clamp(3.2rem, 15vw, 7.6rem);
}

.home-hero h1 span {
    color: var(--gold-300);
}

.hero-copy > p:not(.hero-kicker) {
    max-width: 570px;
    margin-bottom: 24px;
    color: rgba(255, 253, 247, 0.82);
    font-family: var(--serif);
    font-size: 1.05rem;
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    max-width: 620px;
    padding: 7px;
    background: rgba(255, 253, 247, 0.96);
    border: 1px solid rgba(229, 197, 124, 0.45);
    border-radius: 999px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.hero-search input {
    min-width: 0;
    padding: 11px 14px;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.hero-search button {
    width: 46px;
    height: 46px;
    color: var(--cream-50);
    background: var(--green-900);
    border: 0;
    border-radius: 50%;
    font-size: 1.4rem;
}

.hero-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 16px;
    color: rgba(255, 253, 247, 0.72);
    font-size: 0.75rem;
}

.hero-suggestions a {
    color: var(--gold-300);
    border-bottom: 1px dotted currentColor;
}

.hero-map {
    position: relative;
    z-index: 1;
    min-height: 330px;
    display: grid;
    place-items: center;
    padding: 12px 24px 32px;
}

.hero-map img {
    position: relative;
    z-index: 2;
    width: min(82%, 510px);
    filter: drop-shadow(0 24px 18px rgba(0, 0, 0, 0.33));
}

.map-orbit {
    position: absolute;
    left: 50%;
    top: 48%;
    width: 310px;
    aspect-ratio: 1;
    border: 1px solid rgba(229, 197, 124, 0.24);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-two {
    width: 420px;
    border-style: dashed;
    opacity: 0.7;
}

.map-star {
    position: absolute;
    z-index: 3;
    color: var(--gold-300);
    font-size: 1.6rem;
}

.star-one {
    right: 12%;
    top: 14%;
}

.star-two {
    left: 14%;
    bottom: 16%;
}

/* Home sections */

.home-section,
.listing-section,
.subcategories-section {
    padding-block: 42px;
}

.category-grid,
.special-grid,
.recipe-list-grid,
.region-grid,
.herb-grid,
.related-grid,
.subcategory-grid {
    display: grid;
    gap: 14px;
}

.category-card,
.special-card {
    position: relative;
    display: grid;
    overflow: hidden;
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card:hover,
.special-card:hover {
    transform: translateY(-3px);
    border-color: rgba(191, 141, 44, 0.52);
    box-shadow: var(--shadow-md);
}

.category-photo,
.special-photo {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--green-900);
}

.category-photo img,
.special-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 380ms ease;
}

.category-card:hover img,
.special-card:hover img {
    transform: scale(1.035);
}

.category-card-copy,
.special-copy {
    display: grid;
    gap: 5px;
    padding: 18px 48px 20px 18px;
}

.category-card-copy small,
.special-copy small {
    color: var(--gold-500);
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.category-card-copy strong,
.special-copy strong {
    color: var(--green-900);
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.12;
}

.category-card-copy em,
.special-copy em {
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-style: normal;
    line-height: 1.45;
}

.category-card > b,
.special-card > b {
    position: absolute;
    right: 16px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--gold-500);
    border: 1px solid rgba(191, 141, 44, 0.36);
    border-radius: 50%;
}

.occasions-section {
    position: relative;
    margin-inline: -14px;
    padding-inline: 14px;
    color: var(--cream-50);
    background:
        radial-gradient(circle at 95% 10%, rgba(213, 170, 80, 0.16), transparent 30%),
        var(--green-900);
}

.occasions-section .section-heading h2,
.occasions-section .section-link {
    color: var(--cream-50);
}

.occasions-section .section-heading p:not(.eyebrow) {
    color: rgba(255, 253, 247, 0.7);
}

.occasions-section .section-link span {
    border-color: var(--green-border);
}

.special-card {
    background: var(--cream-100);
}

.twin-feature-section {
    display: grid;
    gap: 18px;
}

.split-feature {
    display: grid;
    overflow: hidden;
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.feature-image {
    min-height: 250px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    padding: 26px 22px 28px;
}

.feature-content h2 {
    margin-bottom: 14px;
    color: var(--green-900);
}

.feature-content p {
    color: var(--ink-soft);
}

.feature-content ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
    padding: 0;
    margin: 18px 0 24px;
    list-style: none;
    color: var(--green-800);
    font-size: 0.85rem;
    font-weight: 800;
}

.feature-content li::before {
    content: "✦";
    margin-right: 7px;
    color: var(--gold-500);
}

.regions-feature {
    color: var(--cream-50);
    background: var(--green-900);
    border-color: var(--green-border);
}

.regions-feature .feature-content h2,
.regions-feature .feature-content p {
    color: var(--cream-50);
}

.regions-feature .feature-content p {
    opacity: 0.78;
}

/* Alphabet and partners */

.alphabet-section {
    position: relative;
    margin: 18px 0 42px;
    padding: 34px 18px;
    text-align: center;
    background:
        radial-gradient(circle at 90% 10%, rgba(213, 170, 80, 0.14), transparent 22rem),
        var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.alphabet-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    max-width: 820px;
    margin: 22px auto;
}

.alphabet-grid a {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    color: var(--green-800);
    background: var(--cream-100);
    border: 1px solid var(--border);
    border-radius: 9px;
    font-family: var(--serif);
    font-weight: 700;
    transition: 160ms ease;
}

.alphabet-grid a:hover {
    color: var(--green-950);
    background: var(--gold-300);
    border-color: var(--gold-400);
    transform: translateY(-2px);
}

.compact-alphabet {
    margin-top: 34px;
}

.partner-block {
    margin-bottom: 42px;
    padding: 28px 20px;
    color: var(--cream-50);
    background:
        linear-gradient(140deg, rgba(213, 170, 80, 0.09), transparent 36%),
        var(--green-950);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark);
}

.partner-heading {
    margin-bottom: 20px;
}

.partner-heading h2 {
    margin-bottom: 6px;
    color: var(--gold-300);
}

.partner-heading p:not(.eyebrow) {
    margin-bottom: 0;
    color: rgba(255, 253, 247, 0.66);
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.partner-grid a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(229, 197, 124, 0.22);
    border-radius: 10px;
    font-size: 0.78rem;
}

.partner-grid a:hover {
    color: var(--gold-300);
    background: rgba(255, 255, 255, 0.04);
}

.partner-grid span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Macro category and special hero */

.macro-hero {
    display: grid;
    overflow: hidden;
    color: var(--cream-50);
    background: var(--green-900);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark);
}

.macro-copy {
    align-self: center;
    padding: 28px 22px;
}

.macro-copy h1 {
    margin-bottom: 18px;
    color: var(--cream-50);
    font-size: clamp(2.5rem, 11vw, 5.2rem);
}

.macro-copy > p:not(.eyebrow) {
    max-width: 720px;
    color: rgba(255, 253, 247, 0.78);
    font-family: var(--serif);
    font-size: 1.03rem;
}

.macro-count {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 13px;
    color: var(--green-950);
    background: var(--gold-300);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
}

.macro-image {
    position: relative;
    min-height: 270px;
    margin: 0;
    overflow: hidden;
}

.macro-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 29, 22, 0.38), transparent 48%);
    pointer-events: none;
}

.macro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--image-position, center);
}

.subcategories-section {
    padding-bottom: 0;
}

.subcategory-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 2px 12px;
    align-items: center;
    padding: 20px;
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.subcategory-card > span {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--gold-500);
    background: var(--cream-150);
    border-radius: 50%;
}

.subcategory-card strong {
    color: var(--green-900);
    font-family: var(--serif);
    font-size: 1.18rem;
}

.subcategory-card small {
    color: var(--ink-soft);
}

.subcategory-card > b {
    grid-column: 3;
    grid-row: 1 / 3;
    color: var(--gold-500);
}

/* Filters and recipe lists */

.filter-bar {
    display: grid;
    gap: 8px;
    margin-bottom: 22px;
    padding: 16px;
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.filter-bar > label {
    color: var(--green-800);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.filter-input-wrap {
    position: relative;
}

.filter-input-wrap input {
    width: 100%;
    min-height: 48px;
    padding: 10px 48px 10px 15px;
    color: var(--ink);
    background: var(--cream-100);
    border: 1px solid var(--border);
    border-radius: 999px;
    outline: 0;
}

.filter-input-wrap input:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(17, 128, 90, 0.11);
}

.filter-input-wrap button {
    position: absolute;
    right: 6px;
    top: 50%;
    width: 36px;
    height: 36px;
    color: var(--green-800);
    background: transparent;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
}

.filter-status {
    min-height: 1.2em;
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.78rem;
}

.recipe-link-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 238px;
    padding: 20px;
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: 170ms ease;
}

.recipe-link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(191, 141, 44, 0.48);
    box-shadow: var(--shadow-md);
}

.recipe-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.card-category {
    color: var(--green-700);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mini-favorite {
    width: 36px;
    height: 36px;
    color: var(--green-800);
    background: var(--cream-100);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.25rem;
}

.mini-favorite.is-favorite,
.recipe-actions [data-favorite].is-favorite {
    color: var(--red);
    border-color: rgba(187, 46, 39, 0.35);
    background: #fff1ef;
}

.recipe-link-card h3 {
    margin-bottom: 10px;
    color: var(--green-900);
}

.recipe-link-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.recipe-link-card p {
    margin-bottom: 20px;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.recipe-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: auto;
    color: #657068;
    font-size: 0.72rem;
}

.recipe-card-meta a,
.mini-favorite {
    position: relative;
    z-index: 2;
}

.empty-filter {
    padding: 24px;
    text-align: center;
    color: var(--ink-soft);
    background: var(--cream-50);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

/* Text and region title panels */

.text-page-hero,
.letter-title-panel,
.region-title-panel,
.search-page-panel {
    position: relative;
    overflow: hidden;
    padding: 30px 22px;
    color: var(--cream-50);
    background:
        radial-gradient(circle at 90% 5%, rgba(213, 170, 80, 0.20), transparent 36%),
        var(--green-900);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark);
}

.text-page-hero h1,
.letter-title-panel h1,
.region-title-panel h1,
.search-page-panel h1 {
    margin-bottom: 14px;
    color: var(--cream-50);
}

.text-page-hero > p:not(.eyebrow),
.letter-title-panel p:not(.eyebrow),
.region-title-panel p:not(.eyebrow),
.search-page-panel > p:not(.eyebrow) {
    max-width: 760px;
    color: rgba(255, 253, 247, 0.78);
    font-family: var(--serif);
    font-size: 1.03rem;
}

.letter-title-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
}

.letter-display {
    display: grid;
    place-items: center;
    width: 84px;
    height: 104px;
    color: var(--green-950);
    background: var(--gold-300);
    border-radius: 14px;
    font-family: var(--serif);
    font-size: 3.3rem;
    font-weight: 700;
}

.region-title-panel {
    display: grid;
    gap: 24px;
}

.region-decoration {
    display: grid;
    place-items: center;
    min-height: 180px;
    color: var(--gold-300);
    border: 1px solid var(--green-border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

.region-decoration span {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.3em;
}

.region-decoration b {
    font-size: 3rem;
}

.region-decoration em {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-style: normal;
}

/* Regions */

.region-group + .region-group {
    margin-top: 34px;
}

.region-group h2 {
    margin-bottom: 14px;
    color: var(--green-900);
    font-size: 1.65rem;
}

.region-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 17px;
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.region-card:hover {
    border-color: rgba(191, 141, 44, 0.48);
    box-shadow: var(--shadow-sm);
}

.region-marker {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--gold-500);
    background: var(--cream-150);
    border-radius: 50%;
}

.region-card span:nth-child(2) {
    display: grid;
}

.region-card strong {
    color: var(--green-900);
    font-family: var(--serif);
    font-size: 1.05rem;
}

.region-card small {
    color: var(--ink-soft);
}

.region-card > b {
    color: var(--gold-500);
}

/* Herbs */

.health-notice {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    margin: 24px 0;
    padding: 18px;
    color: #493311;
    background: #fff4d9;
    border: 1px solid rgba(191, 141, 44, 0.35);
    border-radius: var(--radius);
}

.notice-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--cream-50);
    background: var(--gold-500);
    border-radius: 50%;
    font-weight: 900;
}

.health-notice strong {
    display: block;
    margin-bottom: 4px;
}

.health-notice p {
    margin: 0;
    font-size: 0.86rem;
}

.herb-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: start;
    padding: 20px;
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.herb-card:hover {
    border-color: rgba(17, 128, 90, 0.42);
    transform: translateY(-2px);
}

.herb-symbol {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--green-700);
    background: #e8f0e5;
    border-radius: 50%;
    font-size: 1.6rem;
}

.herb-card > span:nth-child(2) {
    display: grid;
    gap: 4px;
}

.herb-card small {
    color: var(--gold-500);
    font-size: 0.67rem;
    font-weight: 900;
    text-transform: uppercase;
}

.herb-card strong {
    color: var(--green-900);
    font-family: var(--serif);
    font-size: 1.28rem;
}

.herb-card em {
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-style: normal;
}

.herb-card > b {
    color: var(--gold-500);
}

.sources-panel {
    display: grid;
    gap: 22px;
    margin-bottom: 42px;
    padding: 26px 22px;
    color: var(--cream-50);
    background: var(--green-900);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-lg);
}

.sources-panel h2 {
    color: var(--cream-50);
}

.sources-panel p:not(.eyebrow) {
    color: rgba(255, 253, 247, 0.7);
}

.source-links {
    display: grid;
    gap: 8px;
}

.source-links a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    border: 1px solid var(--green-border);
    border-radius: 10px;
}

.source-links a:hover {
    color: var(--gold-300);
    background: rgba(255, 255, 255, 0.04);
}

.herb-title-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    padding: 28px 22px;
    color: var(--cream-50);
    background: var(--green-900);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark);
}

.herb-title-panel h1 {
    margin-bottom: 12px;
    color: var(--cream-50);
}

.herb-large-symbol {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    color: var(--green-950);
    background: var(--gold-300);
    border-radius: 50%;
    font-size: 2.2rem;
}

.page-lead {
    color: rgba(255, 253, 247, 0.78);
    font-family: var(--serif);
    font-size: 1.03rem;
}

.herb-content-grid {
    display: grid;
    gap: 14px;
}

.content-card {
    padding: 22px;
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.content-card h2 {
    margin-bottom: 12px;
    color: var(--green-900);
    font-size: 1.55rem;
}

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

.caution-card {
    background: #fff8e6;
    border-color: rgba(191, 141, 44, 0.32);
}

.source-card a {
    display: inline-flex;
    gap: 8px;
    color: var(--green-700);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.other-herbs {
    margin-top: 40px;
}

.other-herb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.other-herb-grid a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
    padding: 13px;
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.other-herb-grid a span,
.other-herb-grid a b {
    color: var(--gold-500);
}

/* Recipe detail — deliberately text-only */

.recipe-title-panel {
    position: relative;
    overflow: hidden;
    padding: 30px 22px;
    color: var(--cream-50);
    background:
        radial-gradient(circle at 90% 0%, rgba(213, 170, 80, 0.20), transparent 35%),
        linear-gradient(145deg, var(--green-800), var(--green-950));
    border: 1px solid var(--green-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dark);
}

.recipe-title-panel::after {
    content: "RICETTE.CC";
    position: absolute;
    right: -12px;
    bottom: -28px;
    color: rgba(229, 197, 124, 0.055);
    font-family: var(--serif);
    font-size: clamp(3rem, 11vw, 8rem);
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
}

.recipe-classification {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
    color: var(--gold-300);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.recipe-classification a:hover {
    text-decoration: underline;
}

.recipe-title-panel h1,
.recipe-title-panel .recipe-lead,
.recipe-meta-grid,
.recipe-actions {
    position: relative;
    z-index: 1;
}

.recipe-title-panel h1 {
    max-width: 980px;
    margin-bottom: 16px;
    color: var(--cream-50);
    font-size: clamp(2.4rem, 9vw, 5.3rem);
}

.recipe-lead {
    max-width: 850px;
    color: rgba(255, 253, 247, 0.8);
    font-family: var(--serif);
    font-size: 1.04rem;
}

.recipe-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 24px;
}

.recipe-meta-grid > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 9px;
    align-items: center;
    min-width: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--green-border);
    border-radius: 12px;
}

.recipe-meta-grid span {
    grid-row: 1 / 3;
    color: var(--gold-300);
    font-size: 1.2rem;
}

.recipe-meta-grid strong {
    overflow: hidden;
    color: var(--cream-50);
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recipe-meta-grid small {
    color: rgba(255, 253, 247, 0.58);
    font-size: 0.68rem;
}

.recipe-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.recipe-actions button {
    min-height: 46px;
    padding: 10px 15px;
    color: var(--cream-50);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--green-border);
    border-radius: 999px;
    font-weight: 800;
}

.recipe-actions button:hover {
    color: var(--gold-300);
    background: rgba(255, 255, 255, 0.09);
}

.recipe-content-grid {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.content-card-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 18px;
    align-items: end;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.content-card-heading h2 {
    margin-bottom: 0;
}

.check-hint {
    color: var(--ink-soft);
    font-size: 0.72rem;
}

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

.ingredient-list li + li {
    border-top: 1px solid rgba(60, 50, 31, 0.09);
}

.ingredient-list label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 0;
    cursor: pointer;
}

.ingredient-list input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--green-700);
}

.ingredient-list input:checked + span {
    color: #8b938d;
    text-decoration: line-through;
}

.step-list {
    counter-reset: recipe-step;
}

.step-list li {
    counter-increment: recipe-step;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 15px 0;
}

.step-list li + li {
    border-top: 1px solid rgba(60, 50, 31, 0.09);
}

.step-list li::before {
    content: counter(recipe-step);
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--cream-50);
    background: var(--green-700);
    border-radius: 50%;
    font-family: var(--serif);
    font-weight: 700;
}

.tip-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    margin-top: 16px;
    padding: 19px;
    color: #4e3d1e;
    background: #fff5df;
    border: 1px solid rgba(191, 141, 44, 0.33);
    border-radius: var(--radius);
}

.tip-card > span {
    color: var(--gold-500);
    font-size: 1.4rem;
}

.tip-card strong {
    color: var(--green-900);
}

.tip-card p {
    margin: 3px 0 0;
    font-size: 0.88rem;
}

.related-section {
    padding-block: 40px 18px;
}

.related-text-card {
    position: relative;
    display: grid;
    gap: 5px;
    padding: 18px 46px 18px 18px;
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.related-text-card:hover {
    border-color: rgba(191, 141, 44, 0.48);
    box-shadow: var(--shadow-sm);
}

.related-text-card small {
    color: var(--gold-500);
    font-size: 0.66rem;
    font-weight: 900;
    text-transform: uppercase;
}

.related-text-card strong {
    color: var(--green-900);
    font-family: var(--serif);
    font-size: 1.08rem;
}

.related-text-card span {
    color: var(--ink-soft);
    font-size: 0.74rem;
}

.related-text-card b {
    position: absolute;
    right: 15px;
    top: 50%;
    color: var(--gold-500);
    transform: translateY(-50%);
}

.recipe-photo-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 17px;
    color: var(--ink-soft);
    background: rgba(4, 51, 38, 0.045);
    border: 1px dashed rgba(4, 51, 38, 0.2);
    border-radius: var(--radius);
}

.recipe-photo-note span {
    color: var(--green-700);
    font-size: 1.25rem;
}

.recipe-photo-note p {
    margin: 0;
    font-size: 0.82rem;
}

/* Search page */

.large-search-form {
    display: grid;
    grid-template-columns: 1fr auto;
    max-width: 760px;
    margin-top: 22px;
    padding: 7px;
    background: var(--cream-50);
    border: 1px solid var(--green-border);
    border-radius: 999px;
}

.large-search-form input {
    min-width: 0;
    padding: 10px 15px;
    color: var(--ink);
    background: transparent;
    border: 0;
    outline: 0;
}

.large-search-form button {
    padding: 0 18px;
    color: var(--green-950);
    background: var(--gold-300);
    border: 0;
    border-radius: 999px;
    font-weight: 900;
}

.search-summary {
    min-height: 1.5em;
    margin: 14px 0 0;
    color: var(--gold-300) !important;
    font-family: var(--sans) !important;
    font-size: 0.82rem !important;
}

.search-results-section {
    padding-block: 24px 36px;
}

/* Sitemap and static pages */

.sitemap-layout {
    display: grid;
    gap: 16px;
    padding-block: 24px 36px;
}

.sitemap-group,
.static-copy {
    padding: 22px;
    background: var(--cream-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.sitemap-group h2,
.static-copy h2 {
    color: var(--green-900);
    font-size: 1.55rem;
}

.site-map-links {
    display: grid;
    gap: 7px;
}

.site-map-links a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(60, 50, 31, 0.09);
}

.site-map-links a:hover {
    color: var(--green-700);
}

.site-map-links b {
    color: var(--gold-500);
}

.static-copy {
    margin-block: 22px 36px;
}

.static-copy section + section {
    padding-top: 22px;
    margin-top: 22px;
    border-top: 1px solid var(--border);
}

.static-copy a {
    color: var(--green-700);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.back-panel {
    display: flex;
    justify-content: center;
    padding-bottom: 16px;
}

.not-found-panel {
    min-height: 65vh;
    display: grid;
    place-content: center;
    justify-items: center;
    padding: 44px 20px;
    text-align: center;
}

.not-found-code {
    color: rgba(4, 51, 38, 0.12);
    font-family: var(--serif);
    font-size: clamp(7rem, 30vw, 16rem);
    font-weight: 700;
    line-height: 0.8;
}

.not-found-panel h1 {
    color: var(--green-900);
}

.not-found-panel > p:not(.eyebrow) {
    max-width: 560px;
    color: var(--ink-soft);
}

.not-found-panel > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Footer */

.site-footer {
    color: var(--cream-50);
    background:
        radial-gradient(circle at 10% 0%, rgba(213, 170, 80, 0.1), transparent 28rem),
        var(--green-950);
    border-top: 1px solid var(--green-border);
}

.footer-grid {
    display: grid;
    gap: 28px;
    padding-block: 38px;
}

.footer-brand .brand-name {
    color: var(--cream-50);
}

.footer-brand p,
.footer-note p {
    max-width: 390px;
    margin: 16px 0 0;
    color: rgba(255, 253, 247, 0.62);
    font-size: 0.82rem;
}

.footer-grid nav {
    display: grid;
    align-content: start;
    gap: 7px;
}

.footer-grid nav strong,
.footer-note strong {
    margin-bottom: 4px;
    color: var(--gold-300);
    font-family: var(--serif);
    font-size: 1.04rem;
}

.footer-grid nav a {
    color: rgba(255, 253, 247, 0.72);
    font-size: 0.82rem;
}

.footer-grid nav a:hover {
    color: var(--gold-300);
}

.copyright {
    padding-block: 16px;
    color: rgba(255, 253, 247, 0.52);
    border-top: 1px solid rgba(229, 197, 124, 0.14);
    font-size: 0.72rem;
    text-align: center;
}

/* Small tablet */

@media (min-width: 560px) {
    .category-grid,
    .special-grid,
    .recipe-list-grid,
    .region-grid,
    .herb-grid,
    .subcategory-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alphabet-grid {
        grid-template-columns: repeat(9, minmax(0, 1fr));
    }

    .partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .recipe-meta-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .herb-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .region-title-panel {
        grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
        align-items: stretch;
    }
}

/* Tablet and small desktop */

@media (min-width: 780px) {
    .container {
        width: min(calc(100% - 42px), var(--container));
    }

    .header-inner {
        min-height: 84px;
        grid-template-columns: auto minmax(240px, 1fr) auto;
    }

    .header-search {
        display: grid;
        grid-template-columns: 1fr auto;
        width: min(100%, 500px);
        justify-self: center;
        padding: 5px;
        background: var(--cream-100);
        border: 1px solid var(--border);
        border-radius: 999px;
    }

    .header-search input {
        min-width: 0;
        padding: 9px 13px;
        color: var(--ink);
        background: transparent;
        border: 0;
        outline: 0;
    }

    .header-search button {
        width: 40px;
        height: 40px;
        color: var(--cream-50);
        background: var(--green-800);
        border: 0;
        border-radius: 50%;
        font-size: 1.15rem;
    }

    .home-hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
        min-height: 600px;
    }

    .hero-copy {
        align-self: center;
        padding: 54px 18px 54px 48px;
    }

    .hero-map {
        min-height: 600px;
        padding: 36px;
    }

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .special-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .special-index-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .twin-feature-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-feature {
        grid-template-rows: minmax(250px, 0.85fr) auto;
    }

    .macro-hero {
        grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
        min-height: 430px;
    }

    .macro-copy {
        padding: 42px;
    }

    .macro-image {
        min-height: 430px;
    }

    .recipe-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recipe-content-grid {
        grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
        align-items: start;
    }

    .ingredients-card {
        position: sticky;
        top: 108px;
    }

    .sources-panel {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
        align-items: center;
    }

    .sitemap-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .full-group {
        grid-column: 1 / -1;
    }

    .multi-column-links,
    .letter-link-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 26px;
    }

    .footer-grid {
        grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(130px, 0.7fr));
    }
}

/* Full desktop: left category column */

@media (min-width: 1120px) {
    .header-inner {
        grid-template-columns: auto minmax(280px, 0.8fr) auto;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
    }

    .desktop-nav a {
        padding: 9px 11px;
        color: var(--green-900);
        border-radius: 999px;
        font-size: 0.76rem;
        font-weight: 800;
    }

    .desktop-nav a:hover,
    .desktop-nav a[aria-current="page"] {
        color: var(--cream-50);
        background: var(--green-800);
    }

    .menu-button {
        display: none;
    }

    .content-layout {
        display: grid;
        grid-template-columns: 235px minmax(0, 1fr);
        gap: 24px;
        align-items: start;
        padding-block: 24px 54px;
    }

    .site-sidebar {
        display: block;
    }

    .sidebar-inner {
        position: sticky;
        top: 108px;
        overflow: hidden;
        color: var(--cream-50);
        background:
            radial-gradient(circle at 20% 5%, rgba(213, 170, 80, 0.14), transparent 14rem),
            var(--green-900);
        border: 1px solid var(--green-border);
        border-radius: var(--radius);
        box-shadow: var(--shadow-dark);
    }

    .sidebar-kicker {
        padding: 18px 18px 10px;
        margin: 0;
        color: var(--gold-300);
        font-size: 0.67rem;
        font-weight: 900;
        letter-spacing: 0.13em;
        text-transform: uppercase;
    }

    .sidebar-nav {
        display: grid;
    }

    .sidebar-nav a {
        display: grid;
        grid-template-columns: 26px minmax(0, 1fr) auto auto;
        gap: 8px;
        align-items: center;
        min-height: 48px;
        padding: 8px 14px;
        color: rgba(255, 253, 247, 0.82);
        border-top: 1px solid rgba(229, 197, 124, 0.13);
        font-size: 0.78rem;
    }

    .sidebar-nav a:hover,
    .sidebar-nav a[aria-current="page"] {
        color: var(--cream-50);
        background: rgba(229, 197, 124, 0.12);
    }

    .side-icon {
        color: var(--gold-300);
        font-size: 1.05rem;
        text-align: center;
    }

    .sidebar-nav em {
        padding: 2px 5px;
        color: var(--green-950);
        background: var(--gold-300);
        border-radius: 999px;
        font-size: 0.5rem;
        font-style: normal;
        font-weight: 900;
        text-transform: uppercase;
    }

    .sidebar-nav b {
        color: var(--gold-300);
        font-size: 1.1rem;
    }

    .sidebar-feature {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 11px;
        align-items: center;
        margin: 14px;
        padding: 14px;
        color: var(--cream-50);
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid var(--green-border);
        border-radius: 12px;
    }

    .feature-map {
        font-size: 1.7rem;
    }

    .sidebar-feature span:last-child {
        display: grid;
    }

    .sidebar-feature strong {
        color: var(--gold-300);
        font-family: var(--serif);
        font-size: 0.95rem;
    }

    .sidebar-feature small {
        color: rgba(255, 253, 247, 0.62);
        font-size: 0.65rem;
        line-height: 1.35;
    }

    .home-section,
    .listing-section,
    .subcategories-section {
        padding-block: 50px;
    }

    .occasions-section {
        margin-inline: 0;
        padding-inline: 28px;
        border: 1px solid var(--green-border);
        border-radius: var(--radius-lg);
    }

    .section-heading {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }

    .centered-heading {
        display: block;
    }

    .category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .special-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .special-index-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .recipe-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .region-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .herb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .subcategory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .related-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .alphabet-grid {
        grid-template-columns: repeat(13, minmax(0, 1fr));
    }

    .alphabet-grid a {
        aspect-ratio: 1.15;
    }

    .partner-block {
        display: grid;
        grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
        gap: 28px;
        align-items: center;
        padding: 30px;
    }

    .partner-heading {
        margin-bottom: 0;
    }

    .partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .recipe-title-panel,
    .text-page-hero,
    .letter-title-panel,
    .region-title-panel,
    .search-page-panel {
        padding: 44px;
    }

    .recipe-meta-grid {
        max-width: 900px;
    }
}

@media (min-width: 1380px) {
    .content-layout {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 30px;
    }

    .home-hero {
        min-height: 650px;
    }

    .category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .special-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Print: clean recipe without navigation */

@media print {
    .tricolore,
    .site-header,
    .site-sidebar,
    .breadcrumbs,
    .recipe-actions,
    .related-section,
    .recipe-photo-note,
    .alphabet-section,
    .site-footer {
        display: none !important;
    }

    body,
    .site-main {
        color: #111;
        background: #fff;
    }

    .container,
    .content-layout {
        width: 100%;
        display: block;
        padding: 0;
    }

    .recipe-title-panel {
        color: #111;
        background: #fff;
        border: 0;
        box-shadow: none;
        padding: 0 0 18px;
    }

    .recipe-title-panel h1,
    .recipe-title-panel .recipe-lead,
    .recipe-meta-grid strong {
        color: #111;
    }

    .recipe-meta-grid > div,
    .content-card {
        border: 1px solid #bbb;
        box-shadow: none;
    }

    .recipe-content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ingredients-card {
        position: static;
    }
}
