:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --border-color: #dcdcdc;
  --hover-color: #f0f0f0;
  /* button */
  --button-bg-color: #f8f9fa;
  --button-text-color: #000000;
  --button-hover-bg-color: #e2e6ea;
  --button-hover-text-color: #000000;
  /* input */
  --input-bg-color: #ffffff;
  --input-text-color: #000000;
  --input-border-color: #dcdcdc;
  --input-hover-border-color: #b0b0b0;
  --box-shadow-color: rgba(0, 0, 0, 0.1);
  /* sample ad */
  --sample-ad-border-color: #b0b0b0;
  /*------*/
  --navbar-height: 60px;
  --font-size: 1rem;
}
[data-theme="dark"] {
  --bg-color: #1c1c1c;
  --text-color: #d0d0d0;
  --border-color: #333333;
  --hover-color: #444444;
  /* button */
  --button-bg-color: #333333;
  --button-text-color: #d0d0d0;
  --button-hover-bg-color: #444444;
  --button-hover-text-color: #ffffff;
  /* input */
  --input-bg-color: #333333;
  --input-text-color: #d0d0d0;
  --input-border-color: #444444;
  --input-hover-border-color: #555555;
  --box-shadow-color: rgba(255, 255, 255, 0.1);
  /* sample ad */
  --sample-ad-border-color: #d0d0d0;


}

html, body {
  touch-action: manipulation; /* double tab x */
}

html {
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

* {
  font-family: 'Noto Sans KR', sans-serif;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  margin: 0;
  letter-spacing: -0.3px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out
}

body.theme-loaded {
  visibility: visible;
  opacity: 1;
}

@-ms-viewport {
  width: device-width;
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

.form-control {
  background-color: var(--input-bg-color) !important;
  color: var(--input-text-color) !important;
  border: 1px solid var(--input-border-color) !important;
  border-radius: 4px !important;
  padding: 0.5rem !important;
  font-size: var(--font-size) !important;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !important;
  box-shadow: none !important;
}

.form-control:focus {
  border-color: var(--input-hover-border-color) !important;
  box-shadow: 0 0 5px var(--box-shadow-color) !important;
  outline: none !important;
}

button {
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: var(--font-size);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
  background-color: var(--button-hover-bg-color);
  color: var(--button-hover-text-color);
}

/******************************* Theme Toggle *******************************/
.theme-dropdown {
  position: relative;
  display: inline-block;
}
.theme-mobile{
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  cursor: pointer;
}

.theme-dropdown .theme-button {
  display: flex;
  align-items: center;
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.theme-dropdown .theme-button i {
  font-size: 1.2rem;
}

.theme-dropdown .theme-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 80px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
}

.theme-dropdown .theme-dropdown-menu.active {
  display: block;
}

.theme-dropdown .theme-option {
  padding: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.theme-dropdown .theme-option:hover {
  background-color: var(--hover-color);
}

.theme-selector-mobile {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.theme-selector-mobile h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.theme-selector-mobile .theme-dropdown {
  width: 100%;
}

.theme-selector-mobile .theme-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
}

.theme-selector-mobile .theme-dropdown-menu {
  position: static;
  margin-top: 0.5rem;
  border-radius: 5px;
  box-shadow: none;
}
/**********************************************************************************/

/******************************* Mobile Device Menu *******************************/
.navbar-mobile {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--bg-color);
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  z-index: 1040;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--navbar-height);
}

.navbar-mobile .logo {
  line-height: 1.5rem;
  display: flex;
  align-items: center;
  transform: translateY(4px);
}

.slide-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: var(--bg-color);
  color: var(--text-color);
  border-left: 1px solid var(--border-color);
  z-index: 1049;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
}

.slide-menu.active {
  right: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.menu-logo {
  font-size: 1.2rem !important;
}

.close-link {
  text-decoration: none;
  font-size: 1.2rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.3rem;
  line-height: 1;
}

.close-link:hover {
  color: var(--hover-color);
  transform: scale(1.1);
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.menu-list .nav-item {
  text-align: left;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color) !important;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--hover-color);
}

