/*
Theme Name:  Every Penny Books
Theme URI:   https://everypennybooks.com
Version:     1.0
Description: A child theme of Divi. This is a custom child theme created for our site Every Penny Bookkeeping & Business Services.
Author:      Amy
Author URI:  https://amythewebgeek.com
Template:    Divi
*/

/*- Add any CSS custom code below this line -*/

:root {
  /* COLORS */
  --brand-blue: #525a69;
  --brand-peach: #ce9f88;
  --font-blue: #2d3a52;
  --white: #ffffff;
  --light-gray: #ccc;
  --accent-mosaic: url('https://everypennybooks.com/wp-content/uploads/2025/04/Mosaic.png');
  --overlay-white: rgba(255, 255, 255, 0.85);
  --muted-bg: #f7f7f7;

  /* TYPOGRAPHY */
  --font-sans: 'Roboto', sans-serif;
  --font-serif: 'Spectral', serif;
  --spacing: 12px;

  /* SIZING */
  --container: 80%;
  --radius: 30px;

  /* SHADOWS & TRANSITIONS */
  --shadow-down: 0 4px 8px rgba(0, 0, 0, 0.5);
  --ease-med: 0.5s ease;

  /* RIBBON */
  --ribbon-fold: 12px;
  --ribbon-cut: 16px;

  --ribbon-hue: 220;
  /* blue tone */
  --ribbon-sat: 15;
  --ribbon-lig: 45;

  --ribbon-light: hsl(var(--ribbon-hue), calc(var(--ribbon-sat)*1%), calc(var(--ribbon-lig)*1% + 10%));
  --ribbon-dark: hsl(var(--ribbon-hue), calc(var(--ribbon-sat)*1%), calc(var(--ribbon-lig)*1% - 10%));
  --ribbon-darkest: hsl(var(--ribbon-hue), calc(var(--ribbon-sat)*1%), calc(var(--ribbon-lig)*1% - 25%));
}

html,
body {
  overflow-x: hidden;
}

/* ===================================================================== MAIN NAVIGATION BAR === */
.epb-nav__container {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: all var(--ease-med);
}

.epb-nav__default {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 200px repeat(4, 1fr);
  grid-template-rows: 30px;
  place-items: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
  padding: .3rem;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 80%, #b3b3b3);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  opacity: 1;
  transition: opacity var(--ease-med), transform var(--ease-med);
}

.nav-link {
  display: block;
  padding: 0.5rem;
  font: 700 clamp(0.7rem, 1vw + 0.3rem, 0.95rem) var(--font-sans);
  color: var(--font-blue);
  text-align: center;
  text-decoration: none;
  transition: background var(--ease-med), border-radius var(--ease-med);
}

.nav-link:hover {
  background: var(--brand-peach);
  color: var(--white);
  border-radius: var(--radius);
  transform: scale(1.1);
  transition: background var(--ease-med), border-radius var(--ease-med), transform var(--ease-med);
}

.nav-link.active {
  background: var(--brand-peach);
  color: var(--white);
  border-radius: var(--radius);
}

.epb-nav__logo {
  grid-column: 5;
  justify-self: center;
  height: 65px;
  width: 200px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-down);
}

.epb-nav__logo img {
  max-width: 140px;
  margin: 0 auto;
  display: block;
}

/* Collapsed state styles */
.epb-nav__container.scrolled .epb-nav__default {
  display: none;
  pointer-events: none;
  transform: scale(0.95);
  opacity: 0;
}

.epb-nav__collapsed {
  display: grid;
  grid-template-rows: 40px;
  grid-template-columns: 80px repeat(8, 1fr);
  width: var(--container);
  height: 100%;
  position: relative;
  left: 1%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease-med), transform var(--ease-med);
  transform: scale(0.95);
  pointer-events: none;
}

.epb-nav__container.scrolled .epb-nav__collapsed {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.epb-nav__collapsed .epb-nav__coll-link {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--ease-med), visibility var(--ease-med);
}

.epb-nav__collapsed:hover .epb-nav__coll-link {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.epb-nav__logo-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(50px, 8vw, 80px);
  width: clamp(50px, 8vw, 80px);
  position: relative;
  right: -1rem;
  background: var(--white);
  border-radius: 50%;
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-down);
  padding: 8px;
  margin: 0;
  z-index: 1001;
}

.epb-nav__logo-cell:hover {
  z-index: 1002;
  transition: z-index 0s ease 0s;
}

.epb-nav__logo-cell img {
  height: clamp(50px, 8vw, 70px);
  width: clamp(50px, 8vw, 70px);
  transition: transform var(--ease-med), opacity var(--ease-med);
  object-fit: contain;
  border-radius: 50%;
}

.epb-nav__container.scrolled .epb-nav__logo-cell img {
  transform: scale(1.1);
  opacity: 1;
}

.epb-nav__logo-cell .nav-label {
  position: absolute;
  bottom: -1.7rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  transition: opacity var(--ease-med);
}

.epb-nav__collapsed:hover .nav-label {
  opacity: 0;
  display: none;
}

.epb-nav__coll-link {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 80%, #b3b3b3);
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  transform: translateY(50%);
  z-index: 900;
  padding: 0.5rem;
}

.epb-nav__coll-link:last-of-type {
  border-right: 1px solid var(--light-gray);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Mobile Nav */
.epb-nav__mobile {
  display: none;
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
  height: 50px;
  z-index: 1000;
}

.mobile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 80%, #b3b3b3);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
}

.mobile-logo {
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: clamp(0.1rem, 1vw, 0.5rem);
  width: clamp(40%, 25vw, 50%);
}

.mobile-logo img {
  max-height: 100%;
  max-width: 100%;
}

.mobile-dropdown {
  position: relative;
  right: 2rem;
  margin-top: -0.5rem;
}

.mobile-toggle {
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 3rem;
  right: 0;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 0 0 8px 8px;
  box-shadow: var(--shadow-down);
  flex-direction: column;
  min-width: 150px;
  overflow: hidden;
  z-index: 1001;
}

.mobile-dropdown:hover .mobile-menu,
.mobile-dropdown:focus-within .mobile-menu,
.mobile-dropdown.is-open .mobile-menu {
  display: flex;
}


/* ===================================================================== GLOBAL BUTTON STYLE === */
.epb-button {
  background: linear-gradient(180deg, #979ca5 0%, var(--brand-blue) 80%, #292d35);
  box-shadow: var(--shadow-down);
  color: var(--white);
  border: 1px solid #101215;
  border-radius: var(--radius);
  font: 700 14px var(--font-sans);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.75rem 2.2rem;
  cursor: pointer;
  transition: transform var(--ease-med), box-shadow var(--ease-med);
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

.epb-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.about-community-button a {
  display: inline-block;
  margin-top: 1rem;
  scale: 0.8;
}

/* ===================================================================== GLOBAL SECTION HEADINGS === */
h3.section-sub-head {
  font: 800 clamp(0.875rem, 1vw, 1.125rem) var(--font-sans);
  color: var(--font-blue);
  letter-spacing: var(--spacing);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

h2.section-header {
  font: 800 clamp(1.8rem, 2.64vw, 2.375rem) var(--font-serif);
  color: var(--font-blue);
  margin-bottom: 1rem;
}

p.section-sub-text {
  font: 400 clamp(0.85rem, 1.5vw, 1rem) var(--font-sans);
  color: var(--font-blue);
  line-height: 1.6;
  margin: 0 auto;
}

/* ===================================================================== GLOBAL SWIPER CONTROLS === */
/* Position arrows outside center-left/right */
.ep-prev,
.ep-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, #979ca5 0%, var(--brand-blue) 80%, #292d35);
  color: var(--white);
  border: 1px solid #101215;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-down);
  pointer-events: all;
  font-size: 1.5rem;
}

/* Shift the buttons*/
.ep-prev {
  left: 10px;
}

.ep-next {
  right: 10px;
}

/* Arrows */
.ep-prev::before,
.ep-next::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid white;
  border-right: 2px solid white;
}

.ep-prev::before {
  transform: rotate(-135deg);
}

.ep-next::before {
  transform: rotate(45deg);
}

.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}


