@charset "UTF-8";

.tank-liner-landing-page,
.tank-liner-page {
  --tank-blue: var(--american-flag-blue, #002868);
  --tank-red: var(--american-flag-red, #bf0a30);
  --tank-ink: #17212b;
  --tank-muted: #52606d;
  --tank-border: #cdd6df;
  --tank-surface: #f4f7fa;
  --tank-surface-warm: #f7f5f1;
  --tank-surface-info: #eaf1f7;
  --tank-white: #fff;
}

/* Match the shared floating navigation to the Tank brand accent. */
body.tank-liner-page,
body.tank-liner-landing-page {
  --secondary-nav-accent: var(--american-flag-red, #bf0a30);
  --secondary-nav-accent-rgb: 191, 10, 48;
  --secondary-nav-accent-dark: #921925;
}

/* Editorial content uses the site brand accents and neutral surfaces.
   Keep these local to editorial content; the accepted quote UI has its own theme. */
.tank-liner-landing:not(.tq-page),
.tank-liner-page {
  --tank-blue: var(--american-flag-blue, #002868);
  --tank-red: var(--american-flag-red, #bf0a30);
  --tank-red-hover: #921925;
  --tank-teal: var(--tank-red);
  --tank-ink: #212529;
  --tank-muted: #495057;
  --tank-border: #ced4da;
  --tank-surface: #f8f9fa;
  --tank-surface-warm: #fff;
  --tank-surface-info: #e9ecef;
}

.tank-liner-landing {
  color: var(--tank-ink);
  font-family: "Open Sans", sans-serif;
  margin: 0 auto;
  max-width: 1320px;
  padding: 0 max(24px, env(safe-area-inset-right)) 4rem max(24px, env(safe-area-inset-left));
}

.tank-liner-landing *,
.tank-liner-landing *::before,
.tank-liner-landing *::after {
  box-sizing: border-box;
}

.tank-liner-landing :is(h1, h2, h3, p, ol, figure) {
  margin-top: 0;
}

.tank-liner-landing h1,
.tank-liner-landing h2,
.tank-liner-landing h3 {
  color: var(--tank-blue);
  font-weight: 700;
  line-height: 1.18;
  text-wrap: balance;
}

.tank-liner-landing h1 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  text-wrap: pretty;
}

.tank-liner-landing h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin-bottom: 0.8rem;
}

.tank-liner-landing h3 {
  font-size: 1.1rem;
  margin-bottom: 0.55rem;
}

.tank-liner-landing :is(p, li) {
  line-height: 1.65;
}

.tank-liner-landing a {
  -webkit-tap-highlight-color: rgba(0, 40, 104, 0.15);
  touch-action: manipulation;
}

.tank-liner-landing a:not(.cta-button) {
  color: #075aa8;
  text-underline-offset: 0.16em;
}

.tank-liner-landing a:not(.cta-button):hover {
  color: var(--tank-red);
}

.tank-liner-landing a:focus-visible {
  outline: 3px solid var(--tank-blue);
  outline-offset: 3px;
}

.tank-liner-landing [id] {
  scroll-margin-top: 1rem;
}

.tank-liner-landing img {
  display: block;
  max-width: 100%;
}

.tank-liner-landing figure {
  margin-bottom: 0;
}

.tank-liner-landing figcaption {
  color: var(--tank-muted);
  font-size: 0.86rem;
  line-height: 1.45;
  padding-top: 0.55rem;
}

.tank-landing-skip-link {
  background: var(--american-flag-blue, #002868);
  color: #fff !important;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: fixed;
  top: 0.75rem;
  transform: translateY(-160%);
  z-index: 2000;
}

.tank-landing-skip-link:focus-visible {
  transform: translateY(0);
}

.tank-landing-breadcrumbs {
  margin: 0;
  padding: 1rem 0;
}

.tank-landing-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tank-landing-breadcrumbs li {
  color: var(--tank-muted);
  font-size: 0.86rem;
}

.tank-landing-breadcrumbs li:not(:last-child)::after {
  color: #8a98a5;
  content: "/";
  margin-left: 0.4rem;
}

.tank-liner-landing main {
  min-width: 0;
}

.tank-landing-lead {
  color: #30465a;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.55 !important;
}

.tank-landing-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.tank-landing-actions .cta-button {
  text-decoration: none;
}

.tank-landing-hero {
  align-items: center;
  background: var(--tank-blue);
  border: 1px solid var(--tank-blue);
  border-bottom: 4px solid var(--tank-red);
  border-radius: 8px;
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  overflow: hidden;
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.tank-landing-hero-copy {
  max-width: none;
  text-align: center;
}

.tank-landing-hero-copy > p {
  margin-left: auto;
  margin-right: auto;
}

.tank-landing-hero figure {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.tank-landing-hero figure img {
  height: clamp(230px, 25vw, 300px);
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.tank-landing-hero figcaption {
  text-align: center;
}

.tank-landing-projects,
.tank-landing-planning,
.tank-landing-proof,
.tank-landing-order {
  padding: 2rem clamp(1.25rem, 3vw, 2rem);
}

.tank-landing-projects,
.tank-landing-proof {
  background: var(--tank-surface);
  border-bottom: 1px solid var(--tank-border);
}

.tank-landing-planning,
.tank-landing-order {
  background: var(--tank-surface-warm);
  border-bottom: 1px solid var(--tank-border);
}

.tank-landing-planning {
  padding-bottom: 1.5rem;
}

.tank-landing-projects > h2,
.tank-landing-section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tank-landing-section-heading p {
  color: var(--tank-muted);
}

.tank-landing-projects > div {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.tank-landing-projects article {
  align-items: center;
  background: var(--tank-surface-warm);
  border: 1px solid var(--tank-border);
  border-top: 4px solid var(--tank-red);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 1.25rem;
  text-align: center;
}

.tank-landing-projects article:first-child {
  border-top-color: var(--tank-red);
}

.tank-landing-projects article p {
  color: var(--tank-muted);
  flex: 1;
  font-size: 1.05rem;
}

.tank-landing-projects article a,
.tank-landing-planning-grid a {
  font-weight: 700;
}

.tank-landing-material {
  align-items: center;
  background: var(--tank-surface-info);
  border-bottom: 1px solid var(--tank-border);
  border-top: 0;
  color: var(--tank-ink);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  padding: 2rem clamp(1.25rem, 3vw, 2rem);
  text-align: center;
}

.tank-landing-material h2 {
  color: var(--tank-blue);
}

.tank-landing-material p {
  color: #34495d;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.tank-landing-material a {
  color: #075aa8 !important;
  font-weight: 700;
  justify-self: center;
}

.tank-landing-material a:hover {
  color: var(--tank-red) !important;
}

.tank-landing-planning-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.tank-landing-planning-grid article {
  background: var(--tank-surface);
  border: 1px solid var(--tank-border);
  border-radius: 8px;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem;
  text-align: center;
}


.tank-landing-planning-grid p {
  color: var(--tank-muted);
  flex: 1;
  font-size: 0.93rem;
}

.tank-landing-proof-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.tank-landing-proof-image {
  -webkit-tap-highlight-color: rgba(0, 40, 104, 0.15);
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  padding: 0;
  touch-action: manipulation;
  width: 100%;
}

.tank-landing-proof-image img {
  border: 1px solid var(--tank-border);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  width: 100%;
}

.tank-landing-proof-image:hover img {
  border-color: var(--tank-blue);
}

.tank-landing-proof-image:focus-visible {
  outline: 3px solid var(--tank-blue);
  outline-offset: 3px;
}

.tank-landing-proof-grid figcaption {
  display: grid;
  gap: 0.25rem;
  text-align: center;
}

.tank-landing-proof-grid figcaption strong {
  color: var(--tank-blue);
}

.tank-landing-proof-grid figcaption strong span {
  color: var(--tank-red);
}

.tank-landing-support-row {
  align-items: center;
  border-bottom: 1px solid var(--tank-border);
  border-top: 1px solid var(--tank-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 1rem 0;
  text-align: center;
}

.tank-landing-support-row p {
  flex: 1 0 100%;
  margin-bottom: 0;
}

.tank-landing-support-links {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.tank-landing-support-links a {
  background: var(--tank-white);
  border: 1px solid var(--tank-blue);
  border-radius: 6px;
  color: var(--tank-blue) !important;
  display: inline-flex;
  font-weight: 700;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

.tank-landing-support-links a:hover {
  background: var(--tank-blue);
  color: var(--tank-white) !important;
}

.tank-landing-order nav {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.tank-landing-order nav a {
  background: var(--tank-surface-info);
  border: 1px solid var(--tank-border);
  border-radius: 8px;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  padding: 1rem 1.2rem;
  text-align: center;
  text-decoration: none;
}


.tank-landing-order nav a:last-child {
  background: var(--tank-blue);
  color: #fff;
}

.tank-landing-order nav a:last-child:hover {
  color: #fff;
}

.tank-landing-order nav a:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.tank-landing-order nav span {
  color: var(--tank-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.tank-landing-order nav a:last-child span {
  color: #fff;
}

@media (max-width: 991.98px) {
  .tank-landing-hero {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
  }

  .tank-landing-material {
    grid-template-columns: 1fr;
  }

  .tank-landing-order nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 767.98px) {
  .tank-landing-hero {
    grid-template-columns: 1fr;
  }

  .tank-landing-hero figure img {
    height: auto;
    max-height: 320px;
  }

  .tank-landing-projects,
  .tank-landing-planning,
  .tank-landing-proof,
  .tank-landing-order {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .tank-landing-projects > div,
  .tank-landing-planning-grid,
  .tank-landing-proof-grid {
    grid-template-columns: 1fr;
  }

  .tank-landing-projects article {
    min-height: 0;
  }

  .tank-landing-planning-grid article {
    padding-inline: 1rem;
  }
}

@media (max-width: 575.98px) {
  .tank-landing-actions {
    align-items: stretch;
    display: grid;
  }

  .tank-landing-actions .cta-button {
    width: 100%;
  }

  .tank-landing-support-links {
    display: grid;
  }

  .tank-landing-order nav {
    grid-template-columns: 1fr;
  }

}

/* Shared editorial actions use the site red accent. */
.tank-liner-landing:not(.tq-page) .cta-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.1rem;
  border: 1px solid var(--tank-red);
  border-radius: 8px;
  background: var(--tank-red);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: none;
  text-shadow: none;
  transform: none;
  white-space: normal;
  transition: background-color .16s ease, border-color .16s ease;
}
.tank-liner-landing:not(.tq-page) .cta-button-primary:is(:hover, :focus-visible) {
  background: var(--tank-red-hover);
  border-color: var(--tank-red-hover);
  color: #fff;
  transform: none;
}
.tank-liner-landing:not(.tq-page) .cta-button-secondary {
  background: #fff;
  border-color: var(--tank-blue);
  color: var(--tank-blue);
}
.tank-liner-landing:not(.tq-page) .cta-button-secondary:hover {
  background: var(--tank-surface);
  color: var(--tank-blue);
}
.tank-landing-hero :is(h1, p, figcaption) { color: #fff; }
.tank-landing-hero .tank-landing-lead { color: #fff; }
.tank-landing-hero a:not(.cta-button) { color: #fff; }
.tank-landing-hero a:not(.cta-button):hover { text-decoration-thickness: 2px; }
.tank-landing-hero figure img { border-radius: 6px; }
.tank-liner-landing .tank-landing-hero a:focus-visible { outline-color: #fff; }
.tank-landing-projects article a,
.tank-landing-planning-grid article a { display: flex; min-height: 44px; align-items: center; justify-content: center; }
.tank-landing-section-heading > p:last-child { margin-bottom: 0; }
.tank-landing-order nav a:last-child { background: var(--tank-red); }
.tank-landing-order nav a:last-child:is(:hover, :focus-visible) { background: var(--tank-red-hover); }
.tank-landing-support-links a { min-height: 44px; align-items: center; }
.tank-landing-support-row { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
@media (min-width: 768px) {
  .tank-landing-projects article h3 { display: flex; min-height: 2.7em; align-items: center; justify-content: center; }
}
@media (max-width: 767.98px) {
  .tank-landing-hero figure img { max-height: 260px; }
  .tank-landing-projects, .tank-landing-planning, .tank-landing-proof, .tank-landing-order { padding-block: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tank-liner-landing:not(.tq-page) .cta-button { transition: none; }
}

.tank-landing-material { background: var(--tank-surface-info); border-left: 4px solid var(--tank-teal); }

/* Separate editorial sections and choice cards without changing quote spacing. */
.tank-liner-landing:not(.tq-page) > main > section + section,
.tank-guide-story > section + section { margin-top: 24px; }

.tank-liner-landing:not(.tq-page) h1 { font-size: clamp(1.9rem, 2.7vw, 2.25rem); }

@media (max-width: 1239px) {
  .tank-liner-landing { padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
}
@media (max-width: 359px) {
  .tank-liner-landing { padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right)); }
}
