
/* ==========================================
   HEML Hot Issue Slider
   ========================================== */

/* 전체 영역 */
.heml-hotissue {
    width: 100%;
    max-width: 520px;
    padding: 28px 24px 32px;
    background: #000;
    color: #fff;
    box-sizing: border-box;
}

.heml-hotissue * {
    box-sizing: border-box;
}

.heml-hotissue__news {
    min-width: 0;
}

/* ==========================================
   Hot Issue 제목
   ========================================== */

.heml-hotissue__heading {
    margin: 0 0 22px;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

/* ==========================================
   슬라이드 전환
   ========================================== */

.heml-hotissue__slides {
    display: grid;
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
}

/* 모든 게시물을 같은 위치에 겹침 */
.heml-hotissue .heml-hotissue__slide {
    grid-area: 1 / 1;
    display: block;
    min-width: 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateX(12px);

    transition:
        opacity 0.75s ease-in-out,
        transform 0.75s ease-in-out,
        visibility 0s linear 0.75s;
}

/* 현재 게시물만 표시 */
.heml-hotissue .heml-hotissue__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(0);

    transition:
        opacity 0.75s ease-in-out,
        transform 0.75s ease-in-out,
        visibility 0s;
}

/* ==========================================
   게시물 이미지
   ========================================== */

.heml-hotissue__image {
    width: 100%;
    aspect-ratio: 2 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: #171717;
}

/* 이미지를 영역 전체에 꽉 채워 표시 */
.heml-hotissue__image img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

/* ==========================================
   게시물 제목
   ========================================== */

.heml-hotissue__title {
    margin: 18px 0 12px;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

/* ==========================================
   게시물 상세내용
   ========================================== */

.heml-hotissue__description {
    margin: 0;
    color: #aaa;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;

    white-space: pre-line;
    overflow-wrap: anywhere;
    word-break: keep-all;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================
   more + 링크
   ========================================== */

.heml-hotissue__more {
    display: inline-block;
    margin-top: 22px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
}

.heml-hotissue__more:hover {
    color: #ccc;
}

/* ==========================================
   슬라이드 컨트롤
   ========================================== */

.heml-hotissue__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
}

/* 좌우 화살표 */
.heml-hotissue__arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    padding: 0;

    border: 1px solid #666;
    border-radius: 50%;

    background: transparent;
    color: #fff;
    font-size: 16px;
    cursor: pointer;

    transition: background 0.25s ease;
}

.heml-hotissue__arrow:hover {
    background: #333;
}

/* 슬라이드 위치 표시 */
.heml-hotissue__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.heml-hotissue__dot {
    width: 8px;
    height: 8px;
    padding: 0;

    border: none;
    border-radius: 10px;

    background: #666;
    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.heml-hotissue__dot.is-active {
    width: 20px;
    background: #fff;
}

/* ==========================================
   Contact Us
   ========================================== */

.heml-hotissue__contact {
    border-top: 1px solid #444;

    margin-top: 35px;
    margin-left: 14px;
    margin-right: 0;

    padding-top: 56px;
    padding-bottom: 8px;
}

/* Contact Us 제목 + 화살표 */
.heml-hotissue__contact-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.heml-hotissue__contact-header h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

/* 원형 화살표 */
.heml-hotissue__contact-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;
    flex-shrink: 0;

    border-radius: 50%;
    background: #6b6b63;
    color: #fff;
    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.heml-hotissue__contact-link:hover {
    background: #c90065;
    color: #fff;
    transform: translateX(2px);
}

.heml-hotissue__contact-link svg {
    width: 18px;
    height: 18px;
}

/* ==========================================
   Contact Us 연락처
   ========================================== */

.heml-hotissue__contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
    color: #fff;
}

/* 위치, 전화, 이메일 아이콘 */
.heml-hotissue__contact-item svg {
    display: block;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    color: #fff;
}

/* 연락처 텍스트 */
.heml-hotissue__contact-item span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* ==========================================
   모바일 반응형
   ========================================== */

@media (max-width: 600px) {

    .heml-hotissue {
        max-width: 100%;
        padding: 24px 18px;
    }

    .heml-hotissue__heading {
        font-size: 26px;
    }

    .heml-hotissue__title {
        font-size: 18px;
    }

    .heml-hotissue__description {
        font-size: 14px;
    }

    .heml-hotissue__contact {
        margin-left: 0;
        padding-top: 35px;
    }

    .heml-hotissue__contact-header h2 {
        font-size: 26px;
    }

    .heml-hotissue__contact-item span {
        font-size: 13px;
    }

    .heml-hotissue__contact-item svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================
   접근성 - 움직임 최소화
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .heml-hotissue .heml-hotissue__slide {
        transition: none;
        transform: none;
    }

}