/* HIDE ORIGINAL SWIPER CONTROLS */
.swiper-button-next,
.swiper-button-prev {
  display: none !important;
}

.swiper {
  padding: 0 2rem !important;
}

/* ===================================================================== GLOBAL ANIMATION MOVES === */
/* Base: all animate targets */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 1.3s ease, transform 1s ease;
  will-change: opacity, transform;
}

/* When it's in view */
.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translate(0, 0);
}

/* Starting positions */
.animate-left {
  transform: translateX(-100px);
}

.animate-right {
  transform: translateX(100px);
}

.animate-top {
  transform: translateY(-200px);
}

.animate-bottom {
  transform: translateY(200px);
}


/* ===================================================================== HOME PAGE HERO SECTION === */
.hero {
  min-height: 85vh;
  width: 100%;
  background-image: url('https://everypennybooks.com/wp-content/uploads/2025/06/Get-Clear-On-Your-Finances.webp');
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}

.hero-img-mobile {
  display: none;
  z-index: 10;
}

.hero-textbox {
  display: flex;
  flex-direction: column;
  max-width: 55vw;
  margin: 10rem 0 0 0;
  overflow: visible;
  justify-content: flex-start;
  position: relative;
  z-index: 10;
}

.hero-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 5rem);
  min-height: 3rem;
  background: linear-gradient(75deg,
      var(--ribbon-dark) 0%,
      var(--ribbon-light) 10%,
      var(--ribbon-dark) 20%,
      var(--ribbon-darkest) 50%,
      var(--ribbon-dark) 80%,
      var(--ribbon-light) 90%,
      var(--ribbon-dark) 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--ribbon-darkest);
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--ribbon-cut)) 50%, 100% 100%, 0 100%);
  z-index: 15;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.hero-ribbon-shadow {
  content: "";
  position: relative;
  left: -5px;
  width: 108%;
  height: 8px;
  z-index: 10;
  background-color: #000;
  opacity: .6;
  filter: blur(5px);
  bottom: -2.8rem;
}

p.hero-name {
  position: relative;
  left: 5rem;
  top: 0;
  font: 700 clamp(0.875rem, 1.2vw, 1.125rem) var(--font-sans);
  color: var(--white);
  letter-spacing: 5px;
  width: 100%;
  text-transform: uppercase;
  z-index: 50;
  min-height: 3rem;
  display: flex;
  align-items: center;
}


.hero-group {
  position: relative;
  margin: 6.25rem 0 0.5rem 5rem;
  padding: 1.5rem 2rem;
  z-index: 20;
  border: 1px solid var(--brand-blue);
  box-shadow: var(--shadow-down);
  border-radius: var(--radius);
}

.hero-group::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ffffff95;
  border-radius: var(--radius);
  filter: blur(10px);
  z-index: 0;
}

h1.hero-header {
  font: 800 3rem var(--font-serif);
  line-height: 1.3;
  color: var(--font-blue);
  margin-bottom: 2rem;
  z-index: 30;
  position: relative;
}

p.hero-subtext {
  font: 500 clamp(.85rem, 1.5vw, 1.1rem) var(--font-sans);
  color: var(--font-blue);
  line-height: 1.75;
  z-index: 30;
  position: relative;
}

.main-page {
  position: absolute;
  bottom: 5rem;
  left: 5rem;
  z-index: 20;
  background: linear-gradient(to top, #a37e6b 0%, var(--brand-peach) 80%, #f9c0a5);
  color: var(--white);
}

.scroll-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
  font-size: 2rem;
  color: var(--white);
  z-index: 900;
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translatex(-50%);
}

.chevron {
  animation: chevron-bounce 2s infinite;
}

.chevron-2 {
  animation-delay: 0.3s;
}

@keyframes chevron-bounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(6px);
    opacity: 0.6;
  }
}

/* ===================================================================== HOME PAGE WHY CLIENTS === */
.epb-why-clients {
  display: grid;
  grid-template-areas:
    "heading heading heading photo"
    "card1   card2   card3   card4";
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 2rem;
  width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 0;
}

.epb-why-clients::before {
  content: "";
  position: absolute;
  top: 220px;
  left: 0;
  width: 100%;
  height: 50px;
  background: var(--brand-peach);
  transform: translateX(100%);
  z-index: -1;
  transition: transform 1.8s ease-out;
}

.epb-why-clients.animate-ribbon::before {
  transform: translateX(0);
}

.heading {
  grid-area: heading;
  margin-right: 2.5rem;
}

.photo {
  grid-area: photo;
  background: url('https://everypennybooks.com/wp-content/uploads/2025/05/Bouffard_Lourene_2025_01_039_Web-scaled.jpg') no-repeat center / cover;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  border: 1px solid #555;
  box-shadow: var(--shadow-down);
}

.card1 {
  --area: card1;
}

.card2 {
  --area: card2;
}

.card3 {
  --area: card3;
}

.card4 {
  --area: card4;
}

.epb-why-card {
  grid-area: var(--area);
  border-radius: var(--radius);
  border: 1px solid #555;
  box-shadow: var(--shadow-down);
  background-image: var(--accent-mosaic);
  background-color: var(--brand-blue);
  padding: 3rem 2.8rem 2.7rem 2.8rem;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.epb-why-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.card1.animate {
  transition-delay: 0.2s;
}

.card2.animate {
  transition-delay: 0.5s;
}

.card3.animate {
  transition-delay: 0.8s;
}

.card4.animate {
  transition-delay: 1.1s;
}

.epb-why-card h3,
.epb-why-card p {
  margin: 0 0 1rem;
  text-align: center;
  color: var(--font-blue);
}

.epb-why-card h3 {
  font: 800 1.1rem var(--font-sans);
  text-transform: uppercase;
}

.epb-why-card p {
  font: 0.9rem var(--font-sans);
  line-height: 1.5;
}

.epb-why-card::before {
  content: '';
  position: absolute;
  inset: 7%;
  background: #fff;
  border: 5px solid var(--brand-peach);
  border-radius: 20px;
  z-index: -1;
}

/* ===================================================================== HOME PAGE SERVICES SECTION === */
.epb-services-header {
  width: var(--container);
  margin: 0 auto 3rem;
  text-align: center;
}

.epb-services-header .section-sub-text {
  width: 80%;
}

.epb-service-grid {
  display: grid;
  gap: 0 3rem;
  width: var(--container);
  margin: 4rem auto;
}

.epb-grid-3up {
  grid-template-columns: repeat(3, 1fr);
}

.epb-grid-5up {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 4rem;
}

.epb-card {
  display: flex;
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  background: #fff;
  overflow: visible;
}

.epb-service-grid.reveal-color .epb-card:nth-child(1) {
  transition-delay: 0s;
}

.epb-service-grid.reveal-color .epb-card:nth-child(2) {
  transition-delay: 0.2s;
}

.epb-service-grid.reveal-color .epb-card:nth-child(3) {
  transition-delay: 0.4s;
}

.epb-service-grid.reveal-color .epb-card:nth-child(4) {
  transition-delay: 0.6s;
}

.epb-service-grid.reveal-color .epb-card:nth-child(5) {
  transition-delay: 0.8s;
}


.epb-service-card .epb-service-left {
  position: relative;
  width: 20%;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--accent-mosaic) #525a6999 no-repeat center;
}

