/* Super Moz: styles for the WordPress (dynamic) build. */

/* Admin bar: keep the floating header below it. */
body.admin-bar .site-header { top: 46px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 60px; } }

/* Website screenshots fill their frame. */
.sm-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; padding: 0; }
.l-media.sm-shot img { object-fit: cover; padding: 0; }
.sm-initials { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; background: var(--grad, linear-gradient(135deg, #FF5A1F, #E3260F)); color: #fff; font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); letter-spacing: .04em; line-height: 1; }
.l-media .sm-initials { position: absolute; inset: 0; }
.folder-img .sm-initials, .collage .sm-initials { font-size: clamp(56px, 7vw, 110px); }
.fan-card .sm-initials { font-size: clamp(36px, 4vw, 60px); }

/* Fewer fan cards on sparse listings. */
.fan.sm-fan-1, .fan.sm-fan-2 { max-width: 640px; }

/* Small category photo in text lists. */
.sm-row-name { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.sm-thumb { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; object-fit: cover; background: var(--peach); }
.side-list a { align-items: center; }
.az-group a.sm-row-name { padding: 2px 0; }
.az-group .sm-thumb { width: 26px; height: 26px; flex-basis: 26px; }

/* Stat rows that hold words rather than numbers. */
.stat-row strong.sm-stat-text { font-size: clamp(18px, 1.8vw, 24px); text-align: right; max-width: 60%; }

/* Listing description inside the about block. */
.sm-prose p { margin: 0 0 12px; }
.sm-prose p:last-child { margin-bottom: 0; }

/* Website preview frame. */
.sm-preview { display: block; position: relative; border-radius: 22px; overflow: hidden; background: var(--surface); border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; max-height: 640px; width: 100%; }
.sm-preview-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.sm-preview-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--peach); }
.sm-preview-bar i:nth-child(2) { background: var(--marigold); }
.sm-preview-bar i:nth-child(3) { background: var(--sage); }
.sm-preview-bar em { margin-left: 10px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--muted); }
.sm-preview img, .sm-preview .sm-initials { position: absolute; inset: 0; padding-top: 40px; height: 100%; }
.sm-preview .sm-initials { padding-top: 0; }

/* FAQ: plus when closed, minus when open. */
.faq details[open] summary::after { content: "\2212"; transform: none; }

/* Blog post FAQ + prev/next. */
.sm-post-faq { margin-top: 34px; }
.sm-post-faq h2 { margin-bottom: 14px; }
.sm-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.sm-pn { display: block; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface); transition: background .2s, transform .3s var(--ease); }
.sm-pn:hover { background: var(--peach); transform: translateY(-3px); }
.sm-pn.next { text-align: right; grid-column: 2; }
.sm-pn small { display: block; color: var(--muted); font-weight: 700; font-size: 12.5px; margin-bottom: 4px; }
.sm-pn strong { font-size: 15.5px; line-height: 1.35; }
@media (max-width: 620px) { .sm-post-nav { grid-template-columns: 1fr; } .sm-pn.next { grid-column: auto; } }

/* Active quick-filter tag. */
.tags a.is-active { background: var(--ink); color: #fff; }

/* WordPress pagination markup. */
.pagination .dots { background: transparent; }

/* Sort forms inline in toolbars. */
.toolbar-r form { display: inline-flex; }

/* WordPress content. */
.prose img { max-width: 100%; height: auto; border-radius: 14px; }
.prose .wp-block-image, .prose figure { margin: 22px 0; }
.alignleft { float: left; margin: 0 18px 12px 0; }
.alignright { float: right; margin: 0 0 12px 18px; }
.aligncenter { display: block; margin-inline: auto; }
