/* WordPress extras on top of the design system (main.css). */

.lw [hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lw-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: #FF6B3D; color: #0B2B20; font: 800 14px Manrope, sans-serif; text-decoration: none; }
.lw-skip:focus { top: 12px; }
.lw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* Sticky header under the WordPress admin bar. */
.admin-bar .hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar .hdr { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hdr { top: 0; } }
.hdr { transition: background .3s ease; }
.hdr.scrolled { background: rgba(7, 28, 22, .96); }
.burger [hidden] { display: none !important; }

/* Real photos and video inside design slots. */
.lw-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ph > span { z-index: 1; }
.ph > span em { font-style: normal; opacity: .75; }

.lw-spots { min-width: 0; }
.lw-admin-note { margin: 28px auto 0; max-width: 640px; padding: 10px 16px; border-radius: 12px; border: 1px dashed #C9BC9C; background: rgba(255, 255, 255, .5); color: #4A514B; font-size: 13px; text-align: center; }
.dark .lw-admin-note { background: rgba(255, 255, 255, .05); color: #D6D1C3; border-color: rgba(226, 199, 102, .35); }
.lw-nl-msg { margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--accent); }

/* Inner pages (blog, pages, WooCommerce until their custom templates land). */
.lw-page-hero { position: relative; overflow: hidden; padding: 64px 0 56px; }
.lw-page-hero .crumbs { font-size: 13px; color: #C9C3B2; margin-bottom: 14px; }
.lw-page-hero .crumbs a { text-decoration: none; }
.lw-page-hero .h2 { font-size: clamp(38px, 5cqi, 68px); }
.lw-entry { padding: 64px 0 96px; }
.lw-entry .wrap { max-width: 860px; }
.lw-entry.wide .wrap { max-width: 1280px; }
.lw-entry .content { font-size: 17px; line-height: 1.75; color: var(--text); }
.lw-entry .content h2, .lw-entry .content h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; margin: 1.6em 0 .5em; }
.lw-entry .content h2 { font-size: 34px; }
.lw-entry .content h3 { font-size: 24px; }
.lw-entry .content a { color: var(--acc-deep); }
.lw-entry .content img { max-width: 100%; height: auto; border-radius: 20px; }
.lw-entry .content blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--accent); font-family: Fraunces, Georgia, serif; font-style: italic; font-size: 22px; }
.lw-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@container lw (max-width: 1080px) { .lw-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container lw (max-width: 640px) { .lw-list { grid-template-columns: 1fr; } }
.lw-pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.lw-pager .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid #D8CDB2; text-decoration: none; font-weight: 700; }
.lw-pager .current { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* Buttons rendered by WooCommerce / Tutor get the design's button look. */
.lw .woocommerce a.button, .lw .woocommerce button.button, .lw .woocommerce input.button,
.lw .woocommerce #respond input#submit { border-radius: 999px; padding: 14px 24px; font-family: Manrope, sans-serif; font-weight: 800; background: var(--ink); color: var(--ivory); }
.lw .woocommerce a.button.alt, .lw .woocommerce button.button.alt { background: var(--accent); color: var(--ink); }

/* Course page extras. */
.lw-course-about .content { font-size: 16px; line-height: 1.75; }
.lw-course-about .content h2, .lw-course-about .content h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; }
.lw-course .trailer .lw-fill { z-index: 0; }
.lw-course .woocommerce-notices-wrapper:empty { display: none; }
@container lw (max-width: 640px) { .lw-course .foot { padding-bottom: 96px; } }
.lw-soon { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }
/* Keep the header identical to the homepage on inner pages. */
@container lw (max-width: 640px) { body.lw-inner .hdr-r .btn { display: none; } }
body.lw-inner .subnav { top: 80px; }
.admin-bar.lw-inner .subnav { top: 112px; }
@container lw (max-width: 640px) { body.lw-inner .subnav { top: 68px; } }
/* Admin-only setup checklist on the course page. */
.lw-setup { border: 1.5px dashed #C9BC9C; border-radius: 16px; background: #FFF6D6; padding: 12px 14px; font-size: 13px; line-height: 1.5; color: #3B3418; }
.lw-setup ul { margin: 6px 0 0; padding-left: 18px; }
