/**
 * Need Help Footer Section Block Styles
 * 
 * Colors:
 * - Primary Green: #006a3c
 * - White: #ffffff
 * 
 * Fonts:
 * - Roboto Bold
 * - Roboto Regular
 */

/* ============================================
   Block Container
   ============================================ */
.need-help-footer-section-block {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

/* ============================================
   Background Wrapper - Full Width Green Background
   ============================================ */
.nhf-background-wrapper {
    position: relative;
    width: 100%;
    background-color: #006a3c;
    padding: 50px 20px;
}

/* ============================================
   Container - Uses WordPress Layout Width
   ============================================ */
.nhf-container {
    position: relative;
    max-width: var(--theme-normal-container-max-width, 1290px);
    width: var(--theme-container-width, 100%);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Content Wrapper - Two Column Layout
   ============================================ */
.nhf-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}

/* ============================================
   Left Column - Title & Description
   ============================================ */
.nhf-left-column {
    flex: 1;
    text-align: left;
}

/* ============================================
   Right Column - Contact Info
   ============================================ */
.nhf-right-column {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

/* ============================================
   Title
   ============================================ */
.nhf-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.3;
    color: #ffffff !important;
}

/* ============================================
   Description
   ============================================ */
.nhf-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff !important;
    margin: 0;
}

/* ============================================
   Contact Info
   ============================================ */
.nhf-contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
}

.nhf-contact-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

/* ============================================
   Icons
   ============================================ */
.nhf-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nhf-phone-icon svg,
.nhf-email-icon svg {
    color: #ffffff !important;
    width: 24px;
    height: 24px;
}

/* ============================================
   Contact Links
   ============================================ */
.nhf-contact-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4;
    color: #ffffff !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nhf-contact-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.nhf-contact-link:focus {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Desktop - Large (1400px+) */
@media (min-width: 1400px) {
    .nhf-background-wrapper {
        padding: 60px 20px;
    }

    .nhf-content {
        max-width: 1000px;
    }
    
    .nhf-title {
        font-size: 45px;
        margin-bottom: 0px;
    }
    
    .nhf-description {
        font-size: 16px;
        margin-bottom: 45px;
    }
    
    .nhf-contact-link {
        font-size: 26px;
    }
}

/* Desktop - Standard (1200px - 1399px) */
@media (max-width: 1399px) {
    .nhf-background-wrapper {
        padding: 50px 20px;
    }
    
    .nhf-title {
        font-size: 45px;
    }
    
    .nhf-description {
        font-size: 16px;
    }
    
    .nhf-contact-link {
        font-size: 22px;
    }
}

/* Desktop - Small (992px - 1199px) */
@media (max-width: 1199px) {
    .nhf-background-wrapper {
        padding: 50px 20px;
    }
    
    .nhf-title {
        font-size: 42px;
    }
    
    .nhf-description {
        font-size: 16px;
    }
    
    .nhf-contact-info {
        gap: 18px;
    }
    
    .nhf-contact-link {
        font-size: 22px;
    }
    
    .nhf-icon {
        width: 24px;
        height: 24px;
    }
}

/* Tablet - Standard (768px - 991px) */
@media (max-width: 991px) {
    .nhf-background-wrapper {
        padding: 50px 20px;
    }
    
    .nhf-content {
        gap: 40px;
    }
    
    .nhf-title {
        font-size: 38px;
    }
    
    .nhf-description {
        font-size: 16px;
    }
    
    .nhf-contact-info {
        gap: 16px;
    }
    
    .nhf-contact-link {
        font-size: 20px;
    }
    
    .nhf-icon {
        width: 24px;
        height: 24px;
    }
}

/* Tablet - Small and Mobile (< 768px) */
@media (max-width: 767px) {
    .nhf-background-wrapper {
        padding: 40px 15px;
    }

    .nhf-container {
        padding: 0;
    }
    
    .nhf-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .nhf-left-column {
        width: 100%;
    }
    
    .nhf-right-column {
        width: 100%;
    }
    
    .nhf-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .nhf-description {
        font-size: 14px;
        margin-bottom: 0;
    }
    
    .nhf-contact-info {
        gap: 10px;
    }
    
    .nhf-contact-item {
        gap: 12px;
    }
    
    .nhf-contact-link {
        font-size: 18px;
    }
    
    .nhf-icon {
        width: 20px;
        height: 20px;
    }

    .nhf-phone-icon svg,
    .nhf-email-icon svg {
        color: #ffffff;
        width: 20px;
        height: 20px;
    }
}


/* ============================================
   Accessibility Features
   ============================================ */

/* Focus styles for keyboard navigation */
.nhf-contact-link:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nhf-background-wrapper {
        border: 2px solid #ffffff;
    }
    
    .nhf-title,
    .nhf-description,
    .nhf-contact-link {
        color: #ffffff;
        text-shadow: 0 0 2px #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .nhf-contact-link {
        transition: none;
    }
}

/* Print styles */
@media print {
    .nhf-background-wrapper {
        background-color: transparent;
        border: 2px solid #000000;
        padding: 20px;
    }
    
    .nhf-title,
    .nhf-description,
    .nhf-contact-link {
        color: #000000;
    }
    
    .nhf-icon svg {
        color: #000000;
    }
}

/* ============================================
   WordPress Editor Styles
   ============================================ */

/* Ensure proper display in Gutenberg editor */
.wp-block[data-type="acf/need-help-footer-section"] {
    max-width: 100%;
}

/* Preview mode adjustments */
.acf-block-preview .need-help-footer-section-block {
    margin: 0 auto;
}

/* ============================================
   Alignment Support
   ============================================ */

/* Wide alignment */
.need-help-footer-section-block.alignwide {
    max-width: var(--theme-wide-container-max-width, 1600px);
}

/* Full alignment (default) */
.need-help-footer-section-block.alignfull {
    max-width: 100%;
    width: 100%;
}

