﻿@charset "UTF-8";

/* =========================================================
   WGA Site CSS - Consolidated
   Source order preserved: hlr.css first, golf.css second.
   Bootstrap and Font Awesome should remain loaded separately.
========================================================= */

/* =========================================================
   BASE / HLR
========================================================= */

/* =========================================================
   WGA Trimmed Site Styles
   Replaces the old template-heavy style.css.
   Keep Bootstrap and Font Awesome loaded separately.
========================================================= */

/* =========================================================
   CORE / RESET
========================================================= */

/* =========================================================
   CORE COLORS
========================================================= */

:root {
    --hlr-green: #006d1c;
    --hlr-light-green: #e9f5ec;
    --hlr-dark-green: #003d10;
    --hlr-green-hover: #005216;

    --hlr-gray: #a1a1a1;
    --hlr-light-gray: #f3f3f3;
    --hlr-dark: #232621;

    --hlr-gold: #d3aa4e;
    --hlr-gold-hover: #bd9641;

    --hlr-blue: #2c6fb7;
    --hlr-light-blue: #e8f1fb;
    --hlr-blue-hover: #245d98;

    --hlr-red: #b7352d;
    --hlr-light-red: #F5C2C0;
    --hlr-red-hover: #982a24;

    --hlr-border: #dddddd;
    --hlr-shadow: 0 4px 14px rgba(0,0,0,.10);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    overflow-y: scroll;
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--hlr-dark);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

body > form {
    margin: 0;
    padding: 0;
}

.page {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0;
}

p + p {
    margin-top: 12px;
}

a,
a:focus,
a:active {
    color: var(--hlr-green);
    text-decoration: none;
    outline: none;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

a:hover {
    color: var(--hlr-gold);
    text-decoration: none;
}

a[href*='mailto'],
a[href*='tel'] {
    white-space: nowrap;
}

h1, h2, h3, h4, h5, h6,
.heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6 {
    margin-top: 0;
    margin-bottom: 0;
    color: var(--hlr-dark);
    font-family: inherit;
    font-weight: 700;
    line-height: 1.2;
}

h1, .heading-1 { font-size: 36px; font-weight: 900; }
h2, .heading-2 { font-size: 30px; font-weight: 900; }
h3, .heading-3 { font-size: 24px; font-weight: 800; }
h4, .heading-4 { font-size: 20px; font-weight: 700; }
h5, .heading-5 { font-size: 18px; font-weight: 700; }
h6, .heading-6 { font-size: 14px; font-weight: 700; }

@media (min-width: 768px) {
    h1, .heading-1 { font-size: 42px; }
    h2, .heading-2 { font-size: 34px; }
    h3, .heading-3 { font-size: 28px; }
}

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-bold, strong { font-weight: 700; }
.text-italic { font-style: italic; }

.bg-white { background: #fff; }
.bg-gray-1,
.bg-gray-2,
.bg-gray-3 { background: var(--hlr-gray) }
.bg-primary { background: var(--hlr-green); color: #fff; }
.bg-gray-darker { background: var(--hlr-dark); color: #fff; }

.section-sm { padding-top: 40px; padding-bottom: 40px; }
.section-md { padding-top: 55px; padding-bottom: 55px; }
.section-lg { padding-top: 70px; padding-bottom: 70px; }
.section-xl { padding-top: 90px; padding-bottom: 90px; }

@media (max-width: 767px) {
    .section-sm { padding-top: 28px; padding-bottom: 28px; }
    .section-md { padding-top: 36px; padding-bottom: 36px; }
    .section-lg { padding-top: 44px; padding-bottom: 44px; }
    .section-xl { padding-top: 54px; padding-bottom: 54px; }
}

hr {
    margin: 0;
    border: 0;
    border-top: 1px solid var(--hlr-border);
}

/* =========================================================
   BASIC FORMS / TABLES
========================================================= */

.form-control,
.form-input,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
select,
textarea {
    max-width: 100%;
}

.form-input {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    color: var(--hlr-dark);
    background: #fff;
    border: 1px solid var(--hlr-border);
    border-radius: 6px;
}

.form-input:focus {
    outline: 0;
    border-color: var(--hlr-green);
    box-shadow: 0 0 0 2px rgba(0,109,28,.12);
}

.table-custom-wrap {
    overflow-x: auto;
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

    .table-custom th,
    .table-custom td {
        padding: 8px 12px;
        border-bottom: 1px solid var(--hlr-border);
        vertical-align: middle;
    }

    .table-custom th {
        color: var(--hlr-dark);
        font-weight: 700;
    }

    .table-custom td {
        color: var(--hlr-gray);
    }

/* =========================================================
   LEGACY TEMPLATE CLASSES STILL USED BY MARKUP
========================================================= */

.icon {
    display: inline-block;
    line-height: 1;
}

.icon-sm { font-size: 16px; }
.icon-md { font-size: 20px; }
.icon-lg { font-size: 28px; }

.reveal-block { display: block !important; }
.reveal-inline-block { display: inline-block !important; }
.reveal-inline { display: inline !important; }
.reveal-flex { display: flex !important; }
.veil { display: none !important; }

.row-0 { margin-top: 0 !important; }
.row-10 > * { margin-top: 10px; }
.row-15 > * { margin-top: 15px; }
.row-30 > * { margin-top: 30px; }

.mobile .block-line-limit:after,
.tablet .block-line-limit:after {
  visibility: visible;
  opacity: 1;
}

/* =========================================================
   LOGIN / REGISTER / CHANGE PASSWORD FORM SPACING
========================================================= */

.tabs-custom-wrap {
    margin-bottom: 20px;
}

.nav-custom-tabs-inline {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 22px;
}

    .nav-custom-tabs-inline li a {
        position: relative;
        display: inline-block;
        padding-bottom: 6px;
        color: var(--hlr-green);
        font-weight: 600;
        text-decoration: none;
    }

        .nav-custom-tabs-inline li a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background: var(--hlr-green);
            transition: width .2s ease;
        }

        .nav-custom-tabs-inline li.active a::after,
        .nav-custom-tabs-inline li a:hover::after {
            width: 100%;
        }

.tab-content {
    margin-top: 8px;
}

.tab-pane .form-wrap,
.change-password-panel .form-wrap {
    margin-bottom: 14px;
}

.tab-pane .hlr-btn,
.change-password-panel .hlr-btn,
#btnLogin,
#btnRegister,
#btnVerify,
#btnForgotPassword,
#btnChangePassword {
    margin-top: 4px;
}

.group-md.group-middle {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 20px;
}

    .group-md.group-middle li {
        margin: 0;
    }

/* Change password page spacing */
.password-change-wrap,
.change-password-wrap {
    max-width: 520px;
    margin: 0 auto;
}

#passwordValidation {
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .nav-custom-tabs-inline {
        justify-content: flex-start;
        gap: 18px;
        margin-bottom: 16px;
    }

    .group-md.group-middle {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: 16px;
    }
}

/* =========================================================
   LOGIN / REGISTER ACTIVE TAB VISUAL
========================================================= */

.nav-custom-tabs-inline li a {
    position: relative;
    color: var(--hlr-dark);
    font-size: 22px;
    font-weight: 400;
    padding-bottom: 12px;
}

    .nav-custom-tabs-inline li a.active,
    .nav-custom-tabs-inline li.active a {
        color: var(--hlr-green);
    }

    .nav-custom-tabs-inline li a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background: var(--hlr-green);
        transition: width .2s ease;
    }

    .nav-custom-tabs-inline li a.active::after,
    .nav-custom-tabs-inline li.active a::after,
    .nav-custom-tabs-inline li a:hover::after {
        width: 100%;
    }

/* =========================================================
   CHANGE PASSWORD PAGE
========================================================= */

body:has(#btnChangePassword) .col-md-6.text-left {
    max-width: 420px;
    margin: 0 auto;
}

body:has(#btnChangePassword) .form-wrap {
    margin-bottom: 14px;
}

body:has(#btnChangePassword) #passwordValidation {
    margin-top: 4px;
    margin-bottom: 14px !important;
}

body:has(#btnChangePassword) #btnChangePassword {
    margin-top: 4px;
}



/* ==========================================
   RD Navbar Stabilization Fix
   Prevents layout shift when loader hides
   ========================================== */

.page {
    overflow-x: hidden;
}

.page-loader {
    position: fixed;
    z-index: 2000;
}

/* ==========================================
   RD Navbar + WebForms layout fixes
   ========================================== */

/* Prevent horizontal scroll */
.page {
    overflow-x: hidden;
}

/* WebForms form wrapper fix */
body > form {
    margin: 0;
    padding: 0;
}


/* =========================================================
   WGA Buttons
========================================================= */

.hlr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-decoration: none !important;
    background: none;
    color: inherit;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.hlr-btn.disabled,
.hlr-btn[disabled] {
    opacity: .35;
    pointer-events: none;
    cursor: default;
}

.hlr-btn-icon-sm {
    width: 30px;
    height: 30px;
    min-height: 30px;
    padding: 0;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.hlr-btn-upload {
    text-align: center; 
    align-content: center;"
}

/* =========================
   GOLD BUTTON
========================= */
.hlr-btn-gold {
    background: var(--hlr-gold) !important;
    border-color: var(--hlr-gold) !important;
    color: #fff !important;
}

    .hlr-btn-gold:hover,
    .hlr-btn-gold:focus {
        background: var(--hlr-gold-hover) !important;
        border-color: var(--hlr-gold-hover) !important;
        color: #fff !important;
    }

/* =========================
   GREEN BUTTON
========================= */

.hlr-btn-green {
    background: var(--hlr-green) !important;
    border-color: var(--hlr-green) !important;
    color: #fff !important;
}

    .hlr-btn-green:hover,
    .hlr-btn-green:focus {
        background: var(--hlr-green-hover) !important;
        border-color: var(--hlr-green-hover) !important;
        color: #fff !important;
    }

/* =========================
   BLUE BUTTON
========================= */

.hlr-btn-blue {
    background: var(--hlr-blue) !important;
    border-color: var(--hlr-blue) !important;
    color: #fff !important;
}

    .hlr-btn-blue:hover,
    .hlr-btn-blue:focus {
        background: var(--hlr-blue-hover) !important;
        border-color: var(--hlr-blue-hover) !important;
        color: #fff !important;
    }

/* =========================
   RED BUTTON
========================= */

.hlr-btn-red {
    background: var(--hlr-red) !important;
    border-color: var(--hlr-red) !important;
    color: #fff !important;
}

    .hlr-btn-red:hover,
    .hlr-btn-red:focus {
        background: var(--hlr-red-hover) !important;
        border-color: var(--hlr-red-hover) !important;
        color: #fff !important;
    }

/* Small buttons */
.hlr-btn-sm {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 7px;
}

/* Round icon close button */
.hlr-btn-icon {
    width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    border-radius: 50%;
    font-size: 20px;
}

/* =========================================================
    Toggle Switch
========================================================= */

.admin-field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 4px;
    line-height: 1.15;
}

.hlr-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    min-height: 34px;
}

