/* ================================================================
   WishesPress 2026 — component styles
   Palette + fonts are defined in style.css (:root tokens).
   ================================================================ */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--wp-font-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
button { font: inherit; cursor: pointer; }
mark { background: var(--wp-gold-soft); box-shadow: inset 0 -2px 0 var(--wp-gold); border-radius: 3px; padding: 0 2px; }

.wish-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.wish-main { min-height: 60vh; }
.screen-reader-text, .wish-skip:not(:focus) { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.wish-skip:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: var(--wp-pine-deep); color: #fff; padding: 10px 16px; border-radius: 999px; }

/* ---------- header ---------- */
.wish-header { position: sticky; top: 0; z-index: 60; background: rgba(245,243,235,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--wp-line); }
.wish-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(30,42,35,.3); }
.wish-header__bar { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wish-logo { display: inline-flex; align-items: center; gap: 10px; }
.wish-logo__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--wp-pine); color: var(--wp-gold); transition: transform .3s; }
.wish-logo:hover .wish-logo__mark { transform: rotate(-8deg); }
.wish-logo__text { font-family: var(--wp-font-display); font-weight: 800; font-size: 21px; color: var(--wp-ink); }
.wish-logo--dark .wish-logo__text { color: var(--wp-paper); }

.wish-nav { display: flex; align-items: center; gap: 4px; }
.wish-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.wish-nav__list a, .wish-nav__cats-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--wp-ink2); transition: background .2s, color .2s; border: 0; background: none; }
.wish-nav__list a:hover, .wish-nav__cats-btn:hover { background: var(--wp-pine-soft); color: var(--wp-pine); }
.wish-nav__cats { position: relative; }
.wish-nav__cats-panel { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 480px; background: var(--wp-card); border: 1px solid var(--wp-line); border-radius: 14px; padding: 12px; box-shadow: 0 24px 60px -20px rgba(30,42,35,.3); grid-template-columns: 1fr 1fr; gap: 4px; z-index: 30; }
.wish-nav__cats.is-open .wish-nav__cats-panel { display: grid; }
.wish-nav__cats-panel a { display: block; padding: 10px 12px; border-radius: 10px; }
.wish-nav__cats-panel a:hover { background: var(--wp-paper); }
.wish-nav__cats-panel strong { display: block; font-size: 14px; color: var(--wp-ink); }
.wish-nav__cats-panel span { font-size: 11px; color: var(--wp-ink2); }

.wish-header__actions { display: flex; gap: 6px; }
.wish-iconbtn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--wp-line); background: var(--wp-card); color: var(--wp-ink2); transition: border-color .2s, color .2s, transform .15s; }
.wish-iconbtn:hover { border-color: var(--wp-pine); color: var(--wp-pine); }
.wish-iconbtn:active { transform: scale(.92); }
.wish-iconbtn--gold:hover { border-color: var(--wp-gold); color: #b07c1a; }
.wish-burger { display: none; }
.wish-mobile { border-top: 1px solid var(--wp-line); background: var(--wp-card); padding: 16px 20px; }
.wish-mobile__list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wish-mobile__list a { display: block; padding: 8px 14px; border: 1px solid var(--wp-line); border-radius: 999px; font-weight: 600; font-size: 14px; }
.wish-mobile__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.wish-mobile__cats a { font-size: 13px; color: var(--wp-ink2); padding: 6px 12px; background: var(--wp-paper); border-radius: 999px; }

.wish-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; }
.wish-progress span { display: block; height: 100%; width: 0; background: var(--wp-berry); }

/* ---------- masthead (home) ---------- */
.wish-masthead { padding: 72px 0 56px; background:
  radial-gradient(52rem 30rem at 85% -20%, var(--wp-gold-soft), transparent 60%),
  radial-gradient(40rem 26rem at -10% 110%, var(--wp-pine-soft), transparent 55%);
  border-bottom: 1px solid var(--wp-line); }
