/* =========================================================
   GigsAhoy Main Styles
   Designed to match the approved homepage mockup
   ========================================================= */

:root {
  --navy: #061b33;
  --navy-2: #082845;
  --navy-3: #0b2f55;
  --blue: #0f5f9f;
  --teal: #008c7a;
  --teal-2: #0fb59f;
  --green: #17a673;
  --gold: #d89b2b;
  --orange: #f27a32;
  --ink: #071d35;
  --ink-soft: #1f3855;
  --muted: #65758a;
  --line: #dbe6ef;
  --soft: #f5f9fc;
  --soft-teal: #edf8f6;
  --white: #ffffff;
  --shadow: 0 14px 38px rgba(6, 27, 51, 0.14);
  --shadow-soft: 0 8px 24px rgba(6, 27, 51, 0.08);
  --radius: 18px;
  --radius-lg: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f6fbfd 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.16);
}

.header-inner {
  max-width: 1540px;
  min-height: 92px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
}

.brand-text strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.brand-text span {
  color: var(--teal-2);
}

.brand-text small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  flex: 1;
  font-size: 14px;
  font-weight: 850;
}

.main-nav > a,
.nav-dropdown > button {
  color: #fff;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 36px 0;
  white-space: nowrap;
}

.main-nav > a:hover,
.nav-dropdown > button:hover {
  color: #b8fff2;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 82px;
  left: 0;
  width: 300px;
  display: none;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 150;
}

.nav-dropdown:hover .dropdown-panel {
  display: block;
}

.scroll-panel {
  max-height: 430px;
  overflow-y: auto;
}

.scroll-panel::-webkit-scrollbar {
  width: 8px;
}

.scroll-panel::-webkit-scrollbar-thumb {
  background: #b8c8d8;
  border-radius: 999px;
}

.dropdown-panel a {
  display: block;
  padding: 11px 13px;
  border-radius: 10px;
  color: #132d48;
  font-size: 14px;
  font-weight: 800;
}

.dropdown-panel a:hover {
  background: var(--soft-teal);
  color: var(--teal);
}

.header-search {
  width: 430px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid #d8e3ee;
  border-radius: 11px;
  padding: 0 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.header-search span {
  color: #58708a;
  font-weight: 900;
}

.header-search input {
  border: 0;
  outline: 0;
  width: 100%;
  color: var(--ink);
  font-size: 14px;
}

.header-search input::placeholder {
  color: #7b8ca1;
}

.filter-btn,
.submit-btn,
.account-btn,
.mobile-menu-btn {
  height: 48px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.filter-btn {
  padding: 0 20px;
  background: #0a2849;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.submit-btn {
  padding: 0 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--green));
}

.account-btn {
  width: 48px;
  background: #0a2849;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 26px;
}

.mobile-menu-btn {
  display: none;
  width: 48px;
  background: #0a2849;
  color: #fff;
  font-size: 22px;
}

/* =========================================================
   Filter Drawer
   ========================================================= */

.filter-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 27, 51, 0.48);
  z-index: 300;
  justify-content: flex-end;
}

.filter-drawer.open {
  display: flex;
}

.filter-drawer-card {
  width: min(430px, 92vw);
  height: 100%;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 24px;
  overflow-y: auto;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.drawer-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
}

.drawer-head button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #edf3f8;
  color: var(--ink);
  font-size: 25px;
  cursor: pointer;
}

.filter-drawer label {
  display: block;
  margin: 17px 0;
  font-weight: 900;
  color: var(--ink);
}

.filter-drawer select {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--ink);
}

.apply-filters {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 15px;
  margin-top: 18px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

/* =========================================================
   Homepage Hero
   ========================================================= */

.home-hero {
  position: relative;
  min-height: 725px;
  overflow: hidden;
  background: #d9edf7;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.93) 0%,
    rgba(255, 255, 255, 0.76) 27%,
    rgba(255, 255, 255, 0.18) 52%,
    rgba(255, 255, 255, 0.02) 100%
  );
}

.home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-content {
  position: relative;
  z-index: 3;
  max-width: 1540px;
  margin: 0 auto;
  padding: 120px 56px 130px;
}

.home-hero-copy {
  max-width: 440px;
}

.home-hero h1 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 69px;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.home-hero h1 span {
  color: var(--teal);
}

.home-hero p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: #18324d;
  font-weight: 650;
}

.home-hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 150px;
}

.hero-action {
  min-width: 218px;
  min-height: 78px;
  border-radius: 11px;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 13px 18px;
  box-shadow: var(--shadow-soft);
}

.hero-action span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 25px;
}

.hero-action strong {
  display: block;
  font-size: 17px;
}

.hero-action small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 700;
}

.hero-action.primary {
  background: linear-gradient(135deg, var(--teal), #037766);
  color: #fff;
}

.hero-action.primary span {
  border: 2px solid rgba(255, 255, 255, 0.72);
}

.hero-action.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-action.secondary span {
  background: #eef8f6;
  color: var(--teal);
}

/* =========================================================
   Featured Idea
   ========================================================= */

.featured-home-wrap {
  max-width: 1465px;
  margin: -42px auto 0;
  padding: 0 28px;
  position: relative;
  z-index: 4;
}

.featured-home-card {
  min-height: 285px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1.45fr;
  box-shadow: var(--shadow);
}

.loading-card {
  padding: 28px;
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
}

.featured-home-copy {
  padding: 34px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-label {
  display: inline-flex;
  width: fit-content;
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.featured-home-copy h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1.1;
}

.featured-home-copy p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 420px;
}

.featured-home-btn {
  width: fit-content;
  background: var(--teal);
  color: #fff;
  border-radius: 9px;
  padding: 13px 18px;
  font-weight: 900;
}

.featured-home-visual {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 285px;
}

.featured-home-stats {
  padding: 38px 28px;
  display: grid;
  align-content: center;
  gap: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.featured-home-stat {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 12px;
  align-items: center;
}

.featured-home-stat span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 181, 159, 0.6);
  color: var(--teal-2);
  font-size: 21px;
}

.featured-home-stat small {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 850;
}

.featured-home-stat strong {
  color: #fff;
  margin-top: 3px;
}

.featured-home-image {
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
}

/* =========================================================
   Shared Home Sections
   ========================================================= */

.home-section {
  max-width: 1465px;
  margin: 26px auto 0;
  padding: 0 28px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  letter-spacing: -0.02em;
}

.section-head a {
  color: var(--teal);
  font-weight: 900;
}

/* =========================================================
   Latest Ideas
   ========================================================= */

.latest-card-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.idea-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(6, 27, 51, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.idea-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.idea-card-img {
  height: 132px;
  background: #e9f1f7;
  position: relative;
}

.idea-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.save-mini {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 14px;
}

.idea-card-body {
  padding: 12px 13px 14px;
}

.idea-card-body h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.25;
}

.card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.card-badges span {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 900;
  background: #edf8f6;
  color: var(--teal);
}

.card-badges span:nth-child(2) {
  background: #e8f1ff;
  color: var(--blue);
}

.idea-card-price {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
  font-size: 13px;
}

.idea-card-price small {
  color: var(--muted);
  font-weight: 800;
}

/* =========================================================
   Guides and Tools
   ========================================================= */

.learning-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.learning-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(6, 27, 51, 0.06);
  min-height: 170px;
}

.learning-logo {
  height: 60px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  font-weight: 900;
  font-size: 24px;
}

.canva-logo {
  color: #fff;
  background: linear-gradient(135deg, #7956ff, #14c8c2);
  font-family: Georgia, serif;
  font-style: italic;
}

.shopify-logo {
  color: #fff;
  background: #8cc63f;
}

.etsy-logo {
  color: #f1641e;
  background: #fff7f0;
  font-family: Georgia, serif;
  font-size: 34px;
}

.ai-logo {
  color: var(--teal);
  background: #e9f8f6;
  font-size: 32px;
}

.amazon-logo {
  background: #fff6e7;
  color: #111;
  font-size: 42px;
  font-family: Georgia, serif;
}

.fiverr-logo {
  background: #effaf5;
  color: #1dbf73;
  font-size: 32px;
}

.learning-card h3 {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.3;
}

.learning-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.tools-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.tool-tile {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 13px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  min-height: 86px;
  box-shadow: 0 8px 20px rgba(6, 27, 51, 0.06);
}

.tool-tile span {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: #e8f8f5;
  font-size: 24px;
}

.tool-tile strong {
  font-size: 14px;
  line-height: 1.2;
}

.tool-tile small {
  color: var(--muted);
  font-weight: 650;
  font-size: 12px;
  margin-top: 3px;
}

/* =========================================================
   Submit Strip
   ========================================================= */

.submit-strip {
  max-width: 1465px;
  margin: 30px auto 0;
  padding: 22px 48px;
  min-height: 135px;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 30px;
  border-radius: 0;
  background: linear-gradient(90deg, #fff7eb 0%, #f7fbff 50%, #fff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.submit-art img {
  max-height: 105px;
  object-fit: contain;
}

.submit-copy h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
}

.submit-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.submit-strip-btn {
  background: var(--navy);
  color: #fff;
  border-radius: 9px;
  padding: 15px 24px;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  margin-top: 0;
  background: var(--navy);
  color: #fff;
  padding: 36px 28px 42px;
  position: relative;
  overflow: hidden;
}

.site-footer::after {
  content: "⛵";
  position: absolute;
  right: 70px;
  bottom: -42px;
  font-size: 180px;
  opacity: 0.12;
}

.footer-inner {
  max-width: 1465px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 0.9fr 1.55fr;
  gap: 44px;
}

.footer-brand {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 4px;
}

.footer-brand span {
  color: var(--teal-2);
}

.footer-brand-block p,
.footer-col p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
  font-size: 14px;
  margin: 8px 0;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 16px;
}

.footer-socials a {
  font-weight: 900;
  color: #fff;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  margin: 8px 0;
}

.footer-col a:hover {
  color: #fff;
}

.footer-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  border-radius: 8px;
  padding: 13px 14px;
}

.footer-form button {
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  padding: 0 17px;
  cursor: pointer;
}

/* =========================================================
   General Utility Styles for Other Pages
   ========================================================= */

.page-shell,
.main-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 46px 28px;
}

.section-block,
.contact-card,
.about-content article,
.legal-content article,
.newsletter-content article,
.search-summary-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.section-title h1,
.section-title h2,
.about-hero h1,
.contact-hero h1,
.legal-hero h1,
.newsletter-hero h1,
.search-summary-panel h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
}

.muted,
.hint {
  color: var(--muted);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1280px) {
  .header-inner {
    gap: 16px;
  }

  .header-search {
    width: 330px;
  }

  .latest-card-row,
  .learning-row,
  .tools-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-hero h1 {
    font-size: 58px;
  }
}

@media (max-width: 1040px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 22px;
  }

  .brand {
    min-width: auto;
  }

  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .main-nav > a,
  .nav-dropdown > button {
    padding: 12px 0;
  }

  .dropdown-panel {
    top: 40px;
  }

  .header-search {
    flex: 1;
    min-width: 260px;
  }

  .home-hero {
    min-height: 630px;
  }

  .home-hero-content {
    padding: 80px 32px 110px;
  }

  .home-hero-actions {
    margin-top: 70px;
  }

  .featured-home-card {
    grid-template-columns: 1fr;
  }

  .featured-home-visual {
    grid-template-columns: 1fr;
  }

  .featured-home-stats {
    grid-template-columns: repeat(2, 1fr);
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.14);
  }

  .featured-home-image {
    max-height: 300px;
  }

  .submit-strip {
    grid-template-columns: 120px 1fr;
  }

  .submit-strip-btn {
    grid-column: 2;
    width: fit-content;
  }

  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
  }

  .brand-text strong {
    font-size: 25px;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: grid;
    gap: 0;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .account-btn {
    display: none;
  }

  .header-search {
    order: 4;
    width: 100%;
    flex-basis: 100%;
  }

  .filter-btn,
  .submit-btn {
    flex: 1;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-bg::after {
    background: rgba(255,255,255,.82);
  }

  .home-hero-content {
    padding: 56px 24px 80px;
  }

  .home-hero h1 {
    font-size: 48px;
  }

  .home-hero-actions {
    margin-top: 34px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-action {
    width: 100%;
  }

  .featured-home-wrap {
    margin-top: 22px;
  }

  .latest-card-row,
  .learning-row,
  .tools-row {
    grid-template-columns: 1fr;
  }

  .submit-strip {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 26px;
  }

  .submit-art img {
    max-height: 80px;
  }

  .submit-strip-btn {
    grid-column: auto;
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-form {
    flex-direction: column;
  }

  .site-footer::after {
    display: none;
  }
}
/* =========================================================
   Gig Detail Page
   ========================================================= */

.gig-page-shell {
  max-width: 1540px;
  margin: 0 auto;
  padding: 34px 28px 0;
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr) 285px;
  gap: 34px;
  align-items: start;
}

.gig-left-rail,
.gig-right-rail {
  position: sticky;
  top: 118px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding-bottom: 20px;
}

.gig-guide-nav,
.gig-quiz-card,
.gig-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.gig-guide-nav {
  padding: 16px;
}

.gig-guide-title {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.gig-guide-nav a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 11px 8px;
  border-radius: 10px;
  border-left: 3px solid transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.gig-guide-nav a span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
}

.gig-guide-nav a.active {
  background: var(--soft-teal);
  color: var(--teal);
  border-left-color: var(--teal);
}

.gig-quiz-card {
  margin-top: 18px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #eff9f7);
}

.quiz-compass {
  font-size: 48px;
  margin-bottom: 8px;
}

.gig-quiz-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.gig-quiz-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.gig-quiz-card a,
.side-link-btn,
.dark-save-card a,
.internal-link-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  padding: 12px 15px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.gig-main-article {
  min-width: 0;
}

.gig-breadcrumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.gig-hero-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 34px;
  align-items: center;
  margin-bottom: 24px;
}

.gig-tag {
  display: inline-flex;
  border-radius: 999px;
  background: #ddf6ef;
  color: #08715f;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.gig-hero-copy h1 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.gig-subtitle {
  color: var(--teal);
  font-size: 23px;
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 18px;
}

.gig-intro {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 16px;
}

.gig-hero-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.gig-hero-icons div {
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.gig-hero-icons span {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
}

.gig-hero-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.gig-hero-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.gig-hero-image div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(6, 27, 51, 0.94), rgba(6, 27, 51, 0.55));
  color: #fff;
  padding: 17px 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.gig-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 34px;
}

.gig-quick-stats div {
  padding: 19px;
  border-right: 1px solid rgba(255,255,255,.15);
}

.gig-quick-stats span {
  display: block;
  color: #b8fff2;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 6px;
}

.gig-quick-stats strong {
  font-size: 17px;
}

.article-loading {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--muted);
}

.gig-article-section {
  scroll-margin-top: 110px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
  margin-bottom: 32px;
}

.gig-section-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.gig-section-heading span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.gig-section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.1;
}

.gig-article-section p {
  color: #253a53;
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 16px;
}

.article-image-right {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 26px;
  align-items: start;
}

.article-image-right img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.gig-note-box {
  background: #eef8f6;
  border: 1px solid #ccece6;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 20px 0;
  color: #24435a;
  line-height: 1.65;
}

.gig-note-box strong {
  color: var(--teal);
}

.gig-note-box.gold {
  background: #fff7e8;
  border-color: #f0d8a8;
}

.day-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.day-box h3 {
  margin: 0 0 15px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
}

.day-box div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.day-box span {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.day-box strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 18px 0;
}

.fit-grid div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.fit-grid h3 {
  margin: 0 0 12px;
  color: var(--teal);
}

.fit-grid ul {
  margin: 0;
  padding-left: 21px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.quote-panel {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.4;
  margin-top: 20px;
}

.gig-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14px;
  margin: 18px 0;
}

.gig-table th {
  background: var(--teal);
  color: #fff;
  text-align: left;
  padding: 14px;
}

.gig-table td {
  padding: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.steps-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
  margin: 22px 0;
}

.steps-strip div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.steps-strip strong {
  display: block;
  color: var(--teal);
  margin-bottom: 7px;
}

.steps-strip span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.internal-guide-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #cde6ef;
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(90deg, #e8f4ff, #f1fbf8);
  margin: 22px 0;
}

.guide-bubble {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 24px;
}

.internal-guide-card h3 {
  margin: 0 0 5px;
}

.internal-guide-card p {
  margin: 0;
  font-size: 14px;
}

.internal-guide-card a {
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  padding: 12px 15px;
  font-weight: 900;
  white-space: nowrap;
}

.inline-product-card {
  display: grid;
  grid-template-columns: 150px 1fr 170px;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: var(--shadow-soft);
}

.inline-product-card img {
  width: 150px;
  height: 145px;
  object-fit: cover;
}

.inline-product-card h3 {
  margin: 0 0 8px;
}

.inline-product-card p {
  font-size: 14px;
  margin: 0;
}

.product-action {
  padding-right: 16px;
  text-align: center;
}

.product-action strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.product-action a {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  border-radius: 10px;
  padding: 11px 10px;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.client-methods,
.resource-card-grid,
.related-gig-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
  margin: 20px 0;
}

.client-methods div,
.resource-card-grid a,
.related-gig-grid a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.client-methods strong {
  display: block;
  color: var(--teal);
  margin-bottom: 7px;
}

.client-methods span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.resource-card-grid,
.related-gig-grid {
  grid-template-columns: repeat(4, 1fr);
}

.resource-card-grid a,
.related-gig-grid a {
  color: var(--ink);
  font-weight: 900;
}

.full-ratings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.full-rating-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.full-rating-card strong {
  display: block;
  margin-bottom: 10px;
}

.full-rating-card p {
  font-size: 13px;
  margin: 10px 0 0;
  color: var(--muted);
}

.faq-section details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-soft);
}

.faq-section summary {
  font-weight: 900;
  cursor: pointer;
}

.gig-side-card {
  padding: 18px;
  margin-bottom: 18px;
}

.gig-side-card h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.side-rating-row {
  margin-bottom: 14px;
}

.side-rating-row div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 6px;
}

.side-rating-bar {
  height: 8px;
  background: #e7edf3;
  border-radius: 999px;
  overflow: hidden;
}

.side-rating-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 999px;
}

.side-link-btn {
  width: 100%;
  margin-top: 6px;
  background: #edf8f6;
  color: var(--teal);
}

.dark-save-card {
  background: var(--navy);
  color: #fff;
}

.dark-save-card p {
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-size: 14px;
}

.dark-save-card a {
  width: 100%;
  background: var(--teal);
}

.side-guide-list a {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.side-guide-list img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.side-guide-list span,
.side-tool-list span {
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
}

.side-guide-list small,
.side-tool-list small {
  display: block;
  color: var(--teal);
  margin-top: 4px;
  font-weight: 850;
}

.side-tool-list a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 24px;
}

@media (max-width: 1250px) {
  .gig-page-shell {
    grid-template-columns: 1fr;
  }

  .gig-left-rail,
  .gig-right-rail {
    position: static;
    max-height: none;
  }

  .gig-guide-nav {
    display: none;
  }

  .gig-hero-section {
    grid-template-columns: 1fr;
  }

  .gig-right-rail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .gig-page-shell {
    padding: 24px 18px 0;
  }

  .gig-hero-copy h1 {
    font-size: 44px;
  }

  .gig-quick-stats,
  .gig-hero-icons,
  .day-box div,
  .fit-grid,
  .steps-strip,
  .client-methods,
  .resource-card-grid,
  .related-gig-grid,
  .full-ratings-grid,
  .gig-right-rail {
    grid-template-columns: 1fr;
  }

  .article-image-right {
    grid-template-columns: 1fr;
  }

  .inline-product-card {
    grid-template-columns: 1fr;
  }

  .inline-product-card img {
    width: 100%;
    height: 190px;
  }

  .product-action {
    padding: 0 16px 16px;
  }

  .internal-guide-card {
    grid-template-columns: 1fr;
  }

  .internal-guide-card a {
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   Category Page
   ========================================================= */

.category-page {
  max-width: 1465px;
  margin: 0 auto;
  padding: 42px 28px 56px;
}

.category-hero {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.category-hero > div:first-child,
.category-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.category-hero h1 {
  margin: 8px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.category-hero p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.category-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.category-primary-btn,
.category-secondary-btn,
.category-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 13px 18px;
  font-weight: 900;
}

.category-primary-btn {
  background: var(--teal);
  color: #fff;
}

.category-secondary-btn,
.category-empty-btn {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.category-hero-card {
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
}

.category-hero-card span {
  font-size: 58px;
  margin-bottom: 8px;
}

.category-hero-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: 1;
}

.category-hero-card small {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 8px;
  font-weight: 800;
}

.category-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.category-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 18px;
}

.category-sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.category-sidebar-card h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.category-sidebar nav {
  display: grid;
  gap: 6px;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 4px;
}

.category-sidebar nav a {
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 850;
  font-size: 14px;
}

.category-sidebar nav a:hover,
.category-sidebar nav a.active {
  background: var(--soft-teal);
  color: var(--teal);
}

.dark-category-card {
  background: var(--navy);
  color: #fff;
}

.dark-category-card p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
  font-size: 14px;
}

.dark-category-card a {
  display: inline-flex;
  margin-top: 8px;
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 900;
}

.category-results-area {
  min-width: 0;
}

.category-results-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
}

.category-results-top h2 {
  margin: 0 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
}

.category-results-top p {
  margin: 0;
  color: var(--muted);
}

.category-results-top label {
  display: grid;
  gap: 7px;
  font-weight: 900;
  font-size: 13px;
}

.category-results-top select {
  min-width: 210px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.category-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-gig-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-gig-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-gig-image {
  height: 185px;
  position: relative;
  background: #eaf1f7;
}

.category-gig-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-gig-image span {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(6, 27, 51, 0.88);
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 900;
}

.category-gig-body {
  padding: 20px;
}

.category-gig-body h3 {
  margin: 0 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.12;
}

.category-gig-body p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.category-gig-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.category-gig-meta div {
  background: var(--soft);
  border: 1px solid #e5edf4;
  border-radius: 12px;
  padding: 12px;
}

.category-gig-meta small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.category-gig-meta strong {
  color: var(--ink);
  font-size: 13px;
}

.category-score-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-score-row span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--soft-teal);
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.category-score-row span:nth-child(2) {
  background: #e8f1ff;
  color: var(--blue);
}

@media (max-width: 1100px) {
  .category-hero,
  .category-layout {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    position: static;
  }

  .category-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .category-page {
    padding: 28px 18px 44px;
  }

  .category-hero h1 {
    font-size: 40px;
  }

  .category-results-top {
    flex-direction: column;
    align-items: stretch;
  }

  .category-results-top select {
    width: 100%;
    min-width: 0;
  }

  .category-results-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Quiz Page
   ========================================================= */

.quiz-page {
  max-width: 1465px;
  margin: 0 auto;
  padding: 42px 28px 56px;
}

.quiz-hero-new {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.quiz-hero-copy-new,
.quiz-map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-soft);
}

.quiz-hero-copy-new h1 {
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.quiz-hero-copy-new p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.quiz-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.quiz-start-btn,
.quiz-browse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 14px 19px;
  font-weight: 900;
}

.quiz-start-btn {
  background: var(--teal);
  color: #fff;
}

.quiz-browse-btn {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.quiz-map-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quiz-map-icon {
  font-size: 60px;
  margin-bottom: 12px;
}

.quiz-map-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.15;
}

.quiz-map-card p {
  margin: 0;
  color: rgba(255,255,255,.76);
  line-height: 1.7;
}

.quiz-layout {
  display: grid;
  grid-template-columns: 1fr 315px;
  gap: 28px;
  align-items: start;
}

.quiz-main-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.quiz-progress-wrap {
  margin-bottom: 28px;
}

.quiz-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.quiz-progress-bar {
  height: 10px;
  background: #e7edf3;
  border-radius: 999px;
  overflow: hidden;
}

.quiz-progress-bar div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 999px;
  transition: width 0.25s ease;
}

.quiz-question-card {
  min-height: 430px;
}

.quiz-question-kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.quiz-question-card h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1.12;
}

.quiz-question-card > p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.quiz-answer-list {
  display: grid;
  gap: 14px;
}

.quiz-answer-option {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 15px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 17px;
  cursor: pointer;
  transition: 0.18s ease;
}

.quiz-answer-option:hover {
  border-color: var(--teal);
  background: #f6fcfb;
}

.quiz-answer-option.selected {
  border-color: var(--teal);
  background: var(--soft-teal);
  box-shadow: 0 8px 20px rgba(0, 140, 122, 0.12);
}

.quiz-answer-option > span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.quiz-answer-option.selected > span {
  background: var(--teal);
}

.quiz-answer-option strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 4px;
}

