/*!
Theme Name: ThePointsPartner
Theme URI: https://thepointspartner.com/
Author: The Points Partner
Author URI: https://thepointspartner.com/
Description: A professional WordPress theme for The Points Partner — your go-to resource for credit card points, miles, and travel rewards strategies.
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: thepointspartner
Tags: blog, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar, flexible-header

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ThePointsPartner is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
# Design Tokens
--------------------------------------------------------------*/
:root {
	/* Brand Colors */
	--tpp-white: #FFFFFF;
	--tpp-off-white: #F9F8F6;
	--tpp-black: #1A1A1A;
	--tpp-dark: #2D2D2D;
	--tpp-text: #333333;
	--tpp-text-light: #6B6B6B;
	--tpp-border: #E0DCD5;
	--tpp-border-light: #ECEAE4;

	/* Typography */
	--tpp-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--tpp-font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;

	/* Spacing */
	--tpp-header-height: 72px;
	--tpp-container-max: 1280px;
	--tpp-container-padding: 24px;

	/* Vertical rhythm between homepage sections.
	   Consumed ONLY inside max-width queries (below 992px) — desktop
	   spacing is frozen at its hand-tuned per-section values, so raising
	   this cannot move the desktop layout. */
	--tpp-section-spacing: 64px;

	/* Radius */
	--tpp-radius-pill: 100px;
	--tpp-radius-md: 8px;
	--tpp-radius-sm: 4px;

	/* Shadows */
	--tpp-shadow-header: 0 2px 20px rgba(0, 0, 0, 0.08);
	--tpp-shadow-header-scrolled: 0 4px 30px rgba(0, 0, 0, 0.12);

	/* Accent Colors
	   Orange since 29 Nov 2026, replacing the lime (#D4F553 / #B8D93E). Owen
	   at the 24 Nov meeting: "orange, like an Amazon orange instead of this
	   fluorescent green" for every button and "poppy thing". Black text on
	   it reads at about 8:1, and so does the orange on black. It is not a
	   text colour on white (about 2:1): use --tpp-accent-ink for that. */
	--tpp-accent: #FF9900;
	--tpp-accent-dark: #E68A00;
	/* The same orange taken dark enough to read as text on white (5:1). */
	--tpp-accent-ink: #B45309;
	/* A pale wash of it, for tinted panels and columns. */
	--tpp-accent-tint: #FFF3E0;

	/* Blue (29 Nov 2026) for the sky and banking feel. Owen, 24 Nov: "the
	   favourite colour is blue ... it represents sky, it represents
	   banking". Orange is for actions; blue is for information and trust:
	   text links, the pale sky panels behind the FAQs, testimonials and
	   trust cards, and a few small accents. Black and white stay the base. */
	/* Owen's old site's sky blue. Decoration only: 2.3:1 on white, so never
	   text, and never under white text. 7.7:1 on black, so fine as text there. */
	--tpp-sky: #66B1F9;
	/* The same hue, deeper: links and small accents. 5.7:1 on white, 5.2:1
	   on the wash. */
	--tpp-blue: #1565C0;
	--tpp-blue-dark: #0D4E9C;
	/* A pale wash of the sky blue, for panels, and the hairline on it. */
	--tpp-sky-tint: #EDF6FE;
	--tpp-sky-line: #D9EBFD;

	/* Transitions */
	--tpp-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--tpp-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* One step up for tablet. There is deliberately no ≥1280px step: nothing
   above 991px reads this token, because desktop keeps its original
   per-section padding untouched. */
@media screen and (min-width: 768px) {
	:root {
		--tpp-section-spacing: 80px;
	}
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Header
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: inherit;
	text-decoration: none;
}

a:visited {
	color: inherit;
}

a:hover,
a:focus,
a:active {
	color: inherit;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Keyboard focus and selected text in the blue (29 Nov 2026). Components
   that draw their own focus ring keep it; this covers everything else. */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
	outline: 2px solid var(--tpp-blue);
	outline-offset: 2px;
}

::selection {
	background: rgba(102, 177, 249, 0.35);
}

/* Bonus.Vacations mentions (inc/bonus-vacations-link.php). They sit inside
   plan perks, a table row and a card title, so they keep that text's own
   colour and size, on light and dark cards alike, and show they're links
   with a thin underline that turns solid and thicker on hover. */
.tpp-bv-link {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: currentColor;
	text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
	transition: text-decoration-color var(--tpp-transition);
}

.tpp-bv-link:hover {
	text-decoration-color: currentColor;
	text-decoration-thickness: 2px;
}

.tpp-bv-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
	border-radius: 2px;
}

