/*!
Theme Name: Ohio-Child
Theme URI: http://ohio.colabr.io/
Author: Colabrio
Author URI: http://colabr.io/
Description: Ohio is a WordPress theme bundled with premium plugins to build a modern and functional website.
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: ohio
Text Domain: ohio-child
Tags: ajax, customizer, ecommerce, portfolio, minimal, page builder, responsive, multipurpose, shop, store, woocommerce, wpml

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
@import url("https://fonts.googleapis.com/css2?family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400&display=swap");

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
input[type="tel"],
textarea,
select,
.select2-container--default .select2-selection--single {
  border: 2px solid #09f !important;
}

.with_frm_style .frm_radio input[type="radio"],
.with_frm_style .frm_checkbox input[type="checkbox"] {
  border: 2px solid #000000 !important;
}

.blog-grid-type-4 .blog-grid-content .btn-more {
  bottom: 0.4vh;
}

.js_active .checked-star {
  color: #54b3f3;
}

.ljp_login #customer_login > div {
  width: 100% !important;
}

.single-scholarly_article .clb-post-meta-item span.author {
  display: block;
  width: 100%;
}
#customer_login form.login > fieldset > p:nth-child(2) {
  position: relative;
}

.ljp_login #customer_login .show-password-input {
  background: transparent;
  padding: 9px !important;
  position: absolute;
  z-index: 1111;
  right: 9px;
  top: 48px;
}

.purpose-of-ai-sec > div {
  border-top: 30px solid #019cff;
  margin: 15px;
  width: calc(50% - 30px);
  box-shadow: 2px 5px 9px -2px #eee;
  border-radius: 0 0 30px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.purpose-of-ai-sec > div h5 {
  padding-top: 14px;
}

.purpose-of-ai-sec .icon-box-details {
  padding-bottom: 20px;
}

.purpose-of-ai-sec > div img,
.purpose-of-ai-sec > div .icon-box-icon {
  width: 60px !important;
  margin-top: -8px;
  height: 60px !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

.circle-ai-sec > div:last-child div.wpb_wrapper:last-child {
  position: relative;
  padding: 0px 50px;
}

.circle-ai-sec > div:last-child div.wpb_wrapper:last-child::before {
  width: 100%;
  height: 100%;
  background-color: #009cff;
  position: absolute;
  left: 0;
  content: "";
  opacity: 70%;
  z-index: 0;
  border-radius: 50%;
  max-height: 560px;
  max-width: 560px;
  min-width: 560px;
  min-height: 560px;
  top: -25px;
}

.circle-ai-sec > div:last-child div.wpb_wrapper:last-child p,
.circle-ai-sec h1 {
  z-index: 1;
  position: relative;
}

body .circle-ai-sec {
  background-position: left !important;
}

.ai-pg-author-responsivelities-sec > div > div > div > div {
  padding: 0px !important;
}

.ai-pg-author-responsivelities-sec > div > div > div > div .icon-box-icon {
  display: none;
}

.ai-pg-author-responsivelities-sec > div {
  box-shadow: 5px 5px 9px 5px #eee;
  margin: 15px;
  border-radius: 30px;
  padding: 20px !important;
}

.ai-pg-author-responsivelities-sec {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.ai-pg-author-responsivelities-sec div {
  flex: 1;
}

.accuracy-section .vc_empty_space {
  height: 15vh !important;
}

.ai-policy-banner video {
  position: absolute;
  width: 100% !important;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
}

.ai-policy-banner div {
  position: static;
}

.ai-policy-banner {
  position: relative;
  min-height: 50vh !important;
  max-height: 80vh !important;
}

/* --------------------------------------------------Custome-css start */
#citation-box .citation-format-picker {
  width: 200px;
}

.clb-post-meta .clb-post-holder > li:first-child {
  max-width: 80%;
}

.clb-post-meta .clb-post-holder > li:nth-child(2) {
  max-width: 20%;
}

.single-scholarly_article .clb-post-meta {
  width: 100% !important;
  max-width: 100%;
}

.single-scholarly_article .clb-post-meta .gj-author-box-name {
  font-weight: 400 !important;
}

.single-scholarly_article .scholarly-feature-image-wrapper {
  max-width: 304px;
}

.single-scholarly_article .sticky-nav h5 {
  font-size: 16px !important;
}

.single-scholarly_article .clb-page-headline .clb-title {
  width: 100% !important;
  font-size: 45px !important;
  line-height: 1.2;
}