.hlr-toggle input[type="checkbox"] {
    display: none;
}

.hlr-toggle-slider {
    position: relative;
    width: 42px;
    height: 22px;
    background: var(--hlr-red);
    border-radius: 999px;
    transition: background .2s ease;
}

.hlr-toggle-slider::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    top: 2px;
    left: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.hlr-toggle:has(input[type="checkbox"]:checked) .hlr-toggle-slider {
    background: var(--hlr-green);
}

.hlr-toggle:has(input[type="checkbox"]:checked) .hlr-toggle-slider::before {
    transform: translateX(20px);
}

.hlr-toggle-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--hlr-dark);
}

.hlr-toggle-text-on {
    display: none;
}

.hlr-toggle-text-off {
    display: inline;
}

.hlr-toggle:has(input[type="checkbox"]:checked) .hlr-toggle-text-on {
    display: inline;
}

.hlr-toggle:has(input[type="checkbox"]:checked) .hlr-toggle-text-off {
    display: none;
}

/* =========================================================
   HERO LAYOUT
========================================================= */

.hero-section {
    position: relative;
    overflow: hidden;
}

/* remove split look */
.hero-split {
    display: block;
    position: relative;
}

/* =========================================================
   HERO IMAGE (full width)
========================================================= */

.hero-image {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-image.hero-lg {
    height: 420px;
}

.hero-image {
    height: 260px;
}

.hero-image.hero-sm {
    height: 180px;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
    /* LEFT FADE (lighter + tighter) */
    linear-gradient( to right, rgba(0,0,0,0.24) 0px, rgba(0,0,0,0.16) 120px, rgba(0,0,0,0.08) 220px, rgba(0,0,0,0.0) 300px ),
    /* BOTTOM FADE (slightly softened) */
    linear-gradient( to top, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.20) 40%, rgba(0,0,0,0.05) 70%, rgba(0,0,0,0) 100% );
}

/* =========================================================
   LOGO OVERLAY (no more black box)
========================================================= */

.hero-brand {
    position: absolute;
    top: 60px;
    left: 40px;
    z-index: 3;
    border-radius: 6px;
    backdrop-filter: blur(6px);
    background: transparent;
    backdrop-filter: none;
    padding: 0;
}

/* logo sizing */
.hero-brand img {
    max-height: 100px;
    display: block;
}

@media (max-width: 576px) {

    .hero-brand {
        position: absolute;
        top: 20px;
        left: 20px;
    }

    .hero-title {
        position: absolute;
        top: 180px !important;
        left: 20px !important;
        right: 20px;
        transform: none;
        font-size: 24px;
        line-height: 1.2;
        max-width: 100%;
        white-space: normal;
    }
}

/* =========================================================
   TITLE OVER IMAGE
========================================================= */
.hero-title {
    position: absolute;
    top: 55%;
    left: 235px;
    color: #fff;
    font-size: 42px;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    z-index: 3;
    max-width: calc(100% - 220px);
    transform: translateY(-50%)
}

/* =========================
   PAGE HEADER
========================= */

.page-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20000;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 0px;
}

.page-header.scrolled {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
}

/* =========================
   NAV CONTAINER
========================= */

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: relative;
    margin-bottom: 0px;
    border-bottom: none;
}

.main-nav {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

.page-header,
.main-nav,
.nav-right {
    overflow: visible !important;
}
/* =========================
   LAYOUT SECTIONS
========================= */

.nav-left {
    flex: 0 0 auto;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-login {
    flex: 0 0 auto;
    margin-left: auto;
}

@media (min-width: 992px) {

    .page-header {
        background: rgba(255,255,255,0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .main-nav {
        background: transparent;
    }

    .nav-left,
    .nav-right,
    .nav-login {
        background: transparent;
    }
}

/* =========================
   DESKTOP MENU
========================= */

#mainMenu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

#mainMenu > li {
    position: relative;
    margin-left: 18px;
}

#mainMenu > li > a {
    color: var(--hlr-green);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    display: inline-block;
}

/* DROPDOWN */

#mainMenu > li > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 10px 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#mainMenu > li:hover > ul {
    display: block;
}

#mainMenu > li > ul > li > a {
    display: block;
    padding: 8px 15px;
    color: var(--hlr-green) !important;
}

#mainMenu ul {
    background: #fff !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

#mainMenu ul li a {
    color: var(--hlr-gray)!important;
}

/* =========================
   HAMBURGER
========================= */

.nav-toggle {
    display: none;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {

    /* layout */
    .main-nav {
        flex-wrap: wrap;
        position: relative;
    }

    .nav-left {
        width: 100%;
        padding-left: 40px;
    }

    .nav-right {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-login {
        margin-left: auto;
        padding-right: 15px;
        text-align: right;
    }

    /* hamburger */
    .nav-toggle {
        display: block;
        position: absolute;
        left: 15px;
        padding: 6px;
        cursor: pointer;
        z-index: 30001;
    }

    .nav-login {
        margin-left: 0;
        position: absolute;
        right: 15px;
        top: 10px;
    }

    /* menu */

    #mainMenu {
        display: none;
    }

    #mainMenu.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 2000;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
  
    /* items */
    #mainMenu > li {
        width: 100%;
        margin: 0;
        border-top: 1px solid rgba(255,255,255,.1);
    }

    #mainMenu > li > a {
        display: block;
        width: 100%;
        padding: 12px;
        color: var(--hlr-dark);
    }

    /* dropdown mobile */
    #mainMenu > li > ul {
        display: none;
        position: static;
        background: var(--hlr-dark);
        padding-left: 15px;
    }

    #mainMenu > li.open > ul {
        display: block;
    }
}

/* =========================
   USER MENU (DESKTOP)
========================= */

.user-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-menu > li {
    position: relative;
}

.user-menu > li > a {
    color: var(--hlr-green);
    text-decoration: none;
    font-weight: 500;
}

/* dropdown */
.user-menu > li > ul {
    display: none;
    position: absolute;
    right: 0; /* 🔥 aligns to right side */
    top: 100%;
    background: #fff;
    min-width: 180px;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* show on hover */
.user-menu > li:hover > ul {
    display: block;
}

/* items */
.user-menu > li > ul > li > a {
    display: block;
    padding: 8px 15px;
    color: var(--hlr-dark);
}

.nav-caret {
    margin-left: 5px;
    font-size: 12px;
}

/* =========================
   NAV LOOK
========================= */

.main-nav {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

/* logo */
.nav-left {
    font-size: 16px;
    font-weight: 600;
    color: var(--hlr-green);
}

/* main links */
#mainMenu > li > a {
    color: var(--hlr-green);
    font-size: 15px;
    letter-spacing: .4px;
    transition: color .2s ease;
    font-weight: 500;
    position: relative;
}

/* login links */
.nav-login a {
    color: var(--hlr-green);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s ease;
}

.nav-login a:hover {
    text-decoration: underline;
    color: var(--hlr-dark-green);
}

/* =========================
   LINK HOVER EFFECT
========================= */

/* underline animation */
#mainMenu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--hlr-green);
    transition: width .25s ease;
}

#mainMenu > li:hover > a::after {
    width: 100%;
}

/* =========================
   DROPDOWN STYLE
========================= */

#mainMenu > li > ul {
    border-radius: 6px;
    overflow: hidden;
}

#mainMenu > li > ul > li > a {
    transition: background .2s ease, color .2s ease;
}

/* hover inside dropdown */
#mainMenu > li > ul > li > a:hover {
    background: var(--hlr-light-gray);
    color: var(--hlr-green);
}

.user-menu > li > a {
    position: relative;
}

/* same hover underline */
.user-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--hlr-green);
    transition: width .25s ease;
}

.user-menu > li:hover > a::after {
    width: 100%;
}

@media (max-width: 991px) {

    #mainMenu.open {
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    #mainMenu > li > a {
        font-size: 16px;
    }
}

/* =========================================================
   ADMIN MEGA MENU
========================================================= */

#mainMenu > li.mega-menu {
    position: static;
}

#mainMenu > li.mega-menu > .mega-dropdown {
    display: none;
    position: absolute;
    top: calc(100% - 10px);
    right: 40px;
    left: auto;
    transform: translateY(0);
    width: min(720px, calc(100vw - 48px));
    padding: 22px;
    background: #fff;
    border: 1px solid var(--hlr-border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    z-index: 25000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

#mainMenu > li.mega-menu:hover > .mega-dropdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(80px, 1fr));
    gap: 20px 26px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-group {
    min-width: 0;
}

.mega-heading {
    margin-bottom: 8px;
    padding-bottom: 5px;
    color: var(--hlr-blue);
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--hlr-border);
}

#mainMenu > li.mega-menu .mega-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent !important;
    box-shadow: none !important;
}

#mainMenu > li.mega-menu .mega-group li a {
    display: block;
    padding: 7px 10px;
    border-radius: 4px;
    color: var(--hlr-green) !important;
    font-size: 14px;
    transition: background .2s ease, color .2s ease;
}

    #mainMenu > li.mega-menu .mega-group li a:hover {
        background: var(--hlr-light-gray) !important;
        color: var(--hlr-green) !important;
    }

#mainMenu > li.mega-menu .mega-group li.active > a,
#mainMenu > li.mega-menu .mega-group li.active > a:hover {
    color: var(--hlr-dark-green) !important;
    font-weight: 600;
    background: transparent !important;
}