.wish-masthead__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wp-berry); }
.wish-masthead__title { margin: 18px 0 0; font-size: clamp(44px, 7vw, 84px); font-weight: 800; color: var(--wp-ink); }
.wish-masthead__script { font-family: var(--wp-font-quote); font-style: italic; font-weight: 500; color: var(--wp-berry); }
.wish-mask { display: block; overflow: hidden; }
.wish-mask > span { display: block; transform: translateY(110%); animation: wish-rise .9s cubic-bezier(.22,1,.36,1) both; }
.wish-mask:nth-child(2) > span { animation-delay: .12s; }
@keyframes wish-rise { to { transform: none; } }
.wish-masthead__lede { max-width: 520px; margin: 18px 0 28px; font-size: 17px; color: var(--wp-ink2); }

.wish-searchform { display: flex; align-items: center; gap: 8px; max-width: 560px; padding: 6px 6px 6px 16px; border: 1px solid var(--wp-line); border-radius: 999px; background: var(--wp-card); box-shadow: 0 14px 34px -18px rgba(30,42,35,.25); transition: border-color .2s; }
.wish-searchform:focus-within { border-color: var(--wp-pine); }
.wish-searchform svg { color: var(--wp-ink2); flex: none; }
.wish-searchform input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--wp-ink); }
.wish-searchform .wish-btn { flex: none; }

.wish-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.wish-chip { padding: 7px 14px; border: 1px solid var(--wp-line); border-radius: 999px; background: var(--wp-card); font-size: 13px; font-weight: 600; color: var(--wp-ink2); transition: border-color .2s, color .2s, transform .15s; }
.wish-chip:hover { border-color: var(--wp-berry); color: var(--wp-berry); transform: translateY(-2px); }

/* ---------- sections ---------- */
.wish-section { padding: 64px 0; }
.wish-section--tight { padding: 40px 0; }
.wish-section--tight + .wish-section--tight { padding-top: 0; }
.wish-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.wish-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--wp-berry); }
.wish-section h2, .wish-related h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }

/* mosaic */
.wish-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 16px; }
.wish-mosaic__card { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--wp-line); background: var(--wp-card); }
.wish-mosaic__card--big { grid-row: span 2; }
.wish-mosaic__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.wish-mosaic__card:hover img { transform: scale(1.05); }
.wish-mosaic__info { position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px; background: linear-gradient(transparent, rgba(23,63,49,.85)); color: #fdfcf7; }
.wish-mosaic__info strong { display: block; font-family: var(--wp-font-display); font-size: 19px; }
.wish-mosaic__info span { font-size: 12px; opacity: .85; }

/* card grid */
.wish-grid { display: grid; gap: 20px; }
.wish-grid--2 { grid-template-columns: repeat(2, 1fr); }
.wish-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wish-cardlist { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--wp-line); border-radius: 14px; background: var(--wp-card); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s; }
.wish-cardlist:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -18px rgba(30,42,35,.3); border-color: var(--wp-berry); }
.wish-cardlist__media img { aspect-ratio: 3/2; width: 100%; object-fit: cover; }
.wish-cardlist__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.wish-cardlist__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 11.5px; font-weight: 600; color: var(--wp-ink2); }
.wish-cardlist h3 { font-size: 17.5px; font-weight: 700; }
.wish-cardlist h3 a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s; }
.wish-cardlist:hover h3 a { background-size: 100% 1.5px; }
.wish-cardlist p { margin: 8px 0 0; flex: 1; font-size: 13.5px; color: var(--wp-ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* margin-top:auto pins the footer to the card bottom so title-only
   (related) and excerpt cards align in the same row. */
.wish-cardlist__facts { display: flex; gap: 14px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--wp-line); font-size: 12px; font-weight: 600; color: var(--wp-ink2); }
.wish-cardlist h3 { padding-top: 2px; }

.wish-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: var(--wp-pine-soft); color: var(--wp-pine); font-size: 11px; font-weight: 700; }
.wish-tag { padding: 4px 10px; border: 1px solid var(--wp-line); border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--wp-ink2); transition: border-color .2s, color .2s; }
.wish-tag:hover { border-color: var(--wp-berry); color: var(--wp-berry); }

