@media (prefers-reduced-motion: reduce) {
    .home-about__btn,
    .home-about-card {
        transition: none;
    }

    .home-about__btn:hover,
    .home-about-card:hover {
        transform: none;
    }

    .home-news-card:hover,
    .home-conf-item:has(.home-conf-item__link:hover),
    .home-ibrc-banner__btn:hover {
        transform: none;
    }

    .home-news-card,
    .home-conf-item__link,
    .home-ibrc-banner__btn {
        transition: none;
    }
}

.home-about__copy p {
    margin: 0 0 1.1rem;
    line-height: 1.75;
    color: var(--color-text-muted);
}

.home-about__copy p:last-of-type {
    margin-bottom: 0;
}

.home-about__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 20rem;
    margin-top: 1.75rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f8fafc;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.45);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
        linear-gradient(135deg, #1e40af 0%, #2563eb 42%, #1d4ed8 100%);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.06),
        0 12px 28px rgba(37, 99, 235, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease,
        border-color 0.2s ease;
}

.home-about__btn:hover {
    color: #fff;
    filter: brightness(1.06);
    border-color: rgba(125, 211, 252, 0.55);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.08),
        0 16px 36px rgba(37, 99, 235, 0.28);
    transform: translateY(-2px);
}

.home-about__btn:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.home-about-card {
    height: 100%;
    padding: 1.5rem 1.25rem;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 10px 28px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.28s ease;
}

.home-about-card:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow:
        0 4px 8px rgba(37, 99, 235, 0.08),
        0 20px 40px rgba(15, 23, 42, 0.1);
    transform: translateY(-5px);
}

.home-about-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    font-size: 1.35rem;
    color: var(--color-text-muted);
    background-color: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.home-about-card__title {
    margin: 0 0 0.45rem;
    font-size: 1.0625rem;
    color: var(--color-text);
}

.home-about-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}


/* News grid (3 columns × 2 rows on large screens) */
.home-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 576px) {
    .home-news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.35rem;
    }
}

@media (min-width: 992px) {
    .home-news-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.home-news-card {
    margin: 0;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.home-news-card:hover {
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow:
        0 2px 6px rgba(15, 23, 42, 0.06),
        0 14px 36px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.home-news-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0c2340;
}

.home-news-card__thumb-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-news-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 1.15rem 1.25rem 1.35rem;
}

.home-news-card__date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.65rem;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: rgba(100, 116, 139, 0.95);
}

.home-news-card__date .bi {
    font-size: 0.875rem;
    opacity: 0.85;
}

.home-news-card__title {
    margin: 0 0 0.55rem;
    min-width: 0;
    color: var(--color-text);
    font-weight: 600;
    word-break: break-word;
}

