/*
Theme Name: FiniDrive Twenty Twenty-Four Child
Theme URI: https://finidrive.pl/
Description: Child theme for the local and production FiniDrive website, based on Twenty Twenty-Four.
Author: FiniDrive
Author URI: https://finidrive.pl/
Template: twentytwentyfour
Version: 0.1.17
Requires at least: 6.6
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: finidrive-tt4-child
*/

:root {
  --finidrive-accent: #0b7a59;
  --finidrive-accent-dark: #075f48;
  --finidrive-accent-soft: #e3f4ee;
  --finidrive-ink: #172033;
  --finidrive-muted: #536477;
  --finidrive-surface: #f7faf9;
  --finidrive-border: #d9e7e2;
  --finidrive-deep: #082d25;
  --finidrive-shadow: 0 16px 44px rgba(23, 32, 51, 0.1);
  --finidrive-radius-lg: 8px;
  --finidrive-radius-md: 8px;
  --finidrive-radius-sm: 8px;
}

html {
  scroll-behavior: smooth;
}

#products,
#downloads {
  scroll-margin-top: 2rem;
}

body {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9f8 100%);
}

.wp-site-blocks {
  color: var(--finidrive-ink);
}

.wp-site-blocks a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.fd-home-hero h1,
.fd-page-hero h1,
.fd-about-hero h1,
.fd-contact-hero h1,
.fd-section-heading h2,
.fd-product-card h3,
.fd-surface-card h3,
.fd-cta-band h2 {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 760;
  letter-spacing: 0;
}

.fd-wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--finidrive-deep);
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.fd-wordmark:hover {
  text-decoration: none;
}

.fd-wordmark img {
  display: block;
  width: 160px;
  height: auto;
}

.fd-wordmark-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(11, 122, 89, 0.28);
  border-radius: 8px;
  background: #ffffff;
  color: var(--finidrive-accent-dark);
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.08);
}

.fd-wordmark-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0;
}

.fd-kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--finidrive-accent-dark);
}

.fd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 122, 91, 0.18);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
  font-size: 0.88rem;
  line-height: 1.35;
}

.fd-eyebrow strong {
  flex: 0 0 auto;
  color: var(--finidrive-accent-dark);
}

.fd-masthead {
  position: relative;
  isolation: isolate;
  padding: 0 0 clamp(1.5rem, 4vw, 3rem);
}

.fd-masthead::before {
  content: none;
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  z-index: -1;
  width: clamp(190px, 16vw, 230px);
  aspect-ratio: 3422 / 2436;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("assets/images/zielone_kreski.svg");
  background-repeat: no-repeat;
  background-position: calc(100% + 18px) center;
  background-size: contain;
}

.fd-masthead-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-sizing: border-box;
  min-height: 94px;
  padding: 0.75rem 1.15rem 0.35rem;
  border-right: 1px solid rgba(11, 122, 89, 0.16);
  border-left: 1px solid rgba(11, 122, 89, 0.16);
  box-shadow:
    -14px 0 28px -28px rgba(23, 32, 51, 0.38),
    14px 0 28px -28px rgba(23, 32, 51, 0.38);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.fd-masthead-nav::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: clamp(150px, 18vw, 220px);
  aspect-ratio: 3422 / 2436;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("assets/images/zielone_kreski.svg");
  background-repeat: no-repeat;
  background-position: calc(100% + 18px) -0.75rem;
  background-size: contain;
}

.fd-masthead-logo {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.fd-masthead-menu {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  margin-right: clamp(10rem, 19vw, 15rem);
}

.fd-masthead-menu a {
  color: var(--finidrive-ink);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.fd-masthead-menu a:hover,
.fd-masthead-menu a:focus {
  color: var(--finidrive-deep);
  text-decoration: underline;
}

.fd-mobile-menu {
  display: none;
}

.fd-mobile-menu summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 40px;
  box-sizing: border-box;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(23, 32, 51, 0.1);
  cursor: pointer;
  list-style: none;
}

.fd-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.fd-mobile-menu summary span {
  display: block;
  width: 20px;
  height: 1px;
  border-radius: 999px;
  background: var(--finidrive-accent-dark);
}

.fd-mobile-menu-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 20;
  display: grid;
  min-width: 190px;
  box-sizing: border-box;
  padding: 0.55rem;
  border: 1px solid rgba(11, 122, 89, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.16);
}

