.pic-dmat-article {
    --pic-navy: #062650;
    --pic-blue: #238bc4;
    --pic-yellow: #f7bd14;
    --pic-red: #c70707;
    --pic-ink: #16243a;
    --pic-muted: #5f6c7b;
    max-width: 980px;
    margin: 0 auto;
    color: var(--pic-ink);
    font-size: 17px;
    line-height: 1.78;
}

.pic-dmat-article * { box-sizing: border-box; }
/* Strong reset: many WordPress themes add large vertical padding/min-height to <section>.
   Keep article sections compact and consistent regardless of the active theme. */
body .pic-dmat-article > section {
    margin: 30px 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
}

body .pic-dmat-article > section:first-of-type { margin-top: 24px !important; }
.pic-dmat-article h2 {
    color: var(--pic-navy);
    font-size: clamp(26px, 4vw, 36px);
    line-height: 1.2;
    margin: 0 0 14px !important;
    letter-spacing: -0.02em;
}
.pic-dmat-article p { margin: 0 0 13px !important; padding: 0 !important; }
.pic-dmat-article ul { margin: 12px 0 0 1.2em; }
.pic-dmat-article li { margin: 6px 0; }

.pic-dmat-hero {
    margin: 0 0 36px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(6,38,80,.15);
    background: #f4f8fc;
}
.pic-dmat-hero img {
    display: block;
    width: 100%;
    height: auto;
}

body .pic-dmat-article > section.pic-dmat-video-section {
    margin: 34px 0 !important;
    padding: 28px !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 22px;
    background: linear-gradient(135deg, #062650 0%, #0c4077 100%);
    color: #fff;
    box-shadow: 0 16px 44px rgba(6,38,80,.2);
}
.pic-dmat-video-section h2,
.pic-dmat-video-section p { color: #fff; }
.pic-dmat-eyebrow {
    display: inline-block;
    color: var(--pic-yellow);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .14em;
    margin-bottom: 8px;
}
.pic-dmat-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}
.pic-dmat-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pic-dmat-video-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}
.pic-dmat-video-link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.09);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 750;
}
.pic-dmat-video-link:hover {
    background: rgba(255,255,255,.15);
}

.pic-dmat-note,
.pic-dmat-simple {
    margin-top: 18px;
    padding: 18px 20px;
    border-left: 5px solid var(--pic-yellow);
    border-radius: 12px;
    background: #fff8db;
}
.pic-dmat-simple {
    border-left-color: var(--pic-blue);
    background: #eef8fe;
}

.pic-dmat-cost {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
    padding: 20px 24px;
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    background: #f8fbfe;
}
.pic-dmat-cost span { color: var(--pic-muted); font-size: 14px; }
.pic-dmat-cost strong { color: var(--pic-navy); font-size: 22px; }

.pic-dmat-faq details {
    border: 1px solid #dfe7f0;
    border-radius: 14px;
    margin: 12px 0;
    background: #fff;
    overflow: hidden;
}
.pic-dmat-faq summary {
    cursor: pointer;
    padding: 17px 20px;
    font-weight: 750;
    color: var(--pic-navy);
}
.pic-dmat-faq details p {
    padding: 0 20px 18px;
    margin: 0;
    color: #42536a;
}

.pic-dmat-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 22px 0;
}
.pic-dmat-steps span {
    padding: 9px 13px;
    border-radius: 999px;
    background: #eef7fc;
    color: var(--pic-navy);
    font-weight: 700;
    font-size: 14px;
}
.pic-dmat-steps b { color: var(--pic-blue); }

body .pic-dmat-article > section.pic-dmat-cta {
    display: block !important;
    margin: 34px 0 0 !important;
    padding: 30px 28px !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 22px;
    background: #062650;
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.pic-dmat-cta-copy {
    max-width: 700px;
    margin: 0 auto;
}
.pic-dmat-cta h2,
.pic-dmat-cta p { color: #fff; }
.pic-dmat-cta h2 {
    margin: 5px 0 8px !important;
    font-size: clamp(26px, 4vw, 36px);
}
.pic-dmat-cta p {
    margin: 0 !important;
    color: rgba(255,255,255,.82);
}
.pic-dmat-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}
.pic-dmat-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    min-height: 46px;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}
.pic-dmat-btn:hover { transform: translateY(-1px); }
.pic-dmat-btn-primary {
    background: var(--pic-yellow);
    color: #1f2d3d !important;
    box-shadow: 0 8px 22px rgba(247,189,20,.25);
}
.pic-dmat-btn-secondary {
    border: 1px solid rgba(255,255,255,.35);
    color: #fff !important;
    background: rgba(255,255,255,.08);
}

@media (max-width: 700px) {
    .pic-dmat-article { font-size: 16px; }
    body .pic-dmat-article > section { margin: 24px 0 !important; }
    body .pic-dmat-article > section.pic-dmat-video-section,
    body .pic-dmat-article > section.pic-dmat-cta {
        padding: 20px !important;
        border-radius: 18px;
    }
    .pic-dmat-cost {
        flex-direction: column;
        align-items: flex-start;
    }
    .pic-dmat-video-actions { justify-content: center; }
    .pic-dmat-cta-buttons { width: 100%; }
    .pic-dmat-btn { flex: 1 1 160px; }
}
