/* XOXO, Ella blog. Loads after the main site's styles.css and reuses its colours and type. */
body.xo { padding-bottom: 0; }
.xo { --script: "Great Vibes", "Snell Roundhand", "Segoe Script", cursive; }
.xo .nav__links a[aria-current="page"] { color: var(--pearl); }
.xo .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.xo .nav__play { text-decoration: none; }
.xo main { min-height: 60vh; }

/* ---------- masthead ---------- */
.xo-mast { text-align: center; padding-block: clamp(48px, 8vw, 96px) 24px; display: grid; justify-items: center; gap: 10px; position: relative; }
.xo-mast::before { content: ""; position: absolute; inset: -40px 0 auto; height: 380px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 50% 40%, rgba(255,61,154,.22), transparent 70%); }
.xo-mast__logo { font-family: var(--script); font-size: clamp(3.6rem, 2rem + 8vw, 7.4rem); line-height: 1; color: #ff7ab8; text-shadow: 0 0 34px rgba(255,61,154,.5); padding-inline: .15em; }
.xo-mast__logo a { color: inherit; text-decoration: none; }
.xo-mast__logo span { font-family: var(--f-body); font-size: .5em; vertical-align: .25em; color: var(--pink); }
.xo-mast__swash { width: min(320px, 70vw); height: 22px; margin-top: -8px; }
.xo-mast__swash path { fill: none; stroke: #ed83b4; stroke-width: 1.4; stroke-linecap: round; }
.xo-mast__sub { font-family: var(--f-body); font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--blush); }
.xo-mast__lede { max-width: 52ch; color: var(--mist); margin-top: 6px; }

/* ---------- tags ---------- */
.xo-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.xo-tags--center { justify-content: center; margin-top: 16px; }
.xo-tags a { display: inline-block; text-decoration: none; font-size: .82rem; font-weight: 600; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255,198,222,.22); color: var(--blush); transition: background .2s, border-color .2s, color .2s; }
.xo-tags a:hover { background: rgba(255,61,154,.16); border-color: var(--pink); color: var(--pearl); }

/* ---------- cards ---------- */
.xo-list { padding-block: 24px clamp(64px, 9vw, 120px); display: grid; gap: clamp(28px, 4vw, 48px); }
.xo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.xo-card a { display: grid; height: 100%; text-decoration: none; background: linear-gradient(180deg, rgba(59,16,48,.55), rgba(42,11,31,.55)); border: 1px solid rgba(255,198,222,.12); border-radius: 20px; overflow: hidden; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.xo-card a:hover { transform: translateY(-4px); border-color: rgba(255,61,154,.55); box-shadow: 0 24px 60px -24px rgba(255,61,154,.45); }
.xo-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--plum); }
.xo-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .8s var(--ease); }
.xo-card a:hover .xo-card__img img { transform: scale(1.04); }
.xo-card__body { display: grid; gap: 10px; padding: 22px 22px 24px; align-content: start; }
.xo-meta { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); }
.xo-card__t { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); line-height: 1.12; letter-spacing: -.01em; color: var(--pearl); }
.xo-card__d { color: var(--mist); font-size: .96rem; }
.xo-card__go { display: inline-flex; align-items: center; gap: 6px; color: var(--pink); font-weight: 650; font-size: .9rem; margin-top: 4px; }
.xo-card__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .3s var(--ease); }
.xo-card a:hover .xo-card__go svg { transform: translateX(4px); }
.xo-card--big a { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; }
.xo-card--big .xo-card__img { aspect-ratio: auto; min-height: 420px; }
.xo-card--big .xo-card__body { padding: clamp(26px, 4vw, 56px); align-content: center; gap: 16px; }
.xo-card--big .xo-card__t { font-size: var(--step-3); line-height: 1; }
.xo-card--big .xo-card__d { font-size: var(--step-0); }
.xo-empty { text-align: center; color: var(--mist); font-style: italic; }
.xo-pages { display: flex; align-items: center; justify-content: center; gap: 18px; color: var(--mist); flex-wrap: wrap; }

