/*
 * Guides and Fact Sheets Page Styles
 * WellFemme Theme
 */

 :root {
    --guides-primary: #56C2C2;
    --guides-secondary: #FABAAB;
    --guides-tertiary: #1B7895;
    --guides-text: #3B3B3B;
    --guides-text-light: #6C6C6C;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.guides-hero {
    background-size: cover;
    background-position: center;
    height: 590px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guides-download-btn span.right-icon {
    transform: rotate(90deg);
}
.guide-sec {
    padding: 130px 0px 90px;
}
.guides-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.guides-hero-content {
    position: relative;
    z-index: 1;
}

.guides-hero h1 {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
    font-size: 38px;
    line-height: 48px;
    margin-bottom: 10px;
}

.guides-breadcrumb {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    opacity: 0.9;
}

/* ==========================================================================
   Intro Section
   ========================================================================== */

.guides-intro-title {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 36px;
    color: var(--guides-tertiary);
    margin-bottom: 0;
}

.guides-intro-description {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: var(--guides-text-light);
    margin-bottom: 0;
}

/* ==========================================================================
   Guide Cards
   ========================================================================== */

.guides-card {
    border: none;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}

.guides-card .card-body {
    padding: 20px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.guides-card-img {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 aspect ratio */
    border-radius: 8px;
    margin-bottom: 0;
    background-size: cover !important;
    background-position: center !important;
}

.guides-card-title {
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: var(--guides-tertiary);
    margin-bottom: 8px;
    margin-top: 0;
}

.guides-card-subtitle {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: var(--guides-primary);
    font-style: italic;
    margin-bottom: 8px;
    min-height: 24px;
}

.guides-card-text {
   
    color: var(--guides-text-light);
    margin-bottom: auto;
    padding-bottom: 15px;
}

.guides-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--guides-tertiary);
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.guides-download-btn:hover {
    color: var(--guides-primary);
}

.guides-download-icon {
    width: 30px;
    height: 30px;
    background: var(--guides-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.guides-download-btn:hover .guides-download-icon {
    background: var(--guides-tertiary);
}

/* ==========================================================================
   Button Utilities
   ========================================================================== */

.guides-btn-primary {
    background: var(--guides-primary);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 30px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.guides-btn-primary:hover {
    background: #4ab0b0;
    color: white;
}

.guides-btn-secondary {
    background: var(--guides-secondary);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 30px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.guides-btn-secondary:hover {
    background: #f9a896;
    color: white;
}

/* ==========================================================================
   Tablet Responsive (768px - 991px)
   ========================================================================== */

@media (max-width: 991px) {
    .guides-hero {
        height: 450px;
    }

    .guides-hero h1 {
        font-size: 32px;
        line-height: 40px;
    }

    .guides-intro-title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 20px;
    }

    .guides-intro-description {
        font-size: 15px;
        line-height: 26px;
    }

    .guides-card-title {
        font-size: 18px;
        line-height: 26px;
    }
}

/* ==========================================================================
   Mobile Responsive (< 768px)
   ========================================================================== */

@media (max-width: 767px) {
    .guides-hero {
        height: 350px;
        margin-bottom: 0;
    }

    .guides-hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .guides-breadcrumb {
        font-size: 13px;
    }

    .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .row.g-5 {
        row-gap: 1rem !important;
        column-gap: 1.5rem !important;
    }

    .row.g-5.mb-5 {
        margin-bottom: 1.25rem !important;
    }

    .guides-intro-title {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 0;
    }

    .guides-intro-description {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 0;
    }

    .guides-card {
        margin-bottom: 0;
    }

    .guides-card .card-body {
        padding: 15px 0;
    }

    .guides-card-title {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 6px;
    }

    .guides-card-subtitle {
        font-size: 13px;
        line-height: 22px;
        min-height: 22px;
        margin-bottom: 6px;
    }

    .guides-card-text {
        font-size: 13px;
        line-height: 22px;
        padding-bottom: 12px;
    }

    .guides-download-btn {
        font-size: 14px;
    }

    .guides-download-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .row.g-4 {
        gap: 1.5rem !important;
    }

    .row.g-4 > * {
        margin-bottom: 0;
    }

    /* Mobile-specific intro styles */
    p.guides-intro-description {
        margin-top: -96px;
    
    }
    .row.g-5.mb-5 {
        margin-top: 25px !important;
    }

    

    h2.guides-intro-title {
        
        margin-top: -50px;
    }
}

 

@media (max-width: 575px) {
    .row.g-5.mb-5 {
        margin-top: -89px !important;
        margin-bottom: 1.25rem !important;
    }
}

/* ==========================================================================
   Small Mobile (< 576px)
   ========================================================================== */

@media (max-width: 575px) {
    .guides-hero {
        height: 300px;
        margin-bottom: 0;
    }

    .guides-hero h1 {
        font-size: 24px;
        line-height: 32px;
        padding: 0 20px;
    }

    .guides-breadcrumb {
        font-size: 12px;
        padding: 0 20px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .container.py-5 {
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }

    .row.g-5 {
        gap: 1rem !important;
    }

    .row.g-5.mb-5 {
        margin-bottom: 1.25rem !important;
    }

    .guides-intro-title {
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 10px;
    }

    .guides-intro-description {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 0;
    }

    .guides-card-img {
        border-radius: 6px;
    }

    .guides-card .card-body {
        padding: 12px 0;
    }

    .row.g-4 {
        gap: 1.25rem !important;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .guides-hero::before {
        display: none;
    }

    .guides-download-btn {
        color: var(--guides-tertiary) !important;
    }

    .guides-card {
        page-break-inside: avoid;
    }
}