/*
 Theme Name:   Vida Health - V2
 Description:  Child Theme based on Ultra Theme
 Author:       OFF unit
 Author URI:   https://offunit.com
 Template:     themify-ultra
 Version:      1.0.0
*/

/* Variables */
:root { --white: #fff; --black: #272727; --goldenrod: #fcb216; --orange: #f08221; --orange-dark: #e64325; --orange-mid: #f26422; --orange-red: #e64425; --navy: #192d40; --gray: #e9e9e9; --light-gray: #f6f6f6; --color-physical-therapy: #e64425; --color-chiropractic: #f26422; --color-massage-therapy: #f08221; --color-acupuncture: #f99d1c; --color-functional-medicine: #fdb316; --mint: #c8e0d9; } 

/* Custom Fonts */
/* HEADINGS FONT */

.saira-condensed-regular {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.saira-condensed-medium {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.saira-condensed-semibold {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 600;
  font-style: normal;
}

/* BODY FONT */
.saira-semi-condensed-regular {
  font-family: "Saira Semi Condensed", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.saira-semi-condensed-bold {
  font-family: "Saira Semi Condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
}


/* colors */
.color--black { color: var(--black); }
.color--white { color: var(--white); }
.color--goldenrod { color: var(--goldenrod); }
.color--orange { color: var(--orange); }
.color--orange-dark { color: var(--orange-dark); }
.color--orange-red { color: var(--orange-red); }
.color--orange-mid { color: var(--orange-mid); }
.color--navy { color: var(--navy); }
.color--gray { color: var(--gray); }
.color--light-gray { color: var(--light-gray); }
.color--physical-therapy { color: var(--color-physical-therapy); }
.color--chiropractic { color: var(--color-chiropractic); }
.color--massage-therapy { color: var(--color-massage-therapy); }
.color--acupuncture { color: var(--color-acupuncture); }
.color--functional-medicine { color: var(--color-functional-medicine); }
.background--black { background-color: var(--black); }
.background--white { background-color: var(--white); }
.background--navy { background-color: var(--navy); }
.background--goldenrod { background-color: var(--goldenrod); }
.background--orange-red { background-color: var(--orange-red); }
.background--orange-dark { background-color: var(--orange-dark); }
.background--orange { background-color: var(--orange); }
.background--orange-mid { background-color: var(--orange-mid); }

/* Reset */
body { background-color: var(--light-gray); color: var(--black); font-family: "Saira Semi Condensed", sans-serif; letter-spacing: .04em; }
#headerwrap, #footerwrap {border: none; }
#content { padding:0; }

/* BODY background */
.skin-styles:before { background-size: contain; background-repeat: no-repeat; position: absolute; }
.skin-styles.page-id-14:before { background-position: 0 80%; } /* Home Background image position */
.skin-styles.page-id-103:before, .skin-styles.page-id-125:before { background-position: 100% 0; }

/* Headings */
h1, h2, h3, h4 { font-family: "Saira Condensed", sans-serif; font-weight: 300; }

h1, h2, h3 { text-transform: uppercase; }

h2 { font-size: 3em; }
h3 { font-size: 2.2em; }

.hero h1 { font-size: 4em; letter-spacing: .0em; line-height: 1em; }

body p { font-size: 1.1em; }



/* Sticky header hot fix */
.fixed-header .header-bar, .fixed-header .search-button, .fixed-header .header-widget {
    display: block;
}

/* Header */
#header { padding: 0; }
.header-widget-full { background-color: var(--black); }
.header-widget { padding: 0; }
#site-logo { padding: 0; margin: 0; margin-top: -5px; z-index: 2; position: relative; }

/* Header Widget */

.header-widget-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
	padding: .3em 0;
}

.header-widget-link, .header-nav-widget-menu li a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 2em;
    text-decoration: none;
	color: var(--white); 
	 border-left: 1px solid var(--orange-mid);
	border-radius: 0 !important;
}

.header-widget-link:hover { color: var(--orange-mid); }


.header-widget-link + .header-widget-link, .header-nav-widget-menu li a {
    border-right: 1px solid var(--orange-mid) !important;
}
.header-nav-widget-menu li:first-child a { border-left: 1px solid var(--orange-mid) !important; }

.header-widget-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

#themify-layout-parts-2 { width: 100%; }

:is(.book-an-appointment-icon a, .for-patients-icon a)::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: middle;
	margin-right: 8px;
}

.book-an-appointment-icon a::before { background: url("/wp-content/uploads/2026/09/header-widget-book-appointment-icon.png") center / contain no-repeat; }

.for-patients-icon a::before { background: url("/wp-content/uploads/2026/09/header-widget-patients-icon.png") center / contain no-repeat; }

.offcanvas-header-widget { width: 100%; background-color: var(--black); font-size: .90em; }
.offcanvas-header-widget div { left: -360px; position: static; }

/* END OF Header Widget */

/* Main Nav */
#main-nav li { border-left: 1px solid var(--black); }
#main-nav li:first-child { border-left: none; }
#main-nav li a { padding: 0 .8em; }

/* Footer */
#footerwrap { background-color: var(--black); color: var(--white); }
#footer a { color: var(--white); }
#footer :is(.cta-button, .cta-button--outline) { margin-top: 0; padding: .5em 0em; border: 2px solid; font-size: 1.3em; width: 100%;  }




/* =================================
   SERVICE GRID
================================= */

.service-grid { display: grid; gap: 0; width: 100%; grid-auto-flow: row; grid-auto-rows: auto; } 

/* Two-column layout */
.service-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Three-column layout */ 
.service-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } 