.fd-mobile-menu-panel a {
  padding: 0.7rem 0.75rem;
  border-radius: 8px;
  color: var(--finidrive-ink);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
}

.fd-mobile-menu-panel a:hover,
.fd-mobile-menu-panel a:focus {
  background: rgba(227, 244, 238, 0.74);
  color: var(--finidrive-deep);
}

.fd-masthead-image {
  position: relative;
  width: 100vw;
  height: clamp(220px, 22vw, 340px);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #735269;
  border-radius: 0;
}

.fd-masthead-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #735269;
  opacity: 0.5;
  pointer-events: none;
}

.fd-masthead-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.fd-masthead-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.fd-masthead-copy h1 {
  max-width: 780px;
  margin: 0.2rem 0 0.7rem;
  color: var(--finidrive-ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: 0;
}

.fd-masthead-copy p {
  max-width: 700px;
  color: var(--finidrive-muted);
  font-size: 1.05rem;
  line-height: 1.56;
}

.fd-hero-lead {
  margin-bottom: 1.1rem;
}

.fd-masthead-copy .fd-kicker {
  color: var(--finidrive-accent-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.fd-masthead-copy .fd-badge-new {
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.15;
}

.fd-masthead-side {
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding-top: 0.3rem;
}

.fd-masthead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.05rem;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 740;
  line-height: 1.15;
  text-decoration: none;
}

.fd-button-primary {
  background: var(--finidrive-accent);
  color: #ffffff;
  box-shadow: 0 9px 18px rgba(18, 122, 91, 0.12);
}

.fd-button-primary:hover,
.fd-button-primary:focus {
  background: var(--finidrive-accent-dark);
  color: #ffffff;
}

.fd-button-secondary {
  background: #ffffff;
  color: var(--finidrive-deep);
  border: 1px solid rgba(18, 122, 91, 0.18);
}

.fd-button-secondary:hover,
.fd-button-secondary:focus {
  color: var(--finidrive-accent-dark);
  border-color: rgba(18, 122, 91, 0.34);
}

.fd-hero-details {
  max-width: 640px;
  margin: 0 0 1.1rem;
  padding: 0.2rem 0 0.1rem 1rem;
  border-left: 3px solid rgba(11, 122, 89, 0.36);
}

.fd-hero-update {
  margin: 0 0 0.85rem;
  color: var(--finidrive-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.fd-hero-update strong {
  display: block;
  margin-bottom: 0.12rem;
  color: var(--finidrive-deep);
  font-weight: 740;
}

.fd-hero-update span {
  display: block;
}

.fd-hero-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(18, 122, 91, 0.11);
}

.fd-hero-facts div {
  display: grid;
  grid-template-columns: minmax(110px, 0.38fr) 1fr;
  gap: 1rem;
  padding: 0.52rem 0;
  border-bottom: 1px solid rgba(18, 122, 91, 0.11);
}

.fd-hero-facts dt,
.fd-hero-facts dd {
  margin: 0;
  line-height: 1.35;
}

.fd-hero-facts dt {
  color: var(--finidrive-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fd-hero-facts dd {
  color: var(--finidrive-deep);
  font-size: 0.94rem;
  font-weight: 650;
}

.fd-masthead-product-card {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.5rem;
  padding: 1.1rem;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 250, 0.96)),
    #ffffff;
  border: 1px solid rgba(18, 122, 91, 0.16);
  box-shadow: 0 14px 34px rgba(9, 30, 66, 0.08);
}

.fd-masthead-product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.fd-masthead-product-top .fd-kicker {
  margin: 0;
}

.fd-masthead-product-card p {
  margin: 0.9rem 0 0;
  color: var(--finidrive-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.fd-masthead-product {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 245px;
  margin: 0;
  padding: 1.2rem;
  box-sizing: border-box;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(227, 244, 238, 0.82), rgba(255, 255, 255, 0.72) 58%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #ffffff, #f8fbfa);
  border: 1px solid rgba(18, 122, 91, 0.1);
  overflow: hidden;
}

.fd-masthead-product img {
  display: block;
  width: 100%;
  max-width: 330px;
  max-height: 245px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(15, 95, 71, 0.14));
}

.fd-masthead-copy-classic {
  grid-template-columns: minmax(0, 58fr) minmax(320px, 42fr);
  align-items: center;
}

.fd-masthead-copy-classic .fd-hero-visual {
  padding: 1.25rem;
}

.fd-masthead-copy-classic .fd-hero-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.fd-masthead-copy-classic .fd-hero-visual-top p {
  margin: 0;
}

.fd-masthead-copy-classic .fd-hero-visual > p:last-child {
  max-width: 460px;
  margin: 1rem auto 0;
  text-align: center;
}

.fd-home-hero,
.fd-page-hero,
.fd-about-hero,
.fd-contact-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 4rem);
  background:
    linear-gradient(135deg, rgba(227, 244, 238, 0.92), rgba(255, 255, 255, 0.92)),
    #ffffff;
  border-block: 1px solid rgba(11, 122, 89, 0.14);
  box-shadow: none;
}

.fd-home-hero {
  padding: clamp(1rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 4rem);
  background: transparent;
  border-block: 0;
  overflow: visible;
}

.fd-home-hero .wp-block-columns {
  align-items: center;
}

.fd-home-hero .fd-eyebrow {
  background: rgba(227, 244, 238, 0.62);
  box-shadow: none;
}

.fd-home-hero .fd-pill {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.fd-home-hero .fd-hero-visual {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.fd-home-hero .fd-hero-visual .wp-block-image {
  min-height: 340px;
  background:
    radial-gradient(circle at 50% 50%, rgba(227, 244, 238, 0.85), rgba(255, 255, 255, 0.6) 58%, rgba(255, 255, 255, 0) 72%),
    #ffffff;
  border: 1px solid rgba(18, 122, 91, 0.09);
  box-shadow: 0 18px 46px rgba(9, 30, 66, 0.06);
}

.fd-home-hero .fd-hero-visual .wp-block-image img {
  max-width: 100%;
  max-height: 360px;
}

.fd-home-hero .fd-hero-visual > p:last-child {
  max-width: 460px;
  margin-inline: auto;
  text-align: center;
}

.fd-home-hero::after,
.fd-page-hero::after,
.fd-about-hero::after,
.fd-contact-hero::after {
  content: none;
}

.fd-home-hero > .wp-block-columns,
.fd-page-hero > .wp-block-columns,
.fd-about-hero > .wp-block-columns,
.fd-contact-hero > .wp-block-columns {
  position: relative;
  z-index: 1;
}

.fd-home-hero .wp-block-site-logo,
.fd-page-hero .wp-block-site-logo,
.fd-about-hero .wp-block-site-logo,
.fd-contact-hero .wp-block-site-logo {
  margin-bottom: 1rem;
}

.fd-home-hero .fd-hero-text h1,
.fd-page-hero h1,
.fd-about-hero h1,
.fd-contact-hero h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 4.6vw, 4.5rem);
  line-height: 0.96;
}

.fd-hero-text p,
.fd-page-hero p,
.fd-about-hero p,
.fd-contact-hero p {
  color: var(--finidrive-muted);
  font-size: 1.06rem;
}

.fd-pill-row {
  gap: 0.65rem;
}

.fd-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.58rem 0.82rem;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(18, 122, 91, 0.14);
  color: var(--finidrive-deep);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.fd-hero-visual {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 246, 241, 0.96)),
    #ffffff;
  border: 1px solid rgba(18, 122, 91, 0.18);
  box-shadow: var(--finidrive-shadow);
}

