/* Shared by the WordPress dynamic block and the Sites recipe preview. */
.malorhum-recipes{width:100%;min-width:0;color:var(--deep)}
.cocktail-gallery .malorhum-recipes{margin-block:0;padding-top:clamp(56px,6vw,96px);color:#fff}
.cocktail-gallery .recipe-section-heading{border-top:1px solid #e2c8a54d;padding-top:clamp(32px,4vw,56px)}
.recipe-section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:0 0 32px}
.recipe-section-heading h2{font-size:clamp(2rem,3.1vw,3rem);font-weight:600;line-height:1.12;margin:0;max-width:18ch;overflow-wrap:anywhere}
.recipe-section-heading p{max-width:36ch;margin:0;font-size:1rem;line-height:1.6}
.malorhum-recipes .recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:28px;margin:0}
.malorhum-recipes .recipe-grid--1{grid-template-columns:minmax(0,1fr)}
.malorhum-recipes .recipe-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.malorhum-recipes .recipe-card{display:flex;flex-direction:column;min-width:0;background:#eee5d8;color:var(--deep);overflow:hidden;border:1px solid #e2c8a552}
.malorhum-recipes .recipe-card[hidden]{display:none}
.recipe-card .recipe-card-photo{display:block;position:relative;aspect-ratio:5/4;overflow:hidden;background:#e2d3be;flex:none}
.recipe-card .recipe-card-photo img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center;transition:transform .35s ease}
.recipe-card.recipe-card--proposal .recipe-card-photo img{object-fit:contain;padding:22px}
.recipe-photo-placeholder{display:grid;place-items:center;position:absolute;inset:0;color:#76644d;background:radial-gradient(ellipse at 50% 70%,#cab39155,transparent 65%)}
.recipe-photo-placeholder svg{width:100px;height:100px}
.recipe-card .recipe-card-copy{display:flex;flex:1;flex-direction:column;align-items:start;gap:18px;min-width:0;padding:clamp(24px,2.5vw,36px)}
.recipe-card .recipe-card-copy h3{font-size:clamp(1.65rem,2.2vw,2.2rem);font-weight:600;line-height:1.13;margin:0;overflow-wrap:anywhere}
.recipe-card .recipe-card-copy p{font-size:.9375rem;line-height:1.65;margin:0;color:#40516a;overflow-wrap:anywhere}
.recipe-card .recipe-card-link{display:flex;justify-content:space-between;align-items:center;gap:20px;width:100%;min-height:44px;margin-top:auto;padding-top:16px;border-top:1px solid #1d314f30;font-size:.875rem;line-height:1.4;font-weight:500;color:var(--deep)}
.recipe-card-link span{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #1d314f55;border-radius:50%;font-size:1.25rem}
.recipe-card a:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.recipe-grid--1 .recipe-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.recipe-grid--1 .recipe-card-photo{aspect-ratio:auto;min-height:340px;height:clamp(340px,32vw,460px)}
.recipe-grid--1 .recipe-card-copy{align-self:center;padding:clamp(28px,4.5vw,68px)}
.recipe-grid--1 .recipe-card-copy h3{font-size:clamp(2rem,3.6vw,3.5rem)}
.recipe-grid--1 .recipe-card-link{margin-top:16px}
.cocktail-recipe .recipe-detail-photo{margin:0;background:#eee5d8;overflow:hidden;aspect-ratio:5/4}
.cocktail-recipe .recipe-detail-photo img{width:100%;height:100%;object-fit:cover}
.cocktail-recipe .recipe-detail-photo--proposal img{object-fit:contain;padding:24px}
.cocktail-recipe .recipe-content{max-width:1080px}
.cocktail-recipe .recipe-content>.recipe-intro{font-size:1.25rem;max-width:64ch}
.recipe-method{gap:clamp(28px,5vw,70px);margin-top:32px;align-items:start}
.recipe-method>.wp-block-column:first-child{padding:28px;background:#eee5d8;color:var(--deep)}
.cocktail-recipe .recipe-method h2{margin-top:0;font-size:clamp(1.8rem,2.8vw,2.4rem)}
.recipe-method ol li::marker{font-weight:600;color:var(--blue)}
.editor-styles-wrapper .malorhum-recipes{pointer-events:none}
.editor-styles-wrapper .recipe-method h2{margin-top:0}
.recipe-preview-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:28px 0 0}
.recipe-preview-controls button{font:500 .875rem/1.4 var(--body);padding:12px 20px;min-height:44px;border:1px solid var(--deep);border-radius:24px;background:transparent;color:var(--deep)}
.recipe-preview-controls button[aria-pressed=true]{background:var(--deep);color:var(--gold)}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.recipe-card:hover .recipe-card-photo img{transform:scale(1.025)}}
@media(max-width:960px){.malorhum-recipes .recipe-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .recipe-section-heading{display:block;margin-bottom:24px}
 .recipe-section-heading p{margin-top:16px;max-width:46ch}
 .malorhum-recipes .recipe-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .recipe-grid--1 .recipe-card{display:flex}
 .recipe-grid--1 .recipe-card-photo{aspect-ratio:5/4;min-height:0;height:auto}
 .recipe-grid--1 .recipe-card-copy{align-self:stretch;padding:26px}
 .recipe-grid--1 .recipe-card-copy h3{font-size:2rem}
 .recipe-grid--1 .recipe-card-link{margin-top:auto}
 .cocktail-recipe .recipe-detail-photo img{height:100%}
}
@media(prefers-reduced-motion:reduce){.recipe-card .recipe-card-photo img{transition:none}}

/* Complete recipe catalogue and genuine bottle fallback. */
.recipe-card.recipe-card--bottle .recipe-card-photo img{object-fit:contain;padding:22px;mix-blend-mode:multiply}
.cocktail-recipe .recipe-detail-photo--bottle img{object-fit:contain;padding:24px;mix-blend-mode:multiply}
.recipe-archive-link{margin-top:32px;gap:28px}
.cocktail-gallery .recipe-archive-link{background:var(--gold);color:var(--deep)}
.recipe-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto;gap:16px;align-items:end;padding:24px;background:#e2d3be;margin:32px 0 20px}
.recipe-filters[hidden],.recipe-empty[hidden]{display:none}
.recipe-filters label{display:grid;gap:8px;font-weight:500;min-width:0}
.recipe-filters input,.recipe-filters select,.recipe-filters button{min-height:48px;width:100%;min-width:0;border:1px solid #1d314f40;border-radius:0;padding:12px;font:400 1rem/1.3 var(--body);color:var(--deep);background:#f6f0e6}
.recipe-filters button{font-weight:500;background:var(--deep);color:#fff;cursor:pointer}
.recipe-filters :focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.recipe-results{margin:16px 0 24px;font-weight:500}
.recipe-empty{padding:32px;background:#eee5d8}
.recipe-catalogue-head h1{font-size:clamp(2.6rem,5vw,5rem);line-height:1.05;max-width:15ch}
.recipe-catalogue-head>p:last-child{max-width:55ch;line-height:1.6}
.recipe-method{display:flex}
.recipe-method>.wp-block-column{min-width:0;flex-grow:1}
.recipe-method ul,.recipe-method ol{padding-left:1.3em}
.recipe-method li{padding-left:.25em;margin-bottom:12px;line-height:1.65}
.cocktail-recipe .recipe-opening h1{overflow-wrap:anywhere}
@media(max-width:960px){.recipe-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.recipe-method{flex-direction:column}.recipe-method>.wp-block-column{width:100%}.recipe-filters{grid-template-columns:minmax(0,1fr);padding:20px}.recipe-archive-link{width:100%;justify-content:space-between}}

/* Recipe pages: one alignment for the title, breadcrumb and editorial content. */
.cocktail-recipe.page-content{padding-block:clamp(28px,4vw,48px) clamp(48px,6vw,80px)}
.cocktail-recipe>.breadcrumb,.cocktail-recipe>article>.breadcrumb,.cocktail-recipe .recipe-opening,.cocktail-recipe .recipe-content{width:100%;max-width:1080px;margin-inline:auto}
.cocktail-recipe .recipe-opening{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:start}
.cocktail-recipe .recipe-opening>div{min-width:0;padding-top:8px}
.cocktail-recipe .recipe-opening h1{font-size:clamp(2.75rem,5.5vw,4.75rem);font-weight:700;line-height:1.04;letter-spacing:-.025em;color:var(--deep);margin:0;max-width:14ch;text-wrap:balance;overflow-wrap:anywhere}
.cocktail-recipe .recipe-opening h1+p{margin-top:24px;max-width:40ch}
.cocktail-recipe .recipe-detail-photo{width:100%;max-width:420px;justify-self:end}
.cocktail-recipe .recipe-content{margin-top:36px;margin-bottom:0}

/* The associated bottle is a compact purchase card, independent of shop cards. */
.recipe-product{width:100%;max-width:680px;margin:40px 0 0}
.cocktail-recipe .recipe-content .recipe-product>h2,.editor-styles-wrapper .recipe-product>h2{font-size:1.5rem;line-height:1.2;margin:0 0 16px}
.recipe-product .product-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:20px;align-items:center;padding:18px;background:#f4eee5;border:1px solid #1d314f20}
.recipe-product .product-image{width:112px;height:148px;aspect-ratio:auto;background:transparent}
.recipe-product .product-image img{width:100%;height:100%;max-height:148px;object-fit:contain}
.recipe-product .card-detail{min-width:0;padding:0}
.recipe-product .card-title{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px}
.recipe-product .card-title h3{font-size:1.5rem;line-height:1.15;margin:0;overflow-wrap:anywhere}
.recipe-product .card-title .price{font-size:1.0625rem;line-height:1.4;margin:0;white-space:normal}
.recipe-product .card-detail p{font-size:.875rem;line-height:1.5;margin:8px 0}
.recipe-product .card-meta{font-size:.75rem}
.recipe-product .card-actions{justify-content:flex-start;flex-wrap:wrap;gap:12px 18px;margin-top:12px;padding-top:12px}
.recipe-product .card-link{font-size:.8125rem;min-height:44px;padding-block:8px}
.recipe-product .card-buy:hover{transform:none}
@media(max-width:760px){
 .cocktail-recipe .recipe-opening{grid-template-columns:minmax(0,1fr);gap:24px}
 .cocktail-recipe .recipe-opening>div{padding-top:0}
 .cocktail-recipe .recipe-opening h1{font-size:clamp(2.5rem,9.5vw,3.75rem);max-width:100%}
 .cocktail-recipe .recipe-detail-photo{max-width:420px;justify-self:start}
 .cocktail-recipe .recipe-content{margin-top:28px}
 .recipe-product{margin-top:32px}
 .recipe-product .product-card{grid-template-columns:80px minmax(0,1fr);gap:14px;padding:14px;align-items:start}
 .recipe-product .product-image{width:80px;height:120px}
 .recipe-product .product-image img{max-height:120px}
 .recipe-product .card-title{display:block}
 .recipe-product .card-title h3{font-size:1.3rem}
 .recipe-product .card-title .price{display:block;margin-top:6px}
 .recipe-product .card-actions{gap:8px 12px}
}

/* Complete generated recipe compositions; unrelated photographs keep their framing. */
.recipe-card.recipe-card--illustrated .recipe-card-photo{aspect-ratio:4/5;background:#2d4d7e}
.recipe-card.recipe-card--illustrated .recipe-card-photo img{object-fit:contain;padding:0;mix-blend-mode:normal}
.cocktail-recipe .recipe-detail-photo--illustrated{aspect-ratio:4/5;background:#2d4d7e}
.cocktail-recipe .recipe-detail-photo--illustrated img{object-fit:contain;padding:0;mix-blend-mode:normal}
