/*
==========================================================================
  GB7 / Topic Listing CSS
  정리 기준
  01. Variables / Base
  02. Typography
  03. Layout / Sections
  04. Buttons / Forms
  05. Header / Navigation
  06. Hero / Cards / Topics
  07. Timeline / FAQ / Contact
  08. Footer / Social
  09. Inquiry Board / Detail / Modal
  10. Responsive Overrides
==========================================================================
*/

/*

TemplateMo 590 topic listing

https://templatemo.com/tm-590-topic-listing

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color: #1565c0;
  --secondary-color: #6ec6ff;
  --section-bg-color: #eef7ff;
  --custom-btn-bg-color: #42a5f5;
  --custom-btn-bg-hover-color: #1565c0;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --p-bg-color: #717275;
  --border-color: #b9e6ff;
  --link-hover-color: #1565c0;

  --body-font-family:             'Open Sans', sans-serif;
  --title-font-family:            'Montserrat', sans-serif;

  --h1-font-size:                 58px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  20px;
  --menu-font-size:               14px;
  --btn-font-size:                18px;
  --copyright-font-size:          16px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
}


/*---------------------------------------
  TYPOGRAPHY
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font-family);
  font-weight: var(--font-weight-semibold);
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION
-----------------------------------------*/
section[id] {
  scroll-margin-top: 50px;
}

.section-padding {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-image: linear-gradient(135deg, #0f4c81 0%, #2f80ed 45%, #8fd3ff 100%);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.section-overlay + .container {
  position: relative;
}

.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
}

.nav-tabs {
  border-bottom: 1px solid #ecf3f2;
  margin-bottom: 20px;
  justify-content: center;
}

.nav-tabs .nav-link {
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  color: var(--p-color);
  font-family: var(--title-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-medium);
  padding: 15px 25px;
  transition: all 0.3s;
}

.nav-tabs .nav-link:first-child {
  margin-right: 20px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}


/*---------------------------------------
  CUSTOM ICON COLOR
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM BUTTON
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.custom-border-btn:hover {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}


/*---------------------------------------
  CUSTOM BUTTON   2
-----------------------------------------*/
.custom-btn-sec {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}






/*---------------------------------------
  SITE HEADER
-----------------------------------------*/
.site-header {
  background-image: linear-gradient(135deg, #0f4c81 0%, #2f80ed 45%, #8fd3ff 100%);
  padding-top: 140px;
  padding-bottom: 60px;
}

.site-header .container {
  height: 100%;
}

.breadcrumb-item+.breadcrumb-item::before,
.breadcrumb-item a:hover,
.breadcrumb-item.active {
  color: var(--white-color);
}

.site-header .custom-icon {
  color: var(--white-color);
  font-size: var(--h4-font-size);
}

.site-header .custom-icon:hover {
  color: var(--secondary-color);
}


/*---------------------------------------
  NAVIGATION
-----------------------------------------*/


.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: var(--secondary-color);
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid rgba(128, 208, 199, 0.35);
  z-index: 99;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
}

