@charset "utf-8";
/* CSS Document */
/* =========================================================
   TAN - TRAVEL AUSTRALIA NETWORK
   Shared Responsive Stylesheet
   ========================================================= */


/* ---------- ROOT / BRAND ---------- */

:root {
  --tan-blue: #123f5c;
  --tan-blue-dark: #0b2c42;
  --tan-blue-light: #eaf3f7;

  --tan-green: #496b58;
  --tan-green-dark: #365144;

  --tan-gold: #c9a26a;
  --tan-gold-dark: #a9824d;
  --tan-gold-light: #f6efe4;

  --tan-sand: #f7f3ec;
  --tan-white: #ffffff;
  --tan-black: #182026;
  --tan-grey: #66727a;
  --tan-grey-light: #eef1f3;
  --tan-border: #dce2e5;

  --tan-radius: 18px;
  --tan-radius-small: 10px;

  --tan-shadow: 0 12px 35px rgba(18, 63, 92, 0.10);
  --tan-shadow-hover: 0 18px 45px rgba(18, 63, 92, 0.16);

  --tan-container: 1240px;
  --tan-container-narrow: 860px;
}


/* ---------- RESET / BASE ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--tan-black);
  background: var(--tan-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--tan-blue);
}

a:hover {
  color: var(--tan-gold-dark);
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--tan-blue-dark);
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

ul {
  padding-left: 1.25rem;
}


/* ---------- ACCESSIBILITY ---------- */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--tan-gold);
  outline-offset: 4px;
}

#main-content {
  overflow: hidden;
}

.tan-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ---------- CONTAINERS ---------- */

.tan-container {
  width: min(calc(100% - 48px), var(--tan-container));
  margin-inline: auto;
}

.tan-container-narrow {
  width: min(calc(100% - 48px), var(--tan-container-narrow));
  margin-inline: auto;
}


/* ---------- GENERAL SECTIONS ---------- */

.tan-section {
  padding: 88px 0;
}

.tan-section-alt {
  background: var(--tan-sand);
}

.tan-section-heading {
  max-width: 840px;
  margin: 0 auto 48px;
  text-align: center;
}

.tan-section-heading > p:last-child {
  color: var(--tan-grey);
  font-size: 1.08rem;
}

.tan-eyebrow {
  margin-bottom: 12px;
  color: var(--tan-gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---------- SITE HEADER ---------- */

.tan-site-header {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--tan-border);
}

.tan-header-inner {
  width: min(calc(100% - 48px), var(--tan-container));
  min-height: 82px;
  margin-inline: auto;

  display: flex;
  align-items: center;
  gap: 32px;
}

.tan-header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tan-header-logo img {
  width: 210px;
  height: auto;
}

.tan-main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

.tan-main-nav a {
  color: var(--tan-blue-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}

.tan-main-nav a:hover {
  color: var(--tan-gold-dark);
}

.tan-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.tan-search-link {
  color: var(--tan-blue-dark);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.tan-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;

  border-radius: 999px;

  color: #ffffff;
  background: var(--tan-gold-dark);

  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.tan-header-cta:hover {
  color: #ffffff;
  background: #926d3c;
}

.tan-menu-toggle {
  display: none;

  border: 0;
  background: transparent;

  color: var(--tan-blue-dark);
  font-size: 1.7rem;
  line-height: 1;

  cursor: pointer;
}

.tan-mobile-only {
  display: none;
}


/* ---------- TABLET HEADER ---------- */

@media (max-width: 1080px) {

  .tan-header-logo img {
    width: 185px;
  }

  .tan-main-nav {
    gap: 16px;
  }

  .tan-main-nav a {
    font-size: 0.88rem;
  }

  .tan-header-cta {
    padding: 10px 15px;
  }
}


/* ---------- MOBILE HEADER ---------- */

@media (max-width: 900px) {

  .tan-header-inner {
    position: relative;
    width: min(calc(100% - 28px), var(--tan-container));
    min-height: 70px;
  }

  .tan-header-logo img {
    width: 165px;
  }

  .tan-search-link {
    display: none;
  }

  .tan-header-cta {
    display: none;
  }

  .tan-header-actions {
    margin-left: auto;
  }

  .tan-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--tan-blue-dark);
    font-size: 1.7rem;
    cursor: pointer;
  }

  .tan-main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
    background: #ffffff;
    border-top: 1px solid var(--tan-border);
    border-bottom: 1px solid var(--tan-border);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  }

  .tan-main-nav.is-open {
    display: flex;
  }

  .tan-main-nav a {
    display: block;
    padding: 15px 20px;
    font-size: 0.98rem;
    border-bottom: 1px solid var(--tan-border);
  }

  .tan-main-nav a:last-child {
    border-bottom: 0;
  }
	
	.tan-advertise-nav-inner {
  justify-content: flex-start;
  overflow-x: auto;
  padding-left: 16px;
  padding-right: 16px;
  scrollbar-width: none;
}

.tan-advertise-nav-inner::-webkit-scrollbar {
  display: none;
}

.tan-advertise-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}

}

