/*
 * Sebastijan Pregelj – site styles (no build step).
 * Visual language taken from the original site: Playfair Display headings,
 * Raleway body, italic Didot-style captions, light-grey panels, black band,
 * rounded green buttons with spaced lowercase labels.
 */
:root {
  --white: #fff;
  --black: #000;
  --ink: #000;
  --ink-2: #4a4a4a;
  --grey-page: #ccc;     /* book listing pages */
  --grey-panel: #d9d9d9; /* hero panel */
  --grey-band: #d5d5d5;  /* promo band */
  --grey-btn: #7b7b7b;   /* "več" / "Podrobnosti" buttons */
  --line: #bdbdbd;
  --green: #3f7652;
  --pink: #ed1566;
  --dark: #282626;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --didot: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --btn: "Mulish", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 15px/1.875 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.caption, .award, .italic { font-family: var(--didot); font-style: italic; font-size: 15px; line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: .5em 1em; z-index: 10; }

/* Buttons */
.btn-pill {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--green); color: #fff; text-decoration: none;
  font: 400 15px/1 var(--btn); letter-spacing: .25em; text-transform: lowercase;
  padding: 14px 34px 14px 40px; border-radius: 50px; transition: background .2s;
}
.btn-pill::after { content: ""; width: 34px; height: 9px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 9'%3E%3Cpath d='M0 4.5h32M28 1l4 3.5-4 3.5' fill='none' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E"); }
.btn-pill:hover { background: #2f5d40; }
.btn-pill.sm { font-size: 12px; padding: 8px 18px 8px 22px; gap: 10px; }
.btn-pill.sm::after { width: 24px; }
.btn-dark { display: inline-block; background: var(--dark); color: #fff; text-decoration: none; font: 400 15px var(--btn); letter-spacing: .05em; padding: 11px 48px; }
.btn-dark:hover { background: #000; }
.btn-grey { display: inline-block; background: var(--grey-btn); color: #fff; text-decoration: none; font: 400 13px var(--btn); letter-spacing: .05em; padding: 7px 34px; }
.btn-grey:hover { background: #5f5f5f; }
.btn-row { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 10px; }

/* Header – full width like the original: logo far left, menu + social far right */
.site-header { background: #fff; position: sticky; top: 0; z-index: 20; transition: box-shadow .3s, min-height .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 8px 24px -16px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 110px; gap: 1rem; max-width: none; padding: 0 16px; transition: min-height .3s; }
@media (min-width: 700px) { .header-inner { padding: 0 3.9vw; } }
.scrolled .header-inner { min-height: 72px; }
.brand { font: 400 22px/1.2 var(--serif); text-transform: uppercase; text-decoration: none; color: #000; white-space: nowrap; letter-spacing: .01em; }
.site-nav ul.main a { position: relative; }
.site-nav ul.main a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: currentColor; transition: right .3s ease; }
.site-nav ul.main a:hover::after, .site-nav ul.main a[aria-current="page"]::after { right: 0; }
.menu-btn { cursor: pointer; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; background: none; border: 0; padding: 0; }
.menu-btn span { display: block; width: 22px; height: 1px; background: #000; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 16px 1.25rem; }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .45rem 0; text-decoration: none; font: 400 14px/2 var(--sans); color: #000; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--green); }
.nav-extra { display: flex; align-items: center; gap: 14px; margin-top: .5rem; }
.lang { display: flex; gap: 8px; }
.lang a { font: 400 12px var(--sans) !important; letter-spacing: .08em; padding: 0 !important; color: #777 !important; }
.lang a[aria-current="true"] { color: #000 !important; text-decoration: underline; }
.fb { display: inline-flex; width: 20px; height: 20px; padding: 0 !important; }
.fb svg { width: 20px; height: 20px; }
@media (min-width: 1180px) {
  .menu-btn { display: none; }
  .site-nav, .site-nav.open { display: flex; position: static; padding: 0; border: 0; align-items: center; gap: 28px; background: none; }
  .site-nav ul.main { display: flex; gap: 20px; }
  .site-nav a { padding: 0; white-space: nowrap; }
  .nav-extra { margin-top: 0; gap: 18px; }
}

.crumbs { padding-top: 6px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; font-size: 12px; color: #555; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.grey-page .crumbs, .grey-page { background: var(--grey-page); }

/* Page shells */
.grey-page main { background: var(--grey-page); }
.page { padding-top: 24px; padding-bottom: 80px; }
.page-title { text-align: center; text-transform: uppercase; margin: 0 0 .2em; font-size: clamp(2.2rem, 4.4vw, 3rem); }
.page-intro { text-align: center; max-width: 720px; margin: 0 auto 48px; }

/* Home hero – original geometry: portrait at 13%/39% width, grey panel from 45% to the
   right edge (starting at the photo top, running past its bottom), centered copy on the right. */
.hero { position: relative; padding: 40px 0 0; }
.hero-inner { position: relative; display: grid; }
.hero-photo { margin: 0 16px; position: relative; z-index: 1; }
.hero-photo img { width: 100%; }
.hero-photo figcaption { margin-top: 12px; font-size: 16px; }
.hero-photo figcaption a { text-decoration: none; }
.hero-copy { background: var(--grey-panel); padding: 56px 24px 72px; text-align: center; margin-top: -40px; }
.hero h1 { font-size: clamp(2.3rem, 3.2vw, 3.1rem); line-height: 1.32; margin-bottom: 1em; }
.hero h1 .name { text-transform: uppercase; }
.hero h1 .role { display: block; }
.hero-copy p { max-width: 410px; margin: 0 auto; font-size: 15.5px; line-height: 2.3; }
@media (min-width: 900px) {
  .hero { padding-top: 60px; }
  .hero::before { content: ""; position: absolute; left: 45%; right: 0; top: 60px; bottom: 0; background: var(--grey-panel); }
  .hero-inner { grid-template-columns: 13.2% 39.3% 1fr; align-items: center; padding-bottom: 110px; }
  .hero-photo { grid-column: 2; margin: 0; align-self: start; }
  .hero-photo figcaption { position: absolute; left: -10.4vw; top: 100%; }
  .hero-copy { grid-column: 3; background: none; margin: 0; padding: 40px 6vw 0 15%; position: relative; }
  .hero h1 { font-size: clamp(2.4rem, 2.9vw, 3.3rem); }
}
@media (min-width: 1500px) { .hero-copy p { font-size: 16.5px; max-width: 430px; } }

.band-black { background: #000; color: #fff; text-align: center; padding: 36px 16px; }
.band-black h2 { margin: 0; font-size: 40px; }
.next-event { text-align: center; padding: 80px 16px 48px; }
.next-event .none { font: 400 20px var(--serif); margin-bottom: 70px; }

.promo { background: var(--grey-band); padding: 40px 0; }
.promo-grid { display: grid; gap: 28px; align-items: center; justify-items: center; text-align: center; }
@media (min-width: 760px) { .promo-grid { grid-template-columns: 1fr 1fr; } .promo-grid img { justify-self: start; } }
.promo .kicker { color: var(--pink); margin: 0; }
.promo p { margin: 0; }
.promo .btn-dark { margin-top: 64px; }
.promo img { max-width: 300px; }

.section { padding: 64px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-grey { background: var(--grey-page); }

/* Book listing (novels / short prose): one centered block per book, covers of all editions */
.book-block { text-align: center; padding: 40px 0 56px; }
.book-block h2 { font-size: clamp(1.9rem, 3.6vw, 3.5rem); margin-bottom: 28px; }
.book-block h2 a { text-decoration: none; }
.book-block h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.editions-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 64px; }
.ed { width: 190px; text-align: left; }
.ed .cover { height: 260px; display: flex; align-items: flex-end; }
.ed .cover img { max-height: 260px; width: auto; max-width: 190px; }
.ed .pub { font: 400 15px/1.45 var(--serif); margin: 10px 0 2px; display: flex; justify-content: space-between; gap: 10px; }
.ed .flag { font-size: 20px; line-height: 1; }
.ed .award { font-size: 13px; margin: 0; }
.ed .btn-row { align-items: flex-start; }

/* Grid listing (children, anthologies, Medo in Pujsi) */
.series { padding: 24px 0 48px; }
.series > h2 { text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 32px; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; max-width: 900px; margin: 0 auto; }
@media (min-width: 760px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 40px; } }
.card { text-align: center; }
.card .cover { height: 300px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; }
.card .cover img { max-height: 300px; width: auto; }
.card h3 { font-size: 19px; line-height: 1.3; margin: 0 0 2px; }
.card h3 a { text-decoration: none; }
.card .pub { font: 400 15px/1.5 var(--serif); margin: 0; }
.card .award { font-size: 13px; margin: 0; line-height: 1.6; }
.card .btn-grey { margin-top: 12px; }
@media (max-width: 600px) { .card .cover { height: 220px; } .card .cover img { max-height: 220px; } }

/* Book detail */
.book-detail { text-align: center; }
.book-detail h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); margin: 8px 0 .2em; }
.book-detail .orig { font-family: var(--didot); font-style: italic; margin-bottom: 28px; }
.book-detail .awards { list-style: none; padding: 0; margin: 28px 0; }
.book-detail .awards li { font-family: var(--didot); font-style: italic; font-size: 16px; }
.book-detail .description { max-width: 680px; margin: 28px auto 0; text-align: left; }
.facts { display: inline-grid; grid-template-columns: max-content max-content; gap: 2px 16px; text-align: left; margin: 24px auto 0; font-size: 14px; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }

.reviews-panel { background: #fff; max-width: 860px; margin: 64px auto 0; padding: 48px 24px; text-align: left; }
@media (min-width: 700px) { .reviews-panel { padding: 56px 72px; } }
.reviews-panel > h2 { text-align: center; margin-bottom: 36px; }
.review { margin: 0; padding: 0 0 28px; }
.review + .review { border-top: 1px solid #ddd; padding-top: 28px; }
.review blockquote { margin: 0; }
.review blockquote p { margin-bottom: .8em; }
.review figcaption { font-family: var(--didot); font-style: italic; font-size: 14px; }
.review .label { font: 400 13px var(--btn); letter-spacing: .2em; text-transform: lowercase; color: var(--green); margin-bottom: 8px; }
.review .intro { font-style: italic; }

/* Events */
.events-title { text-align: center; margin: 24px 0 40px; }
.event-grid { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 900px; margin: 0 auto; }
@media (min-width: 600px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .event-grid { grid-template-columns: repeat(3, 1fr); } }
.event-card { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.event-card .img { aspect-ratio: 1; overflow: hidden; background: #eee; }
.event-card .img img { width: 100%; height: 100%; object-fit: cover; }
.event-card .body { padding: 18px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.event-card h3 { font: 600 19px/1.25 var(--btn); margin: 0 0 6px; }
.event-card h3 a { text-decoration: none; }
.event-card .meta { font: 400 13px/1.5 var(--btn); color: #333; margin: 0 0 10px; }
.event-card .more { font: 400 12px var(--btn); margin-bottom: 18px; }
.event-card .btn-grey { align-self: flex-start; margin-top: auto; }
.event-archive { text-align: center; margin-top: 48px; font-size: 13px; }
.event-detail { display: grid; gap: 32px; max-width: 980px; margin: 0 auto; }
@media (min-width: 860px) { .event-detail { grid-template-columns: 1fr 1fr; gap: 56px; } }
.event-detail .facts { display: grid; margin: 0 0 24px; font-size: 15px; }

/* News */
.news-item { padding: 40px 0; border-bottom: 1px solid #e3e3e3; }
.news-item h2 { font-size: 30px; margin-bottom: .1em; }
.news-item time { font-family: var(--didot); font-style: italic; display: block; margin-bottom: 14px; }
.news-teasers { display: grid; gap: 32px; }
@media (min-width: 860px) { .news-teasers { grid-template-columns: repeat(3, 1fr); } }
.news-teasers article { text-align: center; }
.news-teasers h3 { font-size: 22px; margin-bottom: .3em; }
.news-teasers h3 a { text-decoration: none; }
.news-teasers time { font-family: var(--didot); font-style: italic; display: block; margin-bottom: 8px; }

/* About */
.about { display: grid; gap: 0; margin-top: 24px; }
.about-panel { background: var(--grey-panel); padding: 48px 24px; }
.about-panel .prose { max-width: 560px; margin: 0 auto; }
@media (min-width: 900px) { .about { grid-template-columns: 42% 58%; } .about-panel { padding: 72px 64px; } .about figure { margin-right: -6%; position: relative; z-index: 1; } }
.about figure { margin: 0; }
.award-list { list-style: none; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); text-align: center; }
.award-list a { font: 400 20px var(--serif); text-decoration: none; }
.award-list ul { list-style: none; padding: 0; margin: 4px 0 0; }
.award-list ul li { font-family: var(--didot); font-style: italic; font-size: 14px; }

/* Gallery */
.gallery-head { text-align: center; margin-bottom: 28px; }
.gallery-head p { font-family: var(--didot); font-style: italic; }
.photo-grid { columns: 1; column-gap: 12px; }
@media (min-width: 600px) { .photo-grid { columns: 2; } }
@media (min-width: 1000px) { .photo-grid { columns: 3; } }
.photo { break-inside: avoid; margin: 0 0 12px; }
.photo figcaption { font-family: var(--didot); font-style: italic; font-size: 13px; line-height: 1.5; padding: 6px 2px 4px; }

/* Footer */
.site-footer { background: #fff; text-align: center; padding: 48px 16px 36px; }
.footer-name { font: 400 22px var(--serif); margin-bottom: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-fb { display: inline-flex; margin: 14px 0 28px; }
.footer-fb svg { width: 18px; height: 18px; }
.footer-langs { display: flex; justify-content: center; gap: 16px; font-size: 13px; margin-bottom: 18px; }
.footer-copy { font-size: 13px; margin: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .site-header, .site-footer, .crumbs { display: none; } }

/* ---------- Polish ---------- */
html { scroll-behavior: smooth; }
:lang(sl) p, :lang(hr) p { hyphens: auto; }
::selection { background: var(--green); color: #fff; }

/* green pill: arrow travels on hover */
.btn-pill::after { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.btn-pill:hover::after { transform: translateX(6px); }
.btn-dark, .btn-grey { transition: background .2s, transform .2s; }
.btn-dark:hover, .btn-grey:hover { transform: translateY(-1px); }

/* covers: paper-like shadow, lift on hover */
.card .cover img, .ed .cover img {
  box-shadow: 0 1px 1px rgba(0,0,0,.12), 0 6px 14px -6px rgba(0,0,0,.35);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s;
  transform-origin: 50% 100%;
}
.card:hover .cover img, .ed:hover .cover img { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 2px 2px rgba(0,0,0,.1), 0 22px 30px -14px rgba(0,0,0,.45); }
.card h3 a, .book-block h2 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s; }
.card:hover h3 a, .book-block h2 a:hover { background-size: 100% 1px; text-decoration: none; }

/* event cards */
.event-card { transition: box-shadow .3s, transform .3s; }
.event-card .img img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.event-card:hover { box-shadow: 0 18px 34px -22px rgba(0,0,0,.45); transform: translateY(-2px); }
.event-card:hover .img img { transform: scale(1.04); }

/* black band */
.band-black h2 { letter-spacing: .01em; }
.band-black { position: relative; overflow: hidden; }

/* photo hover */
.photo img { transition: filter .4s, transform .6s; }
.photo a:hover img { filter: brightness(1.04); }

/* reveal on scroll (only when JS marks the page ready) */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal [data-reveal].in { opacity: 1; transform: none; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox img { max-width: 94vw; max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox p { color: #eee; font-family: var(--didot); font-style: italic; text-align: center; margin: 12px 0 0; }
.lightbox button { position: fixed; top: 14px; right: 18px; background: none; border: 0; color: #fff; font: 300 34px/1 var(--btn); cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal [data-reveal] { opacity: 1; transform: none; }
}
.footer-langs { list-style: none; padding: 0; }
.footer-langs a { color: #555; }
.pub a, .card .pub a { text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.25); transition: border-color .2s; }
.pub a:hover { border-bottom-color: #000; }

/* News */
.news-item h2 a { text-decoration: none; }
.news-item h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.read-more { font: 400 13px var(--btn); letter-spacing: .2em; text-transform: lowercase; color: var(--green); text-decoration: none; }
.read-more::after { content: " →"; }
.post { text-align: left; }
.post .post-date { display: block; text-align: center; font-family: var(--didot); font-style: italic; margin-bottom: 8px; }
.post h1 { text-align: center; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 40px; }
.post-body { font-size: 17px; line-height: 1.9; }
.post-body p:first-child::first-letter { font: 400 3.4em/0.9 var(--serif); float: left; margin: .08em .1em 0 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 56px 0 40px; padding-top: 28px; border-top: 1px solid #e3e3e3; }
.post-nav-link { text-decoration: none; display: block; }
.post-nav-link .t { display: block; font: 400 19px/1.3 var(--serif); }
.post-nav-link.next { text-align: right; }
.post-nav-link:hover .t { text-decoration: underline; text-decoration-thickness: 1px; }

/* ---------- Uniform covers: same frame for every cover in a row ---------- */
.ed { width: 190px; }
.ed .cover, .card .cover { height: auto; display: block; }
.ed .cover img { width: 190px; max-width: 100%; max-height: none; height: auto; object-fit: cover; background: #bbb; }
.card .cover { width: 200px; max-width: 100%; margin: 0 auto 14px; }
.card .cover img { width: 100%; max-height: none; height: auto; object-fit: cover; background: #bbb; }
.editions-row { align-items: flex-start; }
.card-grid { align-items: start; }
@media (max-width: 600px) { .card .cover { width: 100%; } .ed { width: 44vw; } .ed .cover img { width: 100%; } }

/* awards: never hyphenate */
.award, .awards li, .caption { hyphens: manual; -webkit-hyphens: manual; }

/* title hover underline without artefacts */
.book-block h2 a, .card h3 a { background: none; position: relative; }
.book-block h2 a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.book-block h2 a:hover::after { transform: scaleX(1); }
.card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }

.flag-img { display: inline-block; width: 22px; height: 15px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.12); vertical-align: middle; }

.footer-credit { font-size: 10px; color: #999; margin: 6px 0 0; }
.footer-credit a { color: #999; }

/* About: awards timeline */
.awards-section { max-width: 900px; margin: 0 auto; }
.award-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e3e3e3; }
.award-timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 4px 24px; align-items: center; padding: 14px 0; border-bottom: 1px solid #e3e3e3; }
.award-timeline .y { font: 400 26px/1 var(--serif); grid-row: span 2; align-self: start; padding-top: 4px; }
.award-timeline .a { font-family: var(--didot); font-style: italic; font-size: 17px; line-height: 1.35; }
.award-timeline .b { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 14px; color: #333; justify-self: start; }
.award-timeline .b img { width: 32px; height: auto; box-shadow: 0 2px 6px -2px rgba(0,0,0,.35); }
.award-timeline .b:hover span { text-decoration: underline; }
@media (min-width: 760px) {
  .award-timeline li { grid-template-columns: 90px 1fr 280px; }
  .award-timeline .y { grid-row: auto; font-size: 30px; }
  .award-timeline .b { justify-self: end; text-align: right; flex-direction: row-reverse; }
}
.quality-marks { text-align: center; max-width: 760px; margin: 40px auto 0; line-height: 2; }
.quality-marks a { text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.25); }
.quality-marks a:hover { border-bottom-color: #000; }

/* Award wins stand out from nominations */
.award-timeline li.win .a { font-family: var(--serif); font-style: normal; font-size: 20px; }
.award-timeline li.win .a::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 10px; vertical-align: middle; transform: translateY(-2px); }

/* ---------- Medo in Pujsi band ---------- */
.promo { background: var(--grey-band); padding: 72px 0; overflow: hidden; }
.promo-grid { display: grid; gap: 40px; align-items: center; justify-items: center; text-align: center; }
.promo-art { display: block; width: min(420px, 82vw); transform: rotate(-2.5deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.promo-art img { width: 100%; max-width: none; background: #fff; padding: 12px 12px 40px; box-shadow: 0 2px 3px rgba(0,0,0,.08), 0 30px 50px -24px rgba(0,0,0,.45); }
.promo-art:hover { transform: rotate(0deg) translateY(-4px); }
.promo-copy { max-width: 470px; }
.promo-copy .kicker { color: var(--pink); font: 500 13px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 0 0 18px; }
.promo-copy h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.2; margin: 0 0 18px; }
.promo-copy p { margin: 0 0 30px; }
.promo-copy .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; justify-content: center; margin: 0; }
.promo .btn-dark { margin: 0; }
.link-arrow { font: 400 14px var(--btn); letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.3); padding-bottom: 2px; }
.link-arrow::after { content: " →"; transition: margin .3s; }
.link-arrow:hover::after { margin-left: 4px; }
@media (min-width: 860px) {
  .promo-grid { grid-template-columns: 1fr 1fr; gap: 80px; text-align: left; justify-items: start; }
  .promo-art { justify-self: end; }
  .promo-copy .actions { justify-content: flex-start; }
}

/* Home news teasers: left-aligned cards, whole lines, no hyphenation */
.news-teasers { gap: 48px; max-width: 1100px; margin: 0 auto; }
.news-teasers .news-card { text-align: left; border-top: 1px solid #000; padding-top: 22px; display: flex; flex-direction: column; }
.news-card time { font-family: var(--didot); font-style: italic; font-size: 15px; margin-bottom: 10px; }
.news-card h3 { font-size: 24px; line-height: 1.25; margin: 0 0 14px; }
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.news-card p { hyphens: manual; -webkit-hyphens: manual; color: #333; font-size: 15px; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 16px; }
.news-card .read-more { margin-top: auto; }

/* Home polish */
.card { display: flex; flex-direction: column; align-items: center; height: 100%; }
.card .btn-grey { margin-top: auto; }
.card .btn-grey { margin-top: auto !important; } .card > p:last-of-type { margin-bottom: 14px; }
.card-grid { align-items: stretch; }
.card > .btn-grey { align-self: center; }
.next-event { padding: 64px 16px 72px; }
.next-event .none { margin-bottom: 40px; }
.recent-label { margin: 0 0 18px; }
.recent-events { margin: 0 auto 48px; text-align: left; }
.section-grey .section-title, .section .section-title { margin-bottom: 44px; }
.hero-photo figcaption a:hover { text-decoration: underline; }
/* same frame height for 2:3 and 3:4 covers → titles line up in mixed rows */
.card .cover { height: 300px; display: flex; align-items: flex-end; justify-content: center; }
.card .cover img { width: auto; max-width: 100%; max-height: 300px; }
@media (max-width: 600px) { .card .cover { height: 62vw; } .card .cover img { max-height: 62vw; } }

/* ---------- Gallery: albums ---------- */
.gallery-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px 0 56px; }
.gallery-chips a { font: 400 13px var(--btn); letter-spacing: .12em; text-transform: lowercase; text-decoration: none; padding: 9px 18px; border: 1px solid #000; border-radius: 50px; transition: background .2s, color .2s; }
.gallery-chips a span { opacity: .55; margin-left: 4px; }
.gallery-chips a:hover { background: #000; color: #fff; }
.gallery-section { padding: 24px 0 40px; }
.gallery-section + .gallery-section { border-top: 1px solid #e3e3e3; padding-top: 64px; }
.gallery-head { text-align: center; margin-bottom: 40px; }
.gallery-head h2 { margin-bottom: 6px; }
.gallery-head p { font-family: var(--didot); font-style: italic; margin: 0; }
.album { margin: 0 0 56px; }
.album-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; border-bottom: 1px solid #000; padding-bottom: 8px; margin-bottom: 14px; }
.album-head h3 { font-size: 22px; margin: 0; }
.album-head .caption { margin: 0; font-size: 14px; color: #555; }
.album-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 760px) { .album-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
.album-grid.is-single { grid-template-columns: minmax(0, 720px); }
.album-grid.is-pair { grid-template-columns: repeat(2, 1fr); }
.photo-tile { position: relative; display: block; overflow: hidden; background: #e8e8e8; aspect-ratio: 4 / 3; cursor: zoom-in; }
.photo-tile.big { grid-column: span 2; grid-row: span 2; }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.photo-tile:hover img { transform: scale(1.04); filter: brightness(.85); }
.tile-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; color: #fff; font: 400 12.5px/1.45 var(--sans);
  background: linear-gradient(transparent, rgba(0,0,0,.72)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.photo-tile:hover .tile-caption, .photo-tile:focus-visible .tile-caption { opacity: 1; transform: none; }
@media (hover: none) { .tile-caption { display: none; } }

/* Lightbox with navigation */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10,10,10,.94); color: #eee; }
.lightbox::backdrop { background: rgba(0,0,0,.9); }
.lightbox .lb-stage { position: absolute; inset: 56px 64px 92px; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-cap { position: absolute; left: 64px; right: 64px; bottom: 22px; text-align: center; font-family: var(--didot); font-style: italic; font-size: 15px; line-height: 1.5; margin: 0; }
.lightbox .lb-count { position: absolute; top: 18px; left: 24px; font: 400 13px var(--btn); letter-spacing: .15em; opacity: .7; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; opacity: .75; transition: opacity .2s; }
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: 10px; right: 16px; font: 300 40px/1 var(--btn); }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); font: 300 54px/1 var(--btn); padding: 10px 14px; }
.lightbox .lb-prev { left: 6px; } .lightbox .lb-next { right: 6px; }
@media (max-width: 700px) { .lightbox .lb-stage { inset: 50px 8px 110px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 40px; transform: none; } .lightbox .lb-cap { left: 16px; right: 16px; bottom: 100px; } }
/* tiles as figures (album + mosaic) */
.album-grid .tile { margin: 0; }
.album-grid .tile.big { grid-column: span 2; grid-row: span 2; }
.album-grid .tile.big .photo-tile { height: 100%; aspect-ratio: auto; }
.album-grid .photo-tile.big { grid-column: auto; grid-row: auto; }
.album-grid.mosaic { margin: 0 0 56px; row-gap: 22px; }
.album-grid.mosaic figcaption { font-family: var(--didot); font-style: italic; font-size: 14px; line-height: 1.35; padding-top: 7px; }
.album-grid.mosaic figcaption span { color: #777; font-size: 12.5px; }
@media (min-width: 760px) { .album-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* Publishers overview */
.publisher-group { margin: 24px 0 56px; }
.publisher-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #000; }
.publisher-list li { border-bottom: 1px solid #e3e3e3; }
.publisher-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; align-items: baseline; padding: 16px 4px; text-decoration: none; transition: background .2s, padding .3s; }
.publisher-list a:hover { background: #f4f4f4; padding-left: 12px; }
.publisher-list .name { font: 400 22px/1.25 var(--serif); }
.publisher-list .meta { grid-column: 1; font-family: var(--didot); font-style: italic; font-size: 14px; color: #555; display: inline-flex; align-items: center; gap: 8px; }
.publisher-list .count { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 400 13px var(--btn); letter-spacing: .06em; color: var(--green); white-space: nowrap; }

/* Book page: collapsed reviews */
.more-reviews { border-top: 1px solid #ddd; padding-top: 22px; }
.more-reviews > summary { cursor: pointer; list-style: none; text-align: center; font: 400 13px var(--btn); letter-spacing: .2em; text-transform: lowercase; color: var(--green); padding: 6px 0 22px; }
.more-reviews > summary::-webkit-details-marker { display: none; }
.more-reviews > summary::after { content: " ↓"; }
.more-reviews[open] > summary::after { content: " ↑"; }

/* Mobile: editions in two columns instead of one long stack */
@media (max-width: 600px) {
  .editions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .ed { width: auto; }
  .ed .cover img { width: 100%; }
  .ed .pub { font-size: 13px; }
  .btn-pill.sm { padding: 7px 12px 7px 14px; font-size: 11px; letter-spacing: .15em; }
}

/* Translations */
a.flag { display: inline-flex; transition: transform .2s; }
a.flag:hover { transform: scale(1.15); }
.language-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.language-list a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid #ddd; text-decoration: none; transition: border-color .2s, transform .2s; }
.language-list a:hover { border-color: #000; transform: translateY(-2px); }
.language-list .flag-big img { width: 34px; height: 23px; }
.language-list .name { font: 400 20px var(--serif); flex: 1; }
.language-list .count { font: 400 13px var(--btn); color: var(--green); }
.language-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.language-chips a { font: 400 13px var(--btn); text-decoration: none; padding: 7px 16px; border: 1px solid rgba(0,0,0,.4); border-radius: 50px; }
.language-chips a[aria-current="page"], .language-chips a:hover { background: #000; color: #fff; border-color: #000; }
.footer-links { font-size: 13px; margin: 0 0 16px; }
.pub a.flag, a.flag { border-bottom: 0 !important; }