.navbar-brand span {
  font-family: var(--title-font-family);
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  cursor: pointer;
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-family: var(--title-font-family);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-icon {
  background: var(--white-color);
  border-radius: var(--border-radius-large);
  display: inline-block;
  font-size: var(--h5-font-size);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.navbar-icon:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  HERO
-----------------------------------------*/
.hero-section {
  background: linear-gradient(135deg, #0a4b8f 0%, #1565c0 45%, #3f8ff0 78%, #8ecfff 100%);
  position: relative;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 150px;
}

.hero-section .input-group {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  padding: 10px 15px;
}

.hero-section .input-group-text {
  background-color: transparent;
  border: 0;
}

.hero-section input[type="search"] {
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding-left: 0;
}

.hero-section button[type="submit"] {
  background-color: var(--primary-color);
  border: 0;
  border-radius: var(--border-radius-large) !important;
  color: var(--white-color);
  max-width: 150px;
}


/*---------------------------------------
  TOPICS
-----------------------------------------*/
.featured-section {
  border-radius: 0 0 100px 100px;
  padding-bottom: 100px;
  border: none;
  box-shadow:
          0 0 0 1px rgba(110, 198, 255, 0.12),
          0 10px 24px rgba(110, 198, 255, 0.10),
          0 20px 40px rgba(110, 198, 255, 0.08);
}
.featured-section .row {
  position: relative;
  bottom: 100px;
  margin-bottom: -100px;
}

.custom-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.custom-block:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.custom-block > a {
  width: 100%;
}

.custom-block-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 35px;
}

.custom-block .rounded-pill {
  border-radius: 5px !important;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 20px;
}

.custom-block-overlay {
  height: 100%;
  min-height: 350px;
  padding: 0;
}

.custom-block-overlay > a {
  height: 100%;
}

.custom-block-overlay .custom-block-image {
  border-radius: var(--border-radius-medium);
  display: block;
  height: 100%;
  margin-top: 0;
}

.custom-block-overlay-text {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  padding: 30px;
}

.social-share {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
  padding: 20px 35px;
}

.social-share .bi-bookmark {
  color: var(--white-color);
  font-size: var(--h5-font-size);
}

.social-share .bi-bookmark:hover {
  color: var(--secondary-color);
}

.bg-design {
  background-color: #00B0FF;
}

.bg-graphic {
  background-color: #00BFA6;
}

.bg-advertising {
  background-color: #F50057;
}

.bg-finance {
  background-color: #536DFE;
}

.bg-music {
  background-color: #F9A826;
}

.bg-education {
  background-color: #00BFA6;
}


/*---------------------------------------
  TOPICS
-----------------------------------------*/
.topics-detail-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.topics-detail-block-image {
  display: block;
  border-radius: var(--border-radius-medium);
}

blockquote {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-family: var(--title-font-family);
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: inline-block;
  text-align: center;
  margin: 30px;
  padding: 40px;
}

.topics-listing-page .site-header {
  padding-bottom: 65px;
}

.custom-block-topics-listing-info {
  margin: 30px 20px 20px 30px;
}

.custom-block-topics-listing {
  height: inherit;
}

.custom-block-topics-listing .custom-block-image {
  width: 200px;
}


/*---------------------------------------
  PAGINATION
-----------------------------------------*/
.pagination {
  margin-top: 40px;
}

.page-link {
  border: 0;
  border-radius: var(--border-radius-small);
  color: var(--p-color);
  font-family: var(--title-font-family);
  margin: 0 5px;
  padding: 10px 20px;
}

.page-link:hover,
.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.page-item:first-child .page-link {
  margin-right: 10px;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
}

.active>.page-link, .page-link.active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}


/*---------------------------------------
  TIMELINE
-----------------------------------------*/
.timeline-section {
  /*background-image: url('../images/colleagues-working-cozy-office-medium-shot.jpg');*/
  background-image: url('../images/process-people-work.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.timeline-container .vertical-scrollable-timeline {
  list-style-type: none;
  position: relative;
  padding-left: 0;
}

.timeline-container .vertical-scrollable-timeline .list-progress {
  width: 8px;
  height: 87%;
  background-color: var(--primary-color);
  position: absolute;
  left: 52px;
  top: 0;
  overflow: hidden;
}

.timeline-container .vertical-scrollable-timeline .list-progress .inner {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: var(--secondary-color);
  width: 100%;
}

.timeline-container .vertical-scrollable-timeline li {
  position: relative;
  padding: 20px 0px 65px 145px;
}

.timeline-container .vertical-scrollable-timeline li:last-child {
  padding-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li p {
  line-height: 40px;
}

.timeline-container .vertical-scrollable-timeline li p:last-child {
  margin-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder {
  position: absolute;
  left: 0;
  top: 0;
  width: 104px;
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
  border-radius: 50%;
  z-index: 1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder::before {
  content: "";
  width: 80px;
  height: 80px;
  border: 4px solid #fff;
  position: absolute;
  background-color: var(--secondary-color);
  border-radius: 50%;
  z-index: -1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder i {
  font-size: 25px;
  color: var(--white-color);
}

.timeline-container .vertical-scrollable-timeline li::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 8px;
  background-color: transparent;
  left: 52px;
  z-index: 0;
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder {
  background-color: var(--primary-color);
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder::before {
  background-color: var(--primary-color);
}


/*---------------------------------------
  FAQs
-----------------------------------------*/
.faq-section .accordion-item {
  border: 0;
}

.faq-section .accordion-button {
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-semibold);
}

.faq-section .accordion-item:first-of-type .accordion-button {
  border-radius: var(--border-radius-large);
}

.faq-section .accordion-button:not(.collapsed) {
  border-radius: var(--border-radius-large);
  box-shadow: none;
  color: var(--primary-color);
}

.faq-section .accordion-body {
  color: var(--p-color);
  font-size: var(--btn-font-size);
  line-height: 40px;
}

/*---------------------------------------
  NEWSLETTER
-----------------------------------------*/
.newsletter-image {
  border-radius: var(--border-radius-medium);
}


/*---------------------------------------
  CONTACT
-----------------------------------------*/
.google-map {
  border-radius: var(--border-radius-medium);
}

.contact-form .form-floating>textarea {
  border-radius: var(--border-radius-medium);
  height: 150px;
}


/*---------------------------------------
  SUBSCRIBE FORM
-----------------------------------------*/
.subscribe-form-wrap {
  padding: 50px;
}

.subscribe-form {
  width: 95%;
}


/*---------------------------------------
  CUSTOM FORM
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
  outline: none;
}

.form-floating>label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
  SITE FOOTER
-----------------------------------------*/
.site-footer {
  border-bottom: 10px solid var(--secondary-color);
  position: relative;
  background: #ffffff;
  z-index: 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 0;
  width: 100%;
  height: 28px;
  background: linear-gradient(
          to top,
          rgba(21, 101, 192, 0.08),
          rgba(21, 101, 192, 0)
  );
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 200px 200px;
  border-color: transparent transparent var(--secondary-color) transparent;
  pointer-events: none;
}

.site-footer-title {
  color: var(--primary-color);
}

.site-footer .dropdown-menu {
  padding: 0;
}

.site-footer .dropdown-item {
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  padding: 4px 18px;
}

.site-footer .dropdown-item:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.site-footer .dropdown-menu li:first-child .dropdown-item {
  padding-top: 10px;
}

.site-footer .dropdown-menu li:last-child .dropdown-item {
  padding-bottom: 12px;
}

.site-footer .dropdown-toggle {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.site-footer .dropdown-toggle:hover {
  background-color: var(--primary-color);
  border-color: transparent;
}

.site-footer-links {
  padding-left: 0;
}

.site-footer-link-item {
  display: block;
  list-style: none;
  line-height: normal;
}

.site-footer-link {
  color: var(--secondary-color);
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-medium);
  line-height: normal;
  cursor: pointer;
}

.copyright-text {
  font-size: var(--copyright-font-size);
}


/*---------------------------------------
  SOCIAL ICON
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 10px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  RESPONSIVE STYLES
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .navbar {
    background-color: var(--secondary-color);
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    left: 10px;
    opacity: 1;
    pointer-events: auto;
    max-width: 155px;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
  }

  .nav-tabs .nav-link:first-child {
    margin-right: 5px;
  }

  .nav-tabs .nav-link {
    font-size: var(--copyright-font-size);
    padding: 10px;
  }

  .featured-section {
    border-radius: 0 0 80px 80px;
    padding-bottom: 50px;
  }

  .custom-block-topics-listing .custom-block-image {
    width: auto;
  }

  .custom-block-topics-listing > .d-flex,
  .custom-block-topics-listing-info,
  .custom-block-topics-listing a {
    flex-direction: column;
  }

  .timeline-container .vertical-scrollable-timeline .list-progress {
    height: 75%;
  }

  .timeline-container .vertical-scrollable-timeline li {
    padding-left: 135px;
  }

  .subscribe-form-wrap {
    padding-top: 30px;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }
}

.navbar-brand.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 15%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
          0 4px 14px rgba(0, 0, 0, 0.12),
          0 1px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.navbar-brand.brand-logo:hover {
  transform: translateY(-1px);
  box-shadow:
          0 6px 18px rgba(0, 0, 0, 0.16),
          0 2px 6px rgba(0, 0, 0, 0.10);
}

.brand-logo-img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12%;
}

.site-footer .brand-logo-img {
  width: 64px;
  height: 64px;
}

.crawl-subtitle {
  color: #003f7f;
  font-weight: 600;
}

.contact-whale-card {
  padding-top: 36px;
  padding-bottom: 36px;
}

.contact-whale-card.click-page {
  cursor: pointer;
}

.contact-whale-image {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media screen and (max-width: 991px) {
  .contact-whale-image {
    width: 150px;
  }
}

/* CONTACT 링크 색상 보정 */
.contact-section .site-footer-link {
  color: var(--primary-color);
  font-weight: var(--font-weight-semibold);
}

.contact-section .site-footer-link:hover {
  color: var(--custom-btn-bg-hover-color);
}

/* Phone, Email, Git, Blog, Kmong 라벨도 조금 또렷하게 */
.contact-section p span {
  color: var(--dark-color);
  font-weight: var(--font-weight-semibold);
}

.copy-email-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transition: all 0.25s ease;
  pointer-events: none;
}

.copy-email-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.attach-file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.attach-file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--section-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 12px;
}

.attach-file-name {
  color: var(--dark-color);
  font-size: 15px;
  font-weight: 600;
  flex: 1;
  word-break: break-all;
}

.attach-file-size {
  color: var(--p-color);
  font-size: 13px;
  white-space: nowrap;
}

.attach-file-remove {
  border: 0;
  background: transparent;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.attach-file-remove:hover {
  color: var(--custom-btn-bg-hover-color);
}

/* ==============================
   Inquiry Common
============================== */

.inquiry-title-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.inquiry-title-link:hover {
  color: var(--primary-color);
}

.inquiry-empty-row td {
  padding: 40px 12px;
  color: #717275;
}

.inquiry-page-info {
  font-size: 14px;
  color: #717275;
}


/* ==============================
   Inquiry List
============================== */

.inquiry-search-row .form-select,
.inquiry-search-row .form-control,
.inquiry-search-row .btn {
  height: 52px;
}


/* ==============================
   Inquiry Detail
============================== */
.inquiry-detail-page {
  padding: 130px 0 90px;
  background:
          linear-gradient(
                  135deg,
                  #0f4c81 0%,
                  #2f80ed 45%,
                  #8fd3ff 100%
          ) top / 100% 102px no-repeat,
          #f0f8ff;
}

.inquiry-detail-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.inquiry-detail-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
}

.inquiry-detail-card + .inquiry-detail-card {
  margin-top: 24px;
}

.inquiry-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.inquiry-detail-title-area {
  flex: 1;
  min-width: 0;
}

.inquiry-detail-title {
  margin: 0 0 10px;
  color: #13547a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

.inquiry-detail-status .badge {
  font-size: 13px;
  padding: 7px 12px;
}

.inquiry-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

.inquiry-detail-btn {
  min-width: 68px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--custom-btn-bg-color);
  border: 2px solid var(--custom-btn-bg-color);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.inquiry-detail-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: var(--custom-btn-bg-hover-color);
  color: #ffffff;
}

.inquiry-detail-btn-outline {
  background: #ffffff;
  border-color: var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.inquiry-detail-btn-outline:hover {
  background: var(--custom-btn-bg-color);
  border-color: var(--custom-btn-bg-color);
  color: #ffffff;
}

.inquiry-detail-line {
  height: 1px;
  margin: 22px 0;
  background: #e9ecef;
}

.inquiry-detail-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.inquiry-detail-meta-item {
  padding: 14px;
  border: 1px solid #edf3f7;
  border-radius: 14px;
  background: #f8fbfd;
}

.inquiry-detail-label {
  display: block;
  margin-bottom: 6px;
  color: #6c757d;
  font-size: 13px;
  font-weight: 600;
}

.inquiry-detail-value {
  display: block;
  color: #333333;
  font-size: 15px;
  font-weight: 700;
  word-break: break-all;
}

.inquiry-detail-block {
  margin-top: 24px;
}

.inquiry-detail-block-title {
  margin-bottom: 10px;
  color: #13547a;
  font-size: 16px;
  font-weight: 700;
}

.inquiry-detail-content {
  min-height: 130px;
  padding: 18px;
  border: 1px solid #edf3f7;
  border-radius: 14px;
  background: #f8fbfd;
  color: #333333;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.inquiry-detail-file-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inquiry-detail-file-item {
  padding: 14px 16px;
  border: 1px solid #edf3f7;
  border-radius: 14px;
  background: #f8fbfd;
}

.inquiry-detail-file-link {
  color: #13547a;
  font-size: 15px;
  font-weight: 700;
}

.inquiry-detail-file-meta {
  margin-top: 4px;
  color: #6c757d;
  font-size: 13px;
}

.inquiry-detail-empty {
  padding: 18px;
  border: 1px dashed #d5e3ec;
  border-radius: 14px;
  background: #f8fbfd;
  color: #6c757d;
  font-size: 15px;
  text-align: center;
}

.inquiry-detail-reply-card {
  margin-bottom: 0;
}

.inquiry-detail-reply-head h4 {
  margin: 0 0 18px;
  color: #13547a;
  font-size: 20px;
  font-weight: 700;
}

.inquiry-detail-reply-item {
  padding: 18px;
  border: 1px solid #edf3f7;
  border-radius: 14px;
  background: #f8fbfd;
}

.inquiry-detail-reply-item + .inquiry-detail-reply-item {
  margin-top: 12px;
}

.inquiry-detail-reply-meta {
  margin-bottom: 10px;
  color: #6c757d;
  font-size: 13px;
  font-weight: 700;
}

.inquiry-detail-reply-content {
  color: #333333;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

@media screen and (max-width: 991px) {
  .inquiry-detail-page {
    padding: 110px 0 70px;
  }

  .inquiry-detail-head {
    flex-direction: column;
  }

  .inquiry-detail-actions {
    width: 100%;
  }

  .inquiry-detail-meta {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 575px) {
  .inquiry-detail-page {
    padding: 100px 0 60px;
  }

  .inquiry-detail-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .inquiry-detail-title {
    font-size: 21px;
  }

  .inquiry-detail-meta {
    grid-template-columns: 1fr;
  }

  .inquiry-detail-actions .btn {
    flex: 1;
    padding: 8px 10px;
  }
}

.main-contact-cta {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid rgba(21, 101, 192, 0.12);
  text-align: center;
}

.main-contact-cta-text {
  max-width: 640px;
  margin: 0 auto 18px;
  color: #333;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
}

.main-contact-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 150px;
  max-width: 220px;
  padding: 11px 28px;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
}

@media screen and (max-width: 575px) {
  .main-contact-cta {
    margin-top: 38px;
    padding-top: 26px;
  }

  .main-contact-cta-text {
    font-size: 16px;
  }

  .main-contact-cta-btn {
    min-width: 140px;
    padding: 10px 24px;
    font-size: 16px;
  }
}

/* ==============================
   Inquiry List Mobile Optimize
============================== */
.inquiry-board {
  position: relative;
  min-height: 470px;
}

.inquiry-board.inquiry-board-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--border-radius-medium);
  z-index: 5;
  pointer-events: none;
}

.inquiry-board.inquiry-board-loading::after {
  content: "조회 중입니다.";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--custom-btn-bg-color);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.18);
  pointer-events: none;
}

.inquiry-board #inquiryTableBody tr {
  height: 64px;
}

.inquiry-board #inquiryTableBody td {
  height: 64px;
  vertical-align: middle;
}

