/* tickets.co.it — "segnaletica turistica": the brown Italian road signs that point to sights.
   Warm paper, ink, one brown for signs/wayfinding, one Pompeian red for the paid zone, green for free. */
@font-face { font-family: Archivo; src: url(f/archivo.woff2) format('woff2'); font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Archivo; src: url(f/archivo-ext.woff2) format('woff2'); font-weight: 400 800; font-stretch: 75% 100%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Newsreader; src: url(f/newsreader.woff2) format('woff2'); font-weight: 400 600; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Newsreader; src: url(f/newsreader-ext.woff2) format('woff2'); font-weight: 400 600; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Newsreader; src: url(f/newsreader-i.woff2) format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --paper: #f5f1e8; --card: #fffdf8; --ink: #1e1b17; --soft: #4a443c; --muted: #6f675b; --line: #d9d0bf; --line2: #e8e1d3;
  --sign: #6b4428; --sign-d: #553520; --paid: #a3352b; --paid-d: #86271f; --free: #2c6a43; --free-bg: #e4efe5; --warn: #8a5a00;
  --ui: Archivo, 'Helvetica Neue', Arial, sans-serif; --text: Newsreader, Georgia, 'Times New Roman', serif;
  --r: 6px; --w: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--text); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sign); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .ui { font-family: var(--ui); }
h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.04; font-weight: 750; font-stretch: 82%; letter-spacing: -.01em; margin: 0 0 10px; }
h2 { font-size: clamp(23px, 2.6vw, 30px); line-height: 1.15; font-weight: 700; font-stretch: 85%; margin: 52px 0 14px; }
h3 { font-size: 19px; font-weight: 650; margin: 26px 0 8px; }
p { margin: 0 0 14px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 9; }

/* --- the sign ----------------------------------------------------------------------------- */
.sign { display: inline-flex; align-items: center; gap: .5em; background: var(--sign); color: #fff; font: 600 15px/1.15 var(--ui); font-stretch: 85%;
  padding: 7px 12px 7px 11px; border-radius: 5px; box-shadow: inset 0 0 0 2px var(--sign), inset 0 0 0 3.5px rgba(255,255,255,.92); text-decoration: none; letter-spacing: .01em; }
a.sign:hover { color: #fff; background: var(--sign-d); box-shadow: inset 0 0 0 2px var(--sign-d), inset 0 0 0 3.5px #fff; }
.sign .arr { font-weight: 700; } .sign .n { opacity: .78; font-weight: 500; }
.sign.sm { font-size: 13px; padding: 5px 9px; }
.signs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }

/* --- header / footer ------------------------------------------------------------------------ */
.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 58px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 700 19px/1 var(--ui); font-stretch: 80%; text-decoration: none; letter-spacing: -.01em; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo b { color: var(--sign); font-weight: 700; }
.top nav { margin-left: auto; display: flex; gap: 18px; font: 500 15px/1 var(--ui); }
.top nav a { text-decoration: none; } .top nav a:hover { text-decoration: underline; }
@media (max-width: 720px) { .top nav .opt { display: none; } }
.foot { margin-top: 80px; border-top: 1px solid var(--line); padding: 34px 0 50px; font: 400 14px/1.6 var(--ui); color: var(--muted); }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.foot a { color: var(--soft); } .foot h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; columns: 2; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr; } }

