/* Scoped presentation for Programming/Database-Development pages. */
.database-development-page {
    background: #f3f6fa;
    color: #142235;
    font-family: 'Poppins', Arial, sans-serif;
}

.database-development-page * {
    box-sizing: border-box;
}

.db-wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.db-hero {
    min-height: 390px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(5, 13, 27, .94), rgba(15, 42, 62, .76)),
        url('/images/Data.jpeg') center/cover no-repeat;
}

.db-hero--article {
    min-height: 360px;
}

.db-hero .db-wrap {
    padding: 76px 0;
}

.db-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #f3b33d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.db-hero h1,
.db-panel h2,
.db-section h2,
.db-band h2,
.db-cta h2,
.db-article h2 {
    margin: 0;
    color: #071d36;
    font-weight: 800;
    line-height: 1.12;
}

.db-hero h1 {
    max-width: 880px;
    color: #fff;
    font-size: 54px;
    font-weight: 700;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .34);
}

.db-hero p {
    max-width: 760px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .42);
}

.db-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.db-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 6px;
    background: #b51f31;
    border: 1px solid #b51f31;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(181, 31, 49, .24);
}

.db-button:hover {
    background: #941927;
    border-color: #941927;
    color: #fff !important;
    text-decoration: none;
}

.db-button--alt {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .38);
    box-shadow: none;
}

.db-main {
    padding: 64px 0;
}

.db-panel,
.db-card,
.db-step,
.db-band,
.db-related,
.db-cta,
.db-article,
.db-sidebar,
.db-faq {
    background: #fff;
    border: 1px solid #d9e3ef;
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(18, 38, 63, .06);
}

.db-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: stretch;
}

.db-panel,
.db-sidebar {
    padding: 34px;
}

.db-rule {
    display: block;
    width: 76px;
    height: 4px;
    margin-bottom: 22px;
    background: #b51f31;
    border-radius: 999px;
}

.db-panel h2,
.db-section h2,
.db-band h2,
.db-cta h2,
.db-article h2 {
    font-size: clamp(30px, 4vw, 44px);
}

.database-development-page p,
.database-development-page li {
    color: #334861;
    font-size: 16px;
    line-height: 1.75;
}

.database-development-page p {
    margin: 18px 0 0;
}

.db-panel h3,
.db-card h3,
.db-step h3,
.db-sidebar h3,
.db-faq h3,
.db-article h3 {
    margin: 0 0 12px;
    color: #071d36;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.28;
}

.db-sidebar ul,
.db-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.db-sidebar li,
.db-panel li {
    position: relative;
    padding: 12px 0 12px 24px;
    border-top: 1px solid #e5edf5;
}

.db-sidebar li::before,
.db-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 23px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b51f31;
}

.db-section,
.db-related,
.db-cta {
    margin-top: 34px;
    padding: 36px;
}

.db-heading {
    max-width: 820px;
}

.db-heading p {
    font-size: 17px;
}

.db-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.db-card {
    padding: 24px;
    border-top: 4px solid #b51f31;
}

.db-card p,
.db-step p,
.db-faq p {
    margin: 0;
}

.db-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    margin-top: 34px;
    padding: 38px;
    background: linear-gradient(135deg, #102033, #24384d);
}

.db-band h2,
.db-band p {
    color: #fff;
}

.db-band p {
    color: rgba(255, 255, 255, .84);
}

.db-proof {
    display: grid;
    gap: 14px;
}

.db-proof div {
    padding: 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
}

.db-proof strong,
.db-proof span {
    display: block;
}

.db-proof strong {
    color: #fff;
    font-size: 21px;
    line-height: 1.2;
}

.db-proof span {
    margin-top: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    line-height: 1.55;
}

.db-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.db-step {
    padding: 24px;
}

.db-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #eef4fa;
    color: #b51f31;
    font-weight: 800;
}

.db-link-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.db-link-grid a,
.db-sidebar a {
    color: #0c5d96;
    font-weight: 800;
    text-decoration: none;
}

.db-link-grid a {
    display: flex;
    align-items: center;
    min-height: 78px;
    padding: 18px;
    border: 1px solid #d9e3ef;
    border-left: 4px solid #b51f31;
    border-radius: 8px;
    background: #f8fbfe;
    line-height: 1.35;
}

.db-link-grid a:hover,
.db-sidebar a:hover {
    color: #b51f31;
    text-decoration: none;
}

.db-cta {
    background: #101d2e;
}

.db-cta h2,
.db-cta p {
    max-width: 850px;
    color: #fff;
}

.db-cta p {
    color: rgba(255, 255, 255, .84);
}

.db-cta .db-button {
    margin-top: 24px;
}

.db-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.db-article {
    padding: 38px;
}

.db-article-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 26px;
}

.db-article-nav--bottom {
    margin: 34px 0 0;
    padding-top: 24px;
    border-top: 1px solid #d9e3ef;
}

.db-article-nav a,
.db-article-nav span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #d9e3ef;
    background: #f8fbfe;
    color: #0c5d96;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
}

.db-article-nav a:hover {
    border-color: #b51f31;
    color: #b51f31;
    text-decoration: none;
}

.db-article-nav span {
    color: #6b7a8d;
    background: #eef3f8;
}

.db-article-nav__all {
    background: #b51f31 !important;
    border-color: #b51f31 !important;
    color: #fff !important;
}

.db-article-nav__all:hover {
    background: #941927 !important;
    border-color: #941927 !important;
    color: #fff !important;
}

.db-article h3 {
    margin-top: 28px;
}

.db-article ul,
.db-article ol {
    margin: 18px 0 0;
    padding-left: 22px;
}

.db-article li + li {
    margin-top: 10px;
}

.db-video {
    position: relative;
    width: 100%;
    margin: 28px 0;
    overflow: hidden;
    border: 1px solid #dce6f1;
    border-radius: 8px;
    background: #0f172a;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .14);
    aspect-ratio: 16 / 9;
}

.db-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.db-sidebar {
    position: sticky;
    top: 24px;
}

.db-sidebar a {
    display: block;
    padding: 11px 0;
    border-top: 1px solid #e5edf5;
    line-height: 1.35;
}

.db-faq-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.db-faq {
    padding: 24px;
    border-left: 4px solid #b51f31;
}

@media (max-width: 980px) {
    .db-intro,
    .db-band,
    .db-grid,
    .db-steps,
    .db-link-grid,
    .db-article-layout {
        grid-template-columns: 1fr;
    }

    .db-wrap {
        width: min(100% - 28px, 1120px);
    }

    .db-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .db-hero {
        min-height: auto;
    }

    .db-hero .db-wrap,
    .db-main {
        padding: 44px 0;
    }

    .db-panel,
    .db-section,
    .db-band,
    .db-related,
    .db-cta,
    .db-article,
    .db-sidebar {
        padding: 24px;
    }

    .db-hero h1 {
        font-size: 38px;
    }

    .db-hero p {
        font-size: 18px;
    }
}
