/* VivaLocal PG — style.css */

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  background-color: #F5F5F0;
  color: #1A2340;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* =====================
   SKIP LINK
   ===================== */
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: #E8C84A;
  color: #1A2340;
  padding: 10px 18px;
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* =====================
   TYPOGRAPHY
   ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.25;
  color: #1A2340;
}

h1 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid #E8C84A;
  padding-bottom: 0.3rem;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

p {
  margin-bottom: 1.1rem;
}

a {
  color: #1A2340;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover, a:focus {
  color: #c9a530;
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

small {
  font-size: 0.75rem;
}

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

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

th, td {
  border: 1px solid #c8c8be;
  padding: 0.6rem 0.8rem;
  text-align: left;
}

th {
  background: #1A2340;
  color: #E8C84A;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

tr:nth-child(even) td {
  background: #eeeee8;
}

blockquote {
  border-left: 4px solid #E8C84A;
  margin: 1.5rem 0;
  padding: 0.75rem 1.2rem;
  background: #f0eeda;
  font-style: italic;
  color: #3a4460;
}

/* =====================
   EYEBROW
   ===================== */
.eyebrow {
  display: inline-block;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8C84A;
  background: #1A2340;
  padding: 3px 8px;
  margin-bottom: 0.5rem;
  border-radius: 2px;
}

/* =====================
   HEADER
   ===================== */
.site-header {
  background: #1A2340;
  color: #F5F5F0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #E8C84A;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 64px;
  flex-wrap: nowrap;
}

.brand {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: #E8C84A;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.brand:hover {
  color: #f5d96e;
  text-decoration: none;
}

/* =====================
   MAIN NAV
   ===================== */
.main-nav {
  flex: 1;
  overflow: hidden;
}

.main-nav p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

.main-nav p a {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  color: #F5F5F0;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.main-nav p a:hover,
.main-nav p a:focus {
  background: #E8C84A;
  color: #1A2340;
}

/* =====================
   HEADER CTA BUTTONS
   ===================== */
.header-ctas {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  align-items: center;
}

.cta {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 4px;
  min-height: 44px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cta-signup {
  background: #E8C84A;
  color: #1A2340;
  border: 2px solid #E8C84A;
}

.cta-signup:hover,
.cta-signup:focus {
  background: #f5d96e;
  border-color: #f5d96e;
  color: #1A2340;
  text-decoration: none;
}

.cta-login {
  background: transparent;
  color: #E8C84A;
  border: 2px solid #E8C84A;
}

.cta-login:hover,
.cta-login:focus {
  background: #E8C84A;
  color: #1A2340;
  text-decoration: none;
}

/* =====================
   NAV TOGGLE (mobile)
   ===================== */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid #E8C84A;
  border-radius: 4px;
  cursor: pointer;
  padding: 8px 10px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #E8C84A;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================
   PAGE WRAP
   ===================== */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* =====================
   HERO SECTION (home)
   ===================== */
.hero-section {
  background: #1A2340;
  color: #F5F5F0;
  border-radius: 6px;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.hero-media {
  flex-shrink: 0;
  max-width: 340px;
}

.hero-img {
  border-radius: 4px;
  width: 100%;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  color: #F5F5F0;
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

/* =====================
   ARTICLE HEADER
   ===================== */
.article-header {
  padding: 2rem 0 1.5rem;
  border-bottom: 2px solid #E8C84A;
  margin-bottom: 2rem;
}

.article-hero {
  margin-top: 1.5rem;
}

.article-hero-img {
  border-radius: 6px;
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* =====================
   BYLINE
   ===================== */
.byline {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  color: #5a6380;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.byline strong {
  color: #1A2340;
}

.byline time {
  color: #5a6380;
}

/* =====================
   CONTENT + SIDEBAR LAYOUT
   ===================== */
.content-section {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.content-body {
  flex: 1;
  min-width: 0;
  max-width: 740px;
}

.content-body a {
  color: #1A2340;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-body a:hover {
  color: #c9a530;
}

/* =====================
   SIDEBAR
   ===================== */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-block {
  background: #1A2340;
  color: #F5F5F0;
  border-radius: 5px;
  padding: 1.2rem;
  border-top: 3px solid #E8C84A;
}

.sidebar-block h3 {
  color: #E8C84A;
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.sidebar-block .eyebrow {
  background: #E8C84A;
  color: #1A2340;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  border-bottom: 1px solid #2e3d60;
  margin-bottom: 0;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  display: block;
  color: #dde2f0;
  text-decoration: none;
  padding: 8px 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  line-height: 1.4;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.sidebar-list a:hover,
.sidebar-list a:focus {
  color: #E8C84A;
  text-decoration: underline;
}

.sidebar-notice {
  border-top-color: #c0392b;
}

.sidebar-notice p {
  font-size: 0.8rem;
  color: #dde2f0;
  line-height: 1.5;
  margin: 0.5rem 0 0;
}

/* =====================
   CHILD PAGE CARDS
   ===================== */
.child-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #E8C84A;
}

.child-section h2 {
  margin-bottom: 1.5rem;
}

.child-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

a.child-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: #1A2340;
  color: #F5F5F0;
  border-radius: 5px;
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  flex: 1 1 260px;
  min-width: 220px;
  border-left: 4px solid #E8C84A;
  transition: background 0.15s;
}

a.child-card:hover,
a.child-card:focus {
  background: #243060;
  text-decoration: none;
}

a.child-card strong {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem;
  color: #E8C84A;
  font-weight: 700;
  line-height: 1.3;
}

a.child-card span {
  font-size: 0.83rem;
  color: #c8cedf;
  line-height: 1.5;
}

/* =====================
   AUTHOR PROFILE
   ===================== */
.author-profile {
  background: #1A2340;
  color: #F5F5F0;
  border-radius: 6px;
  padding: 2rem;
  margin-top: 2.5rem;
  border-top: 4px solid #E8C84A;
}

.author-profile h2 {
  color: #E8C84A;
  border: none;
  padding: 0;
  margin-top: 0.5rem;
  font-size: 1.4rem;
}

.author-credentials {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.88rem;
  color: #a8b0c8;
  margin-bottom: 0.75rem;
}

.author-bio {
  font-size: 0.95rem;
  color: #dde2f0;
  line-height: 1.7;
  margin: 0;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
  background: #1A2340;
  color: #F5F5F0;
  border-top: 3px solid #E8C84A;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  flex-shrink: 0;
}

.footer-brand .brand {
  font-size: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  flex: 1;
  align-items: center;
}

.footer-nav a {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.8rem;
  color: #a8b0c8;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 3px;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: #E8C84A;
  text-decoration: underline;
}

.footer-copy {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  color: #6a7490;
  width: 100%;
  margin: 0;
}

.responsible-gambling {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.78rem;
  color: #a8b0c8;
  background: #0f1628;
  border-radius: 3px;
  padding: 6px 10px;
  width: 100%;
  margin: 0;
  line-height: 1.5;
}

/* =====================
   FAQ SPECIFIC
   ===================== */
.faq-body h2 {
  font-size: 1.3rem;
}

/* =====================
   PRIVACY / ABOUT INNER
   ===================== */
.privacy-body h2,
.about-page h2 {
  font-size: 1.3rem;
}

/* =====================
   RESPONSIVE — ≤768px (mobile)
   ===================== */
@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .header-inner {
    flex-wrap: nowrap;
    height: auto;
    min-height: 60px;
    padding: 0.5rem 0.75rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1A2340;
    border-bottom: 3px solid #E8C84A;
    padding: 0.75rem 1rem;
    z-index: 99;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav p {
    flex-direction: column;
    gap: 0;
  }

  .main-nav p a {
    font-size: 0.9rem;
    padding: 10px 12px;
    min-height: 44px;
    border-bottom: 1px solid #2e3d60;
    border-radius: 0;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .brand {
    font-size: 0.95rem;
    flex: 1;
  }

  .header-ctas {
    gap: 0.35rem;
  }

  .cta {
    font-size: 0.75rem;
    padding: 8px 10px;
    min-height: 44px;
  }

  .hero-section {
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .hero-media {
    max-width: 100%;
    width: 100%;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .content-section {
    flex-direction: column;
    gap: 2rem;
  }

  .sidebar {
    width: 100%;
    position: static;
  }

  .child-cards {
    flex-direction: column;
  }

  a.child-card {
    flex: none;
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-nav a {
    font-size: 0.82rem;
    padding: 10px 8px;
  }

  .page-wrap {
    padding: 1rem 0.75rem;
  }

  .article-header {
    padding: 1rem 0 1rem;
  }
}

@media (max-width: 480px) {
  .cta {
    font-size: 0.7rem;
    padding: 8px 8px;
  }

  h1 {
    font-size: 1.3rem;
  }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}.tbl-scroll{overflow-x:auto;max-width:100%}