.theme-toggle {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  cursor: pointer;
}

.theme-options {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

.theme-toggle:hover .theme-options {
  display: flex;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1048;
  display: none;
}
.overlay.active {
  display: block;
}
/**********************************************************************************/


/***************************** None Mobile Device Menu ****************************/
.navbar-desktop {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--bg-color);
  color: var(--text-color);
  z-index: 1040;
  display: flex;
  align-items: center;
  height: var(--navbar-height);
  overflow: visible;
  transition: transform 0.1s ease-in-out;
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar-desktop .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
  margin-top:10px;
}

.logo a {
  font-size: 3rem !important;
}

.navbar-desktop .navbar-right {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: absolute;
    right: 1rem;
}

.navbar-desktop.hidden {
  transform: translateY(-100%);
}

.menu-bar-desktop {
  position: sticky;
  top: var(--navbar-height);
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 1039;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
}

.menu-bar-desktop > ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  justify-content: space-between;
  align-items: center;
  height: var(--navbar-height);
}

.menu-bar-desktop > ul > li > a {
  min-width: 120px;
  text-decoration: none;
  color: var(--text-color);
  font-size: 1.2rem;
  transition: color 0.1s ease, transform 0.2s ease;
  height: var(--navbar-height);
  padding-top: 0px;
  padding-bottom: 0px;
  align-content: center;
}

.menu-bar-desktop > ul > li > a:hover {
  /* color: var(--hover-color); /* 호버 시 색상 변경 */
  /* transform: scale(1.1); /* 살짝 확대 */
  color: var(--text-color) !important;
  font-weight: 800;
}

/**********************************************************************************/


/************************************ Search Overlay *********************************/
.search-overlay-top{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay-top.active {
  opacity: 1;
  visibility: visible;
}

.search-container-top {
  display: flex;
  align-items: center;
  background-color: var(--bg-color);
  padding: 10px;
  border: 1px solid var(--input-border-color);
  border-radius: 4px;
  width: 80%;
  max-width: 500px;
}

.search-container-top input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
  font-size: var(--font-size);
  color: var(--input-text-color);
  background-color: var(--input-bg-color);
  border-radius: 4px 0 0 4px;
}

.search-container-top input::placeholder {
  color: var(--text-color);
  opacity: 0.7;
}

.search-container-top .search-button-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  background-color: var(--button-bg-color);
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  color: var(--button-text-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.search-container-top .search-button-top:hover {
  background-color: var(--button-hover-bg-color);
  color: var(--button-hover-text-color);
}

.close-button-top {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.close-button-top:hover {
  background-color: var(--button-hover-bg-color);
  color: var(--button-hover-text-color);
}
/************************************************************************************/


.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.btn-outline-secondary {
  background-color: var(--bg-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.font-thin {
  font-weight: 100;
}
.font-light {
  font-weight: 300;
}
.font-regular {
  font-weight: 400;
}
.font-medium {
  font-weight: 500;
}
.font-bold {
  font-weight: 700;
}
.font-black {
  font-weight: 900;
}

[tabindex="-1"]:focus {
  outline: 0 !important; }

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible; }

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem; }

p {
  margin-top: 0;
  margin-bottom: 1rem; }

/* top logo and menu*/
#lastUpdated {
  font-weight: 500;
  color: #555;
}
/****************************삭제******************************/
#brandSection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  border-bottom: 0px !important;
  flex-wrap: nowrap;
  font-size: 1rem;
}

.logo-container {
  display: flex;
  align-items: center;
}

.update-container {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 100%;
  padding-bottom: 5px;
  font-size: 0.9rem;
  color: #555;
}

.navbar-nav .nav-item {
    margin: 0 1.5rem;
}

.navbar-nav .nav-link {
    position: relative;
    color: #333;
    font-weight: normal;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.navbar-nav .nav-link:hover {
    font-weight: 800;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--bg-color);
    color: var(--text-color) !important;
}

