/*
 * Homepage – Latest News
 * Strictly scoped to .iuc-latest-news so no other homepage section is changed.
 */

.iuc-latest-news,
.iuc-latest-news * {
    box-sizing: border-box;
}

.iuc-latest-news {
    --iuc-news-ink: #202020;
    --iuc-news-muted: #6f6b66;
    --iuc-news-gold: #c7a56a;
    --iuc-news-gold-dark: #a98549;
    --iuc-news-border: #e7e0d6;
    --iuc-news-paper: #ffffff;
    --iuc-news-wash: #f8f6f2;
    position: relative;
    width: 100%;
    margin: 0;
    padding: clamp(64px, 7vw, 104px) 0 clamp(70px, 8vw, 116px);
    color: var(--iuc-news-ink);
    background: linear-gradient(180deg, #fff 0%, var(--iuc-news-wash) 100%);
    overflow: hidden;
}

.iuc-latest-news::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(92%, 1440px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(199, 165, 106, .72), transparent);
    transform: translateX(-50%);
}

.iuc-latest-news__inner {
    width: min(100% - 48px, 1440px);
    margin-inline: auto;
}

.iuc-latest-news__header {
    display: grid;
    grid-template-columns: minmax(36px, 120px) auto minmax(36px, 120px);
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.2vw, 32px);
    margin: 0 auto clamp(38px, 5vw, 64px);
}

.iuc-latest-news__heading {
    margin: 0;
    color: var(--iuc-news-ink);
    font-family: "PT Serif", Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.1vw, 64px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.025em;
    text-align: center;
    white-space: nowrap;
}

.iuc-latest-news__rule {
    width: 100%;
    height: 1px;
    background: var(--iuc-news-gold);
}

.iuc-latest-news__rule:first-child::after,
.iuc-latest-news__rule:last-child::after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    margin-top: -2px;
    border-radius: 50%;
    background: var(--iuc-news-gold);
}

.iuc-latest-news__rule:first-child::after {
    margin-left: auto;
}

.iuc-latest-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.25vw, 36px);
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.iuc-latest-news__viewport {
    width: 100%;
    overflow: visible;
}

.iuc-latest-news__item {
    display: flex;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.iuc-news-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: var(--iuc-news-paper);
    border: 1px solid var(--iuc-news-border);
    box-shadow: 0 18px 48px rgba(34, 29, 23, .08);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    width: 100%;
}

.iuc-latest-news__controls {
    display: none;
}

.iuc-latest-news .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.iuc-news-card:hover {
    border-color: rgba(199, 165, 106, .68);
    box-shadow: 0 24px 58px rgba(34, 29, 23, .13);
    transform: translateY(-6px);
}

.iuc-news-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e9e4dc;
}

.iuc-news-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-bottom: 3px solid var(--iuc-news-gold);
    background: linear-gradient(180deg, transparent 64%, rgba(18, 15, 12, .18));
    pointer-events: none;
}

.iuc-news-card__media figure {
    width: 100%;
    height: 100%;
    margin: 0;
}

.iuc-news-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    transition: transform .55s ease;
}

.iuc-news-card:hover .iuc-news-card__media img {
    transform: scale(1.035);
}

.iuc-news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(24px, 2.4vw, 36px);
}

