/* Page components. Class names come from the page content (see Page setup). */

/* ---------- Sections ---------- */
.osm-section { padding-top: clamp(28px, 4.5vw, 56px); padding-bottom: clamp(44px, 7vw, 96px); }
.osm-section--flush { padding-top: 0; padding-bottom: 0; }
.osm-section--stack > * + * { margin-block-start: clamp(28px, 4vw, 56px) !important; }
.osm-section--stack > h2 + * { margin-block-start: 20px !important; }
.osm-section h2 { margin: 0; }
.osm-muted, .osm-small { color: var(--osm-grey); }
.osm-small { font-size: 14px; line-height: 1.5; }

/* ---------- Hero (cover) ---------- */
.osm-hero.wp-block-cover { padding: 0; align-items: flex-end; }
.osm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,15,13,0.1) 0%, rgba(12,15,13,0.45) 55%, rgba(12,15,13,1) 100%); pointer-events: none; z-index: 0; }
.osm-hero .wp-block-cover__image-background { object-position: center 35%; }
.osm-hero .wp-block-cover__inner-container { position: relative; z-index: 1; padding: 0 var(--osm-gutter) 56px; box-sizing: border-box; }
.osm-hero .wp-block-cover__inner-container > * + * { margin-block-start: 14px; }
.osm-hero__title { font-size: var(--wp--preset--font-size--hero) !important; line-height: 0.9 !important; margin: 0; }
.osm-hero__intro { max-width: 620px; font-size: var(--wp--preset--font-size--large); line-height: 1.5; margin: 0; }
.osm-hero--side::after { background: linear-gradient(90deg, rgba(12,15,13,1) 0%, rgba(12,15,13,0.92) 45%, rgba(12,15,13,0.35) 100%); }
.osm-hero--side.wp-block-cover { align-items: center; }
.osm-hero--side .wp-block-cover__inner-container { padding-top: 88px; padding-bottom: 96px; }
@media (max-width: 700px) {
	.osm-hero.wp-block-cover { min-height: 420px !important; }
	.osm-hero .wp-block-cover__inner-container { padding-bottom: 24px; }
	.osm-hero::after { background: linear-gradient(180deg, rgba(12,15,13,0.1) 0%, rgba(12,15,13,0.5) 50%, rgba(12,15,13,1) 100%); }
	.osm-hero--side.wp-block-cover { min-height: 380px !important; align-items: flex-end; }
	.osm-hero--side .wp-block-cover__inner-container { padding-top: 0; padding-bottom: 24px; }
	.osm-hero .is-style-kicker { font-size: 12px !important; }
}
.has-inline-color.has-tangerine-color { color: var(--osm-tan) !important; }
.has-inline-color.has-green-color { color: var(--osm-green) !important; }
.has-inline-color.has-white-color { color: var(--osm-white) !important; }