/* Blue on light cards, like the site's other text links (29 Nov 2026). On
   the dark unlocks and seat-map cards it keeps their white. */
.membership__card-body .tpp-bv-link,
.m-hero__card-body .tpp-bv-link,
.m-cmp__feature .tpp-bv-link {
	color: var(--tpp-blue);
}

/* A 44px tall tap area on phones. Padding on an inline link grows the
   tappable box without changing the line height, so nothing moves. */
@media screen and (max-width: 767px) {
	.tpp-bv-link {
		padding: 14px 0;
	}
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header
--------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding var(--tpp-transition);
	will-change: transform;
}

/* Hidden on scroll-down */
.site-header.header-hidden {
	transform: translateY(-100%);
}

.header-container {
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 12px 12px 12px 32px;
	height: var(--tpp-header-height);
}

/* Scrolled state — enhanced shadow */
.site-header.header-scrolled .header-container {
	box-shadow: var(--tpp-shadow-header-scrolled);
}

/* Overlay header — pages whose hero runs underneath the header.
   Opt in per template with the `tpp-overlay-header` body class, added in
   inc/template-functions.php.

   Positioning only. The frosted glass above is already the header's
   default; it reads as solid white on those pages because `sticky` keeps
   the header in flow, so the hero begins beneath it and there is nothing
   behind the glass to frost. `fixed` takes it out of flow, the hero starts
   at the top of the viewport, and the photo shows through the blur.

   Deliberately no colour overrides: at 55% white the panel stays light, so
   the dark logo, nav, and buttons keep their contrast and the header looks
   identical to every other page. */
body.tpp-overlay-header .site-header {
	position: fixed;
	right: 0;
	left: 0;
}

/* Site Branding (Logo / Brand Name)
--------------------------------------------- */
.site-branding {
	flex-shrink: 0;
}

.site-branding .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-branding .custom-logo {
	max-height: 36px;
	width: auto;
}

.site-title {
	margin: 0;
	font-family: var(--tpp-font-heading);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.site-title a {
	color: var(--tpp-black);
	text-decoration: none;
	transition: color var(--tpp-transition-fast);
}

.site-title a:hover {
	color: var(--tpp-text-light);
}

/* A 44px tall tap area on phones. The padding grows the tappable box and
   the matching negative margin keeps the header exactly as it was. */
@media screen and (max-width: 767px) {
	.site-title a {
		display: inline-block;
		padding: 12px 0;
		margin: -12px 0;
	}
}

/* Make sure site-description is hidden in header */
.site-header .site-description {
	display: none;
}

/* Navigation (Desktop)
--------------------------------------------- */
.main-navigation {
	display: none;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 8px 16px;
	font-family: var(--tpp-font-body);
	font-size: 0.938rem;
	font-weight: 500;
	color: var(--tpp-text);
	text-decoration: none;
	white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--tpp-black);
}

/* The current page sits on a solid orange pill (30 Nov 2026, Anish), with
   black text: orange text on the white bar would be too faint to read. A
   faint highlight along its top edge matches the glass pill below. */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--tpp-black);
	font-weight: 600;
	background: var(--tpp-accent);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.45),
		inset 0 -1px 0 rgba(0, 0, 0, 0.06),
		0 4px 12px -6px rgba(230, 138, 0, 0.6);
}

.main-navigation .current-menu-item > a:hover,
.main-navigation .current_page_item > a:hover {
	background: var(--tpp-accent-dark);
}

/* The liquid glass pill (30 Nov 2026; design 03 of
   ref-doc/header-menu-concepts.html, in glass at Anish's request).
   js/header-glide.js adds one glass pill (.nav-glide) behind the desktop menu
   that shows only while the pointer or keyboard focus is on it: it slides out
   from under the orange pill, glides from item to item with a little liquid
   stretch, and slides back when you leave. The menu list sits above it. A
   click presses the item in a touch. The letter-slide hover is off for these
   links (it would move at the same time as the pill). */
.main-navigation {
	position: relative;
}

.main-navigation > ul {
	position: relative;
	z-index: 1;
}

.main-navigation a {
	border-radius: var(--tpp-radius-pill);
	transition: color var(--tpp-transition-fast), background-color var(--tpp-transition-fast), transform 0.12s ease;
}

.main-navigation a:active {
	transform: scale(0.96);
}

