@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700;800&display=swap');

/*
@font-face {
    font-family: 'Gotham';
    src: url('/fonts/Gotham-Book.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Gotham';
    src: url('/fonts/Gotham-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --ci-blue: #0f88a6;
    --ci-cyan: #1bc0cf;
    --ci-text: #333;
}

html,
body {
    min-height: 100dvh;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: var(--ci-text);
    background: #f2f2f2;
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6,
.nav a,
.nav-dropdown-toggle,
.logo {
    font-family: 'Gotham', 'Noto Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.registration-page{
    padding:80px 0 !important;
}


/* HEADER */

.header {
    background: #ffffff;
    padding: 1.35rem 0;
    border-bottom: 1px solid #ececec;
    flex-shrink: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #0b1d4d;
}

.logo img {
    display: block;
    height: 78px;
    width: auto;
    max-width: 360px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* BOTTONI MENU */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111;
    margin: 5px auto;
    transition: 0.2s;
}

.menu-close {
    display: none;
}

/* NAV */

.nav {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav li {
    display: flex;
    align-items: center;
}

.nav a {
    color: #111;
    text-decoration: none;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    transition: all 0.2s ease;
    display: inline-block;
    line-height: 1.2;
    font-weight: 500;
    font-size: 1.1rem;
}


.nav a:hover,
.nav a.active,
.nav-dropdown-toggle:hover {
    background: transparent;
    color: #18bccc;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    text-decoration: none;
    color: #111 !important;
    font-weight: 700;
    font-size: 0.95rem;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

/* HOVER */

.nav-dropdown-toggle:hover {
    color: #18bccc !important;
    background: rgba(24, 188, 204, 0.08);
}

/* ACTIVE (quando aperto) */

.nav-dropdown-toggle.active {
    color: #18bccc !important;
    background: rgba(24, 188, 204, 0.12);
    box-shadow: inset 0 0 0 1px rgba(24,188,204,0.25);
}

.dropdown-icon {
    margin-left: auto;
    font-size: 0.9rem;
    line-height: 1;
    transition:
        transform 0.25s ease,
        color 0.2s ease;
}
/* Hover */

.nav-dropdown-toggle:hover .dropdown-icon {
    color: #18bccc;
}

/* Active */

.nav-dropdown-toggle.active .dropdown-icon {
    transform: rotate(180deg);
    color: #18bccc;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    min-width: 260px;
    max-width: 360px;
    z-index: 1000;
    display: none;
    padding: 0.5rem 0;
    overflow: visible;
    max-height: none;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

.nav-dropdown-menu.show {
    display: block;
    animation: dropdownFade 0.18s ease;
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.nav .nav-dropdown-item {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    color: #374151 !important;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;

    border-radius: 10px;
    margin: 0 0.4rem;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        padding-left 0.18s ease;
}

/* Hover elegante */

.nav-dropdown-item:hover {
    background: rgba(24, 188, 204, 0.08);
    color: #18bccc !important;
    padding-left: 1.2rem;
}
/* USER MENU */

.user-menu-container {
    position: relative;
    margin-left: 0.75rem;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.875rem;
    border: 1px solid #d1d5db;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
    min-width: 180px;
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown-item {
    display: block;
    padding: 0.8rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.user-dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown-item:hover {
    background: #f3f4f6;
}

.user-dropdown-item.logout {
    color: #dc2626;
}

.user-dropdown-item.logout:hover {
    background: #fee2e2;
}

/* FOOTER */

.site-footer {
    background: #f5f5f5;
    border-top: 1px solid #ececec;
    padding: 30px 0 25px 0;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}

.site-footer__left,
.site-footer__right {
    display: flex;
    flex-direction: column;
}

.site-footer__right {
    text-align: right;
}

.site-footer__label {
    font-size: 0.9rem;
    color: #111;
    margin-bottom: 0.3rem;
}

.site-footer__logo {
    display: block;
    width: auto;
}

.site-footer__logo--left {
    height: 45px;
    object-fit: contain;
}

.site-footer__logo--right {
    height: 45px;
    margin-left: auto;
    object-fit: contain;
}

/* LOGIN */

.login-layout {
    padding: 0;
    display: flex;
}

.login-page {
    flex: 1;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #0f87a4 0%, #19c1cf 100%);
}

.login-page__inner {
    width: 100%;
    padding: 2.6rem 0 1.4rem;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 540px;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 0;
}

.login-page__intro {
    color: #fff;
    padding-top: 1.2rem;
    max-width: 860px;
}

.login-page__title {
    font-family: 'Gotham', 'Noto Sans', sans-serif;
    font-size: clamp(2.8rem, 4.8vw, 3rem);
    line-height: 1;
    font-weight: 300;
    margin: 0 0 2rem;
}

.login-page__title strong {
    font-weight: 700;
    font-size: 1.05em;
    color: #00d6fe;
}

.login-page__text {
    max-width: 800px;
    font-size: 1.05rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.96);
}

.login-page__text p {
    margin-bottom: 1.6rem;
}

.login-page__text strong {
    font-weight: 700;
}

.login-card {
    background: #f7f7f7;
    border-radius: 10px;
    padding: 2.4rem 2.25rem 1.8rem;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
    margin: 1.2rem 0 0;
    align-self: start;
    position: absolute;
    right: 0;
    bottom: -100px;
}

.login-card__title {
    text-align: center;
    color: #111;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.login-card__title strong {
    font-weight: 700;
}

.login-card__register-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.login-card__register-text {
    font-size: 0.95rem;
    color: #222;
}

.login-pill-btn,
.login-outline-btn,
.login-solid-btn {
    min-height: 46px;
    padding: 0 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.login-pill-btn,
.login-outline-btn {
    border: 1px solid #4b5563;
    color: #1f2937;
    background: transparent;
}

.login-solid-btn {
    border: 1px solid #0f88a6;
    background: #0f88a6;
    color: #fff;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-field label {
    display: block;
    margin-bottom: 0.4rem;
    color: #222;
    font-size: 0.95rem;
}

.login-field input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #cfcfcf;
    background: transparent;
    padding: 0.55rem 0 0.45rem;
    font-size: 1rem;
    outline: none;
}

.login-forgot {
    display: inline-block;
    margin-top: -0.25rem;
    color: #1f2940;
    text-decoration: none;
    font-weight: 700;
}

.login-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.login-alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.login-alert--success {
    background: #dff7ea;
    border: 1px solid #7dd3a7;
    color: #065f46;
}

.login-alert--error {
    background: #fde8e8;
    border: 1px solid #f19999;
    color: #991b1b;
}

.login-alert ul {
    margin: 0.5rem 0 0 1.2rem;
}

/* MOBILE */

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .header-content {
        gap: 1rem;
        flex-wrap: nowrap;
    }

    .menu-toggle {
        display: block;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1.25rem;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        color: #111;
        font-size: 2rem;
        line-height: 1;
        cursor: pointer;
        padding: 0;
    }

    .header-right {
        display: flex;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        background: #ffffff;
        z-index: 2000;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 1.5rem;
        padding: 5.5rem 1.5rem 2rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        overflow-y: auto;
    }

    .header-right.show {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        width: 100%;
    }

    .nav li {
        width: 100%;
        display: block;
    }

    .nav a {
        width: 100%;
        padding: 0.9rem 0;
        border-radius: 0;
        font-size: 1.2rem;
    }

    .nav-dropdown {
        display: block;
        width: 100%;
        position: static;
    }

    .nav-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.9rem 0;
        border-radius: 0;
        font-size: 1.2rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-dropdown-toggle.active {
        box-shadow: none;
    }

    .nav-dropdown-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        float: none !important;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        margin: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        padding-left: 0;
        display: block;
        transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.22s ease;
    }

    .nav-dropdown-menu.show {
        max-height: 700px;
        opacity: 1;
        visibility: visible;
        padding: 0.35rem 0 0.5rem 0;
    }

    .nav-dropdown-item {
        display: block;
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1rem;
        line-height: 1.35;
        border-bottom: 1px solid #f1f5f9;
        text-align: left;
    }

    .user-menu-container {
        margin-left: 0;
        margin-top: 1rem;
    }

    .user-dropdown {
        right: auto;
        left: 0;
        transform: none;
    }

    .logo img {
        height: 62px;
        max-width: 220px;
    }

    .login-page__inner {
        grid-template-columns: 1fr;
        padding: 2rem 1.25rem;
        gap: 2rem;
        align-items: start;
    }

    .login-card {
        padding: 2rem 1.25rem 1.5rem;
    }

    .login-card__register-row,
    .login-actions,
    .site-footer__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .login-outline-btn,
    .login-solid-btn,
    .login-pill-btn {
        width: 100%;
    }

    .site-footer__right {
        text-align: left;
    }

    .site-footer__logo--right {
        margin-left: 0;
    }

    .login-card {
        position: relative;
        right: auto;
        bottom: auto;
    }

    .registration-page__inner {
    grid-template-columns: 1fr;
}


.registration-card {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: 100%;
    padding: 2rem 1.25rem 1.5rem;
}

.registration-grid--2,
.registration-topics__grid {
    grid-template-columns: 1fr;
}

.registration-page__title {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
    line-height: 1;
}
}

/* REGISTRATION */

.registration-page__inner {
    grid-template-columns: minmax(0, 1.2fr) 540px;
}

.registration-page__title {
    font-size: clamp(3rem, 5vw, 4.2rem);
    line-height: 0.95;
    margin-bottom: 2rem;
}

.registration-page__title strong {
    color: #ffffff;
    font-size: 1em;
}

.registration-page__text {
    max-width: 760px;
    font-size: 1rem;
    line-height: 1.55;
}

.registration-page__text p {
    margin-bottom: 2rem;
}

.registration-page__text strong {
    font-weight: 800;
    color: #ffffff;
}

.registration-card {
    width: 100%;
    max-width: 540px;
    position: absolute;
    right: 0;
    bottom: -100px;
    border-radius: 10px;
    padding: 1.5rem 1.6rem 1.4rem !important;
}

.registration-card__title {
    font-size: 1.55rem;
    margin-bottom: 20px;
}

.registration-form {
    gap: 0.9rem;
}

.registration-grid {
    display: grid;
    gap: 1rem;
}

.registration-grid--2 {
    grid-template-columns: 1fr 1fr;
}

.registration-form .login-field {
    margin: 0;
}

.registration-form .login-field label {
    margin-bottom: 0.15rem;
    font-size: 0.9rem;
    color: #222;
}

.registration-form .login-field input,
.registration-select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #cfcfcf;
    background: transparent;
    padding: 0.25rem 0 0.35rem;
    font-size: 1rem;
    outline: none;
    border-radius: 0;
    box-shadow: none;
}

.registration-select--multiple {
    min-height: 130px;
    border: 1px solid #d8dde3;
    border-radius: 10px;
    padding: 0.5rem;
    background: #fff;
    margin-top: 0.25rem;
}

.registration-select--multiple option {
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
}

.registration-select--multiple option:checked {
    background: rgba(15, 136, 166, 0.14);
    color: #0f88a6;
}

.registration-help {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #6b7280;
}

.registration-select {
    appearance: none;
    background-image: none;
    color: #222;
}

.registration-topics {
    margin-top: 0.5rem;
}

.registration-topics__label {
    font-size: 0.95rem;
    color: #222;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.registration-topics__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
}

.registration-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.35;
}

.registration-checkbox input {
    margin-top: 0.15rem;
    accent-color: #0f88a6;
}

.registration-turnstile {
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;

    transform: scale(0.95);
    transform-origin: left top;
}

#captcha-error {
    padding: 0.6rem 0.8rem;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.registration-privacy {
    margin-top: 0.15rem;
}

.registration-checkbox--privacy {
    align-items: center;
}

.registration-checkbox--privacy a {
    color: #1f2940;
    text-decoration: underline;
}

.registration-submit {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    font-size: 1.05rem;
    margin-top: 0.25rem;
}

.registration-login-link {
    text-align: center;
    font-size: 0.95rem;
    color: #0f88a6;
    margin-top: 0;
}

.registration-login-link a {
    color: #0f88a6;
    text-decoration: none;
    font-weight: 500;
}

.registration-form .login-alert {
    margin-bottom: 0.6rem;
}

.registration-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    margin-top: 0.5rem;
}

