/* romagnatourism.it: the tourist offices /uffici-turistici (chat #485, 18 Oct 2026). On top of site.css and guide.css: the cards are .castle in
   .guide-grid; here the town index, the open-now line, the hours by period and the contacts. */
.iat-index { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.iat-index li { border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: .25rem .75rem; font-size: .9rem; }
.iat-index a { text-decoration: none; font-weight: 600; }
.iat-index small { color: var(--muted); }
.iat-card { scroll-margin-top: 5rem; }
.iat-card .castle-tags { margin: 0 0 .35rem; }
.iat-now { display: inline-block; margin: .2rem 0 .5rem; padding: .2rem .65rem; border-radius: 999px; font-size: .85rem; font-weight: 700; }
.iat-open { background: #e3f4ea; color: #1f6b43; }
.iat-closed { background: var(--sun-soft); color: #7a4b00; }
.iat-unknown { background: var(--sand); color: var(--muted); font-weight: 600; }
.iat-hours { margin: .2rem 0 .5rem; font-size: .88rem; }
.iat-period { border-left: 3px solid var(--line); padding: .15rem 0 .15rem .6rem; margin: .35rem 0; }
.iat-period.is-now { border-left-color: var(--sea); background: #eef7f8; border-radius: 0 8px 8px 0; }
.iat-plabel { margin: 0; font-weight: 600; color: var(--ink); }
.iat-plabel small { color: var(--sea-dark); font-weight: 700; text-transform: uppercase; font-size: .7rem; letter-spacing: .06em; }
.iat-period ul { margin: .1rem 0 0; padding: 0; list-style: none; }
.iat-period li { display: flex; justify-content: space-between; gap: .8rem; color: var(--muted); }
.iat-period li b { color: var(--ink); font-weight: 600; text-align: right; }
.iat-season, .iat-note, .iat-src-note { margin: .3rem 0; font-size: .82rem; color: var(--muted); }
.iat-contacts { display: flex; flex-direction: column; gap: .15rem; margin: .4rem 0; font-size: .9rem; overflow-wrap: anywhere; }
.guide-grid .iat-period li { display: flex; border: 0; border-radius: 0; background: none; box-shadow: none; padding: .05rem 0; margin: 0; min-height: 0; }
.iat-more { margin: .3rem 0 0; }
.iat-more summary { cursor: pointer; font-weight: 600; color: var(--sea-dark); font-size: .85rem; padding: .2rem 0; }