.quiz-answer-option small {
  display: block;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.quiz-warning {
  min-height: 24px;
  margin-top: 14px;
  color: #b84a27;
  font-weight: 900;
}

.quiz-controls {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
}

.quiz-control-primary,
.quiz-control-secondary {
  border: 0;
  border-radius: 11px;
  padding: 14px 20px;
  font-weight: 900;
  cursor: pointer;
}

.quiz-control-primary {
  background: var(--teal);
  color: #fff;
}

.quiz-control-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.quiz-control-secondary:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.quiz-side-panel {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 18px;
}

.quiz-side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.quiz-side-card.dark {
  background: var(--navy);
  color: #fff;
}

.quiz-side-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
}

.quiz-side-card p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  font-size: 14px;
}

.quiz-side-card.dark p {
  color: rgba(255,255,255,.76);
}

.quiz-profile-preview {
  display: grid;
  gap: 9px;
}

.quiz-profile-preview p {
  color: var(--muted);
}

.quiz-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.quiz-profile-row span {
  color: var(--ink);
  font-weight: 850;
}

.quiz-profile-row strong {
  color: var(--teal);
}

.quiz-guide-links {
  display: grid;
  gap: 10px;
}

.quiz-guide-links a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  background: var(--soft-teal);
  color: var(--teal);
  font-weight: 900;
  font-size: 14px;
}

.quiz-results-section {
  margin-top: 30px;
}

.quiz-results-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.quiz-results-card h2 {
  margin: 8px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.1;
}

.quiz-results-card > p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 900px;
}

.quiz-match-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quiz-match-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: 0.18s ease;
}

.quiz-match-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.quiz-match-image {
  position: relative;
  height: 175px;
  background: #eaf1f7;
}

.quiz-match-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quiz-match-image span {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--teal);
  color: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.quiz-match-body {
  padding: 18px;
}

.quiz-match-body small {
  color: var(--teal);
  font-weight: 900;
}

.quiz-match-body h3 {
  margin: 7px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.quiz-match-body p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.quiz-match-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quiz-match-stats span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--soft-teal);
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.quiz-match-stats span:nth-child(2) {
  background: #e8f1ff;
  color: var(--blue);
}

.quiz-result-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.quiz-result-primary,
.quiz-result-secondary {
  border: 0;
  border-radius: 11px;
  padding: 14px 20px;
  font-weight: 900;
  cursor: pointer;
}

.quiz-result-primary {
  background: var(--teal);
  color: #fff;
}

.quiz-result-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .quiz-hero-new,
  .quiz-layout {
    grid-template-columns: 1fr;
  }

  .quiz-side-panel {
    position: static;
  }

  .quiz-match-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .quiz-page {
    padding: 28px 18px 44px;
  }

  .quiz-hero-copy-new h1 {
    font-size: 40px;
  }

  .quiz-main-card,
  .quiz-hero-copy-new,
  .quiz-map-card,
  .quiz-results-card {
    padding: 24px;
  }

  .quiz-question-card h2 {
    font-size: 30px;
  }

  .quiz-controls {
    flex-direction: column;
  }

  .quiz-control-primary,
  .quiz-control-secondary {
    width: 100%;
  }

  .quiz-match-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Guides / Tools Resource Pages
   ========================================================= */

.resource-page {
  max-width: 1465px;
  margin: 0 auto;
  padding: 42px 28px 56px;
}

.resource-hero {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.resource-hero > div:first-child,
.resource-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.resource-hero h1 {
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.resource-hero p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.resource-hero-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resource-hero-card span {
  font-size: 58px;
  margin-bottom: 12px;
}

.resource-hero-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.resource-hero-card small {
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-size: 14px;
}

.resource-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.resource-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 18px;
}

.resource-sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.resource-sidebar-card h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.resource-sidebar-card a {
  display: block;
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 850;
  font-size: 14px;
}

.resource-sidebar-card a:hover {
  background: var(--soft-teal);
  color: var(--teal);
}

.dark-resource-card {
  background: var(--navy);
  color: #fff;
}

.dark-resource-card p {
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  font-size: 14px;
}

.resource-main {
  min-width: 0;
}

.resource-section-head {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
}

.resource-section-head h2 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
}

.resource-section-head p {
  margin: 0;
  color: var(--muted);
}

.guide-library-grid,
.tool-library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.guide-library-card,
.tool-library-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.guide-library-card:hover,
.tool-library-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.guide-library-icon,
.tool-library-icon {
  height: 72px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  font-weight: 900;
  font-size: 28px;
}

.canva-guide {
  color: #fff;
  background: linear-gradient(135deg, #7956ff, #14c8c2);
  font-family: Georgia, serif;
  font-style: italic;
}

.etsy-guide {
  color: #f1641e;
  background: #fff7f0;
  font-family: Georgia, serif;
  font-size: 38px;
}

.shopify-guide {
  color: #fff;
  background: #8cc63f;
}

.ai-guide {
  color: var(--teal);
  background: #e9f8f6;
  font-size: 40px;
}

.pricing-guide {
  color: #fff;
  background: var(--navy);
}

.client-guide {
  color: var(--blue);
  background: #e8f1ff;
}

.tool-library-icon {
  color: var(--teal);
  background: #e8f8f5;
  font-size: 36px;
}

.featured-tool {
  background: linear-gradient(180deg, #fff, #f1fbf8);
  border-color: #cdece5;
}

.guide-library-card > span,
.tool-library-card > span {
  display: inline-flex;
  margin-bottom: 9px;
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--teal);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.guide-library-card h3,
.tool-library-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.13;
}

.guide-library-card p,
.tool-library-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.guide-links-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.guide-links-row a,
.tool-library-card a {
  display: inline-flex;
  justify-content: center;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  padding: 11px 13px;
  font-weight: 900;
  font-size: 13px;
}

.guide-links-row a:nth-child(2) {
  background: #eef8f6;
  color: var(--teal);
}

@media (max-width: 1100px) {
  .resource-hero,
  .resource-layout {
    grid-template-columns: 1fr;
  }

  .resource-sidebar {
    position: static;
  }

  .guide-library-grid,
  .tool-library-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .resource-page {
    padding: 28px 18px 44px;
  }

  .resource-hero h1 {
    font-size: 40px;
  }

  .guide-library-grid,
  .tool-library-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Gear / Affiliate Resource Page
   ========================================================= */

.gear-page {
  max-width: 1465px;
  margin: 0 auto;
  padding: 42px 28px 56px;
}

.gear-hero {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.gear-hero > div:first-child,
.gear-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.gear-hero h1 {
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.gear-hero p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.affiliate-disclosure {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff7e8;
  border: 1px solid #f1d8a6;
  color: #4d3a1c;
  line-height: 1.6;
}

.affiliate-disclosure strong {
  color: #9a650b;
}

.gear-hero-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gear-hero-card span {
  font-size: 58px;
  margin-bottom: 12px;
}

.gear-hero-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.gear-hero-card small {
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-size: 14px;
}

.gear-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.gear-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 18px;
}

.gear-sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.gear-sidebar-card h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.gear-sidebar-card a {
  display: block;
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 850;
  font-size: 14px;
}

.gear-sidebar-card a:hover {
  background: var(--soft-teal);
  color: var(--teal);
}

.dark-gear-card {
  background: var(--navy);
  color: #fff;
}

.dark-gear-card p {
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  font-size: 14px;
}

.gear-main {
  min-width: 0;
}

.gear-category-section {
  scroll-margin-top: 115px;
  margin-bottom: 34px;
}

.gear-section-head {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
}

.gear-section-head h2 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
}

.gear-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.gear-grid {
  display: grid;
  gap: 22px;
}

.gear-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gear-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.gear-card img {
  width: 280px;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: #eaf1f7;
}

.gear-card > div {
  padding: 24px;
}

.gear-card span {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--teal);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.gear-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.12;
}

.gear-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.72;
  font-size: 15px;
}

.gear-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.gear-actions a {
  display: inline-flex;
  justify-content: center;
  border-radius: 10px;
  background: #edf8f6;
  color: var(--teal);
  padding: 12px 14px;
  font-weight: 900;
  font-size: 13px;
}

.gear-actions a:nth-child(2) {
  background: var(--teal);
  color: #fff;
}

.starter-bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.starter-bundle-card {
  background: linear-gradient(180deg, #fff, #f4fbf9);
  border: 1px solid #cdece5;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.starter-bundle-card h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.starter-bundle-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.starter-bundle-card a {
  display: inline-flex;
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .gear-hero,
  .gear-layout {
    grid-template-columns: 1fr;
  }

  .gear-sidebar {
    position: static;
  }

  .starter-bundle-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .gear-page {
    padding: 28px 18px 44px;
  }

  .gear-hero h1 {
    font-size: 40px;
  }

  .gear-card {
    grid-template-columns: 1fr;
  }

  .gear-card img {
    width: 100%;
    height: 220px;
    min-height: 0;
  }

  .gear-actions {
    flex-direction: column;
  }
}

/* =========================================================
   Simple Support Pages
   About, Contact, Newsletter, Privacy, Terms
   ========================================================= */

.simple-page {
  max-width: 1465px;
  margin: 0 auto;
  padding: 42px 28px 56px;
}

.simple-hero,
.newsletter-modern-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.simple-hero > div:first-child,
.simple-hero-card,
.newsletter-modern-hero > div:first-child,
.newsletter-bottle-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.simple-hero h1,
.newsletter-modern-hero h1 {
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.simple-hero p,
.newsletter-modern-hero p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.simple-hero-card,
.newsletter-bottle-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.simple-hero-card span,
.newsletter-bottle-card span {
  font-size: 58px;
  margin-bottom: 12px;
}

.simple-hero-card strong,
.newsletter-bottle-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.simple-hero-card small,
.newsletter-bottle-card small {
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-size: 14px;
}

.simple-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.simple-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.simple-card h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
}

.simple-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.simple-card a {
  color: var(--teal);
  font-weight: 900;
}

.contact-modern-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
}

.modern-contact-form {
  display: grid;
  gap: 16px;
}

.modern-contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
  color: var(--ink);
}

.modern-contact-form input,
.modern-contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
  outline: none;
  font-size: 15px;
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 140, 122, .12);
}

.modern-contact-form button,
.newsletter-modern-form button {
  width: fit-content;
  border: 0;
  border-radius: 11px;
  padding: 14px 20px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.newsletter-modern-form {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  max-width: 600px;
}

.newsletter-modern-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px 15px;
  outline: none;
}

.newsletter-modern-hero small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.legal-modern-content {
  display: grid;
  gap: 18px;
}

.legal-modern-content article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.legal-modern-content h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.legal-modern-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1000px) {
  .simple-hero,
  .newsletter-modern-hero,
  .contact-modern-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .simple-page {
    padding: 28px 18px 44px;
  }

  .simple-hero h1,
  .newsletter-modern-hero h1 {
    font-size: 40px;
  }

  .simple-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-modern-form {
    flex-direction: column;
  }

  .modern-contact-form button,
  .newsletter-modern-form button {
    width: 100%;
  }
}

/* =========================================================
   Submit Idea Page
   ========================================================= */

.submit-page {
  max-width: 1465px;
  margin: 0 auto;
  padding: 42px 28px 56px;
}

.submit-hero-page {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.submit-hero-page > div:first-child,
.submit-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.submit-hero-page h1 {
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.submit-hero-page p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.submit-hero-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff7e8;
  border: 1px solid #f1d8a6;
  color: #4d3a1c;
  line-height: 1.6;
}

.submit-hero-note strong {
  color: #9a650b;
}

.submit-hero-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.submit-hero-card span {
  font-size: 58px;
  margin-bottom: 12px;
}

.submit-hero-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.submit-hero-card small {
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-size: 14px;
}

.submit-layout {
  display: grid;
  grid-template-columns: 285px 1fr;
  gap: 28px;
  align-items: start;
}

.submit-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 18px;
}

.submit-sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.submit-sidebar-card h2 {
  margin: 0 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.submit-sidebar-card p,
.submit-sidebar-card li {
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.submit-sidebar-card ul {
  margin: 0;
  padding-left: 20px;
}

.dark-submit-card {
  background: var(--navy);
  color: #fff;
}

.dark-submit-card p {
  color: rgba(255,255,255,.78);
  margin: 10px 0;
}

.submit-form-area {
  min-width: 0;
}

.submit-idea-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 34px;
}

.form-section-title {
  margin: 4px 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.form-section-title:not(:first-child) {
  margin-top: 34px;
}

.form-section-title h2 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.form-section-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.submit-idea-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 900;
}

.submit-idea-form input,
.submit-idea-form select,
.submit-idea-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
  outline: none;
  color: var(--ink);
  font-size: 15px;
  background: #fff;
}

.submit-idea-form input:focus,
.submit-idea-form select:focus,
.submit-idea-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 140, 122, .12);
}

.submit-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.submit-idea-button {
  width: fit-content;
  border: 0;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  padding: 15px 24px;
  cursor: pointer;
  margin-top: 8px;
}

.submit-form-note {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.submit-form-note.success {
  color: var(--teal);
  font-weight: 900;
}

@media (max-width: 1050px) {
  .submit-hero-page,
  .submit-layout {
    grid-template-columns: 1fr;
  }

  .submit-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .submit-page {
    padding: 28px 18px 44px;
  }

  .submit-hero-page h1 {
    font-size: 40px;
  }

  .submit-idea-form {
    padding: 24px;
  }

  .submit-form-grid {
    grid-template-columns: 1fr;
  }

  .submit-idea-button {
    width: 100%;
  }
}
/* =========================================================
   Single Guide Page
   ========================================================= */

.single-guide-page {
  max-width: 1465px;
  margin: 0 auto;
  padding: 42px 28px 56px;
}

.single-guide-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.single-guide-hero > div:first-child,
.single-guide-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.single-guide-hero h1 {
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.single-guide-hero p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.single-guide-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.single-guide-primary,
.single-guide-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 14px 18px;
  font-weight: 900;
}

.single-guide-primary {
  background: var(--teal);
  color: #fff;
}

.single-guide-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.single-guide-hero-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.single-guide-hero-card span {
  font-size: 58px;
  margin-bottom: 12px;
}

.single-guide-hero-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.single-guide-hero-card small {
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-size: 14px;
}

.single-guide-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.single-guide-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 18px;
}

.single-guide-sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.single-guide-sidebar-card h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.single-guide-sidebar-card nav {
  display: grid;
  gap: 6px;
}

.single-guide-sidebar-card a {
  display: block;
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 850;
  font-size: 14px;
}

.single-guide-sidebar-card a:hover {
  background: var(--soft-teal);
  color: var(--teal);
}

.dark-guide-card {
  background: var(--navy);
  color: #fff;
}

.dark-guide-card p {
  margin: 0;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  font-size: 14px;
}

.single-guide-article {
  min-width: 0;
}

.guide-article-section {
  scroll-margin-top: 115px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
}

.guide-article-section h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.1;
}

.guide-article-section h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.guide-article-section p,
.guide-article-section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.guide-article-section p {
  margin: 0 0 16px;
}

.guide-article-section ol,
.guide-article-section ul {
  margin-top: 0;
  padding-left: 24px;
}

.guide-callout {
  margin-top: 18px;
  padding: 17px 19px;
  border-radius: 14px;
  border: 1px solid #ccece6;
  background: var(--soft-teal);
  color: #24435a;
  line-height: 1.65;
}

.guide-callout strong {
  color: var(--teal);
}

.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.guide-related-grid a {
  display: block;
  background: var(--soft);
  border: 1px solid #e5edf4;
  border-radius: 13px;
  padding: 16px;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.guide-related-grid a:hover {
  background: var(--soft-teal);
  color: var(--teal);
}

.guide-tool-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background: linear-gradient(90deg, #e8f4ff, #f1fbf8);
  border: 1px solid #cde6ef;
  border-radius: 16px;
  padding: 20px;
  margin-top: 18px;
}

.guide-tool-box p {
  margin: 0;
  font-size: 14px;
}

.guide-tool-box a {
  display: inline-flex;
  background: var(--teal);
  color: #fff;
  border-radius: 10px;
  padding: 12px 15px;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 1050px) {
  .single-guide-hero,
  .single-guide-layout {
    grid-template-columns: 1fr;
  }

  .single-guide-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .single-guide-page {
    padding: 28px 18px 44px;
  }

  .single-guide-hero h1 {
    font-size: 40px;
  }

  .guide-related-grid {
    grid-template-columns: 1fr;
  }

  .guide-tool-box {
    grid-template-columns: 1fr;
  }

  .guide-tool-box a {
    justify-content: center;
  }
}

/* =========================================================
   Data Loading / Error States
   ========================================================= */

.data-loading-box,
.data-error-content {
  padding: 34px 42px;
}

.data-loading-box h3,
.data-error-content h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.data-loading-box p,
.data-error-content p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
}

.data-error-card {
  display: block;
  background: var(--navy);
  color: #fff;
  min-height: 285px;
}

.data-error-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff7e8;
  color: #9a650b;
  font-weight: 900;
  font-size: 24px;
  margin-bottom: 14px;
}

.data-error-steps {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
}

.data-error-steps strong {
  display: block;
  margin-bottom: 8px;
  color: #b8fff2;
}

.data-error-steps ol {
  margin: 0;
  padding-left: 20px;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}

.data-error-steps code {
  background: rgba(255,255,255,.12);
  padding: 2px 5px;
  border-radius: 5px;
}

.data-error-state h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.missing-image {
  background:
    linear-gradient(135deg, rgba(0,140,122,.12), rgba(15,95,159,.12)),
    #eaf1f7;
}

.missing-image::after {
  content: "Image missing";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}

.missing-image-label {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}

/* =========================================================
   Single Tool Page
   ========================================================= */

.single-tool-page {
  max-width: 1465px;
  margin: 0 auto;
  padding: 42px 28px 56px;
}

.single-tool-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.single-tool-hero > div:first-child,
.single-tool-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.single-tool-hero h1 {
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.single-tool-hero p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.single-tool-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.single-tool-primary,
.single-tool-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 14px 18px;
  font-weight: 900;
}

.single-tool-primary {
  background: var(--teal);
  color: #fff;
}

.single-tool-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.single-tool-hero-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.single-tool-hero-card span {
  font-size: 58px;
  margin-bottom: 12px;
}

.single-tool-hero-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.single-tool-hero-card small {
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-size: 14px;
}

.single-tool-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.single-tool-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 18px;
}

.single-tool-sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.single-tool-sidebar-card h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.single-tool-sidebar-card nav {
  display: grid;
  gap: 6px;
}

.single-tool-sidebar-card a {
  display: block;
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 850;
  font-size: 14px;
}

.single-tool-sidebar-card a:hover {
  background: var(--soft-teal);
  color: var(--teal);
}

.dark-tool-card {
  background: var(--navy);
  color: #fff;
}

.dark-tool-card p {
  margin: 0;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  font-size: 14px;
}

.single-tool-article {
  min-width: 0;
}

.tool-article-section {
  scroll-margin-top: 115px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
}

.tool-article-section h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.1;
}

.tool-article-section h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.tool-article-section p,
.tool-article-section li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.tool-article-section p {
  margin: 0 0 16px;
}

.tool-calculator-box {
  margin-top: 18px;
  background: linear-gradient(90deg, #e8f4ff, #f1fbf8);
  border: 1px solid #cde6ef;
  border-radius: 16px;
  padding: 24px;
}

.tool-calculator-box h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.tool-calculator-box p {
  margin: 0 0 18px;
  color: var(--muted);
}

.tool-calc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tool-calc-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.tool-calc-grid input,
.tool-calc-grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
  outline: none;
  background: #fff;
}

.tool-calc-grid input:focus,
.tool-calc-grid select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 140, 122, .12);
}

.tool-calc-btn {
  border: 0;
  border-radius: 11px;
  padding: 14px 18px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  margin-top: 18px;
}

.tool-calc-result {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.7;
}

@media (max-width: 1050px) {
  .single-tool-hero,
  .single-tool-layout {
    grid-template-columns: 1fr;
  }

  .single-tool-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .single-tool-page {
    padding: 28px 18px 44px;
  }

  .single-tool-hero h1 {
    font-size: 40px;
  }

  .tool-calc-grid {
    grid-template-columns: 1fr;
  }

  .tool-calc-btn {
    width: 100%;
  }
}
/* =========================================================
   Resources Landing Page
   ========================================================= */

.resources-page {
  max-width: 1465px;
  margin: 0 auto;
  padding: 42px 28px 56px;
}

