html,body {
  background-color: #ededed;
  color: #424242;
  margin: 0;
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size:16px;
  line-height:1.6;
}


* {
    -moz-box-sizing: border-box;
}

body {
  background-color: #ededed;
  color: #424242;
  margin: 0;
  font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size:14px;
  line-height:1.428571429;
}

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-weight:normal;line-height:1.1;color:#333}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small{font-weight:normal;line-height:1}
h1,.h1{font-size:45px;line-height:48px}
h2,.h2{font-size:36px;line-height:42px}
h3,.h3{font-size:28px;line-height:36px}
h4,.h4{font-size:24px;line-height:25px}
h5,.h5{font-size:20px;line-height:24px}
h6,.h6{font-size:18px;line-height:24px}

a{color:#3282e6;}
a:hover,a:focus{color:#165db5;text-decoration:underline}

.text-center{text-align:center}

.wrap {
  min-height: 100%;
  .display: table;
  .height: 100%;
}

.top-bar {
  height: 20px;
  background: #71a100;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzcxYTEwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2ZmExMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  #71a100 0%, #6fa100 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#71a100), color-stop(100%,#6fa100));
  background: -webkit-linear-gradient(top,  #71a100 0%,#6fa100 100%);
  background: -o-linear-gradient(top,  #71a100 0%,#6fa100 100%);
  background: -ms-linear-gradient(top,  #71a100 0%,#6fa100 100%);
  background: linear-gradient(to bottom,  #71a100 0%,#6fa100 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#71a100', endColorstr='#6fa100',GradientType=0 );
}

:root .top-bar {
  filter: none \0/IE9;
}

.welcome-container{
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.coming-soon-wrap {
  margin-top: 90px;
}

.frowny-face {
  text-align: center;
  font-size: 130px;
  color: #919191;
  line-height: 1.1;
  margin-top: 90px;
  margin-bottom: 70px;
}

.welcome-container h1 {
  margin-bottom: 1em;
}

.btn-primary {
    background-color: #7FB141;
    border-color: #648C33;
    color: #FFFFFF;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
    cursor: pointer;
}
button, select {
    text-transform: none;
}
button, input {
    line-height: normal;
}
button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

.btn {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent;
    border-image: none;
    border-radius: 0 0 0 0;
    border-style: solid;
    border-width: 0 0 3px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 8px 20px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background-color: #7FB141;
    border-color: #648C33;
    color: #FFFFFF;
}


.btn-primary:hover, 
.btn-primary:focus, 
.btn-primary:active, 
.btn-primary.active {
    background-color: #729E3A;
    border-color: #496626;
    color: #fff;
}

.btn:hover, 
.btn:focus {
    text-decoration: none;
}

.login-container {
  text-align: right;
  margin: 20px;
}

.footer {
  position: relative;
  margin-top: -60px; /* negative value of footer height */
  height: 60px;
  clear:both;
  text-align: center;
  font-size: 14px;
}

/* ===== Mobile tweaks (ChatGPT 2026-02-26) ===== */

@media (max-width: 600px){
  .coming-soon-wrap{ margin-top: 40px; }
  .frowny-face{ font-size: 96px; margin-top: 40px; margin-bottom: 40px; }
  .login-container{ text-align: left; margin: 16px; }
  .btn{ width: 100%; }
}


/* ===== DiscGolfInfo — Pro Refresh (lightweight, no framework) ===== */

/* CSS Reset (subset) */
*,*::before,*::after{box-sizing:border-box;}
html:focus-within{scroll-behavior:smooth;}
body{margin:0;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
ul,ol{margin:0;padding:0}

/* Theme tokens */

:root{
  --bg: #f7fafc;            /* page background */
  --panel: #ffffff;         /* cards/header/footer */
  --muted: #475569;         /* slate-600 */
  --text: #0f172a;          /* slate-900 */
  --brand: #0ea5e9;         /* sky-500 */
  --brand-ink: #075985;     /* darker sky */
  --accent: #2563eb;        /* blue-600 */
  --ring: rgba(37,99,235,.25);
  --container: 1100px;
  --radius: 14px;
  --shadow: 0 6px 22px rgba(2,6,23,.08);
  --space: 18px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji","Segoe UI Emoji";
}


/* Base type — slightly smaller for compact look */
body{
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
}

.container{
  width: min(100% - 28px, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid rgba(2,6,23,.06);
}
.site-header .row{
  display:flex; align-items:center; gap: 14px;
  padding: 14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px; font-weight:700;
  font-size: 1.15rem; letter-spacing:.2px;
}
.brand .logo{ width:34px; height:34px; border-radius:11px; flex:0 0 auto; box-shadow: 0 6px 18px rgba(0,0,0,.28); }

.nav{ display:flex; gap: 14px; margin-left:auto; flex-wrap:wrap; }
.nav a{
  padding: 8px 12px; border-radius: 10px; opacity:.95;
  transition: transform .12s ease, background-color .12s ease, opacity .12s ease;
}
.nav a:hover{ background: rgba(255,255,255,.06); transform: translateY(-1px); opacity:1; }
.nav a[aria-current="page"]{ background: rgba(85,209,122,.14); box-shadow: inset 0 0 0 1px rgba(85,209,122,.35); }

/* Simple dropdown for Guides */
.nav .dropdown{ position:relative; display:inline-flex; align-items:center; }
.nav .dropdown-menu{
  position:absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(2,6,23,.10);
  box-shadow: 0 18px 46px rgba(2,6,23,.14);
  display:none;
}
.nav .dropdown:hover .dropdown-menu,
.nav .dropdown:focus-within .dropdown-menu{ display:block; }
.nav .dropdown-menu a{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  white-space: nowrap;
}
.nav .dropdown-menu a:hover{ background: rgba(2,6,23,.06); transform:none; }

/* Page heading */
h1,h2,h3{ line-height:1.2; margin: 20px 0 10px; }
h1{ font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h2{ font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); color: var(--muted); }
.lede{ color: var(--muted); margin-top: 6px; }

/* Cards & panels */
.panel{
  background: var(--panel);
  border: 1px solid rgba(2,6,23,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card{ composes: panel; }
.section{ margin: 26px 0; }

/* Feed cards override (existing markup) */
.feed-card ul{ list-style:none; }
.feed-card li{
  display:flex; gap: 12px; align-items:flex-start;
  padding:10px; border-radius:12px;
  transition: background-color .12s ease, transform .12s ease;
}
.feed-card li:hover{ background: rgba(2,6,23,.04); transform: translateY(-1px); }
.feed-card .thumb{ width:56px; height:56px; border-radius:12px; overflow:hidden; background:#e2e8f0; }
.feed-card .item h3{ font-size: 1rem; margin: 0; }
.feed-card .excerpt{ font-size:.9rem; opacity:.85; margin-top:4px; }

/* Footer */
.site-footer{
  margin-top: 40px; color: var(--muted);
  border-top: 1px solid rgba(2,6,23,.06);
  background: var(--panel);
}
.site-footer .container{ padding: 22px 0; }

/* Utilities */
.row{ display:flex; align-items:stretch; gap: var(--space); flex-wrap: wrap; }
.grow{ flex:1 1 260px; }
.p-2{ padding: 12px; }
.p-3{ padding: 18px; }
.p-4{ padding: 24px; }
.mt-2{ margin-top: 12px; }
.mt-3{ margin-top: 18px; }
.mt-4{ margin-top: 24px; }
.text-mute{ color: var(--muted); }

/* Links that look like subtle buttons */
a.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:12px; font-weight:600;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
a.btn:hover{ background: rgba(37,99,235,.10); border-color: rgba(37,99,235,.35); box-shadow: 0 0 0 4px var(--ring); }

/* Ensure fallback SVG scales nicely */
.feed-card .thumb img{width:100%;height:100%;object-fit:contain;display:block;}

/* Vertical category list with icons */
.category-list{ list-style:none; margin: 8px 0 0; padding: 0; }
.category-list li{ border-bottom: 1px solid rgba(2,6,23,.06); }
.category-list li:last-child{ border-bottom: 0; }
.category-list a{ display:flex; align-items:center; gap: 12px; padding: 10px 4px; border-radius: 10px; }
.category-list a:hover{ background: rgba(2,6,23,.04); }
.category-list .ico{ width:24px; height:24px; flex:0 0 auto; }
.category-list .label{ font-weight:600; color: var(--text); }


/* ---- Videos: force 4-up on desktop, responsive below ---- */
.row.four-up { gap: var(--space); }
.row.four-up > .panel { flex: 1 1 calc(25% - var(--space)); }
@media (max-width: 1024px) {
  .row.four-up > .panel { flex: 1 1 calc(50% - var(--space)); }
}
@media (max-width: 640px) {
  .row.four-up > .panel { flex: 1 1 100%; }
}

/* Key-value list */
.kv{ list-style:none; padding:0; margin:0; }
.kv li{ display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid rgba(2,6,23,.06); }
.kv li:last-child{ border-bottom:0; }
.kv .k{ color: var(--muted); min-width: 160px; }
.kv .v{ color: var(--text); font-weight:600; }


/* ========= Mobile enhancements (added by ChatGPT 2025-11-18) ========= */
/* These rules only affect small screens; desktop layout remains the same. */

/* Tablets and small laptops */
@media (max-width: 900px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Phones in portrait */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .site-header .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand .logo {
    width: 30px;
    height: 30px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    padding: 8px 10px;
  }

  main.container {
    padding-top: 12px;
    padding-bottom: 24px;
  }

  .hero {
    padding: 18px 16px;
  }

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

  .hero p {
    font-size: 0.98rem;
  }

  .hero .cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Generic row/grid helpers */
  .row {
    flex-direction: column;
  }

  .row > .col,
  .row > .panel {
    width: 100%;
  }

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

  /* Tables: allow horizontal scroll instead of overflowing */
  .table-wrap {
    width: 100%;
    overflow-x: auto;
  }

  table {
    min-width: 100%;
  }

  /* Forms in auth pages */
  form.card,
  .panel form {
    width: 100%;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  select {
    max-width: 100%;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .nav a {
    flex: 1 1 100%;
  }

  .site-header .brand strong {
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 1.35rem;
  }
}


/* ========= Page-specific mobile tuning (ChatGPT 2025-11-18) ========= */

/* Phones & small tablets */
@media (max-width: 768px) {
  /* --- Shop page --- */
  .category-list {
    list-style: none;
    padding-left: 0;
    margin: 12px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .category-list li {
    margin: 0;
  }
  .category-list a.row {
    flex-direction: row;
    align-items: center;
    padding: 8px 10px;
  }
  .category-list .ico {
    width: 24px;
    height: 24px;
  }
  .category-list .label {
    font-size: 0.9rem;
  }

  .feed-card ul {
    margin-top: 8px;
  }
  .feed-card li {
    align-items: flex-start;
  }

  /* --- Tournaments page --- */
  .note {
    padding: 12px 14px;
    margin: 16px 0;
  }
  .pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .pill-grid .btn.sm {
    flex: 1 1 calc(33.33% - 8px);
    justify-content: center;
    text-align: center;
    padding-inline: 0;
  }
}

/* Very small phones: stack pills more aggressively and tighten feeds */
@media (max-width: 480px) {
  .pill-grid .btn.sm {
    flex: 1 1 calc(50% - 8px);
  }

  .feed-card .thumb {
    width: 48px;
    height: 48px;
  }

  /* Profile search input */
  #pdga {
    max-width: 100% !important;
    width: 100%;
  }
}

/* ===== Guides page (professional layout + reliable columns) ===== */
.guides-page{
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 18px 56px;
}

.guides-hero{
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  margin: 10px 0 18px;
}

.guides-hero-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.guides-hero h1{
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.guides-pill{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  white-space: nowrap;
}

.guides-hero p{
  margin: 10px 0 0;
  opacity: .9;
  max-width: 78ch;
  line-height: 1.55;
}

/* THIS is the key: auto-fit + minmax ensures 2 columns when space allows */
.guides-grid{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.guide-card{
  display: block;
  padding: 18px 18px 16px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.guide-card-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.guide-icon{
  font-size: 18px;
  opacity: .95;
}

.guide-badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(85,209,122,.14);
}

.guide-badge-muted{
  background: rgba(255,255,255,.06);
}

.guide-card h2{
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.guide-card p{
  margin: 0 0 12px;
  opacity: .9;
  line-height: 1.55;
}

.guide-cta{
  display: inline-block;
  font-weight: 700;
  opacity: .95;
}

.guide-featured{
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  border-color: rgba(85,209,122,.30);
}

.guide-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.18);
}

@media (max-width: 460px){
  .guides-hero h1{ font-size: 28px; }
  .guides-page{ padding: 18px 14px 44px; }
  .guides-grid{ grid-template-columns: 1fr; }
}

/* ===== Guide Article Layout ===== */

.guide-article {
  max-width: 900px;
  margin: 40px auto 60px auto; /* centers horizontally */
  padding: 0 24px; /* adds left & right spacing */
  line-height: 1.7;
  font-size: 17px;
}

.guide-article h1 {
  margin-bottom: 20px;
  font-size: 34px;
  line-height: 1.2;
}

.guide-article h2 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 24px;
}

.guide-article h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 19px;
}

.guide-article ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.guide-article p {
  margin-bottom: 18px;
}

/* Affiliate box styling */
.affiliate-box {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 18px;
  border-radius: 12px;
  margin: 30px 0;
}

.affiliate-box h3 {
  margin-top: 0;
}

.affiliate-box a {
  font-weight: 600;
  text-decoration: underline;
}

/* ===== PRO GUIDE COLOR UPGRADE ===== */

:root {
  --accent: #2ecc71;         /* Disc golf green */
  --accent-dark: #1fa85a;
  --highlight: #f4fdf7;
  --border-soft: rgba(0,0,0,.08);
}

/* Article container */
.guide-article {
  max-width: 900px;
  margin: 40px auto 60px auto;
  padding: 0 28px;
  line-height: 1.75;
  font-size: 17px;
}

/* H1 */
.guide-article h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--accent-dark);
}

/* H2 sections */
.guide-article h2 {
  margin-top: 45px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
  font-size: 24px;
  color: var(--accent-dark);
}

/* H3 */
.guide-article h3 {
  margin-top: 25px;
  font-size: 19px;
  color: #333;
}

/* Links */
.guide-article a {
  color: var(--accent-dark);
  font-weight: 600;
}

.guide-article a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Lists */
.guide-article ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

/* Affiliate box */
.affiliate-box {
  border-left: 6px solid var(--accent);
  background: var(--highlight);
  padding: 20px;
  border-radius: 10px;
  margin: 40px 0;
}

.affiliate-box h3 {
  margin-top: 0;
  color: var(--accent-dark);
}

/* Tip callout box */
.tip-box {
  background: #eef7ff;
  border-left: 6px solid #3498db;
  padding: 16px;
  border-radius: 8px;
  margin: 25px 0;
}

.tip-box strong {
  color: #2c3e50;
}

/* Warning box */
.warning-box {
  background: #fff4e5;
  border-left: 6px solid #f39c12;
  padding: 16px;
  border-radius: 8px;
  margin: 25px 0;
}

/* ===============================
   BLUE PROFESSIONAL GUIDE STYLE
================================= */

:root {
  --primary-blue: #1e73be;
  --primary-blue-dark: #155a96;
  --light-blue-bg: #f1f8ff;
  --tip-blue: #e7f3ff;
  --warning-orange: #fff4e5;
}

.guide-article {
  max-width: 900px;
  margin: 60px auto 80px auto;
  padding: 0 40px;
  font-size: 18px;
  line-height: 1.75;
}

.guide-article h1 {
  font-size: 38px;
  margin-bottom: 25px;
  color: var(--primary-blue-dark);
}

.guide-article h2 {
  margin-top: 50px;
  margin-bottom: 15px;
  font-size: 26px;
  padding-bottom: 8px;
  border-bottom: 4px solid var(--primary-blue);
  color: var(--primary-blue-dark);
}

.guide-article h3 {
  margin-top: 30px;
  font-size: 20px;
  color: var(--primary-blue);
}

.guide-article a {
  color: var(--primary-blue-dark);
  font-weight: 600;
}

.guide-article a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.guide-article ul {
  padding-left: 25px;
  margin-bottom: 25px;
}

.affiliate-box {
  background: var(--light-blue-bg);
  border-left: 6px solid var(--primary-blue);
  padding: 20px;
  border-radius: 10px;
  margin: 45px 0;
}

.tip-box {
  background: var(--tip-blue);
  border-left: 6px solid var(--primary-blue);
  padding: 18px;
  border-radius: 8px;
  margin: 30px 0;
}

.warning-box {
  background: var(--warning-orange);
  border-left: 6px solid #f39c12;
  padding: 18px;
  border-radius: 8px;
  margin: 30px 0;
}

/* ========= Mobile hardening (ChatGPT 2026-02-26) ========= */

/* Make tap targets comfortable */
.nav a{ min-height: 40px; }
@media (max-width: 768px){
  .nav a{ min-height: 44px; }
}

/* Guide articles: reduce side padding on phones, prevent overflow */
@media (max-width: 768px){
  .guide-article{
    padding-left: 16px;
    padding-right: 16px;
    font-size: 16px;
  }
  .guide-article h1{ font-size: 1.7rem; }
  .guide-article h2{ font-size: 1.35rem; }
  .guide-article h3{ font-size: 1.1rem; }
}

/* Long URLs/code should wrap instead of breaking layout */
.guide-article, .panel, .card, main{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Tables: scroll horizontally on small screens instead of overflowing */
table{ width: 100%; border-collapse: collapse; }
@media (max-width: 768px){
  table{ display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Forms: prevent inputs from overflowing */
input, select, textarea{ max-width: 100%; }

.footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:10px;
}
.footer-nav a{
  display:inline-block;
  padding:8px 10px;
  border-radius:10px;
}
/* ===== Mobile hamburger nav ===== */
.nav-toggle{
  display:none;          /* hidden on desktop */
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
}

/* Desktop nav default */
.site-header .nav{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:nowrap;
}

/* Mobile behavior */
@media (max-width: 768px){
  .nav-toggle{ display:inline-flex; align-items:center; }

  /* collapse menu by default */
  #site-nav{
    display:none;
    width:100%;
    margin-top:10px;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  /* show menu when header has .nav-open */
  .site-header.nav-open #site-nav{
    display:flex;
  }

  /* big tap targets */
  #site-nav a{
    padding:12px 12px;
    border-radius:12px;
    display:block;
  }
}

/* ===== Mobile hamburger nav (override) ===== */
.nav-toggle{
  display:none;
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
}

/* Desktop nav */
@media (min-width: 769px){
  #site-nav.nav{
    display:flex !important;
    gap:12px;
    align-items:center;
    flex-wrap:nowrap;
  }
}

/* Mobile: hidden until opened */
@media (max-width: 768px){
  .nav-toggle{ display:inline-flex !important; align-items:center; }

  /* Hide menu by default */
  #site-nav.nav{
    display:none !important;
    width:100%;
    margin-top:10px;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  /* Show menu when header has nav-open */
  .site-header.nav-open #site-nav.nav{
    display:flex !important;
  }

  /* Bigger tap targets */
  #site-nav.nav a{
    display:block;
    padding:12px 12px;
    border-radius:12px;
  }
}
/* ===== FORCE mobile nav to be collapsed (must be last in pro.css) ===== */
@media (max-width: 768px){
  /* show the button on mobile */
  .site-header .nav-toggle{ 
    display: inline-flex !important; 
    align-items: center; 
  }

  /* hide the nav by default on mobile */
  .site-header #site-nav.nav{
    display: none !important;
    width: 100%;
    margin-top: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  /* when open, show it */
  .site-header.nav-open #site-nav.nav{
    display: flex !important;
  }

  /* make links easy to tap */
  .site-header #site-nav.nav a{
    display: block;
    padding: 12px 12px;
    border-radius: 12px;
  }
}

/* desktop: keep nav visible */
@media (min-width: 769px){
  .site-header .nav-toggle{ display: none !important; }
  .site-header #site-nav.nav{
    display: flex !important;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
  }
}

/* ===== FORCE mobile nav to be collapsed (must be last in /assets/pro.css) ===== */
@media (max-width: 768px){
  /* show the button on mobile */
  .site-header .nav-toggle{
    display: inline-flex !important;
    align-items: center;
    margin-left: auto;
  }

  /* hide the nav by default on mobile */
  .site-header #site-nav.nav{
    display: none !important;
    width: 100%;
    margin-top: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  /* when open, show it */
  .site-header.nav-open #site-nav.nav{
    display: flex !important;
  }

  /* make links easy to tap */
  .site-header #site-nav.nav a{
    display: block;
    padding: 12px 12px;
    border-radius: 12px;
  }
}

/* desktop: keep nav visible */
@media (min-width: 769px){
  .site-header .nav-toggle{ display: none !important; }
  .site-header #site-nav.nav{
    display: flex !important;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
  }
}
/* ===== Mobile nav: force collapse ===== */
@media (max-width: 768px){
  .site-header #site-nav.nav{ display:none !important; }
  .site-header.nav-open #site-nav.nav{ display:flex !important; }
  .site-header .nav-toggle{ display:inline-flex !important; }
}

/* News feed thumbnails — small size (56x56) */
.feed-card .thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f6;
}
.feed-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feed-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 12px;
}
.feed-card .item { min-width: 0; }
.feed-card .excerpt { margin: .25rem 0 0; font-size: .92rem; opacity: .9; }

