/* Site-specific styling for www.theframework.be (shared brand styling lives
   in theme/overrides/assets/tf/tf-brand.css). */

/* Contact form (contact.md) */
.tf-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32rem;
}

.tf-contact label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 700;
}

.tf-contact input,
.tf-contact textarea {
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--md-default-fg-color--lighter);
  border-radius: 0.2rem;
  background-color: var(--md-default-bg-color);
  color: var(--md-default-fg-color);
  font: inherit;
  font-weight: 400;
}

.tf-contact input:focus,
.tf-contact textarea:focus {
  border-color: var(--md-accent-fg-color);
  outline: none;
}

.tf-contact .md-button {
  align-self: flex-start;
  cursor: pointer;
}

.tf-contact__gotcha {
  display: none;
}

/* Home page (index.md) */
.tf-hero {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 1.5rem 0 3rem;
}

.tf-hero__text {
  flex: 1 1 0;
}

.md-typeset .tf-hero h1 {
  margin: 0 0 1rem;
  color: var(--md-default-fg-color);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
}

.md-typeset .tf-eyebrow {
  margin: 0 0 0.6rem;
  color: var(--md-accent-fg-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tf-hero__text > p:not(.tf-eyebrow) {
  max-width: 34rem;
  font-size: 0.9rem;
}

.tf-hero .md-button {
  margin: 0.4rem 0.4rem 0 0;
}

.tf-hero__logo {
  flex: 0 0 auto;
  width: 13rem;
  filter: drop-shadow(0 0 2.5rem rgba(43, 218, 190, 0.35));
}

@media screen and (max-width: 44.9375em) {
  .tf-hero {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1rem;
  }

  .tf-hero__logo {
    width: 6rem;
  }

  .md-typeset .tf-hero h1 {
    font-size: 1.8rem;
  }
}

/* Teal primary buttons, readable on the dark header color */
.md-typeset .md-button--primary {
  border-color: var(--tf-teal);
  background-color: var(--tf-teal);
  color: #0c0e11;
}

.md-typeset .md-button--primary:hover {
  border-color: var(--tf-deep-blue);
  background-color: var(--tf-deep-blue);
  color: #ffffff;
}

.md-typeset .grid.cards .lg {
  height: 1.6em;
  width: 1.6em;
  vertical-align: middle;
  color: var(--md-accent-fg-color);
}

.md-typeset .tf-cta {
  margin: 3rem 0 1rem;
  padding: 1.5rem 1.8rem;
  border: 1px solid var(--md-accent-fg-color--transparent);
  border-radius: 0.4rem;
  background: linear-gradient(135deg, rgba(9, 99, 142, 0.35), rgba(43, 218, 190, 0.12));
}

.md-typeset .tf-cta h3 {
  margin-top: 0;
}

/* Two-column card grids (2 × 2) on the home page */
@media screen and (min-width: 45em) {
  .md-typeset .grid.tf-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Calm card backgrounds over the site background image */
[data-md-color-scheme="slate"] .md-typeset .grid.cards > ul > li {
  background-color: rgba(17, 19, 24, 0.72);
}

[data-md-color-scheme="default"] .md-typeset .grid.cards > ul > li {
  background-color: rgba(255, 255, 255, 0.85);
}