/* --- breadcrumbs, hero ---------------------------------------------------------------------- */
.crumbs { font: 500 14px/1.4 var(--ui); color: var(--muted); margin: 22px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.sub { font: 500 17px/1.4 var(--ui); color: var(--soft); margin: 0 0 18px; }
.lead { font-size: 21px; line-height: 1.5; max-width: 760px; }
.hero { padding: 26px 0 6px; }

/* --- object top: fact card + paid box ------------------------------------------------------- */
.head { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
@media (max-width: 920px) { .head { grid-template-columns: 1fr; gap: 20px; } }
.photo { margin: 0 0 18px; position: relative; }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); background: var(--line2); }
.side { position: sticky; top: 76px; display: grid; gap: 16px; }
.side .photo { margin: 0; }
@media (max-width: 920px) { .side { position: static; } .side .photo img { aspect-ratio: 16/9; } }
.photo figcaption { font: 400 12px/1.3 var(--ui); color: var(--muted); margin-top: 5px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.facts { font-family: var(--ui); font-size: 15px; }
.facts h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; color: var(--muted); font-stretch: 100%; }
.facts dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 9px 16px; }
.facts dt { color: var(--muted); font-weight: 500; } .facts dd { margin: 0; }
@media (max-width: 560px) { .facts dl { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }
.prices { list-style: none; margin: 0; padding: 0; }
.prices li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dotted var(--line); }
.prices li:last-child { border-bottom: 0; }
.prices b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices small { display: block; color: var(--muted); font-size: 12.5px; }
.badge { display: inline-block; font: 600 12.5px/1 var(--ui); padding: 5px 8px; border-radius: 3px; background: var(--line2); color: var(--soft); }
.badge.req { background: #f3e2c9; color: var(--warn); } .badge.free { background: var(--free-bg); color: var(--free); }
.verified { font: 400 12.5px/1.4 var(--ui); color: var(--muted); margin: 12px 0 0; }
.verified a { color: var(--muted); }

.buy { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--paid); border-radius: var(--r); padding: 16px 18px 18px; font-family: var(--ui); }
.buy .k { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--paid); font-weight: 650; margin: 0 0 6px; }
.buy .t { font-weight: 600; font-size: 16px; line-height: 1.3; margin: 0 0 8px; }
.buy .p { font-size: 28px; font-weight: 700; font-stretch: 85%; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.buy .p small { font-size: 14px; font-weight: 500; color: var(--muted); }
.buy .m { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.buy .alt { font-size: 13.5px; margin: 12px 0 0; color: var(--soft); }
.btn { display: block; text-align: center; background: var(--paid); color: #fff; font: 650 16px/1 var(--ui); padding: 14px 16px; border-radius: 5px; text-decoration: none; }
.btn:hover { background: var(--paid-d); color: #fff; }
.btn.sm { display: inline-block; font-size: 14px; padding: 9px 12px; white-space: nowrap; }
.mini { display: none; font: 600 15px/1.4 var(--ui); margin: -4px 0 18px; }
.mini a { color: var(--paid); text-decoration: none; border-bottom: 1px solid currentColor; }
@media (max-width: 920px) { .mini { display: block; } }

/* --- choose ---------------------------------------------------------------------------------- */
.choose { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.choose li { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; }
.choose .if { font-size: 18px; } .choose .pick { font: 600 15px/1.3 var(--ui); color: var(--sign); }
.choose a { font: 500 14px/1 var(--ui); white-space: nowrap; }
@media (max-width: 600px) { .choose li { grid-template-columns: 1fr; } }

/* --- ticket list ---------------------------------------------------------------------------- */
.bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; font-family: var(--ui); }
.chip { font: 500 14px/1 var(--ui); border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 30px; padding: 8px 13px; cursor: pointer; }
.chip[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .n { color: var(--muted); margin-left: 3px; } .chip[aria-pressed=true] .n { color: #cfc6b6; }
.bar select { margin-left: auto; font: 500 14px var(--ui); padding: 7px 8px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); }
.tix { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); font-family: var(--ui); }
.tix li { display: grid; grid-template-columns: 1fr 110px 120px; gap: 6px 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tix .nm { font-weight: 600; font-size: 16px; line-height: 1.3; } .tix .nm a { text-decoration: none; } .tix .nm a:hover { text-decoration: underline; }
.tix .meta { font-size: 13px; color: var(--muted); margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.tix .ty { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--sign); }
.tix .pr { text-align: right; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tix .pr small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.tix li[hidden] { display: none; }
@media (max-width: 640px) { .tix li { grid-template-columns: 1fr auto; } .tix .go { grid-column: 1 / -1; } .tix .go .btn { display: block; } }
.note { font: 400 13px/1.5 var(--ui); color: var(--muted); margin: 10px 0 0; }
.more { margin-top: 10px; font: 600 14px var(--ui); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 0; color: var(--ink); }

/* --- prose, faq, sources --------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose table { border-collapse: collapse; width: 100%; font: 400 15px/1.4 var(--ui); margin: 10px 0 20px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 650; border-bottom: 2px solid var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; } .prose li { margin-bottom: 6px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; max-width: 760px; }
.faq summary { font: 600 17px/1.35 var(--ui); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); } .faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; }
.sources { font: 400 14px/1.5 var(--ui); color: var(--soft); max-width: 860px; }
.sources ol { padding-left: 1.2em; } .sources li { margin-bottom: 10px; }
.sources q { font-family: var(--text); font-style: italic; color: var(--ink); }
.disclaimer { font: 400 13.5px/1.5 var(--ui); color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 40px; max-width: 860px; }

/* --- tiles + filters ----------------------------------------------------------------------- */
.filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 20px 0 18px; font-family: var(--ui); }
.filters > * { min-width: 0; }
.filters .row { display: flex; gap: 10px; align-items: baseline; }
.filters .opts { display: flex; flex-wrap: wrap; gap: 7px; }
.filters .lbl { font: 600 12.5px/1 var(--ui); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); width: 112px; flex: none; }
.moref { display: grid; gap: 12px; } .moref[open] { padding-bottom: 2px; }
.moref summary { font: 600 14px/1 var(--ui); cursor: pointer; color: var(--soft); width: fit-content; padding: 4px 0; }
.moref[open] summary { margin-bottom: 12px; }
@media (min-width: 701px) { .moref summary { display: none; } }
@media (max-width: 700px) {
  .filters .row { display: block; } .filters .lbl { display: block; width: auto; margin-bottom: 7px; }
  .filters .row.scroll .opts { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  .filters .row.scroll .opts::-webkit-scrollbar { display: none; }
  .filters .row.scroll .chip { flex: none; }
  .moref .row + .row { margin-top: 12px; }
}
.search { width: 100%; max-width: 520px; font: 500 17px var(--ui); padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--card); }
.count { font: 500 14px var(--ui); color: var(--muted); margin: 0 0 12px; display: flex; gap: 14px; align-items: center; }
.count button { font: 500 14px var(--ui); background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--ink); padding: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 26px 20px; list-style: none; margin: 0; padding: 0; }
.tile { display: flex; flex-direction: column; font-family: var(--ui); }
.tile[hidden] { display: none; }
.tile a.im { position: relative; display: block; text-decoration: none; }
.tile img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); background: var(--line2); }
.tile .sign { position: absolute; left: 10px; bottom: 10px; right: 10px; width: fit-content; max-width: calc(100% - 20px); }
.tile .ln { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 14px; }
.tile .wh { color: var(--muted); }
.tile .of { font-variant-numeric: tabular-nums; } .tile .of b { font-weight: 650; }
.tile .tg { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.tile .pt { font-size: 13.5px; color: var(--paid); margin-top: 6px; font-weight: 600; }
.tile .pt a { text-decoration: none; } .tile .pt a:hover { text-decoration: underline; }
.empty { font: 500 16px var(--ui); color: var(--muted); padding: 30px 0; }

/* --- area & topics lists -------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.links { list-style: none; padding: 0; margin: 0; font-family: var(--ui); }
.links li { border-bottom: 1px solid var(--line); }
.links a { display: flex; justify-content: space-between; padding: 11px 0; text-decoration: none; font-weight: 550; }
.links a span { color: var(--muted); font-weight: 400; }
.links a:hover { color: var(--sign); }

/* --- partner booking widget (paid zone) ------------------------------------------------------ */
.widget { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; margin: 40px 0 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--paid); border-radius: var(--r); font-family: var(--ui); }
.widget h2 { margin: 0 0 10px; }
.widget .k { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--paid); font-weight: 650; margin: 0 0 6px; }
.widget .t { font-weight: 600; font-size: 17px; line-height: 1.3; margin: 0 0 6px; }
.widget .m { font-size: 15px; color: var(--soft); margin: 0 0 12px; } .widget .m b { font-size: 20px; color: var(--ink); }
.widget .n { font-size: 13.5px; color: var(--muted); margin: 0 0 12px; }
.widget .more-link { font-weight: 600; color: var(--paid); }
.wbox { min-height: 420px; }
.wbox:empty::before, .wbox > div:empty::before { content: ""; display: block; height: 420px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--line2) 0 12px, transparent 12px 24px); opacity: .5; }
.jump { margin: 10px 0 0; font-size: 14px; text-align: center; } .jump a { color: var(--soft); }
@media (max-width: 860px) { .widget { grid-template-columns: 1fr; padding: 18px; gap: 14px; } }

