/*
Theme Name: Well Played
Theme URI: https://getwellplayed.com
Author: Well Played Collective Inc.
Description: Custom theme for Well Played. Orange, cream and deep brown, Sunflora headings, Manrope text.
Version: 1.0.41
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: wellplayed
*/

/* ---------- Basics ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.wp-site-blocks > main { margin-top: 0; }

/* Small uppercase label above headings */
.wp-eyebrow { font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px !important; margin-bottom: 12px !important; }

/* Outline button style */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--brown); border: 2px solid currentColor; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--brown); color: var(--wp--preset--color--cream); border-color: var(--wp--preset--color--brown); }

/* Dark brown sections */
.wp-dark { background: var(--wp--preset--color--brown); color: var(--wp--preset--color--cream); }
.wp-dark :where(h1,h2,h3,h4,p,a,li) { color: var(--wp--preset--color--cream); }
.wp-dark .has-orange-color { color: var(--wp--preset--color--orange) !important; }
.wp-dark .wp-block-button__link { background: var(--wp--preset--color--orange); border-color: var(--wp--preset--color--orange); color: var(--wp--preset--color--brown); }
.wp-dark .wp-block-button__link:hover { background: var(--wp--preset--color--cream); border-color: var(--wp--preset--color--cream); color: var(--wp--preset--color--brown); }
.wp-dark .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--cream); border-color: var(--wp--preset--color--cream); }
.wp-dark .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--brown); }
.wp-rounded, .wp-dark.alignfull { border-radius: 28px; }

/* Cards with a rule on top */
.wp-ruled { border-top: 2px solid var(--wp--preset--color--orange); padding-top: 16px; }
.wp-ruled p:first-child { font-family: var(--wp--preset--font-family--display); font-size: 26px; line-height: 1.1; margin-bottom: 8px; }

/* Hero */
.wp-hero-title { font-size: var(--wp--preset--font-size--giant) !important; line-height: 0.88 !important; }
.wp-hero-img img { height: 560px; width: 100%; object-fit: cover; object-position: center 62%; }
@media (max-width: 781px) { .wp-hero-img img { height: 380px; } }

/* Big intro statement */
.wp-statement { font-family: var(--wp--preset--font-family--display); font-size: clamp(32px, 4.2vw, 60px) !important; line-height: 1.1 !important; }

/* Find your feel tabs */
.wp-feel-tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 2px solid var(--wp--preset--color--brown); padding-bottom: 28px; margin-bottom: 48px; }
.wp-feel-tabs button { background: none; border: 0; padding: 4px 0; cursor: pointer; font-family: var(--wp--preset--font-family--display); font-size: clamp(36px, 5.2vw, 84px); line-height: 1.05; color: var(--wp--preset--color--brown); text-decoration-thickness: 6px; text-underline-offset: 10px; }
.wp-feel-tabs button[aria-selected="true"] { color: var(--wp--preset--color--orange); text-decoration: underline; }
.wp-feel-tabs button:focus-visible { outline: 3px solid var(--wp--preset--color--orange); outline-offset: 4px; }
.wp-feel.is-ready .wp-feel-panel[hidden] { display: none !important; }
.wp-feel-panel img { height: 520px; width: 100%; object-fit: cover; }
.wp-feel.is-ready .wp-feel-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wp-feel-panel { margin-bottom: 48px; }
.wp-feel.is-ready .wp-feel-panel { margin-bottom: 0; }
.wp-links { list-style: none; padding: 0; margin: 0; }
.wp-links li { border-top: 1px solid var(--wp--preset--color--brown); }
.wp-links li a { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; text-decoration: none; font-size: 22px; font-weight: 600; }
.wp-links li a::after { content: "→"; }
.wp-dark .wp-links li { border-color: rgba(255,250,239,0.35); }

/* What's on rows */
.wp-row { border-top: 1px solid rgba(255,250,239,0.35); padding: 26px 0 !important; }
.wp-row .wp-row-when { font-weight: 700; }
.wp-row .wp-row-title { font-family: var(--wp--preset--font-family--display); font-size: 32px; line-height: 1.1; }

/* Pillars */
.wp-pillar h3 { font-size: clamp(56px, 6vw, 96px) !important; }

/* Arch image */
.wp-arch img { border-radius: 280px 280px 28px 28px !important; height: 560px; width: 100%; object-fit: cover; object-position: center 40%; }

/* Space images */
.wp-tall img { height: 440px; width: 100%; object-fit: cover; border-radius: 24px; }
.wp-wide img { height: 620px; width: 100%; object-fit: cover; }
@media (max-width: 781px) { .wp-wide img { height: 320px; } .wp-tall img, .wp-feel-panel img, .wp-arch img { height: 380px; } }