.navbar-nav .nav-link.active {
    font-weight: 800;
    color: var(--bg-color);
}

.navbar-brand {
  color: var(--text-color) !important;
  font-family: 'Black Han Sans', sans-serif;
  font-size: 2.5rem !important;
  font-weight: 400;
  letter-spacing: -0.5px;
  padding: 0 !important;
}

#scrollingMenu, #scrollingHiddenMenu {
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto;
  border-bottom: 1px solid;
  border-color: var(--brand-border-color);
}

#scrollingMenu ul, #scrollingHiddenMenu ul {
  padding-left: 0;
  margin: 0;
}

#scrollingMenu li, #scrollingHiddenMenu li {
  list-style: none;
}

#scrollingMenu a, #scrollingHiddenMenu a {
  text-decoration: none;
  color: #000;
  /* padding: 5px 10px; */
}

#scrollingMenu a.active, #scrollingHiddenMenu a.active {
  font-weight: bold;
}

#scrollingMenu a:focus, #scrollingHiddenMenu a:focus {
  outline: none;
}

#buttonSection .btn {
  border: none;
  padding: 8px 12px;
  margin: 0 6px;
  background: transparent;
  transition: all 0.3s ease;
}

#buttonSection .btn:hover {
  color: var(--bg-color);
}

#shareOptions {
  min-width: 120px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1050;
}

#shareOptions .btn-link {
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.2s;
}

#menuBarDesktop::-webkit-scrollbar {
  height: 8px;
}

#menuBarDesktop::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

#menuBarDesktop::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

#menuBarDesktop {
  overflow-x: auto; white-space: nowrap;
  min-width: 200px;
  border-radius: 8px;
  right: -12px !important;
}

#menuBarDesktop .nav-link {
  text-align-last: center;
  padding: 0px;
  transition: background-color 0.2s;
  white-space: nowrap;
}

#menuBarDesktop .nav-link.active {
  /*color: var(--hover-color);*/
  font-weight: bold;
}

/****************************삭제******************************/

.main-news .news-title {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.main-news .news-date {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.main-news .main-image {
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
}

.main-news .main-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.main-news:hover .main-image img {
  transform: scale(1.08);
  border-radius: .45rem !important;
}

.mw-750 {
  max-width: 750px !important;
}
.mw-450 {
  max-width: 450px !important;
}
.mw-1200 {
  max-width: 1200px !important;
}
.w-1200 {
  width: 1200px !important;
}
.h-50 {
  height: 50%;
}
.h-100 {
  height: 100%;
}
.justify-content-center {
  justify-content: center !important;
}
.pl-0{
  padding-left: 0px !important;
}

.custom-flex-container {
  display: flex;
  justify-content: space-between;
  align-items: center; 
}

.custom-flex-container {
  padding-left: 50px;
  padding-right: 50px;
}

.custom-flex-container #buttonSection {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.main-news.card {
  border: 0px;
}

.pt-5d5{
  padding-top: 5.5rem !important;
}


#article_div{
  padding-left: 0px;
  padding-right: 0px;
}

.article-headline {
  white-space: normal;
  word-break: break-word;
}

.article_info small {
  font-size: 1rem;
}

.article-post p {
  font-size: var(--font-size, 18px);
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 768px) {
  .article-post p {
      padding-left: 15px;
      padding-right: 15px;
  }
}

.article-post img {
    max-width: 100%;
    height: auto;
    display: block;
}

figure {
  margin: 1.5em 0;
  text-align: center;
}

figure > img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  padding: 8px 0;
  font-style: italic;
}

.article-subtitle {
  position: relative;
  display: block;
  font-size: var(--font-size, 18px);
  color: var(--text-color);
  line-height: 1.5;
  margin-left: 10px;
  padding-left: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.article-subtitle::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background-color: var(--text-color);
  content: '';
  margin-top: 8px;
  margin-bottom: 8px;
}