/* ---------- Bands ---------- */
.osm-matchday-band { padding-bottom: clamp(40px, 6vw, 72px); }
.osm-band { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
.osm-band__row { gap: 28px; align-items: center; }
.osm-band__text { max-width: 680px; }
.osm-band__text > * { margin: 0; }
.osm-band__text > * + * { margin-top: 10px; }
.osm-band h2 { font-size: var(--wp--preset--font-size--xx-large); line-height: 0.95; }
.osm-band p { font-size: var(--wp--preset--font-size--large); line-height: 1.5; }
@media (max-width: 700px) {
	.osm-band__row { flex-direction: column; align-items: stretch !important; }
	.osm-band .wp-block-buttons, .osm-band .wp-block-button { width: 100%; }
	.osm-band .wp-block-button__link { width: 100%; text-align: center; }
}

/* Button variants */
.wp-block-button.is-style-big-black .wp-block-button__link { font-family: var(--osm-anton); font-size: 26px; font-weight: 400; letter-spacing: 0.02em; padding: 18px 40px; background: var(--osm-black); color: var(--osm-white); }
.wp-block-button.is-style-big-black .wp-block-button__link:hover { background: var(--osm-white); color: var(--osm-black); }
.wp-block-button.is-style-copy-link .wp-block-button__link { background: var(--osm-white); color: var(--osm-black); }
.wp-block-button.is-style-copy-link .wp-block-button__link:hover { background: var(--osm-black); color: var(--osm-white); }
.has-black-background-color .wp-block-button:not([class*="is-style-"]) .wp-block-button__link { background: var(--osm-tan); color: var(--osm-black); }
.has-green-background-color .wp-block-button:not([class*="is-style-"]) .wp-block-button__link:hover { background: var(--osm-white); color: var(--osm-black); }

/* ---------- Find Us ---------- */
.osm-places { gap: 32px !important; align-items: start; }
.osm-place { background: var(--osm-white); border-radius: 8px; overflow: hidden; }
.osm-place > * { margin: 0 !important; }
.osm-place__bar { padding: 12px 24px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.osm-place__bar.is-tan { background: var(--osm-tan); }
.osm-place__bar.is-black { background: var(--osm-black); color: var(--osm-white); }
.osm-place__img img { width: 100%; height: 280px; object-fit: cover; display: block; }
.osm-place__body { padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.osm-place__body > * { margin: 0; }
.osm-place__body h2 { font-size: 44px; line-height: 1; }
.osm-place__address { font-size: 17px; line-height: 1.6; }
@media (max-width: 700px) {
	.osm-place__img img { height: 190px; }
	.osm-place__body { padding: 20px; gap: 14px; }
	.osm-place__body h2 { font-size: 34px; }
	.osm-place .wp-block-button, .osm-place .wp-block-buttons { width: 100%; }
	.osm-place .wp-block-button__link { width: 100%; text-align: center; }
}

/* ---------- Chairman's letter ---------- */
.osm-letter { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: 64px; align-items: start; }
.osm-letter__who { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; position: sticky; top: 24px; }
.osm-letter__who > * { margin: 0; }
.osm-portrait img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--osm-tan); display: block; }
.osm-letter__who .osm-portrait { margin-bottom: 14px; }
.osm-who__name { font-family: var(--osm-anton); font-size: 28px; text-transform: uppercase; line-height: 1.05; }
.osm-who__role { color: var(--osm-grey); }
.osm-letter__body { font-size: 18px; line-height: 1.7; }
.osm-letter__body > * { margin: 0; }
.osm-letter__body > * + * { margin-top: 20px; }
.osm-pull { font-family: var(--osm-anton); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; text-transform: uppercase; margin-top: 36px !important; padding-top: 28px; border-top: 4px solid var(--osm-tan); }
.osm-sign { margin-top: 32px !important; }
.osm-sign > * { margin: 0; }
.osm-sign__name { font-family: var(--osm-anton); font-size: 26px; text-transform: uppercase; }
.osm-sign__role { color: var(--osm-grey); font-size: 16px; line-height: 1.5; }
@media (max-width: 900px) {
	.osm-letter { grid-template-columns: 1fr; gap: 28px; }
	.osm-letter__who { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 18px; }
	.osm-letter__who .osm-portrait { margin: 0; }
	.osm-portrait img { width: 96px; height: 96px; box-shadow: 0 0 0 4px var(--osm-tan); }
	.osm-letter__body { font-size: 16px; }
}

/* ---------- Committee ---------- */
.osm-people { gap: 20px !important; }
.osm-person { background: var(--osm-white); border-radius: 8px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.osm-person > * { margin: 0 !important; }
.osm-person .osm-portrait { margin-bottom: 10px !important; }
.osm-person .osm-portrait img { width: 136px; height: 136px; box-shadow: 0 0 0 4px var(--osm-tan); }
.osm-person__name { font-family: var(--osm-anton); font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.osm-person__role { font-size: 15px; line-height: 1.4; color: var(--osm-grey); }
@media (max-width: 700px) {
	.osm-people { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
	.osm-person { padding: 18px 12px 20px; }
	.osm-person .osm-portrait img { width: 96px; height: 96px; }
	.osm-person__name { font-size: 20px; }
	.osm-person__role { font-size: 13px; }
}

/* ---------- Club Honours ---------- */
.osm-stats { gap: 48px !important; }
.osm-stat > * { margin: 0; }
.osm-stat__n { font-family: var(--osm-anton); font-size: 64px; line-height: 1; }
.osm-stat__l { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--osm-grey); margin-top: 4px !important; }
.osm-honours { gap: 16px !important; }
.osm-honour { background: var(--osm-white); border-radius: 8px; padding: 20px 22px 20px 96px; position: relative; min-height: 56px; display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.osm-honour > * { margin: 0 !important; }
.osm-honour::before { content: ""; position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: var(--osm-tan); }
.osm-honour::after { content: ""; position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; background: var(--osm-black); -webkit-mask: url(../img/honour-league.svg) center / 30px 30px no-repeat; mask: url(../img/honour-league.svg) center / 30px 30px no-repeat; }
.osm-honour.is-cup::before { background: var(--osm-black); }
.osm-honour.is-cup::after { background: var(--osm-white); -webkit-mask-image: url(../img/honour-cup.svg); mask-image: url(../img/honour-cup.svg); }
.osm-honour.is-runner::before { background: var(--osm-green); }
.osm-honour.is-runner::after { -webkit-mask-image: url(../img/honour-medal.svg); mask-image: url(../img/honour-medal.svg); }
.osm-honour__k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--osm-grey); }
.osm-honour__c { font-family: var(--osm-anton); font-size: 24px; text-transform: uppercase; line-height: 1.05; }
.osm-honour__t { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); background: var(--osm-black); color: var(--osm-white); font-size: 12px; font-weight: 700; padding: 5px 8px; border-radius: 4px; line-height: 1.2; }
@media (max-width: 700px) {
	.osm-stats { gap: 20px 32px !important; }
	.osm-stat__n { font-size: 44px; }
	.osm-stat__l { font-size: 12px; }
	.osm-honours { grid-template-columns: minmax(0, 1fr) !important; gap: 12px !important; }
	.osm-honour { padding: 14px 16px 14px 78px; }
	.osm-honour::before, .osm-honour::after { left: 16px; width: 48px; height: 48px; }
	.osm-honour::after { -webkit-mask-size: 26px 26px; mask-size: 26px 26px; }
	.osm-honour__c { font-size: 21px; padding-right: 54px; }
	.osm-honour__t { right: 16px; }
}

/* ---------- Long documents (Rules, Safeguarding, Privacy) ---------- */
.osm-doc { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 760px); gap: 64px; align-items: start; }
.osm-doc__nav { position: sticky; top: 24px; }
.osm-doc__nav > * { margin: 0; }
.osm-doc__label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--osm-grey); margin-bottom: 8px !important; }
.osm-doc__toc { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.osm-doc__toc li { padding: 6px 0; font-size: 15px; line-height: 1.4; }
.osm-doc__toc a { color: var(--osm-black); text-decoration: none; }
.osm-doc__toc a:hover { color: var(--osm-black); text-decoration: underline; }
.osm-doc__body > * { margin: 0; }
.osm-doc__body > * + * { margin-top: 36px; }
.osm-doc__section { padding-top: 40px; border-top: 1px solid rgba(12, 15, 13, 0.15); scroll-margin-top: 24px; }
.osm-doc__section > * { margin: 0; }
.osm-doc__section > * + * { margin-top: 14px; }
.osm-doc__section h2 { font-size: 34px; line-height: 1.05; }
.osm-doc__section h3 { margin-top: 24px; }
.osm-doc__section ul ul { margin-top: 10px; }
.osm-doc__end { padding-top: 20px; border-top: 1px solid rgba(12, 15, 13, 0.15); color: var(--osm-grey); font-size: 14px; }
.osm-doc__end > * { margin: 0; }
ol.osm-rules { padding-left: 32px; }
ol.osm-rules li { padding-left: 4px; }
ol.osm-rules li + li { margin-top: 14px; }
ol.osm-rules li::marker { font-weight: 700; color: var(--osm-green); }
.osm-lead { font-size: 21px; line-height: 1.5; }
.osm-doc__body > .osm-lead:first-child { font-weight: 600; }
@media (max-width: 900px) {
	.osm-doc { grid-template-columns: 1fr; gap: 24px; }
	.osm-doc__nav { position: static; background: var(--osm-white); border-radius: 8px; padding: 16px 18px 8px; }
	.osm-doc__toc li { border-top: 1px solid rgba(12, 15, 13, 0.1); padding: 8px 0; }
	.osm-doc__section { padding-top: 28px; }
	.osm-doc__section h2 { font-size: 28px; }
	.osm-doc__body { font-size: 15px; }
	.osm-lead { font-size: 18px; }
}

/* Safeguarding callout and contacts */
.osm-callout { background: var(--osm-green); color: var(--osm-black); border-radius: 8px; padding: 20px 24px; position: relative; }
.osm-callout > * { margin: 0; }
.osm-callout__t { font-family: var(--osm-anton); font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.osm-callout__t a { color: inherit; text-decoration: none; }
.osm-callout__t a::after { content: ""; position: absolute; inset: 0; }
.osm-callout__t a::before { content: "↓"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; }
.osm-callout__s { font-size: 15px; margin-top: 4px !important; }
.osm-contacts { gap: 16px !important; margin-top: 20px !important; }
.osm-contact { background: var(--osm-white); border-radius: 8px; padding: 24px; }
.osm-contact > * { margin: 0; }
.osm-contact > * + * { margin-top: 8px; }
.osm-contact__k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--osm-grey); }
.osm-contact__n { font-family: var(--osm-anton); font-size: 26px; text-transform: uppercase; line-height: 1.05; }
.osm-contact__l a { font-weight: 600; text-underline-offset: 3px; word-break: break-word; }
.osm-contact.is-black { background: var(--osm-black); color: var(--osm-white); }
.osm-contact.is-black .osm-contact__k { color: var(--osm-tan); }
.osm-contact.is-black a { color: var(--osm-white); }
.osm-alert { background: var(--osm-red); color: var(--osm-white); border-radius: 8px; padding: 16px 22px; }