.fd-hero-visual .wp-block-image,
.fd-product-card > .wp-block-image {
  display: grid;
  place-items: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 260px;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbfa);
  border: 1px solid rgba(18, 122, 91, 0.1);
  overflow: hidden;
}

.fd-product-card > .wp-block-image {
  min-height: 250px;
  margin-bottom: 1.4rem;
}

.fd-hero-visual .wp-block-image img,
.fd-product-card > .wp-block-image img {
  width: 100%;
  max-width: 92%;
  max-height: 300px;
  object-fit: contain;
}

.fd-hero-visual img,
.fd-product-card img {
  filter: drop-shadow(0 18px 28px rgba(15, 95, 71, 0.14));
}

.fd-badge-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.65rem;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--finidrive-accent), #1f9b77);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fd-section-heading h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.fd-section-heading p {
  color: var(--finidrive-muted);
}

.fd-surface-card {
  height: 100%;
  border: 1px solid rgba(18, 122, 91, 0.14);
  border-radius: var(--finidrive-radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(9, 30, 66, 0.07);
}

.fd-surface-card .wp-block-heading,
.fd-product-card .wp-block-heading {
  letter-spacing: 0;
}

.fd-surface-card p,
.fd-product-card p,
.fd-product-card li,
.fd-compare-table td,
.fd-compare-table th {
  color: var(--finidrive-ink);
}

.fd-surface-card p.is-style-fd-muted,
.fd-product-card p.is-style-fd-muted,
.fd-tradefair-meta {
  color: var(--finidrive-muted);
}

.fd-product-card {
  height: 100%;
  border: 1px solid rgba(18, 122, 91, 0.16);
  border-radius: var(--finidrive-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.96));
  box-shadow: 0 14px 34px rgba(9, 30, 66, 0.08);
}

