/*
Theme Name: Punt Club
Theme URI: https://puntclub.com
Author: Punt Club
Description: Punt Club block theme — modern WordPress rebuild inheriting the original punt-club brand style.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.2
License: Proprietary
Text Domain: punt-club
Tags: block-theme, full-site-editing
*/

/* Offset anchors for fixed navbar */
html { scroll-padding-top: 80px; }

.section-divider-title { color: #224556; }

/* ---------- Global Mobile Fixes ---------- */

/* Header: compact buttons on small screens */
@media (max-width: 768px) {
    .navbar .btn-nav { font-size: .65rem; padding: .4rem .8rem !important; letter-spacing: .05em; }
    .navbar .header-brand-logo-container img { height: 30px; }
    .navbar .header-menu-btn-container { min-width: auto; }
    .navbar .d-flex.ml-auto { gap: .3rem; }
}
@media (max-width: 480px) {
    .navbar .btn-nav { font-size: .6rem; padding: .35rem .6rem !important; }
}

/* Footer: tighter columns on mobile */
@media (max-width: 768px) {
    .footer .col-md-2, .footer .col-md-3 { margin-bottom: 1.5rem; }
    .footer h5 { font-size: .9rem; margin-bottom: .4rem; }
    .footer li { font-size: .85rem; }
    .footer .social-follow .fa-2x { font-size: 1.4em; }
    .footer .social-follow li { display: inline-block; }
    .footer .social-follow .p-4 { padding: .8rem !important; }
}

/* Legal template: TOC above content on mobile */
@media (max-width: 991px) {
    .page-template-template-legal .row { flex-direction: column !important; }
    .page-template-template-legal aside.col-lg-3 {
        position: static !important;
        order: -1 !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1.5rem;
    }
    .page-template-template-legal aside .sticky-top {
        position: static !important;
        border-radius: 4px;
    }
    .page-template-template-legal aside nav ol {
        columns: 2;
        font-size: .78rem;
        line-height: 1.5;
    }
    .page-template-template-legal article.col-lg-9 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
        font-size: .95rem;
    }
    .page-template-template-legal .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .page-template-template-legal .entry-content h2 { font-size: 1.3rem; }
    .page-template-template-legal .entry-content h3 { font-size: 1rem; }
}

/* Blog: single column on small mobile */
@media (max-width: 576px) {
    .page-template-default .col-md-6.col-lg-4,
    body.blog .col-md-6.col-lg-4 { flex: 0 0 100%; max-width: 100%; }
    body.blog .container { padding-left: 1rem; padding-right: 1rem; }
}

/* Goals: tighter hero on mobile */
@media (max-width: 768px) {
    .post-type-archive-horses .container-fluid.py-5:first-of-type { padding: 2.5rem 1rem !important; }
    .post-type-archive-horses .container-fluid.py-5:first-of-type h2 { font-size: 1.6rem; }
    .post-type-archive-horses .card-img-top { height: 180px !important; }
}

/* Wrap padding fix for mobile on all full-bleed templates */
@media (max-width: 768px) {
    .wrap { padding-top: 0 !important; }
}
body.home .section-divider-title,
body.page-template-front-page .section-divider-title { font-weight: 300 !important; color: #eaf1f5 !important; letter-spacing: 0.02em; text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
body.blog, body.single-post, body.single-docs, body.post-type-archive-docs { background-image: none !important; background-color: #f4f6f8 !important; }

/* ---------- Editorial "pc-story" layout for template-page.php ---------- */
.page-template-template-page .wrap,
.page-template-template-page-php .wrap { padding-top: 0; padding-bottom: 0; }
body.page-template-template-page,
body.page-template-template-page-php { background-image: none !important; background-color: #fff !important; }

.pc-story * { box-sizing: border-box; }
.pc-story {
    --teal:     #0d2d3a;
    --teal-mid: #143547;
    --yellow:   #f5c518;
    --yellow-dk:#d9ad10;
    --white:    #ffffff;
    --offwhite: #f0f4f6;
    --text:     #2a4050;
    --muted:    #5a7a8a;
    background: #fff;
}

.pc-hero {
    background: var(--teal) url(/app/themes/punt-club/assets/images/hero-background.png) center/cover no-repeat;
    padding: 80px 2rem 72px;
    text-align: center;
}
.pc-eyebrow {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.pc-eyebrow::before, .pc-eyebrow::after {
    content: '';
    width: 44px;
    height: 2px;
    background: var(--yellow);
    opacity: .5;
}
.pc-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(3.2rem, 8vw, 5.8rem);
    color: var(--white);
    line-height: .95;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin: 0;
}
.pc-hero h1 .accent { color: var(--yellow); }
.pc-hero-sub {
    font-family: 'Barlow', sans-serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,.65);
    margin-top: 1.2rem;
}
.pc-hero-diamond {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--yellow);
    transform: rotate(45deg);
    margin: 0 .8em;
    vertical-align: middle;
    position: relative;
    top: -2px;
}
.pc-rule {
    width: 52px;
    height: 3px;
    background: var(--yellow);
    margin: 2rem auto 0;
}

.pc-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 5.5rem 2.5rem 7rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 5rem;
    align-items: start;
}
.pc-article { min-width: 0; }
.pc-article p, .pc-article li {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.82;
    color: var(--text);
    margin-bottom: 1.7rem;
}
.pc-article h2, .pc-article h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--teal);
    margin: 2.6rem 0 1rem;
    letter-spacing: .01em;
}
.pc-article h2 { font-size: 2rem; }
.pc-article h3 { font-size: 1.4rem; }
.pc-article a { color: var(--teal); text-decoration: underline; }
.pc-article img { max-width: 100%; height: auto; margin: 1.5rem 0; }

