@font-face {
  font-family: "GeekbleMalrangiche";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/GeekbleMalang2WOFF2.woff2")
    format("woff2");
  font-weight: normal;
  font-display: swap;
}

:root {
  --padding-top: 2rem;
  --padding-bottom: 5rem;
  --common-width: 720px;
  --brand-color: #13213E;
  --brand-color2: #028BFD;
  --color-light: #E4F3FE;
  --color-dark: #333;
  --color-gray: #B3B3B3;
  --color-bg-gray: #F4F4F4;
  --border-color: #EDEDED
}
.color {
  color: var(--brand-color);
}

/* ëª¨ë‹¬ ì—´ë¦´ ë•Œ body ìŠ¤í¬ë¡¤ ë°©ì§€ */
.not_scroll {
  overflow: hidden !important;
}

/* í´ë¦­ì‹œ íŒŒëž€ë°•ìŠ¤ ë°©ì§€ */
* {
  -webkit-tap-highlight-color: transparent;
}

body::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}
body::-webkit-scrollbar-thumb {
  height: 30%;
  background: rgba(128, 117, 105, 0.5);
  border-radius: 0.3rem;
}
body::-webkit-scrollbar-track {
  background: rgba(128, 117, 105, 0.3);
}

html, body {
  background: #fff;
}

header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
  height: 6.2rem;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid #dadee0;
}
header .container {
  width: 100%;
  height: 100%;
  padding: 0;
}
header .hd-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  position: relative;
  width: 100%;
  height:100%;
}

header .hd-title {
  width: 100%;
  height: 100%;
}

header .hd-title a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 2rem;
}
header .hd-title .icon {
  width: 1rem;
  flex-shrink: 0;
  /* position: absolute; */
  /* left: 4rem; */
  /* top: 50%; */
  /* transform: translateY(-50%); */
}

header .hd-title strong {
  flex: 1;
  color: var(--color-dark);
  font-family: Inter;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  margin-left: -1rem;
}

header.is-home .hd-title strong {
  margin-left: 0;
}


#footer {
  position: fixed;
  gap: 10px;
  width: 100%;
  height: 7.75rem;
  left: 0px;
  bottom: 0;
  background: #FFFFFF;
  box-shadow: 10px 0px 7px rgba(0, 0, 0, 0.1);
}

.footer-menu-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.footer-menu-bar li {
  flex: 1;
  flex-shrink: 0;
  height: 100%;
}

.footer-menu-bar li a {
  filter: grayscale(1) brightness(1.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 0.4rem
}

.footer-menu-bar li a.is-current {
  filter: none;
}

.footer-menu-bar li a .icon {}

.footer-menu-bar li a h5 {
  color: var(--brand-color2)
}


body > div, body > section {
  max-width: 600px;
  margin: 0 auto
}

#wrap {
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: #fff;
  /* padding-bottom: 10rem; */
}
main {
  flex: 1;
  min-height: 0;
}
main > .container {
  display: flex;
  flex-direction: column;
}
.container {
  width: 100%;
  min-height: 100dvh;
  padding:5.4rem 2rem 13.15rem;
  margin: 0 auto;
}

.sub-title {
  font-family: Inter;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--brand-color);
  margin-bottom: 2.4rem;
}

.title-head {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.title-head .icon {
  width: 3rem;
}

.title-head h2 {
  color: var(--brand-color);
  font-family: Inter;
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0%;
}

.desc {
  font-family: Inter;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0%;
  color: var(--color-gray)
}

.headline_box .headline {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}
.headline_box .headline b {
  color: #074acb;
}
.headline_box .sub_headline {
  font-size: 2rem;
  font-weight: 700;
}

/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 3.2rem 0 2.4rem;
}
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.6rem;
  height: 3.6rem;
  padding: 0 0.8rem;
  border-radius: 100rem;
  font-size: 1.6rem;
  color: #9b9b9b;
  text-decoration: none;
  background: none;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
  font-weight: bold;
}
.pg-btn:hover:not(:disabled) {
  background: #f5f5f5;
}
.pg-btn.active {
  background: #f4f4f4;
  border-color: #f4f4f4;
  font-weight: 600;
  pointer-events: none;
}
.pg-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.pg-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.6rem;
  height: 3.6rem;
  font-size: 1.4rem;
  color: #aaa;
}
.pg-btn.arrow {
  color: #9b9b9b;
}
.pg-btn.disabled {
  opacity: 0.2;
  pointer-events: none;
  cursor: default;
}

/* center information */
.inform ul li {
  display: flex;
  margin-bottom: 2rem;
  align-items: center;
}
.inform ul li img {
  width: 1.3rem;
  margin-right: 1rem;
  flex-shrink: 0;
}
.inform ul li p {
  color: #777;
  font-size: 1.3rem;
  word-break: keep-all;
  min-width: 0;
  flex: 1;
  line-height: 1.6rem;
}

/* map */
.map {
  height: 30rem;
  background: #f5f6f8;
  margin-bottom: 3rem;
  overflow: hidden;
}

