/* Web Adore: styles for the dynamic (WordPress) output. */

/* Initials fallback for listings without a website screenshot */
.wa-initials { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; background: var(--ink); color: var(--gem); font-family: var(--font-display, inherit); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.03em; text-transform: uppercase; }
.l-card__media { position: relative; text-decoration: none; }
.l-card__media .wa-initials { aspect-ratio: 16/10; }
.wa-verified { position: absolute; left: .8rem; top: .8rem; background: var(--gem); color: var(--gem-ink, #12284C); font-size: .75rem; font-weight: 800; padding: .3rem .65rem; border-radius: 999px; letter-spacing: .02em; }

/* Category tiles use the category photo, never an icon */
.svc-card .ic3d.wa-photo, .cat-icon.wa-photo { overflow: hidden; padding: 0; }
.svc-card .ic3d.wa-photo img, .cat-icon.wa-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-card:hover .ic3d.wa-photo, .cat-tile:hover .cat-icon.wa-photo { background: var(--sky); }

/* Home stack collage: screenshot tile */
.collage > a { display: grid; text-decoration: none; }
.collage img[src*="thum.io"], .collage img[src*="mshots"] { object-fit: cover; object-position: top; }

/* Detail seal + cover */
.seal .logo.wa-seal { padding: 0; }
.seal .logo.wa-seal img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.seal .logo.wa-seal .wa-initials { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.sl2-name a { color: inherit; text-decoration: none; }
.sl2-name a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.sl2-cover > a { display: block; overflow: hidden; }
.sl2-cover.wa-cover-1 { grid-template-columns: 1fr; }
.sl2-cover.wa-cover-1 .scale-in { aspect-ratio: 21/8; }
.sl2-cover.wa-cover-1 .wa-shot { background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.sl2-cover.wa-cover-1 .wa-shot img { object-position: top; }
.sl2-cover.wa-cover-2 { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 700px) { .sl2-cover.wa-cover-1 .scale-in { aspect-ratio: 16/10; grid-column: auto; } .sl2-cover.wa-cover-2 .scale-in:first-child { grid-column: span 2; } }

/* Opening hours list under the weekly chart */
.wa-hours { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .4rem 1.5rem; }
.wa-hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.wa-hours li.is-today { font-weight: 800; color: var(--text); }

/* Blog */
.wa-post-faq { margin-top: 2.5rem; }
.wa-post-faq h2 { margin-bottom: 1rem; }
.article .wa-post-faq .faq p { font-size: 1rem; margin: 0; }
.wa-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.wa-postnav a { display: grid; gap: .3rem; padding: 1.1rem 1.3rem; border-radius: var(--radius-l); background: var(--surface); box-shadow: 0 0 0 1px var(--line); text-decoration: none; }
.wa-postnav a:hover { box-shadow: 0 0 0 2px var(--ink); }
.wa-postnav a.next { text-align: right; grid-column: 2; }
.wa-postnav small { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.wa-share { display: flex; flex-wrap: wrap; gap: .4rem; }
.wa-dots { display: grid; place-items: center; min-width: 46px; height: 46px; color: var(--muted); }
.author .avatar { width: 56px; height: 56px; font-size: 1.3rem; }
@media (max-width: 600px) { .wa-postnav { grid-template-columns: 1fr; } .wa-postnav a.next { grid-column: auto; } }
