.kca-a11y * {
  box-sizing: border-box;
}

.kca-a11y.v2 {
  --bg: #ffffff;
  --surface: #fcfbf9;
  --card: #ffffff;
  --text: #133357;
  --text-body: #2f3d4c;
  --muted: #716a63;
  --primary: #8c2309;
  --primary-dark: #6f1b06;
  --line: #d7cfc7;
  --line-soft: #e9e4de;
  --blue: #09356f;
  --shadow-sm: 0 3px 10px rgba(16, 28, 44, 0.04);
  --shadow-md: 0 14px 30px rgba(16, 28, 44, 0.08);

  background: var(--bg);
  padding: 34px 0 0;
  font-family: "DM Sans", sans-serif;
}

.kca-a11y .kca-a11y-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.kca-a11y-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.kca-a11y-eyebrow-line {
  width: 44px;
  height: 2px;
  background: var(--primary);
  border-radius: 99px;
}

.kca-a11y-eyebrow-text {
  color: var(--primary);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kca-a11y-headline-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  background: #f8f5f0;
  padding: 26px 24px 34px;
  border: none;
}

.kca-a11y-hero-left {
  padding-left: 20px;
}

.kca-a11y h2.kca-a11y-headline {
  font-family: "Lusitana", serif !important;
  color: var(--text) !important;
  font-size: clamp(2.05rem, 3.45vw, 3.65rem) !important;
  line-height: 1.12 !important;
  font-weight: 500 !important;
  letter-spacing: -0.03em;
  margin: 0 0 18px !important;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.kca-a11y-headline em {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}

.kca-a11y-intro {
  margin: 0;
  width: 100%;
  max-width: none;
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.72;
  font-weight: 500;
}

.kca-a11y-midline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 58px 0 54px;
}

.kca-a11y-midline::before,
.kca-a11y-midline::after {
  content: "";
  height: 1px;
  background: #bac2ca;
}

.kca-a11y-midline span {
  color: var(--text);
  font-size: 28px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.kca-a11y-values-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.kca-a11y-card {
  display: grid;
  grid-template-rows: 220px 148px;
  row-gap: 10px;
  background: var(--card);
  border: 1px solid #efe7df;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.kca-a11y-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #e4d6ca;
}

.kca-a11y-card-top {
  padding: 18px 16px 16px;
  height: 220px;
  box-sizing: border-box;
  overflow: hidden;
}

.kca-a11y-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.kca-a11y-card-head h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.kca-a11y-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 2px solid #ead8cf;
  background: #fff9f6;
  font-size: 14px;
  line-height: 1;
  margin-bottom: 0;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.kca-a11y-icon-svg {
  width: 28px;
  height: 28px;
  display: block;
}

.kca-a11y-card h3 {
  font-family: "Lusitana", serif;
  color: #1d2d3d;
  font-size: 1.52rem;
  line-height: 1.03;
  font-weight: 500;
  margin: 0;
}

.kca-a11y-card p {
  color: #374759;
  font-size: 1.08rem;
  line-height: 1.65;
  margin: 0;
}

.kca-a11y-card-image {
  position: relative;
  height: 148px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #d8dde3;
}

.kca-a11y-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 17, 28, 0.1),
    rgba(8, 17, 28, 0) 45%
  );
  pointer-events: none;
}

.kca-a11y-card-image img,
.kca-a11y-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.kca-a11y-card-image img {
  height: 100% !important;
  min-height: 100% !important;
  width: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center bottom !important;
}

.kca-a11y-card:hover .kca-a11y-card-image img {
  transform: scale(1.04);
}

.kca-a11y-cta-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  background: #f8f5f0;
  overflow: hidden;
  border: none;
}

.kca-a11y-cta-copy {
  position: relative;
  padding: 42px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kca-a11y-cta-copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: -46px;
  width: 92px;
  height: 100%;
  background: #f8f5f0;
  transform: skewX(-12deg);
  transform-origin: center;
  z-index: 1;
}

.kca-a11y-cta-copy > * {
  position: relative;
  z-index: 2;
}

.kca-a11y-cta-copy h3 {
  font-family: "Lusitana", serif;
  color: var(--text);
  font-size: clamp(2.1rem, 3.1vw, 3.2rem);
  line-height: 0.98;
  font-weight: 500;
  margin: 0 0 16px;
}

.kca-a11y-cta-copy h3 em {
  color: var(--primary);
  font-style: italic;
}

.kca-a11y-cta-copy p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.72;
  margin: 0 0 24px;
  max-width: 360px;
}

.kca-a11y-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: var(--primary);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(140, 35, 9, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.kca-a11y-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(140, 35, 9, 0.24);
  background: var(--primary-dark);
}

.kca-a11y-cta-image {
  min-height: 310px;
  background: #cfd6dc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #66737f;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kca-a11y-bottom-banner {
  position: relative;
  overflow: hidden;
  background: #8c2309;
  padding: 54px 24px;
  margin-top: 30px;
}

.kca-a11y-hero-right {
  aspect-ratio: 1170 / 850;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #dcd6ce;
  min-height: 320px;
}

.kca-a11y-hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kca-a11y-bottom-banner::after {
  content: "";
  position: absolute;
  right: -68px;
  bottom: -92px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.22) 5px,
    transparent 7px
  );
  background-size: 28px 28px;
  opacity: 0.55;
}

.kca-a11y-bottom-banner p {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.33;
  text-align: center;
  font-weight: 400;
  max-width: 860px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .kca-a11y-values-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kca-a11y-headline-block,
  .kca-a11y-cta-panel {
    grid-template-columns: 1fr;
  }

  .kca-a11y-intro,
  .kca-a11y-cta-copy p {
    max-width: none;
  }

  .kca-a11y-cta-copy::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .kca-a11y.v2 {
    padding-top: 24px;
  }

  .kca-a11y .kca-a11y-inner {
    padding: 0 16px;
  }

  .kca-a11y-headline-block {
    gap: 22px;
    padding: 22px 18px 24px;
  }

  .kca-a11y h2.kca-a11y-headline {
    font-size: 2.2rem !important;
    line-height: 1.12 !important;
  }

  .kca-a11y-midline {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 52px 0 50px;
  }

  .kca-a11y-midline::before,
  .kca-a11y-midline::after {
    display: none;
  }

  .kca-a11y-midline span {
    white-space: normal;
  }

  .kca-a11y-values-grid-4 {
    grid-template-columns: 1fr;
  }

  .kca-a11y-card {
    grid-template-rows: auto 190px;
  }

  .kca-a11y-card-top {
    height: auto;
    overflow: visible;
  }

  .kca-a11y-card-image {
    height: 190px;
  }

  .kca-a11y-cta-copy {
    padding: 28px 22px;
  }

  .kca-a11y-cta-image {
    min-height: 240px;
  }

  .kca-a11y-bottom-banner {
    padding: 38px 18px;
  }
}