@media (max-width: 1200px) {
  .circle-ai-sec > div:last-child div.wpb_wrapper:last-child::before {
    width: 100%;
    height: 100%;
    max-height: 490px;
    max-width: 490px;
    min-width: 490px;
    min-height: 490px;
    top: -25px;
  }
}

/* ==========================================================================
   Ohio Theme Layout 2 Blog Card - Shortcode Support (RSS Feed)
   These rules mirror the parent theme's -layout2 card styles so they work
   on non-blog pages (e.g. homepage) where the theme may not load them.
   ========================================================================== */

.jp-rss-blog-grid .jp-rss-empty {
  text-align: center;
  padding: 32px 20px;
}

/* Grid layout for RSS cards */
.jp-rss-blog-grid {
  display: flex;
  flex-wrap: wrap;
}

.jp-rss-blog-grid .masonry-block {
  margin-bottom: 24px;
  padding: 0 12px;
  box-sizing: border-box;
}

/* ===== CARD ===== */
.blog-item.card.-layout2 {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

/* ===== IMAGE HOLDER: must be relative so overlays work ===== */
.blog-item.card.-layout2 .image-holder {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0;
}

.blog-item.card.-layout2 .image-holder > a {
  display: block;
  position: relative;
}

/* ===== IMAGE ===== */
.blog-item.card.-layout2 .image-holder img.blog-archive-image {
  width: 100%;
  height: 340px;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-item.card.-layout2:hover .image-holder img.blog-archive-image {
  transform: scale(1.06);
}

/* ===== DARK GRADIENT OVERLAY (bottom-heavy like the screenshot) ===== */
.blog-item.card.-layout2 .image-holder .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ===== TOP OVERLAY: Author (shows on hover) ===== */
.blog-item.card.-layout2 .overlay-details.-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.blog-item.card.-layout2:hover .overlay-details.-top {
  opacity: 1;
  transform: translateY(0);
}

.blog-item.card.-layout2 .overlay-details.-top .meta-holder {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}

.blog-item.card.-layout2 .overlay-details.-top .meta-holder li.meta-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-item.card.-layout2 .overlay-details.-top .avatar.-small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.4);
}

.blog-item.card.-layout2 .overlay-details.-top .avatar.-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.blog-item.card.-layout2 .overlay-details.-top .prefix {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.blog-item.card.-layout2 .overlay-details.-top .author {
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  display: block;
}

/* ===== BOTTOM OVERLAY: Title, Date, Categories (always visible) ===== */
.blog-item.card.-layout2 .overlay-details.card-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 20px 22px 22px;
}

/* Date + Read time row with dot separator */
.blog-item.card.-layout2 .overlay-details.card-details .headline-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-item.card.-layout2 .overlay-details.card-details .date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

/* Dot between date and read time — exactly like the screenshot */
.blog-item.card.-layout2 .overlay-details.card-details .post-meta-estimate::before {
  content: "·";
  color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
}

.blog-item.card.-layout2 .overlay-details.card-details .post-meta-estimate {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

/* Title */
.blog-item.card.-layout2 .overlay-details.card-details .heading.title {
  margin: 0 0 14px 0;
  padding: 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.blog-item.card.-layout2 .overlay-details.card-details .heading.title a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.25s;
}

.blog-item.card.-layout2 .overlay-details.card-details .heading.title a:hover {
  opacity: 0.85;
}

/* Category pills — exactly like screenshot (rounded, semi-transparent) */
.blog-item.card.-layout2 .category-holder.-with-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-item.card.-layout2 .category-holder.-with-tag .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.25s;
  line-height: 1.6;
}

.blog-item.card.-layout2 .category-holder.-with-tag .tag:hover {
  background: rgba(255, 255, 255, 0.32);
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .jp-rss-blog-grid .vc_col-md-4 {
    width: 50%;
  }
  .blog-item.card.-layout2 .image-holder img.blog-archive-image {
    height: 280px;
  }
}