.registration-login-link {
    font-size: 0.9rem;
    color: #6b7280;
    white-space: nowrap;
}

.registration-login-link a {
    color: var(--ci-blue);
    font-weight: 500;
    text-decoration: none;
}

.registration-login-link a:hover {
    text-decoration: underline;
}

/* HOME / PAGINA CONGRESSI */

.ci-page-hero {
    background: linear-gradient(135deg, #0e7892 0%, #2fc2d5 100%);
    padding: 2.6rem 0 2.4rem;
}

.ci-page-hero__inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.ci-page-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.2;
    font-weight: 300;
    color: #fff;
}

.ci-page-hero__title strong {
    font-weight: 700;
}

.ci-page-hero__text {
    max-width: 980px;
    margin: 0 auto;
    font-size: 1.12rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.97);
}

.ci-page-hero__divider {
    width: 210px;
    height: 2px;
    margin: 1.5rem auto 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.75);
}

.ci-page-toolbar {
    padding: 1.2rem 0 3rem;
}

.ci-page-toolbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.ci-page-toolbar__title {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.ci-page-toolbar__title h2 {
    margin: 0;
    font-size: 1.95rem;
    font-weight: 500;
    color: #28324c;
    position: relative;
    padding-bottom: 0.7rem;
}

.ci-page-toolbar__title h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 210px;
    height: 3px;
    border-radius: 999px;
    background: #0f88a6;
}

