/*
Theme Name: Talkenox
Theme URI: https://blog.talkenox.com
Description: Original Talkenox editorial blog — calm studio notes for English learners.
Author: Talkenox
Version: 2.1.11
Text Domain: talkenox
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
*/

:root {
  --tx-bg: #eef6f8;
  --tx-bg-2: #f7fbfc;
  --tx-paper: #ffffff;
  --tx-ink: #0b2430;
  --tx-muted: #4a6672;
  --tx-faint: #7a939d;
  --tx-line: #c9dde4;
  --tx-teal: #0f766e;
  --tx-teal-deep: #115e59;
  --tx-sky: #bae6fd;
  --tx-coral: #e11d48;
  --tx-max: 1080px;
  --tx-narrow: 720px;
  --tx-radius: 0.35rem;
  --tx-font: "Figtree", system-ui, sans-serif;
  --tx-display: "Syne", "Figtree", system-ui, sans-serif;
  --tx-list-title: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--tx-font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--tx-ink);
  background:
    radial-gradient(ellipse 90% 50% at 10% -10%, rgba(186, 230, 253, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgba(15, 118, 110, 0.12), transparent 50%),
    linear-gradient(180deg, var(--tx-bg) 0%, var(--tx-bg-2) 40%, #ffffff 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--tx-teal-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--tx-coral);
}

h1,
h2,
h3,
h4 {
  font-family: var(--tx-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  color: var(--tx-ink);
}

p {
  margin: 0 0 1rem;
}

.tx-container {
  width: min(100% - 2rem, var(--tx-max));
  margin-inline: auto;
}

.tx-narrow {
  width: min(100% - 2rem, var(--tx-narrow));
  margin-inline: auto;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */
.tx-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(238, 246, 248, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.tx-header.is-scrolled {
  border-bottom-color: var(--tx-line);
}

.tx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
}

.tx-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--tx-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--tx-ink);
  text-decoration: none;
}

.tx-logo:hover {
  color: var(--tx-teal-deep);
}

.tx-logo__mark {
  color: var(--tx-teal);
}

.tx-logo__blog {
  font-family: var(--tx-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx-faint);
  margin-left: 0.15rem;
}

.tx-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tx-nav {
  display: none;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 760px) {
  .tx-nav {
    display: flex;
  }
}

.tx-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tx-muted);
  text-decoration: none;
}

.tx-nav a:hover {
  color: var(--tx-ink);
}

.tx-icon-btn {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--tx-line);
  background: var(--tx-paper);
  color: var(--tx-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: var(--tx-radius);
}

.tx-icon-btn:hover {
  border-color: var(--tx-teal);
  color: var(--tx-teal);
}

.tx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tx-font);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.55rem 1.05rem;
  border-radius: var(--tx-radius);
  border: 1.5px solid var(--tx-ink);
  background: transparent;
  color: var(--tx-ink);
  text-decoration: none;
}

.tx-btn:hover {
  background: var(--tx-ink);
  color: #fff;
}

.tx-btn--solid {
  background: var(--tx-teal);
  border-color: var(--tx-teal);
  color: #fff;
}

.tx-btn--solid:hover {
  background: var(--tx-teal-deep);
  border-color: var(--tx-teal-deep);
  color: #fff;
}

/* Search */
.tx-search {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(11, 36, 48, 0.55);
  align-items: flex-start;
  justify-content: center;
  padding: 18vh 1rem 1rem;
}

.tx-search.is-open {
  display: flex;
}

.tx-search form {
  width: min(100%, 480px);
  display: flex;
  gap: 0.5rem;
  background: var(--tx-paper);
  border: 1px solid var(--tx-line);
  border-radius: var(--tx-radius);
  padding: 0.45rem;
}

.tx-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--tx-ink);
  font: inherit;
  outline: none;
  padding: 0.4rem 0.65rem;
}

/* ─── Masthead / hero ────────────────────────────────────────────────────── */
.tx-masthead {
  padding: 3.5rem 0 2.75rem;
}

.tx-masthead__brand {
  font-family: var(--tx-display);
  font-size: clamp(2.75rem, 9vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: var(--tx-ink);
}

.tx-masthead__brand span {
  color: var(--tx-teal);
}

.tx-masthead__lead {
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--tx-muted);
  margin-bottom: 1.5rem;
}

