/*
 Theme Name:   Graffeo
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       1905 New Media
 Author URI:   https://1905newmedia.com
 Template:     generatepress
 Version:      0.1
*/

/* ── Root tokens ── */
:root {
  --font-primary: 'Figtree', sans-serif;
  --fw-regular:   400;
  --fw-semibold:  600;
  --fw-bold:      700;
  --color-body:   #545454;
}

/* ── Base ── */
body {
  font-family: var(--font-primary);
  font-weight: var(--fw-regular);
  font-size: 16px;
  line-height: 26px;
  color: var(--color-body);
}

/* ── Headings ── */
h1, .h1 {
  font-family: var(--font-primary);
  font-size: 52px;
  font-weight: var(--fw-regular);
  line-height: 64px;
  letter-spacing: 0;
  text-transform: none;
}

h2, .h2 {
  font-family: var(--font-primary);
  font-size: 42px;
  font-weight: var(--fw-regular);
  line-height: 42px;
  letter-spacing: 0;
  text-transform: none;
}

h3, .h3 {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: var(--fw-regular);
  line-height: 28px;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 8px;
}

h4, .h4 {
  font-family: var(--font-primary);
  font-size: 21px;
  font-weight: var(--fw-regular);
  line-height: 26px;
  letter-spacing: 0;
  text-transform: none;
}

h5, .h5 {
  font-family: var(--font-primary);
  font-size: 21px;
  font-weight: var(--fw-semibold);
  font-style: italic;
  line-height: 28px;
  letter-spacing: 0;
  text-transform: none;
}

h6, .h6 {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: var(--fw-semibold);
  font-style: italic;
  line-height: 17px;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 16px;
}

/* ── Paragraphs ──
   NOTE: No font-size declared here intentionally.
   body font-size (16px) cascades down naturally.
   The block editor's inline font-size will always win. ── */
p {
  font-family: var(--font-primary);
  font-weight: var(--fw-regular);
  line-height: 26px;
  letter-spacing: 0;
  margin-bottom: 16px;
}

/* ── Text styles ── */
.p-large {
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: var(--fw-regular);
  line-height: 29px;
  letter-spacing: 0;
}

.p-bold,
strong,
b {
  font-family: var(--font-primary);
  font-weight: var(--fw-bold);
  line-height: 24px;
  letter-spacing: 0;
}

.section-kicker,
.kicker {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  line-height: 24px;
  letter-spacing: 0.40px;
  text-transform: uppercase;
  color: #1E6B7B;
}

.kicker-bucket {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  line-height: 20px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.subpage-into-section p {
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}

.wp-block-button__link,
.button,
button,
input[type="submit"] {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--fw-regular);
  line-height: 24px;
  letter-spacing: 0;
}

.text-button {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--fw-bold);
  line-height: 26px;
  letter-spacing: 0;
  text-decoration: none;
}

.testimonial-quote,
blockquote {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  font-style: italic;
  line-height: 26px;
  letter-spacing: 0;
}

.blog-card-date,
.entry-date,
.post-date {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  line-height: 24px;
  letter-spacing: 0.40px;
  text-transform: uppercase;
}

.text-21,
.text-21 em,
.text-21 em strong {
  font-size: 21px !important;
}

/* ── Utilities ── */
.mb-0 {
  margin-bottom: 0 !important;
}

/* ── Links ── */
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-main a,
.wp-singular a {
  color: #1E6B7B;
  text-decoration: underline;
}

.site-main a:hover,
.wp-singular a:hover {
  text-decoration: none;
}

.subpage-into-section a {
  text-decoration: underline;
}

.subpage-into-section a:hover {
  text-decoration: none;
}

/* ── Lists ── */
.site-main ul,
.site-main ol {
  margin: 0 0 30px 30px;
}

.site-main ul li::marker,
.site-main ol li::marker,
.wp-singular ul li::marker,
.wp-singular ol li::marker {
  color: #1E6B7B;
}

.site-main li {
  margin-bottom: 2px;
  line-height: 26px;
}

/* ── Breadcrumbs ── */
.yoast-breadcrumbs {
  color: #1E6B7B;
}

.yoast-breadcrumbs a {
  text-decoration: none !important;
}

.yoast-breadcrumbs a:hover {
  text-decoration: underline !important;
}

/* ── Buttons ── */
.PrimaryButton,
.SecondaryButton {
  color: white !important;
  text-decoration: none !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}

.PrimaryButton:hover {
  background-color: #8B1A1A;
  text-decoration: none;
}

.SecondaryButton:hover {
  background-color: #1D5F6A;
  text-decoration: none;
}

.read-more {
  margin-bottom: 40px;
}

.read-more a {
  color: #1E6B7B !important;
  font-size: 16px !important;
  font-weight: var(--fw-bold) !important;
  line-height: 24px !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  margin-bottom: 30px;
}

.read-more a:hover {
  text-decoration: underline !important;
}

.subpage-into-section p {
  font-size:  21px;
}
/* ── Editor color overrides ──
   Ensures block editor color assignments beat has-text-color ── */