.iuc-news-card__title {
    margin: 0 0 16px;
    font-family: "Lato", Arial, sans-serif;
    font-size: clamp(21px, 1.65vw, 27px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.015em;
}

.iuc-news-card__title a {
    color: var(--iuc-news-ink);
    text-decoration: none;
    transition: color .2s ease;
}

.iuc-news-card__title a:hover,
.iuc-news-card__title a:focus-visible {
    color: var(--iuc-news-gold-dark);
}

.iuc-news-card__excerpt {
    display: -webkit-box;
    margin: 0 0 26px;
    overflow: hidden;
    color: var(--iuc-news-muted);
    font-family: "Lato", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.72;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.iuc-news-card__excerpt > :first-child {
    margin-top: 0;
}

.iuc-news-card__excerpt > :last-child {
    margin-bottom: 0;
}

.iuc-news-card__excerpt blockquote {
    margin: 0;
    padding: 0 0 0 16px;
    border-left: 2px solid var(--iuc-news-gold);
    font-style: italic;
}

.iuc-news-card__more {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-top: auto;
    padding: 10px 0 7px;
    color: var(--iuc-news-ink);
    border-bottom: 1px solid var(--iuc-news-gold);
    font-family: "Lato", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease, border-color .2s ease;
}

.iuc-news-card__more:hover,
.iuc-news-card__more:focus-visible {
    color: var(--iuc-news-gold-dark);
    border-color: var(--iuc-news-gold-dark);
}

.iuc-news-card__arrow {
    font-size: 19px;
    font-weight: 400;
    line-height: .6;
    transition: transform .2s ease;
}

.iuc-news-card__more:hover .iuc-news-card__arrow,
.iuc-news-card__more:focus-visible .iuc-news-card__arrow {
    transform: translateX(4px);
}

.iuc-news-card a:focus-visible {
    outline: 2px solid var(--iuc-news-gold-dark);
    outline-offset: 4px;
}

@media (max-width: 1023.98px) {
    body.itemid-101 .iuc-latest-news {
        overflow: hidden;
    }

    body.itemid-101 .iuc-latest-news__inner {
        width: min(100% - 40px, 900px);
    }

    body.itemid-101 .iuc-latest-news__viewport {
        overflow: hidden;
        touch-action: pan-y pinch-zoom;
        cursor: grab;
    }

    body.itemid-101 .iuc-latest-news__viewport.is-dragging {
        cursor: grabbing;
    }

    body.itemid-101 .iuc-latest-news__grid {
        display: flex;
        gap: 0;
        align-items: stretch;
        transform: translate3d(0, 0, 0);
        transition: transform .42s cubic-bezier(.22, .68, .28, 1);
        will-change: transform;
    }

    body.itemid-101 .iuc-latest-news__grid.is-dragging {
        transition: none;
    }

    body.itemid-101 .iuc-latest-news__item,
    body.itemid-101 .iuc-latest-news__item:last-child {
        flex: 0 0 100%;
        width: 100%;
        grid-column: auto;
        justify-self: auto;
    }

    body.itemid-101 .iuc-news-card:hover {
        transform: none;
    }

    body.itemid-101 .iuc-latest-news__controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(20px, 5vw, 42px);
        margin-top: 30px;
    }

    body.itemid-101 .iuc-latest-news__arrow {
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        color: var(--iuc-news-ink);
        border: 1px solid var(--iuc-news-gold);
        border-radius: 50%;
        background: transparent;
        font-size: 21px;
        line-height: 1;
        cursor: pointer;
        transition: color .2s ease, background-color .2s ease, opacity .2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    body.itemid-101 .iuc-latest-news__arrow:hover,
    body.itemid-101 .iuc-latest-news__arrow:focus-visible {
        color: #fff;
        background: var(--iuc-news-gold-dark);
    }

    body.itemid-101 .iuc-latest-news__arrow:focus-visible,
    body.itemid-101 .iuc-latest-news__dot:focus-visible {
        outline: 2px solid var(--iuc-news-gold-dark);
        outline-offset: 4px;
    }

    body.itemid-101 .iuc-latest-news__arrow:disabled {
        opacity: .32;
        cursor: default;
    }

    body.itemid-101 .iuc-latest-news__dots {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    body.itemid-101 .iuc-latest-news__dot {
        width: 9px;
        height: 9px;
        padding: 0;
        border: 1px solid var(--iuc-news-gold-dark);
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
        transition: width .2s ease, border-radius .2s ease, background-color .2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    body.itemid-101 .iuc-latest-news__dot[aria-current="true"] {
        width: 24px;
        border-radius: 999px;
        background: var(--iuc-news-gold);
    }
}

@media (max-width: 639.98px) {
    .iuc-latest-news {
        padding: 54px 0 70px;
    }

    .iuc-latest-news__inner {
        width: min(100% - 28px, 540px);
    }

    .iuc-latest-news__header {
        grid-template-columns: minmax(20px, 1fr) auto minmax(20px, 1fr);
        gap: 12px;
        margin-bottom: 32px;
    }

    .iuc-latest-news__heading {
        font-size: clamp(34px, 11vw, 46px);
    }

    .iuc-latest-news__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .iuc-news-card__body {
        padding: 24px 22px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .iuc-news-card,
    .iuc-news-card__media img,
    .iuc-news-card__arrow {
        transition: none;
    }

    .iuc-latest-news__grid {
        transition: none;
    }
}


/*
 * Production visual adjustments preserved on 2026-11-05.
 * These rules mirror the effective styling from the CSS currently installed
 * on iucbrands.com. Carousel mechanics remain in the scoped rules above.
 */

body.itemid-101 .iuc-latest-news {
    margin-top: -80px;
    padding: 20px 0 32px !important;
}

body.itemid-101 .iuc-latest-news__heading,
body.itemid-101 .section-40.section-md-50.bg-white h3.text-center {
    color: #202020;
    font-family: "Lato", Arial, sans-serif;
    font-size: 40px !important;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

body.itemid-101 .iuc-latest-news__header {
    margin-bottom: 24px;
}

body.itemid-101 .iuc-latest-news__grid {
    gap: 24px;
    align-items: stretch;
}

body.itemid-101 .iuc-news-card__media {
    aspect-ratio: auto;
    height: 180px;
    overflow: hidden;
    background: #e9e4dc;
}

body.itemid-101 .iuc-news-card__media figure,
body.itemid-101 .iuc-news-card__media picture {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}

body.itemid-101 .iuc-news-card__media img,
body.itemid-101 .iuc-news-card__media figure img,
body.itemid-101 .iuc-news-card__media picture img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
}

body.itemid-101 .iuc-news-card__body {
    padding: 20px 22px 22px;
}

body.itemid-101 .iuc-news-card__title {
    margin-bottom: 12px;
    font-size: 23px;
    line-height: 1.3;
}

body.itemid-101 .iuc-news-card__excerpt {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.6;
    -webkit-line-clamp: 3;
}

body.itemid-101 .iuc-news-card__more {
    padding-top: 6px;
    font-size: 13px;
}

@media (max-width: 1023.98px) {
    body.itemid-101 .iuc-latest-news__grid {
        gap: 0;
    }
}

@media (max-width: 991.98px) {
    body.itemid-101 .iuc-latest-news {
        margin-top: -55px;
        padding-top: 20px !important;
    }

    body.itemid-101 .iuc-latest-news__heading,
    body.itemid-101 .section-40.section-md-50.bg-white h3.text-center {
        font-size: 36px !important;
    }
}

@media (max-width: 639.98px) {
    body.itemid-101 .iuc-latest-news {
        margin-top: -30px;
        padding: 16px 0 28px !important;
    }

    body.itemid-101 .iuc-latest-news__heading,
    body.itemid-101 .section-40.section-md-50.bg-white h3.text-center {
        font-size: 32px !important;
    }

    body.itemid-101 .iuc-latest-news__header {
        margin-bottom: 20px;
    }

    body.itemid-101 .iuc-news-card__title {
        font-size: 22px;
    }

    body.itemid-101 .iuc-news-card__excerpt {
        font-size: 16px;
    }

    body.itemid-101 .iuc-news-card__media {
        height: 180px;
    }
}