.tx-masthead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ─── Featured story (not a card grid) ───────────────────────────────────── */
.tx-lead {
  padding: 0 0 2.5rem;
}

.tx-lead__link {
  display: grid;
  gap: 0;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--tx-line);
  background: var(--tx-paper);
  overflow: hidden;
  border-radius: 0.5rem;
}

.tx-lead__link:hover {
  color: inherit;
  border-color: var(--tx-teal);
}

.tx-lead__link:hover .tx-lead__title {
  color: var(--tx-teal-deep);
}

/* Phone + iPad: stacked (full-width image, no side column squeeze) */
@media (max-width: 1023px) {
  .tx-lead__link {
    grid-template-columns: 1fr;
  }
}

/* Wide screens: image | text */
@media (min-width: 1024px) {
  .tx-lead__link {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.tx-lead__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  line-height: 0;
  font-size: 0;
  background: transparent;
}

.tx-lead__media img,
.tx-lead__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  vertical-align: top;
}

/* iPad/phone: natural image size — no absolute box, so no leftover blue strip */
@media (max-width: 1023px) {
  .tx-lead__media img,
  .tx-lead__img {
    position: static;
    inset: auto;
    transform: none;
    object-fit: unset;
    height: auto !important;
    max-width: 100% !important;
  }
}

/* Desktop: fill the left column edge-to-edge */
@media (min-width: 1024px) {
  .tx-lead__media {
    min-height: 100%;
    align-self: stretch;
  }

  .tx-lead__media img,
  .tx-lead__img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: none !important;
    object-fit: cover;
    object-position: left center;
    -webkit-object-fit: cover;
  }
}

.tx-lead__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.75rem 1.5rem;
}

.tx-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-teal);
}

.tx-lead__title {
  font-family: var(--tx-display);
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  font-weight: 750;
  margin: 0;
  letter-spacing: -0.035em;
}

.tx-lead__excerpt {
  color: var(--tx-muted);
  margin: 0;
  font-size: 1rem;
}

.tx-lead__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  color: var(--tx-faint);
  margin-top: 0.35rem;
}

/* ─── Post feed (list, not cards) ────────────────────────────────────────── */
.tx-feed {
  padding: 0.5rem 0 3rem;
}

.tx-feed__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--tx-ink);
}

.tx-feed__head h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.tx-feed__head a {
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--tx-teal);
}

.tx-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tx-list__item {
  border-bottom: 1px solid var(--tx-line);
}

.tx-list__link {
  display: grid;
  gap: 0.65rem;
  padding: 1.35rem 0;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 700px) {
  .tx-list__link {
    grid-template-columns: 4.25rem 1fr auto;
    align-items: start;
    gap: 1.25rem;
  }
}

.tx-list__link:hover {
  color: inherit;
}

.tx-list__link:hover .tx-list__title {
  color: var(--tx-teal-deep);
}

.tx-list__date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  min-height: 3.6rem;
  padding: 0.4rem 0.35rem;
  border-radius: 0.65rem;
  background: linear-gradient(160deg, #0f766e 0%, #115e59 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.28);
  line-height: 1.05;
  text-align: center;
}

.tx-list__date-month {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.tx-list__date-day {
  font-family: var(--tx-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tx-list__date-year {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.85;
  margin-top: 0.1rem;
}

.tx-list__title {
  font-family: var(--tx-list-title);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.tx-list__excerpt {
  margin: 0;
  color: var(--tx-muted);
  font-size: 0.95rem;
}

.tx-list__cat {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tx-teal);
  white-space: nowrap;
  padding-top: 0.25rem;
}

.tx-empty {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--tx-muted);
}

/* ─── Topics strip ───────────────────────────────────────────────────────── */
.tx-topics {
  padding: 0 0 3rem;
}

.tx-topics__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tx-faint);
  margin-bottom: 0.85rem;
}

.tx-topics__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.tx-topics__row a {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--tx-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--tx-sky);
}

.tx-topics__row a:hover {
  border-bottom-color: var(--tx-coral);
  color: var(--tx-coral);
}

/* ─── Page titles / archives ─────────────────────────────────────────────── */
.tx-page-title {
  padding: 2.75rem 0 1.25rem;
}

