/*
Theme Name: SavingsScoutTravel
Theme URI: https://savingsscouttravel.com/
Author: OpenAI
Author URI: https://openai.com/
Description: A lightweight custom WordPress theme for SavingsScoutTravel.com with a travel network homepage for flights, hotels, car rentals, and destinations.
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: savingsscouttravel
*/

:root {
  --sst-orange: #ff7a00;
  --sst-orange-dark: #e46800;
  --sst-navy: #16324f;
  --sst-text: #25313c;
  --sst-muted: #667788;
  --sst-bg: #f7f9fc;
  --sst-white: #ffffff;
  --sst-border: #e6edf3;
  --sst-shadow: 0 10px 30px rgba(22, 50, 79, 0.08);
  --sst-radius: 18px;
  --sst-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--sst-text);
  background: var(--sst-white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sst-navy); text-decoration: none; }
a:hover { color: var(--sst-orange-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sst-border);
}

.sst-container {
  width: min(100% - 32px, var(--sst-container));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
}

.site-title a { color: var(--sst-navy); }
.site-description {
  margin: 2px 0 0;
  color: var(--sst-muted);
  font-size: 0.92rem;
}

.main-navigation .menu,
.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-navigation a {
  font-weight: 700;
  color: var(--sst-navy);
}

.menu-toggle {
  display: none;
  background: var(--sst-orange);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.sst-button,
.wp-block-button__link,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--sst-orange);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: var(--sst-shadow);
  transition: transform .2s ease, background .2s ease;
}

.sst-button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--sst-orange-dark);
  color: #fff;
  transform: translateY(-1px);
}

.sst-button.secondary {
  background: #fff;
  color: var(--sst-navy);
  border: 1px solid var(--sst-border);
  box-shadow: none;
}

.hero {
  background: linear-gradient(135deg, #f4f8ff 0%, #fff8f0 100%);
  padding: 72px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--sst-orange-dark);
  font-weight: 800;
  margin-bottom: 14px;
}

.hero h1,
.page-template-default h1,
.entry-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 16px;
  color: var(--sst-navy);
}

.hero p.lead {
  font-size: 1.08rem;
  color: var(--sst-muted);
  margin: 0 0 24px;
  max-width: 62ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  background: #fff;
  border: 1px solid var(--sst-border);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--sst-shadow);
}

.hero-visual {
  min-height: 400px;
  background: linear-gradient(180deg, #dceaff 0%, #ffffff 100%);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "✈";
  position: absolute;
  right: 30px;
  top: 24px;
  font-size: 4rem;
  color: rgba(22,50,79,.1);
}

.hero-visual .mock-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: rgba(255,255,255,.95);
  border-radius: 18px;
  border: 1px solid var(--sst-border);
  padding: 18px;
}

.hero-visual .mock-bars {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 10px;
  align-items: end;
  min-height: 120px;
}

.hero-visual .mock-bars span {
  display: block;
  background: linear-gradient(180deg, var(--sst-orange) 0%, #ffb16d 100%);
  border-radius: 12px 12px 4px 4px;
}

.section {
  padding: 70px 0;
}

.section-alt { background: var(--sst-bg); }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--sst-navy);
  margin: 0 0 12px;
}

.section-header p { margin: 0; color: var(--sst-muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--sst-border);
  border-radius: var(--sst-radius);
  padding: 26px;
  box-shadow: var(--sst-shadow);
  height: 100%;
}

.card .icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff5ea;
  color: var(--sst-orange-dark);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 10px; color: var(--sst-navy); font-size: 1.3rem; }
.card p { margin: 0 0 18px; color: var(--sst-muted); }

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.feature-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.feature-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sst-orange-dark);
  font-weight: 800;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step-card {
  background: #fff;
  border-radius: var(--sst-radius);
  padding: 24px;
  border: 1px solid var(--sst-border);
  box-shadow: var(--sst-shadow);
}
.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sst-orange);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--sst-border);
  border-radius: 16px;
  padding: 20px;
  min-height: 150px;
}
.category-card h3 { margin-top: 0; font-size: 1.1rem; color: var(--sst-navy); }
.category-card p { color: var(--sst-muted); margin-bottom: 0; }

.cta-band {
  background: linear-gradient(135deg, var(--sst-navy) 0%, #244d78 100%);
  color: #fff;
  border-radius: 28px;
  padding: 40px;
}
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: rgba(255,255,255,.85); }

.site-footer {
  background: var(--sst-navy);
  color: rgba(255,255,255,.8);
  padding: 28px 0;
  margin-top: 40px;
  text-align: center;
}
.site-footer a { color: #fff; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}
.footer-brand,
.footer-copyright {
  width: 100%;
  max-width: 100%;
  text-align: center;
}
.footer-navigation {
  width: 100%;
  min-width: 0;
}
.footer-menu-list,
.footer-navigation .menu,
.footer-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.footer-navigation li {
  display: inline-flex;
}
.footer-navigation a {
  font-weight: 700;
  color: #fff;
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.footer-social .social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  transition: background .2s ease, transform .2s ease;
}
.footer-social .social-link:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}
.content-area { padding: 50px 0; }
.entry-content { max-width: 860px; }
.entry-content h2, .entry-content h3 { color: var(--sst-navy); }
.entry-content img { border-radius: 16px; }

@media (max-width: 980px) {
  .hero-grid,
  .dual-grid,
  .card-grid,
  .steps-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }
  .main-navigation {
    display: none;
    width: 100%;
  }
  .main-navigation.toggled { display: block; }
  .main-navigation .menu,
  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0 8px;
  }
  .header-inner { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; }
}

.custom-logo-link img {
  max-height: 80px;
  width: auto;
}
.site-branding.has-logo .site-title,
.site-branding.has-logo .site-description {
  display: none;
}
.brand-logo-wrap {
  display: flex;
  align-items: center;
}
.hero-image-wrap img {
  width: 100%;
  border-radius: 22px;
  min-height: 400px;
  object-fit: cover;
}
.icon {
  overflow: hidden;
}
.network-icon-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.network-icon-emoji {
  line-height: 1;
}
@media (max-width: 720px) {
  .footer-navigation .menu,
  .footer-navigation ul,
  .footer-menu-list {
    gap: 14px;
  }
}


@media (max-width: 768px) {
  .custom-logo-link img,
  .site-branding img,
  .site-header .custom-logo {
    max-height: 60px;
    width: auto;
  }
}


/* Wide Page Template */
.sst-container-wide {
  width: min(100% - 32px, 1400px);
}

.site-main-wide,
.wide-page-template {
  width: 100%;
}

.entry-content-wide {
  max-width: 100%;
}

.page-template-template-wide-page .wp-block-group.alignwide,
.page-template-template-wide-page .alignwide {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
}

.page-template-template-wide-page .wp-block-group.alignfull,
.page-template-template-wide-page .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

/* Linked featured resource cards */
.category-card-link{display:block;color:inherit;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
.category-card-link:hover,.category-card-link:focus{transform:translateY(-3px);box-shadow:0 12px 28px rgba(22,50,79,.12);border-color:#f28c28;}
.category-link-label{display:inline-block;margin-top:10px;font-weight:700;color:#d96f00;}