:root .has-graffeo-blue-color,
:root .has-graffeo-blue-color.has-text-color {
  color: var(--graffeo-blue) !important;
}

:root .has-graffeo-red-color,
:root .has-graffeo-red-color.has-text-color {
  color: var(--graffeo-red) !important;
}

:root .has-graffeo-gray-color,
:root .has-graffeo-gray-color.has-text-color {
  color: var(--graffeo-gray) !important;
}

:root .has-white-color,
:root .has-white-color.has-text-color {
  color: var(--white) !important;
}

/* ── Gravity Forms ── */
#gform_fields_1 #input_1_5 {
  width: 100%;
}

#gform_fields_1 .gfield_description {
  text-align: center;
}

#gform_1 .gform_footer,
#gform_1 .gform_page_footer {
  text-align: center !important;
  justify-content: center !important;
}

.gform_footer input[type="submit"],
.gform_page_footer input[type="submit"],
.gform_footer button[type="submit"],
.gform_page_footer button[type="submit"] {
  align-items: center !important;
  background-color: #C71400 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  text-decoration: none !important;
  border: 2px solid #ffffff !important;
  border-radius: 8px !important;
  padding: 18px 40px !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: normal !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10) !important;
}

.gform_footer input[type="submit"]:hover,
.gform_page_footer input[type="submit"]:hover,
.gform_footer button[type="submit"]:hover,
.gform_page_footer button[type="submit"]:hover {
  background-color: #8B1A1A !important;
  text-decoration: none !important;
}

.gform-theme--foundation .gfield textarea,
.gform-theme--foundation .gfield select,
.gform-theme--foundation .gfield .datepicker,
.gform-theme--foundation .gfield .large {
  border-radius: 8px;
  border: 1px solid #DEDEDE;
}

/* ── Blog Archive ── */
.gpba-container {
  padding: 60px 30px;
}