.resources-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.resources-hero > div:first-child,
.resources-hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.resources-hero h1 {
  margin: 8px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.resources-hero p {
  max-width: 850px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.resources-hero-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.resources-hero-card span {
  font-size: 58px;
  margin-bottom: 12px;
}

.resources-hero-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.resources-hero-card small {
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-size: 14px;
}

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

.resources-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.resources-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.resources-card.featured {
  background: linear-gradient(180deg, #fff, #f1fbf8);
  border-color: #cdece5;
}

.resources-icon {
  width: 66px;
  height: 66px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--soft-teal);
  color: var(--teal);
  font-size: 34px;
  margin-bottom: 18px;
}

.resources-card span {
  display: inline-flex;
  margin-bottom: 9px;
  border-radius: 999px;
  background: var(--soft-teal);
  color: var(--teal);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.resources-card h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: 1.12;
}

.resources-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

.resources-card strong {
  color: var(--teal);
}

.resources-cta {
  margin-top: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.resources-cta h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.resources-cta p {
  margin: 0;
  color: rgba(255,255,255,.76);
  line-height: 1.65;
}

.resources-cta a {
  display: inline-flex;
  white-space: nowrap;
  background: var(--teal);
  color: #fff;
  border-radius: 11px;
  padding: 14px 18px;
  font-weight: 900;
}

@media (max-width: 1050px) {
  .resources-hero {
    grid-template-columns: 1fr;
  }

  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .resources-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .resources-page {
    padding: 28px 18px 44px;
  }

  .resources-hero h1 {
    font-size: 40px;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .resources-cta a {
    width: 100%;
    justify-content: center;
  }
}
/* Footer adjustment for five columns */
.footer-inner {
  grid-template-columns: 1.35fr 0.75fr 0.85fr 0.85fr 1.35fr;
}

@media (max-width: 1040px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Updated Header Layout With Full Logo and Search Above Menu
   ========================================================= */

.site-header {
  min-height: 128px;
}

.header-inner-stacked {
  max-width: 1465px;
  min-height: 128px;
  margin: 0 auto;
  padding: 12px 28px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header-top-row {
  display: grid;
  grid-template-columns: 310px minmax(280px, 1fr) auto auto auto auto;
  gap: 14px;
  align-items: center;
  width: 100%;
}

.header-bottom-row {
  display: flex;
  justify-content: center;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 7px;
}

.brand-with-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 310px;
}

.brand-logo-img {
  display: block;
  width: 292px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.header-search-top {
  width: 100%;
  max-width: none;
  margin: 0;
}

.header-bottom-row .main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  width: 100%;
}

.header-bottom-row .main-nav > a,
.header-bottom-row .main-nav .nav-dropdown > button {
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.footer-brand-with-logo {
  display: block;
  margin-bottom: 10px;
}

.footer-logo-img {
  width: 250px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Footer adjustment for five columns */
.footer-inner {
  grid-template-columns: 1.35fr 0.75fr 0.85fr 0.85fr 1.35fr;
}

/* The old brand text/icon is no longer used, but this keeps old styles from fighting the image logo */
.brand-icon,
.brand-text {
  display: none;
}

/* =========================================================
   Header Responsiveness
   ========================================================= */

@media (max-width: 1200px) {
  .header-top-row {
    grid-template-columns: 260px minmax(240px, 1fr) auto auto auto;
  }

  .brand-with-logo {
    width: 260px;
  }

  .brand-logo-img {
    width: 245px;
  }

  .account-btn {
    display: none;
  }

  .header-bottom-row .main-nav {
    gap: 24px;
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: auto;
  }

  .header-inner-stacked {
    min-height: auto;
    padding: 12px 18px;
  }

  .header-top-row {
    grid-template-columns: 230px 1fr auto;
    gap: 12px;
  }

  .brand-with-logo {
    width: 230px;
  }

  .brand-logo-img {
    width: 215px;
  }

  .header-search-top {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .filter-btn,
  .submit-btn,
  .account-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    justify-self: end;
  }

  .header-bottom-row {
    justify-content: stretch;
    padding-top: 0;
    border-top: 0;
  }

  .header-bottom-row .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(6, 27, 51, 0.98);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 12px;
  }

  .header-bottom-row .main-nav.open {
    display: flex;
  }

  .header-bottom-row .main-nav > a,
  .header-bottom-row .main-nav .nav-dropdown > button {
    width: 100%;
    justify-content: space-between;
    padding: 13px 14px;
    border-radius: 11px;
  }

  .header-bottom-row .dropdown-panel {
    position: static;
    display: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    width: 100%;
    margin-top: 4px;
  }

  .header-bottom-row .nav-dropdown:hover .dropdown-panel,
  .header-bottom-row .nav-dropdown:focus-within .dropdown-panel {
    display: grid;
  }
}

@media (max-width: 620px) {
  .header-top-row {
    grid-template-columns: 1fr auto;
  }

  .brand-with-logo {
    width: 210px;
  }

  .brand-logo-img {
    width: 200px;
  }

  .header-search-top {
    grid-column: 1 / -1;
  }

  .footer-logo-img {
    width: 220px;
  }
}

@media (max-width: 420px) {
  .brand-with-logo {
    width: 180px;
  }

  .brand-logo-img {
    width: 175px;
  }
}

/* =========================================================
   Clickable Homepage Gig Cards Fix
   ========================================================= */

.latest-card-row,
.featured-home-wrap,
.featured-home-card {
  position: relative;
  z-index: 2;
}

.idea-card,
.clickable-idea-card,
.featured-home-btn,
.featured-home-clickable {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
}

.featured-home-clickable {
  color: inherit;
}

.idea-card * {
  pointer-events: none;
}

.idea-card {
  pointer-events: auto;
}

/* =========================================================
   Gig Article Page Polish
   Makes spreadsheet HTML content look like the mockup
   ========================================================= */

.gig-main-article {
  background:
    radial-gradient(circle at top left, rgba(0, 160, 145, 0.06), transparent 34%),
    radial-gradient(circle at top right, rgba(7, 43, 78, 0.05), transparent 34%),
    #ffffff;
  border-radius: 22px;
}

#gigArticleContent {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.gig-article-section {
  position: relative;
  padding: 6px 0 12px;
  scroll-margin-top: 145px;
}

.gig-section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
}

.gig-section-heading span {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00bfae, #007f73);
  color: #ffffff;
  font-weight: 950;
  font-size: 17px;
  box-shadow: 0 10px 22px rgba(0, 128, 115, 0.22);
}

.gig-section-heading h2 {
  margin: 0;
  color: #071f3d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.gig-article-section h3 {
  color: #071f3d;
  font-size: 22px;
  margin: 22px 0 8px;
}

.gig-article-section p {
  color: #284864;
  font-size: 18px;
  line-height: 1.85;
  margin: 0 0 18px;
}

.gig-article-section ul,
.gig-article-section ol {
  margin: 14px 0 20px;
  padding-left: 22px;
  color: #284864;
  font-size: 17px;
  line-height: 1.8;
}

.gig-article-section li {
  margin-bottom: 8px;
}

/* Better highlighted callout boxes, including Important sections */
.gig-callout,
.gig-related-guide,
.gig-related-tool,
.gig-next-step-box {
  position: relative;
  margin: 24px 0;
  padding: 22px 24px 22px 78px;
  border-radius: 18px;
  border: 1px solid rgba(0, 128, 115, 0.22);
  background:
    linear-gradient(135deg, rgba(0, 191, 174, 0.13), rgba(255,255,255,0.92)),
    #f4fffd;
  box-shadow: 0 14px 32px rgba(7, 31, 61, 0.08);
  color: #173b57;
  overflow: hidden;
}

.gig-callout::before,
.gig-related-guide::before,
.gig-related-tool::before,
.gig-next-step-box::before {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #007f73;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(0, 128, 115, 0.24);
}

.gig-callout::before {
  content: "!";
}

.gig-related-guide::before {
  content: "📚";
  font-size: 17px;
}

.gig-related-tool::before {
  content: "🧰";
  font-size: 17px;
}

.gig-next-step-box::before {
  content: "⚓";
  font-size: 18px;
}

.gig-callout strong,
.gig-related-guide h3,
.gig-related-tool h3,
.gig-next-step-box h3 {
  display: block;
  margin: 0 0 7px;
  color: #062344;
  font-size: 20px;
  font-weight: 950;
}

.gig-callout p,
.gig-related-guide p,
.gig-related-tool p,
.gig-next-step-box p {
  margin-bottom: 10px;
}

.gig-callout a,
.gig-related-guide a,
.gig-related-tool a,
.gig-next-step-box a {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: #006f66;
  font-weight: 950;
  text-decoration: none;
}

.gig-callout a:hover,
.gig-related-guide a:hover,
.gig-related-tool a:hover,
.gig-next-step-box a:hover {
  text-decoration: underline;
}

/* Warning/Important variation */
.gig-callout.warning {
  border-color: rgba(184, 74, 39, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 207, 112, 0.25), rgba(255,255,255,0.94)),
    #fffaf0;
}

.gig-callout.warning::before {
  background: #b84a27;
  content: "!";
}

/* Inline images */
.gig-inline-image {
  margin: 28px 0;
  border-radius: 22px;
  overflow: hidden;
  background: #f4f8fb;
  border: 1px solid rgba(7, 31, 61, 0.12);
  box-shadow: 0 18px 36px rgba(7, 31, 61, 0.1);
}

.gig-inline-image img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.gig-inline-image figcaption {
  padding: 14px 18px;
  color: #46647e;
  font-size: 14px;
  font-weight: 800;
  background: #ffffff;
}

/* Product mention cards */
.gig-product-mention {
  margin: 18px 0;
  padding: 22px 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(7, 31, 61, 0.12);
  box-shadow: 0 12px 28px rgba(7, 31, 61, 0.07);
}

.gig-product-mention h3 {
  margin-top: 0;
  color: #062344;
  font-size: 22px;
}

.gig-product-mention p {
  font-size: 16.5px;
  line-height: 1.75;
}

.gig-product-mention a {
  display: inline-flex;
  color: #007f73;
  font-weight: 950;
  text-decoration: none;
}

.gig-product-mention a:hover {
  text-decoration: underline;
}

/* Score grid at bottom */
.gig-score-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.gig-score-grid div {
  padding: 18px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(0, 191, 174, 0.1), rgba(255,255,255,0.96)),
    #ffffff;
  border: 1px solid rgba(0, 128, 115, 0.18);
  box-shadow: 0 10px 24px rgba(7, 31, 61, 0.06);
}

.gig-score-grid span {
  display: block;
  color: #46647e;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
}

.gig-score-grid strong {
  display: block;
  color: #071f3d;
  font-size: 24px;
  font-weight: 950;
}

/* Make article links feel intentional */
.gig-article-section a {
  color: #007f73;
  font-weight: 900;
}

/* Improve spacing below hero/stats */
.gig-quick-stats {
  margin-bottom: 34px;
}

/* Mobile cleanup */
@media (max-width: 900px) {
  .gig-section-heading {
    align-items: flex-start;
  }

  .gig-section-heading h2 {
    font-size: 34px;
  }

  .gig-article-section p {
    font-size: 16.5px;
    line-height: 1.75;
  }

  .gig-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gig-callout,
  .gig-related-guide,
  .gig-related-tool,
  .gig-next-step-box {
    padding: 20px 20px 20px 68px;
  }
}

@media (max-width: 520px) {
  .gig-section-heading h2 {
    font-size: 28px;
  }

  .gig-section-heading span {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .gig-score-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Gig Page Refinement
   Softer quote blocks and cleaner stat/table alignment
   ========================================================= */

/* Make the icon row feel connected and evenly spaced */
.gig-hero-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 26px 0 0;
  border: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.gig-hero-icons div {
  min-height: 92px;
  padding: 16px 12px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 950;
  color: var(--ink);
}

.gig-hero-icons div:last-child {
  border-right: 0;
}

.gig-hero-icons span {
  display: block;
  font-size: 30px;
  margin-bottom: 7px;
}

/* Turn the quick stats into a cleaner table-like section */
.gig-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: var(--shadow-soft);
  margin-top: 0;
  margin-bottom: 36px;
}

.gig-quick-stats div {
  min-height: 96px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff, #f7fbfd);
}

.gig-quick-stats div:last-child {
  border-right: 0;
}

.gig-quick-stats span {
  display: block;
  color: var(--teal);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.gig-quick-stats strong {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.25;
}

/* Softer quote panel instead of giant solid navy block */
.quote-panel {
  position: relative;
  background:
    linear-gradient(135deg, rgba(0, 140, 122, 0.12), rgba(255, 255, 255, 0.96)),
    #ffffff;
  color: var(--ink);
  border: 1px solid rgba(0, 140, 122, 0.22);
  border-left: 7px solid var(--teal);
  border-radius: 18px;
  padding: 28px 32px 28px 74px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.45;
  box-shadow: var(--shadow-soft);
  margin: 24px 0;
}

.quote-panel::before {
  content: "“";
  position: absolute;
  left: 26px;
  top: 12px;
  color: var(--teal);
  font-size: 76px;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  opacity: 0.85;
}

/* Optional darker quote variation if we ever want one later */
.quote-panel.dark-quote {
  background:
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #ffffff;
  border-left-color: var(--teal-2);
}

.quote-panel.dark-quote::before {
  color: var(--teal-2);
}

/* Keep table/card content clean on smaller screens */
@media (max-width: 900px) {
  .gig-hero-icons,
  .gig-quick-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gig-hero-icons div:nth-child(2),
  .gig-quick-stats div:nth-child(2) {
    border-right: 0;
  }

  .gig-hero-icons {
    border-radius: 16px 16px 0 0;
  }

  .quote-panel {
    font-size: 23px;
    padding: 24px 24px 24px 64px;
  }
}

@media (max-width: 560px) {
  .gig-hero-icons,
  .gig-quick-stats {
    grid-template-columns: 1fr;
  }

  .gig-hero-icons div,
  .gig-quick-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gig-hero-icons div:last-child,
  .gig-quick-stats div:last-child {
    border-bottom: 0;
  }

  .quote-panel {
    font-size: 21px;
    padding: 22px 20px 22px 58px;
  }

  .quote-panel::before {
    left: 20px;
    font-size: 58px;
  }
}
/* =========================================================
   Final Gig Hero Stats Fix
   Combines icons + stat values into one connected table
   ========================================================= */

/* Hide the disconnected icon row */
.gig-hero-icons {
  display: none !important;
}

/* Turn the quick stats into one connected 4-column table */
.gig-quick-stats {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0 !important;
  overflow: hidden;
  background: #ffffff !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  box-shadow: var(--shadow-soft) !important;
  margin: 28px 0 38px !important;
}

/* Each stat cell now has icon + label + value */
.gig-quick-stats div {
  position: relative;
  min-height: 132px !important;
  padding: 22px 22px 22px 82px !important;
  border-right: 1px solid var(--line) !important;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.gig-quick-stats div:last-child {
  border-right: 0 !important;
}

/* Icon circles */
.gig-quick-stats div::before {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: var(--soft-teal);
  color: var(--teal);
  box-shadow: 0 8px 18px rgba(6, 27, 51, 0.08);
}

/* Specific icons for each stat */
.gig-quick-stats div:nth-child(1)::before {
  content: "💵";
}

.gig-quick-stats div:nth-child(2)::before {
  content: "⏰";
}

.gig-quick-stats div:nth-child(3)::before {
  content: "📈";
}

.gig-quick-stats div:nth-child(4)::before {
  content: "⚓";
}

/* Labels */
.gig-quick-stats span {
  display: block !important;
  color: var(--teal) !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  font-weight: 950 !important;
  letter-spacing: 0.04em !important;
  margin: 0 0 8px !important;
}

/* Values */
.gig-quick-stats strong {
  display: block !important;
  color: var(--navy) !important;
  font-size: 22px !important;
  line-height: 1.22 !important;
  font-weight: 950 !important;
}

/* Better hover feel */
.gig-quick-stats div:hover {
  background:
    linear-gradient(180deg, #ffffff 0%, #effaf8 100%) !important;
}

/* Responsive */
@media (max-width: 1000px) {
  .gig-quick-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .gig-quick-stats div:nth-child(2) {
    border-right: 0 !important;
  }

  .gig-quick-stats div:nth-child(1),
  .gig-quick-stats div:nth-child(2) {
    border-bottom: 1px solid var(--line) !important;
  }
}

@media (max-width: 560px) {
  .gig-quick-stats {
    grid-template-columns: 1fr !important;
  }

  .gig-quick-stats div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .gig-quick-stats div:last-child {
    border-bottom: 0 !important;
  }
}
/* =========================================================
   Map Style Header and Homepage Hero
   ========================================================= */

.new-map-header {
  background: #061b33;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.header-map-shell {
  max-width: 1620px;
  margin: 0 auto;
}

.header-map-top {
  display: grid;
  grid-template-columns: 360px minmax(360px, 1fr) auto auto auto auto;
  gap: 22px;
  align-items: center;
  padding: 18px 42px;
  min-height: 122px;
}

.map-logo-link {
  display: flex;
  align-items: center;
  width: 360px;
}

.map-logo-img {
  width: 330px;
  height: auto;
  display: block;
  object-fit: contain;
}

.map-header-search {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid rgba(219, 230, 239, 0.9);
  border-radius: 14px;
  padding: 0 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.map-header-search span {
  color: #233d59;
  font-size: 30px;
  font-weight: 900;
}

.map-header-search input {
  border: 0;
  outline: 0;
  width: 100%;
  color: var(--ink);
  font-size: 19px;
}

.map-header-search input::placeholder {
  color: #6f7f91;
}

.map-filter-btn,
.map-submit-btn,
.map-account-btn {
  height: 64px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  white-space: nowrap;
}

.map-filter-btn {
  padding: 0 28px;
  background: #092849;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 17px;
  cursor: pointer;
}

.map-submit-btn {
  padding: 0 34px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  font-size: 18px;
  box-shadow: 0 10px 28px rgba(0, 140, 122, 0.22);
}

.map-account-btn {
  width: 64px;
  background: #092849;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 32px;
  cursor: pointer;
}

.header-map-nav-row {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(3, 21, 40, 0.35);
}

.map-main-nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  padding: 0 42px;
}

.map-main-nav > a,
.map-main-nav .nav-dropdown > button {
  position: relative;
  min-height: 92px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #ffffff;
  background: transparent;
  border: 0;
  font-size: 21px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}

.map-main-nav > a:hover,
.map-main-nav .nav-dropdown > button:hover {
  color: #b8fff2;
}

.map-main-nav .nav-icon {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.map-main-nav small {
  font-size: 16px;
  opacity: 0.85;
}

.map-main-nav .nav-dropdown:first-child > button::after {
  content: "";
  position: absolute;
  left: 72px;
  right: 72px;
  bottom: 8px;
  height: 4px;
  border-radius: 999px;
  background: var(--teal-2);
}

.map-main-nav .dropdown-panel {
  top: 76px;
}

/* Hide old header pieces from previous layout */
.header-inner,
.header-inner-stacked,
.header-top-row,
.header-bottom-row {
  max-width: none;
}

/* Map hero */
.map-home-hero {
  position: relative;
  min-height: 625px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 249, 238, 0.98) 0%, rgba(255, 249, 238, 0.92) 46%, rgba(255, 249, 238, 0.4) 100%),
    #f7ead1;
  border-bottom: 1px solid rgba(6, 27, 51, 0.12);
}

.map-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(216, 155, 43, 0.12), transparent 26%),
    radial-gradient(circle at 82% 52%, rgba(0, 140, 122, 0.10), transparent 30%);
  pointer-events: none;
}

.map-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1620px;
  min-height: 625px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 30px;
  padding: 64px 52px;
}

.map-hero-copy {
  max-width: 780px;
}

.map-hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 5.4vw, 104px);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.map-hero-copy h1 span {
  color: var(--teal);
}

.map-hero-divider {
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: center;
  gap: 18px;
  width: 560px;
  max-width: 100%;
  margin: 34px 0 26px;
}

.map-hero-divider span {
  height: 2px;
  background: rgba(0, 140, 122, 0.45);
}

.map-hero-divider strong {
  color: var(--teal);
  font-size: 28px;
  text-align: center;
}

.map-hero-copy p {
  max-width: 710px;
  margin: 0;
  color: #263d55;
  font-size: 23px;
  line-height: 1.55;
  font-weight: 650;
}

.map-hero-actions {
  display: flex;
  gap: 24px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.map-hero-primary,
.map-hero-secondary {
  min-width: 245px;
  height: 70px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 22px;
  font-weight: 950;
}

.map-hero-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  box-shadow: 0 12px 30px rgba(0, 140, 122, 0.2);
}

.map-hero-secondary {
  color: #0b4c64;
  background: rgba(255, 255, 255, 0.72);
  border: 2px solid rgba(0, 140, 122, 0.45);
}

.map-hero-trust {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 32px;
}

.map-hero-trust span {
  width: 42px;
  height: 42px;
  border: 2px solid var(--teal);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 22px;
}

.map-hero-trust p {
  font-size: 19px;
  color: #263d55;
  font-weight: 700;
}

.map-hero-art {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-hero-art img {
  width: 100%;
  height: 100%;
  max-height: 570px;
  object-fit: contain;
}

/* Header + hero responsive */
@media (max-width: 1300px) {
  .header-map-top {
    grid-template-columns: 285px minmax(280px, 1fr) auto auto auto;
    gap: 14px;
  }

  .map-logo-link {
    width: 285px;
  }

  .map-logo-img {
    width: 270px;
  }

  .map-account-btn {
    display: none;
  }

  .map-main-nav {
    gap: 32px;
  }

  .map-main-nav > a,
  .map-main-nav .nav-dropdown > button {
    font-size: 18px;
  }
}

@media (max-width: 980px) {
  .header-map-top {
    grid-template-columns: 240px 1fr auto;
    padding: 14px 20px;
  }

  .map-logo-link {
    width: 240px;
  }

  .map-logo-img {
    width: 225px;
  }

  .map-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .map-filter-btn,
  .map-submit-btn,
  .map-account-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    justify-self: end;
  }

  .header-map-nav-row {
    padding: 0 20px 14px;
  }

  .map-main-nav {
    display: none;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(3, 21, 40, 0.95);
  }

  .map-main-nav.open {
    display: flex;
  }

  .map-main-nav > a,
  .map-main-nav .nav-dropdown > button {
    min-height: auto;
    width: 100%;
    justify-content: flex-start;
    padding: 13px 14px;
    font-size: 16px;
  }

  .map-main-nav .nav-dropdown:first-child > button::after {
    display: none;
  }

  .map-main-nav .dropdown-panel {
    position: static;
    display: none;
    width: 100%;
    margin-top: 4px;
  }

  .map-main-nav .nav-dropdown:hover .dropdown-panel,
  .map-main-nav .nav-dropdown:focus-within .dropdown-panel {
    display: grid;
  }

  .map-hero-content {
    grid-template-columns: 1fr;
    padding: 44px 28px;
  }

  .map-hero-art {
    min-height: 310px;
  }
}

@media (max-width: 620px) {
  .header-map-top {
    grid-template-columns: 1fr auto;
  }

  .map-logo-link {
    width: 210px;
  }

  .map-logo-img {
    width: 200px;
  }

  .map-header-search {
    height: 56px;
  }

  .map-hero-copy h1 {
    font-size: 48px;
  }

  .map-hero-copy p {
    font-size: 18px;
  }

  .map-hero-primary,
  .map-hero-secondary {
    width: 100%;
    min-width: 0;
  }
}
.submit-contact-line {
  margin-top: 8px !important;
  font-size: 14px !important;
}

.submit-contact-line a {
  color: var(--teal);
  font-weight: 950;
}
/* =========================================================
   Homepage Main Hero Background Image
   ========================================================= */

.main-image-hero {
  position: relative;
  min-height: 625px;
  overflow: hidden;
  background: #f7ead1;
}

.map-hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.map-hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(255, 249, 238, 0.96) 0%,
      rgba(255, 249, 238, 0.88) 35%,
      rgba(255, 249, 238, 0.55) 58%,
      rgba(255, 249, 238, 0.12) 100%
    );
  pointer-events: none;
}

.main-image-hero .map-hero-content {
  position: relative;
  z-index: 3;
  grid-template-columns: 1fr;
}

.main-image-hero .map-hero-copy {
  max-width: 780px;
}
/* =========================================================
   Homepage Hero Size Fix
   Makes main.png smaller and improves page flow
   ========================================================= */

.main-image-hero {
  min-height: 430px !important;
  height: 430px !important;
  overflow: hidden !important;
  background: #f7ead1 !important;
}

.map-hero-bg-image {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
}

.map-hero-bg-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center right !important;
}

/* Softer overlay so the text area is readable without hiding the image */
.main-image-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(255, 249, 238, 0.98) 0%,
      rgba(255, 249, 238, 0.94) 34%,
      rgba(255, 249, 238, 0.58) 58%,
      rgba(255, 249, 238, 0.10) 100%
    ) !important;
  pointer-events: none;
}

.main-image-hero .map-hero-content {
  min-height: 430px !important;
  height: 430px !important;
  padding: 44px 52px !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  z-index: 3 !important;
}

.main-image-hero .map-hero-copy {
  max-width: 650px !important;
}

.main-image-hero .map-hero-copy h1 {
  font-size: clamp(46px, 4vw, 68px) !important;
  line-height: 1.02 !important;
  margin: 0 !important;
}

.main-image-hero .map-hero-divider {
  margin: 22px 0 18px !important;
  width: 440px !important;
}

.main-image-hero .map-hero-copy > p:not(.eyebrow),
.main-image-hero .map-hero-trust p {
  font-size: 18px !important;
  line-height: 1.55 !important;
}

.main-image-hero .map-hero-actions {
  margin-top: 24px !important;
  gap: 16px !important;
}

.main-image-hero .map-hero-primary,
.main-image-hero .map-hero-secondary {
  min-width: 190px !important;
  height: 54px !important;
  font-size: 17px !important;
  border-radius: 12px !important;
}

.main-image-hero .map-hero-trust {
  margin-top: 20px !important;
}

.main-image-hero .map-hero-trust span {
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
  font-size: 17px !important;
}

/* Pull featured card up less aggressively now that hero is shorter */
.featured-home-wrap {
  margin-top: 26px !important;
}

/* Mobile hero cleanup */
@media (max-width: 900px) {
  .main-image-hero {
    height: auto !important;
    min-height: 460px !important;
  }

  .main-image-hero .map-hero-content {
    height: auto !important;
    min-height: 460px !important;
    padding: 38px 26px !important;
  }

  .main-image-hero .map-hero-bg-image img {
    object-position: center right !important;
  }

  .main-image-hero::after {
    background:
      linear-gradient(
        90deg,
        rgba(255, 249, 238, 0.98) 0%,
        rgba(255, 249, 238, 0.92) 62%,
        rgba(255, 249, 238, 0.38) 100%
      ) !important;
  }

  .main-image-hero .map-hero-copy h1 {
    font-size: 44px !important;
  }
}

@media (max-width: 560px) {
  .main-image-hero .map-hero-copy h1 {
    font-size: 38px !important;
  }

  .main-image-hero .map-hero-actions {
    flex-direction: column !important;
  }

  .main-image-hero .map-hero-primary,
  .main-image-hero .map-hero-secondary {
    width: 100% !important;
  }
}
/* =========================================================
   Hero Text Cutoff Fix
   Adds breathing room so headline does not clip
   ========================================================= */

.main-image-hero {
  height: auto !important;
  min-height: 500px !important;
  overflow: hidden !important;
}

.main-image-hero .map-hero-content {
  height: auto !important;
  min-height: 500px !important;
  padding: 76px 52px 54px !important;
  align-items: center !important;
}

.main-image-hero .map-hero-copy {
  padding-top: 10px !important;
}

.main-image-hero .map-hero-copy h1 {
  font-size: clamp(42px, 4.1vw, 64px) !important;
  line-height: 1.08 !important;
  margin: 0 !important;
  padding-top: 4px !important;
}

.main-image-hero .eyebrow {
  margin-bottom: 10px !important;
}

.main-image-hero .map-hero-divider {
  margin: 20px 0 18px !important;
}