/* ---------- buttons ---------- */
.wish-btn { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 700; background: var(--wp-pine); color: #fdfcf7; transition: background .2s, transform .15s; }
.wish-btn:hover { background: var(--wp-pine-deep); }
.wish-btn:active { transform: scale(.94); }
.wish-btn--berry { background: var(--wp-berry); color: #fdf6f2; }
.wish-btn--berry:hover { background: var(--wp-berry-deep); }
.wish-btn--outline { background: var(--wp-card); border: 1px solid var(--wp-line); color: var(--wp-pine); }
.wish-btn--outline:hover { border-color: var(--wp-pine); background: var(--wp-pine-soft); }
.wish-btn--ghost { background: none; border: 1px solid rgba(245,243,235,.3); color: var(--wp-paper); padding: 7px 14px; font-size: 12.5px; }
.wish-btn--ghost:hover { background: var(--wp-paper); color: var(--wp-pine-deep); }
.wish-btn.is-copied { background: var(--wp-teal); }

/* ---------- breadcrumbs ---------- */
.wish-breadcrumbs { margin: 26px 0 8px; font-size: 13px; color: var(--wp-ink2); }
.wish-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.wish-breadcrumbs li:not(:first-child)::before { content: "›"; margin-right: 6px; color: var(--wp-line); }
.wish-breadcrumbs a { color: var(--wp-pine); font-weight: 600; }
.wish-breadcrumbs a:hover { text-decoration: underline; }
.wish-breadcrumbs [aria-current] { color: var(--wp-ink); font-weight: 600; }

/* ---------- layout: article + sidebar (+ left TOC column) ---------- */
.wish-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; padding: 24px 0 40px; }
.wish-layout--toc-left { grid-template-columns: 230px minmax(0, 1fr) 300px; }
.wish-toc-col { display: none; }
@media (min-width: 1180px) { .wish-layout--toc-left .wish-toc-col { display: block; } }

/* ---------- single article ---------- */
.wish-article__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.wish-article__title { margin-top: 16px; font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; }
.wish-article__excerpt { margin: 14px 0 0; max-width: 640px; font-size: 17px; color: var(--wp-ink2); }
.wish-article__body { margin-top: 26px; }
.wish-article__body p { font-size: 17px; line-height: 1.85; color: #37453d; margin: 0 0 20px; }
.wish-article__body h2 { margin: 46px 0 14px; font-size: clamp(23px, 3vw, 29px); font-weight: 800; scroll-margin-top: 96px; }
.wish-article__body h3 { margin: 34px 0 12px; font-size: clamp(19px, 2.4vw, 23px); font-weight: 800; scroll-margin-top: 96px; }
.wish-article__body h4 { margin: 28px 0 10px; font-size: 18px; font-weight: 700; scroll-margin-top: 96px; }
.wish-article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

.wish-postmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; padding: 14px 0; border-top: 1px solid var(--wp-line); border-bottom: 1px solid var(--wp-line); }
.wish-postmeta__author { display: flex; align-items: center; gap: 10px; }
.wish-postmeta__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--wp-pine); color: #fdfcf7; font-family: var(--wp-font-display); font-weight: 800; font-size: 13px; }
.wish-postmeta__name { display: block; font-weight: 700; font-size: 14px; line-height: 1.2; }
.wish-postmeta__role { display: block; font-size: 11.5px; color: var(--wp-ink2); }
.wish-postmeta__sep { width: 1px; height: 24px; background: var(--wp-line); }
.wish-postmeta__facts { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; font-weight: 600; color: var(--wp-ink2); }
.wish-postmeta__updated { color: var(--wp-teal); }
.wish-postmeta__share { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* featured figure + pin overlay */
.wish-featured { margin: 24px 0; }
.wish-featured figcaption { margin-top: 8px; font-size: 12px; color: var(--wp-ink2); }
.wish-media { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--wp-pine-soft); }
.wish-media img { border-radius: 14px; width: 100%; }
.wish-pin { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 999px; background: #bd081c; color: #fdf6f2; font-size: 12px; font-weight: 700; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.wish-media:hover .wish-pin, .wish-pin:focus-visible { opacity: 1; transform: none; }

/* ---------- quote cards ---------- */
.wish-card { margin: 0 0 20px; padding: 20px; border: 1px solid var(--wp-line); border-radius: 14px; background: var(--wp-card); transition: border-color .3s, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.wish-card:hover { border-color: rgba(214,69,104,.45); transform: translateY(-3px); box-shadow: 0 16px 36px -20px rgba(30,42,35,.35); }
.wish-card__quote { margin: 0; font-family: var(--wp-font-quote); font-style: italic; font-size: 17.5px; line-height: 1.65; color: var(--wp-ink); }
.wish-card__quote cite { display: block; margin-top: 10px; font-family: var(--wp-font-body); font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--wp-ink2); }
.wish-card__actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.wish-card__actions .wish-share { margin-left: auto; flex-wrap: nowrap; }

/* ---------- share rail ---------- */
.wish-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wish-share__native { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 9px 18px; background: var(--wp-berry); color: #fdf6f2; font-size: 14px; font-weight: 700; transition: background .2s, transform .15s; }
.wish-share__native:hover { background: var(--wp-berry-deep); }
.wish-share__native:active { transform: scale(.94); }
.wish-share__btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--wp-line); background: var(--wp-card); color: var(--wp-ink2); transition: background .2s, color .2s, border-color .2s, transform .15s; }
.wish-share__btn:hover { color: #fdfcf7; }
.wish-share__btn--whatsapp:hover { background: #25d366; border-color: #25d366; }
.wish-share__btn--pinterest:hover { background: #bd081c; border-color: #bd081c; }
.wish-share__btn--x:hover { background: var(--wp-ink); border-color: var(--wp-ink); }
.wish-share__btn--facebook:hover { background: #1877f2; border-color: #1877f2; }
.wish-share__btn--instagram:hover { background: #d6249f; border-color: #d6249f; }
.wish-share__btn--youtube:hover { background: #ff0000; border-color: #ff0000; }
.wish-share__btn--tiktok:hover { background: #010101; border-color: #010101; }
.wish-share__btn--link:hover { background: var(--wp-pine); border-color: var(--wp-pine); }
.wish-share__btn.is-copied { background: var(--wp-teal); border-color: var(--wp-teal); color: #fdfcf7; }
.wish-share__btn--more:hover { background: var(--wp-ink); border-color: var(--wp-ink); }
.wish-share__btn:active { transform: scale(.9); }
.wish-share--compact .wish-share__native { padding: 8px 14px; font-size: 13px; }
.wish-share--compact .wish-share__btn { width: 34px; height: 34px; }
.wish-share--icons .wish-share__btn { width: 32px; height: 32px; }

/* share band + author box */
.wish-shareband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding: 28px; border-radius: 16px; background: var(--wp-pine-deep); color: var(--wp-paper); }
.wish-shareband h2 { font-size: 22px; }
.wish-shareband p { margin: 4px 0 0; color: rgba(245,243,235,.7); font-size: 14px; }
.wish-authorbox { display: flex; gap: 16px; margin-top: 28px; padding: 24px; border: 1px solid var(--wp-line); border-radius: 14px; background: var(--wp-card); }
.wish-authorbox__kicker { margin: 0; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wp-berry); }
.wish-authorbox h2 { margin-top: 4px; font-size: 19px; }
.wish-authorbox p { margin: 8px 0 0; font-size: 14px; color: var(--wp-ink2); }

/* ---------- TOC ---------- */
.wish-toc { border: 1px solid var(--wp-line); border-radius: 14px; background: var(--wp-card); padding: 16px 18px; margin: 26px 0; }
.wish-toc--rail { margin: 0; position: sticky; top: 92px; }
.wish-toc__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wish-toc__title { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wp-pine); }
.wish-toc__badge { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wp-pine); background: var(--wp-pine-soft); border-radius: 999px; padding: 3px 9px; }
.wish-toc__collapse { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; border: 1px solid var(--wp-line); background: none; color: var(--wp-ink2); transition: transform .15s, background .2s; }
.wish-toc__collapse:hover { background: var(--wp-pine-soft); color: var(--wp-pine); }
.wish-toc.is-collapsed .wish-toc__collapse svg { transform: rotate(180deg); }
.wish-toc__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s cubic-bezier(.22,1,.36,1); }
.wish-toc.is-collapsed .wish-toc__body { grid-template-rows: 0fr; }
.wish-toc__body > ol { overflow: hidden; margin: 12px 0 0; padding: 0 0 0 14px; list-style: none; border-left: 1px solid var(--wp-line); }
.wish-toc__list { list-style: none; }
.wish-toc__list > li { margin: 0; }
.wish-toc__sub { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--wp-line); }
.wish-toc__link { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 13.5px; font-weight: 600; color: var(--wp-ink2); transition: color .2s, border-color .2s; text-decoration: none; }
.wish-toc__link:hover { color: var(--wp-ink); }
.wish-toc__link.is-active { color: var(--wp-berry); border-left-color: var(--wp-berry); }
.wish-toc__link--sub { font-size: 12.5px; font-weight: 500; padding: 4px 0 4px 0; margin-left: 0; border-left: 0; }
.wish-toc__link--sub.is-active { border-left: 0; }
.wish-toc__num { margin-right: 6px; font-family: var(--wp-font-display); font-size: 11px; color: rgba(90,103,94,.6); }

/* ---------- sidebar & widgets ---------- */
.wish-sidebar--sticky { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 112px); overflow: auto; }
.wish-sidebar--sticky.is-unstuck { position: static; max-height: none; }
.wish-widget { margin-bottom: 20px; padding: 20px; border: 1px solid var(--wp-line); border-radius: 14px; background: var(--wp-card); }
.wish-widget__title { margin: 0 0 14px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wp-pine); }
.wish-widget__title--dark { color: var(--wp-gold); }
.wish-popular { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.wish-popular li { display: flex; gap: 12px; }
.wish-popular__num { font-family: var(--wp-font-display); font-weight: 800; font-size: 22px; line-height: 1; color: var(--wp-line); transition: color .2s; }
.wish-popular li:hover .wish-popular__num { color: var(--wp-berry); }
.wish-popular a { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.wish-popular span { font-size: 11px; color: var(--wp-ink2); }
.wish-cats { list-style: none; margin: 0; padding: 0; }
.wish-cats li a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 9px; font-size: 14px; font-weight: 600; transition: background .2s; }
.wish-cats li a:hover { background: var(--wp-paper); }
.tag-cloud-link { display: inline-block; margin: 0 6px 8px 0; padding: 5px 11px; border: 1px solid var(--wp-line); border-radius: 999px; font-weight: 600; color: var(--wp-ink2); transition: border-color .2s, color .2s; }
.tag-cloud-link:hover { border-color: var(--wp-berry); color: var(--wp-berry); }

/* ---------- term header & sorting ---------- */
.wish-termhead { padding: 28px 0 8px; }
.wish-termhead h1 { font-size: clamp(32px, 4.5vw, 50px); font-weight: 800; }
.wish-termhead__desc { max-width: 560px; margin: 12px 0 0; color: var(--wp-ink2); }
.wish-sort { display: flex; gap: 8px; margin-top: 20px; }
.wish-sort__btn { padding: 8px 16px; border: 1px solid var(--wp-line); border-radius: 999px; background: var(--wp-card); font-size: 13px; font-weight: 700; color: var(--wp-ink2); transition: all .2s; }
.wish-sort__btn:hover { border-color: var(--wp-pine); color: var(--wp-pine); }
.wish-sort__btn.is-active { background: var(--wp-pine); border-color: var(--wp-pine); color: #fdfcf7; }

/* ---------- search page & results ---------- */
.wish-searchpage { padding-top: 34px; }
.wish-searchpage__title { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin-top: 10px; }
.wish-searchpage__title em { font-family: var(--wp-font-quote); font-style: italic; font-weight: 500; color: var(--wp-berry); }
.wish-searchpage__lede { max-width: 520px; color: var(--wp-ink2); margin: 12px 0 26px; }
.wish-results { margin-top: 44px; }
.wish-results__count { font-size: 14px; color: var(--wp-ink2); }
.wish-results__list { display: grid; gap: 16px; margin-top: 18px; }
.wish-result { display: flex; gap: 18px; padding: 18px; border: 1px solid var(--wp-line); border-radius: 14px; background: var(--wp-card); transition: border-color .3s, transform .3s; }
.wish-result:hover { border-color: var(--wp-pine); transform: translateY(-2px); }
.wish-result__media { flex: none; width: 190px; }
.wish-result__media img { border-radius: 12px; aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.wish-result h2 { font-size: 19px; margin: 8px 0 6px; }
.wish-result p { margin: 0; font-size: 13.5px; color: var(--wp-ink2); }
.wish-result__more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--wp-pine); }

/* ---------- empty / 404 / misc ---------- */
.wish-empty, .wish-404 { padding: 70px 20px; text-align: center; }
.wish-empty h2, .wish-404 h1 { font-size: 30px; }
.wish-empty p, .wish-404 p { color: var(--wp-ink2); }
.wish-404__actions { margin: 22px 0; }
.wish-404 .wish-searchform { margin: 24px auto 0; }

/* related + prev/next */
.wish-related { margin-top: 56px; }
.wish-related h2 { margin-bottom: 24px; }
.wish-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0 20px; }
.wish-prevnext__card { padding: 18px; border: 1px solid var(--wp-line); border-radius: 14px; background: var(--wp-card); transition: border-color .25s, transform .25s; }
.wish-prevnext__card:hover { border-color: var(--wp-berry); transform: translateY(-3px); }
.wish-prevnext__card--next { text-align: right; }
.wish-prevnext__card span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wp-ink2); }
.wish-prevnext__card strong { display: block; margin-top: 8px; font-family: var(--wp-font-display); font-size: 15px; line-height: 1.4; }