.ci-page-toolbar__title-icon {
    color: #0f88a6;
    font-size: 1.9rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ci-page-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: visible;
}

.ci-search-box,
.ci-filter-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 52px;
    padding: 0 1rem;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

.ci-search-box {
    min-width: 340px;
}

.ci-filter-box {
    min-width: 250px;
}

.ci-search-box i,
.ci-filter-box i {
    font-size: 1.25rem;
    color: #4b5563;
    flex-shrink: 0;
}

.ci-search-box input,
.ci-filter-box select {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #374151;
    padding: 0;
}

.ci-filter-box select {
    appearance: none;
    cursor: pointer;
}

/* Filtro patologia (dropdown checkbox) */
.ci-filter-box--patologia {
    position: relative;
    overflow: visible;
}

.ci-filter-dropdown {
    flex: 1;
    min-width: 0;
    position: relative;
}

.ci-filter-dropdown__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 1rem;
    color: #374151;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.ci-filter-dropdown__caret {
    font-size: 0.95rem;
    color: #6b7280;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ci-filter-dropdown__toggle[aria-expanded="true"] .ci-filter-dropdown__caret {
    transform: rotate(180deg);
}

.ci-filter-dropdown__panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 60;
    min-width: min(320px, 92vw);
    max-height: min(320px, 50vh);
    overflow-y: auto;
    padding: 0.65rem 0.85rem;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    display: none;
}

.ci-filter-dropdown__panel.is-open {
    display: block !important;
}

.ci-filter-dropdown__option {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: #374151;
    cursor: pointer;
    line-height: 1.35;
}

.ci-filter-dropdown__option input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.ci-filter-dropdown__empty {
    margin: 0;
    padding: 0.35rem 0;
    font-size: 0.92rem;
    color: #6b7280;
}

.ci-filter-dropdown__footer {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}

.ci-filter-dropdown__clear {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ci-blue, #0f88a6);
    cursor: pointer;
    text-decoration: underline;
}

.ci-page-content {
    color: #333;
    overflow: visible;
}

.ci-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    transition: 0.2s ease;
}

.ci-btn--primary {
    background: var(--ci-blue);
    color: #fff;
}

.ci-btn--primary:hover {
    background: #0d7892;
    color: #fff;
}

/* DETTAGLIO CONGRESSO - BOZZA NUOVA */

.congress-detail-page {
    padding: 1.2rem 0 0;
}

.congress-detail-page__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.congress-detail-page__banner {
    width: 100%;
    max-width: 900px;
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
}

.congress-detail-page__banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 3.4;
    object-fit: cover;
}