@media (max-width: 900px) {
  .main-image-hero {
    min-height: 540px !important;
  }

  .main-image-hero .map-hero-content {
    min-height: 540px !important;
    padding: 72px 26px 44px !important;
  }

  .main-image-hero .map-hero-copy h1 {
    font-size: 42px !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 560px) {
  .main-image-hero {
    min-height: 560px !important;
  }

  .main-image-hero .map-hero-content {
    min-height: 560px !important;
    padding: 62px 22px 40px !important;
  }

  .main-image-hero .map-hero-copy h1 {
    font-size: 36px !important;
  }
}
/* =========================================================
   Compact Header / Menu Final Polish
   ========================================================= */

.new-map-header {
  min-height: auto !important;
}

.header-map-shell {
  max-width: 1580px !important;
}

.header-map-top {
  grid-template-columns: 330px minmax(340px, 1fr) auto auto auto !important;
  gap: 16px !important;
  padding: 12px 34px 10px !important;
  min-height: 92px !important;
  align-items: center !important;
}

.map-logo-link {
  width: 330px !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.map-logo-img {
  width: 300px !important;
  max-height: 70px !important;
  object-fit: contain !important;
}

/* Hide broken alt text if image path is temporarily wrong */
.map-logo-img:not([src]),
.map-logo-img[src=""] {
  display: none !important;
}

.map-header-search {
  height: 54px !important;
  border-radius: 12px !important;
  padding: 0 18px !important;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.11) !important;
}

.map-header-search span {
  font-size: 24px !important;
}

.map-header-search input {
  font-size: 16px !important;
}

.map-filter-btn,
.map-submit-btn {
  height: 54px !important;
  border-radius: 12px !important;
  font-size: 15px !important;
  padding: 0 22px !important;
}

/* Make sure old account button is gone */
.map-account-btn,
.account-btn {
  display: none !important;
}

/* Cleaner, shorter nav row */
.header-map-nav-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(3, 21, 40, 0.36) !important;
}

.map-main-nav {
  min-height: 66px !important;
  height: 66px !important;
  gap: 34px !important;
  padding: 0 34px !important;
  justify-content: center !important;
  align-items: center !important;
}

.map-main-nav > a,
.map-main-nav .nav-dropdown > button {
  min-height: 66px !important;
  height: 66px !important;
  font-size: 17px !important;
  gap: 9px !important;
  padding: 0 !important;
  align-items: center !important;
}

.map-main-nav .nav-icon {
  width: 28px !important;
  height: 28px !important;
  font-size: 14px !important;
  border-width: 1.6px !important;
}

.map-main-nav small {
  font-size: 13px !important;
}

.map-main-nav .nav-dropdown:first-child > button::after {
  left: 48px !important;
  right: 48px !important;
  bottom: 5px !important;
  height: 3px !important;
}

.map-main-nav .dropdown-panel {
  top: 58px !important;
}

/* If the logo still fails, this keeps the header from stretching */
.header-map-top img {
  display: block;
}

/* Hero image/text spacing after smaller header */
.main-image-hero {
  min-height: 460px !important;
}

.main-image-hero .map-hero-content {
  min-height: 460px !important;
  padding: 58px 52px 48px !important;
}

.main-image-hero .map-hero-copy h1 {
  font-size: clamp(40px, 3.8vw, 60px) !important;
  line-height: 1.08 !important;
}

.main-image-hero .map-hero-divider {
  margin: 18px 0 16px !important;
}

.main-image-hero .map-hero-copy > p:not(.eyebrow),
.main-image-hero .map-hero-trust p {
  font-size: 17px !important;
}

/* Responsive header cleanup */
@media (max-width: 1250px) {
  .header-map-top {
    grid-template-columns: 275px minmax(260px, 1fr) auto auto !important;
    padding: 12px 24px 10px !important;
  }

  .map-logo-link {
    width: 275px !important;
  }

  .map-logo-img {
    width: 255px !important;
    max-height: 62px !important;
  }

  .map-main-nav {
    gap: 22px !important;
  }

  .map-main-nav > a,
  .map-main-nav .nav-dropdown > button {
    font-size: 15px !important;
  }

  .map-main-nav .nav-icon {
    width: 25px !important;
    height: 25px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 980px) {
  .header-map-top {
    grid-template-columns: 230px 1fr auto !important;
    gap: 12px !important;
  }

  .map-logo-link {
    width: 230px !important;
  }

  .map-logo-img {
    width: 215px !important;
  }

  .map-header-search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  .map-filter-btn,
  .map-submit-btn {
    display: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    justify-self: end !important;
  }

  .header-map-nav-row {
    padding: 0 20px 12px !important;
  }

  .map-main-nav {
    display: none !important;
    height: auto !important;
    min-height: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 12px !important;
  }

  .map-main-nav.open {
    display: flex !important;
  }

  .map-main-nav > a,
  .map-main-nav .nav-dropdown > button {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    justify-content: flex-start !important;
    padding: 0 12px !important;
  }

  .map-main-nav .nav-dropdown:first-child > button::after {
    display: none !important;
  }

  .map-main-nav .dropdown-panel {
    position: static !important;
    width: 100% !important;
    margin-top: 4px !important;
  }
}
/* =========================================================
   Full Logo Band Header
   Logo gets its own row and menu stays organized
   ========================================================= */

.logo-band-header {
  background: #061b33 !important;
  color: #ffffff !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18) !important;
}

.logo-band-shell {
  max-width: 1580px;
  margin: 0 auto;
}

.logo-band-top {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px 6px;
}

.logo-band-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(680px, 92vw);
}

.logo-band-img {
  width: min(640px, 92vw);
  max-height: 96px;
  object-fit: contain;
  display: block;
}

.logo-band-actions {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 8px 34px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.logo-band-search {
  height: 54px;
  max-width: 850px;
  justify-self: center;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #ffffff;
  border: 1px solid rgba(219, 230, 239, 0.9);
  border-radius: 13px;
  padding: 0 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.logo-band-search span {
  color: #233d59;
  font-size: 24px;
  font-weight: 900;
}

.logo-band-search input {
  border: 0;
  outline: 0;
  width: 100%;
  color: var(--ink);
  font-size: 16px;
}

.logo-band-filter-btn,
.logo-band-submit-btn {
  height: 54px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  white-space: nowrap;
}

.logo-band-filter-btn {
  padding: 0 24px;
  background: #092849;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.logo-band-submit-btn {
  padding: 0 28px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  box-shadow: 0 10px 24px rgba(0, 140, 122, 0.22);
}

.logo-band-nav-row {
  background: rgba(3, 21, 40, 0.34);
}

.logo-band-nav {
  min-height: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 34px;
}

.logo-band-nav > a,
.logo-band-nav .nav-dropdown > button {
  min-height: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffffff;
  background: transparent;
  border: 0;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
}

.logo-band-nav > a:hover,
.logo-band-nav .nav-dropdown > button:hover {
  color: #b8fff2;
}

.logo-band-nav .nav-icon {
  width: 27px;
  height: 27px;
  border: 1.6px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 13px;
  line-height: 1;
}

.logo-band-nav small {
  font-size: 12px;
  opacity: 0.85;
}

.logo-band-nav .nav-dropdown:first-child > button::after {
  content: "";
  position: absolute;
  left: 45px;
  right: 45px;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: var(--teal-2);
}

.logo-band-nav .nav-dropdown {
  position: relative;
}

.logo-band-nav .dropdown-panel {
  top: 56px;
}


/* Footer logo sizing */
.footer-logo-img {
  width: 260px !important;
  max-height: 88px !important;
  object-fit: contain !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .logo-band-actions {
    grid-template-columns: 1fr auto auto;
  }

  .logo-band-nav {
    gap: 20px;
  }

  .logo-band-nav > a,
  .logo-band-nav .nav-dropdown > button {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .logo-band-top {
    min-height: 92px;
  }

  .logo-band-img {
    width: min(500px, 92vw);
    max-height: 78px;
  }

  .logo-band-actions {
    grid-template-columns: 1fr auto;
    padding: 8px 20px 14px;
  }

  .logo-band-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }

  .logo-band-filter-btn,
  .logo-band-submit-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    justify-self: end;
  }

  .logo-band-nav-row {
    padding: 0 20px 12px;
  }

  .logo-band-nav {
    display: none;
    height: auto;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(3, 21, 40, 0.95);
  }

  .logo-band-nav.open {
    display: flex;
  }

  .logo-band-nav > a,
  .logo-band-nav .nav-dropdown > button {
    width: 100%;
    min-height: 44px;
    height: 44px;
    justify-content: flex-start;
    padding: 0 12px;
  }

  .logo-band-nav .nav-dropdown:first-child > button::after {
    display: none;
  }

  .logo-band-nav .dropdown-panel {
    position: static;
    width: 100%;
    margin-top: 4px;
  }
}

@media (max-width: 560px) {
  .logo-band-img {
    width: min(390px, 94vw);
    max-height: 66px;
  }

  .logo-band-top {
    min-height: 78px;
  }
}
/* =========================================================
   Compact Header With Large Left Logo
   Logo left, search/menu right
   ========================================================= */

.compact-logo-header {
  background: #061b33 !important;
  color: #ffffff !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18) !important;
}

.compact-header-shell {
  max-width: 1580px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 14px 34px 12px;
}

.compact-logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.compact-logo-img {
  width: 410px;
  max-height: 148px;
  object-fit: contain;
  display: block;
}

.compact-header-right {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 12px;
}

.compact-header-actions {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
}

.compact-header-search {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: #ffffff;
  border: 1px solid rgba(219, 230, 239, 0.9);
  border-radius: 13px;
  padding: 0 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.compact-header-search span {
  color: #233d59;
  font-size: 23px;
  font-weight: 900;
}

.compact-header-search input {
  border: 0;
  outline: 0;
  width: 100%;
  color: var(--ink);
  font-size: 16px;
}

.compact-filter-btn,
.compact-submit-btn {
  height: 52px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  white-space: nowrap;
}

.compact-filter-btn {
  padding: 0 22px;
  background: #092849;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.compact-submit-btn {
  padding: 0 28px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  box-shadow: 0 10px 24px rgba(0, 140, 122, 0.22);
}

.compact-main-nav {
  min-height: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.compact-main-nav > a,
.compact-main-nav .nav-dropdown > button {
  position: relative;
  min-height: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
}

.compact-main-nav > a:hover,
.compact-main-nav .nav-dropdown > button:hover {
  color: #b8fff2;
}

.compact-main-nav .nav-icon {
  width: 25px;
  height: 25px;
  border: 1.5px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
}

.compact-main-nav small {
  font-size: 12px;
  opacity: 0.85;
}

.compact-main-nav .nav-dropdown:first-child > button::after {
  content: "";
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--teal-2);
}

.compact-main-nav .nav-dropdown {
  position: relative;
}

.compact-main-nav .dropdown-panel {
  top: 54px;
}

/* Hide old header layout classes from affecting the new one */
.logo-band-header .compact-header-shell,
.new-map-header .compact-header-shell {
  max-width: 1580px;
}

/* Footer logo */
.footer-logo-img {
  width: 260px !important;
  max-height: 88px !important;
  object-fit: contain !important;
}

/* Responsive */
@media (max-width: 1250px) {
  .compact-header-shell {
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 20px;
    padding: 12px 24px;
  }

  .compact-logo-img {
    width: 325px;
    max-height: 120px;
  }

  .compact-main-nav {
    gap: 18px;
  }

  .compact-main-nav > a,
  .compact-main-nav .nav-dropdown > button {
    font-size: 13px;
  }

  .compact-main-nav .nav-icon {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
}

@media (max-width: 980px) {
  .compact-header-shell {
    grid-template-columns: 1fr auto;
  }

  .compact-logo-img {
    width: min(390px, 80vw);
    max-height: 96px;
  }

  .compact-header-right {
    grid-column: 1 / -1;
  }

  .compact-header-actions {
    grid-template-columns: 1fr auto;
  }

  .compact-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .compact-filter-btn,
  .compact-submit-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    justify-self: end;
  }

  .compact-main-nav {
    display: none;
    height: auto;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(3, 21, 40, 0.95);
  }

  .compact-main-nav.open {
    display: flex;
  }

  .compact-main-nav > a,
  .compact-main-nav .nav-dropdown > button {
    width: 100%;
    min-height: 44px;
    height: 44px;
    justify-content: flex-start;
    padding: 0 12px;
  }

  .compact-main-nav .nav-dropdown:first-child > button::after {
    display: none;
  }

  .compact-main-nav .dropdown-panel {
    position: static;
    width: 100%;
    margin-top: 4px;
  }
}
/* =========================================================
   Gig Page Wide Layout
   Push sidebars toward page edges and maximize article width
   ========================================================= */

.gig-page-shell,
.gig-detail-shell,
.gig-layout,
.gig-content-layout {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding-left: clamp(12px, 1.4vw, 28px) !important;
  padding-right: clamp(12px, 1.4vw, 28px) !important;
}

/* Main three-column gig guide layout */
.gig-guide-layout,
.gig-article-layout,
.gig-main-grid,
.gig-page-grid {
  width: 100% !important;
  max-width: none !important;
  display: grid !important;
  grid-template-columns: minmax(215px, 260px) minmax(0, 1fr) minmax(250px, 315px) !important;
  gap: clamp(16px, 1.6vw, 26px) !important;
  align-items: start !important;
  margin: 0 auto !important;
}

/* Left sidebar */
.gig-left-sidebar,
.gig-toc-card,
.toc-card,
.gig-guide-nav {
  position: sticky !important;
  top: 176px !important;
  align-self: start !important;
  width: 100% !important;
  max-width: 260px !important;
}

/* Right sidebar */
.gig-right-sidebar,
.gig-side-panel,
.gig-attributes-sidebar,
.gig-sidebar-right {
  position: sticky !important;
  top: 176px !important;
  align-self: start !important;
  width: 100% !important;
  max-width: 315px !important;
}

/* Center article should get maximum available space */
.gig-main-article,
.gig-article-main,
.gig-center-column,
.gig-article-column {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

/* Make the article itself breathe */
#gigArticleContent {
  width: 100% !important;
  max-width: none !important;
}

/* Left sidebar title block */
.gig-sidebar-title-block {
  margin-bottom: 16px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(0, 191, 174, 0.13), rgba(255, 255, 255, 0.96)),
    #ffffff;
  border: 1px solid rgba(0, 140, 122, 0.2);
  box-shadow: 0 10px 24px rgba(7, 31, 61, 0.07);
}

.gig-sidebar-title-block span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gig-sidebar-title-block h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.15;
  font-family: Georgia, "Times New Roman", serif;
}

/* Anchor link list cleanup */
.gig-toc-links,
#gigTocLinks,
#gigToc {
  display: grid;
  gap: 8px;
}

.gig-toc-links a,
#gigTocLinks a,
#gigToc a,
.gig-guide-nav a,
.toc-card a {
  display: grid !important;
  grid-template-columns: 28px 1fr !important;
  gap: 9px !important;
  align-items: start !important;
  padding: 10px 10px !important;
  border-radius: 12px !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
}

.gig-toc-links a:hover,
#gigTocLinks a:hover,
#gigToc a:hover,
.gig-guide-nav a:hover,
.toc-card a:hover {
  background: rgba(0, 191, 174, 0.09) !important;
  color: var(--teal) !important;
}

.gig-toc-links a span,
#gigTocLinks a span,
#gigToc a span,
.gig-guide-nav a span,
.toc-card a span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--teal);
  color: #ffffff;
  font-size: 11px;
  font-weight: 950;
}

/* Right sidebar rating polish */
.gig-rating-row {
  margin-bottom: 15px;
}

.rating-label-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.rating-label-line strong {
  color: var(--navy);
  font-weight: 950;
}

.rating-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #e7edf2;
}

.rating-track div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--green));
}

/* Optional side summary card */
.gig-side-summary-card {
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}

.gig-side-summary-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 22px;
  font-family: Georgia, "Times New Roman", serif;
}

.gig-side-summary-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.side-summary-list {
  display: grid;
  gap: 10px;
}

.side-summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.side-summary-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.side-summary-list strong {
  color: var(--navy);
  font-size: 13px;
  text-align: right;
}

/* Keep the hero content aligned with the wider body */
.gig-hero-wrap,
.gig-detail-hero,
.gig-page-hero {
  max-width: none !important;
  padding-left: clamp(12px, 1.4vw, 28px) !important;
  padding-right: clamp(12px, 1.4vw, 28px) !important;
}

/* Medium screens: keep sidebars but make them thinner */
@media (max-width: 1250px) {
  .gig-guide-layout,
  .gig-article-layout,
  .gig-main-grid,
  .gig-page-grid {
    grid-template-columns: 220px minmax(0, 1fr) 270px !important;
    gap: 18px !important;
  }

  .gig-left-sidebar,
  .gig-toc-card,
  .toc-card,
  .gig-guide-nav {
    max-width: 220px !important;
  }

  .gig-right-sidebar,
  .gig-side-panel,
  .gig-attributes-sidebar,
  .gig-sidebar-right {
    max-width: 270px !important;
  }
}

/* Tablet and mobile: stack cleanly */
@media (max-width: 980px) {
  .gig-guide-layout,
  .gig-article-layout,
  .gig-main-grid,
  .gig-page-grid {
    grid-template-columns: 1fr !important;
  }

  .gig-left-sidebar,
  .gig-toc-card,
  .toc-card,
  .gig-guide-nav,
  .gig-right-sidebar,
  .gig-side-panel,
  .gig-attributes-sidebar,
  .gig-sidebar-right {
    position: static !important;
    max-width: none !important;
  }

  .gig-left-sidebar,
  .gig-toc-card,
  .toc-card,
  .gig-guide-nav {
    order: 1;
  }

  .gig-main-article,
  .gig-article-main,
  .gig-center-column,
  .gig-article-column {
    order: 2;
  }

  .gig-right-sidebar,
  .gig-side-panel,
  .gig-attributes-sidebar,
  .gig-sidebar-right {
    order: 3;
  }
}

/* Affiliate Supply Cards */

.affiliate-supplies-section {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.affiliate-supplies-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.affiliate-supplies-section p {
  margin: 0 0 1.25rem;
  color: #475569;
}

.affiliate-supplies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.affiliate-supply-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.affiliate-supply-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.affiliate-supply-card p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.affiliate-supply-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  background: #123c69;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.affiliate-supply-button:hover {
  background: #0b2745;
  color: #ffffff;
}
/* =========================================================
   Homepage Three Column Redesign
   Keeps existing homepage and adds useful sidebars
   ========================================================= */

.homepage-three-column {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 26px clamp(14px, 2vw, 34px) 0;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr) 245px;
  gap: 24px;
  align-items: start;
}

.home-center-column {
  min-width: 0;
}

.homepage-three-column .main-image-hero,
.homepage-three-column .featured-home-wrap,
.homepage-three-column .home-section,
.homepage-three-column .submit-strip {
  max-width: none !important;
  width: 100% !important;
}

.homepage-three-column .main-image-hero {
  border-radius: 24px;
  overflow: hidden;
  min-height: 430px !important;
}

.homepage-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 190px;
}

.home-sidebar-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.home-sidebar-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.home-sidebar-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.home-sidebar-card a {
  color: var(--teal);
  font-weight: 950;
}

.home-stat-list {
  display: grid;
  gap: 12px;
}

.home-stat-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.home-stat-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.home-stat-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.home-stat-list strong {
  color: var(--teal);
  font-size: 15px;
}

.home-random-gig,
.home-latest-guide,
.home-recent-list,
.home-popular-list {
  display: grid;
  gap: 10px;
}

.home-small-item {
  padding: 12px;
  border-radius: 14px;
  background: var(--soft);
  border: 1px solid #e5edf4;
}

.home-small-item strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 4px;
}

.home-small-item small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.4;
}

.home-partner-card {
  background:
    linear-gradient(135deg, rgba(0, 140, 122, 0.13), rgba(255,255,255,0.96)),
    #ffffff;
  border-color: rgba(0, 140, 122, 0.22);
}

.home-partner-box {
  padding: 16px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
}

.home-partner-box h4 {
  margin: 0 0 8px;
  font-size: 24px;
  font-family: Georgia, "Times New Roman", serif;
}

.home-partner-box p {
  color: rgba(255,255,255,.78);
}

.home-partner-box a {
  display: inline-flex;
  margin-top: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
}

/* Make center cards fit the narrower center column */
.homepage-three-column .latest-card-row,
.homepage-three-column .learning-row,
.homepage-three-column .tools-row {
  grid-template-columns: repeat(3, 1fr);
}

/* =========================================================
   Pirate Harbor Footer Scene
   ========================================================= */

.pirate-harbor-footer-scene {
  max-width: 1680px;
  margin: 34px auto 0;
  min-height: 210px;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(6,27,51,.18), rgba(6,27,51,.92)),
    url("../img/pirate-harbor-footer.jpg") center / cover no-repeat;
  border: 1px solid rgba(6,27,51,.14);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.pirate-harbor-footer-scene div {
  position: absolute;
  left: 38px;
  bottom: 30px;
  max-width: 560px;
}

.pirate-harbor-footer-scene h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
}

.pirate-harbor-footer-scene p {
  margin: 0;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  font-weight: 700;
}

/* Remove old sailboat footer graphic */
.site-footer::after {
  content: "☠" !important;
  right: 72px;
  bottom: -32px;
  font-size: 170px;
  opacity: 0.08;
}

/* =========================================================
   Responsive Homepage Columns
   ========================================================= */