/* Four-column layout */ 
.service-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Base card */

.service-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
	background-size: cover;
}

/* Double-width card */

.service-card.card--double {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

/* =================================
   IMAGE CARDS
================================= */

.service-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.service-card img.service-icon {
  width: 75%;
  height: 75%;
	object-fit: contain; 
	object-position: center center;
	margin-left: auto; 
	margin-right: auto; 
}


/* =================================
   IMAGE IN TOP HALF OF CARD
================================= */

.service-card.card--image-top {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1 / 1;
}

/* Double-width card stays 2:1 overall */

.service-card.card--double.card--image-top {
  aspect-ratio: 2 / 1;
}

/* Image fills the entire top half */

.card--image-top .service-card__top-image {
  grid-row: 1;
  grid-column: 1;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.card--image-top .service-card__top-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Content fills the bottom half */

.card--image-top .service-card__content {
  grid-row: 2;
  grid-column: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 8%;
  box-sizing: border-box;
}

.card--image-top .service-card__content h3 { text-align: center; line-height: 1.2em; }
.card--image-top .service-card__content h3 span { text-transform: none; font-size: .8em; }
.service-card__content a { color: var(--white); }

/* Optional image positioning */

.card--image-top .service-card__top-image img {
  object-position: center center;
}

/* =================================
   SERVICE CARDS
================================= */

.card--physical-therapy { background: url("/wp-content/uploads/2026/10/physical-therapy-background.png") no-repeat; }
.card--chiropractic { background: url("/wp-content/uploads/2026/10/chiropractic-background.png") no-repeat; }
.card--massage-therapy { background: url("/wp-content/uploads/2026/10/massage-therapy-background.png") no-repeat; }
.card--acupuncture { background: url("/wp-content/uploads/2026/10/acupuncture-background.png") no-repeat; }
.card--functional-medicine { background: url("/wp-content/uploads/2026/10/functional-medicine-background.png") no-repeat; }
.card--background-black { background-color: var(--black); }


.service-card__content {
  display: flex;
  flex-direction: column;
  
  width: 100%;
  height: 100%;
  padding: 10%;
  box-sizing: border-box;
	justify-content: center;
/*	
 * align-items: center;
  justify-content: center;
	align-items: flex-start;
	text-align: left;*/
	
}
.service-card__content img { object-fit: cover; object-position: center; align-items: center; }

.service-card__content h3 { line-height: 1em; text-align: left; justify-content: left; }





/* ================================= RESPONSIVE LAYOUT ================================= */ 
/* Tablet: use two columns */ 
@media (max-width: 767px) { 
	.service-grid--3, .service-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } 
	.service-card.card--double { grid-column: span 2; aspect-ratio: 2 / 1; } 
} 

/* Mobile: use one column */ 
@media (max-width: 420px) { 
	.service-grid--3, .service-grid--4 { grid-template-columns: 1fr; } 
	.service-card, .service-card.card--double { grid-column: span 1; aspect-ratio: 1 / 1; } 
/* Mobile: double-width cards become square */
	.service-card.card--double.card--image-top { aspect-ratio: 1 / 1; }
}


/* Info-grid */


/* Main grid */
.info-grid {
  display: grid;
  grid-template-columns: 28.5% minmax(0, 1fr) 20%;
	padding-right: 2.5em;
  width: 100%;
  background: var(--white);
  color: var(--black);
  box-sizing: border-box;
  overflow: hidden;
}

/* Image column */
.info-grid__image {
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
}

.info-grid__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center top;
}