/* Glass: a mostly clear body over the frosted bar, a bright rim of light
   along the top edge and a softer one along the bottom, a hairline edge, a
   whisper of blue and orange where light bends at the sides, and a soft
   shadow under it. The slide itself (`translate`) is animated by
   js/header-glide.js, so every slide can end with the same 3px bounce; the
   small stretch it sets on the way (`scale`) eases back here with no
   overshoot. `transform` is only for browsers without `translate`, which
   get a plain slide. */
.nav-glide {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 0;
	height: 0;
	border-radius: var(--tpp-radius-pill);
	/* Mostly see-through (Anish: "a little bit transparent instead of full
	   whitish"): the rim, shine and shadow carry the shape */
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.06) 52%, rgba(255, 255, 255, 0.18) 100%);
	/* No backdrop-filter: inside the frosted bar (itself a backdrop-filter) it
	   can only see the bar's own white, so it just doubled the haze */
	box-shadow:
		inset 0 1px 0.5px rgba(255, 255, 255, 1),
		inset 0 -1px 1px rgba(255, 255, 255, 0.6),
		inset 0 0 0 1px rgba(255, 255, 255, 0.7),
		inset 3px 0 4px -2px rgba(102, 177, 249, 0.4),
		inset -3px 0 4px -2px rgba(255, 153, 0, 0.32),
		0 0 0 1px rgba(26, 26, 26, 0.08),
		0 6px 16px -6px rgba(26, 26, 26, 0.28);
	opacity: 0;
	pointer-events: none;
	scale: 1 1;
	transition:
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
		scale 0.3s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.25s ease;
}

/* The shine across the top, like light on a curved drop of glass */
.nav-glide::before {
	content: '';
	position: absolute;
	top: 2px;
	right: 18%;
	left: 18%;
	height: 42%;
	border-radius: var(--tpp-radius-pill);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0));
	opacity: 0.5;
}

.nav-glide.is-on {
	opacity: 1;
}

/* Jumps (re-settling, appearing where there's no current page) skip the
   slide but still fade */
.nav-glide.is-instant {
	transition: opacity 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
	.nav-glide {
		scale: 1 1;
		transition: opacity 0.2s ease;
	}

	.main-navigation a:active {
		transform: none;
	}
}

/* Dropdown menus (Desktop) */
.main-navigation ul ul {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	background: var(--tpp-white);
	border: 1px solid var(--tpp-border-light);
	border-radius: var(--tpp-radius-md);
	box-shadow: var(--tpp-shadow-header);
	padding: 8px 0;
	min-width: 200px;
	z-index: 99999;
}

.main-navigation ul ul li {
	width: 100%;
}

