/* About Winedering — page-scoped styles (prefix: ab-) */

/* Hero — scoped overrides for stronger readability over the bottle photo */
.home.bg-cover.ab-hero-page::before {
    /* Darker overlay than the global default (0.4) so white copy stays legible. */
    background: rgba(0, 0, 0, 0.62);
}
.home.bg-cover.ab-hero-page .hero-banner {
    padding: 20px 0;
}
.home.bg-cover.ab-hero-page .ab-hero-subhead {
    color: #fff;
    font-size: 1.2em;
    line-height: 1.55;
    max-width: 780px;
    margin: 18px auto 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.ab-section {
    padding: 60px 0;
}
.ab-section.bg-light {
    background: rgba(145, 19, 81, 0.07);
}
.ab-section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.9em;
    font-weight: 700;
    margin-bottom: 14px;
    color: #2c2c2c;
}
.ab-section h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.35em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c2c2c;
}
.ab-section .subtitle {
    font-size: 1.15em;
    color: #555;
    margin-bottom: 40px;
    max-width: 720px;
    line-height: 1.55;
}
.ab-section.text-center .subtitle,
.ab-section .subtitle.text-center {
    margin-left: auto;
    margin-right: auto;
}
.ab-section p {
    font-size: 1.05em;
    color: #444;
    line-height: 1.7;
}

/* Story (narrative paragraphs, single column centered) */
.ab-story-body {
    max-width: 760px;
    margin: 0 auto;
}
.ab-story-body p {
    margin-bottom: 18px;
}

/* Equal-height card grid (BS3 float fix) */
.ab-cards-row {
    display: flex;
    flex-wrap: wrap;
}
.ab-cards-row > [class*="col-"] {
    display: flex;
    margin-bottom: 24px;
}
.ab-value-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    height: 100%;
    width: 100%;
    transition: transform 0.25s ease;
}
.ab-value-card:hover {
    transform: translateY(-4px);
}
.ab-value-card .icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #911351;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    margin-bottom: 14px;
}
.ab-value-card h3 {
    font-size: 1.1em;
    margin-bottom: 8px;
}
.ab-value-card p {
    font-size: 1em;
    color: #555;
    line-height: 1.55;
    margin: 0;
}
.ab-value-card a {
    color: #911351;
    text-decoration: underline;
}
.ab-value-card a:hover {
    color: #5a0d33;
}

/* Founders — only render avatar if a real photo file exists */
.ab-team-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-align: center;
    height: 100%;
    width: 100%;
}
.ab-team-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
}
.ab-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ab-team-name {
    font-family: 'Raleway', sans-serif;
    font-size: 1.25em;
    font-weight: 700;
    margin: 0 0 4px;
    color: #2c2c2c;
}
.ab-team-role {
    font-size: 0.95em;
    color: #911351;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.ab-team-bio {
    font-size: 1em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 14px;
}
.ab-team-link {
    font-size: 0.95em;
    color: #911351;
    text-decoration: none;
}
.ab-team-link:hover { text-decoration: underline; }

/* Contact (slim version) */
.ab-contact-block {
    max-width: 720px;
    margin: 0 auto;
}
.ab-contact-legal {
    font-size: 1em;
    color: #555;
    margin-bottom: 22px;
}

/* Reviews wall reused from /reviews page — minor About-scoped tweaks only.
   The heavy lifting (grid, card, image, translation toggle) comes from
   reviews-wall.css via the .reviews-list-view scope. */
.ab-reviews-wall {
    margin-top: 24px;
    text-align: left;
}
.ab-reviews-cta {
    margin-top: 12px;
    text-align: center;
}

/* Bottom CTA — 3-audience differentiated band */
.ab-cta-bottom {
    background: linear-gradient(135deg, #911351 0%, #5a0d33 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.ab-cta-bottom h2 {
    color: #fff;
    margin-bottom: 8px;
}
.ab-cta-bottom > .container > p {
    font-size: 1.05em;
    color: #fff;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto 36px;
    line-height: 1.55;
}
.ab-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 12px;
}
.ab-cta-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ab-cta-card .ab-cta-icon {
    font-size: 2em;
    color: #fff;
    margin-bottom: 14px;
    opacity: 0.92;
}
.ab-cta-card h3 {
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 1.15em;
    font-weight: 700;
    margin: 0 0 10px;
}
.ab-cta-card p {
    color: #fff;
    opacity: 0.85;
    font-size: 0.98em;
    line-height: 1.55;
    margin: 0 0 20px;
    flex-grow: 1;
}
/* Specificity-bumped (.ab-cta-card .ab-cta-btn) to beat Bootstrap's .btn:hover
   rule, which is loaded AFTER about.css and would otherwise override `color`
   on hover. Hover keeps the white background (instead of going transparent)
   so the button is never invisible on the dark gradient. */
.ab-cta-card .ab-cta-btn {
    background: #fff;
    color: #911351;
    border: 1px solid #fff;
    padding: 10px 22px;
    font-weight: 600;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    text-decoration: none;
}
.ab-cta-card .ab-cta-btn:hover,
.ab-cta-card .ab-cta-btn:focus,
.ab-cta-card .ab-cta-btn:active {
    background: #fff;
    color: #5a0d33;
    border-color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
    text-decoration: none;
    outline: none;
}

/* Responsive */
@media (max-width: 991px) {
    .ab-cta-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 767px) {
    .ab-section { padding: 40px 0; }
    .ab-section h2 { font-size: 1.5em; }
    .home.bg-cover.ab-hero-page .ab-hero-subhead { font-size: 1.05em; }
    /* Mobile cap on testimonials: show first 6 cards only */
    .ab-reviews-wall .reviews-grid > .review-item:nth-child(n+7) { display: none; }
}