/* ===========================
   Mobile-friendly overrides
   Add to the BOTTOM of /assets/style.css
   =========================== */

/* Better defaults */
html { -webkit-text-size-adjust: 100%; }
body { font-size: 16px; line-height: 1.6; } /* overrides 14px base */

/* Responsive container (works with your <main class="container">) */
.container{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Images/videos scale down on mobile */
img, video { max-width: 100%; height: auto; }
iframe { max-width: 100%; }

/* Make your header/nav wrap nicely on small screens */
.site-header .row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-header .nav{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Bigger tap targets on mobile */
.site-header .nav a{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 10px;
}

/* Headings scale down on phones */
@media (max-width: 600px){
  h1{ font-size: 32px; line-height: 1.15; }
  h2{ font-size: 26px; line-height: 1.2; }
  h3{ font-size: 22px; line-height: 1.25; }
}

/* Fix fixed-width layouts (your layout-styles.css has width:500px) */
.welcome-container{
  width: 100% !important;
  max-width: 500px;
  padding-left: 16px;
  padding-right: 16px;
}

/* Feed cards: allow text to wrap cleanly on narrow screens */
.feed-card li{
  align-items: flex-start;
}
.feed-card .item{
  min-width: 0; /* keep (already in your file) */
}
.feed-card .excerpt{
  overflow-wrap: anywhere;
}

/* ===== FINAL mobile menu fix ===== */
@media (max-width: 768px){
  .site-header .row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .site-header .brand{
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header .nav-toggle{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  /* Keep mobile nav hidden until Menu is clicked */
  .site-header #site-nav.nav{
    display: none !important;
    width: 100%;
    order: 3;
    margin-top: 10px;
    padding-top: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: #fff;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .site-header.nav-open #site-nav.nav{
    display: flex !important;
  }

  .site-header #site-nav.nav a{
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
  }
}

@media (min-width: 769px){
  .site-header .nav-toggle{
    display: none !important;
  }

  .site-header #site-nav.nav{
    display: flex !important;
    width: auto;
    margin-top: 0;
    padding-top: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: transparent;
    max-height: none;
    overflow: visible;
  }
}

.gm-style, 
.gm-style div, 
.gm-style span {
  color: #111 !important;
}

/* Google Maps popup text fix */
.gm-style .gm-style-iw,
.gm-style .gm-style-iw-d,
.gm-style .gm-style-iw-c {
  color: #111 !important;
  background: #fff !important;
}

.gm-style .gm-style-iw-d div,
.gm-style .gm-style-iw-d span,
.gm-style .gm-style-iw-d strong {
  color: #111 !important;
}

.gm-style .gm-style-iw-d a {
  color: #0066cc !important;
}

/* Hero search + trending */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-search {
  margin-top: 18px;
  background: rgba(0, 0, 0, 0.14);
  padding: 14px;
  border-radius: 16px;
  display: inline-block;
  width: min(100%, 760px);
}

.hero-search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-search-row input {
  flex: 1 1 320px;
  min-width: 260px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: #ffffff;
  color: #111111;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  -webkit-appearance: none;
  appearance: none;
}

.hero-search-row input::placeholder {
  color: #666666;
  opacity: 1;
}

.hero-search-row input:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.25),
    0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-search-row .btn {
  white-space: nowrap;
}