.congress-detail-page__banner-placeholder {
    min-height: 220px;
    padding: 2rem;
    background: linear-gradient(135deg, #0e7892 0%, #2fc2d5 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.congress-detail-page__banner-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.congress-detail-page__banner-meta {
    font-size: 1rem;
    opacity: 0.95;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.congress-detail-tabs {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    background: #fff;
    border: 1px solid #e4e8ef;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(32, 52, 86, 0.08);
    overflow: hidden;
}

.congress-detail-tabs__item {
    min-width: 170px;
    min-height: 54px;
    padding: 0 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #22314e;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    background: #fff;
    transition: color 0.2s ease, background 0.2s ease;
}

.congress-detail-tabs__item + .congress-detail-tabs__item {
    border-left: 1px solid #edf0f4;
}

.congress-detail-tabs__item i {
    font-size: 1.3rem;
    color: #223a68;
    transition: color 0.2s ease;
}

.congress-detail-tabs__item:hover {
    color: var(--ci-blue);
    background: #fbfdff;
}

.congress-detail-tabs__item:hover i {
    color: var(--ci-blue);
}

.congress-detail-tabs__item.is-active {
    color: var(--ci-blue);
    font-weight: 600;
}

.congress-detail-tabs__item.is-active i {
    color: var(--ci-blue);
}

.congress-detail-tabs__item.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 4px;
    border-radius: 999px;
    background: var(--ci-blue);
}

.congress-detail-page__content {
    margin-top: 2rem;
    padding: 2rem 0 3rem;
    background: #f3f3f3;
}

.congress-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.congress-media-card {
    background: #fff;
    border: 1px solid #e2e7ef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(28, 44, 76, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.congress-media-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(28, 44, 76, 0.09);
    border-color: #d6deea;
}

.congress-media-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.congress-media-card__thumb {
    padding: 1.2rem 1.2rem 0;
}

.congress-media-card__thumb img,
.congress-media-card__thumb-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.congress-media-card__thumb img {
    object-fit: cover;
    display: block;
}

.congress-media-card__thumb-placeholder {
    background: #21aeba;
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 1rem;
}

.congress-media-card__body {
    padding: 0.9rem 1.2rem 1.25rem;
}

.congress-media-card__title {
    margin: 0 0 0.75rem;
    color: #1d2b4b;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 600;
}

.congress-media-card__text {
    margin: 0 0 1rem;
    color: #5f6b80;
    font-size: 0.92rem;
    line-height: 1.55;
}

.congress-media-card__footer {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.congress-media-card__play {
    width: 38px;
    height: 32px;
    border-radius: 4px;
    background: var(--ci-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.congress-media-card__meta {
    color: #22314e;
    font-size: 0.92rem;
    line-height: 1.3;
    font-weight: 500;
}

.congress-empty-state {
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #e1e6ee;
    border-radius: 10px;
    color: #5f6b80;
    text-align: center;
}

/* opzionale per summary / webcast */
.congress-media-card--summary .congress-media-card__thumb-placeholder {
    background: #1ea8b4;
}

.congress-media-card--webcast .congress-media-card__thumb-placeholder {
    background: #1b9faa;
}


/* RESPONSIVE */

@media (max-width: 1199.98px) {
    .congress-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .congress-detail-page__banner {
        max-width: 100%;
    }

    .congress-detail-tabs {
        width: 100%;
        max-width: 100%;
        display: flex;
    }

    .congress-detail-tabs__item {
        min-width: 0;
        flex: 1 1 0;
        padding: 0 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .congress-detail-page {
        padding-top: 0.8rem;
    }

    .congress-detail-page__banner img {
        aspect-ratio: 16 / 6;
    }

    .congress-detail-tabs {
        flex-direction: column;
        width: 100%;
        border-radius: 14px;
    }

    .congress-detail-tabs__item {
        width: 100%;
        justify-content: flex-start;
        min-height: 50px;
    }

    .congress-detail-tabs__item + .congress-detail-tabs__item {
        border-left: 0;
        border-top: 1px solid #edf0f4;
    }

    .congress-detail-tabs__item.is-active::after {
        left: 12px;
        right: 12px;
    }

    .congress-detail-page__content {
        margin-top: 1.5rem;
        padding: 1.5rem 0 2rem;
    }

    .congress-cards-grid {
        grid-template-columns: 1fr;
    }

    .congress-media-card__thumb {
        padding: 1rem 1rem 0;
    }

    .congress-media-card__body {
        padding: 0.85rem 1rem 1rem;
    }

    .congress-media-card__thumb-placeholder {
        font-size: 1.5rem;
    }
}

/* LISTA CONGRESSI */

.congresses-list-items {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.congress-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.congress-item:hover {
    border-color: var(--ci-blue);
    box-shadow: 0 0 0 2px rgba(15,136,166,0.15);
    transform: translateY(-1px);
}

.congress-link {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 0.9rem 1rem;
    text-decoration: none;
    color: inherit;
}

/* IMMAGINE */

.congress-thumb {
    width: 160px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f4f6;

    display: flex;
    align-items: center;
    justify-content: center;
}

.congress-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.congress-thumb--placeholder {
    font-size: 0.8rem;
    color: #6b7280;
}

/* TESTI */

.congress-body {
    flex: 1;
    min-width: 0;
}

.congress-title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1d2b4b;
    line-height: 1.35;
}

.congress-meta {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.45;
}

.congress-meta strong {
    font-weight: 600;
    color: #1f2937;
}

/* RESPONSIVE */

@media (max-width: 767px) {

    .congress-link {
        flex-direction: column;
        align-items: flex-start;
    }

    .congress-thumb {
        width: 100%;
        height: 180px;
    }

}

/* LISTA CONGRESSI */

.congresses-list--cms {
    width: 100%;
}

.congress-empty {
    color: #6b7280;
    font-style: italic;
    margin: 1rem 0 0;
}

.congresses-list-items {
    list-style: none;
    padding: 0;
    margin: 1.1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.congress-item {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.congress-item:hover {
    border-color: #cfd8df;
    box-shadow: 0 6px 18px rgba(15, 136, 166, 0.08);
}

.congress-link {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 180px;
    align-items: center;
    gap: 1.4rem;
    padding: 0;
    text-decoration: none;
    color: inherit;
}

/* Box come prima: immagine a tutta larghezza/altezza cella (niente padding che rimpicciolisce il grafico).
   Niente flex sull’wrapper: con flex, img+width/height 100% può stirare l’immagine; absolute + cover è stabile. */
.congresses-list--cms .congress-thumb {
    width: 100%;
    height: 138px;
    background: #f3f4f6;
    overflow: hidden;
    display: block;
    position: relative;
}

.congresses-list--cms .congress-thumb.congress-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.congresses-list--cms .congress-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.congress-thumb--placeholder {
    color: #0f88a6;
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    line-height: 1.1;
    background: #f8fafc;
    padding: 1rem;
}

.congress-body {
    min-width: 0;
    padding: 1rem 0;
}

.congress-title {
    margin: 0 0 0.85rem;
    color: #2d3550;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 600;
}

.congress-meta-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #394150;
    font-size: 0.98rem;
    line-height: 1.35;
}

.congress-meta-row + .congress-meta-row {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e6e6e6;
}

.congress-meta-icon {
    width: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f3b59;
    font-size: 1.15rem;
    line-height: 1;
}

.congress-meta-text {
    color: #2f3648;
}

.congress-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
}

.congress-action .ci-btn {
    min-width: 170px;
    min-height: 44px;
    padding: 0 1.4rem;
    font-size: 1rem;
    gap: 0.7rem;
}

.congress-action .ci-btn i {
    font-size: 1.1rem;
    line-height: 1;
}

@media (max-width: 991.98px) {
    .congress-link {
        grid-template-columns: 200px minmax(0, 1fr) 150px;
        gap: 1rem;
    }

    .congresses-list--cms .congress-thumb {
        height: 125px;
    }

    .congress-action .ci-btn {
        min-width: 140px;
    }
}

@media (max-width: 767.98px) {
    .congress-link {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .congresses-list--cms .congress-thumb {
        height: 180px;
    }

    .congress-body {
        padding: 1rem 1rem 0.5rem;
    }

    .congress-action {
        justify-content: flex-start;
        padding: 0 1rem 1rem;
    }

    .congress-action .ci-btn {
        width: 100%;
        min-width: 0;
    }
}



.ci-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 220px;
    height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #0b8aa8;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.ci-btn-primary:hover {
    background: #087a94;
    transform: translateY(-1px);
}

.ci-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ci-btn-primary__arrow {
    font-size: 1.25rem;
    line-height: 1;
}

.ci-alert {
    margin: 24px 40px 0;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ci-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.ci-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.ci-alert--warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.ci-alert__list {
    margin: 0;
    padding-left: 18px;
}

.ci-turnstile {
    margin-top: 6px;
}

@media (max-width: 768px) {
    .ci-contact-page {
        padding: 30px 16px 48px;
    }

    .ci-contact-card__header {
        padding: 30px 20px 24px;
    }

    .ci-contact-card__title {
        font-size: 1.6rem;
    }

    .ci-contact-card__subtitle {
        font-size: 0.98rem;
    }

    .ci-contact-form {
        padding: 24px 20px 28px;
    }

    .ci-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .ci-alert {
        margin-left: 20px;
        margin-right: 20px;
    }

    .ci-contact-form__actions {
        justify-content: stretch;
    }

    .ci-btn-primary {
        width: 100%;
    }
}

.ci-profile-page {
    padding: 48px 20px 72px;
    background: #f4f4f4;
}

.ci-profile-card {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.ci-profile-card__header {
    padding: 38px 40px 30px;
    background: linear-gradient(135deg, #0d7996 0%, #1ab8d0 100%);
    color: #ffffff;
    text-align: center;
}

.ci-profile-card__title {
    margin: 0 0 12px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
}

.ci-profile-card__subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.ci-profile-form {
    padding: 34px 40px 40px;
}

.ci-form-grid {
    display: grid;
    gap: 20px;
}

.ci-form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
}

.ci-form-field {
    margin-bottom: 20px;
}

.ci-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.98rem;
    font-weight: 600;
    color: #24324a;
}

.ci-form-input {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #d6dbe3;
    border-radius: 12px;
    background: #ffffff;
    color: #1f2937;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.ci-form-input::placeholder {
    color: #9ca3af;
}

.ci-form-input:focus {
    border-color: #0fa4be;
    box-shadow: 0 0 0 4px rgba(15, 164, 190, 0.12);
}

.ci-form-select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #6b7280 50%),
        linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 3px),
        calc(100% - 16px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
}

.ci-form-help {
    display: block;
    margin-top: 8px;
    font-size: 0.87rem;
    color: #6b7280;
}

.ci-form-section {
    margin-top: 10px;
    margin-bottom: 28px;
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
}

.ci-form-section__header {
    margin-bottom: 18px;
}

.ci-form-section__title {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #24324a;
}

.ci-form-section__text {
    margin: 0;
    font-size: 0.94rem;
    color: #6b7280;
}

.ci-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    padding: 20px;
    background: #f9fbfc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.ci-topic-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ci-topic-item:hover {
    border-color: #0fa4be;
    box-shadow: 0 4px 12px rgba(15, 164, 190, 0.08);
    transform: translateY(-1px);
}

.ci-topic-item__checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #0b8aa8;
    cursor: pointer;
    flex-shrink: 0;
}

.ci-topic-item__label {
    font-size: 0.96rem;
    line-height: 1.4;
    color: #24324a;
}

.ci-profile-form__actions {
    display: flex;
    gap: 14px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.ci-btn-primary,
.ci-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 210px;
    height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.ci-btn-primary {
    border: 0;
    background: #0b8aa8;
    color: #ffffff;
}

.ci-btn-primary:hover {
    background: #087a94;
    transform: translateY(-1px);
}

.ci-btn-secondary {
    border: 1px solid #cfd8e3;
    background: #ffffff;
    color: #24324a;
}

.ci-btn-secondary:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.ci-btn-primary__arrow {
    font-size: 1.25rem;
    line-height: 1;
}

.ci-alert {
    margin: 24px 40px 0;
    padding: 16px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ci-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.ci-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.ci-alert__list {
    margin: 8px 0 0;
    padding-left: 18px;
}

@media (max-width: 768px) {
    .ci-profile-page {
        padding: 30px 16px 48px;
    }

    .ci-profile-card__header {
        padding: 30px 20px 24px;
    }

    .ci-profile-card__title {
        font-size: 1.6rem;
    }

    .ci-profile-card__subtitle {
        font-size: 0.98rem;
    }

    .ci-profile-form {
        padding: 24px 20px 28px;
    }

    .ci-form-grid--2 {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .ci-topics-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .ci-profile-form__actions {
        flex-direction: column;
    }

    .ci-btn-primary,
    .ci-btn-secondary {
        width: 100%;
        min-width: 0;
    }

    .ci-alert {
        margin-left: 20px;
        margin-right: 20px;
    }
}

.ci-topic-page {
    background: #f4f4f4;
    padding-bottom: 72px;
}

.ci-topic-hero {
    background: linear-gradient(135deg, #0d7996 0%, #1ab8d0 100%);
    padding: 52px 20px 56px;
    color: #ffffff;
}

.ci-topic-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.ci-topic-hero__title {
    margin: 0 0 16px;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
}

.ci-topic-hero__text {
    max-width: 920px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.96);
}

.ci-topic-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 20px 0;
}

.ci-topic-congresses {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ci-topic-congress-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    scroll-margin-top: 5rem;
}

.ci-topic-congress-card__top {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 26px;
}

.ci-topic-congress-card__image-wrap {
    width: 220px;
    flex-shrink: 0;
}

.ci-topic-congress-card__image {
    width: 100%;
    height: 155px;
    object-fit: cover;
    object-position: top center;
    border-radius: 14px;
    display: block;
}

.ci-topic-congress-card__placeholder {
    width: 100%;
    height: 155px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d7996 0%, #1ab8d0 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ci-topic-congress-card__main {
    flex: 1;
    min-width: 0;
}

.ci-topic-congress-card__title {
    margin: 0 0 10px;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
}

.ci-topic-congress-card__description {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #5b6472;
}

.ci-topic-congress-card__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ci-topic-section {
    padding-top: 4px;
}

.ci-topic-section__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.ci-topic-section__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #24324a;
}

.ci-topic-section__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e8f7fb;
    color: #0b8aa8;
    font-size: 0.92rem;
    font-weight: 700;
}

.ci-topic-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}

.ci-topic-video-card,
.ci-topic-summary-card {
    background: #f9fbfc;
    border: 1px solid #e3e8ee;
    border-radius: 16px;
    overflow: hidden;
}

.ci-topic-video-card__thumb-wrap {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #0f172a;
}

.ci-topic-video-card__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ci-topic-video-card__body {
    padding: 18px;
}

.ci-topic-video-card__title,
.ci-topic-summary-card__title {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
}

.ci-topic-video-card__text,
.ci-topic-summary-card__text {
    margin: 0;
    color: #5b6472;
    font-size: 0.96rem;
    line-height: 1.65;
}

.ci-topic-video-card__actions,
.ci-topic-summary-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.ci-topic-summaries-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ci-topic-summary-card {
    padding: 20px;
}

.ci-topic-link {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ci-topic-link:hover {
    color: #0b8aa8;
}

.ci-btn-primary,
.ci-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.ci-btn-primary {
    background: #0b8aa8;
    color: #ffffff;
    border: none;
}

.ci-btn-primary:hover {
    background: #087a94;
    transform: translateY(-1px);
}

.ci-btn-secondary {
    background: #ffffff;
    color: #24324a;
    border: 1px solid #cfd8e3;
}

.ci-btn-secondary:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.ci-btn-primary--sm,
.ci-btn-secondary--sm {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.9rem;
}

.ci-topic-empty-box,
.ci-topic-empty-state {
    padding: 24px;
    background: #f9fbfc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    color: #6b7280;
    text-align: center;
    font-size: 1rem;
}

.ci-topic-empty-state p {
    margin: 0;
}

@media (max-width: 991px) {
    .ci-topic-congress-card__top {
        flex-direction: column;
    }

    .ci-topic-congress-card__image-wrap {
        width: 100%;
        max-width: 360px;
    }
}

@media (max-width: 768px) {
    .ci-topic-page {
        padding-bottom: 48px;
    }

    .ci-topic-hero {
        padding: 36px 16px 40px;
    }

    .ci-topic-hero__title {
        font-size: 1.9rem;
    }

    .ci-topic-hero__text {
        font-size: 1rem;
    }

    .ci-topic-content {
        padding: 24px 16px 0;
    }

    .ci-topic-congress-card {
        padding: 20px;
        border-radius: 16px;
    }

    .ci-topic-congress-card__title {
        font-size: 1.45rem;
    }

    .ci-topic-videos-grid {
        grid-template-columns: 1fr;
    }

    .ci-topic-video-card__thumb-wrap {
        height: 200px;
    }

    .ci-topic-section__heading {
        align-items: center;
    }
}

.ci-video-page {
    background: #f4f4f4;
    padding: 32px 20px 72px;
}

.ci-video-page__container {
    max-width: 1200px;
    margin: 0 auto;
}

.ci-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.92rem;
    color: #6b7280;
}

.ci-breadcrumb__link {
    color: #0b8aa8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ci-breadcrumb__link:hover {
    color: #087a94;
}

.ci-breadcrumb__sep {
    color: #9ca3af;
}

.ci-breadcrumb__current {
    color: #6b7280;
}

.ci-breadcrumb__current--strong {
    color: #1f2937;
    font-weight: 700;
}

.ci-video-hero {
    margin-bottom: 28px;
    background: linear-gradient(135deg, #0d7996 0%, #1ab8d0 100%);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.ci-video-hero__content {
    padding: 38px 40px;
    color: #ffffff;
}

.ci-video-hero__title {
    margin: 0 0 18px;
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.15;
}

.ci-video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.ci-video-meta__item {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
}

.ci-video-meta__label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.82);
}

.ci-video-meta__value,
.ci-video-meta__link {
    font-size: 0.97rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.ci-video-meta__link:hover {
    text-decoration: underline;
}

.ci-video-hero__description p {
    margin: 0;
    max-width: 980px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.96);
}

.ci-video-player-section,
.ci-video-thumbnail-section {
    margin-bottom: 28px;
}

.ci-video-player-card,
.ci-video-thumbnail-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.ci-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.ci-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ci-video-html5 {
    background: #000;
}

.ci-video-html5 video {
    display: block;
    width: 100%;
    height: auto;
}

.ci-video-external-box,
.ci-video-empty-box {
    padding: 42px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    text-align: center;
}

.ci-video-empty-box p {
    margin: 0;
    color: #6b7280;
    font-size: 1rem;
}

.ci-video-thumbnail-card__image {
    display: block;
    width: 100%;
    height: auto;
}

.ci-related-section {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid #dbe3ea;
}

.ci-related-section__header {
    margin-bottom: 18px;
}

.ci-related-section__title {
    margin: 0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #24324a;
}

.ci-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 20px;
}

