@charset "utf-8";
:root {
  --main: url(../img/main/main.svg?v1.2) no-repeat 0 0;
  --main-60: -60px;
  --main92: 92px;
  --main-92: -92px;
  --color-white: #fff;
  --color-text-dark: #333;
  --color-text-gray: #666;
  --color-bg-light: #f4f5f6;
}
/* ================= 레이아웃 ================= */
.main-nav {
  border-top: none;
  border-bottom: none;
}
#contents {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
}
.top-con .inner,
.btm-con {
  display: flex;
  gap: 32px;
}
/* ================= 팝업존 ================= */
#pzone {
  position: relative;
  width: calc(100% - 420px);
  /* height 고정값 대신 비율(aspect-ratio)을 지정합니다. */
  /* 배너 이미지 원본 규격에 맞게 비율을 지정하세요 (예: 16 / 9, 800 / 440 등) */
  aspect-ratio: 800 / 440; 
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg-light);
}

#pzone .popupSwiper {
  width: 100%;
  height: 100%;
}

#pzone .swiper-slide {
  height: 100%;
}

#pzone .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 또는 원본 왜곡 없이 가득 채우려면 cover 유지 */
  display: block;
}
#pzone .popup-controls {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: #ffffff;
  padding: 15px 30px;
  border-radius: 0 24px 0 0;
  z-index: 10;
}
#pzone .ctrl-label {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-right: 10px;
}
#pzone .btn-popup-prev,
#pzone .btn-popup-next {
  background: none;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s;
}
#pzone .btn-popup-prev:hover,
#pzone .btn-popup-next:hover {
  opacity: 0.6;
}
#pzone .popup-pagination {
  font-size: 15px;
  font-weight: 600;
  color: #555;
  letter-spacing: 2px;
  position: static;
  width: auto;
}
#link-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 420px;
}
#link-btn::after {
  display: block;
  content: "";
  position: absolute;
  left: -245px;
  bottom: 0;
  width:269px;
  height:215px;
  background: url('../img/main/character.png') left top no-repeat;
  z-index: 10;
}
#link-btn a {
  position: relative;
  display: flex;
  flex: 1;
  padding: 6px;
  align-items: center;
  color: var(--color-white);
  font-size: 24px;
  background: var(--krds-color-light-primary-50);
  border-radius: 12px;
  overflow: hidden;
}
#link-btn a::after {
  content: "Geomdan  Life long lecture";
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0.8;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 0 0 0 17px;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
}
#link-btn a::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 8px;
  background: linear-gradient(140deg, var(--color-white) 0%, rgba(255, 255, 255, 0) 20%);
}
#link-btn a div {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  height: 100%;
  padding: 40px;
  background: var(--krds-color-light-primary-50);
  border-radius: 6px;
  z-index: 1;
}
#link-btn a div::after {
  content: "";
  position: absolute;
  right: 38px;
  top: 50%;
  margin-top: -24px;
  width: 48px;
  height: 48px;
  border: 7px solid var(--color-white);
  border-radius: 50%;
  background-image: url(/lll/img/main/main.svg);
  background-position: -107px -7px;
  background-color: var(--krds-color-light-primary-50);
}
#link-btn a div::before {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  margin-top: -36px;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}
#link-btn a.club div::after {
  background-color: var(--krds-color-light-secondary-50);
}
#link-btn a span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  opacity: 0.8;
}
#link-btn a.club,
#link-btn a.club div {
  background: var(--krds-color-light-secondary-50);
}
/* ================= 공지사항 ================= */
#notice {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 24px;
}
/* 탭 버튼 그룹 */
.notice-tabs {
  display: flex;
  position: relative;
}
#notice .tab {
  position: relative;
  display: block;
  padding: 12px 32px 11px;
  color: #666;
  font-size: 28px;
  font-weight: normal;
  z-index: 1;
}
#notice .tab::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 35px;
  width: 16px;
  height: 2px;
  background: #eeeeee;
  transform: rotate(107deg);
}
#notice .tab-title:first-child .tab::before {
  display: none;
}
#notice .tab-title.select .tab {
  color: var(--krds-color-light-primary-60, #333);
  font-weight: 700;
}
.notice-contents {
  width: 100%;
}
#notice .list {
  display: none;
  width: 100%;
  padding-top: 24px;
  border-top: 2px solid #333;
}
#notice .list.active {
  display: block;
}
#notice .list .wrap {
  display: flex;
  align-items: center;
}
#notice .list-recent {
  width: 100%;
  max-width: 740px;
}
#notice .list-recent a {
  display: flex;
  gap: 28px;
  padding: 0 40px 0 12px;
  text-decoration: none;
}
#notice .list-recent a:hover .con {
  text-decoration: underline;
}
#notice .list-recent .date {
  position: relative;
  flex: 0 0 auto;
}
#notice .list-recent .date p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100px;
  padding: 10px 20px;
  border-radius: 20px;
  background: #eef2f7;
}
#notice .list-recent .date::after {
  content: "N";
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  right: -10px;
  top: -7px;
  width: 30px;
  height: 30px;
  padding-top: 1px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 32px;
  background: #f33261;
}
#notice .list-recent .date span {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1.5px;
}
#notice .list-recent .con {
  flex: 1 1 auto;
  width: 100%;
  overflow: hidden;
}
#notice .list-recent .tit {
  display: -webkit-box;
  margin-bottom: 15px;
  font-size: 20px;
  text-overflow: ellipsis;
  height: 60px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#notice .list-recent .txt {
  display: -webkit-box;
  color: #666;
  text-overflow: ellipsis;
  font-size: 15px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#notice .list ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 10px 20px 40px;
  border-left: 1px dashed #b9c8da;
}
#notice .list ul li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#notice .list ul a {
  position: relative;
  display: block;
  padding-left: 20px;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  color: #333;
}
#notice .list ul a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #444;
}
#notice .list ul li span {
  font-size: 15px;
  color: #666;
}
#notice .more {
  position: absolute;
  right: 24px;
  top: 14px;
  display: none;
  width: 28px;
  height: 28px;
  background: var(--main);
  background-position: -24px 0;
  transition: transform 0.3s;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  z-index: 10;
}
#notice .more.active {
  display: block;
}
#notice .more:hover {
  transform: rotate(90deg);
}
/* ================= 강좌 검색 ================= */
.lecture-section {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 1px;
}
.lecture-search-box {
  position: absolute;
  left: 24px;
  background-color: var(--krds-color-light-primary-60);
  color: var(--color-white);
  border-radius: 12px;
  padding: 52px 48px;
  width: 453px;
  height: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.lecture-search-box h3 {
  font-size: 28px;
  margin-bottom: 30px;
  word-break: keep-all;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--color-white);
  padding-bottom: 10px;
  width: 220px;
}
.search-input-wrap input {
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 16px;
  width: 100%;
  outline: none;
}
.search-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.search-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--color-white);
}
.lecture-list-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(100% - 300px);
  padding-top: 20px;
}
.swiper-nav-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 24px;
}
.btn-prev,
.btn-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white) url("/lll/img/main/main.svg") -380px 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}
.btn-prev:hover,
.btn-next:hover {
  background-color: #f0f0f0;
}
.btn-prev {
  transform: scaleX(-1);
}
.swiper {
  width: 100%;
  height: 100%;
}
.lecture-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.card-top {
  padding: 36px 28px;
}
.card-top .tags {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  align-items: center;
}
.tags .category {
  width: 100%;
  color: var(--krds-color-light-primary-60);
  font-size: 17px;
}
.tags .status {
  padding: 3px 12px 2px;
  border-radius: 16px;
  font-size: 13px;
}
.status.active {
  background-color: var(--krds-color-light-primary-60);
  color: var(--color-white);
}
.status.closed {
  background-color: #f0f0f0;
  color: #888;
}
.card-title {
  height: 53px;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
  word-break: keep-all;
  -webkit-line-clamp: 2;
}
.card-info {
  font-size: 13px;
  color: #555;
}
.card-info div {
  margin-top: 4px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 15px;
}
.card-info div p {
  display: flex;
  gap: 4px;
}
.card-info div i {
  width: 14px;
  text-align: center;
  color: var(--color-text-dark);
}
.card-info div span {
  color: #222;
}
.btn-detail {
  display: block;
  text-align: center;
  background-color: #fafafa;
  border-radius: 0 0 12px 12px;
  padding: 16px 0;
  font-size: 16px;
  color: var(--color-text-gray);
  transition: background-color 0.2s;
}
.btn-detail:hover {
  background-color: #eee;
}
/* ================= 하단 콘텐츠 (자주 찾는 메뉴, 안내) ================= */
.sns,
.guide {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px;
  max-width: 740px;
  width: 100%;
  border-radius: 12px;
}
.sns {
  border: 6px solid var(--color-bg-light);
}
.sns h3 {
  display: flex;
  justify-content: space-between;
  font-size: 28px;
  font-weight: normal;
  align-items: center;
}
.sns h3 span {
  font-size: 17px;
  color: #888;
}
.sns ul {
  display: inline-grid;
  padding: 0 20px;
  row-gap: 20px;
  column-gap: 20px;
  align-self: stretch;
  grid-template-rows: repeat(1, fit-content(100%));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
}
.sns ul li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12rem;
  grid-row: span 1;
  grid-column: span 1;
  justify-self: stretch;
  font-size: 17px;
  letter-spacing: -0.17px;
}
.sns ul li a {
  display: block;
  padding-top: 106px;
  word-break: keep-all;
}
.sns ul li a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  width: var(--main92);
  height: var(--main92);
  border-radius: 36px;
  background: #f5f5ff var(--main);
  transition: top 0.3s;
}
.sns ul li:nth-child(1) a::before {
  background-position: var(--main-92) var(--main-60);
}
.sns ul li:nth-child(2) a::before {
  background-position: calc(var(--main-92) * 2) var(--main-60);
}
.sns ul li:nth-child(3) a::before {
  background-position: calc(var(--main-92) * 3) var(--main-60);
}
.sns ul li:nth-child(4) a::before {
  background-position: calc(var(--main-92) * 4) var(--main-60);
}
.sns ul li a:hover::before {
  top: -10px;
}
.guide {
  background: #f5f5ff;
}
.guide h3 {
  font-size: 28px;
  font-weight: normal;
}
.guide .guide_con {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}
.guide .guide_con div {
  position: relative;
  flex: 1;
  padding-top: 64px;
  word-break: keep-all;
  text-align: center;
}
.guide .guide_con div::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  width: 48px;
  height: 48px;
}
.guide .guide_con div.map::before {
  background: url("/lll/img/main/guide_map.svg");
}
.guide .guide_con div.phone::before {
  background: url("/lll/img/main/guide_phone.svg");
}
.guide .guide_con div.map {
  font-size: 18px;
  border-right: 1px dashed #989898;
}
.guide .guide_con div.map a {
  margin-top: 8px;
  padding: 4px 36px;
  color: var(--color-white);
  display: inline-block;
  background: #a14dff;
  border-radius: 35px;
  transition: background-color 0.2s;
}
.guide .guide_con div.map a:hover {
  background: #582493;
}
.guide .guide_con div.phone {
  font-size: 16px;
}
.guide .guide_con div.phone p {
  font-size: 24px;
  font-weight: 700;
}
/* ================= 반응형 ================= */
@media (max-width: 1399px) {
  #contents {
    gap: 20px;
  }
  .top-con .inner,
  .btm-con {
    flex-direction: column;
  }
  #pzone {
    width: 100%;
  }
  #link-btn {
    flex-direction: row;
    width: 100%;
  }
  #link-btn::after {
    display: none;
  }
  #link-btn a div::after,
  #link-btn a div::before {
    display: none;
  }
  #notice .list .wrap {
    flex-direction: column;
  }
  #notice .list-recent {
    max-width: none;
  }
  #notice .list-recent .tit {
    height: auto;
  }
  #notice .list ul {
    width: 100%;
    padding: 20px 10px 20px 12px;
    border-left: none;
    border-top: 1px dashed #b9c8da;
    margin-top: 20px;
    gap: 10px;
  }
  .lecture-section {
    flex-direction: column;
  }
  .lecture-search-box {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-radius: 50px;
  }
  .lecture-search-box h3 {
    margin-bottom: 0;
    font-size: 20px;
  }
  .search-input-wrap {
    border-bottom: none;
    padding-bottom: 0;
    width: 50%;
  }
  .lecture-list-wrap {
    width: 100%;
  }
  .sns,
  .guide {
    max-width: none;
    width: 100%;
  }
}
@media (max-width: 768px) {
  #pzone {
    /* height: 300px; */
    height: auto;
  }
  #pzone .popup-controls {
    padding: 0px 12px;
    border-radius: 0 16px 0 0;
    gap: 10px;
  }
  #pzone .ctrl-label {
    font-size: 14px;
    margin-right: 5px;
  }
  #pzone .popup-pagination {
    font-size: 13px;
  }
  #link-btn {
    flex-direction: column;
    gap: 8px;
  }
  #link-btn a::after {
    font-size: 10px;
    padding: 6px 13px;
  }
  #link-btn a div {
    font-size: 18px;
    padding: 24px 28px;
  }
  #link-btn a span {
    font-size: 12px;
    margin-top: 4px;
  }

  #notice .tab {
    font-size: 20px;
    padding: 12px 16px 12px;
  }
  #notice .list-recent .tit {
    margin-bottom: 10px;
    font-size: 16px;
  }
  #notice .list-recent .txt {
    font-size: 14px;
  }
  #notice .list ul li span {
    display: none;
  }
  #notice .list .wrap {
    flex-direction: column;
  }
  #notice .list ul {
    width: 100%;
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
  }
  .lecture-search-box {
    flex-direction: column;
    border-radius: 12px;
    padding: 20px;
    gap: 15px;
  }
  .lecture-search-box h3 {
    /* h2에서 h3로 통일성 조정 */
    width: 100%;
    text-align: left;
  }
  .card-title {
    height: auto;
    margin-bottom: 10px;
  }
  .card-top {
    padding: 28px 28px;
  }
  .btn-detail {
    padding: 12px 0;
    font-size: 14px;
  }
  .search-input-wrap {
    width: 100%;
    border-bottom: 1px solid var(--color-white);
    padding-bottom: 5px;
  }
  .swiper-nav-controls {
    justify-content: center;
    margin-bottom: 20px;
  }
  .sns,
  .guide {
    padding: 28px;
  }
  .sns h3 {
    font-size: 24px;
    flex-direction: column;
  }
  .sns h3 span {
    font-size: 13px;
  }
  .guide h3 {
    font-size: 24px;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .sns ul {
    grid-template-rows: repeat(2, fit-content(100%));
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sns h3 span {
    text-align: center;
  }
  .sns ul li {
    font-size: 15px;
  }
  .sns ul li a {
    padding-top: 106px;
  }
  .guide .guide_con {
    flex-direction: column;
    align-items: flex-start;
  }
  .guide .guide_con div {
    padding-top: 0;
    padding-left: 65px;
    text-align: left;
  }
  .guide .guide_con div::before {
    right: auto;
  }
  .guide .guide_con div.map {
    width:100%;
    padding-bottom:20px;
    margin-bottom: 20px;
    font-size: 15px;
    border-right: none;
    border-bottom: 1px dashed #989898;
  }
  .guide .guide_con div.map a {
    margin-top: 0px;
    padding: 0px 19px;
    font-size: 14px;;
  }
  .guide .guide_con div.phone {
    font-size: 15px;
  }
  .guide .guide_con div.phone p {
    font-size: 15px;
  }
}
@media (max-width: 375px) {
  #notice .list-recent a {
    padding: 0;
    flex-direction: column;
    gap: 14px;
  }
  #notice .list-recent .date p {
    flex-direction: row;
    height: auto;
    padding: 8px 0;
    border-radius: 12px;
    gap: 12px;
    font-size: 14px;
  }
  #notice .list-recent .date span {
    font-size: 18px;
  }
  #notice .list-recent .date::after {
    right: 12px;
    top: 9px;
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  #notice .list {
    padding-top: 12px;
  }
  #notice .list ul a {
    white-space: normal;
    text-overflow: clip;
    overflow: visible;
    padding-left: 12px;
  }
  .card-info div {
    gap: 4px;
    flex-direction: column;
  }
}