/* IMPORTANT — that } above closes the @media section */

/* ---------- ADVERTISING SECTION NAV ---------- */

.tan-advertise-nav {
  background: var(--tan-blue-dark);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.tan-advertise-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding-top: 8px;
  padding-bottom: 8px;
}

.tan-advertise-nav a {
  display: inline-flex;
  align-items: center;

  padding: 9px 13px;
  border-radius: 999px;

  color: rgba(255,255,255,0.88);
  text-decoration: none;

  font-size: 0.86rem;
  font-weight: 700;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.tan-advertise-nav a:hover {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
}

.tan-advertise-nav-inner {
  justify-content: flex-start;
  overflow-x: auto;
  padding-left: 20px;
  padding-right: 16px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.tan-advertise-nav-inner::-webkit-scrollbar {
  display: none;
}

.tan-advertise-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}


/* ---------- BREADCRUMB ---------- */

.tan-breadcrumb {
  width: min(calc(100% - 48px), var(--tan-container));
  margin: 18px auto;
  color: var(--tan-grey);
  font-size: 0.9rem;
}

.tan-breadcrumb a {
  text-decoration: none;
}

.tan-breadcrumb span {
  margin-left: 8px;
}


/* ---------- HERO ---------- */

.tan-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--tan-blue-dark);
}

.tan-hero-image {
  position: absolute;
  inset: 0;
}

.tan-hero-image img,
.tan-hero-image picture {
  width: 100%;
  height: 100%;
}

.tan-hero-image img {
  object-fit: cover;
  object-position: center;
}

.tan-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 31, 48, 0.90) 0%,
      rgba(7, 38, 57, 0.75) 38%,
      rgba(8, 40, 59, 0.25) 68%,
      rgba(8, 40, 59, 0.05) 100%
    );
}

.tan-hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--tan-container));
  margin-inline: auto;
  padding: 76px 0;
  color: var(--tan-white);
}

.tan-hero-content h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--tan-white);
  font-size: clamp(2.7rem, 4.5vw, 4.7rem);
  line-height: 1.08;
}

.tan-hero-intro {
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.tan-heritage-line {
  color: #f2d6ad;
  font-weight: 600;
}

.tan-hero-logo-wrap {
  display: inline-block;
  padding: 10px 16px;
  margin-bottom: 34px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.tan-hero-logo {
  width: clamp(200px, 23vw, 330px);
  margin: 0;
}

.tan-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}


/* ---------- BUTTONS ---------- */

.tan-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.tan-button:hover {
  transform: translateY(-2px);
}

.tan-button-primary {
  color: var(--tan-white);
  background: var(--tan-gold-dark);
}

.tan-button-primary:hover {
  color: var(--tan-white);
  background: #926d3c;
  box-shadow: var(--tan-shadow);
}

.tan-button-secondary {
  color: var(--tan-blue-dark);
  background: var(--tan-white);
}

.tan-button-secondary:hover {
  color: var(--tan-blue-dark);
  background: var(--tan-gold-light);
}

.tan-button-outline {
  color: var(--tan-blue);
  border-color: var(--tan-blue);
  background: transparent;
}

.tan-button-outline:hover {
  color: var(--tan-white);
  background: var(--tan-blue);
}


/* ---------- INTRO ---------- */

.tan-intro-section {
  text-align: center;
}

.tan-intro-section p:not(.tan-eyebrow) {
  color: var(--tan-grey);
  font-size: 1.08rem;
}


/* ---------- GENERAL CARD GRIDS ---------- */

.tan-card-grid {
  display: grid;
  gap: 24px;
}

.tan-card-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tan-info-card,
.tan-product-card,
.tan-mini-card {
  background: var(--tan-white);
  border: 1px solid var(--tan-border);
  border-radius: var(--tan-radius);
  box-shadow: var(--tan-shadow);
}

.tan-info-card {
  padding: 30px;
}

.tan-info-card p {
  color: var(--tan-grey);
}

/* ARTICLES HUB SPACING */

.tan-articles-intro {
  padding-bottom: 20px;
}

.tan-articles-intro + .tan-section {
  padding-top: 35px;
}

/* ---------- PRODUCT CARDS ---------- */

.tan-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tan-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 28px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tan-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tan-shadow-hover);
}