.inquiry-board .inquiry-title-td {
  max-width: 1px;
}

.inquiry-board .inquiry-title-link {
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inquiry-board .inquiry-writer-td {
  white-space: nowrap;
}

.inquiry-board #inquiryPagination {
  margin-top: 0;
}

.inquiry-board #inquiryPagination .page-link {
  min-width: 42px;
  text-align: center;
}

@media screen and (max-width: 575px) {
  .inquiry-board {
    min-height: 430px;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .inquiry-board.inquiry-board-loading::after {
    font-size: 13px;
    padding: 9px 16px;
  }

  .inquiry-board .inquiry-search-row {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 18px !important;
    row-gap: 10px;
  }

  .inquiry-board .inquiry-search-row > div {
    padding-left: 6px;
    padding-right: 6px;
  }

  .inquiry-board .inquiry-search-row .form-select,
  .inquiry-board .inquiry-search-row .form-control,
  .inquiry-board .inquiry-search-row .btn {
    height: 46px;
    font-size: 14px;
  }

  .inquiry-board .inquiry-search-row .input-group {
    flex-wrap: nowrap;
  }

  .inquiry-board .inquiry-search-row .btn {
    width: 72px;
    min-width: 72px;
    padding-left: 0;
    padding-right: 0;
  }

  .inquiry-board .table-responsive {
    overflow-x: hidden;
  }

  .inquiry-board .table {
    table-layout: fixed;
    width: 100%;
  }

  .inquiry-board .table thead th:nth-child(1),
  .inquiry-board .table thead th:nth-child(2),
  .inquiry-board .table thead th:nth-child(5),
  .inquiry-board .table thead th:nth-child(6),
  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(1),
  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(2),
  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(5),
  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(6) {
    display: none;
  }

  .inquiry-board .table thead th:nth-child(3) {
    width: 72%;
  }

  .inquiry-board .table thead th:nth-child(4) {
    width: 28%;
    text-align: center;
  }

  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(3) {
    width: 72%;
  }

  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(4) {
    width: 28%;
    text-align: center;
  }

  .inquiry-board #inquiryTableBody tr {
    height: 58px;
  }

  .inquiry-board #inquiryTableBody td {
    height: 58px;
    padding: 10px 6px;
    font-size: 14px;
  }

  .inquiry-board .inquiry-title-link {
    font-size: 14px;
    font-weight: 700;
  }

  .inquiry-board .inquiry-writer-td {
    font-size: 13px;
    color: #717275;
  }

  .inquiry-board .inquiry-page-info {
    width: 100%;
    text-align: center;
    font-size: 13px;
  }

  .inquiry-board #inquiryPagination {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  .inquiry-board #inquiryPagination .page-link {
    min-width: 64px;
    margin: 0;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 999px;
  }

  .inquiry-board #inquiryPagination .inquiry-mobile-page-status .page-link {
    min-width: 76px;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
    font-weight: 700;
  }
}