/* FAB + toast + to-top */
.wish-fab { position: fixed; right: 20px; bottom: 80px; z-index: 44; display: none; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 999px; background: var(--wp-berry); color: #fdf6f2; box-shadow: 0 14px 30px -8px rgba(214,69,104,.5); }
.wish-totop { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--wp-pine); color: #fdfcf7; box-shadow: 0 14px 30px -10px rgba(30,42,35,.4); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.wish-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wish-totop:hover { background: var(--wp-pine-deep); }
.wish-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 95; display: flex; align-items: center; gap: 10px; background: var(--wp-pine-deep); color: var(--wp-paper); border-radius: 999px; padding: 10px 20px 10px 12px; font-size: 14px; font-weight: 600; box-shadow: 0 18px 40px -12px rgba(23,63,49,.5); animation: wish-toast-in .35s cubic-bezier(.22,1,.36,1) both; }
.wish-toast[hidden] { display: none; }
.wish-toast::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--wp-gold); color: var(--wp-pine-deep); font-weight: 800; font-size: 13px; }
@keyframes wish-toast-in { from { opacity: 0; transform: translate(-50%, 14px); } }
.wish-selpop { position: absolute; z-index: 96; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--wp-pine-deep); box-shadow: 0 14px 30px -10px rgba(23,63,49,.5); animation: wish-toast-in .18s cubic-bezier(.22,1,.36,1) both; }
.wish-selpop[hidden] { display: none; }
.wish-selpop::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--wp-pine-deep); transform: translateX(-50%) rotate(45deg); border-radius: 2px; z-index: -1; }
.wish-selpop__btn { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 999px; background: transparent; color: var(--wp-paper); transition: background .2s; }
.wish-selpop__btn:hover { background: rgba(245,243,235,.16); }

