:root {
  color-scheme: light;
  --paper: #f8f6f1;
  --ink: #272920;
  --muted: #595d50;
  --olive: #3d4933;
  --line: #dcd9ce;
  --serif: Georgia, 'Times New Roman', serif;
  font: 16px/1.55 system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a36736; outline-offset: 4px; }
img { display: block; width: 100%; object-fit: cover; }
.wrap { width: min(100% - 64px, 1280px); margin-inline: auto; }
.header { background: #fffefa; border-bottom: 1px solid var(--line); position: relative; z-index: 1; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner--with-search { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 16px; }
.header-brand-tools { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 20px); }
.header-inner--with-search > nav { grid-column: 2; justify-content: center; }
.brand { display: inline-flex; align-items: center; gap: 0; font: bold 29px/1 var(--serif); letter-spacing: -1.3px; text-decoration: none; white-space: nowrap; }
.brand span:not(.mark) { color: #596748; }
.mark { width: 37px; height: 37px; margin-right: 10px; background: url('assets/favicon.svg') center / contain no-repeat; }
.header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); font-size: .92rem; font-weight: 640; }
.header nav a { text-decoration: none; }
.header nav a:hover, summary:hover { color: #63744e; }
.header nav a[aria-current] { text-decoration: underline; text-underline-offset: 5px; }
.menu summary { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 6px; list-style: none; cursor: pointer; white-space: nowrap; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ''; width: 7px; height: 7px; margin-top: -4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.menu[open] summary { background: #e9ecdf; color: var(--olive); }
.menu[open] summary::after { margin-top: 4px; transform: rotate(225deg); }
.catalog-menu { position: absolute; top: 100%; inset-inline: 0; margin-inline: auto; width: min(1010px, calc(100% - 32px)); max-height: min(640px, 74dvh); overflow: auto; overscroll-behavior: contain; padding: 0 24px; background: #fffefa; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: 0 16px 40px #2926172b; }
.catalog-menu-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.header nav .catalog-menu-all { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border-radius: 6px; background: #3d4933; color: #fffefa; font-weight: 700; }
.header nav .catalog-menu-all:hover, .header nav .catalog-menu-all:focus-visible { background: #283421; color: #fffefa; }
.catalog-menu-head button { min-height: 40px; }
.catalog-menu-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 16px 0; }
.catalog-menu-groups section { min-width: 0; }
.catalog-menu-groups section + section { border-inline-start: 1px solid var(--line); padding-inline-start: 18px; }
.catalog-menu h2 { margin: 0 0 10px; font-size: 1.4rem; letter-spacing: -.02em; }
.catalog-menu ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 0; margin: 0; list-style: none; }
.catalog-menu-groups li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 6px 9px; border: 1px solid transparent; border-radius: 6px; background: #f4f3eb; color: var(--olive); line-height: 1.28; font-weight: 600; overflow-wrap: anywhere; }
.catalog-menu-groups li a::after { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border: solid #77816d; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.catalog-menu-groups li a:hover, .catalog-menu-groups li a:focus-visible { background: #e9eddf; border-color: #bdc8b1; color: #283421; }
.catalog-menu a:focus-visible { outline-offset: 1px; }
.catalog-partners { border-top: 1px solid var(--line); padding: 13px 0 16px; }
.catalog-partners h2 { margin-bottom: 8px; font: 700 .9rem/1.4 system-ui, sans-serif; letter-spacing: 0; color: var(--muted); }
.catalog-partners .catalog-partner-links { grid-template-columns: repeat(auto-fit, minmax(116px, 1fr)); gap: 6px; }
.catalog-partner-links a { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--olive); text-align: center; font-size: .85rem; font-weight: 650; overflow-wrap: anywhere; }
.catalog-partner-links a:hover, .catalog-partner-links a:focus-visible { background: #eef0e6; text-decoration: underline; }
@media (max-width: 820px) {
  .catalog-partners .catalog-partner-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .catalog-partners .catalog-partner-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.search-trigger, .button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--olive); text-decoration: none; white-space: nowrap; font-weight: 650; font-size: .9rem; }
.header-brand-tools .search-trigger { min-width: 136px; min-height: 44px; border-color: #c3cdb5; border-radius: 8px; background: #e9eddf; color: #33452c; font-weight: 700; }
.header-brand-tools .search-trigger:hover { border-color: #9caa8e; background: #e0e7d4; }
.glass { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; }
.glass::after { content: ''; position: absolute; width: 6px; height: 1.5px; background: currentColor; transform: rotate(45deg); right: -5px; bottom: -3px; }
.hero { margin-top: 26px; min-height: 475px; display: grid; align-items: center; border-radius: 10px; color: #fffaf0; background: linear-gradient(90deg, #211d15eb, #211d1566 57%, transparent 83%), #40372a url('assets/hero.webp') 64% center / cover no-repeat; overflow: hidden; }
.hero:has(.hero-picture) { position: relative; isolation: isolate; background: #40372a; }
.hero-picture, .hero:has(.hero-picture)::before { position: absolute; inset: 0; z-index: -1; }
.hero-picture { z-index: -2; }
.hero-picture img { width: 100%; height: 100%; object-position: 64% center; }
.hero:has(.hero-picture)::before { content: ''; background: linear-gradient(90deg, #211d15eb, #211d1566 57%, transparent 83%); }
.hero-copy { padding: 55px clamp(28px, 6vw, 92px); max-width: 710px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(3rem, 5.2vw, 5.1rem); letter-spacing: -.047em; max-width: 9.5em; }
h2 { font-size: clamp(2.15rem, 3.2vw, 3.1rem); letter-spacing: -.045em; }
.hero p { margin: 21px 0 28px; font-size: clamp(1.02rem, 1.5vw, 1.19rem); color: #f5ebdb; max-width: 31ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.button-light { background: #f7efe1; border-color: #f7efe1; padding: 12px 17px; }
.button-light:hover { background: #fff; }
.hero-link { font-size: .94rem; text-underline-offset: 5px; }
.section { padding-block: 52px; }
.intro { color: var(--muted); margin: 9px 0 24px; }
.room-grid, .article-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.room { position: relative; overflow: hidden; aspect-ratio: 1.17; border: 0; border-radius: 8px; padding: 0; background: #d4c9bb; text-align: left; color: white; isolation: isolate; }
.room img { height: 100%; position: absolute; inset: 0; z-index: -2; transition: transform .2s; }
.room::after { z-index: -1; content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #1e1c14e8, transparent 72%); }
.room:hover img { transform: scale(1.045); }
.room span { display: block; position: absolute; bottom: 13px; left: 14px; right: 10px; font: 500 1.28rem/1.1 var(--serif); }
.all-categories { margin-top: 20px; }
.text-button { background: none; padding: 0; border: 0; color: var(--olive); font-weight: 650; font-size: .94rem; text-decoration: underline; text-underline-offset: 4px; }
.editorial { border-block: 1px solid var(--line); background: #efede4; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.editorial-card { display: flex; border: 1px solid var(--line); border-radius: 10px; background: #fffcf7; }
.editorial-card:hover { border-color: #888a74; }
.editorial-card a { display: block; width: 100%; color: inherit; text-decoration: none; border-radius: inherit; }
.editorial-card img { width: 100%; height: auto; aspect-ratio: 1.75; border-radius: 9px 9px 0 0; }
.editorial-card-copy { padding: 17px 19px 21px; }
.editorial-card :is(h2, h3) { font-size: 1.55rem; line-height: 1.16; letter-spacing: 0; }
.editorial-card a:hover :is(h2, h3) { text-decoration: underline; text-underline-offset: 4px; }
.editorial-card p { margin: 8px 0 0; color: var(--muted); font-size: .94rem; }
.editorial-page h1 { max-width: none; font-size: clamp(2.4rem, 6vw, 4.25rem); }
.story-page { max-width: 1136px; }
.story-page h1 { max-width: 20ch; }
.story-back { display: inline-block; margin-bottom: 17px; color: var(--olive); font-weight: 650; text-underline-offset: 4px; }
.story-back::before { content: '← '; }
.story-byline { margin: 14px 0 0; color: var(--muted); font-size: .94rem; }
.story-byline a { color: var(--olive); font-weight: 650; text-underline-offset: 3px; }
.story-lead { max-width: 69ch; margin: 17px 0 25px; color: var(--muted); font-size: clamp(1.06rem, 1.8vw, 1.25rem); }
.story-cover { width: 100%; height: auto; aspect-ratio: 2.05; border-radius: 11px; }
.decision-section, .story-related { margin-top: 38px; }
.story-page h2 { font-size: clamp(1.65rem, 3.4vw, 2.45rem); letter-spacing: -.025em; }
.decision-grid { list-style: none; padding: 0; margin: 15px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.decision-grid li { padding: 17px 19px; border: 1px solid #d9ddce; border-top: 3px solid #718063; border-radius: 9px; background: #eef0e6; }
.decision-grid h3 { font-size: 1.3rem; line-height: 1.18; }
.decision-grid p { margin: 9px 0 0; }
.story-layout { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 720px); align-items: start; gap: clamp(24px, 5vw, 60px); margin-top: 39px; }
.story-contents { position: sticky; top: 18px; border-left: 2px solid #b3bba7; padding-left: 16px; }
.story-contents h2 { font: 700 1rem/1.5 system-ui, sans-serif; letter-spacing: 0; }
.story-contents ul { margin: 9px 0 0; padding: 0; list-style: none; }
.story-contents li { margin: 7px 0; }
.story-contents a { color: var(--olive); text-underline-offset: 3px; }
.story-prose { font-size: 1.075rem; line-height: 1.7; }
.story-prose section { scroll-margin-top: 20px; }
.story-prose section + section { margin-top: 31px; }
.story-prose p { margin: 13px 0 0; }
.story-checklist { min-width: 0; margin: 0; padding: 8px 16px 15px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf8; }
.story-checklist legend { padding: 0 6px; font-weight: 700; }
.story-checklist label { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; cursor: pointer; }
.story-checklist input { margin: .5em 0 0; accent-color: var(--olive); }
.story-related { padding-top: 26px; border-top: 1px solid var(--line); }
.story-related .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 15px; }
.story-page--compact { padding-top: clamp(26px, 4vw, 52px); }
.story-opening { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); align-items: center; gap: clamp(24px, 4vw, 48px); }
.story-opening h1 { max-width: none; font-size: clamp(2.4rem, 4vw, 3.55rem); line-height: 1.06; }
.story-opening .story-lead { margin: 13px 0 17px; font-size: 1.04rem; }
.story-opening .story-cover { aspect-ratio: 1.4; }
.story-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; }
.story-shortcuts a { padding: 8px 11px; border: 1px solid #ccd3c0; border-radius: 6px; background: #eef0e6; color: var(--olive); font-size: .88rem; font-weight: 650; text-decoration: none; }
.story-shortcuts a:hover { background: #e3e8d9; text-decoration: underline; text-underline-offset: 3px; }
.story-page--compact #valasztas { scroll-margin-top: 20px; }
.story-page--compact .story-prose section + section { padding-top: 22px; border-top: 1px solid var(--line); }
.affiliate-banner { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 24px; margin-top: 16px; padding: 12px 16px; border-radius: 6px; background: #eaeddf; color: #35412d; font-size: .91rem; }
.affiliate-banner p { margin: 0; }
.affiliate-banner a { font-weight: 650; text-underline-offset: 3px; }
.site-footer { background: #313b2b; color: #f8f6ef; }
.footer-inner { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(360px, 1.2fr); gap: 32px; padding-block: 39px 32px; }
.site-footer .brand span:not(.mark) { color: #c8d5b7; }
.footer-brand p { margin: 10px 0 0; color: #e3e8d9; max-width: 34ch; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; }
.footer-nav h2 { font: 700 .94rem/1.4 system-ui, sans-serif; letter-spacing: 0; }
.footer-nav ul { margin: 8px 0 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-block; padding-block: 5px; color: #e3e8d9; text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-nav a:hover { color: #fff; }
.footer-base { padding-block: 15px 22px; border-top: 1px solid #66725d; }
.footer-base p { margin: 0; color: #e3e8d9; font-size: .875rem; }
.info-page { max-width: 780px; padding-block: 38px 64px; overflow-wrap: anywhere; }
.info-page > a { display: inline-block; margin-bottom: 22px; }
.info-page h1 { max-width: none; font-size: clamp(2.35rem, 6vw, 4rem); }
.info-page h2 { margin-top: 29px; font-size: clamp(1.45rem, 4vw, 2rem); letter-spacing: -.025em; }
.info-page li { margin-block: 7px; }
.info-page dt { font-weight: 650; }
.info-page dd { margin: 2px 0 14px; }
.info-page a { text-underline-offset: 3px; }
dialog { width: min(660px, calc(100% - 24px)); max-height: 87vh; border: 1px solid var(--line); border-radius: 12px; background: #fffdf8; color: var(--ink); padding: 0; }
dialog::backdrop { background: #1d1b15a6; }
.panel-inner { padding: clamp(20px, 5vw, 38px); }
.panel-inner h2 { margin: 4px 37px 20px 0; }
.close { position: absolute; top: 14px; right: 16px; background: transparent; border: 1px solid var(--line); border-radius: 6px; width: 35px; height: 35px; font-size: 23px; line-height: 1; }
.panel-inner input { width: 100%; margin-top: 6px; border: 1px solid #8a8d7f; background: white; padding: 9px 12px; border-radius: 5px; }
.panel-links { display: grid; gap: 7px; list-style: none; padding: 0; }
.panel-links :is(button, a) { display: block; width: 100%; padding: 10px 12px; text-align: left; background: #f2f1e8; color: var(--olive); border: 1px solid var(--line); border-radius: 6px; }
.panel-links :is(button, a):hover { border-color: var(--olive); }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 32px); }
  .room-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { min-height: 420px; }
  .footer-inner { grid-template-columns: 1fr; }
  .story-layout { grid-template-columns: 1fr; }
  .story-contents { position: static; }
  .story-opening { grid-template-columns: 1fr; }
  .story-opening .story-cover { aspect-ratio: 1.75; }
}
@media (max-width: 1120px) {
  .header-inner--with-search { grid-template-columns: 1fr; min-height: 0; padding-block: 13px; row-gap: 12px; }
  .header-inner--with-search > nav { grid-column: 1; gap: clamp(10px, 3vw, 32px); }
}
@media (max-width: 360px) {
  .header-brand-tools .brand { font-size: 26px; }
  .header-brand-tools .mark { width: 32px; height: 32px; margin-right: 8px; }
  .header-brand-tools .search-trigger { min-width: 110px; padding-inline: 10px; gap: 9px; }
}
@media (max-width: 580px) {
  .header-inner { min-height: 0; padding-block: 13px; flex-wrap: wrap; gap: 14px; }
  .header nav { width: 100%; order: 1; justify-content: space-between; gap: 8px; font-size: .875rem; }
  .menu summary { padding: 7px 5px; gap: 7px; }
  .catalog-menu { width: calc(100% - 20px); padding: 0 12px; }
  .catalog-menu-head { padding: 9px 0; }
  .catalog-menu-groups { grid-template-columns: 1fr; gap: 13px; padding: 12px 0; }
  .catalog-menu-groups section + section { border-inline-start: 0; padding-inline-start: 0; }
  .catalog-menu h2 { margin-bottom: 7px; }
  .catalog-menu-groups li a, .catalog-partner-links a { min-height: 44px; }
  .hero { margin-top: 14px; min-height: 400px; background-position: 63% center; }
  .hero-picture img { object-position: center; }
  .hero-copy { padding: 32px 23px; }
  .hero p { margin-block: 18px 23px; }
  .section { padding-block: 34px; }
  .room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .article-grid { grid-template-columns: 1fr; }
  .decision-grid, .story-related .article-grid { grid-template-columns: 1fr; }
  .story-cover { aspect-ratio: 1.38; }
  .story-opening { gap: 18px; }
  .story-opening .story-cover { aspect-ratio: 1.45; }
  .section-head { display: block; }
  .section-head .text-button { display: inline-block; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .room img { transition: none; }
}

/* TeleBútor partner shops and footer categories */
.home-partners { border-top: 1px solid var(--line); }
.home-partners .section-head { margin-bottom: 22px; }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.partner-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 60px;
  padding: 12px clamp(12px, 2vw, 19px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  color: var(--olive);
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.partner-grid a:hover { background: #eaeddf; border-color: #a8b394; }
.partner-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: #eaeddf;
}
.partner-grid a:hover .partner-arrow { background: #fffefa; }
.footer-inner--categories { grid-template-columns: minmax(200px, .85fr) minmax(0, 1.65fr); }
.footer-nav--categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 850px) {
  .footer-inner--categories { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .partner-grid, .footer-nav--categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  .partner-grid { grid-template-columns: 1fr; }
}