.ci-related-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ci-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.ci-related-card__image-wrap {
    width: 100%;
    height: 170px;
    background: #0f172a;
    overflow: hidden;
}

.ci-related-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ci-related-card__body {
    padding: 18px;
}

.ci-related-card__title {
    margin: 0 0 10px;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1f2937;
}

.ci-related-card__link {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ci-related-card__link:hover {
    color: #0b8aa8;
}

.ci-related-card__text {
    margin: 0;
    color: #5b6472;
    font-size: 0.95rem;
    line-height: 1.65;
}

.ci-related-card__actions {
    margin-top: 16px;
}

.ci-btn-primary,
.ci-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.ci-btn-primary {
    border: none;
    background: #0b8aa8;
    color: #ffffff;
}

.ci-btn-primary:hover {
    background: #087a94;
    transform: translateY(-1px);
}

.ci-btn-secondary {
    background: #ffffff;
    color: #24324a;
    border: 1px solid #cfd8e3;
}

.ci-btn-secondary:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.ci-btn-primary--lg {
    min-height: 54px;
    padding: 0 26px;
    font-size: 1rem;
}

.ci-btn-secondary--sm {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.9rem;
}

.ci-btn-primary__arrow {
    font-size: 1.15rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .ci-video-page {
        padding: 24px 16px 48px;
    }

    .ci-breadcrumb {
        margin-bottom: 18px;
        font-size: 0.88rem;
    }

    .ci-video-hero__content {
        padding: 28px 20px;
    }

    .ci-video-hero__title {
        font-size: 1.8rem;
    }

    .ci-video-meta {
        flex-direction: column;
        align-items: stretch;
    }

    .ci-video-meta__item {
        width: 100%;
    }

    .ci-related-section__title {
        font-size: 1.3rem;
    }

    .ci-related-grid {
        grid-template-columns: 1fr;
    }

    .ci-video-external-box,
    .ci-video-empty-box {
        padding: 30px 18px;
    }

    .ci-btn-primary--lg {
        width: 100%;
    }
}

.ci-summary-page {
    background: #f4f4f4;
    padding: 32px 20px 72px;
}

.ci-summary-page__container {
    max-width: 1200px;
    margin: 0 auto;
}

.ci-summary-hero {
    margin-bottom: 28px;
    background: linear-gradient(135deg, #0d7996 0%, #1ab8d0 100%);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.ci-summary-hero__content {
    padding: 38px 40px;
    color: #ffffff;
}

.ci-summary-hero__title {
    margin: 0 0 18px;
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.15;
}

.ci-summary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ci-summary-meta__item {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
}

.ci-summary-meta__label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.82);
}