/* Privacy legal-basis table */
.osm-basis-table table { width: 100%; border-collapse: collapse; background: var(--osm-white); border-radius: 8px; overflow: hidden; font-size: 15px; }
.osm-basis-table thead { border: 0; }
.osm-basis-table th { background: var(--osm-black); color: var(--osm-white); text-align: left; padding: 14px 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; border: 0; }
.osm-basis-table td { padding: 16px 20px; border: 0; border-top: 1px solid rgba(12, 15, 13, 0.1); vertical-align: top; line-height: 1.55; color: var(--osm-grey); }
.osm-basis-table td:first-child { width: 42%; font-weight: 600; color: var(--osm-black); }
.osm-basis { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; margin-bottom: 8px; background: var(--osm-black); color: var(--osm-white); }
.osm-basis.is-legitimate { background: var(--osm-green); color: var(--osm-black); }
.osm-basis.is-consent { background: var(--osm-tan); color: var(--osm-black); }
@media (max-width: 700px) {
	.osm-basis-table table, .osm-basis-table tbody, .osm-basis-table tr, .osm-basis-table td { display: block; width: auto !important; }
	.osm-basis-table thead { display: none; }
	.osm-basis-table td:first-child { padding-bottom: 6px; }
	.osm-basis-table td + td { border-top: 0; padding-top: 0; }
}