.fd-product-card.is-featured {
  background:
    linear-gradient(180deg, rgba(230, 247, 240, 0.95), rgba(255, 255, 255, 0.98)),
    #ffffff;
  border-color: rgba(18, 122, 91, 0.28);
}

.fd-spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.fd-spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.68rem;
  border-bottom: 1px solid rgba(18, 122, 91, 0.08);
}

.fd-spec-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fd-spec-list strong {
  color: var(--finidrive-deep);
  font-weight: 700;
}

.fd-tradefair-card {
  background:
    linear-gradient(135deg, rgba(8, 45, 37, 0.98), rgba(11, 122, 89, 0.92)),
    #0d2b24;
  color: #ffffff;
}

.fd-tradefair-card h3,
.fd-tradefair-card p,
.fd-tradefair-card li,
.fd-tradefair-card strong {
  color: inherit;
}

.fd-tradefair-meta {
  opacity: 0.84;
}

.fd-tradefair-card .wp-block-button__link {
  background: #ffffff !important;
  color: var(--finidrive-deep) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.fd-tradefair-card .wp-block-button__link:hover,
.fd-tradefair-card .wp-block-button__link:focus {
  background: var(--finidrive-accent-soft) !important;
  color: var(--finidrive-deep) !important;
}

.fd-callout-strip {
  border-left: 4px solid var(--finidrive-accent);
  padding-left: 1rem;
}

.fd-compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(18, 122, 91, 0.14);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(9, 30, 66, 0.07);
}

.fd-compare-table th,
.fd-compare-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(18, 122, 91, 0.1);
}

.fd-compare-table th {
  background: rgba(223, 244, 237, 0.65);
  color: var(--finidrive-deep);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.fd-compare-table tr:last-child td {
  border-bottom: 0;
}

.fd-cta-band {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 122, 91, 0.1), rgba(13, 43, 36, 0.05)),
    #ffffff;
  border: 1px solid rgba(18, 122, 91, 0.16);
  box-shadow: 0 12px 30px rgba(9, 30, 66, 0.07);
}

.fd-cta-band h2,
.fd-cta-band p {
  margin-top: 0;
}

.fd-cta-band p {
  color: var(--finidrive-muted);
}

