/* ======================================================
   STANDALONE PAGE RESET
====================================================== */

html,
body {
    margin: 0;
    padding: 0;
}

body.dg-ai-development-standalone {
    margin: 0;
    padding: 0;
    background: #f9f6ee;
    color: #111111;
}

body.dg-ai-development-standalone *,
body.dg-ai-development-standalone *::before,
body.dg-ai-development-standalone *::after {
    box-sizing: border-box;
}

body.dg-ai-development-standalone .dg-ai-development-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* ======================================================
   DATAGUY AI DEVELOPMENT
   SINGLE KNOWLEDGE RECORD
====================================================== */

.dg-ai-development-page {
    background: #f9f6ee;
    color: #111111;
    padding: 0 !important;
    margin: 0 !important;
}


/* ======================================================
   RECORD
====================================================== */

.dg-ai-development-record {
    max-width: 1180px;
    margin: 0 auto !important;
    padding: 90px 40px 100px;
}


/* ======================================================
   HEADER
====================================================== */

.dg-record-header {
    max-width: 900px;
    margin-bottom: 80px;
}

.dg-record-eyebrow {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #555555;
    margin-bottom: 24px;
}

.dg-record-title {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: clamp(42px, 5.2vw, 72px) !important;
    line-height: 1.06 !important;
    font-weight: 400 !important;
    letter-spacing: -1.8px;
    color: #111111 !important;
    margin: 0 0 28px !important;
    max-width: 900px;
}

.dg-record-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.65px;
    color: #666666;
}

.dg-meta-separator {
    color: #999999;
}

.dg-record-category {
    color: #111111 !important;
    text-decoration: none !important;
}

.dg-record-category:hover {
    text-decoration: underline !important;
}


/* ======================================================
   BODY
====================================================== */

.dg-record-body {
    max-width: 1080px;
}


/* ======================================================
   SECTION LABEL
====================================================== */

.dg-section-label {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.7px;
    color: #555555;
    margin-bottom: 28px;
}


/* ======================================================
   EDITORIAL ANALYSIS
====================================================== */

.dg-record-analysis {
    border-top: 1px solid #b9b5ad;
    padding-top: 32px;
    padding-bottom: 82px;
}

.dg-analysis-content {
    max-width: 800px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.72;
    color: #222222;
}

.dg-analysis-content p {
    margin: 0 0 1.2em;
}

.dg-analysis-content p:last-child {
    margin-bottom: 0;
}


/* ======================================================
   AT A GLANCE
====================================================== */

.dg-record-intelligence {
    border-top: 1px solid #b9b5ad;
    padding-top: 32px;
    padding-bottom: 82px;
}

.dg-intelligence-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #d2cec5;
}

.dg-intelligence-item {
    min-height: 120px;
    padding: 22px 24px 22px 0;
    border-bottom: 1px solid #d2cec5;
}

.dg-intelligence-item-wide {
    grid-column: span 2;
}

.dg-intelligence-label {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: #777777;
    margin-bottom: 10px;
}

.dg-intelligence-value {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.45;
    color: #111111;
}

.dg-score {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    color: #777777;
    margin-left: 6px;
}

.dg-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.dg-data-tag {
    display: inline-block;
    border: 1px solid #aaa69e;
    padding: 5px 9px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: #333333;
}

.dg-data-empty {
    color: #777777;
    font-size: 16px;
}


/* ======================================================
   SOURCES
====================================================== */

.dg-record-sources {
    border-top: 1px solid #b9b5ad;
    padding-top: 32px;
    padding-bottom: 82px;
}

.dg-source-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
}

.dg-source-item {
    display: grid;
    grid-template-columns: 45px 1fr;
    align-items: center;
    padding: 17px 0;
    border-bottom: 1px solid #d2cec5;
}

.dg-source-number {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    letter-spacing: 1px;
    color: #777777;
}

.dg-source-link {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.4;
    color: #111111 !important;
    text-decoration: none !important;
}

.dg-source-link:hover {
    text-decoration: underline !important;
}


/* ======================================================
   RELATED DEVELOPMENTS
====================================================== */

.dg-record-related {
    border-top: 1px solid #b9b5ad;
    padding-top: 32px;
    padding-bottom: 82px;
}

.dg-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.dg-related-card {
    display: block;
    padding: 24px 0;
    border-top: 2px solid #111111;
    color: #111111 !important;
    text-decoration: none !important;
}

.dg-related-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #777777;
}

.dg-related-card h3 {
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #111111 !important;
    margin: 0 !important;
}

.dg-related-card:hover h3 {
    text-decoration: underline;
}


/* ======================================================
   DATA RECORD
====================================================== */

.dg-record-footer {
    border-top: 1px solid #b9b5ad;
    padding-top: 32px;
}

.dg-record-identity {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #777777;
}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 900px) {

    .dg-ai-development-record {
        padding-left: 24px;
        padding-right: 24px;
    }

    .dg-intelligence-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dg-intelligence-item-wide {
        grid-column: span 2;
    }

    .dg-related-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

}


@media (max-width: 768px) {

    .dg-ai-development-record {
        padding: 60px 20px 70px;
    }

    .dg-record-header {
        margin-bottom: 60px;
    }

    .dg-record-title {
        font-size: 42px !important;
        line-height: 1.08 !important;
        letter-spacing: -1px;
    }

    .dg-record-meta {
        font-size: 11px;
        line-height: 1.7;
    }

    .dg-analysis-content {
        font-size: 18px;
        line-height: 1.7;
    }

    .dg-intelligence-grid {
        grid-template-columns: 1fr;
    }

    .dg-intelligence-item,
    .dg-intelligence-item-wide {
        grid-column: span 1;
    }

    .dg-record-analysis,
    .dg-record-intelligence,
    .dg-record-sources,
    .dg-record-related {
        padding-bottom: 60px;
    }

    .dg-source-item {
        grid-template-columns: 38px 1fr;
    }

}