a {
  text-decoration: none !important; 
  color: inherit;
  position: relative;
  transition: all 0.3s ease;
}

.site-content a {
  text-decoration: none;
  color: var(--text-color) !important;
  transition: all 0.3s ease;
}

.site-content a:hover {
  color: var(--hover-color) !important;
  text-decoration: none;
}

.navbar a:hover {
  color: #1a73e8;
}

footer a:hover {
  color: #666 ;
}

.pagination .page-item .page-link {
  color: var(--bg-color);
  background-color: var(--text-color);
  border-color: var(--border-color);
}

.pagination .page-item .page-link:hover {
  background-color: var(--bg-color);
  color: var(--text-color);
}

.pagination .page-item.active .page-link {
  background-color: var(--bg-color);
  border-color: var(--border-color);
  color: var(--hover-color);
}

.pagination .page-item.disabled .page-link {
  background-color: #222;
  color: #777;
  border-color: #444;
}
/*
.pagination .page-item.active .page-link {
  background-color: #fff;
  border-color: #000;
  color: #000;
}

.pagination .page-item .page-link {
  color: #fff;
}

.pagination .page-item .page-link:hover {
  background-color: #fff;
  color: #000;
}
  */

.btn.btn-black{
  background-color: #000;
  color: #fff;
}

.btn.btn-black:hover{
  background-color: #fff;
  color: #000;
  border-color: #000;
}

/* Flexbox 레이아웃 */
.main-loop-card {
  display: flex;
  align-items: stretch;
}

