/* 전체 영역 */
.shovel-brief {
    position: relative;
    background: #f8f9fc;
    border-top: 1px solid #e2e5ec;
    border-bottom: 1px solid #e2e5ec;
    font-family: inherit;
    z-index: 10;
}

.shovel-brief__inner {
    margin: 0 auto;

    position: relative;
    display: flex;
    align-items: stretch;
    gap: 16px;
}

/* 본문 영역 */

/* =========================== */
/*   PC : 4개 flex 고정        */
/* =========================== */
.shovel-brief__grid {
    display: flex;
    width: 100%;
    border-left: 1px solid #e2e5ec;
    border-right: 1px solid #e2e5ec;
    background: #fff;
    overflow: hidden; /* 넘침 방지 */
}
.shovel-brief__body{
    width: 100%;
}
.brief-card {
    flex: 0 0 25%;         /* 정확히 25% */
    max-width: 25%;
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-left: 1px solid #e2e5ec;
    box-sizing: border-box; /* padding + border 포함 */
    min-height: 70px;
}

.brief-card:first-child {
    border-left: 0;
}

/* 빈 칸 */
.brief-card--ghost {
    visibility: hidden;
}

/* 빈칸 안내 */
.brief-card--empty {
    justify-content: center;
    text-align: center;
    color: #999;
    font-size: 13px;
    flex: 0 0 100%;
}

/* 아이콘 영역 */
.brief-card__icon-wrap {
    flex: 0 0 auto;
    margin-right: 10px;
}

.brief-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* 텍스트 영역 */
.brief-card__content {
    flex: 1 1 auto;
    min-width: 0;
}

.brief-card__title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brief-card__title:hover {
    text-decoration: underline;
}

.brief-card__meta {
    margin-top: 4px;
    font-size: 12px;
    color: #777;
    display: flex;
    align-items: center;
}

.brief-card__cat {
    color: #2254f5;
    font-weight: 500;
}

.brief-card__dot {
    margin: 0 4px;
}

/* =========================== */
/*    토글 버튼                 */
/* =========================== */
.shovel-brief__toggle {
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #d3d7e3;
    background: #ffffff;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.shovel-brief__toggle-icon {
    position: relative;
    width: 8px;
    height: 8px;
}

.shovel-brief__toggle-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-left: 2px solid #555;
    border-top: 2px solid #555;
    transform: rotate(45deg) translateY(1px);
}

.shovel-brief--collapsed .shovel-brief__body {
    display: none;
}

.shovel-brief--collapsed .shovel-brief__toggle-icon::before {
    transform: rotate(225deg) translateY(-1px);
}
.brief-card__cat { display: none !important; }
/* 스크린리더 숨김 */
.blind {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}
.brief-card__thumb {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 6px;
    background: #f1f1f1;
}

.brief-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* =========================== */
/*   태블릿 : 2개 x 2줄         */
/* =========================== */
@media (max-width: 992px) {
    .shovel-brief__inner {
        flex-direction: column;
      
        gap: 8px;
    }

    .shovel-brief__grid {
        flex-wrap: wrap;
        display: none;
    }
    .news-ticker-swiper-design{
        display: none;
    }

    .brief-card {
        flex: 0 0 50%;
        max-width: 50%;
        border-left: 0;
        border-top: 1px solid #e2e5ec;
    }

    .brief-card:nth-child(1),
    .brief-card:nth-child(2) {
        border-top: 0;
    }
}

/* =========================== */
/*   모바일 : 1열 세로          */
/* =========================== */
@media (max-width: 576px) {
    .brief-card {
        flex: 0 0 100%;
        max-width: 100%;
        border-top: 1px solid #e2e5ec;
    }

    .brief-card:nth-child(1) {
        border-top: 0;
    }

    .brief-card__title {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
