/*
 * Additions to the original WordPress stylesheets. Visual output is unchanged; these rules only
 * reproduce, before hydration, states the original reached via JavaScript (prevents layout shift).
 */

/* Quiz Maker hides every step except the active one on init. */
.ays-quiz-container .ays-quiz-form > div.step:not(.active-step) {
  display: none;
}

/*
 * SEO plan (../seo-changes.md S-2, S-3): author profile page and author block under articles.
 * New elements, styled with the site's palette (Elementor kit) and Raleway.
 */
.ldr-author {
  --ldr-terra: #d17869;
  --ldr-cream: #fcf6d6;
  --ldr-yellow: #f5cf66;
  --ldr-text: #080808;
  font-family: Raleway, sans-serif;
  color: var(--ldr-text);
  box-sizing: border-box;
}
.ldr-author *,
.ldr-author *::before,
.ldr-author *::after {
  box-sizing: inherit;
}
.ldr-author p {
  margin: 0;
}
.ldr-author a {
  color: var(--ldr-terra);
  text-decoration: none;
}
.ldr-author a:hover,
.ldr-author a:focus-visible {
  text-decoration: underline;
}
.ldr-author__photo {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  aspect-ratio: 1;
  height: auto;
  background: var(--ldr-cream);
}
.ldr-author__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ldr-terra);
}
.ldr-author__role {
  font-weight: 600;
  margin-top: 2px;
}
.ldr-author__dates {
  font-size: 14px;
  color: #555;
}
.ldr-author__more {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
}

/* Block under articles */
.ldr-author--box {
  max-width: 1140px;
  margin: 40px auto 60px;
  padding: 0 20px;
}
.ldr-author--box .ldr-author__inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--ldr-cream);
  border-radius: 24px;
  padding: 28px 32px;
}
.ldr-author--box .ldr-author__photo-link {
  flex: 0 0 120px;
}
.ldr-author--box .ldr-author__photo {
  width: 120px;
  height: 160px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 999px;
  object-position: 50% 28%;
  background: var(--ldr-yellow);
}
.ldr-author--box .ldr-author__name {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 4px;
}
.ldr-author--box .ldr-author__bio {
  margin: 10px 0 8px;
  font-size: 16px;
  line-height: 1.5;
}
.ldr-author--box .ldr-author__button {
  margin-top: 14px;
}
.ldr-author__disclaimer {
  font-size: 13px;
  line-height: 1.5;
  color: #555;
  margin-top: 14px !important;
  padding: 0 4px;
}