.epb-service-card .epb-service-ribbon {
  position: absolute;
  top: 30px;
  left: calc(-1 * var(--ribbon-fold));
  background: var(--brand-blue);
  padding: 1rem 1rem 0.7rem 2.2rem;
  width: 420%;
  border-bottom: var(--ribbon-fold) solid rgba(0, 0, 0, 0.1);
  border-right: var(--ribbon-cut) solid transparent;
  clip-path: polygon(100% 0, 0 0,
      0 calc(100% - var(--ribbon-fold)),
      var(--ribbon-fold) 100%,
      var(--ribbon-fold) calc(100% - var(--ribbon-fold)),
      100% calc(100% - var(--ribbon-fold)),
      calc(100% - var(--ribbon-cut)) calc(50% - var(--ribbon-fold)/2));
  z-index: 10;
}

.epb-service-card .epb-service-ribbon h3 {
  margin: 0;
  font: 700 1.4rem var(--font-serif);
  color: var(--white);
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
}

.epb-service-card .epb-service-right {
  flex: 1;
  padding: 6.8rem 1.5rem 2rem;
  background: #fff;
  border: 2px solid #d2d2d2;
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.epb-service-intro {
  margin: 0;
  font: 1rem var(--font-sans);
  color: var(--font-blue);
  line-height: 1.6;
}

.diagnostic {
  --accent: #7e8fb1;
}

.consult {
  --accent: #9599aa;
}

.debt {
  --accent: #a39fac;
}

.payroll {
  --accent: #b3a8aa;
}

.others {
  --accent: #c4aea7;
}

.epb-support-card .support-left {
  position: relative;
  width: 20%;
  background: var(--accent) var(--accent-mosaic);
  border-radius: var(--radius) 0 0 var(--radius);
}

.support-icon {
  position: absolute;
  top: 1rem;
  left: -10px;
  width: 150%;
  padding: 5px 5px 5px 10px;
  background: var(--accent);
  clip-path: polygon(100% 0, 0 0,
      0 calc(100% - 10px),
      10px 100%,
      10px calc(100% - 10px),
      100% calc(100% - 10px),
      calc(100% - 10px) calc(50% - 5px));
}

.support-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff60;
}

.support-icon img {
  width: 30px;
  z-index: 2;
}

.support-right {
  flex: 1;
  padding: 1rem 1rem 1rem 1.3rem;
  background-color: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.support-right h3 {
  margin: 0 0 1rem;
  font: 700 1.1rem var(--font-serif);
  color: var(--font-blue);
}

.support-right p {
  margin: 0 0 1rem;
  font: 0.88rem var(--font-sans);
  line-height: 1.5;
  color: var(--font-blue);
}

.services-cta {
  width: var(--container);
  margin: 4rem auto 0;
  padding: 2rem 0 2.2rem;
  text-align: center;
  background: var(--muted-bg);
  border-radius: var(--radius);
}

.services-cta-text p {
  margin: 0;
  font: 500 clamp(0.85rem, 1.5vw, 1rem) var(--font-sans);
  color: var(--font-blue);
  line-height: 1.4;
}

.services-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* ===================================================================== HOME PAGE TESTIMONIALS === */
.epb-testimonials {
  width: var(--container);
  margin: 4rem auto;
  padding: 0 1rem;
}

.testimonial-swiper {
  position: relative;
  max-width: 100%;
  overflow: visible;
  padding: 1rem;
  margin-top: 2rem;
}

.testimonial-swiper .swiper {
  padding: 1.5rem 0;
}

.swiper-wrapper {
  display: flex;
  overflow: visible;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  border-left: 15px solid var(--brand-peach);
  height: auto;
  min-height: 100%;
  box-sizing: border-box;
  position: relative;
}

.slide-top {
  flex-grow: 1;
  padding: 3rem 3rem 2rem 3rem;
  width: 100%;
}

.slide-top p {
  font: 0.95rem var(--font-sans);
  line-height: 1.5;
  color: var(--font-blue);
  margin: 0;
}

.testimonial-ribbon {
  position: relative;
  bottom: 15px;
  left: calc(-1 * var(--ribbon-fold));
  width: 100%;
  background: #868b96;
  border-bottom: var(--ribbon-fold) solid rgba(0, 0, 0, 0.1);
  border-right: var(--ribbon-cut) solid transparent;
  clip-path: polygon(100% 0, 0 0, 0 calc(100% - var(--ribbon-fold)),
      var(--ribbon-fold) 100%,
      var(--ribbon-fold) calc(100% - var(--ribbon-fold)),
      100% calc(100% - var(--ribbon-fold)),
      calc(100% - var(--ribbon-cut)) calc(50% - var(--ribbon-fold)/2));
  z-index: 10;
  padding: 01rem 1rem 1rem 2rem;
}

.client-name {
  font: 700 1rem var(--font-sans);
  line-height: 1;
  color: var(--white);
  padding-bottom: 0.7rem;
}

.client-comp {
  font: 500 0.8rem var(--font-sans);
  font-style: italic;
  line-height: 1.2;
  color: var(--white);
}

/* ===================================================================== HOME PAGE FAQS === */
.faq-sub-head {
  width: var(--container);
  margin: 0 auto 1rem;
  font: 800 clamp(0.875rem, 1vw, 1.125rem) var(--font-sans);
  color: var(--font-blue);
  Letter-spacing: var(--spacing);
  text-transform: uppercase;
}

.faq-header-mp h2 {
  width: var(--container);
  margin: 0 auto 1rem;
  font: 800 clamp(1.8rem, 2.64vw, 2.375rem) var(--font-serif);
  color: var(--font-blue);
}

.faq-sub-text {
  width: var(--container);
  margin: 0 auto;
  font: 400 clamp(0.85rem, 1.5vw, 1rem) var(--font-sans);
  color: var(--font-blue);
  line-height: 1.6;
}

.epb-faq {
  width: var(--container);
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: 100%;
  margin: 2rem auto;
  min-height: 500px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--muted-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: all var(--ease-med);
}

.faq-column:last-of-type .faq-item:last-of-type {
  margin-bottom: 2rem;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font: 900 1rem var(--font-sans);
  color: var(--font-blue);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle-icon {
  font-size: 1.3rem;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  transition: max-height var(--ease-med), opacity var(--ease-med);
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
  /* big enough for your content */
  opacity: 1;
  margin-top: 1rem;
}

.faq-read-more {
  display: inline-block;
  margin-top: 1rem;
  font: 600 .9rem var(--font-sans);
  color: var(--brand-peach);
  text-decoration: none;
  text-transform: uppercase;
}

.faq-column .epb-button {
  width: 100%;
  max-width: unset;
  display: block;
  text-align: center;
}

/* ===================================================================== HOME PAGE RESOURCES === */
.resources-cta {
  width: var(--container);
  margin: 0 auto;
  padding: 3rem;
  background: #ffffff50;
  border-radius: var(--radius);
}

.resources-cta-text {
  margin-bottom: 2rem;
  font: 500 clamp(0.85rem, 1.5vw, 1rem) var(--font-sans);
  color: var(--font-blue);
  line-height: 1.4;
  text-align: center;
}

.resources-cta .epb-button {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 350px;
  text-align: center;
}

.resources-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: 3rem;
  margin: 2rem auto;
}

.resource-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  background: #fff;
  border: 1px solid #333333;
  padding: 1rem;
  text-decoration: none;
}