.home-news-card__excerpt {
    margin: 0;
    min-width: 0;
    line-height: 1.55;
    color: var(--color-text-muted);
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

/* Conferences & Events: horizontal rail (distinct from news card grid) */
.home-conf-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.home-conf-item {
    margin: 0;
}

.home-conf-item__link {
    display: grid;
    grid-template-columns: 5.75rem minmax(0, 1fr);
    gap: 0.85rem 1.15rem;
    align-items: center;
    padding: 1rem 1.2rem 1rem 1rem;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-left: 4px solid #f59e0b;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 6px 20px rgba(15, 23, 42, 0.05);
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        border-left-color 0.22s ease;
}

.home-conf-item--2 .home-conf-item__link {
    border-left-color: #0ea5e9;
}

.home-conf-item--3 .home-conf-item__link {
    border-left-color: #7c3aed;
}

.home-conf-item__link:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.07),
        0 12px 32px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.home-conf-item__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.55rem 0.4rem;
    text-align: center;
    border-radius: 11px;
    background: linear-gradient(165deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.home-conf-item--2 .home-conf-item__date {
    background: linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: rgba(14, 165, 233, 0.28);
}

.home-conf-item--3 .home-conf-item__date {
    background: linear-gradient(165deg, #f5f3ff 0%, #ede9fe 100%);
    border-color: rgba(124, 58, 237, 0.25);
}

.home-conf-item__date--tba {
    background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: rgba(148, 163, 184, 0.35);
}

.home-conf-item__date-num {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.home-conf-item__date-rest {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.55);
}

.home-conf-item__body {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.home-conf-item__media {
    flex-shrink: 0;
    width: 5.5rem;
}

.home-conf-item__thumb,
.home-conf-item__thumb-img {
    width: 5.5rem;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
}

.home-conf-item__thumb-img {
    display: block;
    height: auto;
    object-fit: cover;
}

.home-conf-item__thumb-img {
    aspect-ratio: 1;
    max-height: none;
    border-radius: 12px;
}

.home-conf-item__text {
    flex: 1;
    min-width: 0;
}

.home-conf-item__title {
    margin: 0 0 0.35rem;
    min-width: 0;
    color: var(--color-text);
    font-weight: 600;
    word-break: break-word;
}

.home-conf-item__excerpt {
    margin: 0 0 0.45rem;
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.home-conf-item__when {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(30, 41, 59, 0.88);
}

.home-conf-item__when .bi {
    font-size: 0.875rem;
    color: var(--color-primary);
    opacity: 0.9;
}

.home-conf-item__when-sep {
    opacity: 0.45;
    font-weight: 500;
}

.home-conf-item__go {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.75rem;
    height: 2rem;
    font-size: 1.1rem;
    color: rgba(15, 23, 42, 0.28);
    transition:
        color 0.18s ease,
        transform 0.18s ease;
}

.home-conf-item__link:hover .home-conf-item__go {
    color: var(--color-primary);
    transform: translateX(2px);
}

@media (max-width: 575.98px) {
    .home-conf-item__link {
        grid-template-columns: 1fr;
        padding: 0.85rem 1rem;
    }

    .home-conf-item__date {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: baseline;
        gap: 0.5rem;
    }

    .home-conf-item__body {
        flex-wrap: wrap;
        row-gap: 0.75rem;
    }

    .home-conf-item__media {
        width: 100%;
        max-width: 11rem;
        margin-left: auto;
        margin-right: auto;
    }

    .home-conf-item__thumb,
    .home-conf-item__thumb-img {
        width: 100%;
    }

    .home-conf-item__go {
        display: none;
    }
}

/* IBRC horizontal promo */
.home-ibrc-banner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.65rem 1.35rem;
    border-radius: 16px;
    border-top: 3px solid #d4af37;
    color: #fff;
    background: linear-gradient(92deg, #0c2340 0%, #153a66 30%, #1e4a8c 58%, #2563eb 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.08),
        0 14px 36px rgba(15, 35, 70, 0.28);
}

.home-ibrc-banner__visual {
    flex-shrink: 0;
    align-self: center;
    padding: 0.45rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
}

.home-ibrc-banner__cover-img {
    width: 7.25rem;
}

.home-ibrc-banner__cover-img {
    display: block;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
}

.home-ibrc-banner__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 0.65rem;
}

.home-ibrc-banner__title {
    margin: 0;
    font-size: clamp(1.35rem, 1.5vw + 1rem, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #fff;
}

.home-ibrc-banner__lead {
    margin: 0;
    max-width: 36rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(248, 250, 252, 0.92);
}

.home-ibrc-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    margin-top: 0.35rem;
    padding: 0.55rem 1.35rem;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    color: #1e3a8a;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.home-ibrc-banner__btn .bi {
    font-size: 1.2rem;
    line-height: 1;
}

.home-ibrc-banner__btn:hover {
    color: #172554;
    background: #f8fafc;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    transform: translateY(-2px);
}

.home-ibrc-banner__btn:active {
    transform: translateY(0);
}

@media (min-width: 768px) {
    .home-ibrc-banner {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
        padding: 2rem 2.25rem;
    }

    .home-ibrc-banner__visual {
        align-self: center;
    }

    .home-ibrc-banner__cover-img {
        width: 8.25rem;
    }
}
