/* ==========================================================================
   WordPress-only layer, on top of main.css (same tokens).
   Covers what the static redesign never had: the admin bar, WP menus,
   regular pages, the blog and editor content.
   ========================================================================== */

/* Admin bar: keep the floating nav below it. */
.admin-bar .nav { top: calc(14px + 32px); }
@media (max-width: 782px) { .admin-bar .nav { top: calc(14px + 46px); } }

/* Menus assigned in Appearance > Menus render as <li>; let the links lay out as in the design. */
.nav__links li, .menu li, .footer__col li { list-style: none; display: contents; }
.nav__links .current-menu-item > a, .menu .current-menu-item > a { color: #fff; }

/* Regular pages, posts, archives ------------------------------------------- */
.lk-page { padding-block: calc(var(--sec-y) + 64px) var(--sec-y); min-height: 70vh; }
/* Elementor pages bring their own top padding (enough to clear the floating nav). */
.lk-page--builder { padding-block: 0; min-height: 0; }
.lk-entry { max-width: 760px; }
.lk-entry__title { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 28px; }
.lk-entry__media { margin: 0 0 32px; border-radius: var(--r-inner); overflow: hidden; }
.lk-entry__media img { width: 100%; height: auto; display: block; }
.lk-entry__nav { display: flex; justify-content: space-between; gap: 24px; max-width: 760px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hair); }
.lk-entry__nav a { color: var(--lilac); }
.lk-entry__nav a:hover { color: var(--peri); }

.prose { color: var(--lilac); font-size: 1.05rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { color: #fff; line-height: 1.2; letter-spacing: -0.02em; margin-top: 1.8em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { font-size: 1.3rem; }
.prose a { color: var(--peri); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.prose strong { color: #fff; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { padding-left: 22px; border-left: 2px solid var(--peri); color: #fff; font-weight: 600; }
.prose img, .prose figure { max-width: 100%; height: auto; border-radius: var(--r-inner); }
.prose figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.prose code { font-size: 0.92em; padding: 2px 6px; border-radius: 6px; background: var(--ink-2); }
.prose hr { border: 0; border-top: 1px solid var(--hair); }
.prose input, .prose textarea, .prose select {
  width: 100%; max-width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--hair); background: var(--ink-2); color: #fff; font: inherit;
}
.prose button, .prose input[type="submit"] {
  padding: 12px 24px; border: 0; border-radius: 999px; background: var(--violet); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.prose button:hover, .prose input[type="submit"]:hover { background: var(--violet-deep); }

/* Blog list */
.lk-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 40px; }
.lk-postcard { min-width: 0; }
.lk-postcard__link {
  display: grid; gap: 10px; height: 100%; padding: 16px 16px 24px; border-radius: var(--r-outer);
  background: var(--tile-glow), var(--ink-2); border: 1px solid var(--hair);
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease-spring);
}
.lk-postcard__link:hover { border-color: rgba(141, 141, 239, 0.45); transform: translateY(-2px); }
.lk-postcard__media { display: block; aspect-ratio: 16 / 9; border-radius: var(--r-inner); overflow: hidden; }
.lk-postcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lk-postcard__date { font-size: 13px; color: var(--muted); padding-inline: 8px; }
.lk-postcard__title { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.02em; padding-inline: 8px; }
.lk-postcard__excerpt { font-size: 15px; color: var(--lilac); padding-inline: 8px; }
.nav-links { display: flex; gap: 10px; margin-top: 40px; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hair); color: var(--lilac); }
.nav-links .page-numbers.current { background: var(--violet); border-color: var(--violet); color: #fff; }

.lk-404 .btn { margin-top: 32px; }

/* Icons: Phosphor Light as inline SVG (lk_icon). The <i> keeps the font-size sizing the
   design already uses; the SVG fills 1em and takes the text color. */
.ph-light { display: inline-flex; width: 1em; height: 1em; flex: none; line-height: 1; }
.ph-light svg { display: block; width: 100%; height: 100%; }

/* Logo marquee toggle: both icons are rendered; show the one for the current state. */
.pb-marquee__toggle .ph-play,
.pb-logos.is-paused .pb-marquee__toggle .ph-pause { display: none; }
.pb-logos.is-paused .pb-marquee__toggle .ph-play { display: inline-flex; }