.resource-card-img {
  object-fit: contain;
  display: block;
  border-radius: 15px;
  border: 1px solid #777777;
  width: 100%;
}

.resource-title {
  padding-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--font-blue);
  text-align: center;
}

.resource-caption {
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 700;
  color: var(--font-blue);
  text-align: center;
  margin-top: auto;
  background-color: #eee;
  border-radius: 15px;
}

.resource-subtext {
  padding: 1rem 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--font-blue);
}

/* ===================================================================== CATEGORY PILLS === */
.ribbon-tag-container {
  margin: 1rem 0 0;
  display: flex;
  justify-content: center;
  gap: 0.5em;
  flex-wrap: wrap;
}

.ribbon-tag-container .ribbon-tag:only-child {
  margin: 0 auto;
  /* Center single tag */
}

.ribbon-topic-accounting-basics,
.filter-btn.cat-accounting-basics {
  background-color: #6A5ACD;
}

.ribbon-topic-software-tools,
.filter-btn.cat-software-tools {
  background-color: #20B2AA;
}

.ribbon-topic-business-finance,
.filter-btn.cat-business-finance {
  background-color: #FF7F50;
}

.ribbon-topic-bookkeeping-tips,
.filter-btn.cat-bookkeeping-tips {
  background-color: #4682B4;
}

.ribbon-topic-industry-news,
.filter-btn.cat-industry-news {
  background-color: #FF69B4;
}

.ribbon-topic-tax-topics,
.filter-btn.cat-tax-topics {
  background-color: #9ACD32;
}

.ribbon-tag,
.ribbon-tag-blog {
  color: #fff;
  font-weight: 600;
  padding: 0.25em 0.75em;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-block;
  margin: 0;
}

.ribbon-tag {
  scale: 0.7;
}

.ribbon-tag-blog {
  scale: 0.9;
}

/* ===================================================================== HOME PAGE CTA === */
.epb-final-cta {
  max-width: 500px;
  margin: 0 auto 0 5vw;
  background: white;
  border-radius: var(--radius);
  border: 2px solid var(--font-blue);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-down);
}

h2.cta-header {
  font: 700 1.8rem var(--font-serif);
  color: var(--font-blue);
  margin-bottom: 1.5rem;
}

.epb-final-cta-text {
  font: 400 1rem var(--font-sans);
  line-height: 1.5;
  color: var(--font-blue);
  margin-bottom: 1.5rem;
}

/* ===================================================================== ALL PAGE HEADER SECTION === */
.page-intro {
  display: block;
  width: 60%;
  margin: 0 auto;
}

/* ===================================================================== ABOUT PAGE === */
.about-story {
  background-color: var(--white);
  border: 10px solid var(--brand-peach);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 0 auto;
}

.about-story .section-header {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--font-blue);
  margin-bottom: 1rem;
}

.about-story-text p {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--font-blue);
  line-height: 1.6;
  margin: 0 auto;
}

.about-intro {
  width: var(--container);
  margin: 0 auto 4rem;
  text-align: center;
}

.about-intro .section-sub-head,
.about-intro .section-header,
.about-intro .section-sub-text {
  margin-left: auto;
  margin-right: auto;
}

.about-community-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: var(--container);
  margin: 0 auto 4rem;
  gap: 3rem;
  align-items: stretch;
}

.community-div1 {
  grid-area: 1 / 1 / 2 / 2;
}

.community-div2 {
  grid-area: 1 / 2 / 2 / 3;
}

.community-div3 {
  grid-area: 1 / 3 / 2 / 4;
}

.about-community-card {
  display: flex;
  flex-direction: row;
  border-radius: var(--radius);
  overflow: visible;
  background: transparent;
  box-shadow: var(--shadow-down);
  height: 100%;
}

.about-community-left {
  background: var(--accent-mosaic) var(--brand-peach) no-repeat center;
  width: 15%;
  position: relative;
  border-radius: var(--radius) 0 0 var(--radius);
}

.about-community-ribbon {
  --f: 15px;
  --r: 20px;
  position: absolute;
  top: 30px;
  background: var(--brand-blue);
  width: 650%;
  padding: 1rem 1rem 0.7rem 1.5rem;
  border-bottom: var(--f) solid #0005;
  left: calc(-1 * var(--f));
  border-right: var(--r) solid #0000;
  clip-path: polygon(100% 0, 0 0, 0 calc(100% - var(--f)),
      var(--f) 100%, var(--f) calc(100% - var(--f)),
      100% calc(100% - var(--f)),
      calc(100% - var(--r)) calc(50% - var(--f)/2));
  z-index: 10;
}

.about-community-ribbon h3 {
  font-family: var(--font-sans);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  text-shadow: 0 2px 3px #0009;
  line-height: 1.5rem;
  margin: 0;
}

.about-community-ribbon-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-community-ribbon-content img {
  height: 2.5rem;
  width: auto;
  display: inline-block;
}

.about-community-right {
  display: flex;
  flex-direction: column;
  background: var(--white);
  width: 85%;
  padding: 7rem 1.5rem 2rem 1.5rem;
  border: 2px solid #d2d2d2;
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
  justify-content: flex-start;
}

.about-community-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 1rem;
  flex-grow: 1;
}

.about-community-intro {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--font-blue);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}



/* ===================================================================== ABOUT PAGE TEAM === */
.epb-team-section {
  width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.team-row-featured,
.team-row-support {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 3rem;
}

.team-row-featured {
  margin-top: calc(2rem + 100px);
  margin-bottom: calc(6rem + 60px);
}

/* Featured Cards (Top Row: Lourene & Kali) */
.team-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  text-align: center;
  padding: 2rem;
  min-width: 280px;
  border: 1px solid #000;
}

.team-row-featured .team-card {
  width: 50%;
}

.team-card img {
  position: relative;
  top: -100px;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--brand-peach);
  filter: drop-shadow(var(--shadow-down));
  z-index: 2;
  margin-bottom: -6rem;
}

/* Support Cards (Bottom Row: Jason, Judie, Britiny) */
.team-small img {
  position: relative;
  top: -60px;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--brand-peach);
  margin-bottom: -4rem;
  background: #fff;
  filter: drop-shadow(var(--shadow-down));
}

.team-name {
  font: 900 1.6rem var(--font-serif);
  color: var(--font-blue);
  margin: 0.5rem 0 0;
}

