/* WordPress-specific additions to the design. */
body { margin: 0; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000; left: 12px; top: 12px; background: #3F3F3F; color: #FFFFFF; padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.admin-bar .sh-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .sh-head { top: 0; } }
#content { display: block; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #50B7E4; outline-offset: 2px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img, video { max-width: 100%; }

/* interactive sections render into these */
.sh-island { display: contents; }

/* GoHighLevel forms inside the designed form cards */
.sh-ghl { box-sizing: border-box; }
.sh-ghl iframe { display: block; width: 100%; border: 0; border-radius: 18px; background: transparent; min-height: 320px; overflow: hidden; }
.sh-ghl-missing { border: 2px dashed #87D3E0; border-radius: 18px; padding: 22px; font-size: 15px; line-height: 1.5; color: #3F3F3F; background: #F2F8F9; }
footer .sh-ghl-missing { color: #E5E5E5; background: transparent; }
.sh-booking iframe { display: block; width: 100%; min-height: 680px; border: 0; border-radius: 18px; background: #FFFFFF; }

/* Simple pages (privacy policy, terms and anything new made in WordPress) */
.sh-plain-hero { background: #F7F7EF; padding: 72px 24px 56px; }
.sh-plain-hero > div { max-width: 712px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.sh-plain-hero h1 { margin: 0; font-family: 'Playfair Display', serif; font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.06; letter-spacing: -0.015em; }
.sh-prose { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; font-size: 18px; line-height: 1.75; }
.sh-prose h2 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 34px; line-height: 1.15; margin: 1.6em 0 .5em; }
.sh-prose h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 26px; line-height: 1.2; margin: 1.4em 0 .4em; }
.sh-prose a { color: #3F3F3F; text-decoration-color: #87D3E0; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.sh-prose img { height: auto; border-radius: 20px; }
.sh-prose .alignwide, .sh-prose .alignfull { max-width: none; }

/* Blog post body coming from the WordPress editor */
.bp-body > *:first-child { margin-top: 0; }
.bp-body figure { margin: 1.6em 0; }
.bp-body figure img, .bp-body img { height: auto; }
.bp-body figcaption { font-size: 14px; color: #5C5C5C; margin-top: 8px; }
.bp-body .wp-block-image img { border-radius: 20px; }
.bp-body .wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 20px; }

/* Blog filters */
.bl-card[hidden] { display: none !important; }
.bl-pager { display: flex; justify-content: center; padding-top: 44px; }
.bl-empty { font-size: 18px; color: #5C5C5C; padding: 24px 0; }

/* Podcast player in the "latest episode" card */
.sh-player-bar { position: relative; flex: 1; height: 6px; border-radius: 99px; background: #EBEBD8; cursor: pointer; }
.sh-player-bar > div { width: 0%; height: 6px; border-radius: 99px; background: #3F3F3F; }

/* Search + 404 */
.sh-search { display: flex; gap: 10px; flex-wrap: wrap; }
.sh-search input[type=search] { flex: 1 1 260px; height: 54px; border: 1px solid #D8D8D8; border-radius: 999px; padding: 0 22px; font: inherit; }
.sh-search button { height: 54px; padding: 0 28px; border: 0; border-radius: 999px; background: #3F3F3F; color: #FFFFFF; font: inherit; font-weight: 700; cursor: pointer; }

/* Cookie notice (only shown when Google Analytics is switched on) */
.sh-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; margin: 0 auto; background: #3F3F3F; color: #FFFFFF; border-radius: 22px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 15px; line-height: 1.5; box-shadow: 0 14px 34px rgba(0,0,0,.25); }
.sh-consent[hidden] { display: none; }
.sh-consent p { margin: 0; flex: 1 1 260px; }
.sh-consent button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #87D3E0; background: transparent; color: #FFFFFF; font: inherit; font-weight: 700; cursor: pointer; }
.sh-consent button.yes { background: #87D3E0; color: #3F3F3F; }

/* Tighter space between page sections (inline paddings scaled to about 60%) */
.sh-page section[style*="padding: 104px 24px"] { padding-top: 64px !important; padding-bottom: 64px !important; }
.sh-page section[style*="padding: 112px 24px"] { padding-top: 68px !important; padding-bottom: 68px !important; }
.sh-page section[style*="padding: 120px 24px"] { padding-top: 72px !important; padding-bottom: 72px !important; }
.sh-page section[style*="padding: 88px 24px"] { padding-top: 52px !important; padding-bottom: 52px !important; }
.sh-page section[style*="padding: 96px 24px"] { padding-top: 56px !important; padding-bottom: 56px !important; }
.sh-page section[style*="padding: 0 24px 104px"] { padding-top: 0 !important; padding-bottom: 64px !important; }
.sh-page section[style*="padding: 0 24px 72px"] { padding-top: 0 !important; padding-bottom: 44px !important; }
.sh-page section[style*="padding: 104px 24px 120px"] { padding-top: 64px !important; padding-bottom: 72px !important; }
.sh-page section[style*="padding: 112px 24px 112px"] { padding-top: 68px !important; padding-bottom: 68px !important; }
.sh-page section[style*="padding: 112px 24px 120px"] { padding-top: 68px !important; padding-bottom: 72px !important; }
.sh-page section[style*="padding: 120px 24px 120px"] { padding-top: 72px !important; padding-bottom: 72px !important; }
.sh-page section[style*="padding: 140px 24px 112px"] { padding-top: 84px !important; padding-bottom: 68px !important; }
.sh-page section[style*="padding: 140px 24px 120px"] { padding-top: 84px !important; padding-bottom: 72px !important; }
.sh-page section[style*="padding: 40px 24px 112px"] { padding-top: 24px !important; padding-bottom: 68px !important; }
.sh-page section[style*="padding: 56px 24px 104px"] { padding-top: 32px !important; padding-bottom: 64px !important; }
.sh-page section[style*="padding: 64px 24px 48px"] { padding-top: 40px !important; padding-bottom: 28px !important; }
.sh-page section[style*="padding: 72px 24px 104px"] { padding-top: 44px !important; padding-bottom: 64px !important; }
.sh-page section[style*="padding: 72px 24px 112px"] { padding-top: 44px !important; padding-bottom: 68px !important; }
.sh-page section[style*="padding: 72px 24px 64px"] { padding-top: 44px !important; padding-bottom: 40px !important; }
.sh-page section[style*="padding: 72px 24px 96px"] { padding-top: 44px !important; padding-bottom: 56px !important; }
.sh-page section[style*="padding: 80px 24px 0"] { padding-top: 48px !important; padding-bottom: 0 !important; }
.sh-page section[style*="padding: 80px 24px 40px"] { padding-top: 48px !important; padding-bottom: 24px !important; }
.sh-page section[style*="padding: 88px 24px 112px"] { padding-top: 52px !important; padding-bottom: 68px !important; }
.sh-page section[style*="padding: 96px 24px 120px"] { padding-top: 56px !important; padding-bottom: 72px !important; }
.sh-page section[style*="padding: 96px 24px 40px"] { padding-top: 56px !important; padding-bottom: 24px !important; }

/* The Franchise Pathway: headings sized for phones */
@media (max-width: 640px) {
  body.sh-design-franchisepathway h1 { font-size: 44px !important; }
  body.sh-design-franchisepathway h2 { font-size: 36px !important; }
  body.sh-design-franchisepathway main span[style*="Amsterdam"] { font-size: 40px !important; }
}

/* ---------- Mobile: menu button, readable small labels, comfortable tap targets ---------- */
.sh-burger { display: none; }
@media (max-width: 860px) {
	.sh-head { position: sticky !important; top: 0; }
	.sh-head > div { flex-wrap: nowrap !important; padding: 8px 16px !important; }
	.sh-head img { height: 48px !important; }
	.sh-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 0 12px; margin-left: auto; border: 0; border-radius: 14px; background: #F7F7EF; cursor: pointer; }
	.sh-burger span { display: block; height: 2px; border-radius: 2px; background: #3F3F3F; transition: transform .25s ease, opacity .2s ease; }
	.sh-head.is-open .sh-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.sh-head.is-open .sh-burger span:nth-child(2) { opacity: 0; }
	.sh-head.is-open .sh-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.sh-nav { display: none !important; position: absolute !important; left: 0; right: 0; top: 100%; flex-direction: column; flex-wrap: nowrap !important; align-items: stretch !important; gap: 0 !important; padding: 8px 16px 20px; background: #FFFFFF; border-bottom: 1px solid #EBEBD8; box-shadow: 0 24px 40px rgba(63,63,63,.14); max-height: calc(100vh - 64px); overflow-y: auto; font-size: 17px !important; }
	.sh-head.is-open .sh-nav { display: flex !important; }
	.sh-nav > a, .sh-dd > button { width: 100%; padding: 14px 4px !important; border-bottom: 1px solid #F0F0E6; }
	.sh-nav > a::after, .sh-dd > button::after { display: none; }
	.sh-dd > button { justify-content: space-between; }
	.sh-dd-panel { position: static !important; width: auto !important; max-width: none !important; padding: 0 !important; opacity: 1 !important; visibility: visible !important; transform: none !important; display: none; }
	.sh-dd.is-open .sh-dd-panel { display: block; }
	.sh-dd.is-open > button svg { transform: rotate(180deg); }
	.sh-dd:hover > button svg { transform: none; }
	.sh-dd-inner { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
	.sh-dd-list { grid-template-columns: 1fr !important; padding: 4px 0 8px !important; }
	.sh-dd-item { padding: 10px 6px !important; }
	.sh-dd-feature { display: none !important; }
	.sh-nav, .sh-nav * { box-sizing: border-box; }
	.sh-nav > a, .sh-nav > .sh-dd { width: 100% !important; max-width: 100%; margin-left: 0 !important; margin-right: 0 !important; flex: none !important; order: 0 !important; }
	.sh-nav > a.sh-cta { margin-top: 14px !important; padding: 15px 24px !important; text-align: center; justify-content: center; border-bottom: 0; order: 9 !important; }
}
@media (max-width: 640px) {
	/* small uppercase labels (badges, roles, step tags) stay readable on phones */
	[style*="font-size: 11px"] { font-size: 12px !important; }
	[style*="font-size: 10px"] { font-size: 12px !important; }
	/* episode and resource links get a proper tap area */
	a[target="_blank"] { min-height: 32px; display: inline-flex; align-items: center; }
	p a[target="_blank"], li a[target="_blank"] { min-height: 0; display: inline; }
}