/* --- language menu ----------------------------------------------------------------------------- */
.langs { position: relative; font: 600 13px/1 var(--ui); }
.langs summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 4px; padding: 6px 9px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: " ▾"; font-weight: 400; color: var(--muted); }
.langs ul { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px 0; background: var(--card); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 24px rgba(30,27,23,.12); min-width: 160px; z-index: 9; }
.langs li a { display: block; padding: 8px 14px; text-decoration: none; font-weight: 500; font-size: 14px; }
.langs li a:hover { background: var(--paper); }
.langs li a[aria-current] { font-weight: 700; color: var(--sign); }
/* Archivo/Newsreader have no Cyrillic or CJK: use solid system faces there. */
html[lang=ru], html[lang=uk] { --ui: 'Helvetica Neue', Arial, sans-serif; --text: Georgia, 'Times New Roman', serif; }
html[lang=ja] { --ui: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', sans-serif; --text: var(--ui); }
html[lang=zh-Hans] { --ui: 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', sans-serif; --text: var(--ui); }
html[lang=ja] body, html[lang=zh-Hans] body { font-size: 16.5px; line-height: 1.75; }
html[lang=ja] h1, html[lang=zh-Hans] h1, html[lang=ja] h2, html[lang=zh-Hans] h2 { font-stretch: 100%; letter-spacing: 0; }
.langs a[lang=ru], .langs a[lang=uk], .langs a[lang=en], .langs a[lang=it], .langs a[lang=es], .langs a[lang=fr], .langs a[lang=de], .langs a[lang=da] { font-family: Archivo, 'Helvetica Neue', Arial, sans-serif; }
.langs a[lang=ru], .langs a[lang=uk] { font-family: 'Helvetica Neue', Arial, sans-serif; }