.team-small .team-name {
  font: 800 1.2rem var(--font-serif);
}

.team-title {
  font: 700 1rem var(--font-sans);
  color: var(--font-blue);
  margin-bottom: 0.6rem;
}

.team-small .team-title {
  font: 700 0.9rem var(--font-sans);
}

.team-cred {
  font: 400 0.8rem var(--font-sans);
  color: var(--font-blue);
  line-height: 1.4;
}

/* ===================================================================== SERVICES PAGE === */
.service-card {
  display: flex;
  flex-wrap: wrap;
  width: var(--container);
  border-radius: var(--radius);
  background: transparent;
  margin-bottom: 4rem;
  font-family: var(--font-sans);
  color: var(--brand-blue);
  box-shadow: 0 0 20px #00000040;
  justify-self: center;
  z-index: 100;
}

.service-left {
  background: url('https://everypennybooks.com/wp-content/uploads/2025/04/Mosaic.png') no-repeat center;
  background-color: var(--brand-blue);
  color: white;
  flex: 1;
  max-width: 380px;
  padding: 2.5rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius) 0 0 var(--radius);
}

.service-ribbon {
  --f: 15px;
  --r: 20px;
  position: absolute;
  top: 40px;
  width: 120%;
  background: var(--font-blue);
  padding: 1rem 3rem;
  border-bottom: var(--f) solid #0005;
  left: calc(-1*var(--f));
  border-right: var(--r) solid #0000;
  clip-path: polygon(100% 0, 0 0, 0 calc(100% - var(--f)),
      var(--f) 100%, var(--f) calc(100% - var(--f)),
      100% calc(100% - var(--f)),
      calc(100% - var(--r)) calc(50% - var(--f)/2));
  z-index: 300;
}

.service-ribbon h3 {
  margin-top: 10px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
}

.service-left .ribbon-shadow {
  top: 78px;
  left: -2rem;
}

.service-photo {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
}

.service-photo img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 3px solid var(--brand-peach);
}

.service-right {
  flex: 2;
  background: #fff;
  min-width: 400px;
  padding: 2.5rem 2rem 2rem 7rem;
  border: 2px solid #d2d2d2;
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
}

.service-content {
  width: 100%;
}

.service-subhead {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-blue);
}

.service-intro {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-list {
  list-style-type: disc;
  padding-left: 1.2rem;
  font-size: 1rem;
}

.service-audience {
  max-width: var(--container);
  margin: -2rem auto 3rem auto;
  padding: 2rem;
  text-align: left;
  background: #eeeeee80;
  border-radius: var(--radius);
}

.service-audience p {
  margin: 0 0 1rem 1.2rem;
  font-weight: 600;
  color: #4a535f;
  font-size: 1rem;
}

.service-trust ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 0.5rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  color: var(--brand-blue);
}

.service-trust li {
  position: relative;
  padding-left: 1.6em;
  line-height: 2;
}

.trust-icon {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.1rem;
  color: var(--brand-peach);
  line-height: 1;
}

/* SUPPORT SERVICES CARDS */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 1rem auto 4rem auto;
  max-width: 90%;
}

.support-card {
  display: flex;
  flex-direction: row;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-down);
  border: 1px solid #e0e0e0;
  overflow: visible;
}

.support-icon-wrapper {
  position: relative;
  width: 80px;
  background-color: var(--accent, var(--light-gray));
  background-image: url('https://everypennybooks.com/wp-content/uploads/2025/04/Mosaic.png');
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: var(--radius) 0 0 var(--radius);
}

.support-ribbon {
  position: absolute;
  top: 1rem;
  left: -10px;
  width: calc(100% + 20px);
  background: var(--accent);
  padding: 0.5rem;
  border-bottom: 10px solid rgba(0, 0, 0, 0.2);
  border-right: 10px solid transparent;
  clip-path: polygon(100% 0, 0 0, 0 calc(100% - 10px),
      10px 100%, 10px calc(100% - 10px),
      100% calc(100% - 10px),
      90% 50%);
  z-index: 1;
}

.support-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(100% + 20px);
  background: #ffffff60;
  pointer-events: none;
  z-index: 2;
}

.support-ribbon img {
  display: block;
  width: 60px;
  height: auto;
  z-index: 2;
  position: relative;
  inset: 0;
  margin: auto;
}

.support-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.support-content h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--font-blue);
  margin: 0 0 0.75rem;
}

.support-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 1rem;
}

.support-content a.epb-button {
  font-size: 0.95rem;
  align-self: start;
}

.support-diagnostic {
  --accent: #7e8fb1;
}

.support-consult {
  --accent: #9599aa;
}

.support-debt {
  --accent: #a39fac;
}

.support-payroll {
  --accent: #b3a8aa;
}

.support-other {
  --accent: #c4aea7;
}

.support-unsure {
  --accent: #aaa;
}


/* ===================================================================== FAQ PAGE === */
.epb-faq-section {
  position: relative;
  width: 85%;
  margin: 0 auto 8rem auto;
  padding: 9rem 3rem 2rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  background-color: var(--white)
}

.epb-faq-heading {
  --f: 15px;
  --r: 20px;
  position: absolute;
  top: 2rem;
  width: 65%;
  padding: 1.5rem 1rem 1.5rem 2.5rem;
  background-color: var(--accent, #000);
  color: #fff;
  font: 900 1.5rem/1 var(--font-sans);
  text-transform: uppercase;
  border-bottom: var(--f) solid #0005;
  left: calc(-1 * var(--f));
  border-right: var(--r) solid transparent;
  clip-path: polygon(100% 0, 0 0, 0 calc(100% - var(--f)), var(--f) 100%, var(--f) calc(100% - var(--f)), 100% calc(100% - var(--f)), calc(100% - var(--r)) calc(50% - var(--f) / 2));
  z-index: 10;
}

.epb-faq-topic--getting-started {
  --accent: #7e8fb1;
}

.epb-faq-topic--bookkeeping {
  --accent: #9599aa;
}

.epb-faq-topic--strategy {
  --accent: #a39fac;
}

.epb-faq-topic--policy {
  --accent: #b3a8aa;
}

.epb-faq-topic--personal {
  --accent: #c4aea7;
}

.epb-faq-item {
  margin-bottom: 5rem;
}

.epb-faq-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.epb-faq-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 20px;
  font: 900 20px/1 "Roboto", sans-serif;
  flex-shrink: 0;
}