.tan-product-featured {
  border-color: var(--tan-gold);
}

.tan-card-label {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--tan-blue-dark);
  background: var(--tan-gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.tan-product-card p {
  color: var(--tan-grey);
}

.tan-product-card ul {
  margin-bottom: 28px;
}

.tan-product-card li {
  margin-bottom: 8px;
}

.tan-product-card .tan-button {
  margin-top: auto;
}

.tan-price {
  margin: 14px 0 22px;
}

.tan-price span {
  color: var(--tan-blue-dark);
  font-size: 2.2rem;
  font-weight: 800;
}

.tan-price small {
  color: var(--tan-grey);
  font-size: 0.86rem;
}


/* ---------- TWO-COLUMN AREAS ---------- */

.tan-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.tan-column-content p,
.tan-two-column > div > p {
  color: var(--tan-grey);
}

.tan-column-list {
  padding: 36px;
  border-radius: var(--tan-radius);
  background: var(--tan-sand);
}

.tan-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tan-check-list li {
  position: relative;
  padding: 9px 0 9px 32px;
}

.tan-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--tan-green);
  font-weight: 800;
}


/* ---------- TRAVEL SECTION ---------- */

.tan-section-travel {
  background:
    linear-gradient(
      135deg,
      var(--tan-blue-dark),
      var(--tan-blue)
    );
}

.tan-section-travel h2,
.tan-section-travel h3,
.tan-section-travel p,
.tan-section-travel li {
  color: var(--tan-white);
}

.tan-section-travel .tan-eyebrow {
  color: #efcf9e;
}

.tan-section-travel .tan-column-list {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
}

.tan-section-travel .tan-check-list li::before {
  color: #f2d6ad;
}


/* ---------- MINI CARDS ---------- */

.tan-mini-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tan-mini-card {
  padding: 30px;
}

.tan-mini-card p {
  color: var(--tan-grey);
}

.tan-centered-cta {
  margin-top: 42px;
  text-align: center;
}

.tan-price-large {
  font-size: 1.25rem;
}


/* ---------- DISPLAY / HIGHLIGHT BOX ---------- */

.tan-highlight-box {
  padding: 38px;
  border-radius: var(--tan-radius);
  background: var(--tan-gold-light);
  border-left: 5px solid var(--tan-gold);
}

.tan-highlight-box ul {
  columns: 2;
  padding-left: 20px;
}


/* ---------- CUSTOM CAMPAIGN ---------- */

.tan-custom-campaign {
  text-align: center;
  background: var(--tan-blue-light);
}


/* ---------- HISTORY ---------- */

.tan-history-section {
  background: var(--tan-sand);
}

.tan-history-badge {
  width: 240px;
  height: 240px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--tan-gold);
  border-radius: 50%;
  color: var(--tan-blue-dark);
  background: var(--tan-white);
  text-align: center;
  box-shadow: var(--tan-shadow);
}

.tan-history-badge strong {
  display: block;
  color: var(--tan-gold-dark);
  font-size: 3.7rem;
  line-height: 1;
}

.tan-history-badge span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.tan-since {
  margin-bottom: 9px;
}


/* ---------- FINAL CTA ---------- */

.tan-final-cta {
  color: var(--tan-white);
  background:
    linear-gradient(
      135deg,
      var(--tan-green-dark),
      var(--tan-blue-dark)
    );
  text-align: center;
}