.gpba-eyebrow {
  margin-bottom: 50px;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.gpba-load-more-btn {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
  padding: 18px 40px;
}

.gpba-hero__excerpt {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}

.gpba-hero__date {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.gpba-hero__content {
  padding: 20px 30px;
}

.gpba-hero__title {
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 38.4px;
}

.gpba-card__date {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.gpba-card__title {
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.gpba-card__read-more {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
}

.gpba-card__read-more:hover,
.gpba-hero__read-more:hover {
  color: #1E6B7B;
}

.gpba-card {
  border-radius: 0 0 0 20px !important;
}

/* ── Blog Single ── */
.nm-single-wrap {
  width: 100%;
  background-color: #fff;
}

.nm-single-outer {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
}

.nm-single-breadcrumb {
  padding-top: 20px;
  padding-bottom: 76px;
  color: #1E6B7B !important;
}

.nm-breadcrumb {
  font-size: 0.875rem;
}

.nm-breadcrumb span,
.nm-breadcrumb a {
  color: #1E6B7B !important;
  text-decoration: none;
}

.nm-breadcrumb a:hover {
  text-decoration: underline;
}

.nm-single-inner {
  max-width: 754px;
  margin: 0 auto;
}

.nm-single-date {
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.4px;
  text-transform: capitalize;
  color: #545454;
}

.nm-single-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.nm-single-tags__icon {
  flex-shrink: 0;
  display: block;
  width: 16px;
  height: 16px;
}

.nm-single-tags__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
}

.nm-single-tags__item {
  display: flex;
  align-items: center;
  color: #1E6B7B;
}

.nm-single-tags__item:not(:last-child)::after {
  content: ',';
  margin-right: 0.35rem;
}

.nm-single-tags__link {
  text-decoration: none;
}

.nm-single-tags__link:hover {
  text-decoration: underline;
}

.nm-single-title {
  font-size: 42px;
  font-style: normal;
  font-weight: 400;
  line-height: 42px;
}

.nm-single-figure {
  margin: 0;
}

.nm-single-featured-image {
  display: block;
  width: 100%;
  max-width: 754px;
  height: auto;
}

.nm-single-featured-image--placeholder {
  background: #dde2e7;
  min-height: 400px;
  object-fit: cover;
}

.nm-single-caption {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.nm-single-content {
  padding: 56px 0 76px;
}

/* ── General Archive ── */
.nm-archive-wrap {
  width: 100%;
  background-color: #fff;
}

.nm-archive-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 30px 96px;
}

.nm-archive-eyebrow {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #1E6B7B;
  margin-top: 36px;
}

.nm-archive-list {
  list-style: none;
  margin: 0;
  padding: 26px 0 56px 0;
}

.nm-archive-item {
  padding: 15px 0 10px;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nm-archive-item__date {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  color: #333;
}

.nm-archive-item__title {
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
}

.nm-archive-item__link {
  color: #333;
  text-decoration: none;
}

.nm-archive-item__link:hover {
  text-decoration: underline;
}

.nm-archive-wrap .nav-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.nm-archive-wrap .page-numbers {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border: 1px solid #e5e5e5;
  color: #333;
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 3px;
}

.nm-archive-wrap .page-numbers.current {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.nm-archive-wrap .page-numbers:hover:not(.current) {
  border-color: #333;
}

.nm-archive-no-results {
  padding: 2rem 0;
}

.nm-archive-no-results__message {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #555;
}

.nm-archive-no-results__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.nm-archive-no-results__link:hover {
  text-decoration: underline;
}

.archive .site {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

/* ── Homepage ── */
.quote-image-wrap {
  position: relative;
}

.quote-image-wrap::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  background-image: url('/wp-content/uploads/2026/04/Icon-Quotation-Mark.svg');
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 10;
}

.testimonial-author {
  margin-bottom: 4px;
}

.testimonial-category {
  margin-bottom: 0;
}

.injury-row {
  position: relative !important;
  display: flex !important;
  overflow: hidden !important;
  align-items: stretch !important;
  border-radius: 0 20px 0 20px !important;
  padding-left: 40% !important;
}

.injury-img-col {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 40% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
}

.injury-content-col {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 40px !important;
  row-gap: 0 !important;
  box-sizing: border-box !important;
  border-top: 1px solid #DEDEDE !important;
  border-right: 1px solid #DEDEDE !important;
  border-bottom: 1px solid #DEDEDE !important;
}

.injury-row-reversed {
  padding-left: 0 !important;
  padding-right: 40% !important;
}

.injury-row-reversed .injury-img-col {
  left: auto !important;
  right: 0 !important;
}

.injury-row-reversed .injury-content-col {
  border-right: none !important;
  border-left: 1px solid #DEDEDE !important;
  border-radius: 0 0 0 20px !important;
}

.trust-section {
  position: relative;
}

.trust-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 107, 123, 0) 25%,
    #1E6B7B 75%
  );
}

.trust-section > * {
  position: relative;
  z-index: 1;
}

.trust-card {
  background: #fff;
  border-radius: 0 20px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .trust-section {
    background-position: center top;
  }
  .trust-section::after {
    background: linear-gradient(
      to bottom,
      rgba(30, 107, 123, 0) 15%,
      #1E6B7B 57%
    );
  }
}

@media (max-width: 768px) {
  h1, .h1 { font-size: 36px; line-height: 44px; }
  h2, .h2 { font-size: 30px; line-height: 36px; }
  h3, .h3 { font-size: 22px; line-height: 28px; }
  h4, .h4 { font-size: 19px; line-height: 26px; }
  h5, .h5 { font-size: 19px; line-height: 26px; }
  h6, .h6 { font-size: 16px; line-height: 22px; }

  body { font-size: 15px; line-height: 24px; }
  p    { line-height: 24px; }

  .p-large { font-size: 16px; line-height: 26px; }

  .trust-section {
    padding-top: 74px;
    padding-bottom: 10px;
  }
  .trust-section::after {
    background-color: #1E6B7B;
  }

  .injury-row {
    flex-direction: column !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .injury-img-col {
    position: relative !important;
    width: 100% !important;
    height: 250px !important;
  }
  .injury-row-reversed {
    padding-right: 0 !important;
  }
  .injury-content-col {
    width: 100% !important;
    border: none !important;
    border-top: 1px solid #DEDEDE !important;
  }

  .nm-single-breadcrumb { padding-bottom: 40px; }
  .nm-single-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .nm-single-featured-image--placeholder { min-height: 220px; }

  .nm-archive-container { padding-top: 16px; padding-bottom: 60px; }
  .nm-archive-item__title { font-size: 1rem; }
}

.gb-accordion__toggle-d701cf7c:is(.gb-block-is-current,.gb-block-is-current:hover,.gb-block-is-current:focus) {
  font-weight:  400 !important;
}

/* ── Video Carousel ── */
.wp-block-carousel-block-slide {
    position: relative;
}

.video-thumb {
    display: block;
    width: 100%;
    cursor: pointer;
}

.video-play-btn {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px !important;
    height: 54px !important;
    pointer-events: none;
    cursor: pointer;
}

/* ── Carousel Arrows & Dots ── */

/* ── Carousel Arrows ── */

.swiper-button-prev,
.swiper-button-next {
    top: 45% !important;
    transform: translateY(-150%) !important;
}

.wp-block-cb-carousel-v2 {
    --wp--custom--carousel-block--navigation-size: 30px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    display: none !important;
}

.swiper-button-prev {
    background-image: url('/wp-content/uploads/2026/04/Vector-5.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.swiper-button-next {
    background-image: url('/wp-content/uploads/2026/04/Vector-6.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* ── Carousel Dots ── */
.swiper-pagination {
    position: relative !important;
    margin-top: 50px !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: #D9D9D9 !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: #1E6B7B !important;
}

.ti-verified-by ti-verified-by-row {
  display: none !important;
  visibility: hidden;
}

.ti-widget.ti-goog .ti-verified-by-row[data-style="1"]>.ti-inner {
  display: none;
}

.wp-block-cb-carousel-v2 .cb-pagination.swiper-pagination-horizontal {
  bottom: 10px;
}