.epb-faq-marker--q {
  background-color: var(--accent, #000);
  color: #fff;
}

.epb-faq-marker--a {
  background: transparent;
  border: 2px solid var(--accent, #000);
  color: var(--accent, #000);
}

.epb-faq-text {
  margin: 0;
}

.epb-faq-text--question {
  font: 900 1rem/1.4 "Roboto", sans-serif;
}

.epb-faq-text--answer {
  font: 500 1rem/1.5 "Roboto", sans-serif;
}

/* ===================================================================== TESTIMONIAL PAGE === */
.epb-testimonial-wrap {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid #aaa;
  background-color: var(--brand-blue);
  background-image: url('https://everypennybooks.com/wp-content/uploads/2025/04/Mosaic.png');
  box-shadow: 0 4px 10px #00000050;
  align-items: flex-start;
}

.epb-testimonial-left {
  width: 25%;
}

.epb-testimonial-img {
  margin-bottom: 2rem;
}

.epb-testimonial-img img {
  border-radius: 25px;
  border: 3px solid #fff;
}

.epb-testimonial-meta {
  position: relative;
  background-color: var(--brand-peach);
  border-radius: 5px;
  padding: 0.5rem;
  text-align: center;
}

.epb-testimonial-meta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: 90%;
  width: 95%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at top left, var(--brand-peach) 15px, transparent 16px),
    radial-gradient(circle at top right, var(--brand-peach) 15px, transparent 16px),
    radial-gradient(circle at bottom left, var(--brand-peach) 15px, transparent 16px),
    radial-gradient(circle at bottom right, var(--brand-peach) 15px, transparent 16px);
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: 1;
}

.epb-meta-client,
.epb-meta-company {
  position: relative;
  font-family: "Roboto", sans-serif;
  z-index: 2;
}

.epb-meta-client {
  font-size: 18px;
  font-weight: 900;
}

.epb-meta-company {
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
}

.epb-testimonial-right {
  width: 75%;
  padding: 2rem;
  background-color: #fff;
  border: 10px solid var(--brand-peach);
  border-radius: 25px;
}

.epb-testimonial-header h2 {
  font-family: "Libre Baskerville", serif;
  font-size: 24px;
  margin-bottom: 2rem;
}

.epb-testimonial-text {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.epb-testimonial-grid {
  column-count: 3;
  column-gap: 2rem;
}

.epb-testimonial-card {
  display: inline-block;
  width: 100%;
  padding: 2rem 40px 4rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  border-left: 15px solid var(--brand-peach);
  margin-bottom: 4rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--font-blue);
  position: relative;
  break-inside: avoid-column;
  transition: transform 0.3s, box-shadow 0.3s;
}


.lisa.epb-testimonial-card,
.jenni.epb-testimonial-card,
.jeff.epb-testimonial-card {
  border-left: 15px solid #7e8fb1;
}

.vallis.epb-testimonial-card,
.amy.epb-testimonial-card {
  border-left: 15px solid #c4aea7;
}

.ginny.epb-testimonial-card {
  border-left: 15px solid #a39fac;
}

.steve.epb-testimonial-card,
.denis.epb-testimonial-card {
  border-left: 15px solid #b3a8aa;
}

.dan.epb-testimonial-card,
.tiffany.epb-testimonial-card {
  border-left: 15px solid #9599aa;
}

.epb-testimonial-card p {
  margin-bottom: 3rem;
}

.epb-testimonial-ribbon {
  --f: 12px;
  --r: 16px;
  position: absolute;
  bottom: 20px;
  left: calc(-1 * var(--f));
  width: 90%;
  padding: 0.5rem 1rem 0.4rem 1.6rem;
  background: #555;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.1rem;
  font-weight: 700;
  border-bottom: var(--f) solid rgba(0, 0, 0, 0.1);
  border-right: var(--r) solid transparent;
  clip-path: polygon(100% 0, 0 0, 0 calc(100% - var(--f)), var(--f) 100%,
      var(--f) calc(100% - var(--f)), 100% calc(100% - var(--f)),
      calc(100% - var(--r)) calc(50% - var(--f)/2));
  z-index: 10;
}

.epb-cta {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 3rem 2.8rem 3rem;
  background: #F7F7F7;
  border-radius: var(--radius);
}

.epb-cta-text {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--font-blue);
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.8;
}

.epb-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* ===================================================================== RESOURCE PAGE FREEBIE OPT IN === */
.epb-optin-promo {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  padding: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.epb-optin-promo::after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  background-color: #ffffff50;
  z-index: 2;
  border-radius: var(--radius);
}

.epb-optin-left {
  flex: 0 0 auto;
  z-index: 15;
}

.epb-optin-img {
  width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
}

.epb-optin-right {
  flex: 1 1 auto;
  z-index: 15;
}

.epb-optin-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  line-height: 1.8rem;
  font-weight: 800;
  color: var(--font-blue);
  margin-bottom: 0.5rem;
}

.epb-optin-desc {
  font-family: var(--font-sans);
  font-size: .9rem;
  line-height: 1.1rem;
  font-weight: 500;
  color: var(--font-blue);
}

.rp-opt {
  display: flex;
  align-content: center;
  justify-content: center !important;
  height: 100%;
}

.rp-opt .et_pb_newsletter_form {
  padding-top: 0;
}

/* ===================================================================== RESOURCE PAGE BLOG === */
#blog-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0.5rem 0 4rem 0;
  padding: 1rem;
  background: #efefef;
  border-radius: var(--radius);
}

#blog-category-filters .filter-btn {
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font: 600 0.85rem var(--font-sans);
  transition: background 0.3s ease;
}

.filter-btn[data-filter="*"] {
  background-color: #bbb;
  color: #000000;
}

p.filter-title {
  margin-top: 3rem;
}

#blog-category-filters .filter-btn.active,
#blog-category-filters .filter-btn:hover {
  scale: 1.1;
}

.ribbon-tag-container-blog {
  margin: 0 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  margin-top: 1.5rem;
  align-items: stretch;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  overflow: visible;
  color: var(--font-blue);
  transition: box-shadow var(--ease-med);
  width: 100%;
  justify-content: space-between;
  position: relative;
  font-family: var(--font-sans);
}

.blog-card,
.blog-content,
.blog-title {
  box-sizing: border-box;
}

.blog-img-link {
  display: block;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  overflow: hidden;
}

.blog-card .feature-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: scale var(--ease-med);
}

.blog-title {
  margin-left: calc(-1 * var(--ribbon-fold));
  margin-top: -1rem;
  margin-bottom: 1rem;
  min-height: 6rem;
  width: 90%;
  background: var(--brand-blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.3rem;
  font-weight: 700;
  border-bottom: var(--ribbon-fold) solid rgba(0, 0, 0, 0.1);
  border-right: var(--ribbon-cut) solid transparent;
  clip-path: polygon(100% 0, 0 0, 0 calc(100% - var(--ribbon-fold)), var(--ribbon-fold) 100%,
      var(--ribbon-fold) calc(100% - var(--ribbon-fold)), 100% calc(100% - var(--ribbon-fold)),
      calc(100% - var(--ribbon-cut)) calc(50% - var(--ribbon-fold)/2));
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0.8rem 1.1rem 0.8rem 2rem;
}

.blog-title-link {
  text-decoration: none;
  color: var(--white);
  display: inline-block;
  width: 100%;
}

.blog-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  flex-grow: 1;
}

.blog-meta {
  font: 600 italic 0.8rem/1.3 var(--font-sans);
  color: var(--font-blue);
  margin: 1.1rem 0 0;
  min-height: 1.5rem;
  padding: 0 1rem;
}

p.blog-excerpt {
  font: 400 0.95rem/1.6 var(--font-sans);
  color: var(--font-blue);
  margin: 0;
  padding: 1rem;
  flex-grow: 1;
}

.read-post {
  font: 700 0.85rem var(--font-sans);
  color: #bc2018;
  margin-top: auto;
  padding: 1.5rem 1rem;
  text-decoration: none;
}

.read-post:hover,
.blog-title-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.blog-card .feature-img:hover {
  scale: 1.1;
  overflow: hidden;
}

.epb-post-nav-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
}