.tx-page-title h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
}

.tx-page-title p {
  color: var(--tx-muted);
  max-width: 36rem;
}

.tx-section {
  padding: 0 0 3rem;
}

.tx-pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.75rem 0 0;
}

.tx-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tx-pagination a,
.tx-pagination span {
  min-width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tx-line);
  background: var(--tx-paper);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--tx-radius);
  text-decoration: none;
  color: var(--tx-ink);
}

.tx-pagination .current {
  background: var(--tx-ink);
  border-color: var(--tx-ink);
  color: #fff;
}

/* ─── Single post ────────────────────────────────────────────────────────── */
.tx-single {
  padding: 2rem 0 3rem;
}

.tx-single__header {
  max-width: var(--tx-narrow);
  margin: 0 auto 1.5rem;
}

.tx-single__header h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.85rem);
  font-weight: 800;
  margin: 0.65rem 0 0.85rem;
}

.tx-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.9rem;
  color: var(--tx-faint);
}

.tx-single__hero {
  max-width: 960px;
  margin: 0 auto 1.75rem;
  border: 1px solid var(--tx-line);
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--tx-paper);
}

.tx-single__hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── Listen box ─────────────────────────────────────────────────────────── */
.tx-listen {
  max-width: var(--tx-narrow);
  margin: 0 auto 1.5rem;
}

.tx-listen__btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--tx-line);
  border-radius: 0.85rem;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(186, 230, 253, 0.35)),
    var(--tx-paper);
  color: var(--tx-ink);
  text-align: left;
  cursor: pointer;
  font: inherit;
  box-shadow: 0 6px 18px rgba(11, 36, 48, 0.06);
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.tx-listen__btn:hover {
  border-color: var(--tx-teal);
}

.tx-listen__btn:active {
  transform: scale(0.99);
}

.tx-listen__btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.tx-listen__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--tx-teal);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

.tx-listen__icon-play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  margin-left: 3px;
}

.tx-listen__icon-pause {
  display: none;
  width: 12px;
  height: 14px;
  position: relative;
}

.tx-listen__icon-pause::before,
.tx-listen__icon-pause::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3.5px;
  height: 100%;
  border-radius: 1px;
  background: #fff;
}

.tx-listen__icon-pause::before { left: 1px; }
.tx-listen__icon-pause::after { right: 1px; }

.tx-listen__btn.is-playing .tx-listen__icon-play {
  display: none;
}

.tx-listen__btn.is-playing .tx-listen__icon-pause {
  display: block;
}

.tx-listen__btn.is-playing .tx-listen__icon {
  background: var(--tx-coral);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.3);
}

.tx-listen__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.tx-listen__title {
  font-family: var(--tx-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tx-listen__meta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tx-muted);
}

/* ─── Sticky listen bar (fixed top while scrolling) ─────────────────────── */
.tx-listen-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  transform: translateY(-110%);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  pointer-events: none;
}

.tx-listen-sticky.is-visible {
  transform: translateY(0);
  pointer-events: auto;
  box-shadow: 0 10px 28px rgba(11, 36, 48, 0.14);
}

.tx-listen-sticky__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.7rem 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 248, 0.96));
  border-bottom: 1px solid var(--tx-line);
  backdrop-filter: blur(10px);
}

.tx-listen-sticky__toggle,
.tx-listen-sticky__restart,
.tx-listen-sticky__stop {
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--tx-line);
  background: var(--tx-paper);
  color: var(--tx-ink);
  font-weight: 700;
  font-size: 0.88rem;
}

.tx-listen-sticky__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.55rem;
}

.tx-listen-sticky__toggle:disabled,
.tx-listen-sticky__restart:disabled,
.tx-listen-sticky__stop:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.tx-listen-sticky__icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--tx-teal);
  flex-shrink: 0;
}

.tx-listen-sticky__icon-play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.tx-listen-sticky__icon-pause {
  display: none;
  width: 9px;
  height: 11px;
  position: relative;
}

.tx-listen-sticky__icon-pause::before,
.tx-listen-sticky__icon-pause::after {
  content: "";
  position: absolute;
  top: 0;
  width: 2.5px;
  height: 100%;
  border-radius: 1px;
  background: #fff;
}

