:root {
    color-scheme: light;
    --forest: #12362d;
    --pine: #1a4b3e;
    --cream: #f6f4eb;
    --ink: #18332b;
    --muted: #455b50;
    --line: #d6ded4;
    --lime: #e3edac;
    --width: 1180px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 1rem/1.65 "Noto Sans Georgian", "Sylfaen", system-ui, sans-serif;
}
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.35rem, 6vw, 5.65rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.55rem, 3.3vw, 2.65rem); margin-bottom: 20px; }
h3 { font-size: 1.14rem; margin-bottom: 8px; }
:focus-visible { outline: 3px solid #ab642c; outline-offset: 4px; }
.wrap { width: min(var(--width), 100% - 44px); margin-inline: auto; }
.section { padding-block: clamp(36px, 6vw, 76px); }
.skip { position: fixed; z-index: 10; left: 10px; top: 10px; padding: 10px; background: #fff; transform: translateY(-180%); }
.skip:focus { transform: none; }
.top { background: var(--cream); border-bottom: 1px solid var(--line); }
.navigation {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px 24px;
    padding-block: 12px;
}
.brand { display: grid; width: max-content; text-decoration: none; line-height: 1; }
.brand strong { font: 800 1.65rem/1 Georgia, serif; }
.brand span { margin-top: 5px; color: #884b31; font: 800 .67rem/1 system-ui, sans-serif; letter-spacing: .37em; }
.topics, .languages { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: center; }
.topics a, .languages a, .filters a { display: inline-block; text-decoration: none; font-size: .82rem; font-weight: 700; padding: 8px 10px; border-radius: 8px; }
.topics a:hover, .topics a[aria-current], .filters a:hover { background: #e8ecdb; }
.languages { border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
.languages a[aria-current], .filters a[aria-current] { color: #fff; background: var(--forest); }
.hero, .detail-hero { position: relative; isolation: isolate; background: var(--forest); color: #fff; }
.hero { display: grid; align-items: end; min-height: min(690px, 85vh); }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
.hero::after, .with-photo::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, #081d15ed, #0b2319be 35%, #0b231919 100%), linear-gradient(0deg, #061b15b5, transparent 57%);
}
.hero-content { padding-block: clamp(64px, 12vw, 148px) 34px; }
.eyebrow { margin-bottom: 10px; color: var(--pine); font-size: .83rem; font-weight: 750; }
.hero .eyebrow, .detail-hero .eyebrow { color: var(--lime); }
.intro { max-width: 50ch; font-size: clamp(1rem, 1.6vw, 1.19rem); color: #f0f4e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 9px 17px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--lime);
    color: #162b21;
    text-decoration: none;
    font-weight: 750;
    cursor: pointer;
}
.button:hover { background: #f0fac8; }
.button.outline { background: #122d25b5; color: #fff; border-color: #f0f4e89c; }
.button.outline:hover { background: var(--forest); }
.hero-caption { margin-top: 28px; }
.photo-credit, .hero-caption { display: block; font-size: .75rem; }
.hero-caption .photo-credit { display: inline; }
.feature-grid, .guide-grid { display: grid; gap: 16px; }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card, .guide-card { position: relative; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.feature-card .feature-photo { display: block; aspect-ratio: 4 / 3; border-radius: 14px 14px 0 0; background: #c6d2c3; overflow: hidden; }
.feature-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.feature-card:hover img { transform: scale(1.04); }
.card-copy { padding: 17px; }
.card-copy p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .9rem; }
.card-copy .photo-credit { margin-top: 12px; color: var(--muted); }
.guide-card h3 a { text-decoration-thickness: 1px; }
.plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px 30px;
    padding: clamp(23px, 5vw, 52px);
    border-radius: 18px;
    background: var(--forest);
    color: #fff;
}
.plan h2 { margin-bottom: 7px; }
.plan p { max-width: 62ch; margin-bottom: 0; color: #e1e9dd; }
.plan .button { flex-shrink: 0; }
.search { max-width: 610px; margin-bottom: 18px; }
.search label { display: block; font-size: .87rem; font-weight: 700; margin-bottom: 6px; }
.search div { display: flex; gap: 6px; }
.search input { min-width: 0; flex: 1; padding: 9px 11px; border: 1px solid #a3b7a9; border-radius: 8px; background: #fff; }
.search .button { background: var(--forest); color: #fff; }
.search .button:hover { background: var(--pine); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 18px; }
.filters a { border: 1px solid var(--line); background: #fff; }
.detail-heading { padding-block: 62px 46px; }
.detail-hero.with-photo .detail-heading { padding-block: clamp(70px, 15vw, 180px) 44px; }
.detail-heading .back { display: inline-block; margin-bottom: 25px; font-size: .87rem; }
.detail-heading .intro { margin-bottom: 12px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, 32%); gap: 20px; }
.detail-copy, .travel-note { background: #fff; padding: clamp(19px, 3.5vw, 38px); border: 1px solid var(--line); border-radius: 15px; }
.detail-copy ul { padding-inline-start: 22px; margin-bottom: 0; }
.local-name { color: var(--muted); font-size: .91rem; }
.travel-note { background: #e6eedf; }
.travel-note h2, .detail-copy h2 { font-size: 1.3rem; }
.travel-note a { display: block; margin-top: 9px; font-size: .9rem; font-weight: 700; }
.related { padding-top: 0; }
.footer { background: #0e2821; color: #fff; }
.footer-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 26px; padding-block: 31px; }
.footer p { margin: 0; font-size: .88rem; color: #dbe4d7; }
.footer a { font-size: .89rem; }

@media (max-width: 990px) {
    .navigation { grid-template-columns: 1fr auto; }
    .topics { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
    .wrap { width: calc(100% - 28px); }
    .navigation { gap: 7px 11px; }
    .topics { gap: 2px; }
    .topics a { font-size: .76rem; padding-inline: 6px; }
    .languages a { padding: 7px; }
    .hero { min-height: 470px; }
    .hero::after, .with-photo::after { background: linear-gradient(0deg, #082219f5 4%, #08221991 66%, #08221936); }
    .guide-grid, .detail-grid { grid-template-columns: 1fr; }
    .plan { align-items: flex-start; flex-direction: column; }
    .card-copy { padding: 12px; }
    .feature-grid { gap: 10px; }
}
@media (max-width: 370px) {
    .feature-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .feature-photo img { transition: none; }
}
