@charset "UTF-8";

/* ====================================
   NOTE: CSS Variables and base styles are defined in /styles/globals.css
   This file contains common component styles shared across pages
==================================== */

/* ====================================
   COMMON COMPONENTS
==================================== */

/* footer */
.footer_wrap {
  width: 100%;
  display: inline-block;
  background-color: #302e2e;
  text-align: center;
  z-index: 100;
  padding: 60px 0;
}

.footer {
  /* position: relative; */
  width: 1200px;
  display: flex;
  flex-flow: row-reverse;
  align-items: center;
  text-align: left;
  z-index: 100;
  margin: 0px auto 0px auto;
  padding: 0px 0px 0px 0px;
  height: auto;
  background: #302e2e;
}

.footer .fmenu {
  width: 1200px;
  display: inline-block;
  color: #ffffff;
  height: 50px;
  padding: 20px 0px;
}

.footer .fmenu a {
  color: #ffffff;
  line-height: 50px;
  font-size: 17px;
  font-weight: 400;
  padding: 0px 30px 0px 0px;
}

.footer .fmenu a:hover {
  color: #ffffff;
}

.footer .faddr {
  width: 1200px;
  display: inline-block;
  margin: 0px auto;
  padding-top: 50px;
  font-size: 15px;
  line-height: 30px;
  font-weight: 300;
  color: #989797;
  background: url("/images/logo_footer.png") 0px 0px no-repeat;
}

.footer .faddr a {
  font-size: 15px;
  line-height: 30px;
  font-weight: 300;
  color: #989797;
}

.footer .fsns {
  /* position: absolute; */
  /* top: 140px; */
  /* right: 0px; */
  display: flex;
  width: auto;
  box-sizing: border-box;
  padding: 0px;
  margin: 0px auto;
}

.footer .fsns li {
  float: left;
  width: auto;
  height: 50px;
  display: inline-block;
  margin: 0px 0px 0px 15px;
  overflow: hidden;
}

.footer .fsns li a {
  width: 50px;
  height: 50px;
  display: inline-block;
  margin: 0px;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.footer .fsns li a.sns1 {
  background: #3d3d3d url("/images/footer_sns1.png") 50% 50% no-repeat;
}

.footer .fsns li a.sns2 {
  background: #3d3d3d url("/images/footer_sns2.png") 50% 50% no-repeat;
}

.footer .fsns li a.sns3 {
  background: #3d3d3d url("/images/footer_sns3.png") 50% 50% no-repeat;
}

.footer .fsns li a.sns4 {
  background: #3d3d3d url("/images/footer_sns4.png") 50% 50% no-repeat;
}

.footer .fsns li a.sns5 {
  background: #3d3d3d url("/images/footer_sns5.png") 50% 50% no-repeat;
}

.footer .fsns li a:hover {
  background-color: #4e4e4e;
}

.footer .fnewsletter {
  position: absolute;
  right: 0px;
  top: 110px;
  width: auto;
  height: 100px;
  margin-top: 0px;
  padding: 7px;
}

.footer .fnewsletter h2 {
  font-family: "noto_sans", sans-serif;
  font-size: 16px;
  color: #ffffff;
  font-weight: 300;
  padding-bottom: 10px;
}

.footer .fnewsletter .btn_fnl {
  background: #ff6700;
  color: #ffffff;
  font-size: 11px;
  height: 30px;
  line-height: 30px;
  padding: 0px 15px;
  border: 1px #ff6700 solid;
  margin: -1px 0 0 -3px;
  z-index: 10;
}

.footer .fnewsletter input.input_nl {
  background: #302e2e;
  color: #757474;
  font-size: 13px;
  width: 145px;
  height: 30px;
  line-height: 30px;
  text-indent: 5px;
  padding: 0px;
  border: 1px #565454 solid;
}

/* 인증서 추가 */
.fcert {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #302e2e;
}

.fcert ul {
  display: flex;
  justify-content: space-between;
  width: 1200px;
  margin: 0 auto;
}

.fcert li div {
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
  color: #fff;
  line-height: 1.3;
}

/* //인증서 추가 */
/* footer end*/



/* Tag Styles - Shared */
.tag {
  padding: 0 6px;
  border-radius: var(--radius-tag);
  font-size: var(--text-tag);
  font-weight: var(--font-bold);
  line-height: 1.818;
}

.tag-new {
  background: rgba(251, 113, 38, 0.1);
  color: var(--clr-main);
}

.tag-online {
  background: rgba(59, 207, 190, 0.3);
  color: #159486;
}

.tag-regular {
  background: var(--clr-line);
  color: var(--gray-l-100);
}

.tag-best {
  background: rgba(138, 56, 245, 0.1);
  color: var(--clr-best);
}
.tag-flowx {
  background: rgba(59, 130, 246, 0.25); 
  color: #1E3A8A; 
}

/* Course Grid - Shared */
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 16px;
}

/* Pagination - Shared */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 60px;
}

.pagination-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 50px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.pagination-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-arrow:hover:not(:disabled) {
  opacity: 0.7;
}

.pagination-arrow svg {
  width: 30px;
  height: 20px;
}

.page-numbers {
  display: flex;
  gap: 0;
  align-items: center;
}

.page-number {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-l-200);
  transition: all 0.2s;
  font-weight: var(--font-normal);
  font-size: var(--text-h4);
  letter-spacing: -0.48px;
  border-radius: 50px;
}

.page-number:hover {
  color: var(--blk);
}

.page-number.active {
  background: var(--blk);
  color: white;
  font-weight: var(--font-bold);
}

/* Footer - Shared */
/* .footer {
  background: var(--blk);
  color: white;
  text-align: center;
  padding: 40px 0;
  margin-top: 80px;
}

.footer-content p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-l-200);
} */

/* Breadcrumb - Shared */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 16px;
  font-size: var(--text-h4);
  line-height: 28px;
  letter-spacing: -0.48px;
}

.breadcrumb span {
  color: var(--gray-l-100);
  font-weight: var(--font-normal);
}

.breadcrumb .current {
  color: var(--blk);
  font-weight: var(--font-medium);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Tab List - Shared */
.tab-list {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.tab {
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: var(--font-medium);
  transition: all 0.2s;
  border: 1px solid var(--clr-line);
  color: var(--gray-l-200);
  background-color: #fff;
  cursor: pointer;
}

.tab:hover {
  border-color: var(--blk);
  color: var(--blk);
}

.tab.active {
  background-color: var(--blk);
  color: #fff;
  border-color: var(--blk);
}
