/*
Theme Name: AVAMOS
Theme URI: https://avamos.nl
Author: AVAMOS B.V.
Description: Huisstijl-thema voor AVAMOS B.V., gebouwd op Extendable.
Template: extendable
Version: 1.1.1
Text Domain: avamos
*/

/* ---------- base ---------- */
* { box-sizing: border-box; }

::selection { background: #32c2fe; color: #06131f; }

a { text-decoration: none; }

.entry-content a:not(.wp-block-button__link) {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #a8b6c9;
}
.entry-content a:not(.wp-block-button__link):hover {
  color: #38b2ff;
  text-decoration-color: currentColor;
}
a:hover { text-decoration: underline; }

/* ---------- utility: display type ---------- */
.avm-display {
  font-family: 'Arazati', 'Arial Narrow', sans-serif !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.04;
}

.avm-eyebrow {
  font-family: 'Arazati', 'Arial Narrow', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  color: #32c2fe !important;
  margin: 0 0 14px;
}

.avm-gradient-text {
  background: linear-gradient(135deg, #32c2fe 0%, #38b2ff 45%, #a065fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- header ---------- */
.avm-site-header {
  padding: 20px 24px;
  border-bottom: 1px solid #dfe6f0;
  background: #ffffff;
}
.avm-site-header img {
  height: 30px;
  width: auto;
}
.avm-site-header .wp-block-navigation {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
}
.avm-site-header .wp-block-navigation a {
  color: #1b3253;
}
.avm-site-header .wp-block-navigation-item__content:hover {
  color: #38b2ff;
}

/* ---------- hero (homepage) ---------- */
.avm-hero {
  background: #213255;
  color: #f1f5fb;
  padding: 84px 24px 56px;
  position: relative;
  overflow: hidden;
}
.avm-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(135deg, #32c2fe 0%, #38b2ff 45%, #a065fb 100%);
}
.avm-hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-wrap: balance;
}
.avm-hero p {
  color: #aebcd4;
  font-size: 1.15rem;
  line-height: 1.65;
}
.avm-hero .wp-block-buttons { margin-top: 32px; }

/* ---------- sections ---------- */
.avm-section-sunken {
  background: #f5f7fb;
}

/* ---------- kernwaarden ---------- */
.avm-value-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.avm-value-grid > * {
  flex: 1 1 210px;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.avm-value-card {
  background: #ffffff;
  border: 1px solid #dfe6f0;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 1px 2px rgba(27,50,83,0.06), 0 8px 24px rgba(27,50,83,0.05);
  box-sizing: border-box;
}
.avm-value-card .avm-value-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1b3253;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #32c2fe;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.avm-value-card p {
  font-size: 0.9rem;
  color: #4c6079;
  margin: 0;
}

/* ---------- page header (inner pages) ---------- */
.avm-page-head {
  padding: 48px 0 20px;
  border-bottom: 1px solid #dfe6f0;
  margin-bottom: 20px;
}
.avm-page-head h1 {
  margin-bottom: 12px;
}
.avm-page-head p {
  color: #4c6079;
  font-size: 1.05rem;
}

/* ---------- generic card grid ---------- */
.avm-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.avm-card-grid > * {
  flex: 1 1 230px;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* ---------- main content spacing ---------- */
main.wp-block-group {
  padding-bottom: 64px;
}

/* ---------- team photo ---------- */
.avm-card .avm-team-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  display: block;
}

/* ---------- generic card ---------- */
.avm-card {
  background: #ffffff;
  border: 1px solid #dfe6f0;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(27,50,83,0.06), 0 8px 24px rgba(27,50,83,0.05);
  box-sizing: border-box;
}
.avm-card .avm-step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #8592a8;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}

/* ---------- buttons ---------- */
.wp-block-button__link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  padding: 12px 24px !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  border: 1.5px solid #dfe6f0;
  color: #1b3253;
}
.avm-hero .wp-block-button.is-style-outline .wp-block-button__link {
  border-color: rgba(255,255,255,0.35);
  color: #ffffff;
}

/* ---------- badge / tag ---------- */
.avm-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(50,194,254,0.16);
  color: #0f6fa0;
  border: 1px solid rgba(50,194,254,0.4);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
}

/* ---------- modelwaarde report demo ---------- */
.avm-report-card {
  background: #ffffff;
  border: 1px solid #dfe6f0;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(27,50,83,0.06), 0 8px 24px rgba(27,50,83,0.05);
  overflow: hidden;
}
.avm-report-head {
  background: #213255;
  color: #f1f5fb;
  padding: 22px 26px;
}
.avm-report-head .avm-addr {
  font-family: 'Arazati', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.3rem;
}
.avm-report-head .avm-sub {
  color: #aebcd4;
  font-size: 0.85rem;
  margin-top: 2px;
}
.avm-report-body { padding: 26px; }
.avm-report-body .wp-block-table {
  overflow-x: auto;
  display: block;
  max-width: 100%;
}
.avm-report-body .wp-block-table table {
  width: 100%;
}
.avm-report-amount {
  font-family: 'Arazati', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #32c2fe 0%, #38b2ff 45%, #a065fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.avm-field-k {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8592a8;
  margin-bottom: 3px;
}
.avm-field-v {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #1b3253;
}
.avm-source-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #8592a8;
}

/* ---------- blog list ---------- */
.avm-card .avm-source-tag {
  display: block;
  margin-bottom: 8px;
}
.avm-blog-title {
  margin: 0 0 8px;
}
.avm-blog-title a {
  color: #1b3253;
  text-decoration: none;
}
.avm-blog-title a:hover {
  color: #38b2ff;
}
.wp-block-post-excerpt__excerpt {
  color: #4c6079;
  font-size: 0.95rem;
}
.wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1b3253;
  text-decoration: underline;
  text-decoration-color: #a8b6c9;
}
.wp-block-post-excerpt__more-link:hover {
  color: #38b2ff;
}

/* ---------- post date (single post) ---------- */
.avm-post-date {
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- breadcrumb ---------- */
.avm-breadcrumb {
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}
.avm-breadcrumb p {
  font-size: 0.85rem;
  color: #8592a8;
  margin: 0;
}
.avm-breadcrumb a {
  color: #8592a8;
  text-decoration: none;
}
.avm-breadcrumb a:hover {
  color: #38b2ff;
  text-decoration: underline;
}
.avm-breadcrumb-sep {
  color: #c7cedb;
}
.avm-breadcrumb-current.wp-block-post-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 0.85rem !important;
  color: #4c6079 !important;
  margin: 0 !important;
  line-height: 1.4;
}

/* ---------- footer ---------- */
.avm-site-footer {
  background: #213255;
  color: #aebcd4;
  padding: 48px 24px 32px;
  font-size: 0.9rem;
}
.avm-site-footer img { height: 26px; width: auto; margin-bottom: 16px; }
.avm-site-footer a { color: #f1f5fb; }
.avm-site-footer .avm-footer-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: #77869e;
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .avm-hero { padding: 56px 20px 40px; }
  .avm-page-head { padding-left: 20px; padding-right: 20px; }
}