/* Main content column */
.info-grid__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 38px 9% 0 10%;
}

.info-grid__content h2 {
  margin: 0 0 28px;
  color: var(--navy);
  line-height: 1.12;
  font-weight: 500;
}

.info-grid__content h2 span { font-weight: 300; }

.info-grid__content p {
  margin: 0 0 32px;
}

.info-grid__content-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 24px 34px;
  background: var(--mint);
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(16px, 1.6vw, 27px);
  transition: background 0.2s ease;
}

.info-grid__content-button:hover {
  background: #b4d5cc;
}

/* Right sidebar */
.info-grid__sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: center;
}

.info-grid__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  padding: 22px 8px 20px;
  background: var(--navy);
  color: #fff;
  white-space: nowrap;
}

.info-grid__amount {
	font-size: 2em;
  font-weight: 300;
}

.info-grid__annual {
  margin: 20px 0 0;
}

.info-grid__availability {
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

.info-grid__status {
  border: 3px solid var(--orange-red);
  padding: 14px 5px;
  color: #2b394d;
  font-size: clamp(20px, 2vw, 31px);
  font-weight: 500;
  line-height: 1.15;
  text-transform: uppercase;
}
.info-grid__status.border--goldenrod { border-color: var(--goldenrod); }

.info-grid__waitlist-note {
  margin: 18px 0 20px;
  font-size: clamp(14px, 1.2vw, 21px);
}

.info-grid__waitlist-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px 10px;
  box-sizing: border-box;
  background: var(--goldenrod);
  color: #2b394d;
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(17px, 1.7vw, 28px);
  font-weight: 500;
  transition: background 0.2s ease;
}

.info-grid__waitlist-button:hover {
  background: #e99b0b;
}

/* Tablet */
@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 34% minmax(0, 1fr);
  }

  .info-grid__image img {
    min-height: 360px;
  }

  .info-grid__content {
    padding: 30px;
  }

  .info-grid__content h2 {
    font-size: clamp(25px, 4vw, 36px);
  }

  .info-grid__sidebar {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px;
  }

  .info-grid__availability {
    margin-top: 0;
  }

  .info-grid__annual {
    white-space: normal;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-grid__image img {
    min-height: 0;
    height: auto;
    max-height: 440px;
    object-position: center 25%;
  }

  .info-grid__content {
    padding: 28px 24px;
  }

  .info-grid__content h2 {
    margin-bottom: 18px;
    font-size: 30px;
  }

  .info-grid__content p {
    font-size: 18px;
  }

  .info-grid__content-button {
    margin-top: 10px;
    padding: 18px 24px;
  }

  .info-grid__sidebar {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 24px 24px;
  }

  .info-grid__amount {
    font-size: 52px;
  }

  .info-grid__status {
    font-size: 27px;
  }

  .info-grid__waitlist-button {
    min-height: 68px;
    font-size: 23px;
  }
}
/* END OF Info-grid */

/* FAQ */
/* Main layout */
.split-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  align-items: stretch;
  font-family: inherit;
}

/* Left column */
.faq-questions {
  background: var(--black);
  color: var(--white);
  padding: clamp(30px, 4.5vw, 75px);
}

.faq-questions h2 {
  color: var(--white);
}

.faq-questions h2 span {
  display: block;
  color: var(--orange-red);
}