.epb-post-nav {
  font-weight: 700;
  text-decoration: none;
  background: var(--brand-peach);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  transition: all var(--ease-med);
}

.epb-post-nav:hover {
  background: var(--font-blue);
  color: white;
  transform: translateY(-2px);
}


/* ===================================================================== RESOURCE PAGE NEWSLETTER === */
.epb-news {
  width: var(--container);
  margin: 0 auto 4rem auto;
}

.epb-news__intro {
  margin-bottom: 2rem;
}

.epb-news__header {
  font-size: 2rem;
  color: var(--font-blue);
  margin-bottom: 1rem;
}

.epb-news__desc {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-left: 2rem;
}

.epb-newsletter-carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}

#grid-newsletter {
  overflow: visible;
  margin: 0 auto;
  position: relative;
}

#grid-newsletter .swiper-slide {
  display: flex;
  justify-content: center;
  padding: 1rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.newsletter-year {
  font-size: 1.5rem;
  font-family: var(--font-sans);
  margin-bottom: 1rem;
  text-align: center;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

.newsletter-card {
  background: #fff;
  border: 1px solid #111;
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  width: 100%;
  min-height: 260px;
  box-shadow: var(--shadow-down);
  transition: box-shadow 0.2s ease;
}

.newsletter-card a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-decoration: none;
}

.newsletter-card h3 {
  font-size: 0.95rem;
  font-family: var(--font-sans);
  line-height: 1.2rem;
  color: var(--font-blue);
  margin: 0;
}

#grid-newsletter .newsletter-image {
  display: block !important;
  width: 100%;
  max-height: 100px;
  object-fit: cover;
  margin: 0.75rem 0;
  border-radius: 10px;
}

.newsletter-card .date {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #000;
  margin: 0;
}

/* ===================================================================== RESOURCE PAGE BOOKS === */
.book-carousel {
  overflow: hidden;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 0.5rem;
  position: relative;
}

#book-carousel-container .swiper-slide {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 100%;
  justify-content: center;
  padding: 1rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
  /* force equal vertical layout */
}

.book-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 1.5rem;
  gap: 1.5rem;
  box-shadow: var(--shadow-down);
  align-items: flex-start;
  transition: box-shadow 0.3s ease;
  width: 100%;
  /* fill grid column cleanly */
}


.book-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.book-cover {
  width: 90px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.book-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.book-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.book-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--font-blue);
  margin: 0;
}

.book-author {
  font-size: 0.9rem;
  color: #777;
}

.book-blurb {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
  margin: 0.5rem 0;
}

.book-link {
  font-weight: bold;
  font-size: 0.9rem;
  color: #bc2018;
  text-decoration: none;
}

.book-link:hover {
  text-decoration: underline;
}

/* ===================================================================== LIBRARY RESOURCE PAGE === */
.epb-library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 0 auto;
  width: var(--container);
}

.epb-library-card {
  background: #fff;
  border: 1px solid #555;
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  overflow: hidden;
  padding: 1.5rem;
}

h3.epb-library-title {
  font: 800 1.2rem var(--font-sans);
  margin-bottom: 1.2rem;
  text-align: center;
  padding-bottom: 0;
}

.epb-library-title a {
  color: var(--font-blue);
  text-decoration: none;
}

.library-card-contents {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.epb-library-img {
  display: block;
  object-fit: cover;
  max-width: 220px;
  border-radius: var(--radius);
  border: 1px solid #000000;
}

.epb-library-desc {
  font: .9rem var(--font-sans);
  line-height: 1.2;
  color: var(--font-blue);
}

/* ===================================================================== DOWNLOAD PAGE === */
.epb-download-wrapper {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin: 0 auto;
  width: var(--container);
  padding: 2rem;
  border: 1px solid #555;
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
}

.epb-download-left {
  width: 40%;
}

.epb-download-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.epb-download-image {
  display: block;
  object-fit: cover;
  max-width: 350px;
  border-radius: var(--radius);
  border: 1px solid #000000;
}

h1.epb-download-title {
  font: 800 1.4rem var(--font-sans);
  margin-bottom: 1.5rem;
  color: var(--font-blue);
}

.epb-download-desc {
  font: 500 1rem var(--font-sans);
  margin-bottom: 1rem;
  color: var(--font-blue);
}

/* ===================================================================== CONTACT PAGE === */
.contact-info-buttons {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  justify-content: space-between;
  text-align: center;
  padding: 0 0 3rem;
  width: var(--container);
  margin: 0 auto;
  scale: 0.85;
}

.contact-info-buttons .bottom {
  pointer-events: none;
}

.contact-btn {
  display: inline-block;
  width: 100%;
}

.contact-btn svg {
  margin-bottom: .7rem;
}

.contact-info-wrap {
  display: flex;
  gap: 2rem;
  background-image: url('https://everypennybooks.com/wp-content/uploads/2025/04/Mosaic.png');
  background-color: var(--brand-blue);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-down);
  width: var(--container);
  margin: 0 auto;
}

.contact-info-left {
  width: 60%;
}

.contact-info-right {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: #fff;
  border: 5px solid var(--brand-peach);
  border-radius: 25px;
  padding: 2rem;
  gap: 1.5rem;
}

h3.contact-info-header {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 0.6rem;
  font-family: var(--font-sans);
  color: var(--font-blue);
}

p.contact-intro {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  color: var(--font-blue);
}

h4.contact-sec {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 2.5rem 0 0.5rem 0;
  font-family: var(--font-sans);
  color: var(--font-blue);
}

p.contact-text {
  font-size: 1rem;
  line-height: 2;
  font-family: var(--font-sans);
  color: var(--font-blue);
  transform: translatex(1rem);
}

p.contact-note {
  font-size: 1rem;
  font-style: italic;
  margin: 1rem 0;
  font-family: var(--font-sans);
  color: var(--font-blue);
}

#epb-contact-form {
  display: flex;
  flex-flow: column nowrap;
  gap: 0.5rem;
}

#epb-contact-form input,
#epb-contact-form textarea {
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-family: "Roboto", sans-serif;
}

#epb-contact-form button {
  padding: 0.75rem;
  background-color: var(--brand-peach);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

/* thank-you box (if you want finer control) */
#epb-thanks {
  display: none;
  background: #e6ffed;
  border: 1px solid #88c18d;
  color: #2d5f3d;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 6px;
  font-weight: 600;
}

/* ===================================================================== FOOTER === */
.epb-footer-top {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 2rem;
  padding: 5rem 3rem 2rem;
}

.footer-info-col,
.footer-service-col,
.footer-nav-col {
  flex: 1;
}

.footer-email-col {
  flex: 2;
}

.footer-service-col {
  padding-left: 3rem;
}

.epb-footer-top h3 {
  font: 800 1rem var(--font-sans);
  color: var(--white);
}

.epb-footer-top ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font: 500 0.85rem/2rem var(--font-sans);
  color: var(--white);
}

.footer-info-col {
  display: flex;
  flex-flow: column wrap;
  gap: 2rem;
  justify-content: center;
}

.footer-info-col h3 {
  text-align: center;
}

.footer-logo img {
  display: block;
  margin: 0 auto;
}

.footer-social {
  display: flex;
  flex-flow: row wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 1rem 0;
}

.footer-social a {
  color: var(--white);
  font-size: 1.6rem;
}

.footer-links a {
  color: var(--white);
}