/* ---------- a post ---------- */
.xo-post__head { max-width: 900px; text-align: center; display: grid; justify-items: center; gap: 16px; padding-block: clamp(36px, 6vw, 72px) 28px; }
.xo-crumbs { display: flex; gap: 8px; font-size: .84rem; color: var(--mist); }
.xo-crumbs a { color: var(--mist); text-decoration: none; }
.xo-crumbs a:hover { color: var(--pink); }
.xo-post__title { font-family: var(--f-display); font-weight: 500; font-size: var(--step-3); line-height: 1.02; letter-spacing: -.02em; }
.xo-post__lede { font-size: var(--step-1); line-height: 1.45; color: var(--blush); max-width: 40ch; font-family: var(--f-display); font-style: italic; }
.xo-post__hero { max-width: 1000px; margin: 0 auto; display: flex; justify-content: center; }
.xo-post__hero img { width: auto; max-width: 100%; max-height: 82vh; border-radius: 22px; box-shadow: 0 40px 100px -40px rgba(255,61,154,.45); }
.xo-post__body { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); padding-block: clamp(36px, 5vw, 64px) clamp(48px, 7vw, 96px); align-items: start; }
.xo-prose { font-size: 1.12rem; line-height: 1.75; color: #f2dfe8; display: grid; gap: 1.15em; max-width: 68ch; }
.xo-prose > p:first-child::first-letter { font-family: var(--f-display); font-style: italic; float: left; font-size: 3.4em; line-height: .82; padding: .06em .1em 0 0; color: var(--pink); }
.xo-prose h2, .xo-prose h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.1; color: var(--pearl); margin-top: .8em; }
.xo-prose h2 { font-size: var(--step-2); }
.xo-prose h3 { font-size: var(--step-1); font-style: italic; }
.xo-prose a { color: var(--pink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.xo-prose a:hover { color: var(--blush); }
.xo-prose strong { color: var(--pearl); }
.xo-prose ul, .xo-prose ol { display: grid; gap: .5em; padding-left: 1.3em; }
.xo-prose ul { list-style: none; padding-left: 1.4em; }
.xo-prose ul li { position: relative; }
.xo-prose ul li::before { content: "♡"; position: absolute; left: -1.35em; color: var(--pink); font-size: .9em; }
.xo-prose ol { list-style: decimal; }
.xo-prose ol li::marker { color: var(--pink); font-family: var(--f-display); font-style: italic; }
.xo-prose blockquote { margin: .4em 0; padding: 20px 26px; border-left: 3px solid var(--pink); background: rgba(255,61,154,.08); border-radius: 0 16px 16px 0; font-family: var(--f-display); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--pearl); display: grid; gap: .6em; }
.xo-prose hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,198,222,.35), transparent); margin: 1em 0; }
.xo-prose hr::after { content: "♡"; display: block; text-align: center; color: var(--pink); margin-top: -.75em; }
.post-photo { margin: .6em 0; display: grid; gap: 10px; }
.post-photo img, .post-photos img { width: 100%; border-radius: 16px; }
.post-photo figcaption, .post-photos figcaption { font-family: var(--f-display); font-style: italic; font-size: .95rem; color: var(--mist); text-align: center; }
.post-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: .6em 0; }
.post-photos figure { margin: 0; display: grid; gap: 8px; align-content: start; }
.post-photos img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 25%; }
.post-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; }
.post-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-cta { margin: .4em 0; }
.post-btn { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; padding: .85em 1.5em; border-radius: 999px; background: var(--pink); color: #16050f !important; font-weight: 700; box-shadow: 0 12px 30px -10px rgba(255,61,154,.7); }
.post-btn:hover { filter: brightness(1.08); }
.xo-sign { font-family: var(--script); font-size: clamp(2.6rem, 2rem + 2.4vw, 3.6rem); line-height: 1.1; color: #ff7ab8; text-shadow: 0 0 22px rgba(255,61,154,.4); margin-top: .5em; transform: rotate(-3deg); transform-origin: left; }
.xo-sign::first-letter { all: unset; }

.xo-post__aside { position: sticky; top: 100px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; min-width: 0; }
.xo-label { font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blush); margin-bottom: 10px; }
.xo-share { display: flex; flex-wrap: wrap; gap: 8px; }
.xo-share a, .xo-share button { display: inline-block; text-decoration: none; font-size: .84rem; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(255,198,222,.08); border: 1px solid rgba(255,198,222,.16); color: var(--pearl); }
.xo-share a:hover, .xo-share button:hover { border-color: var(--pink); color: var(--pink); }
.xo-listen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 18px; background: linear-gradient(160deg, rgba(255,61,154,.16), rgba(42,11,31,.6)); border: 1px solid rgba(255,61,154,.3); }
.xo-listen img { border-radius: 12px; }
.xo-listen p { font-size: .95rem; color: var(--mist); }
.xo-listen em { color: var(--pearl); font-family: var(--f-display); }
.xo-listen .btn { justify-content: center; }
.xo-listen .btn svg { width: 18px; height: 18px; fill: currentColor; }

.xo-more { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid rgba(255,198,222,.12); display: grid; gap: 32px; }
.xo-persona { max-width: 60ch; }

@media (max-width: 900px) {
  .xo-post__body { grid-template-columns: minmax(0, 1fr); }
  .xo-post__aside { position: static; }
  .xo-listen { grid-template-columns: 96px minmax(0, 1fr); align-items: center; }
  .xo-listen .btn { grid-column: 1 / -1; }
  .xo-card--big a { grid-template-columns: minmax(0, 1fr); }
  .xo-card--big .xo-card__img { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  .xo .nav__links { display: flex; gap: 16px; }
  .xo .nav__links li:not(:last-child):not(:first-child) { display: none; }
  .xo .nav__play { display: none; }
  .xo .nav nav { margin-left: auto; }
  .xo-post__hero img { border-radius: 16px; max-height: none; width: 100%; }
  .xo-prose { font-size: 1.06rem; }
  .post-photos { grid-template-columns: minmax(0, 1fr); }
}
