/* ============================================================
   Headlands Club — site styles.
   Namespaced .hc-* so nothing here collides with the theme.
   The theme's own palette (--ultra_color_lime) is reused, not replaced.
   ============================================================ */

:root {
    --hc-ink:      #23261f;
    --hc-muted:    #5f6558;
    --hc-rule:     #dfe0d8;
    --hc-paper:    #f6f6f1;
    --hc-accent:   var(--ultra_color_lime, #8fca3f);
    --hc-deep:     #4a7a12;
}

/* ---------- top bar ---------- */
.hc-topbar {
    background: #23261f;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.4;
}
.hc-topbar-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    align-items: center;
    justify-content: space-between;
}
.hc-topbar-badge {
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    color: #fff;
}
.hc-topbar-links a {
    color: rgba(255, 255, 255, .78);
    margin-left: 18px;
    text-decoration: none;
}
.hc-topbar-links a:first-child { margin-left: 0; }
.hc-topbar-links a:hover { color: #fff; }

/* ---------- wordmark ---------- */
#site-logo .hc-wordmark {
    display: inline-block;
    text-decoration: none;
    line-height: 1;
    color: inherit;
}
.hc-wordmark-1, .hc-wordmark-2 { display: block; }
.hc-wordmark-1 {
    font-size: 30px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 300;
}
.hc-wordmark-2 {
    font-size: 15px;
    letter-spacing: .42em;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 5px;
    opacity: .85;
}
#site-description span { font-size: 13px; line-height: 1.55; }

/* ---------- nav ---------- */
#main-nav .hc-menu-cta > a {
    border: 1px solid currentColor;
    border-radius: 3px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 12px;
}
.header-icons { display: none; }

@media (max-width: 900px) {
    .header-icons { display: block; text-align: right; padding: 8px 20px 0; }
    #mobile-menu { display: none; }
    #mobile-menu.hc-nav-open { display: block; }
    #main-nav { display: block; }
    #main-nav > li { display: block; float: none; }
    #main-nav > li > a { display: block; padding: 10px 0; }
    .hc-topbar-inner { justify-content: flex-start; }
}
@media (min-width: 901px) {
    #menu-icon, #menu-icon-close { display: none !important; }
}

/* ---------- generic page furniture ---------- */
.hc-sec { padding: 46px 0; border-top: 1px solid var(--hc-rule); }
.hc-sec:first-child { border-top: 0; padding-top: 26px; }
.hc-num {
    display: block;
    font-size: 12px;
    letter-spacing: .3em;
    color: var(--hc-muted);
    margin-bottom: 10px;
}
.hc-sec h2 { margin-top: 0; }
.hc-lede { font-size: 1.13em; line-height: 1.65; max-width: 46em; }
.hc-narrow { max-width: 44em; }
.hc-quiet { color: var(--hc-muted); font-size: .92em; }

.hc-coords {
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--hc-muted);
    margin: 0 0 18px;
}
.hc-coords span { margin-right: 20px; white-space: nowrap; }

/* ---------- media ---------- */
.hc-fig { margin: 0 0 18px; }
.hc-fig img { display: block; width: 100%; height: auto; border-radius: var(--tb_rounded_corner, 12px); }
.hc-fig figcaption { font-size: 12px; color: var(--hc-muted); margin-top: 8px; }
.hc-hero-fig img { border-radius: 0; }

/* ---------- grids ---------- */
.hc-grid { display: grid; gap: 26px; }
.hc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .hc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hc-grid-2, .hc-grid-3 { grid-template-columns: 1fr; } }