/* Mobile: keep Admin grouped, but stacked */
@media (max-width: 991px) {

    /* Mobile: make mega menu stack like regular menu */
    #mainMenu > li.mega-menu {
        position: relative;
    }

    #mainMenu > li.mega-menu > .mega-dropdown {
        display: none;
        position: static;
        width: 100%;
        max-width: none;
        padding: 8px 18px 12px 28px;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: #fff;
    }

    #mainMenu > li.mega-menu.open > .mega-dropdown {
        display: block;
    }

    #mainMenu > li.mega-menu:hover > .mega-dropdown {
        display: block;
    }

    #mainMenu > li.mega-menu .mega-group {
        display: block;
        margin: 0 0 12px 0;
    }

    #mainMenu > li.mega-menu .mega-heading {
        margin-top: 8px;
        margin-bottom: 4px;
        padding-bottom: 4px;
        font-size: 13px;
    }

    #mainMenu > li.mega-menu .mega-group li a {
        padding: 7px 10px;
        font-size: 14px;
    }
}


/* =========================
   NAV REFINED SPACING
========================= */

.main-nav {
    padding: 10px 24px;
}

/* logo */
.nav-left {
    font-size: 20px;
    letter-spacing: .5px;
}

/* menu spacing */
#mainMenu > li {
    margin-left: 28px;
}

/* links */
#mainMenu > li > a {
    font-size: 15px;
    font-weight: 700;
}

/* =========================
   PREMIUM HOVER
========================= */

#mainMenu > li > a::after {
    height: 2px;
    background: var(--hlr-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

#mainMenu > li:hover > a::after {
    transform: scaleX(1);
}

/* =========================
   DROPDOWN ANIMATION
========================= */

#mainMenu > li > ul {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all .2s ease;
}

/* show */
#mainMenu > li:hover > ul {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* =========================
   DROPDOWN STYLING UPGRADE
========================= */

    #mainMenu > li > ul {
        border-radius: 8px;
        padding: 8px 0;
        border: 1px solid var(--hlr-border);
    }

/* item spacing */
#mainMenu > li > ul > li > a {
    padding: 10px 18px;
    font-size: 14px;
}

/* hover feel */
#mainMenu > li > ul > li > a:hover {
    background: var(--hlr-light-gray);
}

/* =========================
   MAIN MENU STYLING UPGRADE
========================= */

#mainMenu > li > ul {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.nav-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background-color: var(--hlr-green);
    border-radius: 10px;
    vertical-align: middle;
    opacity: 0.65;
    transition: opacity .2s ease;
}

/* =========================
   USER MENU POLISH
========================= */
.user-menu > li > ul {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all .2s ease;
}

.user-menu > li:hover > ul {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.user-menu > li > ul {
    right: 0;
    border-radius: 8px;
    border: 1px solid var(--hlr-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* =========================
   MOBILE POLISH
========================= */

@media (max-width: 991px) {

    #mainMenu.open {
        animation: slideDown .25s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #mainMenu > li > a {
        font-size: 16px;
    }

}

@media (max-width: 768px) {
    .hero-brand {
        display: none !important;
    }

    .hero-brand {
        margin-bottom: 0;
    }
}

/* =========================
   ACTIVE PAGE
========================= */

.main-nav #mainMenu > li.active > a {
    color: var(--hlr-dark-green);
    font-weight: 600;
}

.main-nav #mainMenu > li.active > a::after {
    transform: scaleX(1);
    height: 3px;
}

/* =========================
   ACTIVE CHILD PAGE
========================= */

.main-nav #mainMenu li ul li.active > a {
    color: var(--hlr-dark-green);
    font-weight: 600;
}

/* =========================
   DROPDOWN CARET
========================= */

.nav-caret {
    display: inline-block;
    margin-left: 6px;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

/* rotate on open (mobile) */
#mainMenu > li.open > a .nav-caret {
    transform: rotate(-135deg);
}

/* rotate on hover (desktop) */
#mainMenu > li:hover > a .nav-caret {
    transform: rotate(-135deg);
}

/* =========================
   ANIMATED HAMBURGER
========================= */

.nav-toggle {
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--hlr-green);
    left: 0;
    transition: all .3s ease;
}

.nav-toggle span:nth-child(1) {
    top: 0;
}

.nav-toggle span:nth-child(2) {
    top: 9px;
}

.nav-toggle span:nth-child(3) {
    top: 18px;
}

/* open animation */
.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* =========================
   MENU OVERLAY
========================= */

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 9999;
}

/* visible */
.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================
   GLOBAL INPUT FIX (LOGIN + REGISTER)
========================================= */

.form-input,
.form-input:focus,
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:focus,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:active {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    background-color: #fff !important;
    caret-color: #000 !important;
}

/* Kill autofill background completely */
    .form-input:-webkit-autofill {
        -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
        box-shadow: 0 0 0px 1000px #fff inset !important;
        border: 1px solid var(--hlr-border) !important;
    }

/* Prevent iOS zoom + improve readability */
.form-input {
    font-size: 16px !important;
    padding: 10px 12px;
    border: 1px solid var(--hlr-border);
    border-radius: 4px;
}

.form-label-outside {
    color: var(--hlr-dark);
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

input[type="date"].form-input {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
}

.page-header {
    z-index: 20000 !important;
}

.page-header.menu-open {
    z-index: 1000;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    z-index: 9999;
    display: none;
}

.menu-overlay.open {
    display: block;
}

/* =========================================
   FORM FIX – NO OVERLAP, CLEAN MOBILE UX
========================================= */

/* Ensure label is ALWAYS above input */
.form-wrap {
    display: flex;
    flex-direction: column;
}

/* Label styling */
.form-label-outside {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    font-size: 14px;
    color: var(--hlr-dark);
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.2;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* Input spacing consistency */
.form-input {
    margin-top: 0;
}

/* Mobile tightening */
@media (max-width: 768px) {

    .form-label-outside {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .form-input {
        padding: 10px 12px;
    }
}

/* =========================
   BACK TO TOP OF PAGE
========================= */

#ui-to-top {
    width: 48px;
    height: 48px;
    font-size: 40px !important;
    font-weight: bold;
    line-height: 48px;
    text-align: center;
}


/* =========================================================
   Admin Alerts
========================================================= */

.admin-alert {
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0 0 16px 0;
    font-size: 14px;
    font-weight: 600;
}

.admin-alert-success {
    background: var(--hlr-light-green);
    color: var(--hlr-green);
    border: 1px solid var(--hlr-green);
}

.admin-alert-error {
    background: var(--hlr-light-red);
    color: var(--hlr-red);
    border: 1px solid var(--hlr-red);
}

.admin-alert-info {
    background: var(--hlr-light-blue);
    color: var(--hlr-blue);
    border: 1px solid var(--hlr-blue);
}


/* =========================================================
   GOLF / WGA PAGE STYLES
========================================================= */

/* =========================================================
   ISOTOPE FILTERS (CLEAN + UNIFIED)
========================================================= */

.isotope-filters {
    width: 100%;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.isotope-filters-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    position: static !important;
    top: auto !important;
    left: auto !important;
}

.isotope-filters-horizontal .isotope-filters-list {
    border-bottom: none !important;
}

.isotope-filters-list li {
    margin: 0;
    padding: 0;
}

.isotope-filters-list li a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    background: var(--hlr-light-green);
    color: var(--hlr-dark);
    transition: all .2s ease;
    cursor: pointer;
}

.isotope-filters-list li a:hover {
    background: var(--hlr-light-gray);
    color: var(--hlr-green);
}

.isotope-filters-list li a.active {
    background: var(--hlr-green);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.isotope-filters-list li a:active {
    transform: translateY(1px);
}


/* =========================================================
   ALPHA NAVIGATION
========================================================= */

.directory-alpha {
    position: relative;
    width: 100%;
    clear: both;
    text-align: center;
    margin: 5px 0 8px;
    padding: 4px 0;
    line-height: 1;
    z-index: 1;
}

.directory-alpha a {
    display: inline-block;
    margin: 0 5px;
    padding: 3px 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hlr-green);
    text-decoration: none;
    border-radius: 4px;
    transition: all .2s ease;
    opacity: 0.85;
    cursor: pointer;
}

.directory-alpha a:hover {
    background: rgba(0,0,0,0.05);
    opacity: 1;
}

.directory-alpha a.active {
    border-bottom: 2px solid var(--hlr-green);
}

.directory-alpha a.alpha-disabled {
    color: var(--hlr-gray) !important;
    pointer-events: none;
    opacity: .4;
}

/* =========================================================
   LETTER HEADERS
========================================================= */

.directory-letter {
    width: 100%;
    font-size: 22px;
    font-weight: 600;
    color: var(--hlr-green);
    margin: 18px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--hlr-border);
    scroll-margin-top: 120px;
}

/* =========================================================
   MOBILE / TABLET ADJUSTMENTS
========================================================= */

@media (max-width: 991px) {

    /* filters stay inline (no dropdown behavior) */
    .isotope-filters-list {
        display: flex !important;
        position: static !important;
        box-shadow: none !important;
        background: transparent !important;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .isotope-filters-list {
        gap: 8px;
    }

    .isotope-filters-list li a {
        font-size: 13px;
        padding: 5px 10px;
    }

    .directory-alpha {
        font-size: 13px;
        letter-spacing: 1px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    .directory-alpha::-webkit-scrollbar {
        display: none;
    }

    .directory-alpha a {
        margin: 0 4px;
        padding: 5px 6px;
        font-size: 13px;
    }

    .directory-letter {
        font-size: 20px;
        margin: 16px 0 6px;
    }
}

/* =========================================================
   ISOTOPE FILTERS — FINAL DESKTOP NORMALIZATION
   (removes template tab styling + matches mobile buttons)
========================================================= */

@media (min-width: 992px) {

    /* spacing */
    .isotope-filters-list {
        gap: 14px;
    }

    /* kill ALL template tab/underline behavior */
    .isotope-filters-horizontal .isotope-filters-list {
        border-bottom: none !important;
    }

    .isotope-filters-list li a,
    .isotope-filters-list li a.active,
    .isotope-filters-list li a::before,
    .isotope-filters-list li a::after {
        border: none !important;
        border-bottom: none !important;
        background-image: none !important;
        box-shadow: none !important;
    }

    /* button style (match mobile/tablet) */
    .isotope-filters-list li a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 12px !important;
        height: auto !important;
        line-height: normal !important;
        border-radius: 6px !important;
        background: var(--hlr-light-green) !important;
        color: var(--hlr-gray) !important;
    }

    /* active state */
    .isotope-filters-list li a.active {
        background: var(--hlr-green) !important;
        color: #fff !important;
    }
}

/* kill template underline pseudo-element */
.isotope-filters-list li a.active::after {
    display: none !important;
    content: none !important;
}

/* =========================================================
   DIRECTORY 
========================================================= */

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 18px;
}

