/*
  Honley Cricket Club - Consolidated & Optimised Stylesheet
  Source merge: site.css + hcc-refresh.css
  Notes:
  - Removes duplicated rules and keeps the newer cleaner design direction.
  - Includes the improved responsive/flex navbar that aligns brand + menu.
  - Keeps Bootstrap 3 compatibility.
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=Open+Sans:wght@400;600;700;800&display=swap');

:root {
    --font-sans: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --hcc-green: #0b6b3a;
    --hcc-green-dark: #074a28;
    --hcc-gold: #d9a11a;
    --hcc-gold-dark: #3c2c00;
    --hcc-cream: #f7f3e8;
    --hcc-text: #21302a;
    --hcc-muted: #68756f;
    --hcc-border: #e5e7e9;
    --hcc-soft: #f7faf8;
    --hcc-surface: #f8f9fa;
    --hcc-shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.06);
    --hcc-shadow-card: 0 10px 24px rgba(0, 0, 0, 0.08);
    --hcc-radius-sm: 8px;
    --hcc-radius-md: 12px;
    --hcc-radius-lg: 16px;
    --hcc-transition: 0.2s ease;
    --hcc-pdf-red: #d32f2f;
}

/* Base */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 15px;
}

html,
body {
    font-family: var(--font-sans);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    color: var(--hcc-text);
    background: #fff;
    padding-top: 80px;
    line-height: 1.5;
}

p,
li,
label,
input,
textarea,
select,
.page-subtitle,
.hero-lead,
.table-modern,
.breadcrumb-nav,
.quick-card p,
.hawks-list,
.hawks-join-list {
    font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-nav .navbar-nav > li > a,
.btn,
.section-tag,
.footer-title {
    font-family: var(--font-sans);
}

.site-nav .nav-link {
    font-size: 0.95rem;
}

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

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

a {
    transition: color var(--hcc-transition), background-color var(--hcc-transition), border-color var(--hcc-transition), opacity var(--hcc-transition), box-shadow var(--hcc-transition), transform var(--hcc-transition);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.policy-item:focus-visible,
.navbar-nav > li > a:focus-visible {
    outline: 3px solid rgba(11, 107, 58, 0.18);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(11, 107, 58, 0.18);
}


/* Buttons */
.btn-primary {
    background: var(--hcc-green);
    border-color: var(--hcc-green);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--hcc-green-dark);
    border-color: var(--hcc-green-dark);
}

.btn-soft {
    background: #fff;
    color: var(--hcc-green-dark);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-weight: 600;
}


/* Reusable top accent strip for cards */
.card-accent-top,
.feature-card,
.content-card.compact-card {
    position: relative;
    overflow: hidden;
}

.card-accent-top::before,
.feature-card::before,
.content-card.compact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hcc-green), var(--hcc-gold));
}

.text-hcc-green {
    color: var(--hcc-green);
}

.text-hcc-gold {
    color: var(--hcc-gold);
}

.text-hcc-green-dark {
    color: var(--hcc-green-dark);
}

.text-hcc-red {
    color: var(--hcc-pdf-red);
}

/* Age chips */
.age-chip {
    display: inline-block;
    min-width: 52px;
    text-align: center;
    padding: 4px 10px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 4px;
}

.age-u7 {
    background: #2e8b57;
}

.age-u9 {
    background: #4472c4;
}

.age-u11 {
    background: #ed7d31;
}

.age-u13 {
    background: #ffc000;
    color: #3c2c00;
}

.age-u15 {
    background: #7da9d1;
}

.age-u17 {
    background: #d6aa2b;
    color: #3c2c00;
}

.age-girls {
    background: #ec008c;
}



/* Utilities */
.u-muted { color: var(--hcc-muted); }
.u-stack-sm > * + * { margin-top: 8px; }
.u-stack-md > * + * { margin-top: 16px; }
.u-button-row { display: flex; flex-wrap: wrap; gap: 8px; }
.u-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
