/* FestiTale WEB REV 1.8.6 — Ahrensburg field-test entry and mobile footer clearance. */

.ft186-ahrensburg-entry {
  margin-top: 34px;
  padding: clamp(22px, 3.5vw, 34px);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  border-top: 5px solid var(--ft-gold, #e8b55a);
  border-radius: 0 0 24px 24px;
  background: var(--ft-ink, #0b3149);
  color: #fff;
  box-shadow: 0 20px 56px rgba(7, 29, 44, .16);
}

.ft186-ahrensburg-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--ft-mint, #77cdb4);
  color: var(--ft-ink, #0b3149);
  font-size: 28px;
  font-weight: 900;
}

.ft186-ahrensburg-copy small {
  color: var(--ft-mint, #77cdb4);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ft186-ahrensburg-copy h2 {
  margin: 6px 0 8px;
  color: #fff;
  font: 600 clamp(28px, 3.4vw, 42px)/1 Newsreader, Georgia, serif;
  text-wrap: balance;
}

.ft186-ahrensburg-copy p {
  max-width: 670px;
  margin: 0;
  color: #d8e6ea;
  font-size: 14px;
  line-height: 1.55;
}

.ft186-ahrensburg-button {
  white-space: nowrap;
}

@media (max-width: 860px) {
  .ft186-ahrensburg-entry {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 17px;
  }

  .ft186-ahrensburg-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .ft186-ahrensburg-button {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  /* At page end the fixed feedback button now floats over reserved footer space,
     not over the legal links. */
  body.brand-2026.page-code .site-footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 560px) {
  .ft186-ahrensburg-entry {
    margin-top: 24px;
    padding: 20px 16px;
    border-radius: 0 0 20px 20px;
  }

  .ft186-ahrensburg-copy h2 {
    font-size: 29px;
  }

  .ft186-ahrensburg-copy p {
    font-size: 13px;
  }
}