@media (max-width: 1250px) {
  .homepage-three-column {
    grid-template-columns: 1fr;
  }

  .home-center-column {
    order: 1;
  }

  .home-left-sidebar {
    order: 2;
  }

  .home-right-sidebar {
    order: 3;
  }

  .homepage-sidebar {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .homepage-three-column .latest-card-row,
  .homepage-three-column .learning-row,
  .homepage-three-column .tools-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .homepage-sidebar {
    grid-template-columns: 1fr;
  }

  .homepage-three-column .latest-card-row,
  .homepage-three-column .learning-row,
  .homepage-three-column .tools-row {
    grid-template-columns: 1fr;
  }

  .pirate-harbor-footer-scene {
    min-height: 230px;
    border-radius: 0;
  }

  .pirate-harbor-footer-scene div {
    left: 22px;
    right: 22px;
  }

  .pirate-harbor-footer-scene h2 {
    font-size: 29px;
  }
}
/* =========================================================
   Homepage Width Expansion / Header Edge Alignment
   ========================================================= */

/* Push homepage layout wider and reduce side whitespace */
.homepage-three-column {
  max-width: 1920px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  grid-template-columns: 230px minmax(0, 1fr) 230px !important;
  gap: 18px !important;
}

/* Let the center content breathe more */
.home-center-column {
  width: 100% !important;
}

/* Make hero and center sections feel wider */
.homepage-three-column .main-image-hero,
.homepage-three-column .featured-home-wrap,
.homepage-three-column .home-section,
.homepage-three-column .submit-strip {
  width: 100% !important;
  max-width: none !important;
}

/* Use 4 cards across now that the center column is wider */
.homepage-three-column .latest-card-row,
.homepage-three-column .learning-row,
.homepage-three-column .tools-row {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* Slightly tighten sidebar cards so they do not steal too much space */
.home-sidebar-card {
  padding: 16px !important;
}

.home-sidebar-card h3 {
  font-size: 20px !important;
}

/* =========================================================
   Header Full Width Alignment
   Moves logo farther left and fills top bar
   ========================================================= */

.compact-header-shell {
  max-width: 1920px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  grid-template-columns: 430px minmax(0, 1fr) !important;
  gap: 24px !important;
}

.compact-logo-link {
  justify-content: flex-start !important;
}

.compact-logo-img {
  width: 420px !important;
  max-height: 150px !important;
}

.compact-header-actions {
  grid-template-columns: minmax(520px, 1fr) auto auto auto !important;
  gap: 16px !important;
}

.compact-header-search {
  width: 100% !important;
  height: 56px !important;
}

.compact-main-nav {
  justify-content: space-between !important;
  gap: 18px !important;
}

.compact-main-nav > a,
.compact-main-nav .nav-dropdown > button {
  font-size: 16px !important;
}

/* If your current header is using logo-band classes instead */
.logo-band-shell {
  max-width: 1920px !important;
}

.logo-band-actions {
  padding-left: 16px !important;
  padding-right: 16px !important;
  grid-template-columns: minmax(620px, 1fr) auto auto auto !important;
}

.logo-band-search {
  max-width: none !important;
}

.logo-band-nav {
  justify-content: space-between !important;
  gap: 18px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* If your current header is using map-header classes instead */
.header-map-shell {
  max-width: 1920px !important;
}

.header-map-top {
  padding-left: 16px !important;
  padding-right: 16px !important;
  grid-template-columns: 430px minmax(520px, 1fr) auto auto auto !important;
}

.map-logo-link {
  width: 430px !important;
  justify-content: flex-start !important;
}

.map-logo-img {
  width: 420px !important;
}

.map-main-nav {
  justify-content: space-between !important;
  gap: 18px !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* =========================================================
   Large Screen Fine Tuning
   ========================================================= */

@media (min-width: 1600px) {
  .homepage-three-column {
    grid-template-columns: 250px minmax(0, 1fr) 250px !important;
    gap: 22px !important;
  }

  .homepage-three-column .latest-card-row,
  .homepage-three-column .learning-row,
  .homepage-three-column .tools-row {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

/* =========================================================
   Responsive Cleanup
   ========================================================= */

@media (max-width: 1250px) {
  .homepage-three-column {
    grid-template-columns: 1fr !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .homepage-three-column .latest-card-row,
  .homepage-three-column .learning-row,
  .homepage-three-column .tools-row {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .compact-header-shell,
  .header-map-top,
  .logo-band-actions {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 820px) {
  .homepage-three-column .latest-card-row,
  .homepage-three-column .learning-row,
  .homepage-three-column .tools-row {
    grid-template-columns: 1fr !important;
  }
}
/* =========================================================
   Header: Remove Submit Button + Expand Search
   ========================================================= */

.compact-submit-btn,
.logo-band-submit-btn,
.map-submit-btn,
.submit-btn {
  display: none !important;
}

.compact-header-actions {
  grid-template-columns: minmax(0, 1fr) auto auto !important;
}

.compact-header-search {
  width: 100% !important;
  max-width: none !important;
}

.logo-band-actions,
.header-map-top {
  grid-template-columns: minmax(0, 1fr) auto auto !important;
}

.logo-band-search,
.map-header-search {
  width: 100% !important;
  max-width: none !important;
}

/* =========================================================
   Footer Cleanup
   ========================================================= */

/* Hide the extra pirate harbor blurb above footer */
.pirate-harbor-footer-scene {
  display: none !important;
}

/* Tighten footer height and spacing */
.site-footer {
  padding: 26px 28px 28px !important;
}

.footer-inner {
  gap: 28px !important;
  align-items: start !important;
}

.footer-logo-img {
  width: 215px !important;
  max-height: 72px !important;
}

.footer-brand-block p,
.footer-col p {
  font-size: 13px !important;
  line-height: 1.5 !important;
  margin: 6px 0 !important;
}

.footer-col h4 {
  margin-bottom: 8px !important;
}

.footer-col a {
  margin: 6px 0 !important;
  font-size: 13px !important;
}

.footer-socials {
  margin-top: 10px !important;
}

/* Make skull watermark less distracting */
.site-footer::after {
  font-size: 130px !important;
  opacity: 0.045 !important;
  right: 48px !important;
  bottom: -36px !important;
}


/* =========================================================
   Compact Footer Layout
   Logo Left, Text/Links Right
   ========================================================= */

.footer-inner {
  max-width: 1920px !important;
  display: grid !important;
  grid-template-columns: 300px 1fr !important;
  gap: 34px !important;
  align-items: start !important;
}

.footer-brand-block {
  display: grid !important;
  justify-items: start !important;
}

.footer-logo-img {
  width: 260px !important;
  max-height: 92px !important;
  object-fit: contain !important;
}

.footer-brand-block p,
.footer-socials {
  display: none !important;
}

.footer-inner .footer-col {
  min-width: 0;
}

.footer-inner {
  grid-template-areas:
    "brand links";
}

.footer-brand-block {
  grid-area: brand;
}

.footer-inner .footer-col:nth-child(2),
.footer-inner .footer-col:nth-child(3),
.footer-inner .footer-col:nth-child(4),
.footer-inner .footer-col:nth-child(5) {
  display: block !important;
}

.footer-inner .footer-col:nth-child(2) {
  grid-area: links;
}

.footer-inner .footer-col:nth-child(3),
.footer-inner .footer-col:nth-child(4),
.footer-inner .footer-col:nth-child(5) {
  grid-area: links;
}

/* Turn footer columns into one horizontal row to the right of logo */
.footer-inner {
  grid-template-columns: 300px repeat(4, minmax(130px, 1fr)) !important;
}

.footer-brand-block {
  grid-column: 1;
}

.footer-inner .footer-col:nth-child(2) {
  grid-column: 2;
}

.footer-inner .footer-col:nth-child(3) {
  grid-column: 3;
}

.footer-inner .footer-col:nth-child(4) {
  grid-column: 4;
}

.footer-inner .footer-col:nth-child(5) {
  grid-column: 5;
}

.site-footer {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

.footer-col h4 {
  margin: 0 0 8px !important;
}

.footer-col a {
  margin: 5px 0 !important;
}

.footer-col p {
  margin: 4px 0 10px !important;
  line-height: 1.4 !important;
}

.footer-form {
  margin-top: 8px !important;
}

@media (max-width: 1040px) {
  .footer-inner {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .footer-brand-block,
  .footer-inner .footer-col:nth-child(2),
  .footer-inner .footer-col:nth-child(3),
  .footer-inner .footer-col:nth-child(4),
  .footer-inner .footer-col:nth-child(5) {
    grid-column: auto !important;
  }
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr !important;
  }
}



/* Remove fake favorite heart icons on homepage cards */
.save-mini {
  display: none !important;
}

/* Sidebar thumbnail layout */
.home-small-item {
  display: grid !important;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
}

.home-small-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  background: #eaf1f7;
  border: 1px solid #dbe6ef;
}

.home-small-text strong {
  display: block;
}

.home-small-text small {
  display: block;
}
.save-mini {
  display: none !important;
}

.home-small-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
}

/* =========================================================
   Search Page Result Cards Fix
   Makes results match homepage-style gig cards
   ========================================================= */

.search-results-grid,
#searchResults,
.search-results {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.search-results-grid .idea-card,
#searchResults .idea-card,
.search-results .idea-card,
.search-result-card,
.search-gig-card {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-soft) !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
}

.search-results-grid img,
#searchResults img,
.search-results img,
.search-result-card img,
.search-gig-card img {
  width: 100% !important;
  height: 165px !important;
  max-height: 165px !important;
  object-fit: cover !important;
  display: block !important;
}

.search-results-grid .idea-card-img,
#searchResults .idea-card-img,
.search-results .idea-card-img,
.search-result-image,
.search-gig-image {
  height: 165px !important;
  max-height: 165px !important;
  overflow: hidden !important;
  background: #eaf1f7 !important;
}

.search-results-grid .idea-card-body,
#searchResults .idea-card-body,
.search-results .idea-card-body,
.search-result-body,
.search-gig-body {
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.search-results-grid h3,
#searchResults h3,
.search-results h3,
.search-result-card h3,
.search-gig-card h3 {
  margin: 0 !important;
  color: var(--navy) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 23px !important;
  line-height: 1.12 !important;
}

.search-results-grid p,
#searchResults p,
.search-results p,
.search-result-card p,
.search-gig-card p {
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

.search-results-grid .card-badges,
#searchResults .card-badges,
.search-results .card-badges {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 4px 0 !important;
}

.search-results-grid .card-badges span,
#searchResults .card-badges span,
.search-results .card-badges span {
  display: inline-flex !important;
  border-radius: 999px !important;
  padding: 5px 8px !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  background: var(--soft-teal) !important;
  color: var(--teal) !important;
}

.search-results-grid .idea-card-price,
#searchResults .idea-card-price,
.search-results .idea-card-price {
  margin-top: auto !important;
  display: flex !important;
  justify-content: space-between !important;
  gap: 8px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.search-results-grid .save-mini,
#searchResults .save-mini,
.search-results .save-mini {
  display: none !important;
}

@media (max-width: 720px) {
  .search-results-grid,
  #searchResults,
  .search-results {
    grid-template-columns: 1fr !important;
  }
}

.idea-card-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 10px;
}
/* At-a-glance rating hover tooltips */

.rating-has-tooltip {
  position: relative;
  cursor: help;
}

.rating-tooltip {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 50;
  width: 240px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: var(--shadow);
}

.rating-has-tooltip:hover .rating-tooltip,
.rating-has-tooltip:focus .rating-tooltip {
  display: block;
}

.gig-right-rail,
.gig-side-card {
  overflow: visible !important;
}

/* At-a-glance hover notes */

.rating-has-tooltip {
  position: relative;
  cursor: help;
}

.rating-tooltip {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 999;
  width: 260px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #102a43;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
}

.rating-has-tooltip:hover .rating-tooltip,
.rating-has-tooltip:focus .rating-tooltip,
.rating-has-tooltip:focus-within .rating-tooltip {
  display: block;
}

.gig-right-rail,
.gig-side-card,
#gigRatingBars {
  overflow: visible !important;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

.modern-contact-form select,
.modern-contact-form input,
.modern-contact-form textarea {
  width: 100%;
}

.form-status {
  margin-top: 12px;
  font-weight: 700;
}

.form-status.success {
  color: #137333;
}

.form-status.error {
  color: #b3261e;
}

.simple-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.simple-list li {
  margin-bottom: 8px;
}
/* =========================================================
   Homepage Ocean Background + Personalized Picks Polish
   ========================================================= */

html {
  background: #e7f1f6;
}

body {
  background:
    radial-gradient(circle at 14% 7%, rgba(255, 255, 255, 0.96), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(175, 216, 231, 0.46), transparent 36%),
    linear-gradient(135deg, #f4f9fb 0%, #e7f1f6 52%, #dceaf1 100%) !important;
  background-attachment: fixed;
}

.homepage-three-column {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.42), transparent 30%),
    radial-gradient(circle at 82% 36%, rgba(86, 156, 181, 0.12), transparent 36%);
  border-radius: 26px;
}

.home-center-column {
  position: relative;
}

.home-sidebar-card,
.home-quiz-panel,
.featured-home-card,
.home-section,
.submit-strip {
  background: rgba(255, 255, 255, 0.93) !important;
  border-color: rgba(117, 154, 175, 0.30) !important;
  box-shadow:
    0 14px 34px rgba(6, 29, 53, 0.10),
    0 2px 7px rgba(6, 29, 53, 0.05) !important;
}

.home-small-item,
.home-partner-box,
.idea-card,
.learning-card,
.tool-card,
.gear-card {
  background: rgba(248, 252, 254, 0.97) !important;
  border-color: rgba(117, 154, 175, 0.25) !important;
}

.home-section {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Featured Partner inner panel */
.home-partner-box {
  color: var(--ink) !important;
  box-shadow: inset 0 0 0 1px rgba(117, 154, 175, 0.08);
}

.home-partner-box h4 {
  color: var(--teal) !important;
}

.home-partner-box p {
  color: var(--muted) !important;
}

.home-partner-box a {
  color: #ffffff !important;
  background: var(--teal) !important;
}

.section-head {
  padding-left: 0;
  padding-right: 0;
}

.section-head .eyebrow,
#homeQuizPanel .eyebrow {
  color: #176f80;
}

/* Personalized Picks title line */
#homePersonalizedSection .section-head {
  align-items: center;
  border-bottom: 1px solid rgba(88, 143, 166, 0.30);
  padding-bottom: 10px;
  margin-bottom: 8px;
}

#homePersonalizedSection .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #176f80;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.95rem;
}

#homePersonalizedSection .eyebrow::before {
  content: "☸";
  color: var(--teal);
  font-style: normal;
  font-size: 1.3rem;
}

/* =========================================================
   Quiz Match Badge Fix
   Moves percentage away from image/title overlap
   ========================================================= */

.idea-card {
  position: relative;
}

.quiz-match-badge,
.match-badge,
.quiz-score-badge,
.card-match-badge,
.idea-match-badge,
.saved-match-badge,
[data-match-badge] {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 8px 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 167, 200, 0.12) !important;
  color: #075f6d !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* If the match badge is being injected over the image, push it into a cleaner overlay spot */

.idea-card-img .quiz-match-badge,
.idea-card-img .match-badge,
.idea-card-img .quiz-score-badge,
.idea-card-img .card-match-badge,
.idea-card-img .idea-match-badge,
.idea-card-img .saved-match-badge {
  position: absolute !important;
  left: 10px !important;
  bottom: 10px !important;
  top: auto !important;
  right: auto !important;
  margin: 0 !important;
  background: rgba(255, 248, 231, 0.94) !important;
  color: #0f4c75 !important;
  border: 1px solid rgba(15, 76, 117, 0.16);
}

/* Extra room so title does not crash into badges */

.idea-card-body {
  padding-top: 14px !important;
}

.idea-card-body h3 {
  margin-top: 0 !important;
  clear: both;
}

/* If percentage is plain text inside card body before the title */

.idea-card-body > span:first-child,
.idea-card-body > small:first-child {
  margin-bottom: 8px;
}

/* Keep card images clean */

.idea-card-img {
  position: relative;
  overflow: hidden;
}

.gig-page-mockup {
  background: linear-gradient(180deg, #f5ead6 0%, #efe0c3 100%);
  padding: 28px;
  color: #24313a;
}

.gig-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto 28px;
  background: #fff8ec;
  border: 1px solid #ead6ad;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 40px rgba(80, 55, 25, .12);
}

.gig-kicker {
  color: #b56b18;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
}

.gig-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin: 8px 0 12px;
}

.gig-tagline {
  font-size: 1.15rem;
  max-width: 620px;
  line-height: 1.65;
}

.gig-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.primary-btn,
.secondary-btn {
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.primary-btn {
  background: #153c4a;
  color: white;
}

.secondary-btn {
  background: #fff;
  color: #153c4a;
  border: 1px solid #d8c49d;
}

.gig-hero-card {
  position: relative;
}

.gig-hero-card img {
  width: 100%;
  border-radius: 24px;
  display: block;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

.match-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: #e64b35;
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
}

.gig-snapshot {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gig-snapshot div {
  background: #fffaf1;
  border: 1px solid #e5cf9f;
  border-radius: 18px;
  padding: 18px;
}

.gig-snapshot span {
  display: block;
  font-size: .78rem;
  color: #7b6a52;
  text-transform: uppercase;
  font-weight: 800;
}

.gig-snapshot strong {
  display: block;
  margin-top: 6px;
  font-size: 1.2rem;
}

.gig-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.gig-sidebar {
  position: sticky;
  top: 18px;
  align-self: start;
}

.sidebar-box {
  background: #fff8ec;
  border: 1px solid #ead6ad;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 18px;
}

.sidebar-box a {
  display: block;
  color: #153c4a;
  font-weight: 800;
  text-decoration: none;
  margin: 10px 0;
}

.sponsor-box {
  background: #153c4a;
  color: white;
}

.sponsor-box a {
  color: #ffd27a;
}

.sponsor-label {
  color: #ffd27a;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .75rem;
}

.gig-content {
  background: #fffdf7;
  border: 1px solid #ead6ad;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 12px 28px rgba(80, 55, 25, .08);
}

.gig-article-section {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid #eadcc0;
}

.gig-article-section h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
  color: #153c4a;
}

.gig-article-section p,
.gig-article-section li {
  font-size: 1.05rem;
  line-height: 1.75;
}

.highlight-section {
  background: #f8ecd2;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #e0c287;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.check-grid div {
  background: white;
  border-radius: 14px;
  padding: 14px;
  font-weight: 700;
}

.earning-card {
  background: #eaf4ef;
  border-left: 5px solid #2f8f5b;
  padding: 18px;
  border-radius: 14px;
  font-size: 1.1rem;
}

.earning-card span {
  font-weight: 900;
  color: #1f7a4d;
}

.steps-section ol {
  padding-left: 22px;
}

.steps-section li {
  margin-bottom: 12px;
}

@media (max-width: 850px) {
  .gig-hero,
  .gig-layout,
  .gig-snapshot {
    grid-template-columns: 1fr;
  }

  .gig-sidebar {
    position: static;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Gig Related Resources / Dynamic Bottom Sections
   ========================================================= */

.gig-related-resources {
  max-width: 1180px;
  margin: 36px auto 0;
  padding: 0;
}

.gig-bottom-resource-block {
  background: #fffaf1;
  border: 1px solid #ead6ad;
  border-radius: 26px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 14px 34px rgba(80, 55, 25, 0.08);
}

.gig-bottom-heading {
  margin-bottom: 20px;
}

.gig-bottom-heading p {
  margin: 0 0 6px;
  color: #b56b18;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gig-bottom-heading h2 {
  margin: 0;
  color: #153c4a;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.gig-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gig-resource-card {
  display: block;
  background: #ffffff;
  border: 1px solid #ecd9b3;
  border-radius: 20px;
  padding: 18px;
  color: #24313a;
  text-decoration: none;
  min-height: 170px;
  box-shadow: 0 8px 20px rgba(80, 55, 25, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gig-resource-card:hover {
  transform: translateY(-3px);
  border-color: #d39a45;
  box-shadow: 0 14px 30px rgba(80, 55, 25, 0.13);
}

.gig-resource-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5ead6;
  color: #8f5b18;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gig-resource-card h3 {
  margin: 0 0 8px;
  color: #153c4a;
  font-size: 1.05rem;
  line-height: 1.25;
}

.gig-resource-card p {
  margin: 0;
  color: #5e6570;
  font-size: 0.92rem;
  line-height: 1.55;
}

.affiliate-resource-card {
  border-color: #f0c98f;
  background: linear-gradient(180deg, #ffffff 0%, #fff7e8 100%);
}

.affiliate-resource-card span {
  background: #ffe6bc;
  color: #9a5a08;
}

.resource-empty {
  margin: 0;
  padding: 18px;
  background: #ffffff;
  border: 1px dashed #d8c49d;
  border-radius: 16px;
  color: #6f6a60;
}

/* Optional colorful variations if you want each bottom block to feel distinct */
.gig-bottom-resource-block:nth-child(1) {
  background: #fff4df;
}

.gig-bottom-resource-block:nth-child(2) {
  background: #eef8f2;
}

.gig-bottom-resource-block:nth-child(3) {
  background: #edf5ff;
}

/* Responsive */
@media (max-width: 1000px) {
  .gig-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .gig-related-resources {
    margin-top: 24px;
  }

  .gig-bottom-resource-block {
    padding: 20px;
    border-radius: 20px;
  }

  .gig-resource-grid {
    grid-template-columns: 1fr;
  }

  .gig-resource-card {
    min-height: auto;
  }
}

/* =========================================================
   Gig Related Resources / Dynamic Bottom Sections
   ========================================================= */

.gig-related-resources {
  margin-top: 36px;
}

.gig-bottom-resource-block {
  background: #fffaf1;
  border: 1px solid #ead6ad;
  border-radius: 26px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 14px 34px rgba(80, 55, 25, 0.08);
}

.gig-bottom-resource-block:nth-child(1) {
  background: #fff4df;
}

.gig-bottom-resource-block:nth-child(2) {
  background: #eef8f2;
}

.gig-bottom-resource-block:nth-child(3) {
  background: #edf5ff;
}

.gig-bottom-heading {
  margin-bottom: 20px;
}

.gig-bottom-heading p {
  margin: 0 0 6px;
  color: #b56b18;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gig-bottom-heading h2 {
  margin: 0;
  color: #153c4a;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

.gig-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gig-resource-card {
  display: block;
  background: #ffffff;
  border: 1px solid #ecd9b3;
  border-radius: 20px;
  padding: 18px;
  color: #24313a;
  text-decoration: none;
  min-height: 170px;
  box-shadow: 0 8px 20px rgba(80, 55, 25, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gig-resource-card:hover {
  transform: translateY(-3px);
  border-color: #d39a45;
  box-shadow: 0 14px 30px rgba(80, 55, 25, 0.13);
}

.gig-resource-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5ead6;
  color: #8f5b18;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gig-resource-card h3 {
  margin: 0 0 8px;
  color: #153c4a;
  font-size: 1.05rem;
  line-height: 1.25;
}

.gig-resource-card p {
  margin: 0;
  color: #5e6570;
  font-size: 0.92rem;
  line-height: 1.55;
}

.affiliate-resource-card {
  border-color: #f0c98f;
  background: linear-gradient(180deg, #ffffff 0%, #fff7e8 100%);
}

.affiliate-resource-card span {
  background: #ffe6bc;
  color: #9a5a08;
}

.resource-empty {
  margin: 0;
  padding: 18px;
  background: #ffffff;
  border: 1px dashed #d8c49d;
  border-radius: 16px;
  color: #6f6a60;
}

.side-guide-list a,
.side-tool-list a {
  display: block;
  padding: 12px 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.side-guide-list a:last-child,
.side-tool-list a:last-child {
  border-bottom: 0;
}

.side-guide-list strong,
.side-tool-list strong {
  display: block;
  color: #153c4a;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.side-guide-list span,
.side-tool-list span {
  display: block;
  color: #66717a;
  font-size: 0.82rem;
  line-height: 1.35;
}

@media (max-width: 1000px) {
  .gig-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .gig-related-resources {
    margin-top: 24px;
  }

  .gig-bottom-resource-block {
    padding: 20px;
    border-radius: 20px;
  }

  .gig-resource-grid {
    grid-template-columns: 1fr;
  }

  .gig-resource-card {
    min-height: auto;
  }
}

/* Featured idea text contrast fix */
.featured-idea-card,
.featured-gig-card,
.featured-card {
  background: linear-gradient(135deg, #153c4a 0%, #0f6d6b 55%, #fff4df 100%) !important;
}

.featured-idea-card h2,
.featured-idea-card h3,
.featured-idea-card p,
.featured-gig-card h2,
.featured-gig-card h3,
.featured-gig-card p,
.featured-card h2,
.featured-card h3,
.featured-card p {
  color: #ffffff !important;
}

.featured-idea-card .featured-stat,
.featured-gig-card .featured-stat,
.featured-card .featured-stat {
  color: #ffffff !important;
}

.featured-idea-card .featured-stat strong,
.featured-gig-card .featured-stat strong,
.featured-card .featured-stat strong {
  color: #ffffff !important;
}

/* =========================================================
   FORCE FEATURED IDEA TEXT TO BE VISIBLE
   ========================================================= */

.featured-home-card {
  color: #0f2f3d !important;
}

.featured-home-copy {
  color: #0f2f3d !important;
}

.featured-home-copy h1,
.featured-home-copy h2,
.featured-home-copy h3,
.featured-home-copy h4 {
  color: #08233b !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.featured-home-copy p {
  color: #26465a !important;
  opacity: 1 !important;
}

.featured-home-copy .featured-label {
  color: #ffffff !important;
}

.featured-home-stat {
  color: #26465a !important;
}

.featured-home-stat small {
  color: #4f6473 !important;
  opacity: 1 !important;
}

.featured-home-stat strong {
  color: #08233b !important;
  opacity: 1 !important;
}

.featured-home-btn {
  opacity: 1 !important;
}

.featured-home-card * {
  visibility: visible !important;
}
/* Quiz match badge: bottom-right, smaller */
.idea-card-img {
  position: relative !important;
}

.home-match-badge {
  position: absolute !important;
  right: 8px !important;
  bottom: 8px !important;
  top: auto !important;
  left: auto !important;
  z-index: 5 !important;

  display: inline-flex !important;
  align-items: center;
  gap: 3px;

  padding: 4px 7px !important;
  border-radius: 999px !important;

  background: rgba(255, 255, 255, 0.9) !important;
  color: #08233b !important;

  font-weight: 800 !important;
  font-size: 0.68rem !important;
  line-height: 1 !important;

  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(5px);
}

/* =========================================================
   Guide Page Upgrade
   Add at bottom of assets/css/styles.css
   ========================================================= */

.guide-page-shell {
  grid-template-columns: 280px minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}

.guide-main-article {
  max-width: 920px;
}

.guide-hero-card {
  background: #fffdf8;
  border: 1px solid rgba(9, 36, 61, 0.12);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(9, 36, 61, 0.08);
  overflow: hidden;
  margin-bottom: 24px;
}

.guide-hero-image-wrap {
  position: relative;
  height: 285px;
  overflow: hidden;
}

.guide-hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guide-hero-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #eefdf8;
  color: #087d70;
  border: 1px solid rgba(8, 125, 112, 0.18);
}

.guide-hero-copy {
  padding: 26px 30px 30px;
}

.guide-hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
  color: #071d36;
  letter-spacing: -0.04em;
}

.guide-hero-copy .gig-subtitle {
  max-width: 760px;
  font-size: 1.08rem;
}

/* Left guide nav color cards */

.color-guide-nav {
  background: #fffdf8;
  border: 1px solid rgba(9, 36, 61, 0.12);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(9, 36, 61, 0.08);
  padding: 14px;
}

.color-guide-nav .gig-guide-title {
  background: linear-gradient(135deg, #009b8f, #0a6ea8);
  color: white;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.color-guide-nav a {
  display: grid;
  grid-template-columns: 34px 1fr 22px;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #071d36;
  background: white;
  border: 1px solid rgba(9, 36, 61, 0.08);
  border-left: 4px solid #009b8f;
  border-radius: 12px;
  padding: 13px 12px;
  margin-bottom: 10px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(9, 36, 61, 0.04);
}

.color-guide-nav a span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: white;
  background: #009b8f;
  font-weight: 900;
  font-size: 0.9rem;
}

.color-guide-nav a strong {
  font-size: 0.9rem;
  line-height: 1.2;
}

.color-guide-nav a em {
  font-style: normal;
  opacity: 0.9;
  text-align: center;
}

.color-guide-nav a.active {
  background: #eefdf8;
  transform: translateX(2px);
}

.color-guide-nav a.guide-section-purple {
  border-left-color: #7e55d8;
  background: #fbf7ff;
}

.color-guide-nav a.guide-section-purple span {
  background: #7e55d8;
}

.color-guide-nav a.guide-section-orange {
  border-left-color: #f06a22;
  background: #fff7ef;
}

.color-guide-nav a.guide-section-orange span {
  background: #f06a22;
}

.color-guide-nav a.guide-section-blue {
  border-left-color: #267de8;
  background: #f3f8ff;
}

.color-guide-nav a.guide-section-blue span {
  background: #267de8;
}

.color-guide-nav a.guide-section-green {
  border-left-color: #51aa4c;
  background: #f3fff3;
}

.color-guide-nav a.guide-section-green span {
  background: #51aa4c;
}

.color-guide-nav a.guide-section-indigo {
  border-left-color: #4d63d8;
  background: #f4f6ff;
}

.color-guide-nav a.guide-section-indigo span {
  background: #4d63d8;
}

.color-guide-nav a.guide-section-yellow {
  border-left-color: #eba51e;
  background: #fff9e8;
}

.color-guide-nav a.guide-section-yellow span {
  background: #eba51e;
}

.color-guide-nav a.guide-section-pink {
  border-left-color: #e84d84;
  background: #fff3f8;
}

.color-guide-nav a.guide-section-pink span {
  background: #e84d84;
}

.guide-download-link {
  margin-top: 18px !important;
  display: flex !important;
  justify-content: center;
  grid-template-columns: none !important;
  border-left: 0 !important;
  background: #f7fffc !important;
  color: #087d70 !important;
}

/* Main guide article color sections */

.guide-color-section {
  border-radius: 18px;
  padding: 24px 26px;
  margin: 18px 0;
  border: 1px solid rgba(9, 36, 61, 0.08);
  box-shadow: 0 10px 28px rgba(9, 36, 61, 0.045);
}

.guide-color-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  font-size: 1.55rem;
  line-height: 1.15;
}

.guide-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid currentColor;
  font-size: 1.25rem;
  flex: 0 0 auto;
}

.guide-section-number {
  font-weight: 900;
}

.guide-section-teal {
  background: linear-gradient(135deg, #eefdf8, #f8fffd);
  color: #087d70;
}

.guide-section-purple {
  background: linear-gradient(135deg, #fbf7ff, #ffffff);
  color: #6c43c2;
}

.guide-section-orange {
  background: linear-gradient(135deg, #fff7ef, #ffffff);
  color: #d84f12;
}

.guide-section-blue {
  background: linear-gradient(135deg, #f3f8ff, #ffffff);
  color: #1664c0;
}

.guide-section-green {
  background: linear-gradient(135deg, #f3fff3, #ffffff);
  color: #3f9340;
}

.guide-section-indigo {
  background: linear-gradient(135deg, #f4f6ff, #ffffff);
  color: #4054c2;
}

.guide-section-yellow {
  background: linear-gradient(135deg, #fff9e8, #ffffff);
  color: #b57900;
}

.guide-section-pink {
  background: linear-gradient(135deg, #fff3f8, #ffffff);
  color: #c83069;
}

.guide-color-section p,
.guide-color-section li,
.guide-color-section td {
  color: #10243f;
}

/* Right rail cards */

.guide-right-rail .gig-side-card {
  background: #fffdf8;
  border: 1px solid rgba(9, 36, 61, 0.12);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(9, 36, 61, 0.06);
  padding: 18px;
}

.guide-right-rail .gig-side-card h3 {
  color: #087d70;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  margin-top: 0;
}

.guide-next-step-card {
  background: linear-gradient(135deg, #f2fffb, #fffdf8) !important;
}

.guide-side-feature {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
}

.guide-side-icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eefdf8;
  font-size: 2.1rem;
}

.guide-side-feature strong {
  color: #071d36;
  display: block;
  margin-bottom: 6px;
}

.guide-side-feature p {
  margin: 0 0 12px;
  color: #34465f;
  font-size: 0.92rem;
}

.guide-side-feature a,
.side-card-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #009b8f;
  color: white !important;
  text-decoration: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 900;
}

.side-card-button {
  width: 100%;
  margin-top: 14px;
  background: white;
  color: #087d70 !important;
  border: 1px solid rgba(8, 125, 112, 0.22);
}

.side-guide-list a,
.side-tool-list a {
  display: block;
  text-decoration: none;
  color: #071d36;
  padding: 12px 0;
  border-bottom: 1px solid rgba(9, 36, 61, 0.08);
}

.side-guide-list a:last-child,
.side-tool-list a:last-child {
  border-bottom: 0;
}

.side-guide-list small,
.side-tool-list small {
  display: block;
  color: #087d70;
  margin-top: 4px;
  font-weight: 800;
}

/* Responsive guide page */

@media (max-width: 1180px) {
  .guide-page-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .guide-right-rail {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 850px) {
  .guide-page-shell {
    display: block;
  }

  .guide-left-rail,
  .guide-right-rail {
    position: static;
    margin-bottom: 18px;
  }

  .color-guide-nav {
    max-height: none;
  }

  .guide-right-rail {
    display: block;
  }

  .guide-right-rail .gig-side-card {
    margin-bottom: 16px;
  }

  .guide-hero-image-wrap {
    height: 220px;
  }

  .guide-hero-copy {
    padding: 22px;
  }

  .guide-color-section {
    padding: 20px;
  }
}

/* =========================================================
   Final Header Navigation and Dropdown Styling
   Keeps top-level navigation clean and dropdown text readable
   ========================================================= */

/* Top-level menu items: no rectangular background boxes */
#siteHeaderMount .main-nav > a,
#siteHeaderMount .main-nav > .nav-dropdown > button,
#siteHeaderMount .compact-main-nav > a,
#siteHeaderMount .compact-main-nav > .nav-dropdown > button,
#siteHeaderMount .map-main-nav > a,
#siteHeaderMount .map-main-nav > .nav-dropdown > button,
#siteHeaderMount .logo-band-nav > a,
#siteHeaderMount .logo-band-nav > .nav-dropdown > button {
  color: #ffffff !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#siteHeaderMount .main-nav > a:hover,
#siteHeaderMount .main-nav > .nav-dropdown > button:hover,
#siteHeaderMount .compact-main-nav > a:hover,
#siteHeaderMount .compact-main-nav > .nav-dropdown > button:hover,
#siteHeaderMount .map-main-nav > a:hover,
#siteHeaderMount .map-main-nav > .nav-dropdown > button:hover,
#siteHeaderMount .logo-band-nav > a:hover,
#siteHeaderMount .logo-band-nav > .nav-dropdown > button:hover {
  color: #79ddd4 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* White dropdown/mega-menu panel */
#siteHeaderMount .dropdown-panel {
  background: #ffffff !important;
  color: #102a43 !important;
  border: 1px solid #cbdde7 !important;
  box-shadow: 0 14px 34px rgba(6, 29, 53, 0.20) !important;
}

/* Dropdown headings */
#siteHeaderMount .dropdown-panel h1,
#siteHeaderMount .dropdown-panel h2,
#siteHeaderMount .dropdown-panel h3,
#siteHeaderMount .dropdown-panel h4,
#siteHeaderMount .dropdown-panel .dropdown-title {
  color: #43c9c1 !important;
  text-shadow: none !important;
}

/* Dropdown links and nested text */
#siteHeaderMount .dropdown-panel a,
#siteHeaderMount .dropdown-panel a:visited,
#siteHeaderMount .dropdown-panel button,
#siteHeaderMount .dropdown-panel [role="menuitem"] {
  color: #102a43 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

#siteHeaderMount .dropdown-panel a *,
#siteHeaderMount .dropdown-panel button *,
#siteHeaderMount .dropdown-panel [role="menuitem"] * {
  color: inherit !important;
  text-shadow: none !important;
}

/* Light blue hover treatment */
#siteHeaderMount .dropdown-panel a:hover,
#siteHeaderMount .dropdown-panel a:focus,
#siteHeaderMount .dropdown-panel button:hover,
#siteHeaderMount .dropdown-panel button:focus,
#siteHeaderMount .dropdown-panel [role="menuitem"]:hover,
#siteHeaderMount .dropdown-panel [role="menuitem"]:focus {
  color: #061d35 !important;
  background: #dceff5 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

#siteHeaderMount .dropdown-panel a:hover *,
#siteHeaderMount .dropdown-panel a:focus *,
#siteHeaderMount .dropdown-panel button:hover *,
#siteHeaderMount .dropdown-panel button:focus *,
#siteHeaderMount .dropdown-panel [role="menuitem"]:hover *,
#siteHeaderMount .dropdown-panel [role="menuitem"]:focus * {
  color: #061d35 !important;
}
/* =========================================================
   GIGSAHOY TOOL DETAIL PAGE
   Paste this entire section at the BOTTOM of:
   assets/css/styles.css
   ========================================================= */

.tool-detail-page {
  background:
    radial-gradient(
      circle at top right,
      rgba(93, 185, 218, 0.22),
      transparent 28rem
    ),
    linear-gradient(
      180deg,
      #f7fbfd 0%,
      #eef7fa 100%
    );
}

.tool-detail-page .tool-detail-shell {
  align-items: start;
}

.tool-detail-page .tool-main-article {
  min-width: 0;
}


/* =========================================================
   MAIN TOOL HERO
   ========================================================= */

.tool-detail-page .gig-hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid #d8e9ef;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 92% 18%,
      rgba(39, 169, 160, 0.18),
      transparent 17rem
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f4fbfc 100%
    );
  box-shadow: 0 16px 38px rgba(17, 50, 76, 0.09);
}

.tool-detail-page .gig-hero-section::after {
  content: "🧮";
  position: absolute;
  right: clamp(18px, 4vw, 48px);
  bottom: -24px;
  font-size: clamp(76px, 9vw, 132px);
  line-height: 1;
  opacity: 0.08;
  transform: rotate(-8deg);
  pointer-events: none;
}

.tool-detail-page .gig-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.tool-detail-page .gig-hero-copy h1 {
  max-width: 820px;
  margin: 14px 0 12px;
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.tool-detail-page .gig-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 13px;
  border: 1px solid #cdece6;
  border-radius: 999px;
  background: #eaf9f6;
  color: #087f75;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tool-detail-page .gig-subtitle {
  max-width: 850px;
  margin: 0;
  color: #078c80;
  font-size: clamp(1.1rem, 2vw, 1.48rem);
  font-weight: 800;
  line-height: 1.35;
}


/* =========================================================
   TOOL ARTICLE CONTENT
   ========================================================= */

.tool-detail-page #toolArticleContent {
  display: block;
}

.tool-detail-page .tool-page {
  display: grid;
  gap: 20px;
}


/* Turns the repeated JSON hero into a smaller introduction card */

.tool-detail-page .tool-page > .tool-hero,
.tool-detail-page .tool-page > .tool-intro-card {
  position: relative;
  margin: 0;
  padding: 22px 24px 22px 76px;
  border: 1px solid #cfe9ef;
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      #eaf8fb 0%,
      #f7fcfd 100%
    );
  color: #18384b;
  box-shadow: 0 9px 24px rgba(18, 74, 98, 0.07);
}

.tool-detail-page .tool-page > .tool-hero::before,
.tool-detail-page .tool-page > .tool-intro-card::before {
  content: "⚓";
  position: absolute;
  top: 21px;
  left: 22px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #0c8f87;
  color: #ffffff;
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(12, 143, 135, 0.22);
}

.tool-detail-page .tool-page > .tool-hero .tool-kicker,
.tool-detail-page .tool-page > .tool-hero h1,
.tool-detail-page .tool-page > .tool-intro-card .tool-kicker,
.tool-detail-page .tool-page > .tool-intro-card h1 {
  display: none;
}

.tool-detail-page .tool-page > .tool-hero p,
.tool-detail-page .tool-page > .tool-intro-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.68;
}


/* =========================================================
   INFORMATION CARDS
   ========================================================= */

.tool-detail-page .tool-section,
.tool-detail-page .tool-box {
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #dce9ee;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 54, 78, 0.07);
  scroll-margin-top: 105px;
}

.tool-detail-page .tool-section {
  border-left: 5px solid #28a79e;
}

.tool-detail-page .tool-section h2,
.tool-detail-page .tool-box h2 {
  margin: 0 0 13px;
  color: #0b2942;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.tool-detail-page .tool-section p {
  margin: 0;
  color: #365266;
  font-size: 1rem;
  line-height: 1.72;
}


/* =========================================================
   CALCULATOR CARD
   ========================================================= */

.tool-detail-page .tool-box {
  border: 1px solid #bfe3df;
  background:
    radial-gradient(
      circle at top right,
      rgba(46, 171, 160, 0.12),
      transparent 14rem
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f4fbfa 100%
    );
  box-shadow: 0 18px 42px rgba(8, 105, 98, 0.12);
}

.tool-detail-page .tool-box > h2 {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 17px;
  border-bottom: 1px solid #dcebea;
}

.tool-detail-page .tool-box > h2::before {
  content: "✦";
  display: grid;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  background: #0b8d84;
  color: #ffffff;
  font-size: 1rem;
}


/* =========================================================
   CALCULATOR FORM
   ========================================================= */

.tool-detail-page .tool-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 18px;
  margin-top: 22px;
}

.tool-detail-page .tool-form label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  color: #17384f;
  font-size: 0.9rem;
  font-weight: 800;
}

.tool-detail-page .tool-form input,
.tool-detail-page .tool-form select,
.tool-detail-page .tool-form textarea {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  padding: 11px 13px;
  border: 1px solid #b9ced7;
  border-radius: 11px;
  background: #ffffff;
  color: #0b2942;
  font: inherit;
  font-weight: 500;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.tool-detail-page .tool-form input:focus,
.tool-detail-page .tool-form select:focus,
.tool-detail-page .tool-form textarea:focus {
  border-color: #129c92;
  box-shadow: 0 0 0 4px rgba(18, 156, 146, 0.13);
}

.tool-detail-page .tool-form button {
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 170px;
  min-height: 49px;
  margin-top: 2px;
  padding: 12px 23px;
  border: 0;
  border-radius: 12px;
  background:
    linear-gradient(
      135deg,
      #0a8e85 0%,
      #117aaa 100%
    );
  color: #ffffff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 9px 20px rgba(9, 128, 129, 0.22);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.tool-detail-page .tool-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 25px rgba(9, 128, 129, 0.27);
  filter: brightness(1.03);
}

.tool-detail-page .tool-form button:active {
  transform: translateY(0);
}


/* =========================================================
   CALCULATOR RESULTS
   ========================================================= */

.tool-detail-page .tool-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #dcebea;
}

.tool-detail-page .tool-results p {
  min-width: 0;
  margin: 0;
  padding: 15px 16px;
  border: 1px solid #d8e9ed;
  border-radius: 13px;
  background: #ffffff;
  color: #2d4c5f;
  line-height: 1.45;
  box-shadow: 0 6px 14px rgba(16, 54, 78, 0.045);
}

.tool-detail-page .tool-results strong {
  display: block;
  margin-bottom: 4px;
  color: #087f77;
  font-size: 0.78rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}


/* =========================================================
   LEFT NAVIGATION
   ========================================================= */

.tool-detail-page .gig-left-rail,
.tool-detail-page .tool-right-rail {
  position: sticky;
  top: 16px;
}

.tool-detail-page .gig-guide-nav {
  overflow: hidden;
  border: 1px solid #d8e6ec;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 13px 30px rgba(17, 50, 76, 0.09);
}

.tool-detail-page .gig-guide-title {
  background:
    linear-gradient(
      135deg,
      #0b8d84 0%,
      #1278a5 100%
    );
}


/* =========================================================
   RIGHT SIDEBAR
   ========================================================= */

.tool-detail-page .tool-right-rail {
  display: grid;
  gap: 16px;
}

.tool-detail-page .tool-right-rail .gig-side-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d8e6ec;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 13px 30px rgba(17, 50, 76, 0.08);
}

.tool-detail-page .tool-right-rail .gig-side-card h3 {
  margin: 0;
  padding: 14px 16px;
  background:
    linear-gradient(
      135deg,
      #0b8d84 0%,
      #1278a5 100%
    );
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.015em;
}


/* Tool details card */

.tool-detail-page .tool-detail-list {
  display: grid;
  gap: 0;
}

.tool-detail-page .tool-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border-bottom: 1px solid #e8f0f3;
  color: #537083;
  font-size: 0.82rem;
}

.tool-detail-page .tool-detail-row:last-child {
  border-bottom: 0;
}

.tool-detail-page .tool-detail-row strong {
  max-width: 58%;
  color: #123249;
  text-align: right;
}


/* Related tool and guide links */

.tool-detail-page .side-tool-list,
.tool-detail-page .side-guide-list {
  display: grid;
  gap: 0;
}

.tool-detail-page .side-tool-list a,
.tool-detail-page .side-guide-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #e8f0f3;
  color: #15374e;
  text-decoration: none;
  transition:
    background 0.16s ease,
    color 0.16s ease;
}

.tool-detail-page .side-tool-list a:last-child,
.tool-detail-page .side-guide-list a:last-child {
  border-bottom: 0;
}

.tool-detail-page .side-tool-list a:hover,
.tool-detail-page .side-guide-list a:hover {
  background: #eaf8f6;
  color: #087f77;
}

.tool-detail-page .side-link-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #edf7fa;
  font-size: 1rem;
}

.tool-detail-page .side-tool-list span,
.tool-detail-page .side-guide-list span {
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.25;
}

.tool-detail-page .side-tool-list small,
.tool-detail-page .side-guide-list small {
  display: block;
  margin-top: 3px;
  color: #6f8796;
  font-size: 0.7rem;
  font-weight: 600;
}


/* Tips card */

.tool-detail-page .tool-tip-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px 16px 16px;
  list-style: none;
}

.tool-detail-page .tool-tip-list li {
  position: relative;
  padding-left: 22px;
  color: #38586a;
  font-size: 0.82rem;
  line-height: 1.5;
}

.tool-detail-page .tool-tip-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #0b9187;
  font-weight: 900;
}


/* =========================================================
   RESPONSIVE LAYOUT
   ========================================================= */

@media (max-width: 1180px) {
  .tool-detail-page .tool-right-rail {
    position: static;
  }
}

@media (max-width: 760px) {
  .tool-detail-page .gig-hero-copy h1 {
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }

  .tool-detail-page .tool-form,
  .tool-detail-page .tool-results {
    grid-template-columns: 1fr;
  }

  .tool-detail-page .tool-form button {
    width: 100%;
    justify-self: stretch;
  }

  .tool-detail-page .tool-page > .tool-hero,
  .tool-detail-page .tool-page > .tool-intro-card {
    padding: 68px 20px 20px;
  }

  .tool-detail-page .tool-page > .tool-hero::before,
  .tool-detail-page .tool-page > .tool-intro-card::before {
    top: 18px;
    left: 20px;
  }
}


/* =========================================================
   PRESERVE THE EXISTING BLUE GIGSAHOY HEADER
   ========================================================= */

.tool-detail-page.preserve-gigsahoy-header > #siteHeaderMount {
  position: relative;
  z-index: 1000;
}

.tool-detail-page.preserve-gigsahoy-header > #filterDrawerMount {
  position: relative;
  z-index: 999;
}
/* =========================================================
   TOOL PAGE — COLORFUL MOCKUP OVERRIDE
   Paste at the VERY BOTTOM of assets/css/styles.css
   ========================================================= */

.tool-detail-page {
  --tool-navy: #0b2f55;
  --tool-navy-dark: #082642;
  --tool-blue: #176fa6;
  --tool-teal: #079486;
  --tool-teal-dark: #05766e;
  --tool-mint: #dff5f0;
  --tool-pale-blue: #eaf5fb;
  --tool-border: #cfe1ea;
  --tool-text: #17354c;
  --tool-muted: #587083;

  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(83, 183, 221, 0.25),
      transparent 32rem
    ),
    linear-gradient(
      90deg,
      #edf7fb 0%,
      #f8fcfd 20%,
      #ffffff 50%,
      #f7fbfd 80%,
      #e7f4fa 100%
    );
}


/* =========================================================
   PAGE WIDTH AND COLUMNS
   ========================================================= */

.tool-detail-page .tool-detail-shell {
  width: min(1580px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 24px;
  padding-bottom: 60px;
  gap: 22px;
}

.tool-detail-page .tool-main-article,
.tool-detail-page .gig-main-article {
  min-width: 0;
}


/* =========================================================
   BREADCRUMBS
   ========================================================= */

.tool-detail-page .gig-breadcrumbs {
  margin-bottom: 18px;
  color: #53768d;
  font-size: 0.82rem;
  font-weight: 700;
}

.tool-detail-page .gig-breadcrumbs a {
  color: #1470a7;
  text-decoration: none;
}


/* =========================================================
   COLORFUL HERO
   ========================================================= */

.tool-detail-page .gig-hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  align-items: center;
  gap: 30px;
  min-height: 245px;
  margin-bottom: 22px;
  padding: 32px 34px;
  overflow: hidden;
  border: 1px solid #cde1e9;
  border-radius: 23px;
  background:
    radial-gradient(
      circle at 86% 20%,
      rgba(39, 175, 161, 0.2),
      transparent 15rem
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f3fbfc 56%,
      #e9f6fa 100%
    );
  box-shadow:
    0 18px 40px rgba(20, 65, 92, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tool-detail-page .gig-hero-section::after {
  display: none;
}

.tool-detail-page .gig-hero-copy {
  max-width: 850px;
}

.tool-detail-page .gig-tag {
  min-height: 29px;
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #dcf6f0, #cceee8);
  color: #08796f;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.025em;
  box-shadow: 0 5px 13px rgba(20, 140, 128, 0.08);
}

.tool-detail-page .gig-hero-copy h1 {
  margin: 15px 0 12px;
  color: var(--tool-navy-dark);
  font-size: clamp(2.4rem, 4.3vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.tool-detail-page .gig-subtitle {
  margin: 0 0 19px;
  color: var(--tool-teal);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  font-weight: 850;
  line-height: 1.38;
}

.tool-detail-page .gig-intro {
  max-width: 760px;
  margin: 0;
  color: #38566b;
  font-size: 0.98rem;
  line-height: 1.67;
}


/* Hero image or illustration card */

.tool-detail-page .gig-hero-section img,
.tool-detail-page .tool-hero-image,
.tool-detail-page .tool-hero-visual,
.tool-detail-page .tool-hero-art,
.tool-detail-page .hero-visual {
  width: 100%;
  max-width: 235px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  justify-self: end;
  border: 1px solid #bfd8e4;
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      #edf8fb 0%,
      #dceff6 100%
    );
  box-shadow:
    0 15px 28px rgba(20, 73, 99, 0.13),
    inset 0 1px 0 #ffffff;
}


/* =========================================================
   ARTICLE LAYOUT
   ========================================================= */

.tool-detail-page .tool-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-detail-page .tool-page > .tool-hero,
.tool-detail-page .tool-page > .tool-intro-card {
  display: none;
}


/* =========================================================
   WHAT THIS TOOL DOES / HOW TO USE IT
   ========================================================= */

.tool-detail-page .tool-section {
  position: relative;
  min-height: 205px;
  margin: 0;
  padding: 25px 24px 25px 88px;
  overflow: hidden;
  border: 1px solid #c9e3e4;
  border-left: 1px solid #c9e3e4;
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(31, 168, 154, 0.12),
      transparent 8rem
    ),
    linear-gradient(
      135deg,
      #f4fcfb 0%,
      #eef8fa 100%
    );
  box-shadow:
    0 11px 25px rgba(25, 74, 91, 0.07),
    inset 0 1px 0 #ffffff;
}

.tool-detail-page .tool-section:nth-of-type(2) {
  border-color: #cfdfe9;
  background:
    radial-gradient(
      circle at 12% 12%,
      rgba(35, 119, 180, 0.1),
      transparent 8rem
    ),
    linear-gradient(
      135deg,
      #f4f9fd 0%,
      #edf6fb 100%
    );
}

.tool-detail-page .tool-section::before {
  content: "🎯";
  position: absolute;
  top: 25px;
  left: 22px;
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      #2db3a6 0%,
      #087f77 100%
    );
  color: #ffffff;
  font-size: 1.38rem;
  box-shadow: 0 9px 19px rgba(10, 143, 131, 0.22);
}

.tool-detail-page .tool-section:nth-of-type(2)::before {
  content: "📖";
  background:
    linear-gradient(
      145deg,
      #3196cb 0%,
      #176aa3 100%
    );
  box-shadow: 0 9px 19px rgba(31, 115, 174, 0.2);
}

.tool-detail-page .tool-section h2 {
  margin: 0 0 11px;
  color: #087e76;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.tool-detail-page .tool-section:nth-of-type(2) h2 {
  color: #166b9f;
}

.tool-detail-page .tool-section p {
  margin: 0;
  color: #38566a;
  font-size: 0.91rem;
  line-height: 1.68;
}


/* =========================================================
   CALCULATOR PANEL
   ========================================================= */

.tool-detail-page .tool-box {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #174a78;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 18px 42px rgba(14, 50, 80, 0.13),
    0 3px 8px rgba(14, 50, 80, 0.05);
}

.tool-detail-page .tool-box > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px 20px;
  border: 0;
  background:
    linear-gradient(
      135deg,
      #0a315c 0%,
      #0c4479 65%,
      #11558c 100%
    );
  color: #ffffff;
  font-size: 1.22rem;
  font-weight: 850;
  letter-spacing: -0.015em;
}

/* =========================================================
   TOOL SIDEBAR FINAL ADJUSTMENTS
   ========================================================= */

/* Remove the Tool Details bubble completely */
.tool-detail-page #toolInfoCard {
  display: none !important;
}

