.top-container {
    position: relative;
    color: #222;
    min-width: 1200px;
    max-width: 1920px;
    width: 100%;
    height: 100dvh;
    background: url(/uploads/images/main_img_01.jpg) no-repeat center center;
    background-size: cover;
}

.home-global-search {
    width: 100%;
	display: flex;
    justify-content: center;  /* 가로 가운데 */
    align-items: center;      /* 세로 가운데 */
    height: 100vh;            /* 화면 전체 높이 */
	flex-direction:column;
	margin:0 auto;
}

.home-global-search__form {
    max-width: 800px;
	width:100%;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.home-global-search__input {
    flex: 1 1 auto;
    height: 70px;
    padding: 0 14px;
    border: 1px solid #d7dbe2;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
}

.home-global-search__input:focus {
    border-color: #9bb3ff;
    box-shadow: 0 0 0 3px rgba(20, 52, 123, .08);
}

.home-global-search__btn {
    height: 70px;
    padding: 0 40px;
    border: 0;
    border-radius: 10px;
    background: #14347b;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.home-global-search__btn:disabled {
    opacity: 1;
    cursor: not-allowed;
}

.home-global-search__btn:hover {
    background: #01154d;
}

/* 공통 유틸 */
.home-section-divider {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 40px 0;
}

/* -------- Hero -------- */
.home-container__title {
    margin: 0 0 6px;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 2px rgba(0, 0, 0, .8);
    text-align: center;
}

.home-container__subtitle {
    margin: 0 0 14px;
    color: #fff;
    text-shadow: 0 2px 2px rgba(0, 0, 0, .8);
    text-align: center;
    font-weight: 300;
}

.home-container__cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.home-container__btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #ffffff;
    text-decoration: none;
    color: #ffffff;
    background: #001255;
    transition: transform .12s ease, box-shadow .12s ease;
}

.home-container__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.home-container__btn:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

.home-container__btn.primary {
    background: #111111;
    color: #ffffff;
    border-color: #ffffff;
}

.home-container__btn.ghost {
    background: transparent;
}

/* -------- Quick Cards -------- */
.home-container__grid {
    margin: 16px auto 6px;
    max-width: 1200px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
}

.home-container__card {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #ffffff;
    text-decoration: none;
    color: #222222;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.home-container__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    border-color: #dddddd;
}

.home-container__card:focus-visible {
    outline: 2px solid #111111;
}

.home-container__card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.home-container__card p {
    margin: 0;
    color: #666666;
    font-size: 14px;
}

/* -------- Stats -------- */
.home-container__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 14px auto 18px;
    max-width: 1200px;
}

.home-container__stats > div {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-container__stats b {
    color: #333333;
}

.home-container__stats span {
    font-weight: 800;
}

/* -------- Latest Listings -------- */
.home-container__panel {
    background: #ffffff;
    margin: 30px auto;
    max-width: 1200px;
}

.home-container__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.home-container__panel-head h3 {
    margin: 0;
    font-size: 16px;
}

.home-container__link {
    font-size: 13px;
    color: #555555;
    text-decoration: none;
}

.home-container__link:hover {
    text-decoration: underline;
}

.home-container__list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-container__item a {
    display: flex;
    gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    color: #222222;
    background: #ffffff;
    transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}

.home-container__item a:hover {
    border-color: #dddddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    transform: translateY(-1px);
}

.home-container__item a:focus-visible {
    outline: 2px solid #111111;
}

.home-container__item img {
    width: 100px;
    height: 76px;
    flex: 0 0 auto;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    background: #ffffff;
}

.home-container__item-title {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.35;
}

.home-container__item-sub {
    font-size: 13px;
    color: #444444;
}

.home-container__empty {
    color: #666666;
    padding: 8px;
    border: 1px dashed #e5e7eb;
    border-radius: 8px;
    text-align: center;
    grid-column: 1 / -1;
}

/* 썸네일 contain 모드(원본 전부 표시, 정중앙) — li에 thumb-contain 추가 */
.home-container__item.thumb-contain img {
    object-fit: contain;
    background: #ffffff;
}

/* -------- Banners -------- */
.home-container__banner {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
}

.home-container__banner-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
}