/* Outlined box */
.wp-box { border: 2px solid var(--wp--preset--color--brown); border-radius: 28px; }

/* Booking widget area */
.wp-booking { background: #fff; border-radius: 28px; padding: 24px; min-height: 120px; }

/* Placeholder note, only visible to editors while building */
.wp-note { border: 2px dashed var(--wp--preset--color--brown); border-radius: 16px; padding: 16px 20px; font-size: 15px; }

/* ---------- Header ---------- */
.wp-header { position: sticky; top: 0; z-index: 50; background: var(--wp--preset--color--cream); padding-left: clamp(20px, 4vw, 56px) !important; padding-right: clamp(20px, 4vw, 56px) !important; }
.admin-bar .wp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-header { top: 46px; } }
.wp-header .wp-block-site-logo img, .wp-header .wp-logo img { height: 56px; width: auto; }
.wp-header .wp-block-navigation { font-weight: 700; font-size: 16px; gap: 6px; }
.wp-header .wp-block-navigation-item__content { padding: 10px 14px; border-radius: 999px; }
.wp-header .wp-block-navigation .wp-block-navigation__submenu-container { background: var(--wp--preset--color--cream); border: 2px solid var(--wp--preset--color--brown) !important; border-radius: 20px; padding: 10px; min-width: 240px !important; }
.wp-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 14px; font-weight: 600; }
.wp-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--orange); color: var(--wp--preset--color--cream); }
.wp-header .wp-book > .wp-block-navigation-item__content { background: var(--wp--preset--color--orange); color: var(--wp--preset--color--cream) !important; padding: 10px 20px; }
.wp-header .wp-book > .wp-block-navigation__submenu-icon { display: none; }
.wp-header .wp-book .wp-block-navigation__submenu-container { right: 0; left: auto !important; }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--cream) !important; padding: 32px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 20px; }

/* ---------- Footer ---------- */
.wp-footer input[type="email"] { flex: 1 1 260px; font: inherit; font-size: 17px; padding: 16px 22px; border-radius: 999px; border: 2px solid var(--wp--preset--color--brown); background: var(--wp--preset--color--cream); color: var(--wp--preset--color--brown); }
.wp-footer .wp-news { display: flex; flex-wrap: wrap; gap: 12px; max-width: 560px; }
.wp-footer .wp-news button { font: inherit; font-weight: 700; font-size: 17px; padding: 16px 26px; border-radius: 999px; border: 0; background: var(--wp--preset--color--brown); color: var(--wp--preset--color--cream); cursor: pointer; }
.wp-footer .wp-news button:hover { background: var(--wp--preset--color--orange); }
.wp-footer .wp-footer-logo img { width: 160px; height: auto; }
.wp-footer { border-top: 2px solid var(--wp--preset--color--brown); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Forms (Jetpack) */
.wp-block-jetpack-contact-form input, .wp-block-jetpack-contact-form textarea, .wp-block-jetpack-contact-form select { border: 2px solid var(--wp--preset--color--brown) !important; border-radius: 14px !important; background: var(--wp--preset--color--cream) !important; padding: 12px 16px !important; font: inherit !important; }
.wp-block-jetpack-contact-form .wp-block-button__link { border-radius: 999px !important; }
.wp-measure { max-width: 900px; margin-left: 0 !important; }
.wp-footer { margin-top: 64px !important; }
/* Form that opens on click */
.wp-form-toggle > summary { display: inline-block; list-style: none; cursor: pointer; background: var(--wp--preset--color--brown); color: var(--wp--preset--color--cream); font-weight: 700; font-size: 17px; padding: 14px 26px; border-radius: 999px; margin-bottom: 24px; }
.wp-form-toggle > summary::-webkit-details-marker { display: none; }
.wp-form-toggle > summary:hover { background: var(--wp--preset--color--orange); }
.wp-form-toggle[open] > summary { background: transparent; color: var(--wp--preset--color--brown); border: 2px solid var(--wp--preset--color--brown); }
/* Logos are never rounded or clipped */
.wp-logo img, .wp-footer-logo img { border-radius: 0 !important; overflow: visible; }
.wp-focus-bottom img { object-position: center 88% !important; }
/* Price menu rows (IV Therapy) */
.wp-menu-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(60, 36, 26, 0.15); }
.wp-menu-row > * { margin: 0 !important; }
.wp-menu-row p:last-child { font-weight: 600; white-space: nowrap; }
.wp-menu .wp-menu-row + p { margin-top: 20px; }
.wp-dark .wp-ruled p:nth-child(2) strong { color: var(--wp--preset--color--orange); }