@media (max-width: 600px) {
  .jp-rss-blog-grid .vc_col-lg-4,
  .jp-rss-blog-grid .vc_col-md-4,
  .jp-rss-blog-grid .vc_col-xs-12 {
    width: 100%;
    padding: 0;
  }

  .jp-rss-blog-grid .masonry-block {
    padding: 0;
  }

  .blog-item.card.-layout2 .image-holder img.blog-archive-image {
    height: 240px;
  }

  .blog-item.card.-layout2 .overlay-details.card-details .heading.title {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .circle-ai-sec > div:last-child div.wpb_wrapper:last-child::before {
    width: 100%;
    height: 100%;
    background-color: #009cff;
    position: absolute;
    left: -80%;
    content: "";
    opacity: 70%;
    z-index: 0;
    border-radius: 50%;
    max-height: 100%;
    max-width: 94%;
    min-width: 900px;
    min-height: 900px;
    top: 25px;
  }

  .circle-ai-sec {
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .purpose-of-ai-sec,
  body .ai-pg-author-responsivelities-sec > div {
    display: flex;
    flex-wrap: wrap;
  }

  body .single-scholarly_article .clb-page-headline .clb-title {
    font-size: 22px !important;
    line-height: 1.3;
  }

  .ai-pg-author-responsivelities-sec > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: fit-content;
  }

  .circle-ai-sec > div:last-child div.wpb_wrapper:last-child::before {
    left: -130% !important;
  }

  .circle-ai-sec > div:last-child div.wpb_wrapper:last-child {
    padding: 0px 20px;
    max-width: 300px;
  }

  .purpose-of-ai-sec > div {
    width: calc(100% - 30px);
  }

  body .circle-ai-sec {
    background-size: cover !important;
  }
}

@media (max-width: 767px) {
  .circle-ai-sec > div:last-child div.wpb_wrapper:last-child::before {
    left: -50%;
  }
}

/* Scope all scholarly article styles */
.single-scholarly_article {
  scroll-behavior: smooth;
}

.single-scholarly_article .article-meta-dates {
  display: flex;
  list-style: none;
  padding: 10px;
  margin: 0;
  border: 1px solid #bababb;
  border-radius: 12px;
  background: #ffffff;
  justify-content: space-around;
  align-items: flex-start;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.single-scholarly_article .article-meta-dates li {
  flex: 1;
  border-right: 1px solid #bababb;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  min-height: 100px;
  justify-content: center;
  height: 100%;
}

.single-scholarly_article .article-meta-dates li:last-child {
  border-right: none;
}

.single-scholarly_article .meta-label {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  display: block;
  line-height: 1.2;
}

.single-scholarly_article .meta-date {
  font-size: 12px;
  color: #718096;
  font-weight: 400;
}

.single-scholarly_article .meta-subtext {
  font-size: 11px;
  color: #a0aec0;
  margin-bottom: 3px;
}

.single-scholarly_article .meta-link {
  font-size: 11px;
  color: #4a5568;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
}

.single-scholarly_article .meta-link:hover {
  color: #2b6cb0;
  text-decoration: underline;
}

.single-scholarly_article .meta-link i {
  margin-left: 4px;
  font-size: 11px;
}

/* Mobile responsive adjustments */
@media (max-width: 991px) {
  .single-scholarly_article .article-meta-dates {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 30px 20px;
  }

  .single-scholarly_article .clb-page-headline .clb-title {
    font-size: 25px !important;
  }

  .single-scholarly_article #main .project-page-content > div:last-child > div {
    width: 100% !important;
  }

  .single-scholarly_article .article-meta-dates li {
    border-right: none;
    border-bottom: 1px solid #edf2f7;
    width: 100%;
    padding-bottom: 20px;
    min-height: auto;
  }

  .single-scholarly_article .article-meta-dates li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* --- UNIFIED SIDEBAR BOX STYLES --- */
.single-scholarly_article .article-nav-sidebar,
.single-scholarly_article .project-task,
.single-scholarly_article .article_additional_info,
.single-scholarly_article .article-download-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 25px;
  padding: 20px;
  overflow: hidden;
}

/* Specific Navigation Sidebar Overrides */
.single-scholarly_article .article-nav-sidebar {
  padding: 20px 0;
  /* No side padding for list items */
}

.single-scholarly_article .article-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-scholarly_article .article-nav-list li {
  border-bottom: 1px solid #bababb;
  margin: 12px 20px;
}

.single-scholarly_article .article-nav-list li:last-child {
  border-bottom: none;
}

.single-scholarly_article .article-nav-list li a {
  display: block;
  color: #111;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.single-scholarly_article .article-nav-list li a:hover {
  background-color: #f9fafb;
  color: #0095ff;
}

/* Sidebar Metadata List */
.single-scholarly_article .project-meta {
  list-style: none;
  padding: 0;
  margin: 0;
}

.single-scholarly_article .project-meta li {
  margin-bottom: 20px;
  border-bottom: 1px solid #bababb;
  padding-bottom: 15px;
  width: 100% !important;
  border-top: 0;
  padding-top: 0;
}

.single-scholarly_article .project-meta li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.single-scholarly_article .project-meta-title {
  font-family: inherit;
  font-size: 14px;
  color: #111;
  margin-bottom: 5px;
}

.single-scholarly_article .project-meta li p {
  font-size: 14px;
  color: #718096;
  margin: 0;
}

/* Generic Sidebar Buttons */
.single-scholarly_article .sidebar-btn {
  display: block;
  width: 100%;
  background-color: #0095ff;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.single-scholarly_article .sidebar-btn:hover {
  background-color: #0077cc;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 149, 255, 0.2);
}

/* --- DOWNLOAD BOX SPECIFIC STYLES --- */
.single-scholarly_article .article-download-box {
  text-align: left;
}

.single-scholarly_article .article-thumb-wrapper img {
  max-width: 205px;
  height: auto;
}

.single-scholarly_article .download-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.single-scholarly_article .action-link {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-scholarly_article .action-link i {
  color: #718096;
  font-size: 14px;
}

.single-scholarly_article .action-link:hover {
  color: #0095ff;
}

.single-scholarly_article .article-status-icons {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.single-scholarly_article .status-item {
  font-size: 13px;
  color: #718096;
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-scholarly_article .status-item i {
  font-size: 16px;
  width: 20px;
}

.single-scholarly_article .status-item .ion-md-unlock {
  color: #48bb78;
}

/* Green for unlock */
.single-scholarly_article .status-item .ion-md-document {
  color: #a0aec0;
}

.single-scholarly_article .status-item .ion-md-ribbon {
  color: #a0aec0;
}

.single-scholarly_article .req-perm-link {
  font-size: 12px;
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

.single-scholarly_article .req-perm-link:hover {
  color: #0095ff;
}

/* --- CONTENT SECTION SPACING & HEADINGS --- */
.single-scholarly_article .article-meta-timeline {
  margin-bottom: 80px;
  /* More space before first section */
}

.single-scholarly_article .article-content-section {
  margin-bottom: 50px;
  scroll-margin-top: 120px; /* Adjust this value if you have a sticky header */
}

.single-scholarly_article .section-heading {
  display: flex !important;
  align-items: center;
  gap: 15px;
  font-family: inherit;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
  border-top: 1px solid #bababa;
  padding-top: 20px;
}

.single-scholarly_article .section-icon {
  background: #f1f5f9;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  color: #64748b;
  font-weight: 300;
  flex-shrink: 0;
}

.article-issue-sidebar-wrapper {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #bababa;
}

#abstract-section h4 {
  border: none;
  padding: 0;
}

#intellipaper-section {
  margin: 0;
}

#citation-box .select-wrapper .select-holder {
  width: 100%;
}

.single-scholarly_article .frm_form_field,
.tax-journal_issue .frm_form_field {
  margin-top: 0;
}

.ljp_login
  .site-main
  > article
  > div
  > div
  > div
  > div:last-child
  > div
  > div
  > div
  #myaccount-scroll-content {
  display: flex;
  flex-direction: column;
}

.ljp_login
  .site-main
  > article
  > div
  > div
  > div
  > div:last-child
  > div
  > div
  > div
  #myaccount-scroll-content
  > div {
  width: 100%;
}

/* --- DARK MODE FIXES FOR SCHOLARLY ARTICLES (Ohio Theme Consistent) --- */
body.dark-scheme .single-scholarly_article .article-meta-dates,
body.dark-scheme .single-scholarly_article .article-nav-sidebar,
body.dark-scheme .single-scholarly_article .article_additional_info,
body.dark-scheme .single-scholarly_article .article-download-box,
body.dark-scheme .single-scholarly_article .gj-citation-box {
  background: #000000 !important;
  border-color: #222222 !important;
  color: #ffffff !important;
}

body.dark-scheme .single-scholarly_article .meta-label,
body.dark-scheme .single-scholarly_article .project-meta-title,
body.dark-scheme .single-scholarly_article .article-nav-list li a,
body.dark-scheme .single-scholarly_article .action-link,
body.dark-scheme .single-scholarly_article .section-heading,
body.dark-scheme .single-scholarly_article .item-title,
body.dark-scheme .single-scholarly_article .gj-article-code {
  color: #ffffff !important;
}

body.dark-scheme .single-scholarly_article .gj-article-code {
  background: #333333 !important;
  border-color: #444444 !important;
}

body.dark-scheme .single-scholarly_article .meta-date,
body.dark-scheme .single-scholarly_article .project-meta li p,
body.dark-scheme .single-scholarly_article .status-item,
body.dark-scheme .single-scholarly_article .meta-subtext,
body.dark-scheme .single-scholarly_article .item-value {
  color: #a0a0a0 !important;
}

body.dark-scheme .single-scholarly_article .article-meta-dates li,
body.dark-scheme .single-scholarly_article .article-nav-list li,
body.dark-scheme .single-scholarly_article .project-meta li {
  border-color: #222222 !important;
}

body.dark-scheme .single-scholarly_article .section-icon {
  background: #111111 !important;
  color: #ffffff !important;
}

body.dark-scheme .single-scholarly_article .section-heading {
  border-color: #222222 !important;
}

/* Citation Box Dark Mode */
body.dark-scheme .gj-citation-box .citation-text {
  background: #272727 !important;
  border-color: #222222 !important;
  color: #f0f0f0 !important;
}

body.dark-scheme .gj-citation-box select#gj-citation-style,
body.dark-scheme .article-meta-dates,
.dark-scheme .dark-mode-jp,
.dark-scheme .dark-mode-jp p,
.dark-scheme .dark-mode-jp h6,
.single-scholarly_article.dark-scheme .article-nav-list li a:hover,
.single-scholarly_article.dark-scheme select option {
  background: #1a191d !important;
  color: #ffffff !important;
  border-color: #222222 !important;
}

body.dark-scheme .gj-citation-box .citation-header-wrap {
  border: none !important;
}

/* Related Research Dark Mode */
.single-scholarly_article
  .dark-scheme
  .related-research-container
  .related-article-item
  .related-citation-text,
.single-scholarly_article
  .dark-scheme
  .related-research-container
  .related-article-item
  .related-citation-text
  a,
.single-scholarly_article .dark-scheme span,
.single-scholarly_article.dark-scheme b,
.single-scholarly_article.dark-scheme a {
  color: #ffffff !important;
}

body.dark-scheme .related-divider {
  border-color: #222222 !important;
}

/* Author Issue Sidebar V2 (Inside Download Box) */
body.dark-scheme .gj-author-issue-sidebar-v2 .gj-issue-meta-line {
  color: #cccccc !important;
}

body.dark-scheme .gj-author-issue-sidebar-v2 .gj-issue-footer-links a {
  color: #a0a0a0 !important;
}

body.dark-scheme .gj-author-issue-sidebar-v2 img {
  border-color: #222222 !important;
}

/* Ensure common text containers also behave */
body.dark-scheme .single-scholarly_article p,
body.dark-scheme .single-scholarly_article li {
  color: #ffffff !important;
}

body.dark-scheme .single-scholarly_article .clb__light_section {
  background-color: transparent !important;
}

/* Author Cards Box Design */
.gj-author-cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
  max-height: 208px !important;
  overflow-y: scroll;
}

