.philosophy-page {
    background: #f8f4ee;
}

.philosophy-page-box-container {
    max-width: var(--site-max-width, 1440px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(var(--site-px, 0px), env(safe-area-inset-left, 0px));
    padding-right: max(var(--site-px, 0px), env(safe-area-inset-right, 0px));
}

.philosophy-hero {
    position: relative;
    height: 60vh;
    min-height: 35.375rem;
    overflow: hidden;
}

.philosophy-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.65);
}

.philosophy-hero-content {
    position: relative;
    min-height: 35.375rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: clamp(3rem, 6vw, 5rem);
    color: #fff;
    z-index: 1;
}

.philosophy-hero-content h1 {
    margin: 0;
    font-size: var(--banner-title-size-desktop);
    font-family: var(--pd-font-brand);
    font-weight: 700;
    color: #fff;
}

.philosophy-hero-content p {
    margin: 0.5rem 0 0;
    font-size: 0.95rem;
    font-family: var(--pd-font-body);
    font-weight: var(--fw-light, 300);
    color: #fff;
}

.mobile-line-break {
    display: none;
}

.philosophy-content {
    padding-top: clamp(3rem, 5vw, 4.25rem);
    padding-bottom: clamp(3rem, 5vw, 4.25rem);
}

.philosophy-grid {
    display: grid;
    column-gap: 3%;
    row-gap: 1.75rem;
}

.philosophy-grid-top {
    grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 1fr));
    align-items: start;
}

.philosophy-grid-bottom {
    margin-top: 1.75rem;
    grid-template-columns: repeat(2, 1fr);
}

.philosophy-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.philosophy-card-primary img {
    aspect-ratio: 4 / 3;
}

.philosophy-card-secondary img {
    aspect-ratio: 1 / 1;
}

.philosophy-card-bottom img {
    aspect-ratio: 16 / 9;
}

.philosophy-card h3 {
    margin: 0.75rem 0 0.375rem;
    font-size: 1rem;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: var(--fw-bold, 700);
    color: #000;
}

.philosophy-card p {
    margin: 0 0 0.375rem;
    font-size: 0.8125rem;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: var(--fw-medium, 500);
    color: #000;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 170px;
    font-size: 0.95rem;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: var(--fw-light, 300);
    color: #000;
    border-bottom: 1px solid #000;
    padding: 0 0 6px;
    line-height: 1;
}

.read-more-arrow {
    margin-left: auto;
    padding-left: 16px;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 64rem) {
    .philosophy-grid-top {
        grid-template-columns: 1fr 1fr;
    }

    .philosophy-card-primary {
        grid-column: 1 / -1;
    }

    .philosophy-grid-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 48rem) {
    .philosophy-hero {
        height: 38vh;
        min-height: 0;
    }

    .philosophy-hero-content {
        min-height: 38vh;
        padding-bottom: clamp(2.2rem, 6vw, 3rem);
    }

    .philosophy-hero-content h1 {
        font-size: var(--banner-title-size-tablet);
    }

    .philosophy-hero-content p {
        font-size: clamp(1.05rem, 0.95rem + 0.45vw, 1.2rem);
        line-height: 1.4;
        max-width: 100%;
    }

    .mobile-line-break {
        display: inline;
    }

    .philosophy-content {
        padding-top: clamp(2rem, 7vw, 3rem);
        padding-bottom: clamp(2rem, 7vw, 3rem);
    }

    .philosophy-grid-top {
        grid-template-columns: 1fr;
    }

    .philosophy-card-primary,
    .philosophy-card-secondary {
        grid-column: auto;
    }

    .philosophy-card-primary img,
    .philosophy-card-secondary img,
    .philosophy-card-bottom img {
        aspect-ratio: 1 / 1;
    }

    .philosophy-card h3 {
        font-size: 0.9375rem;
    }

    .philosophy-grid {
        row-gap: 2.5rem;
    }

    .philosophy-grid-bottom {
        margin-top: 2.5rem;
    }
}

@media (max-width: 36rem) {
    .philosophy-hero-content h1 {
        font-size: var(--banner-title-size-mobile);
    }

    .philosophy-hero-content p {
        font-size: 1rem;
    }

    .read-more-link {
        min-height: 44px;
        align-items: center;
    }
}
