/* ========================================
   EPINOZIA | PHYSICS
   HOME PAGE
======================================== */

/* ========================================
   PHYSICS HERO LAYOUT
======================================== */

.hero {
    width: min(92%, var(--site-max-width));
    margin-inline: auto;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.25fr);

    gap: clamp(30px, 4vw, 55px);
}

/* ========================================
   PHYSICS EXPLORE SECTION
======================================== */

.explore .section-heading {
    width: min(92%, var(--site-max-width));
}

.explore .explore-cards {
    width: min(92%, var(--site-max-width));
}

/* ========================================
   PROJECTILE MOTION PREVIEW
======================================== */

.hero-chart-card .chart-image {
    overflow: visible;
}

.hero-chart-card .growth-chart {
    max-width: 100%;
    height: 100%;
}

.hero-chart-card .chart-line {
    stroke: var(--action-blue);
    stroke-width: 3;
}

.hero-chart-card .chart-point {
    fill: var(--action-blue);
    stroke: #ffffff;
}

/* ========================================
   MEDIUM SCREENS / TABLETS
   600px - 1023px
======================================== */

@media (min-width: 600px) and (max-width: 1023px) {

    .hero {
        width: min(92%, 720px);
        grid-template-columns: 1fr;
    }

}

/* ========================================
   SMALL SCREENS / PHONES
   BELOW 600px
======================================== */

@media (max-width: 599px) {

    .hero {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .explore .section-heading,
    .explore .explore-cards {
        width: calc(100% - 32px);
    }

    .hero-chart-card .chart-image {
        height: 190px;
    }

    .hero-chart-card .chart-axis-label {
        font-size: 12px;
    }

}