.faq-questions button { font-size: 1.3em; font-weight: 400; }

/* Question list */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 16px 0;
  margin: 0;
  border: 0;
  border-bottom: 2px solid var(--orange-red);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item:hover, .faq-item.active {
  color: var(--orange-red);
}

.faq-icon {
  flex: 0 0 20px;
  text-align: center;
  font-size: 1.1em;
  font-weight: 400;
  line-height: 1.2;
}

/* Right column */
.faq-answers {
  display: flex;
  align-items: center;
  background: var(--white);
  color: var(--black);
  padding: clamp(30px, 5vw, 85px);
  min-width: 0;
}

.faq-answer {
  width: 100%;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.faq-answer p {
  margin: 0 0 28px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Optional subtle content transition */
.faq-answer.active {
  animation: faqFadeIn 0.25s ease;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keyboard focus */
.faq-item:focus-visible {
  outline: 2px solid #f0442b;
  outline-offset: 5px;
}

/* Tablet and mobile */
@media (max-width: 768px) {
  .split-faq {
    grid-template-columns: 1fr;
  }

  .faq-questions {
    padding: 35px 25px;
  }

  .faq-questions h2 {
    margin-bottom: 30px;
  }

  .faq-item {
    font-size: 19px;
    padding: 15px 0;
  }

  .faq-answers {
    padding: 35px 25px;
    align-items: flex-start;
  }

  .faq-answer {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer.active {
    animation: none;
  }

  .faq-item {
    transition: none;
  }
}
/* END OF FAQ */



/* =========================================
   EXPANDABLE CARDS
   Closed: Navy Blue
   Open: Yellow
========================================= */

.expand-card {
  width: 100%;
  margin: 0 0 30px;
  font-family: inherit;
}

/* =========================================
   HEADER LAYOUT
========================================= */

.expand-card__header {
  display: grid;
  grid-template-columns: minmax(280px, 26%) 1fr;
  min-height: 350px;
  overflow: hidden;
}

/* =========================================
   LEFT PANEL
   Default / Closed State: Navy Blue
========================================= */

.expand-card__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2em;
  box-sizing: border-box;

  background: var(--navy);
  color: #fff;

  transition:
    background-color 0.35s ease,
    color 0.35s ease;
}

.expand-card__intro h2 {
  margin: 0 0 22px;
  color: inherit;
  line-height: 0.98; 
	font-size: 2.6em; 
	font-weight: 400;
}

.expand-card__intro > p {
  margin: 0 0 10px;
  color: inherit;
  line-height: 1.35;
	font-size: 1.1em;
	min-height: 110px;
}

/* =========================================
   BACKGROUND IMAGE
========================================= */

.expand-card__image {
  min-width: 0;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================================
   EXPAND / CLOSE BUTTON
   Default / Closed: Yellow
========================================= */

.expand-card__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  width: 100%;
  margin: 10px 0 0;
  padding: 10px 0 0;

  border: 0;
  border-top: 4px solid var(--goldenrod);
  border-radius: 0;

  background: transparent;
  color: var(--goldenrod);

  font: inherit;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;

  transition:
    color 0.35s ease,
    border-color 0.35s ease;
}

.expand-card__toggle-label {
  font-size: 1.2em;
  letter-spacing: 0.06em;
  line-height: 1.3;
	padding: 0 .5em;
}

/* =========================================
   ARROW
========================================= */

.expand-card__arrow {
  position: relative;
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 48px;
}

.expand-card__arrow::before {
  position: absolute;
  top: 0;
  left: 13px;

  width: 1.5px;
  height: 40px;

  background: currentColor;
  content: "";
}

.expand-card__arrow::after {
  position: absolute;
  bottom: 9px;
  left: 4px;

  width: 18px;
  height: 18px;

  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;

  transform: rotate(45deg);
  content: "";

  transition: transform 0.35s ease;
}

/* Arrow points up when expanded */
.expand-card__toggle[aria-expanded="true"]
.expand-card__arrow::after {
  bottom: 0;
  transform: rotate(225deg);
}

/* =========================================
   OPEN STATE: YELLOW PANEL
========================================= */

.expand-card.is-expanded .expand-card__intro {
  background: var(--goldenrod);
  color: var(--navy);
}

.expand-card.is-expanded .expand-card__toggle {
  border-top-color: var(--navy);
  color: var(--navy);
}

.expand-card.is-expanded .expand-card__toggle-label {
  font-size: 20px;
  letter-spacing: 0.04em;
}

/* =========================================
   EXPANDABLE CONTENT
========================================= */

.expand-card__content {
  display: grid;
  grid-template-rows: 0fr;

  opacity: 0;
  visibility: hidden;

  transition:
    grid-template-rows 0.55s ease,
    opacity 0.35s ease,
    visibility 0.55s;
}

.expand-card.is-expanded .expand-card__content {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

.expand-card__content-inner {
  display: grid;
  grid-template-columns: 28.5% 1fr;
  gap: 0;

  min-height: 0;
  overflow: hidden;
	background-color: var(--white);
}

/* =========================================
   CONTENT SIDEBAR
========================================= */

.expand-card__sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 55px 12% 45px 13%;
  box-sizing: border-box;
}

.expand-card__sidebar h3 {
  margin: 0 0 14px;

  color: #ffab00;
  font-size: clamp(28px, 3vw, 50px);
  font-weight: 300;
  line-height: 1.2;
  text-transform: uppercase;
}

.expand-card__sidebar > p {
  margin: 0;
  color: var(--expand-text);

  font-size: clamp(16px, 1.4vw, 24px);
  line-height: 1.5;
  text-transform: uppercase;
}

/* =========================================
   SIDEBAR CALL TO ACTION
========================================= */

.expand-card__cta {
  width: 100%;
  margin-top: auto;
  padding-top: 45px;
}

.expand-card__cta p {
  margin: 0 0 28px;

  color: #ffab00;
  font-size: 19px;
  line-height: 1.5;
}

.expand-card__book {
  display: block;
  width: 100%;
  padding: 13px 20px;
  box-sizing: border-box;

  background: #292929;
  color: #fff;

  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.expand-card__book:hover {
  background: var(--navy);
  color: #fff;
}

/* =========================================
   MAIN CONTENT
========================================= */

.expand-card__body {
  padding: 48px 5% 55px 3%;
  box-sizing: border-box;

  color: var(--expand-text);
  font-size: clamp(16px, 1.45vw, 24px);
  line-height: 1.35;
}

.expand-card__body p {
  margin: 0 0 28px;
}

.expand-card__body ul {
  margin: -18px 0 28px;
  padding: 0;
  list-style: none;
}

.expand-card__body li {
  margin: 0;
  padding: 0;
}

/* =========================================
   KEYBOARD ACCESSIBILITY
========================================= */

.expand-card__toggle:focus-visible,
.expand-card__book:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}

/* =========================================
   RESPONSIVE: TABLETS AND MOBILE
========================================= */

@media (max-width: 767px) {

  .expand-card__header {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .expand-card__image {
    grid-row: 1;
    min-height: 260px;
  }

  .expand-card__intro {
    grid-row: 2;
    padding: 30px 25px;
  }

  .expand-card__intro h2 {
    font-size: 38px;
  }

  .expand-card__intro > p {
    font-size: 18px;
  }

  .expand-card__toggle {
    margin-top: 10px;
  }

  .expand-card__toggle-label {
    font-size: 20px;
  }

  .expand-card__content-inner {
    grid-template-columns: 1fr;
  }

  .expand-card__sidebar {
    padding: 35px 25px 20px;
  }

  .expand-card__sidebar h3 {
    font-size: 36px;
  }

  .expand-card__cta {
    margin-top: 25px;
    padding-top: 0;
  }

  .expand-card__body {
    padding: 25px;
    font-size: 17px;
  }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
  .expand-card__intro,
  .expand-card__toggle,
  .expand-card__arrow::after,
  .expand-card__content,
  .expand-card__book {
    transition: none;
  }
}

/* =========================================
 * On Page Button
 * ======================================== */

/* Button */
.on-page-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;

    padding: .3em 1.5em;
	margin-bottom: .8em;

    background-color: var(--white);
    color: var(--navy);
    border: none;
    text-decoration: none;

	font-size: 1.4em;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;

    transition: background-color 0.25s ease, color 0.25s ease;
}

/* Right-pointing arrow */
.on-page-button::after {
    content: "";
    display: block;
    flex: 0 0 52px;
    width: 52px;
    height: 44px;
    margin-left: 20px;

    background:
        linear-gradient(#ff9f00, #ff9f00)
            left center / 52px 1.5px no-repeat,
        linear-gradient(40deg, transparent 48%, #ff9f00 49%, #ff9f00 52%, transparent 53%)
            right top / 20px 25px no-repeat,
        linear-gradient(-40deg, transparent 48%, #ff9f00 49%, #ff9f00 52%, transparent 53%)
            right bottom / 20px 25px no-repeat;
}

/* Hover state */
.on-page-button:hover,
.on-page-button:focus-visible {
    background-color: #ffb414;
    color: #ffffff;
}

/* Arrow changes to navy on hover */
.on-page-button:hover::after,
.on-page-button:focus-visible::after {
    background:
        linear-gradient(#1b3042, #1b3042)
            left center / 52px 1.5px no-repeat,
        linear-gradient(40deg, transparent 48%, #1b3042 49%, #1b3042 52%, transparent 53%)
            right top / 20px 25px no-repeat,
        linear-gradient(-40deg, transparent 48%, #1b3042 49%, #1b3042 52%, transparent 53%)
            right bottom / 20px 25px no-repeat;
}

/* Optional spacing between buttons */
.on-page-buttons {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

/* Tablet and mobile */
@media (max-width: 768px) {
    .on-page-button {
        min-height: 58px;
        padding: 10px 18px 10px 24px;
        font-size: 24px;
        letter-spacing: 2px;
    }

    .on-page-button::after {
        flex-basis: 40px;
        width: 40px;
        height: 36px;
        margin-left: 12px;

        background:
            linear-gradient(#ff9f00, #ff9f00)
                left center / 40px 1.5px no-repeat,
            linear-gradient(40deg, transparent 48%, #ff9f00 49%, #ff9f00 52%, transparent 53%)
                right top / 22px 19px no-repeat,
            linear-gradient(-40deg, transparent 48%, #ff9f00 49%, #ff9f00 52%, transparent 53%)
                right bottom / 22px 19px no-repeat;
    }

    .on-page-button:hover::after,
    .on-page-button:focus-visible::after {
        background:
            linear-gradient(#1b3042, #1b3042)
                left center / 40px 1.5px no-repeat,
            linear-gradient(40deg, transparent 48%, #1b3042 49%, #1b3042 52%, transparent 53%)
                right top / 22px 19px no-repeat,
            linear-gradient(-40deg, transparent 48%, #1b3042 49%, #1b3042 52%, transparent 53%)
                right bottom / 22px 19px no-repeat;
    }

    .on-page-buttons {
        gap: 12px;
    }
}


/* Stylings */
.cta-button { margin-top: 2em; padding: .5em 1.5em; text-align: center; text-transform: uppercase; display: inline-block; box-sizing: border-box; }
.cta-button--outline { margin-top: 2em; padding: .8em 1.2em; text-align: center; text-transform: uppercase; display: inline-block; box-sizing: border-box; font-size: 1.3em; border: 2px solid; border-bottom: 6px solid; width: 100%; }
.cta-button--outline:hover { color: var(--orange-red); }

/*.on-page-button { margin-bottom: 1em; padding: .5em 1.5em; text-align: center;  text-transform: uppercase; width: 100%; display: inline-block; box-sizing: border-box; background-color: var(--white); }*/


.align--center { text-align: center; }
.align--right { text-align: right; }

.full-width { width: 100%; }
.text-transform--none { text-transform: none; }
.padding--none { padding: 0; }
.margin--none { margin: 0; }

.inline-list ul { display: flex; justify-content: space-evenly; align-items: center; padding: 0; margin: 0; list-style: none;  }
.inline-list li { padding: 0em 3em;  margin: 0; font-size: 1.2em; text-transform: uppercase; border-right: 1px solid; list-style: none; }
.inline-list li:last-child { border-right: none; }