/*
Theme Name: LRD Technical Solutions
Description: Thème sur mesure pour LRD Technical Solutions — conception, fabrication et maintenance en électronique et mécanique.
Author: LRD Technical Solutions
Version: 0.2.0
Requires PHP: 8.0
Text Domain: lrd
*/

/* Police Industry (Fort Foundry), comme dans le logo. ⚠ Licence web à vérifier avant la mise en ligne. */
@font-face {
  font-family: "Industry";
  src: url("assets/fonts/industry-book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Industry";
  src: url("assets/fonts/industry-demi.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Industry";
  src: url("assets/fonts/industry-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Charte LRD, valeurs exactes du logo (LRD-LOGO.svg) */
  --green: #3bb58c;
  --navy: #152f45;
  --swiss-red: #e52320;
  --white: #ffffff;

  /* Teintes dérivées */
  --green-dark: #1f7a5e;   /* hover, et texte vert sur fond blanc (contraste AA) */
  --green-light: #8fd1b8;  /* circuit translucide des flyers */
  --green-tint: #eaf7f2;
  --navy-light: #24465f;
  --slate: #5c6773;        /* texte secondaire */
  --bg-alt: #f4f7f9;       /* fond de section alterné */
  --border: #dde4ea;
  --blueprint-line: rgba(21, 47, 69, 0.06);

  --font: "Industry", "Rajdhani", "Arial Narrow", Arial, sans-serif;
  --radius: 6px;
  --container: 1160px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
}

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--green);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.icon {
  flex-shrink: 0;
}

/* Carré drapeau suisse, comme à côté de « Solutions » dans le logo */
.swiss-flag {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  margin-left: 0.3em;
  vertical-align: baseline;
  background:
    linear-gradient(var(--white), var(--white)) center / 22% 66% no-repeat,
    linear-gradient(var(--white), var(--white)) center / 66% 22% no-repeat,
    var(--swiss-red);
}

.brand-lrd {
  color: var(--green);
}

/* Fond « dessin technique » discret, rappel des flyers */
.bg-blueprint {
  background-color: var(--bg-alt);
  background-image:
    linear-gradient(var(--blueprint-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px),
    linear-gradient(var(--blueprint-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-line) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}

.brand:hover {
  color: var(--navy);
}

.brand-icon {
  width: 60px;
  height: auto;
  display: block;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.05;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav ul,
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  border-bottom-color: var(--green);
}

.lang-switcher {
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

.lang-switcher a {
  display: block;
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--slate);
}

.lang-switcher a[aria-current] {
  background: var(--navy);
  color: var(--white);
}

.nav-call {
  padding: 10px 16px;
  font-size: 0.95rem;
}

.badge-247 {
  background: var(--navy);
  color: var(--green);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
}

.nav-call:hover .badge-247 {
  background: var(--green);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 26px;
  height: 3px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -8px;
}

.nav-toggle-bars::after {
  top: 8px;
}

.nav-open .nav-toggle-bars {
  background: transparent;
}

.nav-open .nav-toggle-bars::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle-bars::after {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1000px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px;
    background: var(--white);
    overflow-y: auto;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .nav-open {
    overflow: hidden;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1.3rem;
    border-bottom: 1px solid var(--border);
  }

  .lang-switcher {
    gap: 8px;
  }

  .nav-call {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 1rem;
  }

  .brand-icon {
    width: 50px;
  }
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin: 0;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2 {
  margin-top: 1.6em;
}

.entry-content ul {
  padding-left: 1.2em;
}

.entry-content li::marker {
  color: var(--green);
}

/* Cartes (projets, articles) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.15s, transform 0.15s;
}

.card:hover {
  box-shadow: 0 10px 28px rgba(21, 47, 69, 0.12);
  transform: translateY(-2px);
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 18px 20px 20px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.3em;
}

.card-title a {
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c9d4de;
  padding-top: 64px;
  font-size: 1rem;
}

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

.site-footer a:hover {
  color: var(--green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 0.8fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand img {
  width: 72px;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-name {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-tagline {
  color: var(--green);
  font-size: 1.1rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.contact-list,
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-list .icon {
  color: var(--green);
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.legal-menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section {
    padding: 56px 0;
  }
}

[hidden] {
  display: none !important;
}

/* Boutons (variantes) */
.btn-lg {
  padding: 15px 26px;
  font-size: 1.1rem;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.link-arrow .icon {
  transition: transform 0.15s;
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* En-têtes de section */
.section-tight {
  padding: 48px 0 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  max-width: none;
}

.section-head h2 {
  margin-bottom: 0.3em;
}

.section-lead {
  color: var(--slate);
  font-size: 1.2rem;
  max-width: 720px;
}

.page-header .section-lead {
  margin: 14px 0 0;
}

/* Section bleu marine, avec l'icône du logo en filigrane (rappel des flyers) */
.section-navy {
  background: var(--navy);
  color: #c9d4de;
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.circuit-bg {
  position: relative;
  overflow: hidden;
}

.circuit-bg::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  width: 560px;
  height: 460px;
  transform: translateY(-50%);
  background: url("assets/img/logo-icon-light.svg") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.circuit-bg > .container {
  position: relative;
  z-index: 1;
}

/* Pastilles d'icônes */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-dark);
  flex-shrink: 0;
}

.icon-badge-lg {
  width: 76px;
  height: 76px;
}

.icon-badge-light {
  background: rgba(59, 181, 140, 0.15);
  color: var(--green);
}

/* Hero (accueil) */
.hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--slate);
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.98;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.3rem;
  max-width: 580px;
  margin-bottom: 32px;
}

.hero-visual img {
  display: block;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}

@media (max-width: 860px) {
  .hero {
    padding: 48px 0 56px;
  }

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

  .hero-visual {
    display: none;
  }
}

/* Services (accueil) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card h3 {
  margin: 20px 0 4px;
  font-size: 1.6rem;
}

.service-card p {
  flex-grow: 0;
}

.service-card .link-arrow {
  margin-top: auto;
}

.service-tagline {
  color: var(--green-dark);
  font-weight: 600;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Domaines */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.domain-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.domain-card h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.domain-card p {
  margin: 0;
}

@media (max-width: 700px) {
  .domain-grid {
    grid-template-columns: 1fr;
  }
}

/* Points forts / valeurs */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.strength .icon {
  color: var(--green);
  margin-bottom: 14px;
}

.strength h3 {
  margin-bottom: 8px;
}

.strength p {
  color: var(--slate);
  margin: 0;
}

.section-alt .strength {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
}

@media (max-width: 900px) {
  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .strength-grid {
    grid-template-columns: 1fr;
  }
}

/* Bandeau d'appel à l'action */
.cta-band {
  background: var(--navy);
  color: #c9d4de;
  padding: 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 6px;
}

.cta-band p {
  margin: 0;
  font-size: 1.15rem;
}

/* Étiquettes */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.page-header .tag-row {
  margin: 16px 0 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.tag-outline {
  background: none;
  border: 1px solid var(--border);
  color: var(--slate);
}

/* Cartes projet */
.projet-card {
  display: block;
  color: var(--navy);
}

.projet-card:hover {
  color: var(--navy);
}

.card-media {
  position: relative;
}

.card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

.card .card-placeholder img {
  width: 96px;
  aspect-ratio: auto;
  opacity: 0.35;
}

.card-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(21, 47, 69, 0.85);
  color: var(--white);
  font-size: 0.8rem;
}

.card-body p {
  color: var(--slate);
  margin: 0;
}

/* Page Services */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.anchor-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
}

.anchor-nav a:hover {
  border-color: var(--green);
}

.anchor-nav .icon {
  color: var(--green-dark);
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}

.service-number {
  margin: 24px 0 0;
  color: var(--green);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.service-detail-head h2 {
  margin-bottom: 6px;
}

.service-detail-body .section-lead {
  color: var(--navy);
}

.check-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.check-list .icon {
  color: var(--green);
  margin-top: 3px;
}

@media (max-width: 800px) {
  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Filtres (page Projets) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-bottom: 36px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-label {
  margin-right: 4px;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.filter-btn {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--green);
}

.filter-btn[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.filter-empty,
.empty-state {
  color: var(--slate);
  font-size: 1.15rem;
}

/* Page projet */
.back-link {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 600;
}

.projet-detail {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.projet-detail-noimg {
  grid-template-columns: minmax(0, 760px);
}

.gallery-main img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.gallery-thumbs button[aria-pressed="true"] {
  border-color: var(--green);
}

.gallery-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 860px) {
  .projet-detail {
    grid-template-columns: 1fr;
  }
}

/* Page À propos */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.about-aside {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.about-aside img {
  display: block;
  width: 140px;
  margin-bottom: 20px;
}

.about-aside-title {
  font-size: 1.4rem;
}

.contact-list-dark .icon {
  color: var(--green-dark);
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Page Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}

.contact-card:hover {
  color: var(--navy);
  border-color: var(--green);
  box-shadow: 0 10px 28px rgba(21, 47, 69, 0.12);
  transform: translateY(-2px);
}

.contact-card .icon-badge {
  margin-bottom: 12px;
}

.contact-card-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.contact-card-primary:hover {
  color: var(--white);
}

.contact-card-primary .icon-badge {
  background: var(--green);
  color: var(--navy);
}

.contact-card-label {
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-card-primary .contact-card-label,
.contact-card-primary .contact-card-note {
  color: #c9d4de;
}

.contact-card-value {
  font-size: 1.35rem;
  font-weight: 700;
  word-break: break-word;
}

.contact-card-note {
  font-size: 0.95rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 64px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.contact-info > div {
  display: flex;
  gap: 16px;
}

.contact-info .icon {
  color: var(--green);
}

.contact-info h2 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.contact-info p {
  margin: 0;
  color: var(--slate);
}

.contact-extra {
  margin-top: 48px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* WordPress core */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption-text {
  color: var(--slate);
  font-size: 0.9rem;
}