/* ==============================
   Inquiry Password Modal
============================== */
.inquiry-password-modal .modal-dialog {
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.inquiry-password-modal .modal-content {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(21, 101, 192, 0.24);
}

.inquiry-password-modal .modal-header {
  align-items: flex-start;
  border-bottom: 0;
  padding: 28px 28px 10px;
}

.inquiry-password-modal-subtitle {
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.inquiry-password-modal .modal-title {
  color: #13547a;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
}

.inquiry-password-modal .btn-close {
  margin-top: 2px;
  box-shadow: none;
}

.inquiry-password-modal .modal-body {
  padding: 12px 28px 6px;
}

.inquiry-password-input {
  height: 52px;
  border-radius: 999px;
  border: 1px solid #d8eaf5;
  color: #333333;
  font-size: 15px;
  padding: 0 20px;
  box-shadow: none;
}

.inquiry-password-input:focus {
  border-color: var(--custom-btn-bg-color);
  box-shadow: 0 0 0 0.2rem rgba(66, 165, 245, 0.16);
}

.inquiry-password-error {
  display: none;
  margin-top: 10px;
  color: #dc3545;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.inquiry-password-modal .modal-footer {
  border-top: 0;
  gap: 8px;
  padding: 16px 28px 28px;
}

.inquiry-password-cancel-btn,
.inquiry-password-confirm-btn {
  min-width: 88px;
  height: 44px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.inquiry-password-cancel-btn {
  background: #ffffff;
  border: 1px solid #d8eaf5;
  color: #717275;
}

.inquiry-password-cancel-btn:hover {
  background: #f4f9fd;
  color: #333333;
}

.inquiry-password-confirm-btn {
  background: var(--custom-btn-bg-color);
  border: 1px solid var(--custom-btn-bg-color);
  color: #ffffff;
}

.inquiry-password-confirm-btn:hover,
.inquiry-password-confirm-btn:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: var(--custom-btn-bg-hover-color);
  color: #ffffff;
}

@media screen and (max-width: 1000px) {
  .table-responsive {
    overflow-x: hidden;
  }

  .table {
    table-layout: fixed;
    width: 100%;
  }

  .table thead th:nth-child(1),
  .table thead th:nth-child(2),
  .table thead th:nth-child(5),
  .table thead th:nth-child(6),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(1),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(2),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(5),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(6) {
    display: none !important;
  }

  .table thead th:nth-child(3),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(3) {
    width: 72%;
  }

  .table thead th:nth-child(4),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(4) {
    width: 28%;
    text-align: center;
  }
}

.inquiry-board-title {
  font-size: 34px;
}

.inquiry-board-desc {
  font-size: 17px;
  line-height: 1.7;
}

@media screen and (max-width: 1000px) {
  .inquiry-board-title {
    font-size: 26px;
  }

  .inquiry-board-desc {
    font-size: 15px;
  }
}

/* ==============================
   Mobile Header / Footer Fix
============================== */

@media screen and (max-width: 991px) {
  /* 모바일 헤더 하늘색 고정 느낌 제거 */
  .navbar,
  .sticky-wrapper.is-sticky .navbar {
    background: linear-gradient(135deg, #0f4c81 0%, #2f80ed 55%, #8fd3ff 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding-top: 8px;
    padding-bottom: 8px;
  }

  /* 모바일 로고 축소 */
  .navbar-brand.brand-logo {
    padding: 4px;
    border-radius: 12px;
  }

  .navbar .brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  /* 모바일 메뉴 목록 정리 */
  .navbar-collapse {
    margin-top: 10px;
    padding: 12px 0 4px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 8px;
    gap: 4px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    display: block;
    margin: 3px 0;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.10);
  }

  .navbar-expand-lg .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.20);
  }

  /* 모바일 footer 우측 붙는 느낌 완화 */
  .site-footer {
    overflow: hidden;
  }

  .site-footer .container {
    padding-left: 24px;
    padding-right: 32px;
  }

  .site-footer::after {
    border-width: 0 0 150px 150px;
  }
}


/* ==========================================================================
   10. RESPONSIVE OVERRIDES - COMMON MOBILE/TABLET CLEANUP
   - 웹 화면은 최대한 유지
   - 1000px 이하부터 중간 깨짐 방지
   - 575px 이하에서 글씨/여백 추가 축소
========================================================================== */

@media screen and (max-width: 1000px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.25;
  }

  h2 {
    font-size: 30px;
    line-height: 1.3;
  }

  h3 {
    font-size: 25px;
    line-height: 1.35;
  }

  h4 {
    font-size: 22px;
    line-height: 1.4;
  }

  h5 {
    font-size: 19px;
    line-height: 1.4;
  }

  h6 {
    font-size: 17px;
    line-height: 1.4;
  }

  p,
  ul li {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .container,
  .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-padding {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .custom-btn,
  .custom-btn-sec,
  .custom-form button[type="submit"] {
    font-size: 15px;
    padding: 9px 18px;
  }

  .custom-form .form-control,
  .form-select,
  .form-control {
    font-size: 15px;
  }
}

/* ==========================================================================
   10-1. RESPONSIVE HEADER / NAVIGATION
========================================================================== */

@media screen and (max-width: 991px) {
  .navbar,
  .sticky-wrapper.is-sticky .navbar {
    background: linear-gradient(135deg, #0f4c81 0%, #2f80ed 55%, #8fd3ff 100%);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .navbar-brand.brand-logo {
    padding: 4px;
    border-radius: 12px;
  }

  .navbar .brand-logo-img,
  .brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .navbar-collapse {
    margin-top: 10px;
    padding: 10px 0 4px;
  }

  .navbar-expand-lg .navbar-nav {
    gap: 4px;
    padding-bottom: 8px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    display: block;
    margin: 3px 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.10);
    font-size: 13px;
    line-height: 1.2;
  }

  .navbar-expand-lg .navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.20);
  }

  .navbar-toggler {
    width: 28px;
    height: 32px;
  }

  .navbar-toggler .navbar-toggler-icon,
  .navbar-toggler .navbar-toggler-icon::before,
  .navbar-toggler .navbar-toggler-icon::after {
    width: 28px;
  }
}

/* ==========================================================================
   10-2. RESPONSIVE HERO / PAGE HEADER
========================================================================== */