.directory-group .member-grid {
    justify-content: start;
}

.directory-group {
    width: 100%;
    margin-bottom: 20px;
}

.directory-letter {
    font-size: 22px;
    font-weight: 600;
    color: var(--hlr-green);
    border-bottom: 1px solid var(--hlr-border);
    margin: 24px 0 8px;
}

@media (max-width: 768px) {

    .member-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }


    .member-group {
        gap: 12px;
    }

    .member-card {
        margin-bottom: 12px;
    }
}

@media (min-width: 992px) {
    .member-grid {
        gap: 20px;
    }
}

/* =========================================================
   MEMBER CARDS
========================================================= */

.member-card {
    width: 100%;
    position: relative;
    text-align: center;
    margin-bottom: 18px;
    transition: transform .18s ease, box-shadow .18s ease;
    will-change: transform;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 0;
    -webkit-tap-highlight-color: transparent;
}

    .member-card:active {
        transform: scale(0.98);
    }

    .member-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,.15);
    }

@media (hover: hover) {
    .member-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 14px rgba(0,0,0,.12);
    }
}

.member-card img {
    width: 80%;
    max-width: 160px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    transition: transform .25s ease;
    margin: 0 auto;
    display: block;
}

.member-image-wrap {
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    border-radius: 8px;
    overflow: hidden;
    width: 160px;
    margin: 0 auto;
}

    .member-image-wrap img {
        display: block;
        width: 100%;
        max-width: 160px;
        margin-top: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        height: 160px;
        object-fit: cover;
    }

.member-card:hover img {
    transform: scale(1.03);
}

/* MEMBER NAME */

.member-name {
    margin-top: 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hlr-dark);
    font-size: 15px;
}

@media (max-width: 768px) {

    .member-card {
        margin-bottom: 10px;
    }
}

/* =========================================================
   MEMBER RIBBONS
========================================================= */

.member-ribbon {
    width: 160px;
    padding: 3px 6px;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    color: #fff;
    margin-bottom: 2px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TYPE COLORS */

.member-full .member-ribbon {
    background: var(--hlr-green);
}

.member-lifetime .member-ribbon {
    background: var(--hlr-gold);
}

.member-social .member-ribbon {
    background: var(--hlr-blue);
}

/* =========================================
   FIX TEMPLATE ROW SPACING (DIRECTORY ONLY)
========================================= */

.section.section-lg.bg-white .row + .row {
    margin-top: 0 !important;
}

.section.section-lg.bg-white .row {
    transform: none !important;
    margin-bottom: 0 !important;
}

/* =========================================================
   BIRTHDAY HIGHLIGHT
========================================================= */

.birthday-month {
    outline: 2px solid var(--hlr-green);
    outline-offset: 2px;
}

/* =========================================================
   MEMBER DETAIL (INLINE PANEL)
========================================================= */

#memberDetailInline {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    max-width: 1400px;
    z-index: 9999;
    display: none;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
    opacity: 0;
    transition: opacity .5s ease;
}

#memberDetailInline.show {
    opacity: 1;
}

.member-detail-wrapper {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--hlr-border);
    border-left: 4px solid var(--hlr-green);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.section .row {
    overflow: visible;
}

#memberBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 9000;
}

#memberBackdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* CLOSE BUTTON */

.member-detail-close {
    text-align: right;
    margin-bottom: 10px;
}

.member-detail-close button {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: var(--hlr-dark);
}

.member-detail-close button:hover {
    color: #000;
}

/* DETAIL TEXT */

.directory-member-detail .col-xl-4:last-child {
    padding-left: 10px;
}

.directory-member-detail-content {
    width: 100%;
    margin-bottom: 4px;
}

.directory-member-detail-name {
    color: var(--hlr-green);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 6px;
}

.directory-member-detail-type {
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--hlr-dark);
}

.directory-member-detail-content a {
    color: var(--hlr-green);
    text-decoration: none;
}

.directory-member-detail-content i.fa {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.directory-member-detail-content a:hover {
    text-decoration: underline;
}

.member-history p {
    margin-bottom: 2px;
    padding-left: 2px;
}

.member-history h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--hlr-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.member-history-line {
    margin: 0;
    line-height: 1.15;
    font-size: 13px;
}

/* =========================================================
   MEMBER DETAIL - COMPLETE MOBILE FIX
========================================================= */

/* MAIN CONTAINER FIX */
#memberDetailInline {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    max-width: 1400px;
    /* CRITICAL */
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
    display: none;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
    opacity: 0;
    transition: opacity .5s ease;
}

#memberDetailInline.show {
    opacity: 1;
}

/* WRAPPER */
.member-detail-wrapper {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--hlr-border);
    border-left: 4px solid var(--hlr-green);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    overflow: visible;
}

/* BACKDROP */
#memberBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 9000;
}

#memberBackdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* CLOSE BUTTON (sticky on scroll) */
.member-detail-close {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
    text-align: right;
    margin-bottom: 10px;
    padding-bottom: 6px;
}

.member-detail-close button {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: var(--hlr-dark);
}

.member-detail-close button:hover {
    color: #000;
}

/* TEXT */
.directory-member-detail-content {
    width: 100%;
    margin-bottom: 4px;
}

.directory-member-detail-name {
    color: var(--hlr-green);
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 6px;
}

.directory-member-detail-type {
    font-weight: 600;
    margin-bottom: 14px;
    color: var(--hlr-dark);
}

.directory-member-detail-content a {
    color: var(--hlr-green);
    text-decoration: none;
}

.directory-member-detail-content a:hover {
    text-decoration: underline;
}

/* HISTORY */
.member-history p {
    margin-bottom: 2px;
    padding-left: 2px;
}

.member-history h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--hlr-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.member-history-line {
    margin: 0;
    line-height: 1.15;
    font-size: 13px;
}

/* =========================================================
   MOBILE FIXES
========================================================= */

@media (max-width: 768px) {

    #memberDetailInline {
        top: 60px;
        max-height: calc(100vh - 70px);
        border-radius: 0;
    }

    .member-detail-wrapper {
        padding: 18px;
    }

    /* FORCE STACKING (kills bootstrap row/flex issues) */
    .directory-member-detail {
        display: block;
    }

    .directory-member-detail > div {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    /* IMAGE CONTROL (prevents giant image) */
    .directory-member-detail img {
        width: 100%;
        height: auto;
        max-height: 260px;
        object-fit: cover;
        border-radius: 6px;
    }
}

/* SAFETY: prevent hidden overflow from child elements */
#memberDetailInline * {
    max-height: none !important;
}

/* =========================================================
   ACTIVE CARD
========================================================= */

.member-active {
    outline: 3px solid var(--hlr-green);
    outline-offset: 2px;
}

/* =========================================================
   PAST PRESIDENTS, CHAMPIONS AND BOARD MINUTES
========================================================= */

/* GRID LAYOUT */
.bh-history-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* wide screens */
@media (min-width: 1600px) {
    .bh-history-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* tablet + down */
@media (max-width: 992px) {
    .bh-history-grid {
        grid-template-columns: 1fr;
    }
}

/* CARD */
.bh-year-card {
    background: #fff;
    border: 1px solid var(--hlr-border);
    border-radius: 6px;
    padding: 12px;
    text-align: left;
}

    .bh-year-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

/* HEADER */
.bh-year-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--hlr-green);
    margin-bottom: 8px;
    border-bottom: 1px solid var(--hlr-border);
    padding-bottom: 4px;
}

/* BODY */
.bh-year-body {
    font-size: 14px;
}

/* =========================================================
   ARCHIVE (TRUE VERTICAL COLUMNS)
========================================================= */

.bh-year-card.archive .bh-year-body {
    display: block;
}

/* 2-column layout */
.bh-archive-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* column content */
.bh-archive-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* mobile: single column */
@media (max-width: 768px) {
    .bh-archive-cols {
        display: block;
    }

    .bh-archive-col {
        width: 100%;
    }
}

/* ROW CONTENT */
.bh-history-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    line-height: 1.3;
}

/* fixed year column */
.bh-history-year {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--hlr-green);
    min-width: 65px;
    flex: 0 0 auto;
    white-space: nowrap;
}

/* name takes remaining space cleanly */
.bh-history-name {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
}

/* LINKS */
.bh-member-link {
    color: var(--hlr-green);
    text-decoration: none;
    cursor: pointer;
}

    .bh-member-link:hover {
        text-decoration: underline;
    }

/* SECTION TITLE */
.board-section-title {
    margin: 30px 0 15px;
    font-weight: 600;
    color: var(--hlr-green);
    border-bottom: 2px solid var(--hlr-border);
    padding-bottom: 6px;
}

/* =========================================================
   BOARD MINUTES
========================================================= */
.bh-history-date {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--hlr-green);
    min-width: 120px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.pending {
    color: var(--hlr-gray);
    font-style: italic;
}

.bh-history-view {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
}

.bh-minutes-link {
    color: var(--hlr-green);
    text-decoration: none;
}

.bh-minutes-link:hover {
    text-decoration: underline;
}

/* =========================================================
   IN MEMORIUM
========================================================= */

.memorial-intro {
    font-size: 17px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 20px;
    color: var(--hlr-dark);
}

.memorial-grid {
    margin-top: 10px;
}

.memorial-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 20px;
}

.memorial-item {
    font-size: 16px;
    padding: 6px 0;
    border-bottom: 1px solid var(--hlr-gold);
}

