:root {
    --navy:#073b76;
    --blue:#07549a;
    --orange:#fa7927;
    --ink:#173e69;
    --line:#e3e9ee;
}

* { box-sizing:border-box; }

body.aius2027 {
    margin:0;
    color:var(--ink);
    background:#fff;
    font-family:Arial,Helvetica,sans-serif;
    font-size:13px;
    line-height:1.4;
}

.aius2027 a { color:var(--blue); text-decoration:none; }
.aius2027 h1,.aius2027 h2,.aius2027 h3 {
    color:var(--navy);
    margin-top:0;
}
.aius2027 button:disabled { cursor:not-allowed; }

.wrap {
    width:min(1480px,calc(100% - 64px));
    margin:auto;
}

.topbar {
    height:70px;
    background:white;
    border-bottom:1px solid #edf0f3;
}

.topbar-inner {
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
}

.identity {
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
}

.identity img {
    width:112px;
    height:66px;
    object-fit:contain;
}

.identity span {
    font-size:12px;
    line-height:1.25;
    color:#22496f;
}

.identity em { color:#e87929; font-style:normal; }

.navigation {
    display:flex;
    align-items:center;
    gap:27px;
    white-space:nowrap;
}

.navigation a {
    color:var(--navy);
    font-size:12px;
}

.header-actions {
    display:flex;
    align-items:center;
    gap:20px;
    white-space:nowrap;
}

.search-symbol {
    font-size:29px;
    line-height:1;
}

.login-button {
    background:var(--navy);
    color:white;
    padding:11px 17px;
    border-radius:4px;
    font-size:12px;
    font-weight:bold;
}

.banner {
    height:245px;
    background:
        radial-gradient(circle at 73% 36%,rgba(255,255,255,.9),transparent 22%),
        radial-gradient(circle at 80% 65%,rgba(161,211,232,.75),transparent 28%),
        linear-gradient(105deg,#e7f4f9,#c2e3f1 65%,#d4eaf4);
    overflow:hidden;
}

.banner-inner {
    height:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.banner-text h1 {
    font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(31px,3vw,43px);
    line-height:1.04;
    margin:0 0 7px;
    letter-spacing:-.6px;
}

.banner-text p {
    font-size:17px;
    line-height:1.25;
    margin:0 0 13px;
}

.primary-button {
    display:inline-block;
    padding:11px 20px;
    background:var(--navy);
    color:white!important;
    border-radius:4px;
    font-size:13px;
}

.banner-values {
    min-width:235px;
    padding-left:23px;
    border-left:3px solid var(--orange);
    font-size:15px;
    font-weight:bold;
    line-height:1.5;
    color:var(--navy);
}

.search-panels {
    display:grid;
    grid-template-columns:1fr 1.05fr;
    gap:14px;
    margin-top:12px;
}

.search-panel {
    min-height:176px;
    padding:15px 20px 12px;
    border-radius:5px;
    position:relative;
}

.directory-panel {
    background:linear-gradient(105deg,#eef6fb,#e9f4fb);
}

.science-panel {
    background:linear-gradient(105deg,#fcf9f5,#fff8f1);
}

.search-title {
    display:flex;
    gap:17px;
    align-items:center;
    margin-bottom:12px;
}

.round-icon {
    width:56px;
    height:56px;
    flex-shrink:0;
    border:2px solid var(--navy);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--navy);
    font-size:31px;
}

.search-title h2 {
    font-family:Georgia,'Times New Roman',serif;
    font-size:19px;
    line-height:1.12;
    margin:0 0 5px;
}

.search-title p {
    margin:0;
    color:#68809b;
    font-size:13px;
}

.directory-form,.science-form {
    display:flex;
    gap:8px;
    height:40px;
    margin-bottom:8px;
}

.directory-form input,
.directory-form select,
.science-form input {
    min-width:0;
    border:1px solid #e2e7eb;
    border-radius:4px;
    padding:0 11px;
    font:inherit;
    background:white;
}

.directory-form input { flex:1; }
.directory-form select { width:140px; }
.science-form input { flex:1; }

.directory-form button,
.science-form button {
    border:0;
    border-radius:4px;
    background:var(--navy);
    color:white;
    padding:0 17px;
    font-weight:bold;
}

.science-form button { background:var(--orange); }

.search-panel > a { font-size:12px; }
.search-panel .pending { display:none; }

.examples {
    margin:0 0 5px;
    font-size:11px;
    color:#73869a;
}

.feature-row {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-top:12px;
}

.feature {
    height:105px;
    border-radius:5px;
    overflow:hidden;
    background:#f1f5f8;
}

.feature-training {
    background:linear-gradient(90deg,#f5f7f9 0%,#f5f7f9 55%,#d8e6ec);
}

.feature-events {
    background:linear-gradient(90deg,#f6f7f8 0%,#f6f7f8 55%,#dce5ec);
}

.feature-publications {
    background:linear-gradient(90deg,#f5f7f9 0%,#f5f7f9 55%,#d8e2ea);
}

.feature-content {
    padding:12px 16px;
    position:relative;
}

.feature-icon {
    position:absolute;
    left:14px;
    top:13px;
    width:43px;
    height:43px;
    border:2px solid var(--navy);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:23px;
}

.feature h2 {
    font-family:Georgia,'Times New Roman',serif;
    font-size:19px;
    line-height:1.1;
    margin:5px 0 7px 61px;
}

.feature p {
    margin:0 0 0 61px;
    font-size:12px;
    color:#69809a;
}

.feature-arrow {
    position:absolute;
    top:75px;
    left:18px;
    color:var(--blue);
    font-size:25px;
}

.editorial-grid {
    display:grid;
    grid-template-columns:1fr 1fr 1.1fr;
    gap:15px;
    margin-top:19px;
}

.editorial-column { min-width:0; }

.column-heading {
    min-height:39px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    border-bottom:2px solid #f0f1f3;
    position:relative;
}

.column-heading:after {
    content:"";
    position:absolute;
    bottom:-2px;
    left:0;
    width:47px;
    height:3px;
    background:var(--orange);
}

.column-heading h2 {
    font-family:Georgia,'Times New Roman',serif;
    font-size:19px;
    margin:0;
    white-space:nowrap;
}

.column-heading span {
    color:#527ba4;
    font-size:10px;
    white-space:nowrap;
}

.editorial-box {
    margin-top:7px;
    min-height:290px;
    border:1px solid #edf0f2;
    border-radius:5px;
    padding:7px;
}

.compact-news {
    display:grid;
    grid-template-columns:110px minmax(0,1fr) 20px;
    gap:10px;
    padding:5px 0;
    min-height:89px;
    border-bottom:1px solid #eef0f2;
}

.compact-news:last-child { border-bottom:0; }

.compact-news img,
.news-fallback {
    width:110px;
    height:72px;
    border-radius:4px;
    object-fit:cover;
    background:#e7f1f7;
}

.news-fallback {
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--blue);
    font-weight:bold;
}

.compact-news-text { min-width:0; }
.compact-news time { color:#8b9bad; font-size:10px; }
.compact-news h3 {
    font-size:12px;
    line-height:1.2;
    margin:3px 0;
}
.compact-news p {
    font-size:10px;
    color:#7890a5;
    margin:0;
}
.news-arrow { align-self:center; font-size:19px; }

.scientific-box { padding:12px; }

.scientific-intro {
    border-bottom:1px solid #edf0f2;
    padding-bottom:10px;
}

.science-label {
    font-size:9px;
    font-weight:bold;
    color:#2b8ac0;
}

.scientific-intro h3 {
    font-size:14px;
    margin:5px 0;
}

.scientific-intro p {
    font-size:11px;
    margin:0;
    color:#71869a;
}

.scientific-item {
    padding:9px 0;
    border-bottom:1px solid #edf0f2;
}

.scientific-item span {
    display:block;
    color:#2187b5;
    font-size:9px;
}

.scientific-item strong {
    display:block;
    font-size:12px;
    color:var(--navy);
}

.scientific-item p {
    margin:2px 0 0;
    font-size:10px;
    color:#7890a5;
}

.journal-box {
    display:flex;
    gap:18px;
    padding:12px;
}

.journal-box img {
    width:48%;
    max-width:220px;
    height:260px;
    object-fit:contain;
}

.journal-information { flex:1; }

.journal-information h3 {
    font-family:Georgia,'Times New Roman',serif;
    font-size:23px;
    margin:9px 0;
}

.journal-information p {
    font-size:12px;
    color:#476d92;
}

.journal-note {
    margin-top:20px;
}

.journal-button {
    display:inline-block;
    background:var(--navy);
    color:white!important;
    border-radius:4px;
    padding:10px 13px;
    font-size:11px;
    margin-top:10px;
}

.congress-section {
    margin-top:35px;
}

.congress-row {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:12px;
}

.congress-row > div {
    min-height:110px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:5px;
    background:#edf5fa;
    color:#597c9d;
}

.presentation-section {
    margin:35px 0;
    padding:25px;
    background:#f1f8fc;
}

.presentation-section h2 {
    font-family:Georgia,'Times New Roman',serif;
}

.footer {
    padding:20px 0;
    background:#eaf4fa;
    font-size:12px;
}

.footer .wrap {
    display:flex;
    justify-content:space-between;
    gap:15px;
}

@media(max-width:1250px) {
    .navigation { gap:13px; }
    .identity span { display:none; }
    .column-heading span { display:none; }
}

@media(max-width:950px) {
    .topbar { height:auto; }
    .topbar-inner { flex-wrap:wrap; padding:8px 0; }
    .navigation { order:3; width:100%; justify-content:center; flex-wrap:wrap; }
    .search-panels { grid-template-columns:1fr; }
    .editorial-grid { grid-template-columns:1fr 1fr; }
    .editorial-column:last-child { grid-column:1/-1; }
    .banner-values { display:none; }
}

@media(max-width:650px) {
    .wrap { width:calc(100% - 24px); }
    .banner { height:auto; min-height:230px; }
    .banner-inner { padding:25px 0; }
    .banner-text h1 { font-size:30px; }
    .banner-text p { font-size:14px; }
    .header-actions {
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
        gap:8px;
        width:100%;
        white-space:normal;
    }
    .header-actions .login-button {
        display:inline-flex;
        align-items:center;
        justify-content:center;
        padding:9px 12px;
        text-align:center;
        font-size:12px;
    }
    .feature-row { grid-template-columns:1fr; }
    .editorial-grid { grid-template-columns:1fr; }
    .editorial-column:last-child { grid-column:auto; }
    .directory-form,.science-form { height:auto; flex-wrap:wrap; }
    .directory-form input,.science-form input { width:100%; flex:auto; height:40px; }
    .directory-form select,.directory-form button,.science-form button { height:40px; }
    .search-panel { min-height:0; }
    .journal-box img { height:220px; }
    .congress-row { grid-template-columns:1fr; }
    .footer .wrap { flex-direction:column; }
}

/* P552 — Essai du bandeau photographique AIUS 2027 */
body.aius2027 .banner {
    width: min(1480px, calc(100% - 64px));
    margin-left: auto;
    margin-right: auto;
    background-image:
        linear-gradient(
            90deg,
            rgba(255,255,255,.88) 0%,
            rgba(255,255,255,.68) 32%,
            rgba(255,255,255,.12) 70%,
            rgba(255,255,255,.04) 100%
        ),
        url("https://aius.fr/wp-content/uploads/adobestock_1010992101.jpg");
    background-size: cover;
    background-position: center 46%;
    background-repeat: no-repeat;
}

@media (max-width: 650px) {
    body.aius2027 .banner {
        background-position: 55% center;
        background-image:
            linear-gradient(
                90deg,
                rgba(255,255,255,.9),
                rgba(255,255,255,.65)
            ),
            url("https://aius.fr/wp-content/uploads/adobestock_1010992101.jpg");
    }
}


/* P554 — Icones SVG */
body.aius2027 .round-icon svg {
    width: 35px;
    height: 35px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.aius2027 .feature-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* P713 — Compactage du panneau annuaire sur la page d’accueil */
.directory-panel {
    padding-top:12px;
    padding-bottom:10px;
}

.directory-panel .search-title {
    margin-bottom:7px;
}

.directory-panel .directory-form {
    margin-bottom:4px;
}

@media (max-width:650px) {
    .directory-panel {
        padding-top:12px;
        padding-bottom:12px;
    }

    .directory-panel .aius-home-directory-full-link {
        margin-top:10px !important;
        padding:10px 12px !important;
    }
}


/* P735 — Publications scientifiques compactes */
body.aius2027 .scientific-box {
    max-height: 310px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 12px;
    scrollbar-width: thin;
}

body.aius2027 .scientific-journal-group + .scientific-journal-group {
    margin-top: 8px;
}

body.aius2027 .scientific-journal-heading {
    font-size: 11px;
    font-weight: 700;
    color: #24658f;
    margin: 4px 0;
}

body.aius2027 .scientific-item {
    padding: 5px 0;
}

body.aius2027 .scientific-item strong {
    font-size: 11px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

body.aius2027 .scientific-item .scientific-meta {
    font-size: 9px;
    line-height: 1.4;
    margin-top: 2px;
}

body.aius2027 .scientific-item a {
    text-decoration: none;
}

body.aius2027 .scientific-item a:hover {
    text-decoration: underline;
}

/* P737 — Titres des revues scientifiques */

body.aius2027 .scientific-journal-heading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
    padding: 5px 0 7px;
    margin: 3px 0 5px;
    border-bottom: 2px solid #d8e5ed;
}

body.aius2027 .scientific-journal-group
+ .scientific-journal-group {
    margin-top: 13px;
}

body.aius2027 .scientific-item {
    padding: 7px 0;
}

body.aius2027 .scientific-box {
    max-height: none;
    overflow-y: visible;
}

/* P872 — CONGRES DYNAMIQUES */
body.aius2027 .congress-row {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    align-items:stretch;
}

body.aius2027 .congress-row > .aius-congress-card {
    display:grid;
    grid-template-columns:42% 1fr;
    align-items:stretch;
    min-height:240px;
    padding:0;
    overflow:hidden;
    background:#fff;
    border:1px solid #dce7f0;
    border-radius:12px;
    box-shadow:0 8px 24px rgba(7,59,118,.08);
}

body.aius2027 .aius-congress-image {
    background:#edf5fa;
    min-height:240px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px;
}

body.aius2027 .aius-congress-image img {
    width:100%;
    height:100%;
    max-height:290px;
    object-fit:contain;
}

body.aius2027 .aius-congress-details {
    padding:24px 20px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
}

body.aius2027 .aius-congress-details h3 {
    color:#073b76;
    font-size:22px;
    line-height:1.25;
    margin:0 0 15px;
}

body.aius2027 .aius-congress-date {
    color:#07549a;
    font-weight:700;
    margin:0 0 8px;
}

body.aius2027 .aius-congress-location {
    color:#486783;
    margin:0 0 20px;
}

body.aius2027 .aius-congress-link {
    display:inline-block;
    padding:11px 17px;
    background:#073b76;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
}

body.aius2027 .aius-congress-link:hover {
    background:#07549a;
    color:#fff;
}

@media(max-width:1050px) {
    body.aius2027 .congress-row {
        grid-template-columns:1fr;
    }
}

@media(max-width:600px) {
    body.aius2027 .congress-row > .aius-congress-card {
        grid-template-columns:1fr;
    }

    body.aius2027 .aius-congress-image {
        min-height:180px;
    }

    body.aius2027 .aius-congress-image img {
        max-height:250px;
    }
}


/* P1037 — Bannière alignée sur le contenu en version mobile */
@media (max-width: 650px) {
    body.aius2027 .banner {
        width: calc(100% - 24px);
    }
}


/* P1038 — Lisibilité des boutons et des valeurs de la bannière */

/* Boutons de connexion et d'adhésion */
body.aius2027 .header-actions .login-button,
body.aius2027 .header-actions .login-button:link,
body.aius2027 .header-actions .login-button:visited {
    color: #ffffff !important;
    background-color: #153a58;
    opacity: 1;
}

body.aius2027 .header-actions .login-button:hover {
    color: #ffffff !important;
    background-color: #246b83;
}

/* Les quatre valeurs sur la photographie */
body.aius2027 .banner-values {
    color: #153a58;
    background: rgba(255, 255, 255, 0.88);
    padding: 14px 20px;
    border-left: 3px solid #e39b44;
    border-radius: 0 6px 6px 0;
    font-weight: 700;
    text-shadow: none;
}