.gj-author-box {
  position: relative;
  background: #1a1a1b;
  border: 1px solid #2c2c2e;
  border-radius: 24px;
  padding: 18px 30px 18px 18px;
  min-width: 260px;
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gj-author-box:hover {
  background: #242426;
  border-color: #3a3a3c;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.gj-author-box-symbol {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  font-family: inherit;
}

.gj-author-box-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gj-author-box-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.gj-author-box-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gj-author-box-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gj-author-box-name {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.gj-author-box-orcid {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.gj-author-box-orcid:hover {
  opacity: 1;
}

.gj-author-box-orcid svg {
  width: 100%;
  height: 100%;
}

/* Light Mode Overrides */
body:not(.dark-scheme) .gj-author-box {
  background: #1a1a1b !important;
}

body:not(.dark-scheme) .gj-author-box-symbol,
body:not(.dark-scheme) .gj-author-box-name {
  color: #fff !important;
}

body:not(.dark-scheme) .gj-author-box-avatar {
  border-color: rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
  .gj-author-box {
    width: 100%;
    min-width: 0;
  }
}

/* SVG Placeholder Styles */
.gj-author-svg-placeholder {
  width: 100%;
  height: 100%;
  background: #2a2a2c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0a0a0;
}

.gj-author-svg-placeholder svg {
  width: 60%;
  height: 60%;
}

body:not(.dark-scheme) .gj-author-svg-placeholder {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.3);
}