.memorial-item:hover {
    color: var(--hlr-green);
}

/* responsive */
@media (max-width: 992px) {
    .memorial-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .memorial-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* wide screens */
@media (min-width: 1600px) {
    .memorial-list {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* =========================================================
   BYLAWS / RULES
========================================================= */

.bylaws-container {
    max-width: 900px;
    margin: 0 auto;
}

.bylaws-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.bylaws-content {
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

/* Article headers with accent */
.bylaws-content h3 {
    text-align: left;
    margin-top: 35px;
    margin-bottom: 10px;
    font-weight: 600;
    padding-left: 12px;
    border-left: 4px solid var(--hlr-green);
}

/* Section titles */
.bylaws-section-title {
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: 700;
    padding-left: 10px;
    border-left: 3px solid var(--hlr-blue);
}

/* Subheads */
.bylaws-subhead {
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: 700;
    padding-left: 8px;
    border-left: 2px solid var(--hlr-gold);
    text-transform: uppercase;
}

.bylaws-content p {
    margin-bottom: 14px;
    text-indent: 20px;
}

.bylaws-content strong {
    font-weight: 600;
}

.bylaws-content em {
    color: var(--hlr-dark);
    font-size: 0.95em;
}

.bylaws-list {
    margin-left: 30px;
    margin-bottom: 15px;
}

.bylaws-note {
    font-size: 0.95em;
    color: var(--hlr-dark);
    font-style: italic;
}

/* =========================================================
   BYLAWS / RULES - MOBILE
========================================================= */

@media (max-width: 575px) {
    .bylaws-container {
        max-width: 100%;
        padding: 0 16px;
    }

    .bylaws-content {
        font-size: 15px;
        line-height: 1.65;
    }

        .bylaws-content h3 {
            font-size: 22px;
            line-height: 1.25;
            margin-top: 28px;
            margin-bottom: 12px;
            padding-left: 10px;
        }

    .bylaws-section-title {
        font-size: 16px;
        line-height: 1.35;
        margin-top: 18px;
        padding-left: 9px;
    }

    .bylaws-subhead {
        font-size: 14px;
        line-height: 1.35;
        margin-top: 18px;
        padding-left: 8px;
    }

    .bylaws-content p {
        text-indent: 0;
        margin-bottom: 14px;
    }

    .bylaws-list {
        margin-left: 18px;
        padding-left: 12px;
    }
}

/* =========================================
   ETW AND B&B PLAY DAYS
========================================= */

.schedule-row {
    display: grid;
    grid-template-columns: 120px 1fr 200px;
    column-gap: 20px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid var(--hlr-border);
    font-size: 15px;
}

.schedule-dateblock {
    line-height: 1.3;
    white-space: nowrap;
    text-align: left;
}

.schedule-day {
    font-size: 15px;
    font-weight: 400;
    color: var(--hlr-blue);
    margin-right: 4px;
}

.schedule-date {
    font-size: 15px;
    font-weight: 600;
    color: var(--hlr-green);
    letter-spacing: 0.2px;
}

.schedule-course {
    color: var(--hlr-dark);
}

.schedule-city {
    text-align: right;
    color: var(--hlr-gray);
}

.schedule-row.next-event {
    background: var(--hlr-light-green);
    border-radius: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

/* mobile */
@media (max-width: 768px) {
    .schedule-row {
        grid-template-columns: 1fr;
        row-gap: 4px;
    }

    .schedule-city {
        text-align: left;
    }
}

/* =========================================================
   SCHEDULE HEADER
========================================================= */

.schedule-header {
    margin-bottom: 10px;
}

.schedule-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--hlr-green);
    margin-bottom: 5px;
}

.schedule-subtitle {
    font-size: 16px;
    color: var(--hlr-gray);
}

/* =========================================================
   INFO BAR
========================================================= */

.schedule-info-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 10px 0;
    border-top: 1px solid var(--hlr-border);
    border-bottom: 1px solid var(--hlr-border);
    margin-bottom: 15px;
}

.info-item {
    font-size: 14px;
}

/* =========================================================
   NOTE
========================================================= */

.schedule-note {
    text-align: center;
    font-size: 14px;
    color: var(--hlr-dark);
    margin-bottom: 20px;
}

/* =========================================================
   HLR PLAY DAYS
========================================================= */

.playdays-subtitle {
    font-size: 18px;
    color: var(--hlr-green);
    font-weight: 500;
}

.playdays-text {
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--hlr-dark);
}

.playdays-fee {
    margin-top: 20px;
    font-size: 16px;
}

.playdays-fee p {
    margin-bottom: 8px;
}

.small-text {
    font-size: 14px;
    color: var(--hlr-gray);
}

/* =========================
   MEETINGS
========================= */

.meeting-container {
    max-width: 640px;
    margin: 0 auto;
}

.meeting-list {
    width: 100%;
    margin: 0 auto;
}

.meeting-card {
    border-bottom: 1px solid var(--hlr-border);
    padding: 8px 0;
    text-align: left;
}

.meeting-card.next-event {
    background: var(--hlr-light-green);
    border-radius: 4px;
    padding-left: 8px;
    padding-right: 8px;
}

.meeting-row {
    display: grid;
    grid-template-columns: 110px 70px 110px 1fr;
    column-gap: 20px;
    align-items: start;
}

.meeting-dateblock {
    line-height: 1.3;
    white-space: nowrap;
}

.meeting-day {
    font-size: 15px;
    font-weight: 400;
    color: var(--hlr-blue);
    margin-right: 4px;
}

.meeting-date {
    font-size: 15px;
    font-weight: 600;
    color: var(--hlr-green);
    letter-spacing: 0.2px;
}

.meeting-time {
    font-size: 15px;
    color: var(--hlr-dark);
    line-height: 1.3;
}

.meeting-location {
    font-size: 15px;
    color: var(--hlr-dark);
    line-height: 1.3;
}

.meeting-notes {
    font-size: 14px;
    line-height: 1.3;
    color: var(--hlr-gold);
}

/* mobile */
@media (max-width: 575px) {
    .meeting-row {
        grid-template-columns: 1fr;
        row-gap: 3px;
    }

    .meeting-notes {
        margin-left: 0;
    }
}

/* =========================================================
   MEETINGS PAGE ONLY
========================================================= */

.meetings-page .meeting-container {
    max-width: 760px;
    margin: 0 auto 24px auto;
}

.meetings-page .meeting-row {
    grid-template-columns: 110px 70px 110px 1fr 75px;
    column-gap: 18px;
    align-items: center;
}

.meeting-minutes {
    font-size: 14px;
    line-height: 1.3;
    text-align: right;
    white-space: nowrap;
}

.meeting-minutes .bh-minutes-link {
    color: var(--hlr-green);
    text-decoration: none;
}

.meeting-minutes .bh-minutes-link:hover {
    color: var(--hlr-green-hover);
    text-decoration: underline;
}

.meeting-minutes .pending {
    color: var(--hlr-gray);
    font-style: italic;
}

.meetings-minutes-history {
    max-width: 760px;
    margin: 22px auto 0 auto;
    padding-top: 8px;
}

.meetings-minutes-history .bh-history-grid {
    grid-template-columns: 1fr;
    gap: 12px;
}

.meetings-minutes-history .bh-year-card {
    max-width: 100%;
}

.meetings-minutes-history .bh-archive-cols {
    gap: 28px;
}

@media (max-width: 575px) {
    .meetings-page .meeting-row {
        grid-template-columns: 1fr;
        row-gap: 3px;
        align-items: start;
    }

    .meeting-minutes {
        text-align: left;
    }

    .meetings-minutes-history {
        max-width: 100%;
    }
}




/* =========================================================
   TOURNAMENTS
========================================================= */

.tourn-col {
    width: 100%;
}

/* GROUPING */
.tourn-group {
    position: relative;
    margin-bottom: 8px;
    padding-left: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--hlr-border);
}

.tourn-group::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: transparent;
}

.tourn-group.tourn-multi::before {
    background: var(--hlr-gold);
}

.tourn-group.next-event::before {
    background: var(--hlr-green);
}

.tourn-group.next-event .tourn-line:first-child {
    background: var(--hlr-light-green);
    border-radius: 4px;
}

.tourn-group .tourn-line {
    border-bottom: none;
}

.tourn-group .tourn-line:not(:first-child) {
    margin-top: -2px;
}

/* ROW */
.tourn-line {
    display: grid;
    grid-template-columns: 100px 60px minmax(250px, 1fr) 100px 80px;
    column-gap: 14px;
    align-items: start;
    font-size: 14px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--hlr-border);
}

.tourn-line:hover {
    background: rgba(0,0,0,0.03);
    border-radius: 4px;
}

/* DATE BLOCK */
.tourn-dateblock {
    line-height: 1.3;
    white-space: nowrap;
}

.tourn-day {
    font-size: 15px;
    font-weight: 400;
    color: var(--hlr-blue);
    margin-right: 4px;
}

.tourn-date {
    font-size: 15px;
    font-weight: 600;
    color: var(--hlr-green);
    letter-spacing: 0.2px;
}

/* COLUMNS */
.tourn-ampm {
    font-size: 15px;
    color: var(--hlr-dark);
    line-height: 1.3;
}

.tourn-name {
    font-size: 15px;
    color: var(--hlr-dark);
    line-height: 1.3;
    text-align:left;
}

.tourn-format {
    font-size: 14px;
    color: var(--hlr-dark);
    line-height: 1.3;
}

.tourn-details {
    text-align: center;
}

.tourn-flyer {
    color: var(--hlr-blue);
    font-size: 24px;
    text-decoration: none;
}

.tourn-flyer:hover,
.tourn-flyer:focus {
    color: var(--hlr-green);
}

.tourn-flyer.disabled {
    color: var(--hlr-light-gray);
    cursor: default;
    pointer-events: none;
}

.flyer-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,.72);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.flyer-modal.open {
    display: flex;
}

.flyer-modal-content {
    position: relative;
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    max-width: 900px;
    max-height: 90vh;
    box-shadow: 0 12px 35px rgba(0,0,0,.35);
}

.flyer-modal-content img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    height: auto;
    border-radius: 6px;
}