.hc-card {
    border: 1px solid var(--hc-rule);
    border-radius: var(--tb_rounded_corner, 12px);
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.hc-card img { display: block; width: 100%; height: auto; }
.hc-card-body { padding: 20px 22px 24px; flex: 1 1 auto; }
.hc-card h3 { margin: 0 0 8px; font-size: 1.15em; }
.hc-card p { margin: 0 0 12px; }
.hc-card .hc-card-more { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- room cards ---------- */
.hc-room { border: 1px solid var(--hc-rule); border-radius: var(--tb_rounded_corner, 12px); overflow: hidden; background: #fff; }
.hc-room-media img { display: block; width: 100%; height: auto; }
.hc-room-body { padding: 22px 24px 26px; }
.hc-room-body h3 { margin: 0 0 4px; }
.hc-room-price { font-weight: 600; }
.hc-room-price small { font-weight: 400; color: var(--hc-muted); }
.hc-specs {
    list-style: none;
    margin: 14px 0 16px;
    padding: 0;
    font-size: .92em;
    border-top: 1px solid var(--hc-rule);
}
.hc-specs li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border-bottom: 1px solid var(--hc-rule);
    margin: 0;
}
.hc-specs li span:first-child { color: var(--hc-muted); }
.hc-specs li span:last-child { text-align: right; }

@media (min-width: 761px) {
    .hc-room { display: grid; grid-template-columns: 42% 58%; align-items: stretch; }
    .hc-room-media { height: 100%; }
    .hc-room-media img { height: 100%; object-fit: cover; }
}

/* ---------- donor builder subrow ----------
   The theme ships no generic responsive stacking for builder columns — the donor's
   own generated CSS only handles its 4-column subrow. Our 3-column subrows need the
   same treatment, so they collapse instead of staying three-abreast on a phone. */
@media (max-width: 768px) {
    .themify_builder_content-2 .hc-subrow { --area: var(--aream3_auto); }
}
.hc-subrow .module-title { margin-bottom: .4em; }
.hc-subrow .module-title a { color: inherit; text-decoration: none; }
.hc-subrow .module-title a:hover { color: var(--hc-deep); }
.hc-subrow .module-image img { width: 100%; height: auto; display: block; }

/* ---------- stats ---------- */
.hc-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    background: var(--hc-rule);
    border: 1px solid var(--hc-rule);
    border-radius: var(--tb_rounded_corner, 12px);
    overflow: hidden;
}
.hc-stat { background: #fff; padding: 24px 16px; text-align: center; }
.hc-stat b { display: block; font-size: 2em; line-height: 1.1; font-weight: 300; }
.hc-stat span { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--hc-muted); margin-top: 8px; }
@media (max-width: 900px) { .hc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .hc-stats { grid-template-columns: 1fr; } }

/* ---------- callouts ---------- */
.hc-note {
    border-left: 3px solid var(--hc-accent);
    background: var(--hc-paper);
    padding: 18px 22px;
    border-radius: 0 6px 6px 0;
    margin: 22px 0;
}
.hc-note p:last-child { margin-bottom: 0; }
.hc-note h3 { margin-top: 0; }

.hc-facts { list-style: none; margin: 0 0 18px; padding: 0; }
.hc-facts li { padding: 9px 0; border-bottom: 1px solid var(--hc-rule); margin: 0; }
.hc-facts li:first-child { border-top: 1px solid var(--hc-rule); }
.hc-facts b { font-weight: 600; }

/* ---------- buttons ---------- */
.hc-btn {
    display: inline-block;
    background: var(--hc-accent);
    color: #16210a;
    border: 1px solid var(--hc-accent);
    border-radius: 4px;
    padding: 12px 22px;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.2;
}
.hc-btn:hover { background: var(--hc-deep); border-color: var(--hc-deep); color: #fff; }
.hc-btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.hc-btn-ghost:hover { background: rgba(0, 0, 0, .06); color: inherit; border-color: currentColor; }
.hc-btn-link { background: none; border: 0; text-decoration: underline; color: inherit; padding: 12px 8px; }
.hc-btn-link:hover { background: none; color: inherit; }
.hc-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

/* ---------- packages ---------- */
.hc-pack { border: 1px solid var(--hc-rule); border-radius: var(--tb_rounded_corner, 12px); padding: 24px 26px 26px; background: #fff; display: flex; flex-direction: column; }
.hc-pack h3 { margin: 0 0 6px; }
.hc-pack .hc-pack-price { font-weight: 600; margin: 0 0 14px; }
.hc-pack ul { margin: 0 0 16px 1.1em; padding: 0; }
.hc-pack ul li { margin: 0 0 6px; }
.hc-pack .hc-pack-terms { font-size: 12px; color: var(--hc-muted); margin: auto 0 0; padding-top: 12px; }

/* ---------- form ---------- */
.hc-form { max-width: 44em; }
.hc-field { margin-bottom: 18px; }
.hc-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95em; }
.hc-field .hc-hint { display: block; font-weight: 400; color: var(--hc-muted); font-size: .85em; margin-top: 2px; }
.hc-form input[type=text], .hc-form input[type=email], .hc-form input[type=tel],
.hc-form input[type=date], .hc-form input[type=number], .hc-form select, .hc-form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #c9cbc0;
    border-radius: 4px;
    background: #fff;
    font: inherit;
    color: inherit;
}
.hc-form textarea { min-height: 130px; resize: vertical; }
.hc-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 640px) { .hc-form-row { grid-template-columns: 1fr; } }
.hc-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .93em; }
.hc-check input { margin-top: 4px; flex: 0 0 auto; }
.hc-req { color: #a4342b; }
.hc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hc-msg { padding: 14px 18px; border-radius: 6px; margin-bottom: 22px; }
.hc-msg-ok { background: #eef6e2; border: 1px solid #b7d98a; }
.hc-msg-err { background: #fbeceb; border: 1px solid #e2b3ae; }
.hc-msg ul { margin: 8px 0 0 1.1em; }

/* ---------- age gate ---------- */
.hc-agegate {
    position: fixed;
    inset: 0;
    background: rgba(20, 24, 17, .93);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    overflow-y: auto;
}
.hc-agegate[hidden] { display: none; }
.hc-agegate-box {
    background: #fff;
    color: var(--hc-ink);
    max-width: 560px;
    width: 100%;
    padding: 36px 34px 30px;
    border-radius: 8px;
    text-align: center;
}
.hc-agegate-brand {
    font-size: 12px;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--hc-muted);
    margin: 0 0 16px;
}
.hc-agegate-box h2 { margin: 0 0 14px; font-size: 1.5em; }
.hc-agegate-box p { margin: 0 0 16px; }
.hc-agegate-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 24px 0 20px; }
.hc-agegate-fine { font-size: 13px; color: var(--hc-muted); margin: 0; }
.hc-ageblock .hc-agegate-box { text-align: left; }
html.hc-locked, html.hc-locked body { overflow: hidden; }

/* ---------- cookie banner ---------- */
.hc-cookie {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #23261f;
    color: rgba(255, 255, 255, .86);
    z-index: 9999;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.55;
    box-shadow: 0 -6px 26px rgba(0, 0, 0, .22);
}
.hc-cookie[hidden] { display: none; }
.hc-cookie a { color: #cfe89a; }
.hc-cookie-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    align-items: center;
    justify-content: space-between;
}
.hc-cookie-text { flex: 1 1 380px; }
.hc-cookie-text p { margin: 6px 0 0; }
.hc-cookie-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.hc-cookie .hc-btn-ghost, .hc-cookie .hc-btn-link { color: #fff; }
.hc-cookie-settings {
    max-width: 1160px;
    margin: 18px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}
.hc-cookie-settings[hidden] { display: none; }
.hc-cookie-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.hc-cookie-row input { margin-top: 4px; }

/* ---------- footer bits ---------- */
.hc-foot-wordmark {
    font-size: 19px;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: #fff;
}
.hc-foot-legal { font-size: 13px; opacity: .8; }
.hc-hours span { display: inline-block; min-width: 9.5em; font-weight: 600; color: #fff; }
.hc-helplines { font-size: 13px; }
.hc-disclaimer { font-size: 12.5px; line-height: 1.65; margin: 0 0 10px; opacity: .82; }

/* ---------- legal pages ---------- */
.hc-legal { max-width: 48em; }
.hc-legal h2 { margin-top: 34px; }
.hc-legal h3 { margin-top: 24px; font-size: 1.05em; }
.hc-legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .93em; }
.hc-legal th, .hc-legal td { border: 1px solid var(--hc-rule); padding: 9px 12px; text-align: left; vertical-align: top; }
.hc-legal th { background: var(--hc-paper); font-weight: 600; }
.hc-updated { font-size: 13px; color: var(--hc-muted); }
.hc-toc { background: var(--hc-paper); border: 1px solid var(--hc-rule); border-radius: 8px; padding: 18px 22px; }
.hc-toc ol { margin: 8px 0 0 1.2em; }
.hc-toc li { margin: 0 0 4px; }
