/* =====================================================
   WEBSITE THREE — NEW HOMEPAGE AND ARCHIVE ONLY
   Recipe detail page is intentionally unchanged.
   ===================================================== */

/* Homepage: editorial news layout */
.rev-home { background: #fffefa; }
.rev-masthead { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-top: 54px; padding-bottom: 34px; }
.rev-masthead h1 { margin: 10px 0 0; font-size: clamp(58px, 7vw, 106px); line-height: 1; letter-spacing: -5px; }
.rev-masthead h1 span, .rev-archive-hero h1 span { color: var(--coral); }
.rev-masthead p { max-width: 280px; margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.rev-newsroom { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr); gap: 45px; padding-bottom: 70px; }
.rev-cover-image { display: block; aspect-ratio: 1.42; overflow: hidden; background: #e8e8e0; }
.rev-cover-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.rev-cover-image:hover img, .rev-favorite:hover img, .rev-archive-card:hover img { transform: scale(1.035); }
.rev-cover-caption { padding-top: 23px; }
.rev-label { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 2px; color: var(--coral); }
.rev-cover-caption h2 { font-size: clamp(32px, 3.3vw, 52px); margin: 12px 0; max-width: 650px; }
.rev-cover-caption p { max-width: 610px; color: var(--muted); margin: 0 0 18px; }
.rev-text-link { font-size: 13px; font-weight: 800; color: var(--blue); border-bottom: 1px solid var(--coral); padding-bottom: 5px; }
.rev-text-link span { color: var(--coral); }
.rev-side-title { border-top: 4px solid var(--blue-dark); padding: 15px 0 20px; }
.rev-side-title strong { display: block; font: 600 29px/1.2 'Fraunces', Georgia, serif; margin-top: 6px; }
.rev-side-story { display: grid; grid-template-columns: 116px 1fr; gap: 17px; border-top: 1px solid var(--line); padding: 18px 0; }
.rev-side-story img { width: 116px; height: 105px; object-fit: cover; }
.rev-side-story small { color: var(--coral); font-size: 10px; font-weight: 800; letter-spacing: .6px; }
.rev-side-story h3 { font-size: 19px; line-height: 1.24; margin: 6px 0; }
.rev-side-story span { font-size: 11px; font-weight: 700; color: var(--blue); }
.rev-quick-search { background: #e9eee9; padding: 37px 0; }
.rev-quick-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.rev-quick-inner h2 { font-size: 31px; margin: 4px 0 0; }
.rev-quick-inner form { display: flex; width: min(520px, 100%); background: #fff; border: 1px solid #d3dbd6; padding: 6px; }
.rev-quick-inner input { min-width: 0; flex: 1; border: 0; outline: none; padding: 12px; background: transparent; }
.rev-quick-inner button { border: 0; padding: 12px 19px; background: var(--blue-dark); color: white; font-weight: 700; }
.rev-section { padding-top: 75px; }
.rev-last-section { padding-bottom: 95px; }
.rev-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 27px; }
.rev-section-heading h2 { font-size: clamp(32px, 4vw, 48px); margin: 7px 0 0; }
.rev-section-heading > a { font-size: 12px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.rev-category-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.rev-category-row a { background: #f4f0e9; min-height: 158px; padding: 19px; display: flex; flex-direction: column; transition: background .2s; }
.rev-category-row a:hover { background: #e9eee9; }
.rev-category-row small { font-size: 11px; color: var(--coral); font-weight: 800; }
.rev-category-row strong { font: 600 25px/1.18 'Fraunces', Georgia, serif; margin-top: auto; }
.rev-category-row span { align-self: end; font-size: 20px; color: var(--coral); }
.rev-favorites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 22px; }
.rev-favorite-image { aspect-ratio: 1.38; overflow: hidden; background: #e8e8e0; }
.rev-favorite-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.rev-favorite-index { display: block; font-size: 10px; letter-spacing: 1.4px; color: var(--coral); font-weight: 800; margin-top: 15px; }
.rev-favorite h3 { font-size: 23px; line-height: 1.25; margin: 12px 0 9px; }
.rev-favorite small { color: var(--muted); font-size: 12px; }
.rev-editor-note { background: var(--blue-dark); color: white; margin-top: 83px; padding: 65px 0; text-align: center; }
.rev-editor-note .eyebrow { color: #f4b9a2; }
.rev-editor-note p { font: 600 clamp(33px, 5vw, 61px)/1.2 'Fraunces', Georgia, serif; margin: 14px 0 18px; }
.rev-editor-note p em { color: #eab39d; }
.rev-editor-note a { color: #f4b9a2; font-size: 12px; font-weight: 800; }

/* Archive: banner + magazine cards (not the homepage layout) */
.rev-archive { background: #fffefa; min-height: 65vh; }
.rev-archive-hero { background: #f0f1ea; border-bottom: 1px solid #d9e0db; }
.rev-archive-hero-inner { display: grid; grid-template-columns: 1.5fr .8fr; gap: 65px; align-items: center; padding-top: 66px; padding-bottom: 65px; }
.rev-archive-hero h1 { font-size: clamp(43px, 5.5vw, 79px); letter-spacing: -2px; margin: 12px 0 14px; }
.rev-archive-hero p { max-width: 550px; color: var(--muted); font-size: 16px; }
.rev-archive-search { border-left: 1px solid #cad5cf; padding-left: 35px; }
.rev-archive-search form { display: flex; border-bottom: 2px solid var(--blue-dark); margin: 15px 0; }
.rev-archive-search input { min-width: 0; flex: 1; border: 0; outline: none; background: transparent; padding: 13px 0; }
.rev-archive-search button { border: 0; background: transparent; color: var(--coral); font-size: 23px; }
.rev-archive-shortcuts { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12px; font-weight: 800; }
.rev-archive-content { padding-top: 55px; padding-bottom: 90px; }
.rev-archive-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 27px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.rev-archive-toolbar h2 { margin: 7px 0 0; font-size: 34px; }
.rev-result-count { font-size: 11px; letter-spacing: 1.4px; font-weight: 800; color: var(--coral); }
.rev-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.rev-archive-card { border-bottom: 1px solid var(--line); padding-bottom: 20px; min-width: 0; }
.rev-archive-photo { display: block; aspect-ratio: 1.42; overflow: hidden; background: #eaeae5; }
.rev-archive-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.rev-archive-card-copy { padding-top: 15px; }
.rev-archive-card-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--coral); font-size: 10px; letter-spacing: 1px; font-weight: 800; }
.rev-archive-card h3 { font-size: 24px; line-height: 1.25; margin: 11px 0 15px; }
.rev-archive-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rev-archive-card-bottom > a { font-size: 12px; font-weight: 800; color: var(--blue); }
.rev-archive-save.fd-save { position: static; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--coral); font-size: 21px; line-height: 1; padding: 0; }
.rev-archive-empty { grid-column: 1 / -1; padding: 65px 20px; background: #f4f5f0; text-align: center; color: var(--muted); }
.rev-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 45px; }
.rev-pagination a { border: 1px solid var(--line); padding: 10px 15px; min-width: 43px; text-align: center; font-size: 12px; font-weight: 800; }
.rev-pagination a.active { background: var(--blue-dark); color: white; }

@media (max-width: 950px) {
    .rev-newsroom { grid-template-columns: 1fr; gap: 25px; }
    .rev-side-stories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
    .rev-side-title { grid-column: 1 / -1; }
    .rev-archive-hero-inner { gap: 25px; }
}
@media (max-width: 680px) {
    .rev-masthead { display: block; padding-top: 37px; }
    .rev-masthead h1 { font-size: 58px; letter-spacing: -3px; }
    .rev-masthead p { margin-top: 18px; }
    .rev-side-stories { grid-template-columns: 1fr; }
    .rev-side-story { grid-template-columns: 105px 1fr; }
    .rev-side-story img { width: 105px; height: 100px; }
    .rev-quick-inner { display: block; }
    .rev-quick-inner form { margin-top: 20px; }
    .rev-quick-inner button { padding: 10px; font-size: 12px; }
    .rev-category-row { grid-template-columns: repeat(2, 1fr); }
    .rev-favorites, .rev-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
    .rev-favorite h3, .rev-archive-card h3 { font-size: 17px; }
    .rev-favorite-index, .rev-archive-card-meta { font-size: 9px; }
    .rev-archive-hero-inner { grid-template-columns: 1fr; padding-top: 43px; padding-bottom: 45px; }
    .rev-archive-search { border-left: 0; border-top: 1px solid #cad5cf; padding: 22px 0 0; }
    .rev-archive-content { padding-top: 35px; }
    .rev-section { padding-top: 52px; }
    .rev-section-heading h2 { font-size: 30px; }
}
@media (max-width: 400px) {
    .rev-favorites, .rev-archive-grid { gap: 20px 10px; }
    .rev-category-row strong { font-size: 20px; }
    .rev-archive-card h3 { font-size: 16px; }
}