@media screen and (max-width: 1000px) {
  .hero-section {
    padding-top: 118px;
    padding-bottom: 100px;
  }

  .hero-section h1 {
    font-size: 40px;
  }

  .crawl-subtitle,
  .hero-section h6 {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-section .input-group {
    padding: 8px 12px;
  }

  .hero-section button[type="submit"] {
    max-width: 120px;
    font-size: 15px;
  }

  .site-header {
    padding-top: 118px;
    padding-bottom: 54px;
  }

  .site-header h2 {
    font-size: 30px;
  }

  .site-header p {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .breadcrumb {
    font-size: 13px;
  }
}

/* ==========================================================================
   10-3. RESPONSIVE CARDS / TABS / TOPICS
========================================================================== */

@media screen and (max-width: 1000px) {
  .featured-section {
    border-radius: 0 0 70px 70px;
    padding-bottom: 58px;
  }

  .featured-section .row {
    bottom: 70px;
    margin-bottom: -70px;
  }

  .custom-block {
    padding: 22px;
  }

  .custom-block h5 {
    font-size: 19px;
  }

  .custom-block p {
    font-size: 15px;
    line-height: 1.65;
  }

  .custom-block-image {
    height: 180px;
    margin-top: 24px;
  }

  .custom-block-overlay-text {
    padding: 24px;
  }

  .custom-block-overlay-text p {
    font-size: 15px;
    line-height: 1.65;
  }

  .social-share {
    padding: 18px 24px;
  }

  .social-share p {
    font-size: 14px;
  }

  .nav-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 14px 2px;
    margin-bottom: 15px;
    scrollbar-width: none;
  }

  .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .nav-tabs .nav-link,
  .nav-tabs .nav-link:first-child {
    white-space: nowrap;
    margin-right: 8px;
    padding: 10px 12px;
    font-size: 14px;
  }
}

/* ==========================================================================
   10-4. RESPONSIVE TIMELINE / FAQ / CONTACT
========================================================================== */

@media screen and (max-width: 1000px) {
  .timeline-container .vertical-scrollable-timeline .list-progress {
    left: 31px;
    width: 5px;
    height: 78%;
  }

  .timeline-container .vertical-scrollable-timeline li {
    padding: 8px 0 42px 88px;
  }

  .timeline-container .vertical-scrollable-timeline li::before {
    left: 31px;
    width: 5px;
  }

  .timeline-container .vertical-scrollable-timeline li .icon-holder {
    width: 64px;
    height: 64px;
  }

  .timeline-container .vertical-scrollable-timeline li .icon-holder::before {
    width: 50px;
    height: 50px;
    border-width: 3px;
  }

  .timeline-container .vertical-scrollable-timeline li .icon-holder i {
    font-size: 20px;
  }

  .timeline-container .vertical-scrollable-timeline li p {
    font-size: 15px;
    line-height: 1.75;
  }

  .faq-section .accordion-button {
    font-size: 16px;
    line-height: 1.45;
    padding: 14px 18px;
  }

  .faq-section .accordion-body {
    font-size: 15px;
    line-height: 1.75;
  }

  .contact-section h4 {
    font-size: 21px;
  }

  .contact-section p,
  .contact-section .site-footer-link {
    font-size: 15px;
    line-height: 1.7;
  }

  .contact-whale-card {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .contact-whale-image {
    width: 145px;
  }
}

/* ==========================================================================
   10-5. RESPONSIVE FOOTER
========================================================================== */

@media screen and (max-width: 991px) {
  .site-footer {
    overflow: hidden;
  }

  .site-footer.section-padding {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .site-footer .container {
    padding-left: 22px;
    padding-right: 26px;
  }

  .site-footer .row {
    margin-left: -6px;
    margin-right: -6px;
  }

  .site-footer [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
  }

  .site-footer-title {
    font-size: 16px;
    margin-bottom: 12px !important;
  }

  .site-footer-link,
  .copyright-text,
  .site-footer .dropdown-item {
    font-size: 13.5px;
  }

  .site-footer .brand-logo-img {
    width: 50px;
    height: 50px;
  }

  .site-footer::after {
    border-width: 0 0 135px 135px;
  }
}

/* ==========================================================================
   10-6. RESPONSIVE INQUIRY BOARD / TABLE / PASSWORD MODAL
========================================================================== */

@media screen and (max-width: 1000px) {
  .inquiry-board {
    min-height: 430px;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .inquiry-board-title {
    font-size: 26px;
    line-height: 1.35;
  }

  .inquiry-board-desc {
    font-size: 15px;
    line-height: 1.7;
  }

  .inquiry-board.inquiry-board-loading::after {
    font-size: 13px;
    padding: 9px 16px;
  }

  .inquiry-board .inquiry-search-row {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 18px !important;
    row-gap: 10px;
  }

  .inquiry-board .inquiry-search-row > div {
    padding-left: 6px;
    padding-right: 6px;
  }

  .inquiry-board .inquiry-search-row .form-select,
  .inquiry-board .inquiry-search-row .form-control,
  .inquiry-board .inquiry-search-row .btn {
    height: 46px;
    font-size: 14px;
  }

  .inquiry-board .inquiry-search-row .input-group {
    flex-wrap: nowrap;
  }

  .inquiry-board .inquiry-search-row .btn {
    width: 72px;
    min-width: 72px;
    padding-left: 0;
    padding-right: 0;
  }

  .inquiry-board .table-responsive,
  .table-responsive {
    overflow-x: hidden;
  }

  .inquiry-board .table,
  .table {
    table-layout: fixed;
    width: 100%;
  }

  .inquiry-board .table thead th:nth-child(1),
  .inquiry-board .table thead th:nth-child(2),
  .inquiry-board .table thead th:nth-child(5),
  .inquiry-board .table thead th:nth-child(6),
  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(1),
  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(2),
  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(5),
  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(6),
  .table thead th:nth-child(1),
  .table thead th:nth-child(2),
  .table thead th:nth-child(5),
  .table thead th:nth-child(6),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(1),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(2),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(5),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(6) {
    display: none !important;
  }

  .inquiry-board .table thead th:nth-child(3),
  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(3),
  .table thead th:nth-child(3),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(3) {
    width: 72%;
  }

  .inquiry-board .table thead th:nth-child(4),
  .inquiry-board .table tbody tr:not(.inquiry-empty-row) td:nth-child(4),
  .table thead th:nth-child(4),
  #inquiryTableBody tr:not(.inquiry-empty-row) td:nth-child(4) {
    width: 28%;
    text-align: center;
  }

  .inquiry-board #inquiryTableBody tr {
    height: 58px;
  }

  .inquiry-board #inquiryTableBody td {
    height: 58px;
    padding: 10px 6px;
    font-size: 14px;
  }

  .inquiry-board .inquiry-title-link {
    font-size: 14px;
    font-weight: 700;
  }

  .inquiry-board .inquiry-writer-td {
    font-size: 13px;
    color: #717275;
  }

  .inquiry-board .inquiry-page-info {
    width: 100%;
    text-align: center;
    font-size: 13px;
  }

  .inquiry-board #inquiryPagination {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  .inquiry-board #inquiryPagination .page-link {
    min-width: 64px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 13px;
  }

  .inquiry-board #inquiryPagination .inquiry-mobile-page-status .page-link {
    min-width: 76px;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
    font-weight: 700;
  }

  .inquiry-password-modal .modal-dialog {
    max-width: calc(100% - 32px);
  }

  .inquiry-password-modal .modal-title {
    font-size: 19px;
  }

  .inquiry-password-modal .modal-header {
    padding: 24px 22px 8px;
  }

  .inquiry-password-modal .modal-body {
    padding: 10px 22px 6px;
  }

  .inquiry-password-modal .modal-footer {
    padding: 14px 22px 24px;
  }
}

/* ==========================================================================
   10-7. RESPONSIVE INQUIRY DETAIL
========================================================================== */

