/* =========================================================
 * 3D Flycam homepage system v1.2.7
 * Scoped to the two homepage sections introduced in the
 * Classic Editor content. No global layout rules.
 * ======================================================= */
.dfc-home-project-section {
    padding-block: clamp(34px, 5vw, 56px) !important;
}

.dfc-home-project-section .section-title-container {
    width: min(1180px, calc(100% - 40px));
    margin-right: auto;
    margin-bottom: 22px;
    margin-left: auto;
}

.dfc-home-projects {
    width: min(1180px, calc(100% - 40px));
    min-width: 0;
    margin-inline: auto;
}

.dfc-home-projects .dfc-project-card {
    display: flex;
    flex-direction: column;
}

.dfc-home-projects .dfc-project-card__media {
    aspect-ratio: 16 / 9;
}

.dfc-home-projects .dfc-project-card__body {
    display: flex;
    flex: 1;
    padding: 18px 20px 20px;
    flex-direction: column;
}

.dfc-home-projects .dfc-project-card__title {
    font-size: 19px;
}

.dfc-home-projects .dfc-project-card__excerpt {
    display: -webkit-box;
    margin-top: 10px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dfc-home-projects .dfc-project-card__link {
    margin-top: auto;
    padding-top: 15px;
}

.dfc-home-longform-section {
    padding-block: clamp(46px, 7vw, 80px) !important;
}

.dfc-home-longform-section > .section-bg {
    background:
        radial-gradient(circle at 8% 4%, rgba(29, 101, 189, .08), transparent 26%),
        linear-gradient(180deg, #f7f9fc 0%, #eef3f7 100%) !important;
}

.dfc-home-longform-section > .section-content > .row {
    max-width: 1040px;
}

.dfc-home-longform {
    width: 100%;
    min-width: 0;
    margin-inline: auto;
    padding: clamp(24px, 5vw, 54px);
    overflow: hidden;
    border: 1px solid #dce5ed;
    border-top: 4px solid #1d65bd;
    border-radius: 18px;
    background: #fff;
    color: #152333;
    font-size: 16px;
    line-height: 1.78;
    box-shadow: 0 18px 50px rgba(7, 23, 37, .08);
}

.dfc-home-longform > :first-child {
    margin-top: 0;
}

.dfc-home-longform > :last-child {
    margin-bottom: 0;
}

.dfc-home-longform p,
.dfc-home-longform li,
.dfc-home-longform a {
    overflow-wrap: anywhere;
}

.dfc-home-longform h2,
.dfc-home-longform h3 {
    color: #0b2235;
    text-align: left !important;
}

.dfc-home-longform h2 {
    margin-top: 1.8em;
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: -.02em;
    line-height: 1.25;
}

.dfc-home-longform h3 {
    margin-top: 1.55em;
    font-size: clamp(20px, 2.3vw, 25px);
    line-height: 1.35;
}

.dfc-home-longform blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    border-left: 4px solid #1d65bd;
    background: #f5f8fb;
    color: #2c4154;
}

.dfc-home-longform img,
.dfc-home-longform figure,
.dfc-home-longform .wp-caption,
.dfc-home-longform table {
    max-width: 100%;
}

.dfc-home-longform table {
    width: 100% !important;
    margin: 28px 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.dfc-home-longform th,
.dfc-home-longform td {
    padding: 10px;
    overflow-wrap: anywhere;
    border: 1px solid #dce5ed;
    text-align: left;
    vertical-align: top;
}

.dfc-home-longform th {
    background: #1d65bd;
    color: #fff;
    font-weight: 600;
}

.dfc-home-longform tbody tr:nth-child(even) {
    background: #f7f9fb;
}

@media only screen and (max-width: 549px) {
    .dfc-home-project-section,
    .dfc-home-longform-section {
        padding-block: 36px !important;
    }

    .dfc-home-longform {
        padding: 22px 18px;
        border-radius: 13px;
        font-size: 15px;
        line-height: 1.7;
    }

    .dfc-home-project-section .section-title-container,
    .dfc-home-projects {
        width: min(100% - 28px, 1180px);
    }

    .dfc-home-projects .dfc-project-card__body {
        padding: 17px 17px 19px;
    }

    .dfc-home-longform p,
    .dfc-home-longform li {
        text-align: left !important;
    }

    .dfc-home-longform th,
    .dfc-home-longform td {
        padding: 7px 5px;
        font-size: 11.5px;
        line-height: 1.4;
    }
}