.hero-trending {
  margin-top: 14px;
  font-size: 0.98rem;
  color: #ffffff;
}

.hero-trending strong {
  color: #ffffff;
}

.hero-trending-link,
.hero-trending-link:visited {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.hero-trending-link:hover,
.hero-trending-link:focus {
  color: #ffffff !important;
  opacity: 0.9;
}

.hero2 input {
  border: 2px solid #ffffff !important;
  background: #ffffff !important;
  color: #111111 !important;
}

@media (max-width: 640px) {
  .hero-search {
    width: 100%;
    padding: 12px;
  }

  .hero-search-row input {
    width: 100%;
    min-width: 0;
  }

  .hero-search-row .btn {
    width: 100%;
  }
}

/* ===== DiscGolfInfo — Engagement upgrades (tools/dashboard) ===== */

.hero2{
  margin: 22px 0 20px;
  padding: 26px;
  border-radius: 18px;
  background: radial-gradient(1200px 360px at 20% -20%, rgba(14,165,233,.35), transparent 55%),
              radial-gradient(900px 320px at 80% 0%, rgba(37,99,235,.22), transparent 55%),
              linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.86));
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 14px 44px rgba(2,6,23,.10);
}
.hero2 h1{ margin: 0 0 8px; }
.hero2 .lede{ max-width: 70ch; }

