/* ==========================================================================
   Layout: Diagram Section
   ========================================================================== */

.pb-dgr {
    padding: 100px 16px;
}

.pb-dgr__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* Header ------------------------------------------------------------------ */

.pb-dgr__header {
    text-align: center;
    max-width: 680px;
    width: 100%;
}

.pb-dgr__label {
font-family: var(--font-family);
font-weight: 500;
font-size: 15px;
line-height: 160%;
letter-spacing: 0.05em;
text-transform: uppercase;
text-align: center;
color: var(--text-base);
    margin: 0 0 24px;
}

.pb-dgr__heading {
font-family: var(--second-family);
font-weight: 550;
font-size: 36px;
line-height: 128%;
letter-spacing: -0.02em;
text-align: center;
background: linear-gradient(169deg, rgba(0, 5, 25, 0.9) 0%, #000519 50%, rgba(0, 5, 25, 0.9) 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
    margin: 0 0 24px;
}

.pb-dgr__desc {
font-family: var(--font-family);
font-weight: 500;
font-size: 16px;
line-height: 150%;
letter-spacing: 0.01em;
text-align: center;
color: var(--text-base);
    margin: 0;
}

/* Media ------------------------------------------------------------------- */

.pb-dgr__media {
    width: 100%;
    border-radius: 8px;
    height: 510px;
    overflow: hidden;
    background: var(--gray-25);
    line-height: 0;
    
}

.pb-dgr__media picture {
    display: block;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pb-dgr__media img {
    display: block;
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1024px) {
    .pb-dgr__heading {
        font-size: 36px;
    }

    .pb-dgr__inner {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .pb-dgr {
        padding: 64px 16px;
    }

    .pb-dgr__inner {
        gap: 36px;
    }

    .pb-dgr__heading {
        font-size: 28px;
    }

    .pb-dgr__media {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .pb-dgr {
        padding: 48px 16px;
    }

    .pb-dgr__heading {
        font-size: 24px;
    }
}