.tan-final-cta h2,
.tan-final-cta p {
  color: var(--tan-white);
}

.tan-final-cta .tan-eyebrow {
  color: #f2d6ad;
}

.tan-button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.tan-final-cta .tan-button-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
}

.tan-final-cta .tan-button-outline:hover {
  color: var(--tan-blue-dark);
  background: #ffffff;
  border-color: #ffffff;
}


/* ---------- INTERNAL PAGE HERO ---------- */

.tan-page-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--tan-blue-dark);
  color: #ffffff;
  text-align: center;
}

.tan-page-hero-blogticles .tan-page-hero-bg img {
  object-position: center 20%;

}

.tan-page-hero-bg {
  position: absolute;
  inset: 0;
}

.tan-page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tan-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 35, 52, 0.60);
}

.tan-page-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.tan-page-hero h1 {
  color: #ffffff;
}

.tan-page-hero .tan-eyebrow {
  color: #efcf9e;
}

.tan-page-hero-intro {
  max-width: 760px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,0.92);
  font-size: 1.15rem;
}

@media (max-width: 600px) {

  .tan-page-hero {
    min-height: 520px;
  }

  .tan-page-hero-content {
    padding: 56px 0;
  }

  .tan-page-hero-bg img {
    object-position: 58% center;
  }

}

/* ---------- PROCESS / WORKFLOW ---------- */

.tan-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.tan-process-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--tan-border);
  border-radius: 16px;
  padding: 34px 28px 30px;
  box-shadow: 0 8px 24px rgba(18, 63, 92, 0.08);
}

.tan-process-number {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;
  margin-bottom: 22px;

  border-radius: 50%;

  background: var(--tan-gold);
  color: #ffffff;

  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.tan-process-card h3 {
  margin: 0 0 14px;

  color: var(--tan-blue-dark);

  font-size: 1.35rem;
  line-height: 1.2;
}

.tan-process-card p {
  margin: 0;

  color: var(--tan-grey);

  line-height: 1.7;
}

.tan-process-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tan-process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(10, 35, 52, 0.10);
}

.tan-process-section {
  background: #f4f7f9;
}

@media (max-width: 1000px) {

  .tan-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 600px) {

  .tan-process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tan-process-card {
    padding: 28px 24px;
  }

}

/* ---------- RESPONSIVE ARTICLE PAGE ---------- */

@media (max-width: 1000px) {

  .tan-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 600px) {

  .tan-page-hero {
    padding: 60px 0;
  }

  .tan-process-grid {
    grid-template-columns: 1fr;
  }

}

/* ---------- SITE FOOTER ---------- */

.tan-site-footer {
  background: #f6f1e8;
  color: var(--tan-blue-dark);
}

.tan-footer-main {
  padding: 64px 0 52px;
}

.tan-footer-grid {
  display: grid;
  grid-template-columns: 1.9fr repeat(4, 1fr);
  gap: 42px;
  align-items: start;
}

.tan-footer-brand {
  min-width: 0;
}

.tan-footer-logo img {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
}

.tan-footer-brand p {
  max-width: 320px;
  margin-bottom: 14px;
  color: #4f5f68;
}

.tan-footer-history {
  color: var(--tan-gold-dark) !important;
  font-weight: 700;
}

.tan-footer-history {
  max-width: 310px;
}

.tan-footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tan-footer-column h3 {
  margin: 0 0 10px;
  color: var(--tan-blue-dark);
  font-size: 1rem;
}

.tan-footer-column a {
  display: block;
  color: #4f5f68;
  text-decoration: none;
  font-size: 0.94rem;
}

.tan-footer-column a:hover {
  color: var(--tan-gold-dark);
}

.tan-footer-bottom {
  background: var(--tan-blue-dark);
  border-top: 0;
}

.tan-footer-bottom-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.tan-footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
}

.tan-footer-legal {
  display: flex;
  gap: 20px;
}

.tan-footer-legal a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.88rem;
}

.tan-footer-legal a:hover {
  color: #ffffff;
}


/* ---------- FOOTER TABLET ---------- */

@media (max-width: 1000px) {

  .tan-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tan-footer-brand {
    grid-column: 1 / -1;
  }

}


