/* Guide & article layout for /glp1/ SEO pages */

.guide-page {
  background: var(--color-bg-light, #fafafa);
}

.guide-main {
  padding: var(--spacing-xl, 2rem) 0 var(--spacing-2xl, 3rem);
}

.guide-article {
  max-width: 720px;
}

.guide-hub {
  max-width: 1200px;
}

.guide-breadcrumb {
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md, 1rem);
  color: var(--color-text-muted, #666);
}

.guide-breadcrumb a {
  color: var(--color-primary, #da2e9f);
  text-decoration: none;
}

.guide-breadcrumb a:hover {
  text-decoration: underline;
}

.guide-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary, #da2e9f);
  margin-bottom: 0.5rem;
}

.guide-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: var(--spacing-md, 1rem);
}

.guide-intro {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--color-text-secondary, #444);
  margin-bottom: var(--spacing-lg, 1.5rem);
}

.guide-cta {
  display: inline-block;
  margin-bottom: var(--spacing-xl, 2rem);
}

.guide-hero-mockup {
  margin: 0 0 var(--spacing-lg, 1.5rem);
  text-align: center;
}

.guide-hero-mockup img {
  max-width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.12));
}

.guide-hub-hero {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl, 2rem);
  align-items: center;
  margin-bottom: var(--spacing-xl, 2rem);
}

.guide-hub-phones {
  display: flex;
  gap: var(--spacing-md, 1rem);
  flex: 1 1 280px;
  justify-content: center;
}

.guide-hub-phones img {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.1));
}

@media (min-width: 900px) {
  .guide-hub-phones img {
    max-width: 240px;
  }
}

.guide-section-with-media {
  display: grid;
  gap: var(--spacing-lg, 1.5rem);
}

@media (min-width: 768px) {
  .guide-section-with-media {
    grid-template-columns: 1fr minmax(160px, 220px);
    align-items: start;
  }

  .guide-section-with-media .guide-inline-mockup {
    margin: 0;
  }
}

.guide-inline-mockup img {
  width: 100%;
  height: auto;
}

.guide-section {
  margin-bottom: var(--spacing-xl, 2rem);
}

.guide-section h2 {
  font-size: 1.35rem;
  margin-bottom: var(--spacing-sm, 0.75rem);
}

.guide-section p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--color-text-secondary, #444);
}

.guide-section .guide-list {
  line-height: 1.7;
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  color: var(--color-text-secondary, #444);
}

.guide-section .guide-list li {
  margin-bottom: 0.5rem;
}

.guide-intro strong,
.guide-section strong {
  color: var(--color-text-primary, #1a1a1a);
  font-weight: 600;
}

.guide-pk-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
}

.guide-pk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
}

.guide-pk-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary, #1a1a1a);
}

.guide-pk-table th,
.guide-pk-table td {
  border: 1px solid var(--color-border, #e5e5e5);
  padding: 0.5rem 0.65rem;
  vertical-align: top;
  text-align: left;
}

.guide-pk-table thead th {
  background: var(--color-surface-muted, #f7f7f8);
  font-weight: 600;
}

.guide-pk-table tbody th[scope='row'] {
  font-weight: 600;
  white-space: nowrap;
}

.guide-disclaimer {
  font-size: 0.875rem;
  color: var(--color-text-muted, #666);
  border-left: 3px solid var(--color-primary, #da2e9f);
  padding-left: 1rem;
  margin: var(--spacing-xl, 2rem) 0;
}

.guide-related {
  margin-top: var(--spacing-2xl, 3rem);
  padding-top: var(--spacing-lg, 1.5rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.guide-related h2 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm, 0.75rem);
}

.guide-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-related li {
  margin-bottom: 0.5rem;
}

.guide-related a {
  color: var(--color-primary, #da2e9f);
  text-decoration: none;
}

.guide-related a:hover {
  text-decoration: underline;
}

.guide-footer .guide-footer-copy {
  border-top: none;
  padding-top: var(--spacing-md, 1rem);
}

.guide-footer-copy a {
  color: rgba(255, 255, 255, 0.7);
}

/* Hub & site-wide SEO footer grid */
.seo-footer-section {
  padding: var(--spacing-2xl, 3rem) 0 var(--spacing-lg, 1.5rem);
  background: var(--color-bg-dark, #1a1a2e);
  color: rgba(255, 255, 255, 0.8);
}

.seo-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-lg, 1.5rem) var(--spacing-xl, 2rem);
}

.seo-footer-column h2,
.seo-footer-column h3 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.seo-footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-footer-column li {
  margin-bottom: 0.35rem;
}

.seo-footer-column a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8125rem;
  text-decoration: none;
  line-height: 1.4;
}

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

.guide-hub-grid {
  margin-top: var(--spacing-xl, 2rem);
}

.guide-hub-grid .seo-footer-column h2 {
  color: var(--color-text-primary, #111);
  font-size: 1rem;
}

.guide-hub-grid .seo-footer-column a {
  color: var(--color-primary, #da2e9f);
  font-size: 0.875rem;
}

.guide-hub-grid .seo-footer-column a:hover {
  color: #b8247f;
}

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

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

/* Minimal per-page footer nav (replaces the old full-catalog footer grid) */
.footer-links-minimal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--spacing-sm, 0.75rem);
}

.footer-links-minimal .footer-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.875rem;
}

.footer-links-minimal .footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-links-minimal span {
  color: rgba(255, 255, 255, 0.35);
}

/* "Browse all X guides" link under the related-guides list */
.guide-browse-category {
  margin-top: var(--spacing-sm, 0.75rem);
  font-size: 0.875rem;
}

.guide-browse-category a {
  color: var(--color-primary, #da2e9f);
  text-decoration: none;
  font-weight: 600;
}

.guide-browse-category a:hover {
  text-decoration: underline;
}

/* Homepage guide-category teaser (7 category links, not individual articles) */
.seo-footer-teaser {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.seo-footer-teaser h2 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 var(--spacing-lg, 1.5rem);
}

.seo-footer-teaser-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-lg, 1.5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.seo-footer-teaser-list li {
  margin: 0;
}

.seo-footer-teaser-list a {
  display: inline-block;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.seo-footer-teaser-list a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.seo-footer-view-all {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.seo-footer-view-all:hover {
  border-color: #fff;
}

/* Category hub page article list */
.guide-hub-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem 1.5rem;
}

.guide-hub-category-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.guide-hub-category-list a {
  color: var(--color-primary, #da2e9f);
  text-decoration: none;
  font-size: 0.9375rem;
}

.guide-hub-category-list a:hover {
  text-decoration: underline;
}