.flyer-modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--hlr-green);
    color: #fff;
    font-size: 24px;
    line-height: 30px;
    cursor: pointer;
}


/* CONTINUATION ROWS */
.tourn-cont {
    opacity: 0.75;
}

/* MOBILE */
@media (max-width: 768px) {
    .tourn-line {
        grid-template-columns: 105px 70px 1fr;
    }

    .tourn-format {
        display: none;
    }

    .tourn-details {
        display: block;
        text-align: right;
    }

    .tourn-flyer {
        font-size: 20px;
    }
}

/* =========================================================
   HOME CARDS
========================================================= */

.home-card {
    background: #fff;
    border: 1px solid var(--hlr-border);
    border-radius: 6px;
    padding: 15px;
    text-align: left;
}

.home-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--hlr-green);
    border-bottom: 1px solid var(--hlr-border);
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.home-section {
    margin-bottom: 20px;
}

    .home-section:last-child {
        margin-bottom: 0;
    }

.home-sub {
    font-weight: 600;
    color: var(--hlr-blue);
    margin-bottom: 6px;
}

.home-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.home-card-row {
    display: grid;
    grid-template-columns: 110px 72px 1fr;
    column-gap: 18px;
    align-items: start;
    padding: 8px 0;
    border-bottom: 1px solid var(--hlr-border);
}

.home-card-row-two {
    grid-template-columns: 110px 1fr;
}

.home-section .home-link:last-child .home-card-row,
.home-meeting-list .home-link:last-child .home-card-row {
    border-bottom: none;
}

.home-link:hover .home-card-row {
    background: rgba(0,0,0,0.035);
    border-radius: 4px;
}

.home-card-dateblock {
    line-height: 1.3;
    white-space: nowrap;
}

.home-card-day {
    font-size: 15px;
    font-weight: 400;
    color: var(--hlr-blue);
    margin-right: 4px;
}

.home-card-date {
    font-size: 15px;
    font-weight: 600;
    color: var(--hlr-green);
    letter-spacing: 0.2px;
}

.home-card-time {
    font-size: 15px;
    color: var(--hlr-dark);
    line-height: 1.3;
}

.home-card-main {
    min-width: 0;
}

.home-card-location {
    font-size: 15px;
    color: var(--hlr-dark);
    line-height: 1.3;
}

.home-card-notes {
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.3;
    color: var(--hlr-gold);
}

/* Phone */
@media (max-width: 575px) {
    .home-card-row,
    .home-card-row-two {
        grid-template-columns: 1fr;
        row-gap: 3px;
    }

    .home-card-time {
        margin-top: 2px;
    }

    .home-card-location,
    .home-card-notes {
        font-size: 14px;
    }
}




/* =========================================================
   HOME - RECENT HONORS
========================================================= */

.honor-item + .honor-item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--hlr-border);
}

.honor-item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--hlr-green);
}

.honor-item-title .bh-member-link {
    color: inherit;
    text-decoration: none;
}

.honor-item-title .bh-member-link:hover,
.honor-item-title .bh-member-link:focus {
    color: var(--hlr-gold);
    text-decoration: underline;
    text-decoration-color: var(--hlr-gold);
}

.honor-item-type {
    font-weight: 400;
    color: var(--hlr-dark);
    margin-left: 4px;
}

.honor-item-detail {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--hlr-dark);
}

/* =========================================================
   HOLE IN ONE CLUB
========================================================= */

.schedule-header {
    margin-bottom: 20px !important;
}

.hoi-history-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.hoi-year-card {
    text-align: left;
}

.hoi-year-header {
    margin-bottom: 14px;
}

.hoi-year-body {
    font-size: 14px;
}

.hoi-entry {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.hoi-entry-name .bh-member-link {
    color: inherit;
    text-decoration: none;
}

.hoi-entry-name .bh-member-link:hover,
.hoi-entry-name .bh-member-link:focus {
    color: var(--hlr-gold);
    text-decoration: underline;
    text-decoration-color: var(--hlr-gold);
}

.hoi-entry + .hoi-entry {
    border-top: 1px solid var(--hlr-border);
}

.hoi-entry-main {
    flex: 1;
    min-width: 0;
}

.hoi-entry-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--hlr-green);
    margin-bottom: 1px;
    line-height: 1.3;
}

.hoi-entry-sub {
    font-size: 14px;
    color: var(--hlr-dark);
    margin-bottom: 2px;
    line-height: 1.4;
}

.hoi-entry-meta {
    font-size: 14px;
    color: var(--hlr-dark);
    line-height: 1.4;
}

.hoi-entry-notes {
    margin-top: 6px;
    font-size: 13px;
    color: var(--hlr-gray);
    line-height: 1.5;
}

.hoi-sep {
    color: var(--hlr-gray);
}

.hoi-entry-thumb {
    flex: 0 0 92px;
}

.hoi-entry-thumb a {
    display: block;
    text-decoration: none;
}

    .hoi-entry-thumb img {
        width: 92px;
        height: 92px;
        object-fit: cover;
        border-radius: 6px;
        border: 1px solid var(--hlr-border);
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        transition: transform .2s ease, box-shadow .2s ease;
    }

.hoi-entry-thumb img:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.10);
}

@media (max-width: 1199px) {
    .hoi-history-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .hoi-entry {
        gap: 12px;
    }

    .hoi-entry-thumb {
        flex: 0 0 72px;
    }

    .hoi-entry-thumb img {
        width: 72px;
        height: 72px;
    }

    .hoi-entry-name {
        font-size: 16px;
    }

    .hoi-entry-sub,
    .hoi-entry-meta,
    .hoi-entry-notes {
        font-size: 13px;
    }
}

/* =========================================================
   Pro Shop Staff
========================================================= */

.member-name a {
    color: inherit;
    text-decoration: none;
}

    .member-name a:hover {
        color: var(--hlr-green);
    }

/* detail only for pro shop staff */
.proshop-staff-detail .directory-member-detail-name {
    color: var(--hlr-dark);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.proshop-detail-position {
    font-size: 18px;
    font-weight: 600;
    color: var(--hlr-dark);
    margin-bottom: 22px;
}

.proshop-staff-detail .member-detail-bio {
    font-size: 15px;
    line-height: 1.75;
    color: var(--hlr-gray);
}

#memberDetailInline .member-detail-close {
    text-align: right;
    margin-bottom: 10px;
    position: static;
    background: transparent;
    padding-bottom: 0;
}

#memberDetailInline .member-detail-close button {
    background: none;
    border: 0;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 14px;
    cursor: pointer;
    color: var(--hlr-dark);
}

#memberDetailInline .member-detail-close button:hover {
    background: var(--hlr-gold);
    color: #000;
}

/* =========================================================
   SHARED MOBILE FOUNDATION
========================================================= */

@media (max-width: 768px) {

    /* ---------- common section spacing ---------- */

    .section.section-lg.bg-white,
    .section.section-md.bg-white,
    .section.section-sm.bg-white {
        padding-top: 22px;
        padding-bottom: 24px;
    }

    .section.section-lg.bg-white .container,
    .section.section-md.bg-white .container,
    .section.section-sm.bg-white .container,
    .section.section-lg.bg-white .container.container-wide,
    .section.section-md.bg-white .container.container-wide,
    .section.section-sm.bg-white .container.container-wide {
        padding-left: 14px;
        padding-right: 14px;
    }

    /* ---------- shared form pages ---------- */

    .form-input {
        min-height: 50px;
        font-size: 16px;
        padding: 12px 14px;
    }

    .button.button-primary,
    #btnSave,
    #btnChangePassword,
    #btnLogin,
    #btnRegister,
    #btnVerify,
    #btnForgotPassword {
        min-height: 50px;
        padding: 12px 16px;
        font-size: 15px;
        line-height: 1.2;
    }

    .form-wrap,
    .form-wrap.form-wrap-validation {
        margin-bottom: 12px;
    }

    /* ---------- shared member detail overlay ---------- */

    #memberDetailInline {
        top: 62px;
        width: 96%;
        max-height: calc(100vh - 74px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .member-detail-wrapper {
        padding: 14px 12px 16px;
    }

    .member-detail-close {
        margin-bottom: 8px;
        padding-bottom: 4px;
    }

    .member-detail-close button {
        font-size: 13px;
        padding: 4px 10px;
    }

    .directory-member-detail-name {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .directory-member-detail-type {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .directory-member-detail-content {
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 6px;
    }

    .member-history {
        margin-top: 12px;
    }

    .member-history h5 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .member-history-line {
        font-size: 12px;
        line-height: 1.3;
    }

    /* ---------- shared member grid/card system ---------- */

    .member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .member-item {
        min-width: 0;
    }

    .member-card {
        margin-bottom: 6px;
    }

    .member-image-wrap {
        width: 100%;
        max-width: none;
    }

    .member-image-wrap img {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 1 / 1;
        min-height: 0;
        max-height: none;
    }

    .member-ribbon {
        width: 100%;
        min-height: 30px;
        padding: 4px 6px;
        font-size: 8px;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
        overflow-wrap: break-word;
        margin-bottom: 0;
    }

    .member-name {
        font-size: 12px;
        line-height: 1.25;
        min-height: 30px;
        margin-top: 6px;
        padding: 0 2px;
    }

    /* ---------- shared history/archive cards ---------- */

    .bh-history-grid {
        gap: 14px;
    }

    .bh-year-card {
        padding: 12px 10px;
        border-radius: 6px;
    }

    .bh-year-header {
        font-size: 17px;
        margin-bottom: 6px;
        padding-bottom: 4px;
    }

    .bh-year-body {
        font-size: 13px;
    }

    .bh-history-line {
        padding: 4px 0;
        line-height: 1.35;
        align-items: flex-start;
    }

    .bh-history-year {
        min-width: 56px;
        font-size: 12px;
        line-height: 1.35;
    }

    .bh-history-name {
        font-size: 13px;
        line-height: 1.35;
        white-space: normal;
    }

    .bh-archive-cols {
        gap: 12px;
    }

    .bh-archive-col {
        gap: 2px;
    }

    /* ---------- common headings ---------- */

    .board-section-title,
    .home-section-title,
    .section.section-lg.bg-white h3.mb-4,
    .schedule-header h4 {
        line-height: 1.2;
    }
}

@media (max-width: 399px) {

    .section.section-lg.bg-white .container,
    .section.section-md.bg-white .container,
    .section.section-sm.bg-white .container,
    .section.section-lg.bg-white .container.container-wide,
    .section.section-md.bg-white .container.container-wide,
    .section.section-sm.bg-white .container.container-wide {
        padding-left: 12px;
        padding-right: 12px;
    }

    .form-input {
        min-height: 48px;
        font-size: 16px;
        padding: 11px 12px;
    }

    .button.button-primary,
    #btnSave,
    #btnChangePassword,
    #btnLogin,
    #btnRegister,
    #btnVerify,
    #btnForgotPassword {
        font-size: 14px;
        padding: 11px 14px;
    }

    #memberDetailInline {
        top: 50px;
        max-height: calc(100vh - 62px);
    }

    .directory-member-detail-name {
        font-size: 18px;
    }

    .directory-member-detail-type,
    .directory-member-detail-content {
        font-size: 13px;
    }

    .member-grid {
        gap: 10px;
    }

    .member-ribbon {
        min-height: 32px;
        font-size: 7px;
        padding: 4px 5px;
    }

    .member-name {
        font-size: 11px;
        min-height: 28px;
    }

    .bh-history-grid {
        gap: 12px;
    }

    .bh-year-card {
        padding: 10px 8px;
    }

    .bh-year-header {
        font-size: 16px;
    }

    .bh-history-year {
        min-width: 52px;
        font-size: 11px;
    }

    .bh-history-name {
        font-size: 12px;
    }
}