/* ---------- Contact ---------- */
.osm-contact-grid { display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 420px); gap: 48px; align-items: start; justify-content: space-between; }
.osm-asides { display: flex; flex-direction: column; gap: 20px; }
.osm-asides > * { margin: 0 !important; }
.osm-aside { border-radius: 8px; padding: 24px; }
.osm-aside > * { margin: 0; }
.osm-aside > * + * { margin-top: 10px; }
.osm-aside__k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--osm-grey); }
.osm-aside__t { font-family: var(--osm-anton); font-size: 28px; text-transform: uppercase; line-height: 1.05; }
.osm-aside p:not(.osm-aside__k):not(.osm-aside__t) { font-size: 15px; line-height: 1.55; }
.osm-aside.is-white { background: var(--osm-white); }
.osm-aside.is-green { background: var(--osm-green); }
.osm-aside.is-green .osm-aside__k { color: var(--osm-black); }
.osm-aside.is-alert .osm-aside__k { color: var(--osm-red); }
.osm-aside .wp-block-button__link { font-size: 14px; padding: 12px 18px; }
@media (max-width: 900px) {
	.osm-contact-grid { grid-template-columns: 1fr; gap: 20px; }
	.osm-aside { padding: 20px; }
	.osm-aside__t { font-size: 24px; }
}