/* ---------- FOOTER MOBILE ---------- */

@media (max-width: 650px) {

  .tan-footer-main {
    padding: 48px 0 38px;
  }

  .tan-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }

  .tan-footer-brand {
    grid-column: 1 / -1;
  }
	
	.tan-footer-brand {
  align-self: start;
}
	
	.tan-footer-brand p {
  margin-top: 14px;
}

  .tan-footer-logo img {
    width: 210px;
  }

  .tan-footer-bottom-inner {
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .tan-footer-legal {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

}


/* ---------- SMALL MOBILE ---------- */

@media (max-width: 420px) {

  .tan-footer-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */


/* ---------- LARGE TABLET / SMALL LAPTOP ---------- */

@media (max-width: 1100px) {

  .tan-card-grid-four,
  .tan-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tan-hero {
    min-height: 560px;
  }

  .tan-two-column {
    gap: 42px;
  }
}


/* ---------- TABLET ---------- */

@media (max-width: 820px) {

  body {
    font-size: 16px;
  }

  .tan-section {
    padding: 68px 0;
  }

  .tan-container,
  .tan-container-narrow,
  .tan-breadcrumb {
    width: min(calc(100% - 36px), var(--tan-container));
  }

  .tan-two-column {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .tan-mini-card-grid {
    grid-template-columns: 1fr;
  }

  .tan-hero {
    min-height: 580px;
  }

  .tan-hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(5,31,48,0.88),
        rgba(5,31,48,0.65)
      );
  }

  .tan-hero-content {
    width: min(calc(100% - 36px), var(--tan-container));
  }

  .tan-history-badge {
    width: 210px;
    height: 210px;
  }

  .tan-highlight-box ul {
    columns: 1;
  }
}


/* ---------- MOBILE ---------- */

@media (max-width: 600px) {

  body {
    font-size: 16px;
    line-height: 1.58;
  }

  h1 {
    font-size: clamp(2.15rem, 11vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  h3 {
    font-size: 1.35rem;
  }

  .tan-section {
    padding: 52px 0;
  }

  .tan-container,
  .tan-container-narrow,
  .tan-breadcrumb {
    width: min(calc(100% - 28px), var(--tan-container));
  }

  .tan-section-heading {
    margin-bottom: 32px;
  }

  .tan-card-grid-four,
  .tan-product-grid {
    grid-template-columns: 1fr;
  }

  .tan-info-card,
  .tan-product-card,
  .tan-mini-card,
  .tan-column-list,
  .tan-highlight-box {
    padding: 24px;
  }

  .tan-hero {
    min-height: 650px;
    align-items: flex-end;
  }

  .tan-hero-image img {
    object-position: 60% center;
  }

  .tan-hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(7,38,57,0.28) 0%,
        rgba(7,38,57,0.58) 34%,
        rgba(7,38,57,0.96) 77%,
        rgba(7,38,57,1) 100%
      );
  }

  .tan-hero-content {
    width: min(calc(100% - 28px), var(--tan-container));
    padding: 54px 0 38px;
  }

  .tan-hero-logo {
    width: min(260px, 80vw);
    margin-bottom: 24px;
  }

  .tan-hero-content h1 {
    margin-bottom: 18px;
  }

  .tan-hero-buttons,
  .tan-button-group {
    flex-direction: column;
  }

  .tan-button {
    width: 100%;
  }

  .tan-price span {
    font-size: 2rem;
  }

  .tan-history-badge {
    width: 180px;
    height: 180px;
  }

  .tan-history-badge strong {
    font-size: 3rem;
  }

  .tan-breadcrumb {
    margin-block: 12px;
  }
}


/* ---------- SMALL MOBILE ---------- */

@media (max-width: 390px) {

  .tan-container,
  .tan-container-narrow,
  .tan-breadcrumb {
    width: min(calc(100% - 22px), var(--tan-container));
  }

  .tan-section {
    padding: 44px 0;
  }

  .tan-info-card,
  .tan-product-card,
  .tan-mini-card,
  .tan-column-list,
  .tan-highlight-box {
    padding: 21px;
  }

  .tan-hero {
    min-height: 620px;
  }

  .tan-card-label {
    font-size: 0.67rem;
  }
}


/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