.image-container {
  position: relative;
  width: 130px !important;
  height: 80px !important;
  overflow: hidden;
  border-radius: 0.45rem;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-container:hover .cover-image,
.image-container:focus-within .cover-image {
  transform: scale(1.1);
}
.rounded {
  border-radius: .45rem !important;
}

.excerpt {
  color: #6c757d !important;
  margin-bottom: 0.2rem;
  white-space: normal;
  word-break: break-word;
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

@supports (list-style-type: disc) {
  .list-featured li::marker {
    font-size: 1.18rem;
    font-weight: 600;
    line-height: 1;
  }
}

.list-featured {
  padding-left: 1.7rem;
  /* list-style-type: none; */
  /* counter-reset: list-counter; */
  }
  
/*
.list-featured li {
  counter-increment: list-counter;
}

.list-featured li {
  list-style: decimal;
  margin-left: 1em;
}

.list-featured .ml-3:hover img {
  transform: scale(1.1);
}

.list-featured h6 a:hover ~ .ml-3 img {
  transform: scale(1.1);
}
*/
.h5, h5 {
  font-size: 1.18rem !important;
}

.mwp-71 {
  max-width:71% !important;
}

.text-title {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
}

.spanborder {
  border-bottom: 1px solid #e8f3ec;
  margin-bottom: 2rem;
}

.spanborder span {
  border-bottom: 1px solid rgba(0, 0, 0, 0.44);
  display: inline-block;
  padding-bottom: 20px;
  margin-bottom: -1px;
}

.sticky-top {
  z-index: 1000;
}

.w-95{
  width: 95% !important;
}

@media (max-width: 576px) {
  .px-xs-3 {
      padding-left: 1rem;
      padding-right: 1rem;
  }
}

.card {
  background-color: var(--bg-color) !important;
  background-clip: border-box;
}


.btn {
  font-size: 1.2rem !important;
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
}

.icon-button {
  background: transparent;
  border: none;
  font-size: 21px;
  color: var(--text-color);
  cursor: pointer;
  padding: 5px;
  margin: 0 10px;
  position: relative;
}

.icon-button:hover {
  color: var(--hover-color) !important;
}

.font-adjust-minus-btn {
  font-size: 16px;
}

.btn-content {
  position: relative;
  display: inline-block;
  text-align: center;
}

.sup-text-post {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-color);
  position: absolute;
  pointer-events: none;
}

.sup-text-post.plus {
  top: -5px;
  right: -5px;
}

.sup-text-post.minus {
  top: -8px;
  right: -5px;
}

.modal {
  background: transparent;
  z-index: 1050;
}

.border-top {
  border-top: 1px solid var(--input-border-color) !important;
}

/******************************* Ad Banner *******************************/

.ad-banner {
  background-color: var(--bg-color) !important;
  color: var(--text-color) !important;
  border: 1px solid var(--border-color) !important;
  min-height: 200px;
  margin: 20px 0px 20px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

@media (max-width: 768px) {
  .ad-banner-left {
    margin-top : 0px; /* mobile */
  }
}
@media (min-width: 769px) {
  .ad-banner-left {
    margin-top : 20px;
  }
}


.ad-banner p {
  margin: 0px;
}

.ad-banner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.ad-banner div {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.ad-banner .ad-label {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: bold;
  z-index: 10;
}
.sticky-top-lr {
  position: sticky;
  top: 70px;
  z-index: 1020;
}
.sticky-top-lr-side {
  border: 0px solid var(--border-color) !important;
}

@media (min-width: 1200px) {
  .sticky-top-lr p {
      height:760px;
      background-color: var(--bg-color) !important;
      text-align: center;
      align-content: center;
  }
}

/************************************************************************************/

.alert-info {
  color: var(--text-color) !important;
  background-color: var(--bg-color) !important;
  border-color: 1px solid var(--border-color) !important;
}


.list-inline-item:not(:last-child) {
  margin-right: 0 !important;
}

.list-inline-item:not(:last-child)::after {
  content: "|";
  margin-left: 8px;
  margin-right: 5px;
}

@media (max-width: 768px) {
  .d-footer-dt-block {
      display: none !important;
  }
}

@media (min-width: 769px) {
  .d-footer-dt-block {
      display: block !important;
  }
}




/************************form*******************************/
.comment-form {
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
}
.form-row {
  display: flex;
  flex-wrap: nowrap;
  margin: -0.5rem;
}
.form-row > div {
  flex: 1 1 300px;
  padding: 0.5rem;
}
.char-count {
  text-align: right;
  font-size: 0.875rem;
  color: #666;
}
.captcha-section {
  display: none;
}
.captcha-section.active {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.submit-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}
.captcha-popup-content {
  display: flex;
  align-items: center;
  width: 100%;
}
.captcha-canvas {
  flex-shrink: 0;
  width: 140px;
  height: 100%;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}
#captcha-answer {
  flex-grow: 1;
  min-width: 0;
  height: 100%;
  padding: 0.5rem;
  text-align: right;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
}
#verify-captcha-btn {
  flex-shrink: 0;
  height: 100%;
  padding: 0.5rem 1rem;
  background-color: var(--button-hover-bg-color);
  color: var(--button-hover-text-color);
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
#verify-captcha-btn:hover {
  background-color: var(--button-hover-bg-color);
  color: var(--button-hover-text-color);
}

div.char-count{
  margin-top: -24px;
  margin-bottom: 10px;
  padding-right: 13px;
}

#comments-section {
font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
max-width: 800px;
}

#comments-section .border {
border: none !important;
border-bottom: 1px solid #eee !important;
border-radius: 0 !important;
padding: 1.25rem 0.5rem !important;
margin-bottom: 0 !important;
}

#comments-section .bi-person-fill {
color: var(--text-color) !important;
font-size: 0.9em;
}

#comments-section strong {
color: var(--text-color) !important;
font-weight: 500;
margin-left: 4px;
}

#comments-section .btn-link {
line-height: 1;
}

#comments-section .close-x {
color: #666;
font-size: 24px;
font-weight: 300;
}

#comments-section .btn-link:hover .close-x {
color: #ff4444;
}

#comments-section .text-muted {
color: #888 !important;
font-size: 0.8rem;
margin-top: 4px;
}

#comments-section p {
color: var(--text-color) !important;
line-height: 1.5;
margin-top: 0.75rem;
}