@media screen and (max-width: 1000px) {
  .inquiry-detail-page {
    padding: 108px 0 64px;
  }

  .inquiry-detail-page .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .inquiry-detail-card {
    padding: 22px;
    border-radius: 18px;
  }

  .inquiry-detail-title {
    font-size: 21px;
  }

  .inquiry-detail-content,
  .inquiry-detail-file-link,
  .inquiry-detail-reply-content,
  .inquiry-detail-empty {
    font-size: 14px;
  }

  .inquiry-detail-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media screen and (max-width: 575px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  h6 {
    font-size: 16px;
  }

  p,
  ul li {
    font-size: 14.5px;
    line-height: 1.68;
  }

  .container,
  .container-fluid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-padding {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .hero-section {
    padding-top: 104px;
    padding-bottom: 78px;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .crawl-subtitle,
  .hero-section h6 {
    font-size: 14px;
  }

  .hero-section .input-group {
    padding: 7px 10px;
  }

  .hero-section input[type="search"] {
    font-size: 14px;
  }

  .hero-section button[type="submit"] {
    max-width: 88px;
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-header {
    padding-top: 102px;
    padding-bottom: 42px;
  }

  .site-header h2 {
    font-size: 25px;
  }

  .site-header p {
    font-size: 14.5px;
  }

  .custom-block {
    padding: 20px;
  }

  .custom-block h5 {
    font-size: 18px;
  }

  .custom-block p {
    font-size: 14.5px;
  }

  .custom-block-image {
    height: 165px;
  }

  .custom-block-overlay {
    min-height: 320px;
  }

  .custom-block-overlay-text {
    padding: 20px;
  }

  .social-share {
    padding: 16px 20px;
  }

  .faq-section .accordion-button {
    font-size: 15px;
  }

  .faq-section .accordion-body {
    font-size: 14.5px;
  }

  .contact-section h4 {
    font-size: 19px;
  }

  .contact-section p,
  .contact-section .site-footer-link {
    font-size: 14.5px;
  }

  .inquiry-detail-page {
    padding: 96px 0 54px;
  }

  .inquiry-detail-card {
    padding: 20px 16px;
  }

  .inquiry-detail-title {
    font-size: 19px;
  }

  .inquiry-detail-meta {
    grid-template-columns: 1fr;
  }

  .inquiry-detail-actions .btn {
    flex: 1;
    min-width: 0;
  }
}

/* ==========================================================================
   10-8. INQUIRY DETAIL EDIT / REPLY FORM POLISH
========================================================================== */

.inquiry-action-card {
  padding: 30px;
  border-radius: 18px;
}

.inquiry-action-card .inquiry-detail-reply-head h4 {
  margin-bottom: 22px;
  font-size: 22px;
}

.inquiry-action-form {
  background: transparent;
}

.inquiry-action-form .row {
  row-gap: 14px;
}

.inquiry-action-form .form-control {
  height: 56px;
  margin-bottom: 0;
  border: 1px solid #d8eaf5;
  border-radius: 16px;
  background-color: #ffffff;
  color: #333333;
  font-size: 15px;
  line-height: 1.45;
  padding: 22px 18px 8px;
  box-shadow: none;
}

.inquiry-action-form select.form-control {
  padding: 0 18px;
  color: #333333;
}

.inquiry-action-form .form-control:focus {
  border-color: var(--custom-btn-bg-color);
  box-shadow: 0 0 0 0.18rem rgba(66, 165, 245, 0.14);
}

.inquiry-action-form .form-floating > label {
  color: #7b8790;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px 18px;
}

.inquiry-action-form .form-floating > .form-control:focus ~ label,
.inquiry-action-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--primary-color);
  opacity: 1;
  transform: scale(.78) translateY(-0.55rem) translateX(0.15rem);
}

.inquiry-action-form .inquiry-action-textarea {
  min-height: 180px;
  max-height: 280px;
  overflow-y: auto;
  resize: vertical;
  border-radius: 16px;
  padding-top: 34px;
  padding-bottom: 16px;
  white-space: pre-wrap;
}

.inquiry-action-form .inquiry-reply-textarea {
  min-height: 150px;
}

.inquiry-file-attach-area {
  padding-top: 2px;
}

.inquiry-file-attach-btn {
  min-width: 116px;
  padding: 9px 20px;
  font-size: 15px;
}

.inquiry-edit-file-list {
  gap: 8px;
}

.inquiry-edit-file-item {
  border-radius: 14px;
  background: #f8fbfd;
}

.inquiry-action-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-left: 0;
}

.inquiry-action-form .form-check-input {
  float: none;
  margin-left: 0;
  margin-top: 4px;
}

.inquiry-action-form .form-check-label {
  color: #555f68;
  font-size: 14px;
  line-height: 1.6;
}

.inquiry-detail-content {
  max-height: 420px;
  overflow-y: auto;
}

.inquiry-detail-reply-content {
  max-height: 320px;
  overflow-y: auto;
}

@media screen and (max-width: 1000px) {
  .inquiry-action-card {
    padding: 24px 20px;
  }

  .inquiry-action-card .inquiry-detail-reply-head h4 {
    font-size: 20px;
  }

  .inquiry-action-form .form-control {
    height: 54px;
    font-size: 14.5px;
  }

  .inquiry-action-form .form-floating > label {
    font-size: 12.5px;
  }

  .inquiry-action-form .inquiry-action-textarea {
    min-height: 165px;
    max-height: 240px;
  }
}

@media screen and (max-width: 575px) {
  .inquiry-action-card {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .inquiry-action-form .row {
    row-gap: 12px;
  }

  .inquiry-action-form .form-control {
    height: 52px;
    border-radius: 14px;
    font-size: 14px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .inquiry-action-form select.form-control {
    padding: 0 16px;
  }

  .inquiry-action-form .form-floating > label {
    padding-left: 16px;
    padding-right: 16px;
  }

  .inquiry-action-form .inquiry-action-textarea {
    min-height: 150px;
    max-height: 220px;
    padding-top: 32px;
  }

  .inquiry-file-attach-btn {
    width: auto;
    min-width: 110px;
    padding: 8px 18px;
    font-size: 14px;
  }

  .inquiry-action-form .form-check-label {
    font-size: 13.5px;
  }
}


/* ==========================================================================
   10-9. INQUIRY DETAIL EDIT / REPLY FINAL TUNE
========================================================================== */

.inquiry-action-form .form-control {
  border-radius: 14px;
  padding-top: 26px;
  padding-bottom: 6px;
}

.inquiry-action-form .form-floating > label {
  padding-top: 9px;
  padding-bottom: 4px;
  font-size: 12px;
}

.inquiry-action-form .form-floating > .form-control:focus ~ label,
.inquiry-action-form .form-floating > .form-control:not(:placeholder-shown) ~ label {
  transform: scale(.76) translateY(-0.38rem) translateX(0.08rem);
}

.inquiry-action-form .inquiry-action-textarea {
  border-radius: 14px;
  padding-top: 32px;
  padding-bottom: 10px;
  line-height: 1.65;
}

.inquiry-action-form .inquiry-reply-textarea {
  min-height: 145px;
  max-height: 260px;
}

.inquiry-readonly-input {
  background-color: #f4f9fd !important;
  color: #7a8791 !important;
  cursor: not-allowed;
}

.inquiry-action-form button[type="submit"].inquiry-detail-btn,
.inquiry-action-form .inquiry-detail-btn,
.inquiry-reply-actions .inquiry-detail-btn,
.inquiry-reply-edit-buttons .inquiry-detail-btn {
  min-width: 68px;
  height: auto;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.inquiry-file-attach-btn {
  min-width: 96px;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 1.2;
}

.inquiry-detail-file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inquiry-detail-file-info {
  flex: 1;
  min-width: 0;
}

.inquiry-detail-file-link {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inquiry-file-delete-btn {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: #eef7ff;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
  padding: 7px 13px;
  cursor: pointer;
}

.inquiry-file-delete-btn:hover {
  background: var(--custom-btn-bg-color);
  color: #ffffff;
}

.inquiry-detail-reply-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.inquiry-detail-reply-meta {
  color: var(--primary-color);
  line-height: 1.5;
}

.inquiry-reply-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.inquiry-reply-actions .inquiry-detail-btn {
  min-width: 54px;
  padding: 6px 11px;
  font-size: 13px;
}

.inquiry-reply-edit-area {
  margin-top: 12px;
}

.inquiry-reply-edit-textarea {
  width: 100%;
  min-height: 130px;
  max-height: 260px;
  overflow-y: auto;
  resize: vertical;
  border: 1px solid #d8eaf5;
  border-radius: 14px;
  color: #333333;
  font-size: 15px;
  line-height: 1.65;
  padding: 14px 16px;
  box-shadow: none;
}

.inquiry-reply-edit-textarea:focus {
  border-color: var(--custom-btn-bg-color);
  box-shadow: 0 0 0 0.18rem rgba(66, 165, 245, 0.14);
  outline: none;
}

.inquiry-reply-edit-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

@media screen and (max-width: 575px) {
  .inquiry-action-form .form-control {
    padding-top: 25px;
    padding-bottom: 6px;
  }

  .inquiry-action-form .form-floating > label {
    font-size: 11.5px;
    padding-top: 9px;
  }

  .inquiry-detail-file-row,
  .inquiry-detail-reply-top {
    align-items: stretch;
    flex-direction: column;
  }

  .inquiry-reply-actions {
    justify-content: flex-end;
  }

  .inquiry-action-form button[type="submit"].inquiry-detail-btn,
  .inquiry-action-form .inquiry-detail-btn,
  .inquiry-reply-edit-buttons .inquiry-detail-btn {
    flex: 0 0 auto;
    min-width: 64px;
    padding: 8px 13px;
    font-size: 13.5px;
  }

  .inquiry-reply-actions .inquiry-detail-btn {
    min-width: 50px;
    padding: 6px 10px;
    font-size: 12.5px;
  }
}


/* ==========================================================================
   10-10. INQUIRY DETAIL FINAL PERFECT TUNE
========================================================================== */

/* 답변 작성자 유형 뱃지 */
.inquiry-reply-writer-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 24px;
  margin-right: 8px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

.inquiry-reply-writer-user {
  background: var(--primary-color);
  color: #ffffff;
}

.inquiry-reply-writer-admin {
  background: #00BFA6;
  color: #ffffff;
}

.inquiry-reply-meta-text {
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
  vertical-align: middle;
}

.inquiry-detail-reply-top {
  align-items: center;
}

.inquiry-reply-inline-edit-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.inquiry-reply-edit-area {
  margin-top: 12px;
}

.inquiry-reply-edit-area .inquiry-reply-edit-textarea {
  margin-top: 0;
}

@media screen and (max-width: 991px) {
  /* 모바일 문의 상세 상단 그라데이션 제거 */
  .inquiry-detail-page {
    background: #f0f8ff !important;
    padding-top: 92px;
  }
}

@media screen and (max-width: 575px) {
  .inquiry-detail-page {
    background: #f0f8ff !important;
    padding-top: 86px;
  }

  .inquiry-detail-reply-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .inquiry-reply-actions,
  .inquiry-reply-inline-edit-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .inquiry-reply-meta-text {
    display: inline;
    font-size: 12.5px;
  }

  .inquiry-reply-writer-type {
    min-width: 38px;
    height: 22px;
    padding: 0 8px;
    font-size: 11.5px;
  }
}


/* ==========================================================================
   10-11. INQUIRY DETAIL REPLY FILES / PLACEHOLDER FORM TUNE
========================================================================== */

/* 문의 수정 / 답변 작성 폼은 floating label 대신 placeholder만 사용 */
.inquiry-plain-form .form-floating > label {
  display: none !important;
}

.inquiry-plain-form .form-control {
  padding: 14px 18px !important;
}

.inquiry-plain-form .inquiry-action-textarea {
  padding: 14px 18px !important;
  line-height: 1.7;
}

.inquiry-plain-form .form-control::placeholder {
  color: #9aa8b3;
  font-size: 14px;
  font-weight: 600;
}

.inquiry-plain-form .inquiry-action-textarea::placeholder {
  color: #9aa8b3;
  font-size: 14px;
  font-weight: 600;
}

.inquiry-plain-form .form-control:focus::placeholder,
.inquiry-plain-form .inquiry-action-textarea:focus::placeholder {
  color: #b5c1ca;
}

/* 답변 첨부파일 */
.inquiry-reply-file-box {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #d8eaf5;
}

.inquiry-reply-file-title {
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 800;
}

.inquiry-reply-file-row {
  background: #ffffff;
}

.inquiry-reply-file-row + .inquiry-reply-file-row {
  margin-top: 8px;
}

.inquiry-reply-file-list,
.reply-edit-file-list {
  gap: 8px;
}

.inquiry-reply-file-item {
  border-radius: 14px;
  background: #f8fbfd;
}

.inquiry-reply-edit-file-area {
  margin-top: 12px;
}

.inquiry-reply-edit-file-area .inquiry-file-attach-btn {
  min-width: 90px;
  padding: 7px 14px;
  font-size: 13px;
}

@media screen and (max-width: 575px) {
  .inquiry-plain-form .form-control {
    padding: 13px 16px !important;
  }

  .inquiry-plain-form .inquiry-action-textarea {
    padding: 13px 16px !important;
  }

  .inquiry-plain-form .form-control::placeholder,
  .inquiry-plain-form .inquiry-action-textarea::placeholder {
    font-size: 13.5px;
  }

  .inquiry-reply-file-box {
    margin-top: 12px;
    padding-top: 10px;
  }

  .inquiry-reply-edit-file-area .inquiry-file-attach-btn {
    min-width: 86px;
    font-size: 12.5px;
  }
}

/* ==============================
   Header Nav Hover / Active
============================== */

.navbar-expand-lg .navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 8px 5px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #ffffff;
  background: transparent;
  line-height: 1.2;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link.active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
}

/* 클릭 후 focus 때문에 어색한 파란 테두리 방지 */
.navbar-expand-lg .navbar-nav .nav-link:focus {
  color: #ffffff;
  box-shadow: none;
}

/* 모바일 메뉴도 동일한 느낌 유지 */
@media screen and (max-width: 991px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    display: block;
    margin: 4px 0;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.10);
  }

  .navbar-expand-lg .navbar-nav .nav-link:hover,
  .navbar-expand-lg .navbar-nav .nav-link.active {
    border-color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.20);
  }
}

/* ==============================
   Service List / Cards
============================== */
#serviceTab {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 8px;
}

