@import url("base.css");
@import url("navigation.css");
@import url("components.css");
@import url("footer.css");
.skip-link { 
    position: fixed; 
    top: 12px; 
    left: 12px; 
    z-index: 1000; 
    transform: translateY(-160%); 
    padding: 10px 14px; 
    border-radius: 8px; 
    background: var(--ink); 
    color: #fff; 
}
.skip-link:focus { 
    transform: translateY(0); 
}
.tips-section { 
    padding: 60px 0; 
}
.section-heading { 
    display: flex; 
    justify-content: space-between; 
    align-items: end; 
    gap: 30px; 
    margin-bottom: 40px; 
}
.section-heading h2 { 
    max-width: 660px; 
    margin-bottom: 0; 
    font-size: clamp(2.25rem,4vw,3.7rem); 
}
.section-heading > p { 
    flex-shrink: 0; 
    margin-bottom: 7px; 
    color: var(--ink-soft); 
}
.tips-grid { 
    display: grid; 
    grid-template-columns: repeat(2,minmax(0,1fr)); 
    gap: 22px; 
}
.tip-card { 
    position: relative; 
    display: grid; 
    grid-template-columns: auto 1fr; 
    gap: 24px; min-height: 285px; 
    padding: 34px; overflow: hidden; 
    border: 1px solid var(--line); 
    border-radius: var(--radius-lg); 
    background: var(--paper); 
    box-shadow: 0 8px 28px rgba(23,54,47,.045); 
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; 
}
.tip-card::after { 
    content: ""; 
    position: absolute; 
    right: -42px; 
    bottom: -55px; 
    width: 145px; 
    height: 145px; 
    border-radius: 50%; 
    background: var(--sage); 
    opacity: .5; 
}
.tip-card:hover { 
    transform: translateY(-5px); 
    border-color: rgba(181,138,73,.45); 
    box-shadow: var(--shadow); 
}
.tip-number { 
    position: relative; 
    z-index: 1; display: grid; 
    place-items: center; 
    width: 56px; 
    height: 56px; 
    border: 1px solid rgba(181,138,73,.35); 
    border-radius: 50%; 
    background: #fbf7ef; 
    color: var(--gold); 
    font-family: "Cormorant Garamond",serif; 
    font-size: 1.28rem; 
    font-weight: 700; 
}
.tip-content { 
    position: relative; 
    z-index: 1; 
}
.tip-category { 
    margin-bottom: 9px; 
    color: var(--gold); 
    font-size: .71rem; 
    font-weight: 800; 
    letter-spacing: .13em; 
    text-transform: uppercase; 
}
.tip-card h2 { 
    margin: 0 0 16px; 
    font-size: clamp(1.65rem,2.3vw,2.15rem); 
}
.tip-card p:not(.tip-category) { 
    margin-bottom: 12px; 
    color: var(--ink-soft); 
}
.cta-section { 
    padding: 0 0 90px; 
}
.cta-box { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 35px; padding: 48px; 
    border-radius: var(--radius-lg); 
    background: var(--sage); 
}
.cta-box h2 { 
    margin-bottom: 12px; 
    font-size: clamp(2rem,4vw,3.2rem); 
}
.button { 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    flex-shrink: 0; 
    min-height: 46px; 
    padding: 12px 21px; 
    border-radius: 4px; 
    background: var(--ink); 
    color: #fff; 
    font-weight: 700; 
}
.button:hover { 
    background: #244a41; 
    transform: translateY(-2px); 
}
.disclaimer-section { 
    padding: 0 0 70px; 
}
.disclaimer-section p { 
    margin: 0; color: var(--ink-soft); 
    font-size: .87rem; 
}

@media (max-width: 980px) {
  .tips-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .tips-section {
    padding: 48px 0;
  }

  .section-heading,
  .cta-box {
    display: block;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading > p {
    margin-top: 13px;
  }

  .tips-grid {
    gap: 18px;
  }

  .tip-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    min-height: auto;
    padding: 27px 24px;
  }

  .tip-card h2,
  .tip-card p,
  .section-heading h2,
  .cta-box h2 {
    overflow-wrap: anywhere;
  }

  .cta-section {
    padding-bottom: 64px;
  }

  .cta-box {
    padding: 39px 27px;
  }

  .cta-box .button {
    width: 100%;
    margin-top: 27px;
  }
}
