/* Homepage-only layout. Selectors are intentionally isolated from global recipe cards. */
.home-page{padding:.9rem 0 2rem}.home-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:1.35rem;align-items:start}.home-main-column,.home-sidebar{min-width:0}.home-sidebar{display:grid;gap:1rem;align-content:start}.home-section{margin:0 0 2rem}.home-section:last-child{margin-bottom:0}.home-section-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:0 0 .85rem}.home-section-head h1,.home-section-head h2{margin:0;line-height:1.18}.home-section-head h1{font-size:1.55rem}.home-section-head h2{font-size:1.35rem}.home-section-head p{margin:.3rem 0 0;color:var(--muted);font-size:.93rem;line-height:1.45}.home-section-link{flex:0 0 auto;color:var(--accent-strong);font-size:.9rem;font-weight:700}.home-slider-controls{display:flex;gap:.4rem}.home-slider-button{display:grid;width:34px;height:34px;place-items:center;padding:0;border:1px solid var(--border);border-radius:8px;background:#fff;color:#222;cursor:pointer}.home-slider-button:disabled{opacity:.35;cursor:default}.home-slider-chevron{width:7px;height:7px;border-top:2px solid currentColor;border-right:2px solid currentColor}.home-slider-chevron-left{transform:rotate(-135deg);margin-left:2px}.home-slider-chevron-right{transform:rotate(45deg);margin-right:2px}.home-recipe-slider{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 1.6rem)/3);gap:.8rem;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:inline mandatory;scrollbar-width:none}.home-recipe-slider::-webkit-scrollbar{display:none}.home-recipe-slider>*{scroll-snap-align:start}.home-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.home-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.045)}.home-card>a{display:block;height:100%;color:inherit;text-decoration:none}.home-card>a:hover{color:inherit;text-decoration:none}.home-card-media{width:100%;aspect-ratio:16/10;overflow:hidden;background:#eee}.home-card-image{display:block;width:100%;height:100%;margin:0;object-fit:cover;border-radius:0}.home-card-body{padding:.8rem .85rem .9rem}.home-card-title{display:-webkit-box;margin:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:1rem;line-height:1.28}.home-card-excerpt{display:-webkit-box;margin:.45rem 0 0;overflow:hidden;color:var(--muted);-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:.84rem;line-height:1.42}.home-card-meta{margin-top:.55rem;color:var(--accent-strong);font-size:.8rem;font-weight:700}.home-main-ad{width:100%;min-width:0;margin:0 0 2rem;overflow:hidden;contain:layout paint}.home-main-ad .ad-slot{width:100%;max-width:100%;margin:0;overflow:hidden}.home-main-ad img,.home-main-ad iframe,.home-main-ad ins{max-width:100%!important}.home-main-ad img{height:auto}.home-main-ad:empty,.home-main-ad .ad-slot[data-ad-delayed="1"],.home-main-ad .ad-slot[data-ad-empty="1"],.home-main-ad:has(.ad-slot[data-ad-delayed="1"]),.home-main-ad:has(.ad-slot[data-ad-empty="1"]){display:none!important}.home-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.home-category-item{display:flex;min-height:50px;align-items:center;justify-content:space-between;gap:.65rem;padding:.7rem .8rem;border:1px solid var(--border);border-radius:9px;background:#fff;color:inherit}.home-category-item:hover{border-color:#d2d5dd;text-decoration:none}.home-category-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.92rem}.home-category-item span{flex:0 0 auto;color:var(--muted);font-size:.8rem}.home-row-grid,.home-editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.home-row-card,.home-editorial-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:10px;background:#fff}.home-row-card>a,.home-editorial-card>a{display:grid;grid-template-columns:138px minmax(0,1fr);grid-template-rows:minmax(98px,auto);min-height:98px;align-items:stretch;color:inherit;text-decoration:none}.home-row-card>a:hover,.home-editorial-card>a:hover{color:inherit;text-decoration:none}.home-row-media,.home-editorial-media{position:relative;display:block;min-width:0;min-height:100%;overflow:hidden;background:#eee}.home-row-image,.home-editorial-image{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;object-fit:cover;border-radius:0;background:#eee}.home-row-content,.home-editorial-content{display:flex;min-width:0;flex-direction:column;justify-content:center;gap:.28rem;padding:.65rem .75rem}.home-row-content strong,.home-editorial-content strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:.95rem;line-height:1.28}.home-row-excerpt,.home-editorial-excerpt{display:-webkit-box;overflow:hidden;color:var(--muted);-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:.8rem;line-height:1.35}.home-row-content small{color:var(--accent-strong);font-size:.76rem;font-weight:700}.home-editorial-content small{color:var(--muted);font-size:.7rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.home-sidebar-card{padding:1rem;border:1px solid var(--border);border-radius:10px;background:#fff}.home-sidebar-card h2{margin:0 0 .55rem;font-size:1.05rem;line-height:1.25}.home-sidebar-card p{margin:0 0 .75rem;color:var(--muted);font-size:.88rem;line-height:1.48}.home-sidebar-button{display:inline-flex;align-items:center;min-height:38px;padding:.55rem .8rem;border-radius:8px;background:var(--accent);color:#fff;font-size:.86rem;font-weight:700;text-align:center}.home-sidebar-button:hover{color:#fff;text-decoration:none;filter:brightness(.96)}.home-sidebar-list{display:grid}.home-sidebar-list a{display:flex;align-items:center;justify-content:space-between;gap:.65rem;padding:.5rem 0;border-bottom:1px solid #eef0f4;font-size:.86rem}.home-sidebar-list a:last-child{border-bottom:0}.home-sidebar-list small{color:var(--muted);font-size:.78rem}.home-sidebar-recipes{display:grid;gap:.65rem}.home-sidebar-recipe{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:.65rem;color:inherit}.home-sidebar-recipe:hover{color:inherit;text-decoration:none}.home-sidebar-recipe img,.home-sidebar-image{display:block;width:84px;height:58px;margin:0;border-radius:6px;object-fit:cover}.home-sidebar-recipe strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:.84rem;line-height:1.3}.home-sidebar-all{display:block;margin-top:.65rem;padding-top:.65rem;border-top:1px solid #eef0f4;color:var(--accent-strong);font-size:.83rem;font-weight:700;text-align:center}@media(max-width:900px){.home-layout{grid-template-columns:minmax(0,1fr) 250px}.home-recipe-slider{grid-auto-columns:calc((100% - .8rem)/2)}.home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-row-card>a,.home-editorial-card>a{grid-template-columns:112px minmax(0,1fr)}}@media(max-width:760px){.home-layout{grid-template-columns:1fr}.home-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.home-page{padding-top:.55rem}.home-section{margin-bottom:1.65rem}.home-section-head h1{font-size:1.35rem}.home-section-head h2{font-size:1.2rem}.home-section-head p{font-size:.88rem}.home-slider-controls{display:none}.home-recipe-slider{grid-auto-columns:82%}.home-card-grid,.home-category-grid,.home-row-grid,.home-editorial-grid,.home-sidebar{grid-template-columns:1fr}.home-row-card>a,.home-editorial-card>a{grid-template-columns:126px minmax(0,1fr)}}

/* Ingredient filter entry: same card language as the rest of the sidebar. */
.home-mobile-filter-entry{display:none}
.home-sidebar-filter{display:block}
.home-sidebar-filter .home-sidebar-button{width:100%;justify-content:center}

@media(max-width:760px){
  .home-sidebar-filter{display:none}
  .home-mobile-filter-entry{display:block;margin:-.2rem 0 1.6rem}
  .home-mobile-filter-entry h2{margin:0 0 .45rem;font-size:1.1rem}
  .home-mobile-filter-entry p{margin:0 0 .8rem;font-size:.92rem}
  .home-mobile-filter-entry .home-sidebar-button{width:auto}
}

@media(max-width:480px){
  .home-mobile-filter-entry .home-sidebar-button{width:100%;justify-content:center}
}
