@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Nunito+Sans:wght@300;400;600;700;800&display=swap');

:root {
  --tslf-ink: #2d3342;
  --tslf-hero-overlay: rgba(28, 36, 68, 0.62);
  --tslf-accent: #e45b3b;
  --tslf-light-bg: #efefec;
  --tslf-serif: "Libre Baskerville", Georgia, serif;
  --tslf-sans: "Nunito Sans", "Segoe UI", sans-serif;
}

.home.page .entry-content {
  margin: 0;
}

.tslf-homepage {
  font-family: var(--tslf-sans);
  color: #54585f;
}

.tslf-homepage h1,
.tslf-homepage h2,
.tslf-homepage h3,
.tslf-homepage h4 {
  font-family: var(--tslf-serif);
  color: var(--tslf-ink);
  margin: 0;
}

.tslf-hero {
  min-height: 720px;
  background: linear-gradient(var(--tslf-hero-overlay), var(--tslf-hero-overlay)),
    var(--tslf-hero-image) center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 20px 90px;
}

.tslf-hero-inner {
  max-width: 920px;
}

.tslf-practice-areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 700;
}

.tslf-practice-areas .elementor-icon-list-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.tslf-practice-areas .elementor-icon-list-item {
  margin: 0 !important;
}

.tslf-practice-areas .elementor-icon-list-icon {
  display: none;
}

.tslf-practice-areas a {
  color: #f0f2ff;
  text-decoration: none;
  white-space: nowrap;
}

.tslf-hero h1 {
  color: #ffffff;
  font-size: clamp(40px, 6vw, 74px);
  margin-bottom: 24px;
}

.tslf-hero-copy {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.75;
  font-size: 16px;
}

.tslf-btn {
  display: inline-block;
  margin-top: 28px;
  background: var(--tslf-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 12px 28px;
}

.tslf-section {
  padding: 82px 20px;
}

.tslf-articles {
  background: #f4f4f2;
  text-align: center;
}

.tslf-subtitle {
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 11px;
  color: #d28f7f;
  margin-bottom: 8px;
}

.tslf-articles h2 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 42px;
}

.tslf-cards {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.tslf-card {
  background: transparent;
}

.tslf-card img {
  width: 100%;
  max-width: 330px;
  height: auto;
}

.tslf-card-date {
  font-family: var(--tslf-serif);
  color: #a6a6a6;
  font-size: 12px;
  font-style: italic;
  margin-top: 14px;
}

.tslf-card h3 {
  font-size: clamp(24px, 2.6vw, 37px);
  line-height: 1.2;
  margin: 10px auto 10px;
  max-width: 430px;
}

.tslf-card h3 a {
  color: var(--tslf-ink);
  text-decoration: none;
}

.tslf-card p {
  margin: 0;
  color: #7a7f87;
}

.tslf-card .elementor-widget-image,
.tslf-card .elementor-widget-heading,
.tslf-card .elementor-widget-text-editor {
  width: 100%;
}

.tslf-view-posts {
  margin-top: 46px;
  display: inline-block;
  border: 1px solid #dedede;
  color: #2f3139;
  text-decoration: none;
  padding: 14px 36px;
  letter-spacing: 1.2px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
}

.tslf-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 980px;
  margin: 68px auto 0;
  align-items: center;
}

.tslf-badges img {
  max-width: 180px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.tslf-badges > .elementor-element {
  display: flex;
  justify-content: center;
}

.tslf-badges br {
  display: none;
}

.tslf-contact {
  background: var(--tslf-light-bg);
}

.tslf-contact-wrap {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}

.tslf-contact h2 {
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.04;
  margin: 8px 0 20px;
}

.tslf-contact p {
  max-width: 360px;
  line-height: 1.7;
  margin: 0;
}

.tslf-form .wp-block-sureforms-form {
  margin: 0;
}

.tslf-footer {
  background: var(--tslf-light-bg);
  text-align: center;
  padding: 44px 20px 60px;
}

.tslf-footer h3 {
  font-size: clamp(36px, 4vw, 62px);
  margin-bottom: 22px;
}

.tslf-address {
  color: #c36554;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 10px 0;
}

.tslf-phone {
  margin: 16px 0;
}

.tslf-phone a {
  color: #c36554;
  text-decoration: none;
}

.tslf-copyright {
  color: #8a8f96;
  font-size: 12px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .tslf-cards {
    grid-template-columns: 1fr;
  }

  .tslf-badges {
    grid-template-columns: 1fr;
  }

  .tslf-contact-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .tslf-hero {
    min-height: clamp(560px, 84vh, 690px);
    padding: clamp(94px, 16vw, 118px) 20px clamp(56px, 10vw, 84px);
  }
}

@media (max-width: 767px) {
  .tslf-hero {
    min-height: clamp(540px, 88vh, 660px);
    padding: clamp(88px, 18vw, 112px) 20px clamp(54px, 11vw, 78px);
  }

  .tslf-hero h1 {
    margin-bottom: 20px;
  }

  .tslf-practice-areas,
  .tslf-practice-areas .elementor-icon-list-items {
    gap: clamp(10px, 2.8vw, 16px);
    margin-bottom: 24px;
  }
}