.ci-summary-meta__value,
.ci-summary-meta__link {
    font-size: 0.97rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.ci-summary-meta__link:hover {
    text-decoration: underline;
}

.ci-summary-content-section,
.ci-summary-attachment-section {
    margin-bottom: 28px;
}

.ci-summary-content-card,
.ci-summary-attachment-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.ci-summary-content-card {
    padding: 34px 36px;
}

.ci-summary-content-body {
    color: #374151;
    font-size: 1.08rem;
    line-height: 1.85;
}

.ci-summary-content-body > *:first-child {
    margin-top: 0;
}

.ci-summary-content-body > *:last-child {
    margin-bottom: 0;
}

.ci-summary-content-body h1,
.ci-summary-content-body h2,
.ci-summary-content-body h3,
.ci-summary-content-body h4,
.ci-summary-content-body h5,
.ci-summary-content-body h6 {
    color: #1f2937;
    line-height: 1.3;
    margin-top: 1.6em;
    margin-bottom: 0.7em;
    font-weight: 700;
}

.ci-summary-content-body h2 {
    font-size: 1.7rem;
}

.ci-summary-content-body h3 {
    font-size: 1.4rem;
}

.ci-summary-content-body p,
.ci-summary-content-body ul,
.ci-summary-content-body ol,
.ci-summary-content-body blockquote {
    margin-bottom: 1.1em;
}

.ci-summary-content-body ul,
.ci-summary-content-body ol {
    padding-left: 1.4rem;
}

.ci-summary-content-body a {
    color: #0b8aa8;
    text-decoration: underline;
}

.ci-summary-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.ci-summary-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.98rem;
}