.fd-downloads {
  border: 1px solid rgba(18, 122, 91, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(9, 30, 66, 0.07);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.fd-downloads-heading {
  max-width: 760px;
  margin-bottom: 1.35rem;
}

.fd-downloads-heading h2 {
  margin: 0.2rem 0 0.65rem;
  color: var(--finidrive-ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: 0;
}

.fd-downloads-heading p {
  color: var(--finidrive-muted);
}

.fd-download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fd-download-card {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: 100%;
  padding: 1.15rem;
  border: 1px solid rgba(18, 122, 91, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fbfa);
}

.fd-download-card h3 {
  margin: 0.42rem 0 0.55rem;
  color: var(--finidrive-deep);
  font-family: var(--wp--preset--font-family--body);
  font-size: 1.14rem;
  font-weight: 760;
  letter-spacing: 0;
}

.fd-download-card p {
  margin: 0 0 1rem;
  color: var(--finidrive-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.fd-download-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 40px;
  margin-top: auto;
  padding: 0.62rem 0.85rem;
  border-radius: 8px;
  background: var(--finidrive-accent);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  box-shadow: 0 9px 18px rgba(18, 122, 91, 0.12);
}

.fd-download-card a:hover,
.fd-download-card a:focus {
  background: var(--finidrive-accent-dark);
  color: #ffffff;
}

.fd-download-type {
  color: var(--finidrive-accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fd-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fd-value-card,
.fd-timeline,
.fd-newsletter-band,
.fd-newsletter-page {
  border: 1px solid rgba(18, 122, 91, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(9, 30, 66, 0.07);
}

.fd-value-card {
  padding: 1.2rem;
}

.fd-value-card h2 {
  margin: 0.42rem 0 0.55rem;
  color: var(--finidrive-deep);
  font-family: var(--wp--preset--font-family--body);
  font-size: 1.2rem;
  font-weight: 760;
  letter-spacing: 0;
}

.fd-value-card p {
  margin: 0;
  color: var(--finidrive-muted);
  line-height: 1.55;
}

.fd-timeline {
  display: grid;
  gap: 0;
  height: 100%;
  overflow: hidden;
}

.fd-timeline-item {
  display: grid;
  grid-template-columns: minmax(110px, 0.28fr) 1fr;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(18, 122, 91, 0.1);
}

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

.fd-timeline-item strong {
  color: var(--finidrive-accent-dark);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fd-timeline-item p {
  margin: 0;
  color: var(--finidrive-ink);
}

.fd-newsletter-band,
.fd-newsletter-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.fd-newsletter-page {
  margin-inline: auto;
}

.fd-newsletter-copy h1,
.fd-newsletter-copy h2 {
  margin: 0.25rem 0 0.65rem;
  color: var(--finidrive-ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: 0;
}

.fd-newsletter-copy p {
  color: var(--finidrive-muted);
}

.fd-newsletter-form {
  border: 1px solid rgba(18, 122, 91, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fbfa);
  padding: 1.1rem;
}

.fd-newsletter-form .tnp {
  margin: 0;
}

.fd-newsletter-form .tnp-field {
  margin: 0 0 0.8rem;
}

.fd-newsletter-form .tnp-field label {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--finidrive-deep);
  font-size: 0.84rem;
  font-weight: 700;
}

.fd-newsletter-form .tnp-field input[type="text"],
.fd-newsletter-form .tnp-field input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(18, 122, 91, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: var(--finidrive-ink);
  font: inherit;
  padding: 0.65rem 0.75rem;
}

.fd-newsletter-form .tnp-privacy-field label {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  color: var(--finidrive-muted);
  font-weight: 500;
  line-height: 1.4;
}

.fd-newsletter-form .tnp-privacy-field input {
  margin-top: 0.2rem;
}

.fd-newsletter-form input.tnp-submit,
.fd-newsletter-form .tnp-submit {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--finidrive-accent) !important;
  color: #ffffff !important;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0.7rem 1rem;
  box-shadow: 0 9px 18px rgba(18, 122, 91, 0.12);
}

.fd-newsletter-form input.tnp-submit:hover,
.fd-newsletter-form input.tnp-submit:focus,
.fd-newsletter-form .tnp-submit:hover,
.fd-newsletter-form .tnp-submit:focus {
  background: var(--finidrive-accent-dark) !important;
  color: #ffffff !important;
}

.fd-contact-card,
.fd-contact-guidance,
.fd-form-card,
.fd-legal-hero,
.fd-legal-content {
  border: 1px solid rgba(18, 122, 91, 0.16);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(9, 30, 66, 0.07);
}

.fd-contact-card,
.fd-contact-guidance,
.fd-form-card {
  padding: 1.5rem;
}

.fd-contact-card {
  display: grid;
  gap: 0.65rem;
}

.fd-contact-card p {
  margin: 0;
  color: var(--finidrive-muted);
}

.fd-contact-link {
  color: var(--finidrive-deep);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 760;
  line-height: 1.08;
  text-decoration: none;
  word-break: break-word;
}

.fd-contact-link:hover,
.fd-contact-link:focus {
  color: var(--finidrive-accent-dark);
  text-decoration: underline;
}

.fd-contact-note {
  padding-top: 0.4rem;
  border-top: 1px solid rgba(18, 122, 91, 0.1);
  font-size: 0.94rem;
}

.fd-contact-guidance h2,
.fd-form-card h2,
.fd-legal-hero h1,
.fd-legal-content h2,
.fd-legal-content h3 {
  color: var(--finidrive-ink);
  font-family: var(--wp--preset--font-family--body);
  font-weight: 760;
  letter-spacing: 0;
}

.fd-contact-guidance h2,
.fd-form-card h2 {
  margin: 0.35rem 0 1rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.fd-contact-guidance ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--finidrive-ink);
}

.fd-contact-guidance li + li {
  margin-top: 0.55rem;
}

.fd-form-card .wpforms-container {
  margin: 0;
}

.fd-form-card .wpforms-field {
  padding: 0 0 0.85rem !important;
}

.fd-form-card .wpforms-field-label {
  color: var(--finidrive-deep) !important;
  font-weight: 700 !important;
}

.fd-form-card input[type="text"],
.fd-form-card input[type="email"],
.fd-form-card input[type="tel"],
.fd-form-card textarea,
.fd-form-card select {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid rgba(18, 122, 91, 0.2) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--finidrive-ink) !important;
  font: inherit !important;
  padding: 0.68rem 0.75rem !important;
}

.fd-form-card textarea {
  min-height: 150px;
}

.fd-form-card .wpforms-submit,
.fd-form-card button[type="submit"] {
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--finidrive-accent) !important;
  color: #ffffff !important;
  cursor: pointer;
  font: inherit !important;
  font-weight: 700 !important;
  padding: 0.78rem 1.05rem !important;
  box-shadow: 0 9px 18px rgba(18, 122, 91, 0.12);
}

.fd-form-card .wpforms-submit:hover,
.fd-form-card .wpforms-submit:focus,
.fd-form-card button[type="submit"]:hover,
.fd-form-card button[type="submit"]:focus {
  background: var(--finidrive-accent-dark) !important;
  color: #ffffff !important;
}

.fd-legal-hero {
  background:
    linear-gradient(135deg, rgba(227, 244, 238, 0.92), rgba(255, 255, 255, 0.94)),
    #ffffff;
}

.fd-legal-hero h1 {
  margin: 0.25rem 0 0.65rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.fd-legal-hero p,
.fd-legal-content p,
.fd-legal-content li,
.fd-legal-content td {
  color: var(--finidrive-muted);
}

.fd-legal-content {
  overflow: hidden;
}

.fd-legal-content h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.fd-legal-content h2:first-child {
  margin-top: 0;
}

.fd-legal-content h3,
.fd-legal-content [data-custom-class="heading_1"],
.fd-legal-content [data-custom-class="heading_2"] {
  color: var(--finidrive-deep) !important;
  font-family: var(--wp--preset--font-family--body) !important;
}

.fd-legal-content [data-custom-class],
.fd-legal-content [data-custom-class] * {
  font-family: var(--wp--preset--font-family--body) !important;
}

.fd-legal-content [data-custom-class="body_text"],
.fd-legal-content [data-custom-class="body_text"] *,
.fd-legal-content [data-custom-class="subtitle"],
.fd-legal-content [data-custom-class="subtitle"] * {
  color: var(--finidrive-muted) !important;
}

.fd-legal-content [data-custom-class="title"],
.fd-legal-content [data-custom-class="title"] * {
  color: var(--finidrive-ink) !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  letter-spacing: 0 !important;
}

.fd-legal-content [data-custom-class="link"],
.fd-legal-content [data-custom-class="link"] * {
  color: var(--finidrive-accent-dark) !important;
}

.fd-legal-content table {
  max-width: 100%;
}

.fd-inline-code {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  background: rgba(18, 122, 91, 0.1);
  color: var(--finidrive-accent-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.wp-block-button.is-style-fd-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid rgba(18, 122, 91, 0.28);
  color: var(--finidrive-accent-dark);
}

.wp-block-button.is-style-fd-outline .wp-block-button__link:hover,
.wp-block-button.is-style-fd-outline .wp-block-button__link:focus {
  background: rgba(18, 122, 91, 0.08);
  border-color: var(--finidrive-accent);
}

.wp-block-button__link {
  border-radius: 8px;
  padding: 0.82rem 1.1rem;
  box-shadow: 0 9px 18px rgba(18, 122, 91, 0.12);
}

.wp-block-post-title {
  letter-spacing: 0;
}

.cc-window,
.cc-window.cc-floating {
  width: min(320px, calc(100vw - 2rem)) !important;
  max-width: 320px !important;
  right: 1rem !important;
  bottom: 1rem !important;
  left: auto !important;
  padding: 0.8rem !important;
  border-radius: 8px !important;
  background: rgba(8, 45, 37, 0.94) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 46px rgba(9, 30, 66, 0.24) !important;
  font-family: var(--wp--preset--font-family--body) !important;
  line-height: 1.45 !important;
}

.cc-window .cc-message {
  margin-right: 0 !important;
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
}

.cc-window .cc-link,
.cc-window .cc-link:visited {
  color: #bfeede !important;
}

.cc-window .cc-compliance {
  margin-top: 0.55rem !important;
}

.cc-window .cc-btn {
  border-radius: 8px !important;
  border: 0 !important;
  background: #ffffff !important;
  color: var(--finidrive-deep) !important;
  font-weight: 700 !important;
  padding: 0.48rem 0.85rem !important;
  min-width: 0 !important;
}

.cc-window.cc-invisible,
.cc-revoke {
  display: none !important;
}

@media (max-width: 900px) {
  .fd-masthead-nav {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
    min-height: 94px;
  }

  .fd-masthead-nav::before {
    width: clamp(150px, 40vw, 190px);
    opacity: 0.22;
  }

  .fd-masthead-menu {
    display: none;
  }

  .fd-mobile-menu {
    position: relative;
    z-index: 2;
    display: block;
    flex: 0 0 auto;
    margin-left: auto;
    margin-right: clamp(3.25rem, 15vw, 4.5rem);
  }

  .fd-masthead-image {
    width: 100vw;
    height: 210px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }

  .fd-masthead-copy {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .fd-masthead-product-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .fd-masthead-product {
    min-height: 220px;
  }

  .fd-masthead-actions {
    width: 100%;
  }

  .fd-button {
    flex: 1 1 180px;
  }

  .fd-home-hero,
  .fd-page-hero,
  .fd-about-hero,
  .fd-contact-hero,
  .fd-cta-band,
  .fd-downloads,
  .fd-newsletter-band,
  .fd-newsletter-page,
  .fd-contact-card,
  .fd-contact-guidance,
  .fd-form-card,
  .fd-legal-hero,
  .fd-legal-content {
    border-radius: 0;
  }

  .fd-home-hero,
  .fd-page-hero,
  .fd-about-hero,
  .fd-contact-hero {
    margin-right: calc(var(--wp--style--root--padding-right) * -1);
    margin-left: calc(var(--wp--style--root--padding-left) * -1);
  }

  .fd-home-hero {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .fd-home-hero .fd-hero-visual .wp-block-image {
    min-height: 260px;
  }

  .fd-home-hero .fd-hero-text h1,
  .fd-page-hero h1,
  .fd-about-hero h1,
  .fd-contact-hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.4rem);
  }

  .fd-pill {
    white-space: normal;
  }

  .fd-eyebrow {
    display: block;
  }

  .fd-eyebrow strong {
    display: block;
    margin-bottom: 0.15rem;
  }

  .fd-download-grid {
    grid-template-columns: 1fr;
  }

  .fd-value-grid,
  .fd-newsletter-band,
  .fd-newsletter-page {
    grid-template-columns: 1fr;
  }

  .fd-timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .fd-legal-content {
    overflow-x: auto;
  }

  .fd-compare-table,
  .fd-compare-table tbody,
  .fd-compare-table tr,
  .fd-compare-table th,
  .fd-compare-table td {
    width: 100%;
  }

  .fd-compare-table thead {
    display: none;
  }

  .fd-compare-table {
    display: block;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .fd-compare-table tbody {
    display: grid;
    gap: 0.75rem;
  }

  .fd-compare-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(18, 122, 91, 0.14);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(9, 30, 66, 0.06);
  }

  .fd-compare-table td {
    display: block;
    box-sizing: border-box;
    padding: 0.78rem 0.85rem;
    border-bottom: 0;
  }

  .fd-compare-table td:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid rgba(18, 122, 91, 0.1);
    background: rgba(223, 244, 237, 0.58);
    color: var(--finidrive-deep);
    font-weight: 760;
  }

  .fd-compare-table td:nth-child(2) {
    border-right: 1px solid rgba(18, 122, 91, 0.1);
  }

  .fd-compare-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--finidrive-muted);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .fd-compare-table td:first-child::before {
    content: none;
  }

  .fd-spec-list li {
    flex-direction: column;
    gap: 0.25rem;
  }

  .cc-window,
  .cc-window.cc-floating {
    right: 0.75rem !important;
    bottom: 0.75rem !important;
    width: calc(100vw - 1.5rem) !important;
    max-width: none !important;
    padding: 0.65rem !important;
  }
}