#serviceTab .nav-link {
  margin: 0 4px 8px !important;
  white-space: nowrap;
}

.service-sort-area {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 22px;
}

.service-sort-select {
  width: 190px;
  height: 44px;
  border-radius: 999px;
  padding: 0 14px;
  color: #333333;
  font-size: 14px;
  font-weight: 700;
}

.service-tab-content {
  position: relative;
  padding-top: 6px;
}

.service-board {
  position: relative;
  min-height: 520px;
}

.service-board.service-board-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--border-radius-medium);
  z-index: 5;
  pointer-events: none;
}

.service-board.service-board-loading::after {
  content: "조회 중입니다.";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--custom-btn-bg-color);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.18);
  pointer-events: none;
}

.service-list-row {
  min-height: 360px;
}

.service-empty-card {
  width: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #d5e3ec;
  border-radius: var(--border-radius-medium);
  background: #f8fbfd;
  color: #717275;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.service-card {
  height: 100%;
  padding: 24px;
}

.service-card:hover {
  background-color: #ffffff;
}

.service-card-link {
  width: 100%;
  height: 100%;
  color: inherit;
}

.service-card-link:hover {
  color: inherit;
}

.service-card-top {
  align-items: flex-start;
  gap: 10px;
}

.service-card-title-wrap {
  flex: 1;
  min-width: 0;
}

