.tj-post__navigation .tj-nav-post__nav .disabled:hover span {
  background-color: inherit !important;
  border-color: #c9d1d1 !important;
}

.tj-post__navigation .tj-nav-post__nav .disabled:hover span i {
  color: #0c1e21 !important;
}

.list-section-title {
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-weight: var(--tj-fw-sbold);
  color: var(--tj-color-heading-primary);
  background: var(--tj-color-common-white);
  padding: 20px 15px 17px 25px;
  border-radius: 10px;
}

.list-section-title:hover {
  color: #ffffff;
  background-color: #12579e;
}

.list-section-title .icon {
  font-size: 24px;
  line-height: 1;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.tj-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 15px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.country-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Ülke kodu yuvarlaq badge */
.flag {
  background: linear-gradient(135deg, #e3e9ff, #ffffff);
  color: #2a5bd7;
  font-weight: 600;
  font-size: 16px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Ülke adı */
.country-name {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  transition: color 0.2s ease;
}

.country-card:hover .country-name {
  color: #2a5bd7;
}

.form-input.has-value label.cf-label {
  display: none;
}
/* Gallery Section Styles */
.gallerySection-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.gallerySection-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallerySection-gallery-item:hover {
  transform: scale(1.02);
}

.gallerySection-gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallerySection-gallery-item:hover img {
  transform: scale(1.1);
}

.gallerySection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallerySection-gallery-item:hover .gallerySection-overlay {
  opacity: 1;
}

.gallerySection-overlay i {
  color: white;
  font-size: 24px;
}

/* Modal Styles - Düzeltilmiş */
.gallerySection-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0; /* başlanğıc */
  pointer-events: none; /* bağlıyken kliklənməsin */
  transition: opacity 0.4s ease;
  z-index: 2000;
}

.gallerySection-modal.show {
  opacity: 1;
  pointer-events: auto;
}

/* Modal içeriği */
.gallerySection-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.95); /* kiçik başlayır */
  transition: transform 0.4s ease;
}

.gallerySection-modal.show .gallerySection-modal-content {
  transform: scale(1); /* normal ölçüyə böyüyür */
}

.gallerySection-modal img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  /* Animasyon ekleme */
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallerySection-modal.show img {
  transform: scale(1);
}

.gallerySection-close {
  position: absolute;
  top: -50px;
  right: -10px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.gallerySection-close:hover {
  color: #ff4444;
  background: rgba(0, 0, 0, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
  .gallerySection-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }

  .gallerySection-close {
    top: -40px;
    right: -5px;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }
}
.hamburger_menu #menu-pc {
  display: none;
}

.about-author {
  display: flex;
  width: max-content;
  align-items: center;
  padding: 20px;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-weight: var(--tj-fw-sbold);
  color: var(--tj-color-heading-primary);
  background: var(--tj-color-common-white);
  border-radius: 10px;
  gap: 5px;
  max-width: 100%;
}

.about-author h6 {
  margin: 0 !important;
  font-weight: 600;
}
.about-author p {
  font-weight: 400;
}
.about-author i {
  margin-right: 5px;
}

.region-author {
  margin-top: 20px;
}


.file-country {
  display: flex;
  gap: 7px;
}

.file-country span{
  color: #364e52;
}

.country-flag-img {
  width: 40px;
  height: 45px;
  object-fit: contain;
}

/* News detail: space between article body and featured image (API/global news) */
.post-details-wrapper .blog-images.news-detail-featured-image {
  margin-top: 2.5rem !important;
}

/* News detail: sections from rocb_app_news API (parity with app NewsDetail) */
.post-details-wrapper .news-detail-sections {
  margin-top: 0.5rem;
}
.post-details-wrapper .news-detail-section {
  margin-top: 1.75rem;
}
.post-details-wrapper .news-detail-section[data-depth="1"] {
  margin-left: 1rem;
}
.post-details-wrapper .news-detail-section[data-depth="2"] {
  margin-left: 2rem;
}
.post-details-wrapper .news-detail-section[data-depth="3"] {
  margin-left: 3rem;
}
.post-details-wrapper .news-detail-section[data-depth="4"] {
  margin-left: 4rem;
}
.post-details-wrapper .news-detail-section[data-depth="5"] {
  margin-left: 5rem;
}
.post-details-wrapper .news-detail-section[data-depth="6"] {
  margin-left: 6rem;
}
.post-details-wrapper .news-detail-section-title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}
.post-details-wrapper .news-detail-section-body {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4a6572;
}
.post-details-wrapper .news-detail-section-body p {
  margin-bottom: 1rem;
}
.post-details-wrapper .news-detail-section-body p:last-child {
  margin-bottom: 0;
}
.post-details-wrapper .news-detail-section-image {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.post-details-wrapper .news-detail-section-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sidebar: social icons — brand colors (about/who-we-are loads main then this file) */
.tj-main-sidebar .infos-item .project-icons.project-icons--x-twitter {
  background: #ececee !important;
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.tj-main-sidebar .infos-item .project-icons.project-icons--x-twitter i,
.tj-main-sidebar .infos-item .project-icons.project-icons--x-twitter i::before {
  color: #000000 !important;
}
.tj-main-sidebar .infos-item .project-icons.project-icons--linkedin {
  background: #0a66c2 !important;
  color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
.tj-main-sidebar .infos-item .project-icons.project-icons--linkedin i,
.tj-main-sidebar .infos-item .project-icons.project-icons--linkedin i::before {
  color: #ffffff !important;
}
.tj-main-sidebar .infos-item .project-icons.project-icons--phone {
  background: #16a34a !important;
  color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
.tj-main-sidebar .infos-item .project-icons.project-icons--phone i,
.tj-main-sidebar .infos-item .project-icons.project-icons--phone i::before {
  color: #ffffff !important;
}
.tj-main-sidebar .infos-item .project-icons.project-icons--website {
  background: var(--tj-color-theme-primary) !important;
  color: var(--tj-color-common-white) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}
.tj-main-sidebar .infos-item .project-icons.project-icons--website i,
.tj-main-sidebar .infos-item .project-icons.project-icons--website i::before {
  color: var(--tj-color-common-white) !important;
}

/* Home: “Last news” cards — bounded image height, center crop */
.tj-blog-section.rocb-home-last-news .blog-item .blog-thumb {
  min-height: 0;
  max-height: 240px;
  height: 240px;
}
.tj-blog-section.rocb-home-last-news .blog-item .blog-thumb img {
  min-height: 0;
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px),
  only screen and (min-width: 992px) and (max-width: 1199px),
  (max-width: 575px) {
  .tj-blog-section.rocb-home-last-news .blog-item .blog-thumb {
    max-height: 220px;
    height: 220px;
  }
}

/* Home: FAQ lives inside .tj-service-section — light bg so accordion stays readable */
.tj-service-section.rocb-home-faq-in-service {
  background-color: var(--tj-color-theme-bg);
}

/* ROCB: header logos — must load after main.css; overrides stale or theme duplicates */
.header-area .site_logo img.logo-height-80,
.header-area.header-sticky .site_logo img.logo-height-80,
.header-area.header-duplicate .site_logo img.logo-height-80,
.hamburger_logo img.logo-height-80,
.logo-height-80 {
  height: 45px !important;
  max-height: 45px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* ROCB: preloader / spinner logo — larger (main.css alone may be cached or overridden) */
.preloader .loading-container,
.preloader .loading {
  height: 200px !important;
  width: 200px !important;
}

.preloader #loading-icon {
  max-width: 170px !important;
  width: 85% !important;
}

.preloader #loading-icon img {
  max-height: 120px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}