/* BigTeesGolf homepage hubs + timeline — native replacement for UAG post-grid.
   Loaded by astra-child/functions.php when /inc/hubs.css exists. */

/* Hub section */
.btg-hub {
    padding: 3rem 1rem 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.btg-hub__title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-align: center;
}
.btg-hub__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}
@media (max-width: 800px) {
    .btg-hub__grid { grid-template-columns: 1fr; }
}
.btg-hub__card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.btg-hub__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}
.btg-hub__link {
    color: inherit;
    text-decoration: none;
    display: block;
}
.btg-hub__thumb img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.btg-hub__cardtitle {
    font-size: 1.05rem;
    margin: 0.75rem 1rem 0.25rem;
    line-height: 1.3;
}
.btg-hub__excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444;
    margin: 0 1rem 1rem;
    flex-grow: 1;
}
.btg-hub__viewall {
    text-align: center;
    margin-top: 2rem;
}
.btg-hub__viewall-btn,
.btg-timeline__viewall-btn {
    background-color: #319b42;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}
.btg-hub__viewall-btn:hover,
.btg-timeline__viewall-btn:hover {
    background-color: #26802f;
}
.btg-hub__empty,
.btg-timeline__empty {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Timeline */
.btg-timeline {
    padding: 3rem 1rem 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}
.btg-timeline__title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    text-align: center;
}
.btg-timeline__list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1rem;
    border-left: 3px solid #319b42;
}
.btg-timeline__item {
    position: relative;
    padding: 0.75rem 0 0.75rem 1.25rem;
}
.btg-timeline__item::before {
    content: "";
    position: absolute;
    left: -0.65rem;
    top: 1.05rem;
    width: 12px;
    height: 12px;
    background: #004986;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #319b42;
}
.btg-timeline__date {
    display: block;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.btg-timeline__link {
    display: block;
    color: #004986;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.15rem;
}
.btg-timeline__link:hover { text-decoration: underline; }
.btg-timeline__viewall {
    text-align: center;
    margin-top: 2rem;
}

/* Selector-tool button on homepage */
.btg-hero {
    margin: 0 !important;
}
.btg-tool-btn a {
    display: block;
    text-align: center;
    padding: 14px 20px !important;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.btg-tool-btn a:hover {
    background-color: #319b42 !important;
}

/* Read-more link on hub cards */
.btg-hub__cta {
    margin: 0 1rem 1rem;
    font-size: 0.9rem;
}
.btg-hub__cta a {
    color: #004986;
    font-weight: 600;
    text-decoration: none;
}
.btg-hub__cta a:hover { text-decoration: underline; }

/* Call to action card (used on /tools/) */
.btg-cta {
    background: #004986;
    color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 1.5rem 0;
}
.btg-cta__title {
    color: #ffffff;
    margin: 0 0 0.75rem;
    font-size: 1.4rem;
}
.btg-cta__desc {
    color: #ffffff;
    margin: 0 0 1.25rem;
    line-height: 1.55;
}
.btg-cta__desc strong { color: #ffffff; }
.btg-cta__button {
    display: inline-block;
    background: #319b42;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
}
.btg-cta__button:hover {
    background: #26802f;
}

/* Full-bleed homepage hero. Overrides the Astra container width so the cover
   image touches both edges and there's no gap under the notify-bar. */
.btg-hero,
.wp-block-cover.btg-hero.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    min-height: 480px !important;
}
/* Zero out the container padding on the homepage so the hero sits flush
   against the notify-bar. */
.home .entry-content,
.page-id-56 .entry-content,
.page-id-56 .ast-container,
.page-id-56 .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.page-id-56 .entry-content > *:first-child {
    margin-top: 0 !important;
}
