/* ============================================
   OurCare Dashboard - Home Page Specific Styles
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: auto;
    padding-top: var(--nav-height);
    padding-bottom: 60px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 100%), 
                      url("../img/OurCare Hero.e4751661773c.jpg");
    background-size: 100% 50%;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    gap: 60px;
    padding-top: 164px;
    align-items: stretch;
}

.hero-left-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 588px;
    flex-shrink: 0;
}

/* Hero Content Box (Blue) */
.hero-content-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 35px;
    gap: 16px;
    width: 100%;
    background: var(--primary-blue);
    flex: 1;
}

.hero-eyebrow {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    line-height: 102%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    color: var(--text-light);
}

.hero-description {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    margin-top: auto;
}

/* ============================================
   EXPLORE DATA PANEL
   ============================================ */
.explore-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 20px;
    width: 583px;
    background: var(--bg-light-purple);
    flex-shrink: 0;
}

.explore-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 28px;
    line-height: 120%;
    color: var(--text-dark);
}

/* Standard Cards */
.standard-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 14px;
    width: 100%;
    background: var(--bg-white);
    transition: all 0.2s ease;
}

.standard-card:hover {
    box-shadow: 0 4px 20px rgba(77, 93, 217, 0.15);
}

.standard-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.standard-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 13px;
    text-align: center;
    color: var(--text-dark);
}

.standard-name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    color: var(--text-dark);
}

.standard-description {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--text-dark);
}

.standard-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    color: var(--primary-blue);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.standard-link:hover {
    gap: 8px;
}

.standard-link svg {
    width: 13px;
    height: 13px;
}

/* ============================================
   KEY FINDINGS SECTION (HOME PAGE)
   ============================================ */
.key-findings {
    padding: 0;
    max-width: 1440px;
    margin: 0;
}

.key-findings-in-hero {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.key-findings-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 28px;
    line-height: 120%;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.findings-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Finding Card */
.finding-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
    gap: 8px;
    background: var(--accent-green);
    width: 100%;
}

.finding-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.finding-stat {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    color: var(--text-dark);
}

.finding-text {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 15px;
    line-height: 140%;
    color: var(--text-dark);
}

/* Large Finding Card */
.finding-card-large {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 28px;
    gap: 14px;
    background: var(--accent-green);
    width: 100%;
}

.finding-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 13px;
    color: var(--text-dark);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.finding-link:hover {
    gap: 8px;
}

.finding-link svg {
    width: 13px;
    height: 13px;
}

/* Small Finding Cards Row */
.findings-row {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.finding-card-small {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 14px;
    background: var(--accent-green);
    flex: 1;
    min-width: 0;
}

.finding-text-small {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--text-dark);
}

/* ============================================
   LEARN MORE SECTION
   ============================================ */
.learn-more {
    display: flex;
    width: 100%;
}

.learn-more-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 100px;
    gap: 24px;
}

.learn-more-box-left {
    background: var(--accent-cyan);
    flex: 47%;
}

.learn-more-box-right {
    background: var(--primary-blue);
    flex: 53%;
}

.learn-more-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    max-width: 515px;
}

.learn-more-box-right .learn-more-content {
    max-width: 528px;
}

.learn-more-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    color: var(--text-dark);
}

.learn-more-box-right .learn-more-title {
    color: var(--text-light);
}

.learn-more-text {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--text-dark);
}

.learn-more-box-right .learn-more-text {
    color: var(--text-light);
}

.learn-more-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    gap: 4px;
    background: var(--text-dark);
    border-radius: 39px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.learn-more-btn:hover {
    background: #333333;
    transform: translateY(-1px);
}

.learn-more-btn svg {
    width: 13px;
    height: 13px;
}

/* ============================================
   HOME PAGE FOOTER (Different from data pages)
   ============================================ */
.footer {
    background: var(--text-dark);
    padding: 39px 106px;
}

.footer-container {
    max-width: 1285px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 37px;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 108px;
}

/* Desktop: Footer links vertical, logos horizontal */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
    width: 344px;
}

.footer-logos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    flex: 1 1 auto;
}

/* Logo cells (Figma uses padded frames around each logo) */
.footer-logo-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 10px;
    box-sizing: border-box;
}