.ci-summary-content-body th,
.ci-summary-content-body td {
    padding: 12px 14px;
    border: 1px solid #dbe3ea;
    text-align: left;
}

.ci-summary-content-body th {
    background: #f8fafc;
    color: #24324a;
    font-weight: 700;
}

.ci-summary-content-body blockquote {
    margin-left: 0;
    padding: 16px 18px;
    border-left: 4px solid #0b8aa8;
    background: #f8fcfd;
    border-radius: 0 12px 12px 0;
    color: #4b5563;
}

.ci-summary-attachment-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
}

.ci-summary-attachment-card__title {
    margin: 0 0 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #24324a;
}

.ci-summary-attachment-card__description {
    margin: 0;
    color: #6b7280;
    line-height: 1.65;
}

.ci-related-card--summary {
    display: flex;
}

.ci-btn-primary,
.ci-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.ci-btn-primary {
    border: none;
    background: #0b8aa8;
    color: #ffffff;
}

.ci-btn-primary:hover {
    background: #087a94;
    transform: translateY(-1px);
}

.ci-btn-secondary {
    background: #ffffff;
    color: #24324a;
    border: 1px solid #cfd8e3;
}

.ci-btn-secondary:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.ci-btn-primary--lg {
    min-height: 54px;
    padding: 0 26px;
    font-size: 1rem;
}

