/*
 * WPC Site Style 1.3.0 – one shape for the whole site.
 * Rule: every button, tag, badge and one-line field = round pill (--wpc-pill).
 *       every box, card, panel, banner and map = 12px corner (--wpc-r); the Records tab bar is a pill too.
 *       Pictures keep their own straight edges.
 * Cream boxes = #FFF5EC background + 1px #eadfd2 border + 12px corner, no thick gold side bar.
 * Circles (dots, share icons, initials, bullets) are icons and stay round.
 * To change the shapes everywhere at once, change the two values below.
 */
:root { --wpc-pill: 999px; --wpc-r: 12px; --wpc-r-inner: 8px; --wpc-cream: #FFF5EC; --wpc-line: #eadfd2; }

/* ── Buttons, tags and fields ─────────────────────────────────────────── */
html body .wpcfp-rk-jump a,
html body .wpcfp-chip,
html body .wpcfp-btn,
html body .wpcfp-fb-btn,
html body .wpcfp-rk-search,
html body .wpcfp-tag,
html body .wpch .wpch-btn,
html body .wpch-form input[type="email"],
html body .wpch-form input[type="text"],
html body .wpch-form .inf-submit input[type="submit"],
html body .wpca-search input[type="search"],
html body .wpca-search button,
html body .wpca-pages a,
html body .wpca-pages span,
html body .wpd .wpd-button,
html body .wpd .wpd-q,
html body .wpd-form input,
html body .wpd-form select,
html body .wpft .wpft-btn,
html body .gtp-filters-toggle,
html body .gtp-filter-select,
html body .gtp-filter-date,
html body .gtp-cbd-trigger,
html body .gtp-btn-reset,
html body .gtp-search-wrap,
html body .gtp-btn-primary,
html body .gtp-btn-secondary,
html body .gtp-section-badge,
html body .gtp-badge,
html body .gtp-badge-ongoing,
html body .gtp-badge-tba,
html body .gtp-badge-new,
html body .gtp-award-pill,
html body .gtp-years-link.is-on,
html body .elementor-widget-navigation-menu .hfe-nav-menu__toggle {
	border-radius: var(--wpc-pill) !important;
}

/* Any other button or one-line field on the site (the theme's own defaults are 3px). */
html body button,
html body input[type="submit"],
html body input[type="button"],
html body input[type="text"],
html body input[type="email"],
html body input[type="search"],
html body input[type="url"],
html body input[type="tel"],
html body input[type="number"],
html body select,
html body .elementor-button {
	border-radius: var(--wpc-pill) !important;
}
/* Multi-line text boxes are boxes, not pills. */
html body textarea { border-radius: var(--wpc-r-inner) !important; }
/* The calendar's search field sits inside its own rounded frame, so it has no second border. */
html body #gtp-app .gtp-search { border: 0 !important; box-shadow: none !important; background: transparent !important; }

/* ── Boxes, cards and panels ──────────────────────────────────────────── */
html body .wpcfp-rk-card,
html body .wpcfp-rk-title a::after,
html body .wpcfp-rk-banner,
html body .wpcfp-feedback,
html body .wpcfp-date,
html body .wpcfp-fact,
html body .wpcfp-map,
html body .wpcfp-related a,
html body .wpcfp-rk-facts,
html body .wpcfp-rk-cite,
html body .wpch-card,
html body .wpd-card,
html body .wpd-coming-soon,
html body .wpd .wpd-msg,
html body .wpd .wpd-msg-ok,
html body .wpd .wpd-msg-err,
html body .gtp-disclaimer,
html body .gtp-map-wrap,
html body .gtp-filters-grid,
html body .gtp-cbd-panel,
html body .gtp-section-header,
html body .gtp-map-popup .leaflet-popup-content-wrapper,
html body .gtp-tooltip,
html body .gtp-toast,
html body .gtp-years-oncal {
	border-radius: var(--wpc-r) !important;
}
html body .gtp-table-wrap { border-radius: 0 0 var(--wpc-r) var(--wpc-r) !important; }
/* The Records tab bar (Women-Only / Open Field) is a pill with pill tiles inside, to match the buttons under it. */
html body .wpcfp-tabs,
html body .wpcfp-tab { border-radius: var(--wpc-pill) !important; }
html body .wpcfp-tab { padding-left: 22px !important; padding-right: 22px !important; }
/* Pictures keep their own straight edges (article pictures, homepage pictures, featured slider). */
html body .gtp-map-fullwidth { border-radius: 0 !important; }
html body .wpcfp-map { overflow: hidden; }

/* ── One cream-box look: thin beige border instead of a thick gold side bar ── */
html body .gtp-years-oncal,
html body .wpcfp-notice,
html body .wpcfp-rk-banner {
	background: var(--wpc-cream) !important;
	border: 1px solid var(--wpc-line) !important;
	border-radius: var(--wpc-r) !important;
}
html body .wpcfp-rk-cite-text {
	border: 1px solid var(--wpc-line) !important;
	border-radius: var(--wpc-r) !important;
}

/* ── Circles stay circles (icons, not buttons) ────────────────────────── */
html body .wpft .wpft-dot,
html body .wpca-share .wpca-share-btn,
html body .wpd-initials,
html body .wpch .wpch-points li::before { border-radius: 50% !important; }

/* ── Calendar colours: gold and cream like the rest of the site (was orange and grey-blue) ── */
html body #gtp-app {
	--gtp-accent: #B5964F;
	--gtp-accent-lt: #FFF5EC;
	--gtp-border: #eadfd2;
	--gtp-th-bg: #B5964F;
	--gtp-th-color: #fff;
	--gtp-row-hover: #faf6f0;
	--gtp-row-even: #faf6f0;
}
html body #gtp-app .gtp-badge-new { background: #B5964F !important; }
/* Sort arrows sit on the gold header, so they are white. */
html body #gtp-app .gtp-table thead th[data-sort]:hover,
html body #gtp-app .gtp-table thead th.sort-asc::after,
html body #gtp-app .gtp-table thead th.sort-desc::after { color: #fff !important; }
/* Section bars (Latest Added, Upcoming, Past): cream like the Records tab bar; the gold is kept for the table header below. */
html body #gtp-app .gtp-section-header { background: #FFF5EC !important; }
html body #gtp-app .gtp-section-header:hover { background: #f7ead9 !important; }

/* ── Homepage "2026 Season" highlights box: same look as the Records cards (was a square gold frame) ── */
html body .wpft-box {
	background: #fff !important;
	border: 1px solid var(--wpc-line) !important;
	border-radius: var(--wpc-r) !important;
	padding: 24px 22px 22px !important;
}
/* When the box is wide, the events are separated by thin beige lines instead of gold ones. */
html body .wpft .wpft-event { border-left-color: var(--wpc-line) !important; }

/* ── Records banner ("A growing record book"): a pill like the tab bar and jump buttons above it ── */
html body .wpcfp-rk-banner {
	border-radius: var(--wpc-pill) !important;
	padding: 16px 40px !important;
}
@media (max-width: 640px) {
	/* On phones the text runs to several lines, so a pill would cut into it: a 24px corner instead. */
	html body .wpcfp-rk-banner { border-radius: 24px !important; padding: 14px 20px !important; }
}
