/* Main only: content remains visible if JS is unavailable. */
.wrap > .Membership_News[data-aos],
.wrap > .Membership_News [data-aos],
.wrap > .artist[data-aos],
.comunity[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    transition: none !important;
}
@media (min-width: 1201px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .wrap > .Membership_News[data-aos],
    .wrap > .artist[data-aos],
    .comunity[data-aos] {
        transition: opacity 350ms ease-out, transform 350ms ease-out !important;
    }
    .wrap > .Membership_News.cb-reveal-pending,
    .wrap > .artist.cb-reveal-pending,
    .comunity.cb-reveal-pending {
        opacity: 0 !important;
        transform: translateY(16px) !important;
    }
}
/* Main content gutters: 24px tablet, 16px phone; full-width banner remains unchanged. */
@media (max-width: 1200px) {
    .wrap > .member_news > .size_in,
    .wrap > .Membership_News > .size_in,
    .wrap > .artist > .size_in,
    .comunity > .size_in {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        padding-left: 24px;
        padding-right: 24px;
    }
}
@media (max-width: 600px) {
    .wrap > .member_news > .size_in,
    .wrap > .Membership_News > .size_in,
    .wrap > .artist > .size_in,
    .comunity > .size_in {
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media (max-width: 1200px) {
    .slider-1 > .owl-carousel > .owl-nav > .owl-prev,
    .slider-1 > .owl-carousel > .owl-nav > .owl-next {
        margin-left: 0;
        transform: translateY(-50%);
    }
    .slider-1 > .owl-carousel > .owl-nav > .owl-prev { left: 12px; }
    .slider-1 > .owl-carousel > .owl-nav > .owl-next { left: auto; right: 12px; }
}

@media (max-width: 600px) {
    .cb-main-motion .footer .footnavi { flex-wrap: wrap; max-width: 100%; justify-content: center; }
}

/* Exhibition carousel: explicit navigation, position and swipe affordance. */
.wrap .member_news.cb-exhibition-ready .title .arrow { display: none; }
.cb-exhibition-controls { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin: 16px 10px 0; }
.cb-exhibition-hint { color: #596273; font-size: 13px; line-height: 1.5; margin: 0 auto 0 0; }
.cb-exhibition-navigation { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.cb-exhibition-navigation button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #b8c0cc; border-radius: 50%; background: #fff; color: #182638; font-size: 22px; line-height: 1; cursor: pointer; }
.cb-exhibition-navigation button:disabled { color: #a7aeb8; border-color: #e1e5eb; background: #f4f6f8; cursor: default; }
.cb-exhibition-navigation button:focus-visible { outline: 3px solid #315b9d; outline-offset: 3px; }
.cb-exhibition-position { min-width: 52px; text-align: center; color: #182638; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 1201px) and (pointer: fine) { .cb-exhibition-hint { display: none; } }
@media (max-width: 600px) {
    .cb-exhibition-controls { flex-wrap: wrap; justify-content: center; gap: 8px; }
    .cb-exhibition-hint { flex-basis: 100%; text-align: center; margin: 0; }
    .wrap .member_news.cb-exhibition-ready .member_slider ul li { padding-top: 18px; }
}

/* NEWS: keep tabs, long titles and dates within the available width. */
.comunity .comunity_in .news,
.comunity .comunity_in .news > .title,
.comunity .comunity_in .news .board_list { min-width: 0; }
.comunity .comunity_in .news .title_line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}
.comunity .comunity_in .news .title_line .btn_ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
}
.comunity .comunity_in .news .btn_ul li { flex: 0 0 auto; }
.comunity .comunity_in .news .btn_ul li.i { padding: 0; }
.comunity .comunity_in .news .btn_ul li a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    white-space: nowrap;
}
.comunity .comunity_in .news .title_line > a {
    flex: 0 0 auto;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    white-space: nowrap;
}
.comunity .comunity_in .news .board_list > ul > li,
.comunity .comunity_in .news .board_list > ul > li:hover {
    padding: 0;
    border-bottom: 1px solid #d8dce2;
}
.comunity .comunity_in .news .board_list > ul > li > a,
.comunity .comunity_in .news .board_list > ul > li:hover > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 8px 16px;
    width: 100%;
    padding: 16px 0;
    border: 0;
    font-weight: 600;
    transition: color 150ms ease;
}
.comunity .comunity_in .news .board_list > ul > li > a > p {
    display: block;
    min-width: 0;
    margin: 0;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.comunity .comunity_in .news .board_list > ul > li > a > .day {
    display: block;
    white-space: nowrap;
    line-height: 1.5;
    color: #697382;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
    .comunity .comunity_in .news .title_line { column-gap: 12px; padding-bottom: 8px; }
    .comunity .comunity_in .news .title_line .btn_ul { font-size: 16px; gap: 10px; }
    .comunity .comunity_in .news .title_line > a { font-size: 13px; }
    .comunity .comunity_in .news .board_list > ul > li > a,
    .comunity .comunity_in .news .board_list > ul > li:hover > a {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
    .comunity .comunity_in .news .board_list > ul > li > a > p > span {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    .comunity .comunity_in .news .board_list > ul > li > a > .day { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .comunity .comunity_in .news .board_list > ul > li > a { transition: none; }
}

/* Related institutions: readable logos and explicit navigation on every screen. */
.foot_slider.cb-partners { width: 100%; padding: 28px 0; background: #f8f9fb; border-top: 1px solid #e1e5eb; }
.foot_slider.cb-partners .cb-partners-inner { box-sizing: border-box; width: 100%; max-width: 1400px; padding: 0 50px; margin: 0 auto; min-width: 0; }
.cb-partners-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.cb-partners-heading h2 { margin: 0; font-size: 18px; line-height: 1.4; font-weight: 700; color: #172235; }
.cb-partners-controls { display: flex; align-items: center; gap: 8px; }
.cb-partners-position { min-width: 66px; margin-right: 4px; text-align: center; font-size: 13px; color: #596273; font-variant-numeric: tabular-nums; }
.cb-partners-controls button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #bcc5d2; border-radius: 50%; background: #fff; color: #182638; font-size: 22px; line-height: 1; cursor: pointer; }
.cb-partners-controls button:disabled { color: #a7aeb8; background: #f0f2f5; border-color: #e1e5eb; cursor: default; }
.foot_slider.cb-partners .owl-carousel { margin: 0; }
.foot_slider.cb-partners .owl-carousel .owl-item > li { box-sizing: border-box; width: 100%; padding: 0; margin: 0; list-style: none; }
.foot_slider.cb-partners .owl-carousel .owl-item > li > a { box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: 92px; padding: 16px; margin: 3px; background: #fff; border: 1px solid #e1e5eb; border-radius: 10px; }
.wrap .foot_slider.cb-partners .owl-carousel .owl-item img,
.foot_slider.cb-partners .owl-carousel .owl-item img { display: block; width: auto; height: auto; max-width: 100%; max-height: 48px; margin: 0; object-fit: contain; filter: none; }
.foot_slider.cb-partners .owl-carousel a:focus-visible,
.cb-partners-controls button:focus-visible { outline: 3px solid #315b9d; outline-offset: 0; }
@media (hover: hover) and (pointer: fine) {
    .foot_slider.cb-partners .owl-carousel .owl-item > li > a:hover { border-color: #8396b0; }
    .cb-partners-controls button:not(:disabled):hover { background: #eaf0f8; }
}
@media (max-width: 1200px) { .foot_slider.cb-partners .cb-partners-inner { padding: 0 24px; } }
@media (max-width: 600px) {
    .foot_slider.cb-partners { padding: 24px 0; }
    .foot_slider.cb-partners .cb-partners-inner { padding: 0 16px; }
    .cb-partners-heading h2 { font-size: 16px; }
    .cb-partners-heading { gap: 8px; margin-bottom: 12px; }
    .cb-partners-controls { gap: 6px; }
    .cb-partners-position { min-width: 58px; margin-right: 0; }
    .foot_slider.cb-partners .owl-carousel .owl-item > li > a { height: 80px; padding: 12px; }
    .foot_slider.cb-partners .owl-carousel .owl-item img { max-height: 40px; }
}