.home-container__banner-item b {
    font-size: 14px;
    color: #333333;
}

.home-container__banner-item span {
    font-size: 13px;
    color: #555555;
    padding-left: 25px;
}

/* -------- FAQ (Accordion) -------- */
.home-container__accordion {
    display: grid;
    gap: 8px;
}

.home-container__acc-btn {
    text-align: left;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    background: #ffffff;
    cursor: pointer;
    font: inherit;
    transition: border-color .12s ease, box-shadow .12s ease;
}

.home-container__acc-btn:hover {
    border-color: #dddddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.home-container__acc-btn:focus-visible {
    outline: 2px solid #111111;
}

.home-container__acc-panel {
    display: none;
    border-left: 3px solid #111111;
    padding: 8px 12px;
    background: #fcfcfc;
    border-radius: 4px;
}

.home-container__acc-panel.show {
    display: block;
}

/* -------- Partners -------- */
.home-container__partners .home-container__logo-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.home-container__logo-row .partner {
    display: inline-flex;
    justify-content:center;
    gap: 10px;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 8px 12px;
    background: #ffffff;
    text-decoration: none;
    color: #333333;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.home-container__logo-row .partner:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    border-color: #dddddd;
}

.home-container__logo-row img {
    height: 60px;
    width: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    flex: 0 0 auto;
}

.partner__caption {
    color: #666666;
}

.partner__caption em {
    font-style: normal;
    color: #666666;
    font-size: 12px;
}

/* -------- Equip Tabs 위젯과의 간격 -------- */
.equip-tabs {
    margin-bottom: 18px;
}

/* -------- 인터랙션 선호도 -------- */
@media (prefers-reduced-motion: reduce) {
    .home-container * {
        transition: none !important;
        animation: none !important;
    }
}

/* 파트너 로고 3열 강제(반응형 계산 포함) */
.home-container__partners .home-container__logo-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.home-container__partners .home-container__logo-row > * {
    flex: 0 0 calc((100% - 40px) / 5);
    box-sizing: border-box;
}

/* (원문 하단에 있던 재정의) 리스트 2열 */
.home-container__list {
    grid-template-columns: repeat(2, 1fr);
}
.highlight{margin:30px auto; max-width:1200px}
@media (max-width: 1200px) {
	.top-container{
		min-width:100%;
		width:100%;
	}
	.highlight,
	.home-container__panel,
	.home-container__grid{
		padding:0 10px;
	}
}
/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
    .home-container__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-container__banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-container {
		max-width:100%;
		min-width:100%;
        background: url(/uploads/images/main_img_m.jpg) no-repeat center center;
		background-size:cover;
    }
    .home-container__logo-row .partner {
        padding: 5px;
    }
    .home-global-search {
        position: relative;
        z-index: 10;
        padding-top: 50px;
        padding-bottom: 20px;
    }
    .home-global-search__form {
        padding: 10px;
        width: 100%;
        margin: 0;
        gap: 0;
    }
    .home-global-search__input {
        height: 52px;
        font-size: 15px;
        width: 80%;
        border-radius: 0;
        border-right: 0;
    }
    .home-global-search__btn {
        height: 52px;
        padding: 0 5px;
        width: 20%;
        border-radius: 0;
    }
    .other-layout {
        padding: 0 10px;
    }
	.home-container__partners .home-container__logo-row > * {
		flex: 0 0 calc((100% - 30px) / 4);
		box-sizing: border-box;
	}
}

@media (max-width: 720px) {
    .home-container__item img {
        width: 92px;
        height: 70px;
    }
}

@media (max-width: 490px) {
    .home-container__logo-row img {
        width: 100%;
        height: auto;
    }
	.home-container__partners .home-container__logo-row > * {
		flex: 0 0 calc((100% - 20px) / 3);
		box-sizing: border-box;
	}
}
