/**
 * homepage.css
 *
 * Homepage-specific styles: image card grid, quote block,
 * eyebrow labels, button variants, CTA button row.
 */


/* ═══════════════════════════════════════════
   FULL-VIEWPORT HERO (homepage only)
   WordPress adds 'home' class to body on front page.
   Overrides the default hw-hero--tall 640px height.
   ═══════════════════════════════════════════ */

body.home .hw-hero--tall {
    min-height: 100vh;
}

@media (max-width: 768px) {
    body.home .hw-hero--tall {
        min-height: 85vh;
    }
}


/* ═══════════════════════════════════════════
   INTRO CARD (white card with shadow below hero)
   ═══════════════════════════════════════════ */

.hw-intro-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 48px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: -32px auto 0;
    position: relative;
    z-index: 2;
}

.hw-page--home .hw-section--intro {
    padding: 24px 0 16px;
}

.hw-intro-card .hw-page-content p {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--hw-text, #333);
    margin: 0 0 16px;
}

.hw-intro-card .hw-page-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hw-intro-card {
        padding: 28px 24px;
    }
}


/* ═══════════════════════════════════════════
   EYEBROW TEXT
   ═══════════════════════════════════════════ */

.hw-eyebrow {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hw-green, #00913A);
    margin: 0 0 8px;
}


/* ═══════════════════════════════════════════
   IMAGE CARD GRID (6-up)
   ═══════════════════════════════════════════ */

.hw-image-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 32px;
    text-align: left;
}

.hw-image-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.hw-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hw-image-card__photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--hw-cream, #FAF8F5);
}

.hw-image-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hw-image-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--hw-cream, #FAF8F5) 0%, #e8e4db 100%);
}

.hw-image-card__body {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hw-image-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hw-brown, #755126);
    margin: 0 0 8px;
}

.hw-image-card__text {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--hw-light-text, #666);
    margin: 0 0 12px;
    flex: 1;
}

.hw-image-card__link {
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hw-green, #00913A);
    text-decoration: none;
}


/* ═══════════════════════════════════════════
   QUOTE BLOCK
   ═══════════════════════════════════════════ */

.hw-band--quote {
    padding: 80px 0;
}

.hw-blockquote {
    max-width: 960px;
    margin: 0 auto;
}

.hw-blockquote__text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: var(--hw-brown, #755126);
    margin: 0 0 16px;
    white-space: nowrap;
}

.hw-blockquote__cite {
    display: block;
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    color: var(--hw-green, #00913A);
    text-align: right;
    padding-right: 25%;
}


/* ═══════════════════════════════════════════
   BUTTON VARIANTS
   ═══════════════════════════════════════════ */

.hw-btn--green {
    background: var(--hw-green, #00913A);
    color: #fff;
}

.hw-btn--green:hover {
    background: #007A30;
    transform: translateY(-2px);
}

.hw-btn--outline {
    background: transparent;
    color: var(--hw-brown, #755126);
    border: 2px solid var(--hw-brown, #755126);
}

.hw-btn--outline:hover {
    background: var(--hw-brown, #755126);
    color: #fff;
    transform: translateY(-2px);
}

.hw-btn--outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.hw-btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}


/* ═══════════════════════════════════════════
   CTA BUTTON ROW
   ═══════════════════════════════════════════ */

.hw-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ═══════════════════════════════════════════
   BLOG CARDS
   ═══════════════════════════════════════════ */

.hw-card--blog {
    text-align: left;
    padding: 0;
    overflow: hidden;
}

.hw-card--blog__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.hw-card--blog__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hw-card--blog__body {
    padding: 20px 24px 24px;
}

.hw-card--blog__body .hw-card__title {
    text-align: left;
}

.hw-card--blog__body .hw-card__title a {
    color: var(--hw-brown, #755126);
    text-decoration: none;
}

.hw-card--blog__body .hw-card__title a:hover {
    color: var(--hw-green, #00913A);
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hw-image-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hw-image-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hw-blockquote__text {
        font-size: 1.3rem;
        white-space: normal;
    }

    .hw-band--quote {
        padding: 56px 0;
    }

    .hw-blockquote__cite {
        padding-right: 10%;
    }
}