/* buttons */
.btn,
.btn2 {
  position: static;
  transform: none;
  width: 100%;
  display: flex;
  gap: 1.5rem;
}
.btn a,
.btn2 a,
.btn button,
.btn2 button {
  display: grid;
  background: var(--brand-color);
  border-radius: 1.5rem;
  height: 4.3rem;
  text-align: center;
  letter-spacing: 0.001rem;
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  flex: 1;
  font-weight: 800;
  margin: 0 auto;
  margin-top: 2rem;
  max-width: 23.6rem;
  place-items: center;
}
.btn2 a:hover,
.btn2 a:active,
.btn2 button:hover,
.btn2 button:active {
  background: #6a50d0;
}
.btn2 a:first-child,
.btn2 button:first-child {
  background: #7c7c7c;
  color: #fff;
  flex: 1;
}
.btn2 a:first-child:hover,
.btn2 button:first-child:hover {
  background: #7c7c7c;
}
.btn2 a:last-child,
.btn2 button:last-child {
  flex: 2;
}

/*********************
     아코디언 공통 
*********************/
.accordion-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1.2rem;
}

/* 개별 아코디언 아이템 영역 */
.accordion-item {
  width: 100%;
}
/* 아코디언 탭 (클릭 영역 전체) */
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.7rem 2.4rem;
  background: var(--color-light);
  border-radius: 1.5rem;
  margin: 0;
  width: 100%;
  gap: 1.4rem;
  transition: 0.8s ease;
}

.accordion-header.is-active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transition: none;
}

/* 탭 좌측 제목 */
.accordion-header .left {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
  gap: 1.4rem;
}
.accordion-header .left span {
  line-height: 1.4;
  flex-shrink: 0;
  font-family: Inter;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0%;
  color: var(--brand-color);
}
.accordion-header .left h3 {
  font-family: Pretendard;
  font-weight: 400;
  font-size: 1rem;
  color: #1a1a1a;
  flex: 1;
  text-align: left;
  line-height: 1.6;
}

/* 탭 우측 아이콘 (+, -) */
.accordion-header .icon {
  width: 1rem;
  flex-shrink: 0;
}

.accordion-header .icon img {
    transition: transform 0.2s ease;
}

.accordion-header .icon img.is-open {
    transform: rotate(180deg);
}

/* 펼쳐지는 내용 패널 영역 */
.accordion-panel {
    display: none;
    padding: 1.7rem 4.8rem;
    border-bottom-left-radius: 1.5rem;
    background: #EDF5FF;
    border-bottom-right-radius: 1.5rem;
}

.accordion-panel b {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
  color: #222;
  font-size: 1.5rem;
}

/* (내용 내) 혈중알코올농도 정보 영역 */
.accordion-panel .bac-info strong {
  font-size: 1.4rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.6rem;
  display: block;
}

/* (내용 내) 관련 처벌 등 상세 내용 영역 */
.accordion-panel .content-info {
    font-family: Pretendard;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0%;
    color: var(--color-gray);
}


/*************************
        하단 링크 공통
*************************/
.link-wrap {
  width: 100%;
  margin-top: 4rem;
}
.link-wrap a {
  display: flex;
  width: 100%;
  padding: 2rem;
  background: #2b8a3d;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
}

.link-wrap a h4 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.01rem;
  color: #fff;
}
.link-wrap a .icon {
  width: 2rem;
}

/**********************
        box 공통
**********************/
.box {
  border-radius: 1.5rem;
  background: #fff;
  overflow: hidden;
}
.box.br5 {
  border-radius: 0.5rem;
}

.pdd24 {
  padding: 2.4rem
}

.pdd16 {
  padding: 1.6rem
}

.border {
  border: 0.5px solid var(--border-color)
}

.box-shadow {
  box-shadow: 0.2rem 0.2rem 0.4rem -0.2rem #0000002E;
}

.grid1 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.2rem;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

/****************
  flex property
****************/
.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.al-ct {
  align-items: center;
}

.al-fs {
  align-items: flex-start;
}

.al-fe {
  align-items: flex-end;
}

.js-ct {
  justify-content: center;
}

.js-fs {
  justify-content: flex-start;
}

.js-fe {
  justify-content: flex-end;
}

/****************
  gap property
****************/
.gap16 {
  gap: 1.6rem !important;
}

.gap24 {
  gap: 2.4rem !important;
}

/******************
  margin property
******************/
.mb16 {
  margin-bottom: 1.6rem !important;
}
/* 
li:has(.ads_infeed), .ads_infeed {
  display: none;
} */


/******************
  text property
*******************/
.one-line-ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.multi-line-ellipsis {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}


.date-picker-bar {
    position: relative;
    width: 100%;
    height: 6.3rem;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    box-sizing: border-box;
    border-radius: 1rem;
}

.date-nav-btn {
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.date-nav-btn span {
    font-size: 2.4rem;
    line-height: 1;
    color: #222;
}

.date-nav-btn:disabled {
    cursor: default;
    opacity: 0.35;
}

.date-display-btn {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 0;
    flex: 1;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

/* iOS Safari: showPicker()/프로그래매틱 click 대신 실제 터치가 native input에 닿도록 오버레이 */
.date-display-hitbox {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.4rem;
    text-align: center;
}

.date-display-hitbox #selectedDateText {
    pointer-events: none;
}

.date-display-hitbox .date-picker-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: auto;
    cursor: pointer;
    font-size: 2rem;
    -webkit-appearance: none;
    appearance: none;
}

#selectedDateText {
    display: inline-block;
    font-size: 2rem;
    line-height: 1;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.01rem;
}

.date-picker-input {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 0.1rem;
    height: 0.1rem;
    opacity: 0;
    pointer-events: none;
}

/**********************
    로딩 마스크
**********************/
#loading-mask {
    position: fixed;
    z-index: 999;
    inset: 0;
    background: #fff;
}

.match-ad-item {
    list-style: none;
    margin: 0;
    padding: 0;
}