.pc-article p.lead::first-letter {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 5em;
    float: left;
    line-height: .76;
    margin-right: .06em;
    color: var(--teal);
    padding-top: .04em;
}

.pc-pull {
    position: relative;
    background: var(--teal);
    padding: 2.8rem 2.6rem 2.6rem;
    margin: 3rem 0;
}
.pc-pull::before {
    content: '\201C';
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 9rem;
    color: var(--yellow);
    opacity: .2;
    position: absolute;
    top: -.1em;
    left: .12em;
    line-height: 1;
    pointer-events: none;
}
.pc-pull p {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--white);
    margin: 0;
    position: relative;
    z-index: 1;
}
.pc-pull strong { color: var(--yellow); font-style: normal; }

.pc-stat {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    background: var(--offwhite);
    border-left: 4px solid var(--yellow);
    padding: 1.6rem 2rem;
    margin: 2.6rem 0;
}
.pc-stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 3.6rem;
    color: var(--teal);
    line-height: 1;
    white-space: nowrap;
}
.pc-stat-label {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.55;
}

.pc-orn {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2.6rem 0;
}
.pc-orn::before, .pc-orn::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--teal);
    opacity: .15;
}
.pc-orn-diamond {
    width: 7px;
    height: 7px;
    background: var(--yellow);
    transform: rotate(45deg);
}