/* ---------- footer ---------- */
.wish-footer { margin-top: 72px; background: var(--wp-pine-deep); color: var(--wp-paper); }
.wish-footer__inner { max-width: 1200px; margin: 0 auto; padding: 56px 20px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.wish-footer__brand p { margin: 14px 0 0; max-width: 280px; font-size: 14px; color: rgba(245,243,235,.7); }
.wish-footer__wish { margin: 20px 0 0; padding: 16px; border: 1px solid rgba(245,243,235,.14); border-radius: 14px; background: rgba(245,243,235,.06); }
.wish-footer__wish blockquote { margin: 0; font-family: var(--wp-font-quote); font-style: italic; font-size: 15px; line-height: 1.6; color: rgba(245,243,235,.92); }
.wish-footer__wish figcaption { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.wish-footer__wish figcaption > span { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wp-gold); }
.wish-footer__col h3 { margin: 0 0 16px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--wp-gold); }
.wish-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wish-footer__menu a { font-size: 14px; color: rgba(245,243,235,.8); background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s, color .2s; }
.wish-footer__menu a:hover { background-size: 100% 1.5px; color: var(--wp-paper); }
.wish-footer__admin { margin-top: 18px; }
.wish-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; max-width: 1200px; margin: 0 auto; padding: 22px 20px 28px; border-top: 1px solid rgba(245,243,235,.14); font-size: 13px; color: rgba(245,243,235,.65); }
.wish-footer__social { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.wish-footer .wish-share__btn { border-color: rgba(245,243,235,.25); background: transparent; color: rgba(245,243,235,.85); }
.wish-footer .wish-share__native { background: var(--wp-berry); }

/* pagination */
.nav-links { display: flex; gap: 6px; justify-content: center; margin: 32px 0 0; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--wp-line); border-radius: 999px; background: var(--wp-card); font-weight: 700; font-size: 13.5px; color: var(--wp-ink2); }
.nav-links .page-numbers.current { background: var(--wp-pine); border-color: var(--wp-pine); color: #fdfcf7; }
.nav-links a.page-numbers:hover { border-color: var(--wp-pine); color: var(--wp-pine); }

/* ---------- homepage additions (v1.3) ---------- */
.wish-occasions-more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.wish-occasions-more .wish-chip span { font-weight: 400; opacity: .7; }
.wish-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 32px 0 0; }
.wish-pagination .page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--wp-line); border-radius: 999px; background: var(--wp-card); font-weight: 700; font-size: 13.5px; color: var(--wp-ink2); }
.wish-pagination .page-numbers.current { background: var(--wp-pine); border-color: var(--wp-pine); color: #fdfcf7; }
.wish-pagination a.page-numbers:hover { border-color: var(--wp-pine); color: var(--wp-pine); }
.wish-populargrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.wish-populargrid li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--wp-line); border-radius: 14px; background: var(--wp-card); transition: border-color .25s, transform .25s; }
.wish-populargrid li:hover { border-color: var(--wp-berry); transform: translateY(-2px); }
.wish-populargrid__num { font-family: var(--wp-font-display); font-weight: 800; font-size: 28px; line-height: 1; color: var(--wp-line); }
.wish-populargrid a { color: var(--wp-ink); }
.wish-populargrid strong { display: block; font-size: 15px; line-height: 1.4; }
.wish-populargrid span { display: block; margin-top: 4px; font-size: 12px; color: var(--wp-ink2); }
.wish-trust { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; padding: 28px; border: 1px solid var(--wp-line); border-radius: 16px; background: var(--wp-card); }
.wish-trust h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 8px; }
.wish-trust p { color: var(--wp-ink2); font-size: 15px; }
.wish-trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wish-trust li { padding: 14px 16px; border-radius: 12px; background: var(--wp-paper); border: 1px solid var(--wp-line); }
.wish-trust li strong { display: block; font-size: 14px; }
.wish-trust li span { font-size: 13px; color: var(--wp-ink2); }
.wish-faq { display: grid; gap: 10px; max-width: 760px; }
.wish-faq details { border: 1px solid var(--wp-line); border-radius: 12px; background: var(--wp-card); padding: 14px 18px; scroll-margin-top: 96px; transition: border-color .2s; }
.wish-faq details:hover { border-color: var(--wp-pine); }
.wish-faq details[open] { border-color: var(--wp-pine); }
.wish-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 15px; cursor: pointer; color: var(--wp-ink); list-style: none; }
.wish-faq summary::-webkit-details-marker { display: none; }
.wish-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--wp-pine-soft); color: var(--wp-pine); font-size: 17px; font-weight: 700; line-height: 1; transition: background .2s, color .2s, transform .25s; }
.wish-faq details[open] summary::after { content: "–"; background: var(--wp-pine); color: #fdfcf7; }
.wish-faq details p, .wish-faq details ul, .wish-faq details ol { margin: 10px 0 0; font-size: 14px; color: var(--wp-ink2); }
.wish-faq details ul, .wish-faq details ol { padding-left: 20px; }
/* In-article FAQ sections reuse the same accordion, full width. */
.wish-article__body .wish-faq { margin: 20px 0 28px; max-width: none; }
@media (max-width: 860px) {
  .wish-populargrid { grid-template-columns: 1fr; }
  .wish-trust { grid-template-columns: 1fr; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .wish-layout, .wish-layout--toc-left { grid-template-columns: minmax(0, 1fr); }
  .wish-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .wish-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .wish-nav { display: none; }
  .wish-burger { display: grid; }
  .wish-mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wish-grid--2, .wish-grid--3 { grid-template-columns: 1fr; }
  .wish-result { flex-direction: column; }
  .wish-result__media { width: 100%; }
  .wish-prevnext { grid-template-columns: 1fr; }
  .wish-postmeta__share { margin-left: 0; width: 100%; }
  .wish-fab { display: grid; }
  .wish-footer__inner { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .wish-mask > span { transform: none; animation: none; }
}
