@font-face {
  font-family: Blog Icons;
  src: url("assets/icons.woff2") format("woff2");
  font-display: block;
}
:root {
  color-scheme: light;
  --background: #f8f5ee;
  --ink: #142236;
  --muted: #4c5668;
  --rust: #a33617;
  --warm: #cb552a;
  --line: #ded6c9;
  --body: Arial, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--ink); font: 1rem/1.5 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #28499d; outline-offset: 4px;
}
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; z-index: 5; left: 0.8rem; top: 0.8rem; padding: 0.6rem 0.9rem; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - clamp(2rem, 5vw, 5.5rem)), 1320px); margin: 0 auto; }

.icon { font-family: "Blog Icons"; font-weight: normal; font-style: normal; line-height: 1; }
.icon-search::before { content: "\f002"; }
.icon-pin::before { content: "\f041"; }
.icon-home::before { content: "\f015"; }
.icon-handshake::before { content: "\f2b5"; }
.icon-key::before { content: "\f084"; }
.icon-book::before { content: "\f02d"; }
.icon-list::before { content: "\f0ca"; }
.icon-arrow::before { content: "\f061"; }
.icon-chevron::before { content: "\f107"; }
.icon-menu::before { content: "\f0c9"; }

.site-header { background: #f8f5ee; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand { width: clamp(142px, 16vw, 198px); height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.8rem); }
.desktop-nav a, .mobile-nav a { text-decoration: none; }
.desktop-nav a { position: relative; font-weight: 600; white-space: nowrap; font-size: 0.96rem; }
.desktop-nav [aria-current="page"], .desktop-nav a:hover, .active-page { color: var(--rust); }
.desktop-nav [aria-current="page"]::after { content: ""; position: absolute; inset: auto -0.25rem -10px; border-bottom: 3px solid var(--warm); }
.desktop-nav .language { padding-left: 1.1rem; border-left: 1px solid #bdb4a7; }
.desktop-nav .language + .language { padding-left: 0; border-left: 0; margin-left: -0.5rem; }
html[lang="de"] .hero-copy h1 { font-size: clamp(1.86rem, 3.15vw, 2.85rem); hyphens: auto; overflow-wrap: anywhere; }
html[lang="tr"] .hero-copy h1 { font-size: clamp(2.45rem, 3.9vw, 3.65rem); text-wrap: balance; overflow-wrap: anywhere; }
html:is([lang="sr-Latn"], [lang="ro"], [lang="sq"]) .hero-copy h1 { font-size: clamp(2.4rem, 3.65vw, 3.4rem); text-wrap: balance; overflow-wrap: anywhere; }
html:is([lang="sr-Latn"], [lang="ro"], [lang="sq"]) .desktop-nav { gap: clamp(0.55rem, 1.15vw, 1rem); }
html:is([lang="de"], [lang="tr"], [lang="sr-Latn"], [lang="ro"], [lang="sq"]) :is(.article-header, .article-body, .article-sidebar, .article-related, .guide-card-copy) { hyphens: auto; overflow-wrap: anywhere; }
.mobile-nav { display: none; }

.hero { background: linear-gradient(150deg, #faf8f2 20%, #f4e9da 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.35fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(1.65rem, 3.6vw, 3.6rem); }
h1, h2, p { margin: 0; }
.hero-copy h1 { font: 700 clamp(3.3rem, 6.25vw, 6rem)/0.97 var(--display); letter-spacing: -0.052em; }
.subtitle { font: italic clamp(1.24rem, 2.25vw, 2.1rem)/1.25 var(--display); margin-top: 1rem; }
.hero-guides { display: grid; gap: 0.45rem; max-width: 30rem; margin-top: clamp(1rem, 2vw, 1.45rem); }
.hero-guides a { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; min-height: 44px; padding: 0.58rem 0.85rem; border: 1px solid var(--line); border-radius: 8px; background: #fffdfa; color: var(--ink); font-weight: 700; text-decoration: none; }
.hero-guides a:hover { background: #f3eadd; color: var(--rust); }
.hero-guides .icon { flex: none; color: var(--rust); font-size: 0.85em; }
html[lang="el"] .hero-guides + .search-form { margin-top: 1rem; }
html[lang="en"] .hero-guides { display: none; }
.search-form { display: flex; align-items: center; max-width: 30rem; margin-top: clamp(1.55rem, 3.3vw, 3.1rem); border: 1px solid #d7cdbf; border-radius: 99px; background: #fff; box-shadow: 0 3px 10px #2b211214; }
.search-form input { order: 1; width: 100%; min-width: 0; padding: 0.9rem 1rem 0.9rem 0.75rem; border: 0; border-radius: 0 99px 99px 0; color: var(--ink); background: transparent; }
.search-form input::placeholder { color: #505b6c; }
.search-form button { display: grid; place-items: center; flex: none; min-width: 3.5rem; border: 0; color: var(--rust); border-right: 1px solid var(--line); background: transparent; font-size: 1.18rem; padding: 0.28rem; }
.search-form button:hover { color: #773119; }
.preview-note { margin-top: 0.72rem; color: var(--muted); font-size: 0.82rem; }

.photo-link { position: relative; display: flex; align-items: end; overflow: hidden; isolation: isolate; border-radius: 13px; color: #fff; text-decoration: none; background: #29394a; }
.photo-link img { position: absolute; z-index: -2; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.photo-link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 36%, #101e2e65 62%, #101e2ef2 100%); }
.photo-link:hover .feature-action, .area:hover .photo-link-copy { text-decoration: underline; text-underline-offset: 0.16em; }
.photo-link-copy { display: block; padding: clamp(1rem, 2.7vw, 2.25rem); font-weight: 700; line-height: 1.13; }
.feature { min-height: clamp(310px, 42vw, 520px); }
.feature-title { display: block; max-width: 29ch; font-size: clamp(1.75rem, 3.1vw, 3rem); }
.feature-title::before { display: block; content: ""; width: 2.6rem; height: 0.22rem; background: #ff9857; margin-bottom: 0.8rem; }
.year-range { white-space: nowrap; }
.feature-action { display: block; margin-top: 0.85rem; font-weight: 500; font-size: 1.04rem; }
.photo-link-copy .icon { margin-left: 0.36rem; color: #ff9857; font-size: 0.75em; }
.content-shell { padding-block: clamp(1.8rem, 4vw, 3.4rem); }
.section-heading { display: flex; align-items: center; gap: clamp(0.55rem, 1.45vw, 1.25rem); margin-bottom: 1.35rem; }
.section-heading h2 { font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.15; letter-spacing: -0.035em; }
.section-heading .icon { font-size: clamp(1.45rem, 3vw, 2.4rem); color: var(--rust); }
.section-heading::after { content: ""; flex: 1; border-top: 1px solid var(--warm); }

.intent-nav { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 0 2.5rem; border: 1px solid var(--line); border-radius: 13px; }
.intent-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 1.05rem clamp(0.6rem, 2vw, 1.5rem); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.15rem); text-decoration: none; border-radius: 8px; min-width: 0; }
.intent-nav a + a { border-left: 1px solid var(--line); }
.intent-nav a:hover, .questions a:hover { background: #f3eadd; }
.intent-nav .icon { font-size: 1.45rem; color: var(--rust); }
.intent-nav .icon-arrow { font-size: 0.85rem; margin-left: auto; }
.faq-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; gap: clamp(1.2rem, 3vw, 2.9rem); }
.questions { align-self: center; }
.questions, .guide-list { margin: 0; padding: 0; list-style: none; }
.questions a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.95rem 0.65rem; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(1.03rem, 1.8vw, 1.35rem); }
.questions .icon { color: var(--rust); }
.faq-image { height: clamp(155px, 17vw, 225px); width: 100%; object-fit: cover; object-position: center 52%; border-radius: 12px; }

.library { margin-top: 2.7rem; scroll-margin-top: 1.2rem; }
.library:target:focus { outline: none; }
.filter-bar { display: flex; align-items: end; gap: 0.72rem; flex-wrap: wrap; }
.filter-bar label { display: flex; flex-direction: column; gap: 0.28rem; min-width: min(13rem, 100%); font-weight: 600; font-size: 0.92rem; }
.filter-bar select, .primary-button, .quiet-button { min-height: 44px; padding: 0.54rem 0.85rem; border: 1px solid #c8bdaf; border-radius: 8px; color: var(--ink); background: #fff; }
.primary-button { border-color: var(--rust); background: var(--rust); color: #fff; font-weight: 700; }
.primary-button:hover { background: #7f2a14; }
.quiet-button { background: transparent; }
.quiet-button:hover { background: #f3eadd; }
.filter-bar a[data-reset] { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.result-count { min-height: 1.4em; margin-block: 0.9rem 0.45rem; color: var(--muted); font-size: 0.94rem; }
.empty-search { border: 1px solid var(--line); border-radius: 10px; padding: 1rem; }
.guide-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.45vw, 1.25rem);
}
.guide-list > li { min-width: 0; scroll-margin-top: 1.35rem; }
.guide-card {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  height: 100%;
  min-height: clamp(11rem, 16vw, 14.25rem);
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffdfa;
  text-decoration: none;
}
.guide-card:hover, .guide-list > li:target .guide-card { border-color: #c8bdaf; background: #fcf7ef; }
.guide-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  align-self: center;
  object-fit: cover;
  border-radius: 9px;
  background: #ebe7df;
}
.guide-card-copy {
  display: grid;
  align-content: center;
  gap: 0.6rem;
  padding: clamp(0.75rem, 1.35vw, 1.2rem);
  min-width: 0;
  overflow-wrap: anywhere;
}
.guide-card h3 {
  margin: 0;
  font-size: clamp(1.12rem, 1.58vw, 1.45rem);
  line-height: 1.28;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}
.guide-card p { color: var(--muted); font-size: clamp(0.93rem, 1.08vw, 1rem); line-height: 1.45; }
.guide-card-action {
  margin-top: 0.3rem;
  color: var(--rust);
  font-size: clamp(0.89rem, 1.05vw, 0.97rem);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}
.guide-card-action .icon { display: inline-block; margin-inline-start: 0.22rem; font-size: 0.79em; }
.guide-category { color: var(--rust); font-weight: 700; font-size: 0.78rem; }
.guide-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(0.3rem, 0.75vw, 0.7rem);
  margin-top: clamp(1rem, 2.3vw, 2rem);
  color: var(--rust);
  font-weight: 700;
}
.guide-pagination a, .guide-pagination [aria-current="page"] {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 0.62rem;
  align-items: center;
  justify-content: center;
  gap: 0.43rem;
  border: 1px solid #c8bdaf;
  border-radius: 8px;
  text-decoration: none;
}
.guide-pagination a:hover { border-color: var(--rust); background: #f3eadd; }
.guide-pagination [aria-current="page"] { color: #fff; background: var(--rust); border-color: var(--rust); }
.guide-pagination .guide-page-step { padding-inline: 0.9rem; }
.guide-pagination .guide-page-step .icon { flex: none; font-size: 0.79em; }
.guide-pagination [rel="prev"] .icon-arrow { transform: rotate(180deg); }
.guide-pagination .guide-page-gap { padding-inline: 0.3rem; color: var(--muted); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.site-footer { border-top: 1px solid var(--line); background: #f0e9dd; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.15rem; padding-block: 1.3rem; color: var(--muted); font-size: 0.9rem; }
.footer-inner .brand { width: 112px; }

@media (max-width: 1000px) {
  .header-inner { min-height: 72px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: flex; align-items: center; gap: 1rem; font-weight: 700; }
  .mobile-menu { position: relative; z-index: 2; }
  .mobile-menu summary { min-width: 44px; min-height: 44px; display: grid; place-items: center; list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 8px; }
  .mobile-menu nav { position: absolute; z-index: 2; right: 0; top: calc(100% + 0.45rem); width: 13rem; padding: 0.45rem; border: 1px solid var(--line); border-radius: 10px; background: #fffdfa; box-shadow: 0 4px 18px #14223622; }
  .mobile-menu nav a { display: block; padding: 0.52rem 0.75rem; }
  .mobile-menu nav a:hover { background: #f3eadd; }
}
@media (max-width: 880px) {
  .guide-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 660px) {
  .hero-inner, .faq-grid, .intent-nav { grid-template-columns: 1fr; }
  .hero-inner { gap: 1.45rem; padding-block: 1.8rem 1.4rem; }
  .hero-copy h1 { font-size: clamp(2.62rem, 11vw, 4.4rem); }
  .hero-copy h1 br { display: none; }
  .subtitle { margin-top: 0.5rem; }
  .search-form { margin-top: 1.25rem; max-width: none; }
  .feature { min-height: clamp(250px, 62vw, 330px); }
  .feature-title { font-size: clamp(1.45rem, 6.4vw, 2.18rem); }
  .photo-link-copy { padding: 1.1rem; }
  .intent-nav { margin-block: 0 1.9rem; }
  .intent-nav a { padding-inline: 1rem; }
  .intent-nav a + a { border-left: 0; border-top: 1px solid var(--line); }
  .faq-grid { gap: 1.05rem; }
  .library { margin-top: 1.95rem; }
  .guide-card {
    grid-template-columns: clamp(4.75rem, 27vw, 7.5rem) minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem 0.75rem;
    min-height: 0;
    padding: 0.75rem;
  }
  .guide-card-copy { display: contents; }
  .guide-card h3 { font-size: 1.06rem; }
  .guide-card p, .guide-card-action { grid-column: 1 / -1; }
  .guide-card-action { margin-top: 0; }
  .filter-bar label { flex: 1 1 46%; min-width: min(8rem, 100%); }
  .filter-bar select { width: 100%; }
  .footer-inner { gap: 0.8rem 1rem; }
}

.article-shell { width: min(calc(100% - clamp(2rem, 6vw, 7rem)), 1200px); margin: 0 auto; padding-block: clamp(1.5rem, 4.5vw, 3.75rem) clamp(3rem, 7vw, 5.75rem); }
.article-header { max-width: 54rem; }
.article-back { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--muted); font-size: 0.92rem; font-weight: 700; text-decoration: none; margin-bottom: clamp(1.1rem, 3vw, 1.85rem); }
.article-back:hover { color: var(--rust); text-decoration: underline; }
.article-back .icon { transform: rotate(180deg); font-size: 0.75em; }
.article-header .guide-category { display: inline-block; margin: 0; border-radius: 0.32rem; background: #f0e4d7; padding: 0.25rem 0.55rem; font-size: 0.79rem; }
.article-header h1 { font: 700 clamp(2rem, 4.4vw, 3.65rem)/1.09 var(--display); letter-spacing: -0.037em; margin: 0.6rem 0 0; text-wrap: balance; }
.article-description { max-width: 46rem; color: var(--muted); font-size: clamp(1.06rem, 2.1vw, 1.24rem); line-height: 1.55; margin: 0.8rem 0 0; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.8rem; color: var(--muted); font-size: 0.88rem; margin: 1rem 0 0; }
.article-byline strong { color: var(--ink); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 19.5rem); column-gap: clamp(1.5rem, 4vw, 3.5rem); row-gap: clamp(1.35rem, 3vw, 2.25rem); align-items: start; margin-top: clamp(1.25rem, 3vw, 2rem); }
.article-cover { grid-column: 1; margin: 0; }
.article-cover img { width: 100%; height: auto; aspect-ratio: 2.22; object-fit: cover; border-radius: 0.95rem; background: #ebe7df; }
.article-body {
  grid-column: 1;
  min-width: 0;
  padding: clamp(1rem, 3vw, 2.25rem);
  border: 1px solid #d5cbbc;
  border-radius: 0.95rem;
  background: #fffdfa;
  box-shadow: 0 3px 12px #1422360b;
  font-size: 1.08rem;
  line-height: 1.75;
}
.article-body > :first-child { margin-top: 0; }
.article-body > :last-child { margin-bottom: 0; }
.article-body h2 { font: 700 clamp(1.35rem, 3.1vw, 1.85rem)/1.22 var(--display); margin: 2.1rem 0 0.7rem; scroll-margin-top: 1.4rem; }
.article-body p, .article-body ul { margin: 0.9rem 0; }
.article-body ul { padding-inline-start: 1.4rem; }
.article-body li + li { margin-top: 0.45rem; }
.article-body a { color: var(--rust); overflow-wrap: anywhere; text-underline-offset: 0.18em; }
.article-sidebar { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 1rem; min-width: 0; }
.article-action { background: #e8edf2; border: 1px solid #d4dfe8; border-top: 3px solid #7894ad; border-radius: 0.85rem; padding: clamp(1rem, 2.7vw, 1.5rem); }
.article-action > .icon { display: grid; width: 2.45rem; height: 2.45rem; place-items: center; border-radius: 0.6rem; background: #f8fafb; color: #315577; font-size: 1.07rem; }
.article-action h2 { font: 700 1.45rem/1.21 var(--display); margin: 0.75rem 0 1rem; }
.article-action a { display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 0.65rem; padding: 0.58rem 0.8rem; border-radius: 0.5rem; background: #315577; color: white; font-size: 0.88rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.article-action a:hover { background: #234766; }
.article-action a .icon { flex-shrink: 0; font-size: 0.82em; }
.article-toc { padding: 1rem 1.15rem; border: 1px solid var(--line); border-radius: 0.85rem; background: #fcfaf6; }
.article-toc h2 { margin: 0; font-size: 0.89rem; }
.article-toc ul { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.article-toc li + li { border-top: 1px solid var(--line); }
.article-toc a { display: block; padding: 0.45rem 0; color: var(--muted); font-size: 0.84rem; text-decoration: none; }
.article-toc a:hover { color: var(--rust); text-decoration: underline; }
.article-related { margin-top: clamp(2rem, 5vw, 3.75rem); padding-top: 1.25rem; border-top: 1px solid var(--line); }
.article-related h2 { margin: 0 0 0.8rem; font: 700 1.6rem/1.25 var(--display); }
.article-related ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0.75rem; padding: 0; margin: 0; list-style: none; }
.article-related a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; height: 100%; min-height: 3.2rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 0.65rem; background: #fcfaf6; font-weight: 700; text-decoration: none; }
.article-related a:hover { color: var(--rust); text-decoration: underline; }
.article-related .icon { flex-shrink: 0; color: var(--rust); font-size: 0.8rem; }

@media (max-width: 780px) {
  .article-grid { grid-template-columns: minmax(0, 1fr); }
  .article-sidebar { grid-column: 1; grid-row: auto; }
  .article-toc { display: none; }
  .article-body { font-size: 1rem; }
}
@media (max-width: 480px) {
  .article-header h1 { text-wrap: initial; }
  .article-cover img { aspect-ratio: 1.55; border-radius: 0.65rem; }
}

html[lang="he"] :is(.hero-copy h1, .article-header h1) { letter-spacing: normal; text-wrap: balance; overflow-wrap: anywhere; }
html[lang="he"] :is(.article-body, .article-sidebar, .article-related, .guide-card-copy) { overflow-wrap: anywhere; }
html[lang="he"] .skip-link { inset-inline-start: 0.8rem; left: auto; }
html[lang="he"] .desktop-nav .language { padding-inline-start: 1.1rem; padding-left: 0; border-inline-start: 1px solid #bdb4a7; border-left: 0; }
html[lang="he"] .desktop-nav .language + .language { padding-inline-start: 0; border-inline-start: 0; margin-inline-start: -0.5rem; margin-left: 0; }
html[lang="he"] .search-form input { padding: 0.9rem 0.75rem 0.9rem 1rem; border-radius: 99px 0 0 99px; }
html[lang="he"] .search-form button { border-inline-end: 1px solid var(--line); border-right: 0; }
html[lang="he"] .photo-link-copy .icon { margin-inline-start: 0.36rem; margin-left: 0; }
html[lang="he"] .intent-nav a + a { border-inline-start: 1px solid var(--line); border-left: 0; }
html[lang="he"] .intent-nav .icon-arrow { margin-inline-start: auto; margin-left: 0; }
html[lang="he"] .icon-arrow { transform: scaleX(-1); }
html[lang="he"] .feature-action .icon-arrow { display: inline-block; }
html[lang="he"] :is(.article-back, .guide-pagination [rel="prev"]) .icon-arrow { transform: none; }
@media (max-width: 1000px) {
  html[lang="he"] .mobile-menu nav { left: 0; right: auto; }
}
@media (max-width: 660px) {
  html[lang="he"] .intent-nav a + a { border-inline-start: 0; }
}