.main-navigation ul ul a {
	padding: 10px 20px;
	border-radius: 0;
	font-size: 0.875rem;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a:focus {
	background-color: var(--tpp-off-white);
}

.main-navigation li:hover > ul,
.main-navigation li.focus > ul {
	display: block;
}

/* Sub-sub menus */
.main-navigation ul ul ul {
	top: 0;
	left: 100%;
	transform: none;
}

/* Header CTA Buttons
--------------------------------------------- */
.header-ctas {
	display: none;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

/* ===== Text Reveal Hover System ===== */
/* Character-by-character slide-up animation on hover */
.text-reveal {
	display: inline-flex;
	overflow: hidden;
}

.text-reveal-char {
	display: inline-flex;
	flex-direction: column;
	overflow: hidden;
	height: 1.35em;
	line-height: 1.35;
}

.text-reveal {
	color: inherit;
}

.text-reveal-primary,
.text-reveal-secondary {
	display: block;
	color: inherit;
	transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
	transition-delay: calc(var(--i) * 8ms);
	will-change: transform;
}

/* Trigger on parent hover — covers <a>, <button>, and .btn */
.text-reveal-parent:hover .text-reveal-primary,
.text-reveal-parent:hover .text-reveal-secondary {
	transform: translateY(-100%);
}

/* Force white text on dark-background buttons */
.m-archive__footer .text-reveal,
.m-archive__footer .text-reveal-primary,
.m-archive__footer .text-reveal-secondary {
	color: var(--tpp-white);
}

/* Black text on the orange key buttons. The first three were black with
   white letters until 29 Nov 2026. */
.membership__cta--solid .text-reveal,
.membership__cta--solid .text-reveal-primary,
.membership__cta--solid .text-reveal-secondary,
.m-hero__cta--solid .text-reveal,
.m-hero__cta--solid .text-reveal-primary,
.m-hero__cta--solid .text-reveal-secondary,
.bac-options__card--featured .bac-options__cta .text-reveal,
.bac-options__card--featured .bac-options__cta .text-reveal-primary,
.bac-options__card--featured .bac-options__cta .text-reveal-secondary,
.m-cta__btn--primary .text-reveal,
.m-cta__btn--primary .text-reveal-primary,
.m-cta__btn--primary .text-reveal-secondary {
	color: var(--tpp-black);
}

/* CTA secondary button — white text */
.m-cta__btn--secondary .text-reveal,
.m-cta__btn--secondary .text-reveal-primary,
.m-cta__btn--secondary .text-reveal-secondary {
	color: var(--tpp-white);
}

/* Shared button base */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--tpp-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	padding: 12px 24px;
	border-radius: var(--tpp-radius-pill);
	cursor: pointer;
	transition: all var(--tpp-transition);
	white-space: nowrap;
	border: 1.5px solid transparent;
}

.btn:focus-visible {
	outline: 2px solid var(--tpp-black);
	outline-offset: 2px;
}

/* Outlined button — "Book a Call" */
.btn-outline {
	background: transparent;
	color: var(--tpp-black);
	border-color: var(--tpp-black);
}

.btn-outline:hover {
	color: var(--tpp-black);
	border-color: var(--tpp-dark);
}

.btn-outline:visited {
	color: var(--tpp-black);
}

.btn-outline:hover:visited {
	color: var(--tpp-black);
}

/* Filled button — "Join Now" */
.btn-primary {
	background: var(--tpp-black);
	color: var(--tpp-white);
	border-color: var(--tpp-black);
}

.btn-primary:hover {
	color: var(--tpp-white);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:visited,
.btn-primary:hover:visited,
.btn-primary:focus,
.btn-primary:active {
	color: var(--tpp-white);
}

/* Key button — "Join Now". Buttons come in three kinds (29 Nov 2026):
   orange for the key action of a moment (the header's Join Now, a hero's
   first button, the featured plan, a closing call to action), black
   (.btn-primary) for other strong buttons, and white or outlined
   (.btn-outline) for the alternative beside a main one. Black text on the
   orange; never white. */
.btn-key {
	background: var(--tpp-accent);
	border-color: var(--tpp-accent);
}

.btn-key,
.btn-key:visited,
.btn-key:hover,
.btn-key:focus,
.btn-key:active {
	color: var(--tpp-black);
}

.btn-key:hover {
	background: var(--tpp-accent-dark);
	border-color: var(--tpp-accent-dark);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Full-width button (mobile) */
.btn-full {
	width: 100%;
}

/* The header's two buttons (30 Nov 2026; design 07 of
   ref-doc/header-menu-concepts.html), in the bar and the ☰ menu alike.
   "Book a Call" carries a calendar that tilts on hover. "Join Now" carries
   the black arrow circle of the site's other orange buttons; on hover the
   circle stays put and its arrow turns to point up and right. Both are a
   fixed 44px tall: by padding alone the icon, the arrow circle and the
   letter-slide text (1.35em lines) would leave them a few pixels apart. */
.btn--icon,
.btn--chip {
	height: 44px;
	padding-top: 0;
	padding-bottom: 0;
}

.btn--icon {
	gap: 8px;
}

.btn__icon {
	flex: none;
	width: 16px;
	height: 16px;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--icon:hover .btn__icon {
	transform: rotate(-8deg) scale(1.08);
}

.btn-outline.btn--icon:hover {
	background: rgba(26, 26, 26, 0.05);
}

.btn--chip {
	gap: 10px;
	padding-right: 7px;
	padding-left: 18px;
}

.btn__chip {
	display: grid;
	flex: none;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--tpp-black);
	color: var(--tpp-accent);
}

.btn__chip svg {
	width: 13px;
	height: 13px;
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn--chip:hover .btn__chip svg,
.btn--chip:focus-visible .btn__chip svg {
	transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
	.btn__icon,
	.btn__chip svg {
		transition: none;
	}
}

/* Hamburger Menu Toggle
--------------------------------------------- */
.menu-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: none;
	border: none;
	border-radius: var(--tpp-radius-md);
	cursor: pointer;
	color: var(--tpp-black);
	transition: background-color var(--tpp-transition-fast);
	flex-shrink: 0;
}

.menu-toggle:hover {
	background-color: var(--tpp-off-white);
}

.hamburger-icon {
	display: block;
}

.hamburger-icon line {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	transform-origin: center;
}

/* Hamburger → X animation */
.menu-toggle[aria-expanded="true"] .line-1 {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .line-2 {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .line-3 {
	transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu Overlay
--------------------------------------------- */
.mobile-menu-overlay {
	position: absolute;
	top: 100%;
	left: var(--tpp-container-padding);
	right: var(--tpp-container-padding);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity var(--tpp-transition), transform var(--tpp-transition), visibility var(--tpp-transition);
	pointer-events: none;
}

.mobile-menu-overlay.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.mobile-menu-inner {
	background: var(--tpp-white);
	border: 1px solid var(--tpp-border-light);
	border-radius: 20px;
	box-shadow: var(--tpp-shadow-header-scrolled);
	padding: 24px;
	margin-top: 8px;
}

/* Mobile Navigation Links */
.mobile-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-navigation li {
	border-bottom: 1px solid var(--tpp-border-light);
}

.mobile-navigation li:last-child {
	border-bottom: none;
}

.mobile-navigation a {
	display: block;
	padding: 16px 8px;
	font-family: var(--tpp-font-body);
	font-size: 1.0625rem;
	font-weight: 500;
	color: var(--tpp-text);
	text-decoration: none;
	transition: color var(--tpp-transition-fast);
}

.mobile-navigation a:hover {
	color: var(--tpp-black);
}

.mobile-navigation .current-menu-item > a,
.mobile-navigation .current_page_item > a {
	color: var(--tpp-black);
	font-weight: 600;
}

/* Mobile sub-menus */
.mobile-navigation ul ul {
	padding-left: 16px;
}

.mobile-navigation ul ul a {
	font-size: 0.9375rem;
	padding: 12px 8px;
}

/* Mobile CTA buttons */
.mobile-menu-ctas {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--tpp-border-light);
}

/* Body scroll lock when mobile menu is open */
body.mobile-menu-open {
	overflow: hidden;
}

/* Responsive Breakpoints
--------------------------------------------- */

/* Tablet and up (≥768px) — show CTAs in header bar */
@media screen and (min-width: 768px) {
	.header-ctas {
		display: flex;
	}
}

/* Desktop (≥992px) — full layout: logo + nav + CTAs */
@media screen and (min-width: 992px) {
	.main-navigation {
		display: block;
		flex: 1;
		margin: 0 24px;
	}

	.main-navigation ul {
		justify-content: center;
	}

	.menu-toggle {
		display: none;
	}

	.mobile-menu-overlay {
		display: none;
	}
}

/* Wrapping menu (≥992px) — the logo, the menu and the buttons stay on one
   row. When the menu items don't all fit in the space between the logo and
   the buttons, the ones that don't fit drop to a second line inside that
   same space, centered under the first. The bar grows to fit, and the logo
   and buttons stay centered beside the menu. (Seven items since "Private Zoom
   Consultations" joined on 28 Nov 2026; one line from about 1,500px.)
   js/header-fit.js sets --tpp-header-height on <html> to the bar's real
   height while it's taller than usual, so things that sit below the header
   (the About hero under the see-through header, the 404 page, Book a Call's
   jump links) move down with it. Below 992px the hamburger menu is used. */
@media screen and (min-width: 992px) {
	.header-container {
		height: auto;
		min-height: var(--tpp-header-height);
	}

	.main-navigation {
		min-width: 0;
	}

	.main-navigation ul {
		flex-wrap: wrap;
		row-gap: 0;
	}

	.main-navigation a {
		padding-top: 6px;
		padding-bottom: 6px;
	}
}

/* 992–1099px: a little less space around each item, so the menu needs two
   lines here rather than three. */
@media screen and (min-width: 992px) and (max-width: 1099px) {
	.main-navigation {
		margin: 0 12px;
	}

	.main-navigation ul {
		gap: 0;
	}

	.main-navigation a {
		padding-right: 10px;
		padding-left: 10px;
	}
}

/* Small mobile adjustments (≤480px) */
@media screen and (max-width: 480px) {
	.site-header {
		padding: 10px 12px;
	}

	.header-container {
		padding: 8px 8px 8px 20px;
		height: 60px;
	}

	.site-title {
		font-size: 1.05rem;
	}

	.mobile-menu-overlay {
		left: 12px;
		right: 12px;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

/* WordPress also puts "page" on <body> on every Page, so the rule above
   gave the whole body a 24px bottom margin: a white strip under the footer
   on every page except the homepage (3 Dec 2026). The article boxes keep
   their margin; only the body loses it. */
body.page {
	margin-bottom: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.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;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
