/* UNSA Assistant Contenu — articles gérés (front) + TinyMCE (content_css) */

.unsa-ac-lead {
    font-size: 1.2em;
    line-height: 1.55;
    margin: 0 0 1.25em;
}

.unsa-ac-ph {
    background: #fff3b0;
    box-shadow: inset 0 -2px 0 #e6b800;
    border-radius: 2px;
    padding: 0 0.12em;
    color: inherit;
    cursor: text;
}

body:not(.mce-content-body) .unsa-ac-ph {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    cursor: inherit;
}

body.unsa-ac-mce,
body.mce-content-body {
    font-size: 16px;
    line-height: 1.6;
}

body.mce-content-body h2 {
    font-size: 1.45em;
    margin: 1.2em 0 0.5em;
}

body.mce-content-body h3 {
    font-size: 1.2em;
    margin: 1.1em 0 0.45em;
}

body.mce-content-body blockquote {
    border-left: 4px solid #0093DA;
    margin: 0 0 1em;
    padding: 0.2em 0 0.2em 1em;
    color: #344a57;
}

a.smallpink,
a.bigpink,
a.smallblue,
a.bigblue {
    color: #fff !important;
    background: #0093DA !important;
    background-image: none !important;
    border-color: #007cb5 !important;
}

a.smallpink:hover,
a.smallpink:focus,
a.bigpink:hover,
a.bigpink:focus,
a.smallblue:hover,
a.smallblue:focus,
a.bigblue:hover,
a.bigblue:focus {
    color: #fff !important;
    background: #007cb5 !important;
    background-image: none !important;
}

.unsa-ac-pdf {
    margin: 1.5em 0;
}

.unsa-ac-pdf iframe {
    display: block;
    width: 100%;
    height: 900px;
    max-width: 100%;
    border: 1px solid #cce6f4;
    border-radius: 8px;
    background: #f2f8fc;
}

.unsa-ac-pdf p {
    margin: 0.6em 0 0;
    font-size: 0.95em;
}

.unsa-ac-pdf--slot {
    border: 2px dashed #0093DA;
    border-radius: 12px;
    padding: 24px 16px;
    background: #f4faff;
    text-align: center;
}

.unsa-ac-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 1.5em 0;
    background: #1c2d38;
    border-radius: 8px;
}

.unsa-ac-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.unsa-ac-img-center {
    text-align: center;
    margin: 1.25em 0;
}

.unsa-ac-img-center img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 640px) {
    .unsa-ac-pdf iframe {
        height: 70vh;
        min-height: 480px;
    }
}