/* ---------- Dinner ---------- */
.osm-dinner__hero { padding-top: 32px; padding-bottom: 32px; }
.osm-dinner__frame { border: 2px solid var(--osm-tan); padding: 72px 40px 64px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.osm-dinner__frame > * { margin: 0 !important; }
.osm-dinner__crest img { width: 170px; height: auto; }
.osm-dinner__frame .is-style-kicker { font-size: 15px !important; line-height: 1.5; }
.osm-dinner__frame h1 { font-size: 112px; line-height: 0.92; }
.osm-dinner__meta { gap: 8px 0 !important; font-size: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.osm-dinner__meta p { margin: 0; padding: 0 16px; }
.osm-dinner__meta p + p { border-left: 1px solid rgba(255,255,255,0.4); }
.osm-dinner__frame .wp-block-buttons { margin-top: 8px !important; }
.osm-lead--anton { font-family: var(--osm-anton); font-size: 38px; line-height: 1.15; text-transform: uppercase; }
.osm-dcards { gap: 20px !important; }
.osm-dcard { background: var(--osm-white); border-radius: 8px; padding: 28px; }
.osm-dcard > * { margin: 0; }
.osm-dcard > * + * { margin-top: 10px; }
.osm-dcard h3 { font-size: 30px; }
.osm-dcard__k { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--osm-grey); display: flex; align-items: center; gap: 10px; }
.osm-ico::before { content: ""; width: 22px; height: 22px; background: var(--osm-green); flex-shrink: 0; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.osm-ico--when { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.osm-ico--where { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.osm-ico--dress { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l-1.5 3h-3zM10.5 6L8 17l4 4 4-4-2.5-11'/%3E%3C/svg%3E"); }
.osm-ico--food { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v8M5 3v5a2 2 0 0 0 4 0V3M7 11v10M17 3c-2 0-3 2.5-3 6h3v12'/%3E%3C/svg%3E"); }
.osm-band--tickets { padding-top: clamp(44px, 7vw, 88px); padding-bottom: clamp(44px, 7vw, 88px); }
.osm-tickets { gap: 28px 64px !important; align-items: center; }
.osm-tickets__price { flex: 1 1 300px; }
.osm-tickets__price > * { margin: 0; }
.osm-price { font-family: var(--osm-anton); font-size: clamp(96px, 12vw, 160px); line-height: 0.9; }
.osm-price__per { font-size: 17px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px !important; }
.osm-tickets__text { flex: 2 1 420px; min-width: 0; }
.osm-tickets__text > * { margin: 0; }
.osm-tickets__text > * + * { margin-top: 18px; }
.osm-tickets__text p { font-size: 18px; }
.osm-tickets__text .osm-small { font-size: 14px; color: rgba(255,255,255,0.75); }
.osm-sharecards { gap: 32px !important; }
.osm-sharecard { border-radius: 8px; padding: 40px; }
.osm-sharecard > * { margin: 0; }
.osm-sharecard > * + * { margin-top: 16px; }
.osm-sharecard h2 { font-size: 52px; line-height: 1; }
.osm-sharecard p { font-size: 18px; }
.osm-sharecard.is-white { background: var(--osm-white); }
.osm-sharecard.is-tan { background: var(--osm-tan); }
.osm-sharecard__url { font-family: var(--osm-anton); font-size: 32px !important; text-transform: uppercase; line-height: 1; }
@media (max-width: 700px) {
	.osm-dinner__hero { padding: 16px; }
	.osm-dinner__frame { padding: 40px 20px 36px; gap: 18px; }
	.osm-dinner__crest img { width: 110px; }
	.osm-dinner__frame .is-style-kicker { font-size: 12px !important; }
	.osm-dinner__frame h1 { font-size: 50px; }
	.osm-dinner__meta { flex-direction: column; gap: 4px !important; font-size: 14px; }
	.osm-dinner__meta p { padding: 0; }
	.osm-dinner__meta p + p { border: 0; }
	.osm-dinner__frame .wp-block-buttons, .osm-dinner__frame .wp-block-button { width: 100%; }
	.osm-dinner__frame .wp-block-button__link, .osm-tickets .wp-block-button__link, .osm-sharecard .wp-block-button__link { width: 100%; text-align: center; box-sizing: border-box; }
	.osm-tickets .wp-block-button, .osm-sharecard .wp-block-button, .osm-sharecard .wp-block-buttons { width: 100%; }
	.osm-lead--anton { font-size: 26px; }
	.osm-dcard { padding: 20px; }
	.osm-dcard h3 { font-size: 24px; }
	.osm-sharecards { gap: 16px !important; }
	.osm-sharecard { padding: 24px 20px; }
	.osm-sharecard h2 { font-size: 36px; }
	.osm-sharecard p { font-size: 16px; }
	.osm-sharecard__url { font-size: 26px !important; }
}

/* ---------- Ninja Forms (Membership) ---------- */
.nf-form-cont { background: var(--osm-white); border-radius: 8px; padding: clamp(20px, 3vw, 32px); }
.nf-form-cont .nf-field-label label { font-size: 14px; font-weight: 700; }
.nf-form-cont .ninja-forms-req-symbol { color: var(--osm-red); }
.nf-form-cont input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]), .nf-form-cont select, .nf-form-cont textarea { font: inherit !important; font-size: 16px !important; padding: 13px 14px !important; border: 1.5px solid var(--osm-grey) !important; border-radius: 4px !important; background: var(--osm-white) !important; color: var(--osm-black) !important; height: auto !important; }
.nf-form-cont input[type="submit"], .nf-form-cont input[type="button"] { background: var(--osm-tan) !important; color: var(--osm-black) !important; border: 0 !important; border-radius: 4px !important; padding: 18px 28px !important; font-family: var(--osm-anton) !important; font-size: 26px !important; text-transform: uppercase; cursor: pointer; height: auto !important; }
.nf-form-cont input[type="submit"]:hover { background: var(--osm-black) !important; color: var(--osm-white) !important; }
.nf-form-cont h3, .nf-form-cont .nf-form-title h3 { font-family: var(--osm-anton); font-weight: 400; text-transform: uppercase; }
.nf-form-cont .nf-error-msg { color: var(--osm-red); }

/* Top-level page sections butt together (no block gap between full-width bands) */
.osm-main .wp-block-post-content > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.osm-hero .wp-block-cover__inner-container { width: 100%; max-width: calc(1240px + 2 * var(--osm-gutter)); margin-left: auto; margin-right: auto; }
.osm-hero .wp-block-cover__inner-container > * { margin-left: 0 !important; margin-right: 0 !important; }
.wp-block-cover.osm-hero.has-custom-content-position .wp-block-cover__inner-container { width: 100%; max-width: calc(1240px + 2 * var(--osm-gutter)); margin-left: auto; margin-right: auto; }
.wp-block-cover.osm-hero .wp-block-cover__inner-container { width: 100% !important; margin-left: auto !important; margin-right: auto !important; }
ul.is-style-dots ul { list-style: none; padding-left: 28px; margin-top: 10px; }
ul.is-style-dots ul li::before { background: var(--osm-grey); }
.osm-band .osm-price { font-size: clamp(96px, 12vw, 160px); line-height: 0.9; }
.osm-band .osm-price__per { font-size: 17px; }
.osm-contact-grid > *, .osm-letter > *, .osm-doc > * { margin-block-start: 0 !important; }
.osm-doc__body > p + p { margin-top: 16px; }
.osm-section--tight { padding-top: 0; }
.osm-dinner__line { font-size: 18px; margin: 0; }
.osm-sharecard h3 { font-size: 34px; line-height: 1; }
@media (max-width: 700px) { .osm-sharecard h3 { font-size: 28px; } .osm-dinner__line { font-size: 16px; } }

/* Honours: same-width team tags */
.osm-honour { padding-right: 100px; }
.osm-honour__t { width: 62px; text-align: center; box-sizing: border-box; padding-left: 0; padding-right: 0; }
@media (max-width: 781px) {
	.osm-honour { padding-right: 88px; }
	.osm-honour__c { padding-right: 0; }
}

/* Ninja Forms (Membership): breathing room above and below the form card */
.osm-main .nf-form-cont { margin-top: clamp(32px, 5vw, 64px) !important; margin-bottom: clamp(48px, 7vw, 96px) !important; }
.nf-form-cont input[type="submit"], .nf-form-cont input[type="button"] { white-space: normal !important; max-width: 100%; text-align: center; line-height: 1.1 !important; }
@media (max-width: 700px) {
	.nf-form-cont input[type="submit"], .nf-form-cont input[type="button"] { font-size: 21px !important; padding: 16px 20px !important; width: 100%; }
}

/* Short kicker on phones (League Tables) */
.osm-kicker-short { display: none; }
@media (max-width: 700px) {
	.osm-kicker-long { display: none; }
	.osm-kicker-short { display: inline; }
}

/* Home hero: show the whole squad photo across the top, text sits below the faces */
.osm-hero:not(.osm-hero--side) { --osm-hero-img: min(57.4vw, 780px); }
.wp-block-cover.osm-hero:not(.osm-hero--side) { min-height: 0 !important; padding-top: calc(var(--osm-hero-img) * 0.74); }
.osm-hero:not(.osm-hero--side) .wp-block-cover__image-background { top: 0; bottom: auto; height: var(--osm-hero-img); object-position: center 40%; }
.osm-hero:not(.osm-hero--side)::after { background: linear-gradient(180deg, rgba(12,15,13,0.05) 0%, rgba(12,15,13,0.05) calc(var(--osm-hero-img) * 0.5), rgba(12,15,13,0.75) calc(var(--osm-hero-img) * 0.82), rgba(12,15,13,1) var(--osm-hero-img)); }
.wp-block-cover.osm-hero:not(.osm-hero--side) { background: var(--osm-black); }
@media (max-width: 700px) {
	.osm-hero:not(.osm-hero--side) { --osm-hero-img: 88vw; }
	.osm-hero:not(.osm-hero--side) .wp-block-cover__image-background { object-position: 45% 40%; }
}

/* Join the Club hero: the photo is framed with the team on the right, clear of
   the dark fade behind the text. Grows with wide screens so heads and feet stay in. */
.wp-block-cover.osm-hero--side { min-height: max(460px, 32vw) !important; }
.osm-hero--side::after { background: linear-gradient(90deg, rgba(12,15,13,1) 0%, rgba(12,15,13,0.9) 38%, rgba(12,15,13,0.4) 50%, rgba(12,15,13,0.08) 62%, rgba(12,15,13,0) 100%); }
.osm-hero--side .wp-block-cover__image-background { object-position: center 60%; }
@media (max-width: 700px) {
	/* Phones: photo on top, text underneath, like the homepage. */
	.osm-hero--side { --osm-side-img: 80vw; }
	.wp-block-cover.osm-hero--side { min-height: 0 !important; padding-top: calc(var(--osm-side-img) * 0.82); background: var(--osm-black); }
	.osm-hero--side .wp-block-cover__image-background { top: 0; bottom: auto; height: var(--osm-side-img); object-position: center 30%; }
	.osm-hero--side::after { background: linear-gradient(180deg, rgba(12,15,13,0) 0%, rgba(12,15,13,0) calc(var(--osm-side-img) * 0.55), rgba(12,15,13,0.8) calc(var(--osm-side-img) * 0.85), rgba(12,15,13,1) var(--osm-side-img)); }
}