.service-card-title {
  color: #13547a;
  font-size: 20px;
  line-height: 1.4;
  word-break: break-word;
}

.service-card-summary {
  min-height: 54px;
  color: #717275;
  font-size: 15px;
  line-height: 1.8;
}

.service-card-no {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
}

.service-card-image {
  height: 185px;
  margin-top: 22px;
  border-radius: 16px;
  background: #f8fbfd;
}

.service-card-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 14px;
}

.service-card-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.service-card-info-label {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.service-card-info-label-work {
  color: #1565c0;
}

.service-card-info-label-price {
  color: #f57c00;
}

.service-card-info-value {
  min-width: 0;
  color: #333333;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef7ff;
  color: #1565c0;
  font-size: 13px;
  font-weight: 700;
}

.service-bottom-search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px auto 22px;
  padding: 10px 0;
}

.service-search-select {
  width: 130px;
  height: 46px;
  flex: 0 0 130px;
  border-radius: 999px;
  color: #333333;
  font-size: 14px;
  font-weight: 700;
}

.service-search-input-group {
  width: 420px;
  max-width: 100%;
  flex: 0 1 420px;
}

.service-search-input {
  height: 46px;
  border-radius: 999px 0 0 999px !important;
  font-size: 14px;
  margin-bottom: 0 !important;
}

.service-search-btn {
  width: 84px;
  height: 46px;
  border-radius: 0 999px 999px 0 !important;
  padding-left: 0;
  padding-right: 0;
  font-size: 15px;
}

.service-reset-btn {
  width: 86px;
  height: 46px;
  border-radius: 999px;
  padding-left: 0;
  padding-right: 0;
  font-size: 15px;
}

.service-page-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 0;
}

.service-page-info {
  color: #717275;
  font-size: 14px;
  font-weight: 600;
}

#servicePagination {
  margin-top: 0;
}

#servicePagination .page-link {
  min-width: 42px;
  text-align: center;
}

@media screen and (max-width: 991px) {
  .service-sort-area {
    justify-content: flex-end;
    margin-bottom: 18px;
  }

  .service-sort-select {
    width: 170px;
    height: 42px;
    font-size: 13px;
  }

  .service-bottom-search {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 0;
  }

  .service-search-select {
    width: 96px;
    flex-basis: 96px;
    height: 42px;
    font-size: 13px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .service-search-input-group {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .service-search-input,
  .service-search-btn,
  .service-reset-btn {
    height: 42px;
    font-size: 13px;
  }

  .service-search-btn {
    width: 64px;
  }

  .service-reset-btn {
    width: 68px;
  }

  .service-page-area {
    justify-content: center;
  }

  .service-page-info {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 575px) {
  #serviceTab .nav-link {
    padding: 9px 10px;
    font-size: 14px;
  }

  .service-board {
    min-height: 430px;
  }

  .service-board.service-board-loading::after {
    font-size: 13px;
    padding: 9px 16px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card-image {
    height: 175px;
  }

  .service-card-info-row {
    gap: 8px 14px;
  }

  .service-bottom-search {
    margin-top: 6px;
    gap: 6px;
  }

  .service-search-select {
    width: 82px;
    flex-basis: 82px;
    font-size: 12px;
  }

  .service-search-input {
    font-size: 13px;
    padding-left: 12px;
    padding-right: 10px;
  }

  .service-search-btn {
    width: 54px;
    font-size: 12px;
  }

  .service-reset-btn {
    width: 58px;
    font-size: 12px;
  }

  #servicePagination {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
  }

  #servicePagination .page-link {
    min-width: 64px;
    margin: 0;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 999px;
  }

  #servicePagination .service-mobile-page-status .page-link {
    min-width: 76px;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
    font-weight: 700;
  }
}
/* ==============================
   Service Card Info
============================== */

.service-card-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.service-card-info-item {
  min-width: 0;
}

.service-card-info-item-price {
  margin-left: auto;
  text-align: right;
}

.service-card-info-label {
  display: inline;
  margin-right: 6px;
  font-size: 14px;
  font-weight: 800;
}

.service-card-info-label-date {
  color: #1565c0;
}

.service-card-info-label-price {
  color: #21c768;
}

.service-card-info-value {
  color: #333333;
  font-size: 14px;
  font-weight: 800;
}


/* ==============================
   Service Loading
============================== */

.service-board.service-board-loading::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  z-index: 9990;
  pointer-events: none;
}

.service-board.service-board-loading::after {
  content: "조회 중입니다.";
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9991;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--custom-btn-bg-color);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.18);
  pointer-events: none;
}

/* service tag click */
.service-tag-click {
  cursor: pointer;
}

.service-tag-click:hover,
.service-tag-click:focus {
  color: #ffffff;
  background: var(--custom-btn-bg-hover-color);
}


/* ==============================
   Service Detail Modal (Fullscreen / Responsive Grid)
============================== */
/* 4. 좌우/위아래 잘림 방지: 위쪽을 기준으로 살짝 띄우고 중앙 정렬 */
.service-detail-modal .service-modal-dialog {
  max-width: 1200px;
  margin: 4vh auto;
}

.service-detail-modal .modal-content {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(21, 101, 192, 0.24);
  height: 85vh;
}

.service-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1060;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.service-modal-close:hover {
  background-color: var(--white-color);
  transform: scale(1.1);
}

.service-modal-data-area {
  background-color: #ffffff;
  height: 100%;
  overflow-y: auto;
}

.service-modal-data-inner {
  padding: 40px;
}

.service-detail-meta-box {
  background: #f8fbfd;
  border: 1px solid #edf3f7;
  border-radius: 16px;
  padding: 20px;
}

.meta-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.meta-row:last-child {
  margin-bottom: 0;
}

.meta-label {
  flex: 0 0 90px;
  color: #6c757d;
  font-size: 14px;
  font-weight: 700;
}

.meta-value {
  flex: 1;
  color: #333333;
  font-size: 15px;
  font-weight: 700;
  word-break: keep-all;
}

.service-detail-content-title {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 800;
}

.service-detail-text {
  color: #444;
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.service-modal-slider-area {
  background-color: #eef7ff;
  position: relative;
  height: 100%;
}

.service-modal-slider-area .carousel-item {
  height: 100%;
}

.service-modal-slider-area .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #f8fbfd;
}

/* 1. 슬라이더 화살표 & 인디케이터 시인성 개선 */
.service-modal-slider-area .carousel-control-prev-icon,
.service-modal-slider-area .carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
  /* 그림자 효과를 강하게 주어 밝은 배경에서도 잘 보이게 처리 */
  filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.7));
}

.service-modal-slider-area .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--white-color);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  border: none;
  margin: 0 6px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.service-modal-slider-area .carousel-indicators .active {
  opacity: 1;
  background-color: var(--custom-btn-bg-hover-color);
  transform: scale(1.2);
}

.modal-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 모바일/태블릿 반응형 */
@media screen and (max-width: 1200px) {
  .service-detail-modal .service-modal-dialog {
    max-width: 95%; /* 약간 작은 모니터에서 잘림 방지 */
  }
}

@media screen and (max-width: 991px) {
  .service-detail-modal .service-modal-dialog {
    max-width: 100%;
    margin: 0;
  }
  .service-detail-modal .modal-content {
    height: auto;
    min-height: 100vh;
    border-radius: 0;
  }

  .service-modal-slider-area {
    height: 40vh;
    min-height: 280px;
  }

  .service-modal-data-area {
    height: auto;
    overflow-y: visible;
  }

  .service-modal-data-inner {
    padding: 24px 20px;
  }

  .service-detail-modal {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}
