/* Utility Classes - Common Patterns */

/* Spacing */
.mb-3 {
    margin-bottom: 1.5rem;
}

.p-3 {
    padding: 2rem;
}

/* Text alignment */
.text-center {
    text-align: center;
}

/* Border radius */
.rounded {
    border-radius: var(--border-radius);
}

/* Transitions */
.transition {
    transition: all 0.3s ease;
}

/* Box shadow */
.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Background colors */
.bg1 {
    background-color: var(--background1);
}

.bg2 {
    background-color: var(--background2);
}

.bg3 {
    background-color: var(--background3);
}

/* High-level Components */

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

.section-title {
    font-size: 2rem;
    margin: 0;
}

.section-title:not(:last-child) {
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--peach);
    margin: 0;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }
}

/* Text gradient effect */
.impact {
    background-image: linear-gradient(120deg, var(--peach), var(--flamingo));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* Dotted list style */
.dotted {
    margin-bottom: 0.5rem;
}

.dotted span:not(:last-child)::after {
    content: " • ";
    color: var(--muted-font);
}

.dotted span:first-child {
    font-weight: bold;
}

.dotted p {
    margin-left: 20px;
}

.block>*:not(:last-child) {
    margin-bottom: 1.5rem;
}


.mini-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mini-section {
    display: grid;
    grid-template-columns: 3fr 3fr;
    gap: 1.5rem;
    background-color: var(--crust);
    border-radius: 15px;
    overflow: hidden;
}

.mini-section-text {
    padding: 1rem;
    padding-left: 0;
}

.mini-section-text h3 {
    margin-bottom: 1rem;
}

.mini-section-text p {
    margin-bottom: 0.3rem;
}

.mini-section-image img {
    height: 100%;
    overflow: hidden;
}

.mini-section-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.mini-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (width <=1024px) {
    .mini-section {
        grid-template-columns: 1fr;
    }

    .mini-section-text {
        padding-left: 1rem;
        padding-top: 0;
    }
}