.tx-listen-sticky__icon-pause::before { left: 1px; }
.tx-listen-sticky__icon-pause::after { right: 1px; }

.tx-listen-sticky__toggle.is-playing .tx-listen-sticky__icon {
  background: var(--tx-coral);
}

.tx-listen-sticky__toggle.is-playing .tx-listen-sticky__icon-play {
  display: none;
}

.tx-listen-sticky__toggle.is-playing .tx-listen-sticky__icon-pause {
  display: block;
}

.tx-listen-sticky__copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tx-listen-sticky__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tx-teal-deep);
}

.tx-listen-sticky__title {
  font-family: var(--tx-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-listen-sticky__progress {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.tx-listen-sticky__track {
  flex: 1;
  min-width: 4rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.15);
  overflow: hidden;
}

.tx-listen-sticky__fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tx-teal), #0f766e);
  transition: width 0.2s linear;
}

.tx-listen-sticky__time {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--tx-muted);
  letter-spacing: 0.01em;
}

.tx-listen-sticky__restart,
.tx-listen-sticky__stop {
  padding: 0.5rem 0.95rem;
  flex-shrink: 0;
}

.tx-listen-sticky__restart {
  background: #fff;
  border-color: var(--tx-line);
  color: var(--tx-ink);
}

.tx-listen-sticky__restart:hover {
  border-color: var(--tx-teal);
  background: rgba(15, 118, 110, 0.06);
}

.tx-listen-sticky__stop {
  background: #fff;
  border-color: rgba(225, 29, 72, 0.35);
  color: #be123c;
}

.tx-listen-sticky__stop:hover {
  background: rgba(225, 29, 72, 0.06);
}

body.tx-listen-sticky-active {
  padding-top: 4.75rem;
}

@media (max-width: 640px) {
  .tx-listen-sticky__inner {
    padding: 0.65rem 0.75rem;
    gap: 0.45rem;
    flex-wrap: wrap;
  }

  .tx-listen-sticky__copy {
    order: 3;
    flex: 1 1 100%;
  }

  .tx-listen-sticky__toggle span:not(.tx-listen-sticky__icon) {
    display: none;
  }

  .tx-listen-sticky__toggle {
    padding: 0.4rem;
  }

  .tx-listen-sticky__restart,
  .tx-listen-sticky__stop {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
  }
}

.tx-prose {
  max-width: var(--tx-narrow);
  margin: 0 auto;
  font-size: 1.1rem;
  color: #1c3340;
}

.tx-prose a {
  color: var(--tx-teal-deep);
}

.tx-prose h2,
.tx-prose h3 {
  margin-top: 1.85rem;
}

.tx-prose img {
  border-radius: 0.4rem;
  margin: 1.25rem 0;
  border: 1px solid var(--tx-line);
}

.tx-prose blockquote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.1rem;
  border-left: 3px solid var(--tx-teal);
  color: var(--tx-muted);
  font-style: italic;
}

/* ─── CTA + footer ───────────────────────────────────────────────────────── */
.tx-cta {
  margin: 0 0 2.5rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
  background: var(--tx-ink);
  color: #e8f4f7;
  border-radius: 0.5rem;
}

.tx-cta h2 {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

.tx-cta p {
  color: #9bb8c2;
  max-width: 28rem;
  margin: 0.4rem auto 1.15rem;
}

.tx-cta .tx-btn--solid {
  background: #fff;
  border-color: #fff;
  color: var(--tx-ink);
}

.tx-cta .tx-btn--solid:hover {
  background: var(--tx-sky);
  border-color: var(--tx-sky);
}

.tx-footer {
  border-top: 1px solid var(--tx-line);
  padding: 2.5rem 0 1.75rem;
  background: rgba(255, 255, 255, 0.65);
}

.tx-footer__grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .tx-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.tx-footer p {
  color: var(--tx-muted);
  font-size: 0.95rem;
}

.tx-footer h4 {
  font-family: var(--tx-font);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-faint);
  margin-bottom: 0.75rem;
}

.tx-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.tx-footer a {
  color: var(--tx-ink);
  font-weight: 600;
  text-decoration: none;
}

.tx-footer a:hover {
  color: var(--tx-teal);
}

.tx-footer__bottom {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--tx-line);
  font-size: 0.85rem;
  color: var(--tx-faint);
}