/* Author page */
.ldr-author--page {
  max-width: 1140px;
  margin: 0 auto;
  /* the Elementor header is sticky and overlays the top of theme pages */
  padding: 130px 20px 80px;
}
.ldr-author__hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--ldr-cream);
  border-radius: 32px;
  padding: 40px 48px;
}
.ldr-author__hero .ldr-author__photo {
  width: 260px;
  border: 6px solid #fff;
}
.ldr-author__title {
  font-family: Raleway, sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ldr-terra);
  margin: 4px 0 0;
}
.ldr-author__hero .ldr-author__role {
  font-size: 20px;
}
.ldr-author__intro {
  margin-top: 16px !important;
  font-size: 17px;
  line-height: 1.6;
}
.ldr-author__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
}
.ldr-author .ldr-author__button {
  display: inline-block;
  background: var(--ldr-terra);
  color: #fff;
  border-radius: 30px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
}
.ldr-author .ldr-author__button:hover,
.ldr-author .ldr-author__button:focus-visible {
  background: #c17486;
  text-decoration: none;
}
.ldr-author__links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 700;
}
.ldr-author__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.ldr-author__card {
  border: 2px solid #f5e9b8;
  border-radius: 24px;
  padding: 24px 26px;
}
.ldr-author h2 {
  font-family: Raleway, sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--ldr-terra);
  margin: 0 0 14px;
}
.ldr-author__card ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.ldr-author__card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--ldr-cream);
  font-size: 15px;
  line-height: 1.45;
}
.ldr-author__card li:last-child {
  border-bottom: 0;
}
.ldr-author__card strong {
  display: block;
  font-weight: 700;
}
.ldr-author__card span {
  color: #555;
}
.ldr-author__posts {
  margin-top: 56px;
}
.ldr-author__posts > h2 {
  font-size: 34px;
  margin-bottom: 24px;
}
.ldr-author__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.ldr-author__post img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}
.ldr-author__post h3 {
  font-family: Raleway, sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 16px 0 4px;
}
.ldr-author__post h3 a {
  color: var(--ldr-text);
}
.ldr-author__post p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .ldr-author__hero {
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 32px;
  }
  .ldr-author__hero .ldr-author__photo {
    width: 200px;
  }
  .ldr-author__title {
    font-size: 38px;
  }
  .ldr-author__facts,
  .ldr-author__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .ldr-author--page {
    padding-top: 120px;
  }
  .ldr-author__hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 28px 20px;
    border-radius: 24px;
  }
  .ldr-author__hero .ldr-author__photo {
    width: 180px;
  }
  .ldr-author__title {
    font-size: 32px;
  }
  .ldr-author__actions {
    justify-content: center;
  }
  .ldr-author__facts,
  .ldr-author__grid {
    grid-template-columns: 1fr;
  }
  .ldr-author__posts > h2 {
    font-size: 26px;
  }
  .ldr-author--box .ldr-author__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }
  .ldr-author--box .ldr-author__photo-link {
    flex-basis: auto;
  }
  .ldr-author--box .ldr-author__photo {
    width: 96px;
    height: 128px;
  }
}

.ldr-author--box .ldr-author__button::after {
  content: " ➜";
}
.ldr-author .ldr-author__button:focus-visible {
  outline: 2px solid var(--ldr-text);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .ldr-author .ldr-author__button {
    transition: background-color 0.2s ease;
  }
}

/*
 * End-of-article block: crop the 1000×1105 portrait to head and shoulders
 * (x 250–750, y 270–940) inside the arch, so the face reads at small sizes.
 */
.ldr-author--box .ldr-author__photo-link {
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: var(--ldr-yellow);
  aspect-ratio: 3 / 4;
  align-self: start;
}
.ldr-author--box .ldr-author__photo-link {
  width: 120px;
}
.ldr-author--box .ldr-author__photo {
  width: 200%;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  margin: -54% 0 0 -50%;
  border-radius: 0;
  object-fit: fill;
}
@media (max-width: 767px) {
  .ldr-author--box .ldr-author__photo-link {
    width: 96px;
    align-self: center;
  }
  .ldr-author--box .ldr-author__photo {
    width: 200%;
    height: auto;
  }
}

/*
 * S-10: home page section "Детски логопед от гр. Варна".
 * Brand: Pacifico eyebrow in coral, Raleway headings in #3a3a3a, the pastel tints of the price cards,
 * the qualifications card shadow, the site's terracotta button. Signature: the areas of help as a
 * conversation of speech bubbles; the three steps are joined by a waveform that "plays" from 1 to 3.
 * Motion: the site's Elementor entrance animations (fadeIn / fadeInUp); reduced motion respected.
 */
.ldr-kids {
  --kids-ink: #3a3a3a;
  --kids-coral: #fd6060;
  --kids-terra: #d17869;
  --kids-pink: #ffe2e2;
  --kids-sky: #d0eef9;
  --kids-lavender: #e2e9ff;
  --kids-butter: #fcf6d6;
  font-family: Raleway, sans-serif;
  color: #080808;
  padding: 100px 20px 30px;
}
.ldr-kids__inner {
  max-width: 1140px;
  margin: 0 auto;
}
.ldr-kids p,
.ldr-kids ul,
.ldr-kids ol {
  margin: 0;
}
.ldr-kids .ldr-kids__eyebrow {
  font-family: Pacifico, cursive;
  font-size: 26px;
  line-height: 1.3;
  color: var(--kids-coral);
}
.ldr-kids .ldr-kids__title {
  font-family: Raleway, sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--kids-ink);
  margin: 4px 0 20px;
}
.ldr-kids .ldr-kids__lead {
  font-size: 17px;
  line-height: 1.7;
}
.ldr-kids h3 {
  font-family: Raleway, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--kids-ink);
  margin: 0 0 22px;
}