.ci-btn-secondary--sm {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .ci-summary-page {
        padding: 24px 16px 48px;
    }

    .ci-summary-hero__content {
        padding: 28px 20px;
    }

    .ci-summary-hero__title {
        font-size: 1.8rem;
    }

    .ci-summary-meta {
        flex-direction: column;
        align-items: stretch;
    }

    .ci-summary-meta__item {
        width: 100%;
    }

    .ci-summary-content-card {
        padding: 24px 20px;
    }

    .ci-summary-content-body {
        font-size: 1rem;
        line-height: 1.75;
    }

    .ci-summary-attachment-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .ci-summary-attachment-card__actions {
        width: 100%;
    }

    .ci-btn-primary--lg {
        width: 100%;
    }

    .ci-summary-content-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.ci-cms-page {
    background: #f4f4f4;
    padding: 32px 20px 72px;
}

.ci-cms-page__container {
    max-width: 1200px;
    margin: 0 auto;
}

.ci-cms-hero {
    margin-bottom: 28px;
    background: linear-gradient(135deg, #0d7996 0%, #1ab8d0 100%);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.ci-cms-hero__content {
    padding: 38px 40px;
    color: #ffffff;
}

.ci-cms-hero__title {
    margin: 0;
    font-size: 2.35rem;
    font-weight: 700;
    line-height: 1.15;
}

.ci-cms-content-section {
    margin-bottom: 28px;
}

.ci-cms-content-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    padding: 34px 36px;
}

.ci-cms-content-body {
    color: #374151;
    font-size: 1.08rem;
    line-height: 1.85;
}

.ci-cms-content-body > *:first-child {
    margin-top: 0;
}

.ci-cms-content-body > *:last-child {
    margin-bottom: 0;
}

.ci-cms-content-body h1,
.ci-cms-content-body h2,
.ci-cms-content-body h3,
.ci-cms-content-body h4,
.ci-cms-content-body h5,
.ci-cms-content-body h6 {
    color: #1f2937;
    line-height: 1.3;
    margin-top: 1.6em;
    margin-bottom: 0.7em;
    font-weight: 700;
}

.ci-cms-content-body h2 {
    font-size: 1.7rem;
}

.ci-cms-content-body h3 {
    font-size: 1.4rem;
}

.ci-cms-content-body p,
.ci-cms-content-body ul,
.ci-cms-content-body ol,
.ci-cms-content-body blockquote {
    margin-bottom: 1.1em;
}

.ci-cms-content-body ul,
.ci-cms-content-body ol {
    padding-left: 1.4rem;
}

.ci-cms-content-body a {
    color: #0b8aa8;
    text-decoration: underline;
}

.ci-cms-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.ci-cms-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.98rem;
}

.ci-cms-content-body th,
.ci-cms-content-body td {
    padding: 12px 14px;
    border: 1px solid #dbe3ea;
    text-align: left;
}

.ci-cms-content-body th {
    background: #f8fafc;
    color: #24324a;
    font-weight: 700;
}

.ci-cms-content-body blockquote {
    margin-left: 0;
    padding: 16px 18px;
    border-left: 4px solid #0b8aa8;
    background: #f8fcfd;
    border-radius: 0 12px 12px 0;
    color: #4b5563;
}

@media (max-width: 768px) {
    .ci-cms-page {
        padding: 24px 16px 48px;
    }

    .ci-cms-hero__content {
        padding: 28px 20px;
    }

    .ci-cms-hero__title {
        font-size: 1.8rem;
    }

    .ci-cms-content-card {
        padding: 24px 20px;
    }

    .ci-cms-content-body {
        font-size: 1rem;
        line-height: 1.75;
    }

    .ci-cms-content-body table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}