/* Ensure desktop styles override mobile */

    .footer-content {
        gap: 108px;
    }
    
    .footer-links {
        flex-shrink: 0;
        width: 344px;
    }
    
    .footer:not(.footer--mobile) .footer-logos {
        /* Figma layout: 3 columns x 2 rows, with the second-row right cell empty */
        display: grid !important;
        width: 855px;
        max-width: 855px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 37px;
        row-gap: 2px;
        align-items: center;
        justify-items: start;
        min-width: 0;
    }

    /* Explicit logo placement to match Figma frame positions */
    .footer:not(.footer--mobile) .footer-logo-cell--ourcare { grid-column: 1; grid-row: 1; }
    .footer:not(.footer--mobile) .footer-logo-cell--map { grid-column: 2; grid-row: 1; }
    .footer:not(.footer--mobile) .footer-logo-cell--stmichaels { grid-column: 3; grid-row: 1; }
    .footer:not(.footer--mobile) .footer-logo-cell--dfcm { grid-column: 1; grid-row: 2; }
    .footer:not(.footer--mobile) .footer-logo-cell--cma { grid-column: 2; grid-row: 2; }


/* ============================================
   MOBILE MENU (HOME PAGE SPECIFIC)
   ============================================ */
.mobile-menu-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    color: var(--text-dark);
    margin: 0;
}

/* Mobile Menu Standards List */
.mobile-menu-standards {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 24px;
    width: 100%;
}

/* Mobile Menu Standard Item */
.mobile-menu-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    gap: 16px;
    width: 100%;
}

/* Standard Number Circle */
.mobile-menu-number {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 4px;
    gap: 10px;
    width: 22px;
    height: 26px;
    flex-shrink: 0;
}

.mobile-menu-number span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 22px;
    height: 22px;
    border: 2px solid var(--text-dark);
    border-radius: 50%;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    color: var(--text-dark);
}

/* Standard Content (Title + Arrow) */
.mobile-menu-item-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 4px;
    gap: 12px;
    flex: 1;
}

.mobile-menu-item-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 4px;
    width: 100%;
    cursor: pointer;
}

.mobile-menu-item-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.mobile-menu-item-arrow {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.mobile-menu-item.expanded .mobile-menu-item-arrow {
    transform: rotate(90deg);
}

/* Submenu Accordion */
.mobile-menu-submenu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 0 12px;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.mobile-menu-item.expanded .mobile-menu-submenu {
    display: flex;
}

/* Submenu Section */
.mobile-submenu-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 12px;
    width: 100%;
}

.mobile-submenu-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 0 8px;
    gap: 15px;
    width: 100%;
    cursor: pointer;
}

.mobile-submenu-header::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-dark);
    border-bottom: 2px solid var(--text-dark);
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.mobile-submenu-section.expanded .mobile-submenu-header::after {
    transform: rotate(45deg);
}

.mobile-submenu-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    color: var(--text-dark);
    flex: 1;
}

/* Submenu Questions List */
.mobile-submenu-questions {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 0 12px;
    gap: 16px;
    width: 100%;
}

.mobile-submenu-section.expanded .mobile-submenu-questions {
    display: flex;
}

.mobile-submenu-question {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 110%;
    color: var(--text-dark);
    text-decoration: none;
    width: 100%;
}

.mobile-submenu-question:hover,
.mobile-submenu-question.active {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Nested Questions (Level 3) */
.mobile-submenu-nested {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 0 16px;
    gap: 17px;
    width: 100%;
    margin-top: 8px;
}

.mobile-submenu-nested-question {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 102%;
    color: var(--text-dark);
    text-decoration: none;
}

.mobile-submenu-nested-question:hover {
    color: var(--primary-blue);
}

/* View All Link */
.mobile-menu-view-all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 102%;
    color: var(--primary-blue);
    text-decoration: none;
    padding: 8px 0;
    margin-top: 8px;
}

.mobile-menu-view-all:hover {
    text-decoration: underline;
}

.mobile-menu-view-all svg {
    width: 13px;
    height: 13px;
}

/* ============================================
   HOME PAGE RESPONSIVE STYLES
   ============================================ */


/* ============================================
   MOBILE STYLES (max-width: 480px)
   ============================================ */