/* Numbered step list */
.pc-steps { display: flex; flex-direction: column; gap: .6rem; margin: -.4rem 0 2rem; }
.pc-step {
    display: flex; align-items: center; gap: 1.1rem;
    background: var(--offwhite, #f0f4f6);
    padding: 1rem 1.4rem;
    border-left: 4px solid var(--yellow, #f5c518);
}
.pc-step-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800; font-size: 2rem; line-height: 1;
    color: var(--teal, #0d2d3a); min-width: 1.8rem;
}
.pc-step-text {
    font-family: 'Barlow', sans-serif;
    font-weight: 700; font-size: .9rem;
    letter-spacing: .06em; text-transform: uppercase;
    color: var(--teal, #0d2d3a);
}

/* Labeled contact / info row — dark badge + content */
.pc-info-row {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    background: var(--offwhite, #f0f4f6);
    border-left: 4px solid var(--yellow, #f5c518);
    padding: 1.2rem 1.6rem;
    margin: 1rem 0;
    clear: both;
}
.pc-info-row .pc-info-label {
    display: inline-block;
    background: var(--teal, #0d2d3a);
    color: #fff;
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .4rem .8rem;
    flex-shrink: 0;
    margin-top: .15rem;
}
.pc-info-row .pc-info-body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text, #2a4050);
}
.pc-info-row .pc-info-body a { color: var(--teal, #0d2d3a); text-decoration: underline; }

/* Highlight call-out */
.pc-highlight {
    background: var(--offwhite, #f0f4f6);
    border-left: 4px solid var(--yellow, #f5c518);
    padding: 1.6rem 2rem;
    margin: 2.6rem 0;
}
.pc-highlight p { margin: 0 !important; }

/* FAQ / inline link with yellow underline */
.pc-faq-link {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'Barlow', sans-serif;
    font-weight: 700; font-size: .8rem;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--teal, #0d2d3a);
    text-decoration: none !important;
    border-bottom: 2px solid var(--yellow, #f5c518);
    padding-bottom: 2px;
    transition: color .2s;
}
.pc-faq-link:hover { color: var(--yellow, #f5c518); }

.pc-aside { position: sticky; top: 2.5rem; }
.pc-card {
    background: var(--teal);
    color: var(--white);
    padding: 2.2rem;
    margin-bottom: 1rem;
}
.pc-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: .8rem;
    line-height: 1.15;
}
.pc-card p {
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    line-height: 1.7;
    color: rgba(255,255,255,.7);
    margin: 0;
}
.pc-btn {
    display: block;
    width: 100%;
    background: var(--yellow);
    color: var(--teal);
    font-family: 'Barlow', sans-serif;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 1.1rem;
    border: none;
    cursor: pointer;
    margin-bottom: .8rem;
    transition: background .2s;
}
.pc-btn:hover { background: var(--yellow-dk); text-decoration: none; color: var(--teal); }
.pc-btn.outline {
    background: transparent;
    border: 2px solid var(--teal);
    color: var(--teal);
}
.pc-btn.outline:hover { background: var(--teal); color: var(--white); }

@media (max-width: 760px) {
    .pc-page { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.4rem 5rem; }
    .pc-aside { position: static; }
    .pc-hero h1 { font-size: 2.8rem; }
}

/* ---------- Mobile App Page ---------- */
body.page-template-template-mobile,
body.page-template-template-mobile-php { background-image: none !important; background-color: #f0f4f6 !important; }

.pc-mobile-hero {
    background: #0d2d3a;
    padding: 80px 2rem 0;
}
.pc-mobile-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
}
.pc-mobile-hero-text {
    padding-bottom: 80px;
}
.pc-mobile-hero-text h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    color: #fff;
    line-height: .95;
    text-transform: uppercase;
    margin: 0 0 1.5rem;
}
.pc-mobile-hero-text h1 .accent { color: #f5c518; }
.pc-mobile-hero-text p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255,255,255,.6);
    margin-bottom: 1.5rem;
}
.pc-mobile-hero-phone {
    text-align: right;
    align-self: end;
}
.pc-mobile-hero-phone img {
    max-width: 340px;
    width: 100%;
    display: block;
    margin-left: auto;
}

/* App store badges */
.pc-mobile-badges {
    display: flex;
    gap: .8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.pc-mobile-badge {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    background: #fff;
    color: #0d2d3a;
    padding: .7rem 1.4rem;
    text-decoration: none !important;
    border-radius: 4px;
    transition: background .2s;
}
.pc-mobile-badge:hover { background: #f5c518; color: #0d2d3a; }
.pc-mobile-badge i { font-size: 1.6rem; }
.pc-mobile-badge span { display: flex; flex-direction: column; line-height: 1.2; }
.pc-mobile-badge small {
    font-family: 'Barlow', sans-serif;
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.pc-mobile-badge strong {
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}
.pc-mobile-android-help {
    font-size: .9rem !important;
    color: rgba(255,255,255,.5) !important;
}
.pc-mobile-android-help a {
    color: #f5c518 !important;
    text-decoration: underline !important;
}

/* Functionality section */
.pc-mobile-features {
    padding: 5rem 2rem;
    text-align: center;
    background: #f0f4f6;
}
.pc-mobile-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: #0d2d3a;
    text-transform: uppercase;
    margin: .8rem 0 3rem;
}
.pc-mobile-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 3rem;
}
.pc-mobile-feature-card h5 {
    font-family: 'Barlow', sans-serif;
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0d2d3a;
    margin-bottom: 1rem;
}
.pc-mobile-feature-card img {
    max-width: 220px;
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

/* Android section */
.pc-mobile-android {
    background: #fff;
    padding: 5rem 2rem 6rem;
}
.pc-mobile-android-inner {
    max-width: 780px;
    margin: 0 auto;
}
.pc-mobile-android h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: #0d2d3a;
    text-transform: uppercase;
    margin: .8rem 0 1.5rem;
}
.pc-mobile-android h2 .accent { color: #f5c518; }
.pc-mobile-android p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2a4050;
    margin-bottom: 1.5rem;
}
.pc-mobile-android .pc-steps { margin-bottom: 2.5rem; }
.pc-mobile-android .pc-step-text {
    text-transform: none;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    letter-spacing: 0;
    color: #2a4050;
}
.pc-mobile-android .pc-step-text a { color: #0d2d3a; text-decoration: underline; }

@media (max-width: 760px) {
    .pc-mobile-hero-inner { grid-template-columns: 1fr; }
    .pc-mobile-hero-phone { text-align: center; }
    .pc-mobile-hero-phone img { margin: 0 auto; max-width: 260px; }
    .pc-mobile-hero-text { padding-bottom: 2rem; }
    .pc-mobile-grid { grid-template-columns: 1fr 1fr; }
}
.page-template-template-mobile .wrap,
.page-template-template-mobile-php .wrap { padding-top: 0; padding-bottom: 0; }
