/* GB About page - matches gbgenetics.com layout */

.gb-about-wrap { color: #e8eaee; }

/* Hide the default page header on About template */
body.page-template-page-about .entry-header,
body.page-template-page-about .ast-page-header-section { display: none !important; }
body.page-template-page-about .ast-container { max-width: 100% !important; padding: 0 !important; }
body.page-template-page-about .site-content,
body.page-template-page-about .site-main { padding: 0 !important; }

/* ===== HERO ===== */
.gb-about-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.gb-about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(17,35,55,0.65) 100%);
    z-index: 1;
}
.gb-about-hero-title {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #ffffff;
    font-family: 'Cardo', Georgia, serif;
    font-weight: 700;
    font-size: clamp(64px, 14vw, 220px);
    letter-spacing: 0.04em;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.4) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 6px 30px rgba(0,0,0,0.5);
    line-height: 0.95;
    padding: 0 20px;
}

/* ===== 2-COLUMN ROWS ===== */
.gb-about-row {
    padding: 90px 40px;
    background: rgba(0,0,0,0.85);
}
.gb-row-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.gb-row-image-right .gb-row-inner { direction: rtl; }
.gb-row-image-right .gb-row-inner > * { direction: ltr; }
.gb-row-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.gb-row-content h2 {
    font-family: 'Cardo', Georgia, serif !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 22px !important;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.gb-row-text,
.gb-row-text p {
    color: #c9ccd2 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin: 0 0 18px !important;
}

/* Brand button */
.gb-btn {
    display: inline-block;
    background: #219b00 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 14px 32px !important;
    border-radius: 32px !important;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-top: 10px;
}
.gb-btn:hover {
    background: #1a7d00 !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}

@media (max-width: 900px) {
    .gb-row-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .gb-row-image-right .gb-row-inner { direction: ltr; }
    .gb-row-content h2 { font-size: 28px !important; }
    .gb-about-row { padding: 60px 20px; }
}

/* ===== BLOG GRID ===== */
.gb-about-blog {
    position: relative;
    padding: 100px 20px;
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.gb-about-blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.85) 100%);
    z-index: 0;
}
.gb-about-blog-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}
.gb-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .gb-blog-grid { grid-template-columns: 1fr; }
    .gb-about-blog { padding: 60px 20px; }
}

.gb-blog-card {
    display: block;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none !important;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}
.gb-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.gb-blog-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center center;
    background-color: #1a1a1a;
}
.gb-blog-card-body {
    padding: 22px 22px 24px;
    color: #c9ccd2;
}
.gb-blog-card-cat {
    display: inline-block;
    background: rgba(33,155,0,0.15);
    color: #4fcc25;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 12px;
}
.gb-blog-card-date {
    display: block;
    color: #8b94a3;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}
.gb-blog-card-title {
    color: #ffffff !important;
    font-family: 'Cardo', serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 0 14px !important;
    line-height: 1.25;
}
.gb-blog-card-meta {
    color: #8b94a3;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gb-blog-cta {
    text-align: center;
    margin-top: 50px;
}
.gb-btn-pill {
    background: linear-gradient(90deg, #c5a3ff 0%, #6c5ce7 100%) !important;
    border-radius: 40px !important;
    padding: 14px 36px !important;
    font-size: 13px !important;
}
.gb-btn-pill .gb-arrow { margin-left: 8px; transition: transform 0.2s ease; display: inline-block; }
.gb-btn-pill:hover .gb-arrow { transform: translateX(4px); }
.gb-btn-pill:hover { background: linear-gradient(90deg, #6c5ce7 0%, #c5a3ff 100%) !important; }