/* Keep the full right sidebar visible inside the screen */
.tool-detail-page .tool-right-rail {
  position: sticky;
  top: 16px;
  align-self: start;

  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overflow-x: hidden;

  padding-right: 5px;
  padding-bottom: 18px;

  scrollbar-width: thin;
  scrollbar-color: #90c8d5 transparent;
}

/* Small scrollbar for Chrome and Edge */
.tool-detail-page .tool-right-rail::-webkit-scrollbar {
  width: 6px;
}

.tool-detail-page .tool-right-rail::-webkit-scrollbar-track {
  background: transparent;
}

.tool-detail-page .tool-right-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #90c8d5;
}

/* Make sure the final bubble is not clipped */
.tool-detail-page .tool-right-rail .gig-side-card:last-child {
  margin-bottom: 18px;
}

/* Slightly reduce sidebar spacing so more fits on screen */
.tool-detail-page .tool-right-rail {
  gap: 13px;
}
/* =========================================================
   GIGSAHOY CATEGORY PAGE REDESIGN
   Paste this entire section at the VERY BOTTOM of:
   assets/css/styles.css
   ========================================================= */

.category-detail-page {
  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(71, 181, 219, 0.22),
      transparent 33rem
    ),
    linear-gradient(
      180deg,
      #f7fbfd 0%,
      #eef7fa 100%
    );
}