.grid{ display:grid; gap: 14px; }
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px){ .grid.cols-3{ grid-template-columns: 1fr; } }
@media (max-width: 900px){ .grid.cols-2{ grid-template-columns: 1fr; } }

.kpi{
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 10px 30px rgba(2,6,23,.08);
}
.kpi .label{ color: var(--muted); font-size: .92rem; }
.kpi .value{ font-size: 1.35rem; font-weight: 800; margin-top: 2px; }
.kpi .sub{ color: var(--muted); font-size: .9rem; margin-top: 4px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  color: white;
  font-weight: 700;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 10px 22px rgba(2,6,23,.10);
  cursor: pointer;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }
.btn.outline{ background: transparent; color: var(--text); box-shadow:none; border: 1px solid rgba(2,6,23,.14); }
.btn.small{ padding: 8px 10px; border-radius: 10px; font-weight: 650; }

.tool-card{
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 10px 30px rgba(2,6,23,.08);
}
.tool-card h3{ margin: 0 0 6px; }
.tool-card p{ margin: 0; color: var(--muted); }
.tool-card .actions{ margin-top: 12px; display:flex; gap: 10px; flex-wrap: wrap; }

.form{
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 10px 30px rgba(2,6,23,.08);
}
.field{ display:flex; flex-direction:column; gap: 6px; margin-bottom: 12px; }
.field label{ font-weight: 650; }
.field input, .field select, .field textarea{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(2,6,23,.16);
  background: white;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus{ box-shadow: 0 0 0 4px var(--ring); border-color: rgba(37,99,235,.5); }

.badges{ display:flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.badge{
  display:inline-flex; align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(2,6,23,.06);
  border: 1px solid rgba(2,6,23,.10);
  font-size: .88rem;
}

.results{
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 10px 30px rgba(2,6,23,.08);
}
.results ul{ list-style:none; padding:0; margin:0; display:grid; gap: 10px; }
.results li{ padding: 12px; border-radius: 14px; border: 1px solid rgba(2,6,23,.08); background: rgba(2,6,23,.02); }
.results .name{ font-weight: 800; }
.results .meta{ color: var(--muted); font-size: .92rem; margin-top: 2px; }

.notice{ padding: 12px 14px; border-radius: 14px; background: rgba(14,165,233,.10); border: 1px solid rgba(14,165,233,.25); }
.error{ padding: 12px 14px; border-radius: 14px; background: rgba(239,68,68,.10); border: 1px solid rgba(239,68,68,.25); }

/* ===== FORCE mobile menu to stay collapsed until button click ===== */
@media (max-width: 768px){
  .site-header .row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .site-header .brand{
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header .nav-toggle{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-header #site-nav.nav{
    display: none !important;
    width: 100%;
    order: 3;
    margin-top: 10px;
    padding-top: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: #fff;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .site-header.nav-open #site-nav.nav{
    display: flex !important;
  }

  .site-header #site-nav.nav a{
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
  }
}

@media (min-width: 769px){
  .site-header .nav-toggle{
    display: none !important;
  }

  .site-header #site-nav.nav{
    display: flex !important;
    width: auto;
    margin-top: 0;
    padding-top: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: transparent;
    max-height: none;
    overflow: visible;
  }
}