/* =========================================================
   HOME PAGE - MOBILE CLEANUP
========================================================= */

.home-section-title {
    margin-bottom: 16px;
    font-weight: 600;
    color: var(--hlr-dark);
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 18px;
        line-height: 1.15;
        left: 18px;
        right: 18px;
        bottom: 20px;
        max-width: calc(100% - 36px);
        white-space: normal;
    }
}

@media (max-width: 768px) {

    .home-section-title {
        margin-bottom: 14px;
        font-size: 26px;
    }

    .home-card {
        padding: 14px 12px;
        border-radius: 6px;
    }

    .home-card-title {
        font-size: 17px;
        margin-bottom: 8px;
        padding-bottom: 4px;
    }

    .home-section {
        margin-bottom: 10px;
    }

    .home-section:not(:last-child) {
        margin-bottom: 16px;
    }

    .home-sub {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .home-row {
        grid-template-columns: 88px 58px 1fr;
        column-gap: 8px;
    }

    .home-date {
        font-size: 13px;
        line-height: 1.3;
        min-width: 0;
    }

    .home-time {
        font-size: 12px;
        line-height: 1.3;
    }

    .home-location {
        font-size: 12px;
        line-height: 1.35;
    }

    .home-notes {
        margin-left: 96px;
        margin-top: 3px;
        font-size: 12px;
        line-height: 1.4;
    }

    .row.g-4 > [class*='col-'] + [class*='col-'] {
        margin-top: 0;
    }
}

@media (max-width: 399px) {

    .home-card {
        padding: 12px 10px;
    }

    .home-row {
        grid-template-columns: 82px 52px 1fr;
        column-gap: 7px;
    }

    .home-date {
        font-size: 12px;
    }

    .home-time,
    .home-location,
    .home-notes {
        font-size: 11px;
    }

    .home-notes {
        margin-left: 89px;
    }
}

/* =========================================================
   DIRECTORY - MOBILE CLEANUP
========================================================= */

@media (max-width: 768px) {

    .isotope-filters {
        margin-bottom: 10px;
    }

    .isotope-filters-list {
        justify-content: center;
        gap: 6px;
    }

    .isotope-filters-list li a {
        font-size: 12px;
        padding: 5px 9px;
        border-radius: 5px;
    }

    .directory-alpha {
        margin: 6px 0 10px;
        padding: 2px 0 6px;
        text-align: left;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .directory-alpha a {
        margin: 0 3px;
        padding: 4px 5px;
        font-size: 12px;
    }

    .directory-letter {
        font-size: 18px;
        margin: 14px 0 6px;
        padding-bottom: 4px;
        scroll-margin-top: 90px;
    }

    .directory-group {
        margin-bottom: 16px;
    }

    .directory-member-detail .col-xl-4:last-child {
        padding-left: 0;
    }
}

@media (max-width: 399px) {

    .isotope-filters-list {
        gap: 5px;
    }

    .isotope-filters-list li a {
        font-size: 11px;
        padding: 4px 8px;
    }

    .directory-alpha a {
        font-size: 11px;
        padding: 4px 4px;
        margin: 0 2px;
    }
}

/* =========================================================
   DIRECTORY - FILTER BUTTON COLOR FIX
========================================================= */

.isotope-filters-list li a {
    background: var(--hlr-light-green) !important;
    color: var(--hlr-gray) !important;
}

    .isotope-filters-list li a:hover {
        background: var(--hlr-light-gray) !important;
        color: var(--hlr-green) !important;
    }

    .isotope-filters-list li a.active {
        background: var(--hlr-green) !important;
        color: #fff !important;
        box-shadow: 0 2px 6px rgba(0,0,0,.15);
    }

    .isotope-filters-list li a::after {
        display: none !important;
    }

/* =========================================================
   BOARD - MOBILE CLEANUP
========================================================= */

@media (max-width: 768px) {

    .board-section-title {
        margin: 20px 0 10px;
        padding-bottom: 5px;
        font-size: 28px;
    }

    .member-grid.mb-5 {
        margin-bottom: 20px !important;
    }
}

@media (max-width: 399px) {

    .board-section-title {
        font-size: 26px;
    }
}

/* =========================================================
   CHAMPIONS / PAST PRESIDENTS / BOARD HISTORY
========================================================= */

@media (max-width: 768px) {

    .bh-member-link {
        line-height: 1.35;
    }
}

/* =========================================================
   PLAY DAY SCHEDULE PAGES - MOBILE CLEANUP
========================================================= */

@media (max-width: 768px) {

    .schedule-header {
        margin-bottom: 12px !important;
    }

    .schedule-header h4 {
        font-size: 28px;
        margin-bottom: 0;
    }

    .schedule-info-bar {
        display: block;
        text-align: center;
        padding: 8px 0;
        margin-bottom: 12px;
    }

    .info-item {
        font-size: 14px;
        line-height: 1.45;
        padding: 6px 0;
    }

        .info-item + .info-item {
            border-top: 1px solid var(--hlr-border);
        }

    .schedule-note {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 14px;
        padding: 0 4px;
    }

    .schedule-row {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 10px 0;
        text-align: center;
    }

    .schedule-date {
        font-size: 15px;
        line-height: 1.35;
        white-space: normal;
    }

    .schedule-course {
        padding-left: 0;
        font-size: 15px;
        line-height: 1.35;
    }

    .schedule-city {
        text-align: center;
        font-size: 14px;
        line-height: 1.35;
    }
}

@media (max-width: 399px) {

    .schedule-header h4 {
        font-size: 25px;
    }

    .info-item,
    .schedule-note,
    .schedule-city {
        font-size: 13px;
    }

    .schedule-date,
    .schedule-course {
        font-size: 14px;
    }
}

/* =========================================================
   MEETINGS - MOBILE CLEANUP
========================================================= */

@media (max-width: 768px) {

    .meeting-container {
        max-width: none;
        padding-left: 14px;
        padding-right: 14px;
    }

    .meeting-list {
        width: 100%;
    }

    .meeting-card {
        padding: 10px 0;
    }

    .meeting-row {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 2px;
        align-items: start;
        text-align: left;
    }

    .meeting-date {
        font-size: 15px;
        line-height: 1.35;
        margin-bottom: 0;
    }

    .meeting-time {
        min-width: 0;
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 0;
    }

    .meeting-location {
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 0;
    }

    .meeting-notes {
        margin-left: 0;
        margin-top: 4px;
        font-size: 13px;
        line-height: 1.45;
        color: var(--hlr-gold);
    }
}

@media (max-width: 399px) {

    .meeting-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .meeting-date {
        font-size: 14px;
    }

    .meeting-time,
    .meeting-location {
        font-size: 13px;
    }

    .meeting-notes {
        font-size: 12px;
    }
}

/* =========================================================
   LOGIN / REGISTER - MOBILE CLEANUP
========================================================= */

@media (max-width: 768px) {

    .tabs-custom-wrap {
        margin-bottom: 8px;
    }

    .nav-custom-tabs-inline {
        justify-content: flex-start;
        gap: 14px;
    }

    .nav-custom-tabs-inline li a {
        font-size: 14px;
        padding: 6px 0;
    }

    .tab-content.text-left {
        padding-top: 4px;
    }

    .group-md.group-middle {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .group-md.group-middle > li {
        width: 100%;
    }

    .group-md.group-middle a {
        display: inline-block;
        font-size: 14px;
        line-height: 1.4;
    }

    #forgotPanel {
        margin-top: 12px !important;
    }

    .tab-pane {
        font-size: 14px;
    }
}

@media (max-width: 399px) {

    .nav-custom-tabs-inline {
        gap: 12px;
    }

    .nav-custom-tabs-inline li a,
    .group-md.group-middle a,
    .tab-pane {
        font-size: 13px;
    }
}

/* =========================================================
   CHANGE PASSWORD - MOBILE CLEANUP
========================================================= */

@media (max-width: 768px) {

    .section.section-lg.bg-white .col-md-6.text-left {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .section.section-lg.bg-white h3.mb-4 {
        margin-bottom: 14px !important;
        font-size: 28px;
    }

    #passwordValidation {
        font-size: 13px !important;
        line-height: 1.45;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 399px) {

    .section.section-lg.bg-white h3.mb-4 {
        font-size: 25px;
    }

    #passwordValidation {
        font-size: 12px !important;
    }
}

/* =========================================================
   HOLE IN ONE CLUB - MOBILE CLEANUP
========================================================= */

@media (max-width: 768px) {

    .schedule-subtitle {
        font-size: 14px;
        line-height: 1.5;
        padding: 0 4px;
    }

    .hoi-history-grid {
        gap: 14px;
    }

    .hoi-year-card {
        padding: 12px 10px;
    }

    .hoi-year-header {
        font-size: 16px;
        margin-bottom: 8px;
        padding-bottom: 4px;
    }

    .hoi-entry {
        gap: 10px;
        padding: 8px 0;
        align-items: flex-start;
    }

    .hoi-entry-thumb {
        flex: 0 0 64px;
    }

    .hoi-entry-thumb img {
        width: 64px;
        height: 64px;
        border-radius: 5px;
    }

    .hoi-entry-main {
        min-width: 0;
    }

    .hoi-entry-name {
        font-size: 15px;
        line-height: 1.25;
        margin-bottom: 2px;
    }

    .hoi-entry-sub {
        font-size: 13px;
        line-height: 1.35;
        margin-bottom: 2px;
    }

    .hoi-entry-meta {
        font-size: 13px;
        line-height: 1.35;
    }

    .hoi-entry-notes {
        margin-top: 4px;
        font-size: 12px;
        line-height: 1.45;
    }
}

@media (max-width: 399px) {

    .schedule-subtitle {
        font-size: 13px;
    }

    .hoi-history-grid {
        gap: 12px;
    }

    .hoi-year-card {
        padding: 10px 8px;
    }

    .hoi-entry-thumb {
        flex: 0 0 58px;
    }

    .hoi-entry-thumb img {
        width: 58px;
        height: 58px;
    }

    .hoi-entry-name {
        font-size: 14px;
    }

    .hoi-entry-sub,
    .hoi-entry-meta {
        font-size: 12px;
    }

    .hoi-entry-notes {
        font-size: 11px;
    }
}

/* =========================================================
   PRO SHOP STAFF - MOBILE CLEANUP
========================================================= */

@media (max-width: 768px) {

    .proshop-staff-detail .directory-member-detail-name {
        font-size: 24px;
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .proshop-detail-position {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .proshop-staff-detail .member-detail-bio {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 399px) {

    .proshop-staff-detail .directory-member-detail-name {
        font-size: 21px;
    }

    .proshop-detail-position {
        font-size: 15px;
    }

    .proshop-staff-detail .member-detail-bio {
        font-size: 13px;
    }
}

/* =========================================================
   MY PROFILE - MOBILE CLEANUP
========================================================= */

@media (max-width: 768px) {

    .section.section-lg.bg-white .col-md-8.text-left {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .section.section-lg.bg-white h3.mb-4 {
        margin-bottom: 14px !important;
        font-size: 28px;
    }

    .section.section-lg.bg-white .row {
        margin-left: 0;
        margin-right: 0;
    }

    .section.section-lg.bg-white .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 12px;
    }

    .section.section-lg.bg-white .row.mt-3 > [class*="col-"],
    .section.section-lg.bg-white .row > [class*="col-"]:last-child {
        margin-bottom: 12px;
    }

    .section.section-lg.bg-white .mt-3 {
        margin-top: 0.75rem !important;
    }

    .section.section-lg.bg-white .mt-4 {
        margin-top: 1rem !important;
    }

    #txtBirthDate {
        min-height: 50px;
    }
}

@media (max-width: 399px) {

    .section.section-lg.bg-white h3.mb-4 {
        font-size: 25px;
    }
}

/* =========================================================
   SHARED HEADER / HERO - MOBILE CLEANUP
========================================================= */

@media (max-width: 768px) {

    .page-header {
        position: relative;
        z-index: 10020;
    }

    .main-nav {
        min-height: 56px;
        padding: 8px 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .nav-left {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
    }

    .nav-right {
        flex: 1 1 auto;
        min-width: 0;
    }

    .nav-login {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        white-space: nowrap;
        font-size: 13px;
        line-height: 1.2;
    }

    .nav-login a,
    .nav-login .user-menu > li > a,
    .nav-login .user-menu > li > span {
        font-size: 13px;
    }

    .nav-toggle {
        width: 40px;
        height: 40px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
    }

    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 3px 0;
    }

    #mainMenu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    #mainMenu.open {
        display: block;
        position: fixed;
        top: 56px;
        left: 0;
        width: 84%;
        max-width: 320px;
        height: calc(100vh - 56px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: #fff;
        box-shadow: 0 10px 24px rgba(0,0,0,.12);
        z-index: 10030;
        padding: 12px 0;
    }

    #mainMenu > li,
    #mainMenu li {
        display: block;
        width: 100%;
    }

    #mainMenu > li > a,
    #mainMenu li a {
        display: block;
        padding: 10px 16px;
        line-height: 1.35;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
        z-index: 10010;
    }

    .nav-overlay.show {
        opacity: 1;
        pointer-events: auto;
    }

    .user-menu {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .user-menu > li {
        position: relative;
    }

    .user-menu > li > a {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .user-menu > li > ul {
        right: 0;
        left: auto;
        min-width: 180px;
    }

    .nav-caret {
        flex: 0 0 auto;
    }

    .hero-section {
        margin: 0;
    }

    .hero-split {
        display: block;
    }

    .hero-brand {
        display: none;
    }

    /* ---------- HERO IMAGE SIZES ---------- */

    .hero-image.hero-lg {
        height: 260px;
        min-height: 260px;
    }

    .hero-image {
        height: 190px;
        min-height: 190px;
    }

    .hero-image.hero-sm {
        height: 160px;
        min-height: 160px;
    }

    .hero-image {
        background-position: center center;
        background-size: cover;
        position: relative;
    }
}

/* =========================================================
   MOBILE HERO TITLE - SIMPLE + RELIABLE
========================================================= */
@media (max-width: 768px) {

    .hero-image {
        position: relative;
        overflow: hidden;
    }

    /* add a light top fade so white text always reads */
    .hero-image::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,.38) 0%, rgba(0,0,0,.18) 28%, rgba(0,0,0,0) 55%);
        pointer-events: none;
        z-index: 1;
    }

    .hero-title {
        position: absolute;
        top: 12px;
        left: 14px;
        right: 14px;
        bottom: auto;
        max-width: none;
        width: auto;
        display: inline-block;
        color: #fff;
        text-align: left;
        font-weight: 700;
        font-size: 22px;
        line-height: 1.08;
        text-shadow: 0 2px 8px rgba(0,0,0,.45);
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        z-index: 2;
    }

    .hero-image.hero-lg .hero-title {
        font-size: 28px;
    }

    .hero-image.hero-sm .hero-title {
        font-size: 20px;
    }

    .hero-title br {
        display: block;
    }
}

@media (max-width: 575px) {

    .hero-title {
        top: 10px;
        left: 12px;
        right: 12px;
        font-size: 20px;
    }

    .hero-image.hero-lg .hero-title {
        font-size: 24px;
    }

    .hero-image.hero-sm .hero-title {
        font-size: 18px;
    }
}

@media (max-width: 399px) {

    .hero-title {
        top: 8px;
        left: 10px;
        right: 10px;
        font-size: 18px;
        padding-bottom: 20px;
    }

    .hero-image.hero-lg .hero-title {
        font-size: 21px;
    }

    .hero-image.hero-sm .hero-title {
        font-size: 16px;
    }
}

/* =========================================================
   TOURNAMENTS - MOBILE
========================================================= */

@media (max-width: 768px) {

    .tournament-content {
        margin-top: 8px;
    }

    .tournament-panel {
        text-align: left;
    }

    .tournament-table {
        width: 100%;
    }

    .tourn-line {
        grid-template-columns: 92px 42px 1fr 30px;
        column-gap: 10px;
        align-items: start;
        padding: 8px;
        font-size: 13px;
    }

    .tourn-dateblock {
        white-space: nowrap;
        line-height: 1.3;
    }

    .tourn-day,
    .tourn-date {
        font-size: 12px;
        line-height: 1.3;
    }

    .tourn-ampm {
        font-size: 12px;
        line-height: 1.3;
        white-space: nowrap;
    }

    .tourn-name {
        font-size: 13px;
        line-height: 1.35;
        min-width: 0;
        white-space: normal;
        word-break: normal;
    }

    .tourn-format {
        display: none;
    }

    .tourn-details {
        display: block;
        text-align: right;
        align-self: center;
    }

    .tourn-flyer {
        display: inline-block;
        font-size: 20px;
        line-height: 1;
    }

    .tourn-group {
        margin-bottom: 7px;
        padding-left: 8px;
        padding-bottom: 5px;
    }

    .tourn-group::before {
        top: 5px;
        bottom: 5px;
        width: 3px;
    }

    .tourn-group.next-event .tourn-line:first-child {
        border-radius: 4px;
    }

    .tourn-group .tourn-line:not(:first-child) {
        margin-top: 0;
    }

    .tourn-cont {
        opacity: 0.82;
    }
}

@media (max-width: 399px) {

    .tourn-line {
        grid-template-columns: 78px 34px 1fr 28px;
        column-gap: 8px;
        padding: 7px 6px;
        font-size: 12px;
    }

    .tourn-day,
    .tourn-date,
    .tourn-ampm {
        font-size: 11px;
    }

    .tourn-name {
        font-size: 12px;
    }

    .tourn-flyer {
        font-size: 18px;
    }

    .tourn-group {
        padding-left: 7px;
    }
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: var(--hlr-light-green);
    border-top: 1px solid var(--hlr-blue);
    padding: 28px 0 14px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 180px 1fr 1fr;
    gap: 42px;
    align-items: center;
    max-width: 760px;
    margin: 0 auto;
}

.footer-brand img {
    max-width: 145px;
    height: auto;
    display: block;
}

.footer-links,
.footer-contact {
    display: grid;
    gap: 6px;
}

.footer-links a,
.footer-contact a {
    color: var(--hlr-dark);
    text-decoration: none;
    font-size: 15px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-contact i {
    width: 15px;
    text-align: center;
    color: var(--hlr-green);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--hlr-green);
    text-decoration: underline;
}

.footer-copy {
    max-width: 760px;
    margin: 22px auto 0;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.12);
    text-align: center;
    font-size: 13px;
    color: var(--hlr-gray);
}

.footer-sub {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--hlr-gray);
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto;
    }

    .footer-contact a {
        justify-content: center;
    }
}