.category-page-new {
  width: min(1700px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 64px;
}

.category-breadcrumbs-new {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #698092;
  font-size: 0.8rem;
  font-weight: 750;
}

.category-breadcrumbs-new a {
  color: #176fa6;
}

.category-breadcrumbs-new strong {
  color: #17364d;
}


/* =========================================================
   CATEGORY HERO
   ========================================================= */

.category-hero-new {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    285px;
  gap: 22px;
  margin-bottom: 24px;
}

.category-hero-copy-new,
.category-hero-summary-new {
  border: 1px solid #d2e3eb;
  border-radius: 24px;
  box-shadow:
    0 16px 38px
    rgba(11, 48, 77, 0.09);
}

.category-hero-copy-new {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(
      circle at 92% 16%,
      rgba(17, 160, 148, 0.18),
      transparent 16rem
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f3fbfc 100%
    );
}

.category-hero-copy-new::after {
  content: "⌂";
  position: absolute;
  right: 34px;
  bottom: -25px;
  color: #0b8d84;
  font-size: 150px;
  line-height: 1;
  opacity: 0.06;
  pointer-events: none;
}

.category-kicker-new,
.category-results-label-new {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: #ddf5ef;
  color: #087b72;
  padding: 7px 12px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.category-hero-copy-new h1 {
  max-width: 900px;
  margin: 14px 0 13px;
  color: #082642;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size:
    clamp(2.8rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.category-hero-copy-new p {
  max-width: 860px;
  margin: 0;
  color: #456276;
  font-size: 1.02rem;
  line-height: 1.72;
}

.category-hero-actions-new {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.category-primary-action,
.category-secondary-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 900;
}

.category-primary-action {
  background:
    linear-gradient(
      135deg,
      #078f85,
      #1376a5
    );
  color: #ffffff;
  box-shadow:
    0 9px 21px
    rgba(7, 132, 132, 0.2);
}

.category-secondary-action {
  border: 1px solid #c9dce5;
  background: #ffffff;
  color: #12334d;
}

.category-hero-summary-new {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background:
    linear-gradient(
      145deg,
      #082642,
      #0c4774
    );
  color: #ffffff;
}

.category-hero-icon-new {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background:
    rgba(255, 255, 255, 0.12);
  color: #9cf3e7;
  font-size: 1.7rem;
}

.category-hero-summary-new span {
  color: #aeece4;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-hero-summary-new strong {
  margin: 5px 0 8px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 4rem;
  line-height: 1;
}

.category-hero-summary-new small {
  color:
    rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}


/* =========================================================
   THREE-COLUMN CATEGORY LAYOUT
   ========================================================= */

.category-three-column-new {
  display: grid;
  grid-template-columns:
    235px
    minmax(0, 1fr)
    285px;
  gap: 22px;
  align-items: start;
}

.category-left-rail-new,
.category-right-rail-new {
  position: sticky;
  top: 166px;
  display: grid;
  gap: 16px;
  max-height:
    calc(100vh - 180px);
  overflow-y: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color:
    #98c8d3 transparent;
}

.category-left-rail-new::-webkit-scrollbar,
.category-right-rail-new::-webkit-scrollbar {
  width: 6px;
}

.category-left-rail-new::-webkit-scrollbar-thumb,
.category-right-rail-new::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #98c8d3;
}

.category-side-card-new {
  overflow: hidden;
  border: 1px solid #d7e5eb;
  border-radius: 18px;
  background:
    rgba(255, 255, 255, 0.97);
  box-shadow:
    0 12px 29px
    rgba(11, 48, 77, 0.075);
}

.category-side-heading-new {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  border-bottom:
    1px solid #e4edf1;
}

.category-side-heading-new > span {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #e6f6f3;
  color: #087e76;
  font-weight: 900;
}

.category-side-heading-new h2 {
  margin: 0;
  color: #0a2b47;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.08rem;
  line-height: 1.15;
}


/* =========================================================
   LEFT CATEGORY MENU
   ========================================================= */

.category-link-list-new {
  display: grid;
  gap: 3px;
  padding: 9px;
}

.category-link-list-new a {
  display: grid;
  grid-template-columns:
    27px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 10px;
  color: #29495f;
  font-size: 0.79rem;
  font-weight: 800;
  line-height: 1.2;
}

.category-link-list-new a > span {
  color: #168f86;
  text-align: center;
  font-weight: 900;
}

.category-link-list-new a:hover,
.category-link-list-new a.active {
  background: #e8f7f4;
  color: #087e76;
}

.category-link-list-new a.active {
  box-shadow:
    inset 3px 0 0 #078f85;
}

.category-quiz-card-new {
  padding: 20px;
  background:
    linear-gradient(
      150deg,
      #082642,
      #0a3e66
    );
  color: #ffffff;
}

.category-side-icon-new {
  margin-bottom: 10px;
  font-size: 2.25rem;
}

.category-quiz-card-new h2,
.category-cta-card-new h2 {
  margin: 0 0 8px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.25rem;
}

.category-quiz-card-new p,
.category-cta-card-new p {
  margin: 0 0 14px;
  color:
    rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.55;
}

.category-quiz-card-new a {
  color: #a8f5e9;
  font-size: 0.82rem;
  font-weight: 900;
}


/* =========================================================
   CATEGORY RESULTS
   ========================================================= */

.category-results-area-new {
  min-width: 0;
}

.category-results-toolbar-new {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid #d5e4eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 11px 27px
    rgba(11, 48, 77, 0.07);
}

.category-results-toolbar-new h2 {
  margin: 8px 0 4px;
  color: #092a46;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.85rem;
}

.category-results-toolbar-new p {
  margin: 0;
  color: #6a8192;
  font-size: 0.9rem;
}

.category-sort-control-new {
  display: grid;
  gap: 7px;
  color: #36546a;
  font-size: 0.78rem;
  font-weight: 900;
}

.category-sort-control-new select {
  min-width: 190px;
  min-height: 43px;
  border: 1px solid #cbdce4;
  border-radius: 11px;
  background: #ffffff;
  color: #15364d;
  padding: 9px 12px;
  outline: none;
}

.category-results-grid-new {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
  gap: 18px;
}


/* =========================================================
   CATEGORY GIG CARDS
   ========================================================= */

.category-gig-card-new {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d6e4ea;
  border-radius: 18px;
  background: #ffffff;
  color: inherit;
  box-shadow:
    0 12px 29px
    rgba(11, 48, 77, 0.075);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.category-gig-card-new:hover {
  transform: translateY(-4px);
  box-shadow:
    0 19px 36px
    rgba(11, 48, 77, 0.13);
}

.category-gig-image-new {
  position: relative;
  height: 172px;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #e9f5f8,
      #d8edf3
    );
}

.category-gig-image-new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-gig-image-new.is-missing::after {
  content: "GigsAhoy";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #4b7185;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.45rem;
  font-weight: 900;
}

.category-card-badge-new {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width:
    calc(100% - 24px);
  overflow: hidden;
  border-radius: 999px;
  background:
    rgba(6, 37, 65, 0.9);
  color: #ffffff;
  padding: 6px 9px;
  font-size: 0.66rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-gig-body-new {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px;
}

.category-gig-body-new h3 {
  margin: 0 0 8px;
  color: #082642;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.32rem;
  line-height: 1.12;
}

.category-gig-body-new > p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 14px;
  color: #617889;
  font-size: 0.82rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  
}

.category-gig-meta-new {
  display: grid;
  grid-template-columns:
    1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.category-gig-meta-new div {
  min-width: 0;
  padding: 10px;
  border-radius: 11px;
  background: #f2f8fa;
}

.category-gig-meta-new small {
  display: block;
  margin-bottom: 4px;
  color: #78909e;
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.category-gig-meta-new strong {
  display: block;
  overflow: hidden;
  color: #16384f;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-card-link-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 12px;
  border-top:
    1px solid #e4edf1;
  color: #087f77;
  font-size: 0.78rem;
  font-weight: 900;
}


/* =========================================================
   LOADING AND EMPTY STATES
   ========================================================= */

.category-loading-new,
.category-empty-new,
.category-error-new {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px solid #d5e4eb;
  border-radius: 18px;
  background: #ffffff;
  color: #61798a;
  text-align: center;
  box-shadow:
    0 11px 27px
    rgba(11, 48, 77, 0.06);
}

.category-empty-new h3,
.category-error-new h3 {
  margin: 0 0 8px;
  color: #0b2c47;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 1.55rem;
}


/* =========================================================
   RIGHT SIDEBAR
   ========================================================= */

.category-mini-list-new,
.category-resource-links-new {
  display: grid;
  gap: 0;
}

.category-mini-item-new,
.category-resource-links-new a {
  display: grid;
  grid-template-columns:
    42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom:
    1px solid #e6eef2;
  color: #24475e;
}

.category-mini-item-new:last-child,
.category-resource-links-new a:last-child {
  border-bottom: 0;
}

.category-mini-thumb-new,
.category-resource-icon-new {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: #e7f5f3;
  color: #087f77;
  font-weight: 900;
}

.category-mini-thumb-new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-mini-copy-new strong,
.category-resource-links-new strong {
  display: block;
  color: #11344d;
  font-size: 0.79rem;
  line-height: 1.25;
}

.category-mini-copy-new small,
.category-resource-links-new small {
  display: block;
  margin-top: 3px;
  color: #728a99;
  font-size: 0.68rem;
  font-weight: 700;
}

.category-mini-loading-new {
  margin: 0;
  padding: 16px;
  color: #718897;
  font-size: 0.8rem;
}

.category-mini-item-new:hover,
.category-resource-links-new a:hover {
  background: #eef9f7;
}

.category-cta-card-new {
  padding: 20px;
  background:
    linear-gradient(
      145deg,
      #078f85,
      #126f9d
    );
  color: #ffffff;
}

.category-cta-card-new > span {
  display: block;
  margin-bottom: 9px;
  font-size: 2rem;
}

.category-cta-card-new a {
  color: #ffffff;
  font-size: 0.83rem;
  font-weight: 900;
}


/* =========================================================
   RESPONSIVE CATEGORY LAYOUT
   ========================================================= */

@media (max-width: 1350px) {
  .category-three-column-new {
    grid-template-columns:
      220px
      minmax(0, 1fr)
      260px;
    gap: 17px;
  }

  .category-results-grid-new {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .category-hero-new,
  .category-three-column-new {
    grid-template-columns: 1fr;
  }

  .category-left-rail-new,
  .category-right-rail-new {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .category-left-rail-new {
    grid-template-columns:
      1fr 1fr;
  }

  .category-right-rail-new {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .category-page-new {
    width:
      min(100% - 24px, 1700px);
    padding-top: 18px;
  }

  .category-hero-copy-new,
  .category-hero-summary-new {
    padding: 24px;
  }

  .category-hero-copy-new h1 {
    font-size: 2.55rem;
  }

  .category-results-toolbar-new {
    align-items: stretch;
    flex-direction: column;
  }

  .category-sort-control-new select {
    width: 100%;
    min-width: 0;
  }

  .category-results-grid-new,
  .category-left-rail-new,
  .category-right-rail-new {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   GIG PAGE — UNIFIED SECTION STYLING
   Removes rainbow section colors and uses one cohesive style.
   Paste at the VERY BOTTOM of assets/css/styles.css
   ========================================================= */


/* =========================================================
   MAIN ARTICLE SECTIONS
   ========================================================= */

.gig-detail-page #gigArticleContent {
  display: flex;
  flex-direction: column;
  gap: 22px;
}


/* Override every colored card class inside the gig article */

.gig-detail-page #gigArticleContent .color-card,
.gig-detail-page #gigArticleContent section[class*="card-"],
.gig-detail-page #gigArticleContent .card-green,
.gig-detail-page #gigArticleContent .card-blue,
.gig-detail-page #gigArticleContent .card-orange,
.gig-detail-page #gigArticleContent .card-purple,
.gig-detail-page #gigArticleContent .card-red,
.gig-detail-page #gigArticleContent .card-yellow,
.gig-detail-page #gigArticleContent .card-pink,
.gig-detail-page #gigArticleContent .card-indigo,
.gig-detail-page #gigArticleContent .card-teal {
  margin: 0 !important;
  padding: 28px 30px !important;

  border: 1px solid #d8e5eb !important;
  border-left: 5px solid #078f85 !important;
  border-radius: 18px !important;

  background: #ffffff !important;
  background-image: none !important;

  color: #17364d !important;

  box-shadow:
    0 12px 28px rgba(8, 42, 68, 0.07) !important;
}


/* Remove colored decorative overlays */

.gig-detail-page #gigArticleContent .color-card::before,
.gig-detail-page #gigArticleContent .color-card::after,
.gig-detail-page #gigArticleContent section[class*="card-"]::before,
.gig-detail-page #gigArticleContent section[class*="card-"]::after {
  background-image: none !important;
}


/* =========================================================
   SECTION NUMBERS
   ========================================================= */

.gig-detail-page #gigArticleContent .section-number,
.gig-detail-page #gigArticleContent .gig-section-heading > span {
  display: grid !important;
  flex: 0 0 40px !important;

  width: 40px !important;
  height: 40px !important;

  place-items: center !important;

  border: 0 !important;
  border-radius: 50% !important;

  background:
    linear-gradient(
      135deg,
      #0ba092 0%,
      #087b74 100%
    ) !important;

  color: #ffffff !important;

  font-size: 16px !important;
  font-weight: 900 !important;

  box-shadow:
    0 8px 18px rgba(8, 137, 126, 0.2) !important;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.gig-detail-page #gigArticleContent .section-main > h2,
.gig-detail-page #gigArticleContent .color-card h2,
.gig-detail-page #gigArticleContent .gig-section-heading h2 {
  margin-top: 0 !important;

  color: #082642 !important;

  font-family:
    Georgia,
    "Times New Roman",
    serif !important;

  font-size:
    clamp(28px, 2.6vw, 40px) !important;

  line-height: 1.1 !important;
  letter-spacing: -0.025em !important;
}


.gig-detail-page #gigArticleContent h3,
.gig-detail-page #gigArticleContent h4 {
  color: #0c304c !important;
}


/* =========================================================
   SECTION TEXT
   ========================================================= */

.gig-detail-page #gigArticleContent p,
.gig-detail-page #gigArticleContent li,
.gig-detail-page #gigArticleContent td {
  color: #36546a !important;
}


.gig-detail-page #gigArticleContent p {
  line-height: 1.75 !important;
}


.gig-detail-page #gigArticleContent strong {
  color: #12364f;
}


/* =========================================================
   LEFT "IN THIS GUIDE" NAVIGATION
   Removes the rainbow navigation rows.
   ========================================================= */

.gig-detail-page .gig-guide-nav {
  padding: 10px !important;

  border: 1px solid #d8e5eb !important;
  border-radius: 18px !important;

  background: #ffffff !important;

  box-shadow:
    0 12px 28px rgba(8, 42, 68, 0.08) !important;
}


.gig-detail-page .gig-guide-title {
  margin-bottom: 8px !important;
  padding: 11px 13px !important;

  border-radius: 11px !important;

  background:
    linear-gradient(
      135deg,
      #078f85 0%,
      #1476a3 100%
    ) !important;

  color: #ffffff !important;
}


/* Force every navigation link to use the same styling */

.gig-detail-page .gig-guide-nav a,
.gig-detail-page .gig-guide-nav a:nth-child(n) {
  display: grid !important;
  grid-template-columns: 26px minmax(0, 1fr) !important;
  gap: 9px !important;
  align-items: start !important;

  margin: 3px 0 !important;
  padding: 9px 8px !important;

  border: 1px solid transparent !important;
  border-left: 3px solid transparent !important;
  border-radius: 10px !important;

  background: #ffffff !important;
  background-image: none !important;

  color: #193a52 !important;

  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;

  box-shadow: none !important;
}


/* Same teal number circle for every link */

.gig-detail-page .gig-guide-nav a span,
.gig-detail-page .gig-guide-nav a:nth-child(n) span {
  display: grid !important;

  width: 24px !important;
  height: 24px !important;

  place-items: center !important;

  border: 0 !important;
  border-radius: 50% !important;

  background: #0b9187 !important;
  background-image: none !important;

  color: #ffffff !important;

  font-size: 11px !important;
  font-weight: 900 !important;

  box-shadow: none !important;
}


/* Hover state */

.gig-detail-page .gig-guide-nav a:hover {
  border-color: #d3e9e5 !important;
  background: #eff9f7 !important;
  color: #087c74 !important;
}


/* Active section */

.gig-detail-page .gig-guide-nav a.active {
  border-color: #c9e7e2 !important;
  border-left-color: #078f85 !important;

  background: #e8f7f4 !important;

  color: #087a72 !important;
}


/* =========================================================
   TABLES
   Keep all table headings consistent.
   ========================================================= */

.gig-detail-page #gigArticleContent table th {
  background: #0b617b !important;
  color: #ffffff !important;
}


.gig-detail-page #gigArticleContent table tr:nth-child(even) td {
  background: #f6fafb !important;
}


/* =========================================================
   FIT GRIDS AND SMALL CONTENT CARDS
   ========================================================= */

.gig-detail-page #gigArticleContent .fit-grid > div,
.gig-detail-page #gigArticleContent .day-box,
.gig-detail-page #gigArticleContent .steps-strip > div,
.gig-detail-page #gigArticleContent .client-methods > div,
.gig-detail-page #gigArticleContent .resource-card-grid > a,
.gig-detail-page #gigArticleContent .related-gig-grid > a {
  border: 1px solid #dce7ec !important;

  background: #ffffff !important;
  background-image: none !important;

  box-shadow:
    0 8px 20px rgba(8, 42, 68, 0.055) !important;
}


/* =========================================================
   CALLOUTS
   Keep one restrained accent rather than many colors.
   ========================================================= */

.gig-detail-page #gigArticleContent .gig-note-box,
.gig-detail-page #gigArticleContent .gig-callout,
.gig-detail-page #gigArticleContent .gig-related-guide,
.gig-detail-page #gigArticleContent .gig-related-tool,
.gig-detail-page #gigArticleContent .gig-next-step-box {
  border: 1px solid #cce8e3 !important;
  border-left: 5px solid #078f85 !important;

  background:
    linear-gradient(
      135deg,
      #eff9f7 0%,
      #ffffff 100%
    ) !important;

  color: #26485e !important;
}


/* Remove the separate gold note variation */

.gig-detail-page #gigArticleContent .gig-note-box.gold,
.gig-detail-page #gigArticleContent .gig-callout.warning {
  border-color: #cce8e3 !important;
  border-left-color: #078f85 !important;

  background:
    linear-gradient(
      135deg,
      #eff9f7 0%,
      #ffffff 100%
    ) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
  .gig-detail-page #gigArticleContent .color-card,
  .gig-detail-page #gigArticleContent section[class*="card-"] {
    padding: 22px 20px !important;
  }

  .gig-detail-page #gigArticleContent .section-number,
  .gig-detail-page #gigArticleContent .gig-section-heading > span {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
  }
}
/* =========================================================
DIRECT HEADER NAVIGATION
========================================================= */

@media (min-width: 981px) {
.compact-header-actions {
grid-template-columns:
minmax(320px, 1fr)
auto
auto;
}
}

.compact-direct-nav {
gap: 32px;
}

.compact-direct-nav > a {
position: relative;
}

.compact-direct-nav > a::after {
content: "";
position: absolute;
left: 33px;
right: 8px;
bottom: 3px;
height: 3px;
border-radius: 999px;
background: transparent;
}

.compact-direct-nav > a:hover::after,
.compact-direct-nav > a.active::after {
background: var(--teal-2);
}

.compact-direct-nav > a.active {
color: #b8fff2;
}

@media (max-width: 1250px) {
.compact-direct-nav {
gap: 19px;
}
}

@media (max-width: 980px) {
.compact-direct-nav {
gap: 4px;
}

.compact-direct-nav > a::after {
display: none;
}
}

/* =========================================================
AFFILIATES PAGE
========================================================= */

.affiliates-page-body {
background:
radial-gradient(
circle at 92% 8%,
rgba(66, 180, 214, 0.2),
transparent 34rem
),
linear-gradient(
180deg,
#f8fcfd 0%,
#edf7fa 100%
);
}

.affiliates-page-body *,
.affiliates-page-body *::before,
.affiliates-page-body *::after {
box-sizing: border-box;
}

.affiliates-page-shell {
width:
min(
1500px,
calc(100% - 34px)
);
margin: 0 auto;
padding: 22px 0 70px;
}

.affiliates-breadcrumbs {
display: flex;
align-items: center;
gap: 8px;
margin: 0 0 18px;
color: #718797;
font-size: 12px;
font-weight: 800;
}

.affiliates-breadcrumbs a {
color: #1670a6;
}

.affiliates-breadcrumbs strong {
color: #18384f;
}

.affiliates-hero {
display: grid;
grid-template-columns:
minmax(0, 1fr)
330px;
gap: 22px;
margin-bottom: 20px;
}

.affiliates-hero-copy,
.affiliates-hero-card {
border: 1px solid #d4e4ea;
border-radius: 23px;
box-shadow:
0 15px 36px
rgba(9, 43, 69, 0.085);
}

.affiliates-hero-copy {
padding:
clamp(
30px,
5vw,
54px
);
background:
radial-gradient(
circle at 92% 12%,
rgba(18, 163, 150, 0.15),
transparent 18rem
),
#ffffff;
}

.affiliates-kicker {
display: inline-flex;
width: fit-content;
border-radius: 999px;
padding: 7px 12px;
background: #def5ef;
color: #087b72;
font-size: 11px;
font-weight: 900;
letter-spacing: 0.045em;
text-transform: uppercase;
}

.affiliates-hero h1 {
max-width: 900px;
margin: 16px 0;
color: #082642;
font-family:
Georgia,
"Times New Roman",
serif;
font-size:
clamp(
43px,
5vw,
72px
);
line-height: 0.98;
letter-spacing: -0.045em;
}

.affiliates-hero-copy > p {
max-width: 920px;
margin: 0 0 13px;
color: #4c687b;
font-size: 15px;
line-height: 1.72;
}

.affiliates-hero-actions {
display: flex;
flex-wrap: wrap;
gap: 11px;
margin-top: 23px;
}

.affiliates-hero-actions a {
display: inline-flex;
min-height: 46px;
align-items: center;
justify-content: center;
border: 1px solid #cadce4;
border-radius: 11px;
padding: 10px 18px;
background: #ffffff;
color: #18384f;
font-size: 13px;
font-weight: 900;
}