/* Top: text + speech bubbles */
.ldr-kids__top {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.ldr-kids__bubbles {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 18px;
  row-gap: 22px;
  align-items: start;
}
.ldr-kids__bubble {
  position: relative;
  border-radius: 22px;
  padding: 18px 20px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--kids-ink);
  background: var(--kids-pink);
}
/* the tail: left in the first column, right in the second, like two sides of a conversation */
.ldr-kids__bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 26px;
  width: 18px;
  height: 18px;
  background: inherit;
  border-radius: 0 0 5px 0;
  transform: rotate(45deg);
}
.ldr-kids__bubble:nth-child(even) {
  margin-top: 18px;
}
.ldr-kids__bubble:nth-child(even)::after {
  left: auto;
  right: 26px;
}
.ldr-kids__bubble:nth-child(4n + 2) {
  background: var(--kids-sky);
}
.ldr-kids__bubble:nth-child(4n + 3) {
  background: var(--kids-lavender);
}
.ldr-kids__bubble:nth-child(4n + 4) {
  background: var(--kids-butter);
}

/* Process: three steps joined by a waveform */
.ldr-kids__process {
  margin-top: 80px;
}
.ldr-kids .ldr-kids__process > h3 {
  text-align: center;
  margin-bottom: 30px;
}
.ldr-kids__steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.ldr-kids__steps::before {
  content: "";
  position: absolute;
  top: 0;
  height: 60px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='60' viewBox='0 0 56 60'%3E%3Cg stroke='%23d17869' stroke-width='4' stroke-linecap='round' opacity='.45'%3E%3Cpath d='M4 26v8M12 20v20M20 14v32M28 22v16M36 10v40M44 18v24M52 24v12'/%3E%3C/g%3E%3C/svg%3E")
    center / 56px 60px space no-repeat;
}
@keyframes ldrWaveX {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes ldrWaveY {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ldr-kids__steps.animated::before {
    animation: ldrWaveX 1.6s 0.3s ease-in-out both;
  }
}
.ldr-kids__step {
  position: relative;
  text-align: center;
}
.ldr-kids__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--kids-terra);
  box-shadow: 0 0 0 10px #fff;
  color: #fff;
  font-family: Pacifico, cursive;
  font-size: 26px;
  line-height: 1;
  padding-bottom: 4px;
}
.ldr-kids .ldr-kids__step h4 {
  font-family: Raleway, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--kids-ink);
  margin: 18px 0 8px;
}
.ldr-kids__step p {
  font-size: 16px;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

/* Where + hours + booking: white card with the qualifications card shadow */
.ldr-kids__card {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 28px 36px;
  align-items: start;
  margin-top: 72px;
  padding: 34px 40px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 10px 6px rgba(0, 0, 0, 0.08);
}
.ldr-kids__info {
  display: flex;
  gap: 16px;
}
.ldr-kids__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--kids-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ldr-kids__info:nth-child(2) .ldr-kids__icon {
  background: var(--kids-sky);
}
.ldr-kids__icon svg {
  width: 18px;
  height: 18px;
  fill: var(--kids-terra);
}
.ldr-kids .ldr-kids__card h3 {
  font-size: 18px;
  margin: 2px 0 6px;
}
.ldr-kids__card p {
  font-size: 16px;
  line-height: 1.6;
}
.ldr-kids .ldr-kids__card a:not(.ldr-kids__button) {
  display: inline-block;
  margin-top: 4px;
  color: var(--kids-terra);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ldr-kids .ldr-kids__button {
  display: inline-block;
  align-self: center;
  background: var(--kids-terra);
  color: #fff;
  border-radius: 30px;
  padding: 16px 34px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.ldr-kids .ldr-kids__button:hover,
.ldr-kids .ldr-kids__button:focus-visible {
  background: #c17486;
  color: #fff;
}
.ldr-kids a:focus-visible {
  outline: 2px solid var(--kids-ink);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .ldr-kids .ldr-kids__button {
    transition: background-color 0.2s ease;
  }
}

@media (max-width: 1024px) {
  .ldr-kids {
    padding-top: 70px;
  }
  .ldr-kids__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ldr-kids .ldr-kids__title {
    font-size: 38px;
  }
  .ldr-kids__card {
    grid-template-columns: 1fr 1fr;
  }
  .ldr-kids .ldr-kids__button {
    justify-self: start;
  }
}
@media (max-width: 767px) {
  .ldr-kids {
    padding: 56px 16px 16px;
  }
  .ldr-kids .ldr-kids__eyebrow {
    font-size: 22px;
  }
  .ldr-kids .ldr-kids__title {
    font-size: 32px;
  }
  .ldr-kids h3 {
    font-size: 22px;
  }
  .ldr-kids__bubbles {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .ldr-kids__bubble {
    width: 88%;
  }
  .ldr-kids__bubble:nth-child(even) {
    margin-top: 0;
    justify-self: end;
  }
  .ldr-kids__process {
    margin-top: 56px;
  }
  .ldr-kids .ldr-kids__process > h3 {
    text-align: left;
  }
  /* steps stack; a waveform segment runs down from each number to the next one */
  .ldr-kids__steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ldr-kids__steps::before {
    content: none;
  }
  .ldr-kids__step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0;
    top: 66px;
    bottom: -22px;
    width: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='56' viewBox='0 0 60 56'%3E%3Cg stroke='%23d17869' stroke-width='4' stroke-linecap='round' opacity='.45'%3E%3Cpath d='M26 4h8M20 12h20M14 20h32M22 28h16M10 36h40M18 44h24M24 52h12'/%3E%3C/g%3E%3C/svg%3E")
      center top / 60px 56px repeat-y;
  }
  .ldr-kids__step {
    text-align: left;
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 18px;
  }
  .ldr-kids__num {
    grid-row: span 2;
  }
  .ldr-kids .ldr-kids__step h4 {
    margin: 12px 0 6px;
  }
  .ldr-kids__step p {
    margin: 0;
    max-width: none;
  }
  .ldr-kids__card {
    grid-template-columns: 1fr;
    padding: 26px 22px;
    margin-top: 48px;
  }
  .ldr-kids .ldr-kids__button {
    justify-self: stretch;
    text-align: center;
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .ldr-kids__step.animated:not(:last-child)::after {
    animation: ldrWaveY 0.9s 0.6s ease-in-out both;
  }
}

/*
 * S-19: the decorative illustration next to the certificates gallery (absolute, z-index 1) covers the
 * first certificate on mobile, so a tap never reaches the lightbox link (same on the original site).
 * It is not a link, so it can ignore pointer events.
 */
.elementor-element-407b6b6 {
  pointer-events: none;
}

/* ---------- Privacy policy text (S-29) ---------- */
/* The header overlaps the top of plain (non-Elementor) pages, as on the original site; here the title must be readable. */
.site-main:has(> .ldr-legal) {
  padding-top: 110px;
  padding-bottom: 60px;
}
.ldr-legal h2 {
  margin-top: 1.6em;
}
.ldr-legal h3 {
  margin-top: 1.2em;
  font-size: 1.15em;
}
.ldr-legal ul {
  margin: 0 0 1em;
  padding-left: 1.4em;
}
.ldr-legal li {
  margin-bottom: 0.35em;
}
.ldr-legal a {
  text-decoration: underline;
}

/* ---------- Cookie banner (S-31) ---------- */
.ldr-cookies {
  position: fixed;
  z-index: 9990;
  left: 20px;
  bottom: 20px;
  width: min(420px, calc(100vw - 40px));
  padding: 22px 24px 20px;
  background: #fff;
  color: #3a3a3a;
  border-radius: 24px 24px 24px 6px;
  box-shadow: 0 0 10px 6px rgba(0, 0, 0, 0.08);
  font-family: Raleway, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
.ldr-cookies p {
  margin: 0;
}
.ldr-cookies .ldr-cookies__title {
  font-family: Pacifico, cursive;
  font-size: 24px;
  line-height: 1.2;
  color: #40263f;
  margin-bottom: 8px;
}
.ldr-cookies__text a {
  color: #a5503f;
  font-weight: 600;
  text-decoration: underline;
}
.ldr-cookies__actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.ldr-cookies .ldr-cookies__btn {
  flex: 1 1 0;
  padding: 13px 16px;
  border: 2px solid #d17869;
  border-radius: 30px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}
.ldr-cookies .ldr-cookies__btn--accept {
  background: #d17869;
  color: #fff;
}
.ldr-cookies .ldr-cookies__btn--deny {
  background: #fff;
  color: #a5503f;
}
.ldr-cookies .ldr-cookies__btn--accept:hover,
.ldr-cookies .ldr-cookies__btn--accept:focus-visible {
  background: #c17486;
  border-color: #c17486;
  color: #fff;
}
.ldr-cookies .ldr-cookies__btn--deny:hover,
.ldr-cookies .ldr-cookies__btn--deny:focus-visible {
  background: #fcf6d6;
  color: #a5503f;
}
.ldr-cookies .ldr-cookies__btn:focus-visible,
.ldr-cookies__text a:focus-visible {
  outline: 2px solid #080808;
  outline-offset: 3px;
}
@media (max-width: 767px) {
  .ldr-cookies {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 18px 18px 16px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ldr-cookies {
    animation: ldr-cookies-in 0.35s ease-out both;
  }
  .ldr-cookies .ldr-cookies__btn {
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }
}
@keyframes ldr-cookies-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ---------- Section "Имате въпроси?": contact details instead of the form (S-40) ---------- */
.ldr-contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 16px;
}
.ldr-contact__rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: 20px 30px;
  flex: 0 1 550px;
}
.ldr-contact .ldr-contact__row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 8px 24px;
  background: #3a8fbe;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-family: Raleway, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.ldr-contact .ldr-contact__row--wide {
  grid-column: 1 / -1;
}
.ldr-contact__row svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}
.ldr-contact__row small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.ldr-contact .ldr-contact__row:hover,
.ldr-contact .ldr-contact__row:focus-visible {
  background: #327fab;
  color: #fff;
}
.ldr-contact .ldr-contact__button {
  flex: none;
  display: inline-block;
  padding: 22px 44px 21px;
  background: #fff;
  border: 3px solid #fff;
  border-radius: 40px;
  color: #3a8fbe;
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}
.ldr-contact .ldr-contact__button:hover,
.ldr-contact .ldr-contact__button:focus-visible {
  background: transparent;
  color: #fff;
}
/* The two test pages: terracotta panel, the colours and rounded fields of their original forms. */
.ldr-contact--terra .ldr-contact__row {
  background: #df897a;
  border-radius: 15px;
}
.ldr-contact--terra .ldr-contact__row:hover,
.ldr-contact--terra .ldr-contact__row:focus-visible {
  background: #c9705f;
}
.ldr-contact--terra .ldr-contact__button {
  color: #40263f;
}
.ldr-contact .ldr-contact__row:focus-visible,
.ldr-contact .ldr-contact__button:focus-visible {
  outline: 3px solid #fcf6d6;
  outline-offset: 3px;
}
@media (max-width: 1024px) {
  .ldr-contact {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .ldr-contact__rows {
    flex: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .ldr-contact__rows {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ldr-contact .ldr-contact__row,
  .ldr-contact .ldr-contact__button {
    transition: background-color 0.2s ease, color 0.2s ease;
  }
}