.indicates-required {
  font: 400 italic 0.8rem var(--font-sans);
  color: var(--white);
  margin: 1rem 0;
}

.asterisk {
  color: red;
}

.mc-field-group {
  margin-bottom: 1rem;
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}

.mc-field-group label {
  flex: 1;
  font: 700 0.85rem var(--font-sans);
  color: var(--white);
}

.mc-field-group input {
  flex: 2;
  border-radius: var(--radius);
  padding: 6px 15px;
}

.mce-EMAIL {
  display: inline-block;
}

.foot .button {
  font: 800 0.85rem var(--font-sans);
  color: var(--white);
  border-radius: var(--radius);
  width: 100%;
  padding: 6px;
  background-color: var(--brand-peach);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  pointer-events: auto;
  cursor: pointer;
}

.footer-bottom {
  padding: 1rem;
  text-align: center;
}

p.footer-copy,
span.footer-credit,
.footer-bottom a {
  font: 400 0.8rem var(--font-sans);
  color: var(--white);
}

p.epb-subtext {
  text-align: center;
  font-size: clamp(1rem, 1.2vw + .8rem, 1.25rem);
  line-height: 1.5;
  color: var(--white);
}

.epb-post-heading {
  width: 80%;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;  
  align-items: center;    
  padding: 0;
  margin: 0 auto;
  text-align: center;  
}

.epb-meta-image img {
  max-width: 400px;
  height: auto;
  border-radius: 10px;
}

h2.blog-subtext-post {
  font: 700 1.2rem var(--font-sans);
  color: var(--white);
}

.blog-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center; 
  margin-top: 1rem;
}

.blog-meta-line p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--font-blue);
}

.meta-writer {
  font-weight: 700;
}

.meta-date {
  font-style: italic;
}

h3.scriptlesssocialsharing__heading {
 font-size:16px; 
}

.ebp-blog-post-dynamic h1,
.ebp-blog-post-dynamic h2,
.ebp-blog-post-dynamic h3,
.ebp-blog-post-dynamic h4 {
  background-color: #e0bead;
  padding:1rem;
  border-radius: 10px;
  margin: 3rem 0 1.5rem;
}

.blog-sidebar {
margin-top: 0;
}

.post-card {
      background-color: #2d3a52;
      border-radius: 30px;
      padding: 1rem 2rem;
    }
    
.blog-1,
.blog-2,
.blog-3 {
      margin-bottom: 4rem;
    }


/* ===================================================================== MEDIA QUERIES === */
/* @media (max-width: 1920px) {  
--nothing yet but could use some font size adjustments here

  } */


/* @media (max-width: 1536px) {
--nothing yet

  } */


@media (max-width:1366px) {
  .hero-textbox {
    margin: 7rem 0 0;
  }

  h1.hero-header {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
  }

  p.hero-subtext {
    font-size: clamp(0.7rem, 1.2vw, 1rem);
  }

  .main-page {
    bottom: 2rem;
    margin-bottom: 0rem;
  }

  .main-page .epb-button {
    font: 700 13px var(--font-sans);
  }

  .epb-service-grid {
    gap: 0 2rem;
  }

  .epb-why-clients::before {
    height: 40px;
  }

  .epb-why-card {
    padding: 3rem 2.5rem 2rem;
  }

  .epb-why-card h3 {
    font: 800 1rem var(--font-sans);
  }

  .wpb-why-card p {
    font: 0.8rem var(--font-sans);
  }
}

@media (max-width:1280px) {
  .h2.section-header {
    font: 800 clamp(1.8rem, 2.6vw, 2rem)var(--font-serif);
  }

  .epb-why-clients::before {
    top: 40px;
  }

  .epb-why-clients {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "heading photo"
      "card1   card2"
      "card3   card4";
    background: transparent;
  }

  .epb-why-card {
    padding: 3rem 5rem 2.5rem;
  }

  .heading {
    margin-right: 0;
  }

  .photo {
    justify-self: center;
  }

  .slide-top p {
    font: 0.85rem/1.3 var(--font-sans);
  }

  .client-name {
    padding-bottom: 0.5rem;
    ;
  }
}

@media (max-width:1024px) {
  .epb-why-card {
    /* shave off a little padding */
    padding: 2rem 1.5rem;
  }

  .epb-why-card h3 {
    /* scale headings down just a hair */
    font-size: clamp(1rem, 2vw, 1.1rem);
  }

  .epb-why-card p {
    /* likewise for the copy */
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    line-height: 1.4;
  }

  .epb-grid-5up {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 20px;
  }

  .epb-support-card .support-right h3 {
    font-size: clamp(1rem, 2vw, 1.1rem);
  }

  .epb-support-card .support-right p {
    font-size: clamp(0.75rem, 1.2vw, 0.88rem);
    line-height: 1.4;
  }

  .epb-service-card .epb-service-intro {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
  }

  .epb-service-card .epb-service-ribbon h3 {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
  }
}

@media (max-width: 768px) {
  .epb-why-clients {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "photo"
      "card1"
      "card2"
      "card3"
      "card4";
  }

  .heading,
  .photo,
  .epb-why-card {
    margin: 0 auto;
  }

  .faq-columns {
    flex-direction: column;
  }
}


@media screen and (max-width: 1024px) {
  .epb-nav__default {
    width: 90%;
  }

  .nav-link {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 840px) {
  .epb-nav__default {
    grid-template-columns: repeat(4, 1fr) 120px repeat(4, 1fr);
  }

  .epb-nav__logo {
    width: 120px;
  }

  .epb-nav__logo img {
    max-width: 100px;
  }
}

@media screen and (max-width: 800px) {

  .epb-nav__default,
  .epb-nav__collapsed {
    display: none !important;
  }

  .epb-nav__mobile {
    display: block;
  }
}

@media screen and (max-width: 500px) {
  .mobile-logo {
    width: 50%;
  }
}


@media (max-width: 1024px) {
  .hero-textbox {
    max-width: 50vw;
    padding: 1.5rem;
  }

  .hero-content {
    padding: 1rem 1.5rem;
    gap: 0.5rem;
  }

  .hero-name {
    font-size: clamp(0.75rem, 1vw, 1rem);
  }

  .hero-header {
    font-size: clamp(1.4rem, 2.2vw, 2.4rem);
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    background: none;
  }

  .hero-textbox {
    margin: 0 auto;
    max-width: 95vw;
    padding: 1.2rem;
    transform: none;
  }

  .hero-textbox::before {
    transform: none;
    /* remove skew */
    border-radius: var(--radius);
    background: var(--overlay-white);
  }

  .hero-content {
    padding: 1rem;
    text-align: center;
    align-items: center;
  }

  .hero-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .hero-header {
    font-size: clamp(1.2rem, 5vw, 2rem);
  }

  .hero-subtext {
    font-size: clamp(0.85rem, 4vw, 1rem);
  }

  .hero-img-mobile {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    background: url('https://everypennybooks.com/wp-content/uploads/2025/05/EPB-Lourene-Coffee-Hero.webp') center/cover no-repeat;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-textbox {
    padding: 1rem;
    margin-left: 0;
  }

  .hero-content {
    padding: 0.75rem;
    gap: 0.4rem;
  }

  .hero-header {
    font-size: 1.3rem;
  }

  .hero-subtext {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}