.affiliates-hero-actions a:first-child {
border-color: transparent;
background:
linear-gradient(
135deg,
#078f85,
#117aa5
);
color: #ffffff;
}

.affiliates-hero-card {
display: flex;
flex-direction: column;
justify-content: center;
padding: 29px;
background:
radial-gradient(
circle at top right,
rgba(51, 186, 169, 0.22),
transparent 13rem
),
linear-gradient(
145deg,
#082642,
#0b4773
);
color: #ffffff;
}

.affiliates-hero-icon {
display: grid;
width: 62px;
height: 62px;
place-items: center;
margin-bottom: 18px;
border-radius: 18px;
background:
rgba(
255,
255,
255,
0.12
);
font-size: 30px;
}

.affiliates-hero-card strong {
margin-bottom: 10px;
color: #ffffff;
font-family:
Georgia,
"Times New Roman",
serif;
font-size: 24px;
line-height: 1.15;
}

.affiliates-hero-card p {
margin: 0;
color:
rgba(
255,
255,
255,
0.76
);
font-size: 13px;
line-height: 1.65;
}

.affiliates-disclosure {
display: grid;
grid-template-columns:
190px
minmax(0, 1fr);
gap: 18px;
align-items: start;
margin-bottom: 18px;
padding: 18px 20px;
border: 1px solid #d5e5ea;
border-left: 5px solid #078f85;
border-radius: 14px;
background: #ffffff;
}

.affiliates-disclosure span {
color: #087d75;
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
}

.affiliates-disclosure p {
margin: 0;
color: #526e80;
font-size: 13px;
line-height: 1.65;
}

.affiliates-benefits {
display: grid;
grid-template-columns:
repeat(
3,
minmax(0, 1fr)
);
gap: 15px;
margin-bottom: 28px;
}

.affiliates-benefits article {
display: grid;
grid-template-columns:
44px
minmax(0, 1fr);
gap: 13px;
padding: 19px;
border: 1px solid #d8e5ea;
border-radius: 15px;
background: #ffffff;
}

.affiliates-benefits article > span {
display: grid;
width: 42px;
height: 42px;
place-items: center;
border-radius: 50%;
background: #e4f6f2;
color: #087f77;
font-weight: 900;
}

.affiliates-benefits h2 {
margin: 0 0 4px;
color: #0a2c47;
font-size: 16px;
}

.affiliates-benefits p {
margin: 0;
color: #667d8d;
font-size: 12px;
line-height: 1.5;
}

.affiliates-directory {
scroll-margin-top: 170px;
}

.affiliates-directory-heading {
display: flex;
align-items: end;
justify-content: space-between;
gap: 22px;
margin-bottom: 17px;
}

.affiliates-directory-heading h2 {
margin: 9px 0 5px;
color: #082642;
font-family:
Georgia,
"Times New Roman",
serif;
font-size: 36px;
}

.affiliates-directory-heading p {
margin: 0;
color: #647d8d;
font-size: 13px;
}

.affiliates-controls {
display: grid;
grid-template-columns:
minmax(240px, 1.4fr)
180px
165px
auto;
gap: 9px;
align-items: end;
min-width: 690px;
}

.affiliates-controls label {
display: grid;
gap: 5px;
color: #526e80;
font-size: 10px;
font-weight: 900;
}

.affiliates-search {
display: flex !important;
min-height: 42px;
align-items: center;
gap: 9px;
padding: 0 12px;
border: 1px solid #cbdde5;
border-radius: 10px;
background: #ffffff;
}

.affiliates-search input {
width: 100%;
border: 0;
outline: 0;
background: transparent;
color: #17364d;
}

.affiliates-controls select,
.affiliates-controls button {
min-height: 42px;
border: 1px solid #cbdde5;
border-radius: 10px;
background: #ffffff;
color: #17364d;
padding: 8px 11px;
}

.affiliates-controls button {
font-weight: 900;
cursor: pointer;
}

.affiliates-grid {
display: grid;
grid-template-columns:
repeat(
3,
minmax(0, 1fr)
);
gap: 17px;
}

.affiliate-card {
display: flex;
min-width: 0;
flex-direction: column;
padding: 20px;
border: 1px solid #d6e5ea;
border-radius: 17px;
background: #ffffff;
box-shadow:
0 11px 27px
rgba(9, 43, 69, 0.065);
}

.affiliate-card-top {
display: grid;
grid-template-columns:
49px
minmax(0, 1fr);
gap: 12px;
align-items: center;
}

.affiliate-retailer-icon {
display: grid;
width: 49px;
height: 49px;
place-items: center;
border-radius: 13px;
background: #e7f5f3;
font-size: 22px;
}

.affiliate-card small {
color: #087f77;
font-size: 10px;
font-weight: 900;
text-transform: uppercase;
}

.affiliate-card h3 {
margin: 4px 0 0;
color: #0a2b47;
font-family:
Georgia,
"Times New Roman",
serif;
font-size: 20px;
line-height: 1.14;
}

.affiliate-card > p {
margin: 15px 0;
color: #61798a;
font-size: 12px;
line-height: 1.58;
}

.affiliate-related-pages {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 16px;
}

.affiliate-related-pages strong {
width: 100%;
color: #526e80;
font-size: 10px;
text-transform: uppercase;
}

.affiliate-related-pages a,
.affiliate-related-pages span {
border-radius: 999px;
padding: 5px 8px;
background: #eef7f9;
color: #28617d;
font-size: 9px;
font-weight: 800;
}

.affiliate-shop-button {
display: flex;
min-height: 42px;
align-items: center;
justify-content: space-between;
margin-top: auto;
border-radius: 10px;
padding: 9px 13px;
background:
linear-gradient(
135deg,
#078f85,
#117aa5
);
color: #ffffff !important;
font-size: 12px;
font-weight: 900;
}

.affiliates-loading,
.affiliates-empty {
grid-column: 1 / -1;
padding: 40px;
border: 1px solid #d6e5ea;
border-radius: 17px;
background: #ffffff;
color: #657d8d;
text-align: center;
}

.affiliates-empty > span {
display: block;
margin-bottom: 8px;
font-size: 38px;
}

.affiliates-empty h3 {
margin: 0 0 7px;
color: #0a2b47;
font-family:
Georgia,
"Times New Roman",
serif;
font-size: 24px;
}

.affiliates-empty p {
max-width: 650px;
margin: 0 auto;
line-height: 1.6;
}

.affiliates-final-note {
display: flex;
align-items: center;
justify-content: space-between;
gap: 25px;
margin-top: 30px;
padding: 27px 30px;
border-radius: 18px;
background:
linear-gradient(
135deg,
#082642,
#0b4773
);
color: #ffffff;
}

.affiliates-final-note span {
color: #a8eee5;
font-size: 11px;
font-weight: 900;
text-transform: uppercase;
}

.affiliates-final-note h2 {
margin: 5px 0 7px;
color: #ffffff;
font-family:
Georgia,
"Times New Roman",
serif;
font-size: 27px;
}

.affiliates-final-note p {
max-width: 850px;
margin: 0;
color:
rgba(
255,
255,
255,
0.75
);
font-size: 13px;
line-height: 1.6;
}

.affiliates-final-note > a {
display: inline-flex;
min-width: 140px;
min-height: 44px;
align-items: center;
justify-content: center;
border-radius: 10px;
background: #ffffff;
color: #0a5672;
font-weight: 900;
}

@media (max-width: 1100px) {
.affiliates-hero {
grid-template-columns: 1fr;
}

.affiliates-directory-heading {
align-items: stretch;
flex-direction: column;
}

.affiliates-controls {
min-width: 0;
}

.affiliates-grid {
grid-template-columns:
repeat(
2,
minmax(0, 1fr)
);
}
}

@media (max-width: 780px) {
.affiliates-benefits,
.affiliates-grid {
grid-template-columns: 1fr;
}

.affiliates-controls {
grid-template-columns:
1fr
1fr;
}

.affiliates-search {
grid-column: 1 / -1;
}

.affiliates-disclosure {
grid-template-columns: 1fr;
}

.affiliates-final-note {
align-items: flex-start;
flex-direction: column;
}
}

@media (max-width: 540px) {
.affiliates-page-shell {
width:
min(
100% - 22px,
1500px
);
}

.affiliates-hero-copy,
.affiliates-hero-card {
padding: 23px;
}

.affiliates-hero h1 {
font-size: 40px;
}

.affiliates-controls {
grid-template-columns: 1fr;
}

.affiliates-search {
grid-column: auto;
}

.affiliates-controls button {
width: 100%;
}
}
/* =========================================================
   AT A GLANCE BAND
   ========================================================= */

.gig-detail-page .gig-at-a-glance-section {
  scroll-margin-top: 165px;
  margin: 22px 0 18px;
  padding: 20px;
  border: 1px solid #d5e5eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(8, 42, 68, 0.07);
}

.gig-detail-page .gig-at-a-glance-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.gig-detail-page .gig-at-a-glance-heading > span {
  color: #087f77;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gig-detail-page .gig-at-a-glance-heading h2 {
  margin: 0;
  color: #0a2b47;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.1;
}

.gig-detail-page .gig-at-a-glance-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 9px;
}

.gig-detail-page .glance-rating-item {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 78px;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 10px;
  border: 1px solid #d9e8ee;
  border-radius: 12px;
  background:
    linear-gradient(
      180deg,
      #f8fcfd 0%,
      #eef7fa 100%
    );
}

.gig-detail-page .glance-rating-label,
.gig-detail-page .glance-rating-item > span {
  display: block;
  color: #4d6c7f;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.gig-detail-page .glance-rating-item > strong {
  color: #087f77 !important;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
}

.gig-detail-page .glance-rating-item.score-low,
.gig-detail-page .glance-rating-item.score-mid,
.gig-detail-page .glance-rating-item.score-good,
.gig-detail-page .glance-rating-item.score-high {
  border-color: #d9e8ee !important;
  background:
    linear-gradient(
      180deg,
      #f8fcfd 0%,
      #eef7fa 100%
    ) !important;
}

.gig-detail-page .glance-rating-item.score-low > strong,
.gig-detail-page .glance-rating-item.score-mid > strong,
.gig-detail-page .glance-rating-item.score-good > strong,
.gig-detail-page .glance-rating-item.score-high > strong {
  color: #087f77 !important;
}

.gig-detail-page .glance-rating-item .rating-tooltip {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: calc(100% + 8px);
  width: 210px;
  max-width: 70vw;
  padding: 10px 11px;
  border-radius: 10px;
  background: #082642;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(5px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
  box-shadow: 0 10px 24px rgba(5, 30, 49, 0.22);
}

.gig-detail-page .glance-rating-item:hover .rating-tooltip,
.gig-detail-page .glance-rating-item:focus-within .rating-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* =========================================================
   UNIFORM SEA-BLUE LEFT NAVIGATION
   ========================================================= */

.gig-detail-page .gig-guide-nav.gig-guide-nav-unified {
  padding: 10px !important;
  border: 1px solid #d3e4eb !important;
  border-radius: 17px !important;
  background: #ffffff !important;
}

.gig-detail-page .gig-guide-nav.gig-guide-nav-unified .gig-guide-title {
  margin: 0 0 8px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  background:
    linear-gradient(
      135deg,
      #0a7894 0%,
      #087f77 100%
    ) !important;
  color: #ffffff !important;
}

.gig-detail-page .gig-guide-nav.gig-guide-nav-unified a,
.gig-detail-page .gig-guide-nav.gig-guide-nav-unified a:nth-child(n),
.gig-detail-page .gig-guide-nav.gig-guide-nav-unified a[class*="nav-card-"] {
  display: grid !important;
  grid-template-columns: 25px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: start !important;
  margin: 3px 0 !important;
  padding: 8px 9px !important;
  border: 1px solid #d5e7ee !important;
  border-left: 4px solid #6aaec1 !important;
  border-radius: 9px !important;
  background: #edf6fa !important;
  background-image: none !important;
  color: #183b53 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  box-shadow: none !important;
}

.gig-detail-page .gig-guide-nav.gig-guide-nav-unified a > span,
.gig-detail-page .gig-guide-nav.gig-guide-nav-unified a:nth-child(n) > span {
  display: grid !important;
  width: 23px !important;
  height: 23px !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #1688a3 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 950 !important;
  box-shadow: none !important;
}

.gig-detail-page .gig-guide-nav.gig-guide-nav-unified a:hover {
  border-color: #aad1dc !important;
  border-left-color: #087f77 !important;
  background: #e2f2f6 !important;
  color: #0b6277 !important;
}

.gig-detail-page .gig-guide-nav.gig-guide-nav-unified a.active {
  border-color: #0a7894 !important;
  border-left-color: #064b65 !important;
  background:
    linear-gradient(
      135deg,
      #0a7894 0%,
      #087f77 100%
    ) !important;
  color: #ffffff !important;
}

.gig-detail-page .gig-guide-nav.gig-guide-nav-unified a.active > span {
  background: #ffffff !important;
  color: #087f77 !important;
}

.gig-detail-page .gig-guide-nav.gig-guide-nav-unified .gig-nav-glance {
  font-weight: 950 !important;
}


/* =========================================================
   RIGHT RAIL AND REUSABLE PARTNER CARD
   ========================================================= */

.gig-detail-page .gig-right-rail {
  display: grid;
  gap: 18px;
  align-content: start;
}

.gig-detail-page .sitewide-partner-card {
  margin: 0;
  padding: 16px;
}

.gig-detail-page .sitewide-partner-card > h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.gig-detail-page .sitewide-partner-card .home-partner-box {
  min-height: 84px;
}

.gig-detail-page .sitewide-partner-card .home-partner-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.gig-detail-page .sitewide-partner-card .home-partner-box p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1450px) {
  .gig-detail-page .gig-at-a-glance-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1250px) {
  .gig-detail-page .sitewide-partner-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .gig-detail-page .gig-at-a-glance-section {
    padding: 16px;
  }

  .gig-detail-page .gig-at-a-glance-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .gig-detail-page .gig-at-a-glance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gig-detail-page .glance-rating-item {
    min-height: 72px;
  }
}
.gig-glance-section,
.gig-at-a-glance-section {
margin: 18px 0 18px;
padding: 18px 18px 14px;
border: 1px solid #d7e5ea;
border-radius: 18px;
background: rgba(255, 255, 255, 0.72);
box-shadow: 0 10px 24px rgba(8, 38, 66, 0.05);
}

.gig-glance-section .section-kicker,
.gig-at-a-glance-section .section-kicker {
display: inline-block;
margin-bottom: 6px;
color: #118b83;
font-size: 12px;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
}

.gig-glance-section h2,
.gig-at-a-glance-section h2 {
margin: 0 0 14px;
color: #0b2843;
font-size: 20px;
line-height: 1.15;
}

#gigRatingBars,
.gig-glance-grid {
display: grid;
grid-template-columns: repeat(8, minmax(0, 1fr));
gap: 10px;
}

.gig-glance-box {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 74px;
padding: 9px 10px 8px;
border: 1px solid #d5e3e9;
border-radius: 12px;
background: #ffffff;
box-shadow: 0 4px 10px rgba(8, 38, 66, 0.04);
}

.gig-glance-label {
display: block;
color: #496273;
font-size: 10px;
font-weight: 800;
line-height: 1.08;
letter-spacing: 0.03em;
text-transform: uppercase;
}

.gig-glance-score {
display: block;
margin-top: 6px;
color: #0b2843;
font-size: 26px;
font-weight: 900;
line-height: 1;
}

.gig-glance-box.score-low .gig-glance-score {
color: #d86a35;
}

.gig-glance-box.score-mid .gig-glance-score {
color: #c98a22;
}

.gig-glance-box.score-good .gig-glance-score {
color: #148d85;
}

.gig-glance-box.score-high .gig-glance-score {
color: #0d9a76;
}

@media (max-width: 1300px) {
#gigRatingBars,
.gig-glance-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}

@media (max-width: 700px) {
#gigRatingBars,
.gig-glance-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gig-glance-box {
min-height: 70px;
}

.gig-glance-score {
font-size: 22px;
}
}
.gig-glance-box {
display: grid;
grid-template-rows:
minmax(24px, auto)
auto;
align-content: space-between;
min-width: 0;
min-height: 70px;
padding: 9px 10px 8px;
}

.gig-glance-label {
display: block;
min-height: 22px;
max-width: 100%;
overflow-wrap: normal;
word-break: normal;
hyphens: none;
text-wrap: balance;
line-height: 1.08;
}

.gig-glance-score {
align-self: end;
margin-top: 5px;
white-space: nowrap;
}

@media (min-width: 1301px) {
.gig-glance-label {
font-size: 9px;
}

.gig-glance-score {
font-size: 22px;
}
}

@media (max-width: 1300px) {
.gig-glance-label {
min-height: 24px;
font-size: 10px;
}
}

@media (max-width: 700px) {
.gig-glance-box {
min-height: 68px;
}

.gig-glance-label {
min-height: 22px;
font-size: 9px;
}

.gig-glance-score {
font-size: 20px;
}
}
.home-partner-card,
.sitewide-partner-card,
#featuredPartnerSlot {
display: none !important;
}
/* =========================================================
   Affiliates Coming Soon Page
   ========================================================= */

.coming-soon-page {
  min-height: calc(100vh - 220px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background:
    radial-gradient(
      circle at top,
      rgba(117, 176, 201, 0.22),
      transparent 45%
    ),
    #f4efe6;
}

.coming-soon-card {
  width: min(720px, 100%);
  padding: 56px 40px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(8, 47, 73, 0.14);
  border-radius: 24px;
  box-shadow:
    0 18px 50px rgba(8, 47, 73, 0.12);
}

.coming-soon-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #dcecf3;
  color: #083049;
  font-size: 38px;
}

.coming-soon-kicker {
  margin: 0 0 10px;
  color: #31708e;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coming-soon-card h1 {
  margin: 0;
  color: #083049;
  font-size: clamp(40px, 7vw, 66px);
  line-height: 1;
}

.coming-soon-text {
  max-width: 580px;
  margin: 24px auto 0;
  color: #334e5d;
  font-size: 19px;
  line-height: 1.7;
}

.coming-soon-note {
  max-width: 540px;
  margin: 14px auto 0;
  color: #647985;
  font-size: 16px;
  line-height: 1.65;
}

.coming-soon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #083049;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.coming-soon-button:hover {
  background: #31708e;
  transform: translateY(-2px);
}

.coming-soon-button:focus-visible {
  outline: 3px solid #d7b56d;
  outline-offset: 4px;
}

@media (max-width: 600px) {
  .coming-soon-page {
    padding: 36px 16px;
  }

  .coming-soon-card {
    padding: 42px 24px;
    border-radius: 18px;
  }

  .coming-soon-text {
    font-size: 17px;
  }
}

/* GIGSAHOY TOOL LEFT NAV + SECTION NUMBER CLEANUP */
.tool-detail-page .tool-section-nav a {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 10px 12px !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  line-height: 1.3 !important;
}

.tool-detail-page .tool-section-nav a > span {
  display: none !important;
}

.tool-detail-page .tool-content-section > .gig-section-heading > span,
.tool-detail-page .interactive-tool-section > .gig-section-heading > span,
.tool-detail-page .tool-results-section > .gig-section-heading > span {
  display: none !important;
}

.tool-detail-page .tool-content-section > .gig-section-heading,
.tool-detail-page .interactive-tool-section > .gig-section-heading,
.tool-detail-page .tool-results-section > .gig-section-heading {
  display: block !important;
}

.tool-detail-page .tool-content-section > .gig-section-heading h2,
.tool-detail-page .interactive-tool-section > .gig-section-heading h2,
.tool-detail-page .tool-results-section > .gig-section-heading h2 {
  margin-left: 0 !important;
}


/* GIGSAHOY TOOL LEFT RAIL TOP ALIGNMENT */
.tool-detail-page .tool-page-shell {
  padding-top: 0 !important;
}

.tool-detail-page .tool-left-rail {
  align-self: start !important;
  position: sticky !important;
  top: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: none !important;
}

.tool-detail-page .tool-left-rail > *:first-child,
.tool-detail-page .tool-left-rail .tool-section-nav {
  margin-top: 0 !important;
}

/* =========================================================
   Homepage Guide Cards — Match Gig Card Layout
   ========================================================= */

.learning-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #d7e3e8 !important;
  border-radius: 16px !important;
  text-decoration: none !important;
}

.learning-card .learning-logo,
.learning-card .learning-image-wrap {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: 155px !important;
  min-height: 155px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.learning-card .learning-card-image {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 155px !important;
  min-height: 155px !important;
  object-fit: cover !important;
  object-position: center !important;
}

.learning-card h3 {
  position: static !important;
  inset: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 14px 14px 6px !important;
  color: #06233f !important;
  background: transparent !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  text-shadow: none !important;
  z-index: auto !important;
}

.learning-card p {
  position: static !important;
  inset: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 14px 16px !important;
  color: #58718a !important;
  background: transparent !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  text-shadow: none !important;
  z-index: auto !important;
}

.learning-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(6, 35, 63, 0.12);
}

@media (max-width: 720px) {
  .learning-card {
    border-radius: 14px !important;
  }

  .learning-card .learning-logo,
  .learning-card .learning-image-wrap,
  .learning-card .learning-card-image {
    height: 165px !important;
    min-height: 165px !important;
  }

  .learning-card h3 {
    padding: 13px 14px 5px !important;
    font-size: 17px !important;
  }

  .learning-card p {
    padding: 0 14px 15px !important;
    font-size: 14px !important;
  }
}
/* =========================================================
   Homepage Guide and Tool Images
   ========================================================= */

.homepage-guide-card,
.homepage-tool-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #d7e3e8 !important;
  border-radius: 15px !important;
  text-decoration: none !important;
}

.homepage-guide-card .learning-image-wrap,
.homepage-tool-card .learning-image-wrap {
  display: block !important;
  width: calc(100% - 28px) !important;
  height: 125px !important;
  min-height: 125px !important;
  margin: 14px 14px 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 11px !important;
  background: #e8f6f4 !important;
}

.homepage-guide-card .learning-card-image,
.homepage-tool-card .learning-card-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.homepage-guide-card h3,
.homepage-tool-card h3 {
  margin: 0 !important;
  padding: 13px 16px 5px !important;
  color: #06233f !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}

.homepage-guide-card p,
.homepage-tool-card p {
  margin: 0 !important;
  padding: 0 16px 16px !important;
  color: #58718a !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.homepage-guide-card:hover,
.homepage-tool-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(6, 35, 63, 0.12) !important;
}

@media (max-width: 720px) {
  .homepage-guide-card .learning-image-wrap,
  .homepage-tool-card .learning-image-wrap {
    height: 165px !important;
    min-height: 165px !important;
  }
}

/* =========================================================
   Homepage Tool Cards With Images
   ========================================================= */

.homepage-three-column .tools-row {
  align-items: stretch !important;
}

.homepage-tool-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden !important;

  background: #ffffff !important;
  border: 1px solid #d7e3e8 !important;
  border-radius: 15px !important;
  box-shadow: 0 8px 20px rgba(6, 27, 51, 0.06) !important;

  color: #06233f !important;
  text-decoration: none !important;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease !important;
}

.homepage-tool-card .learning-image-wrap {
  position: relative !important;
  inset: auto !important;

  display: block !important;
  flex: 0 0 auto !important;

  width: calc(100% - 28px) !important;
  height: 125px !important;
  min-height: 125px !important;

  margin: 14px 14px 0 !important;
  padding: 0 !important;

  overflow: hidden !important;
  border-radius: 11px !important;
  background: #e8f6f4 !important;
}

.homepage-tool-card .learning-card-image {
  position: static !important;

  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;

  object-fit: cover !important;
  object-position: center !important;
}

.homepage-tool-card .homepage-learning-card-copy {
  position: static !important;

  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;

  width: 100% !important;
  padding: 0 !important;

  background: #ffffff !important;
}

.homepage-tool-card h3 {
  position: static !important;
  inset: auto !important;

  display: block !important;

  margin: 0 !important;
  padding: 13px 16px 5px !important;

  color: #06233f !important;
  background: transparent !important;

  font-size: 16px !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
}

.homepage-tool-card p {
  position: static !important;
  inset: auto !important;

  display: block !important;

  margin: 0 !important;
  padding: 0 16px 16px !important;

  color: #58718a !important;
  background: transparent !important;

  font-size: 13px !important;
  line-height: 1.35 !important;
  text-shadow: none !important;
}

.homepage-tool-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px rgba(6, 27, 51, 0.12) !important;
}

@media (max-width: 720px) {
  .homepage-tool-card .learning-image-wrap {
    height: 165px !important;
    min-height: 165px !important;
  }

  .homepage-tool-card h3 {
    font-size: 17px !important;
  }

  .homepage-tool-card p {
    font-size: 14px !important;
  }
}
