/* Offcanvas Menu Styles */
.offCanvas__info {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  max-width: 90%;
  height: 100vh;
  background: #fff;
  z-index: 99999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 30px;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}

.offCanvas__info.show {
  right: 0;
}

.offCanvas__overly {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.offCanvas__overly.show {
  opacity: 1;
  visibility: visible;
}

.offCanvas__close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1;
}

.offCanvas__close-icon button {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  padding: 5px;
}

/* ============================================
   MODERN MOBILE MENU - YENİ TASARIM
   ============================================ */

/* Mobile Menu Container */
.tgmobile__menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  z-index: 999999 !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: visible;
}

.tgmobile__menu.show {
  transform: translateX(0);
}

/* Backdrop */
.tgmobile__menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999998 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tgmobile__menu-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* Menu Header */
.tgmobile__menu-header {
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  margin-top: -100px;
}

.tgmobile__menu .close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
}

.tgmobile__menu .close-btn:hover {
  background: rgba(211, 0, 4, 0.1);
  border-color: #d30004;
  color: #d30004;
  transform: rotate(90deg);
}

.tgmobile__menu .nav-logo {
  flex: 1;
  text-align: center;
}

.tgmobile__menu .nav-logo img {
  max-width: 140px;
  height: auto;
  filter: none;
}

.tgmobile__menu .nav-logo span {
  color: #333 !important;
}

/* Menu Box */
.tgmobile__menu-box {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Menu Navigation */
.tgmobile__menu-outer {
  flex: 1;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}

.tgmobile__menu-outer .navigation {
  list-style: none;
  padding: 25px 0 0 0;
  margin: 0;
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
}

.tgmobile__menu-outer .navigation > li {
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  display: block;
  width: 100%;
  visibility: visible;
  opacity: 1;
}

.tgmobile__menu-outer .navigation > li:last-child {
  border-bottom: none;
}

.tgmobile__menu-outer .navigation > li > a {
  display: flex;
  align-items: center;
  padding: 18px 25px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.tgmobile__menu-outer .navigation > li > a i {
  color: #666;
  transition: color 0.3s ease;
}

.tgmobile__menu-outer .navigation > li > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #d30004;
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.tgmobile__menu-outer .navigation > li > a:hover,
.tgmobile__menu-outer .navigation > li > a.active {
  background: rgba(211, 0, 4, 0.08);
  padding-left: 30px;
  color: #d30004;
}

.tgmobile__menu-outer .navigation > li > a:hover i,
.tgmobile__menu-outer .navigation > li > a.active i {
  color: #d30004;
}

.tgmobile__menu-outer .navigation > li > a:hover::before,
.tgmobile__menu-outer .navigation > li > a.active::before {
  transform: scaleY(1);
}

/* Sub Menu */
.tgmobile__menu-outer .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.03);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, visibility 0.3s ease, opacity 0.3s ease;
  display: block;
  visibility: hidden;
  opacity: 0;
}

.tgmobile__menu-outer .sub-menu.show {
  max-height: 1000px;
  padding: 10px 0;
  overflow: visible;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}

.tgmobile__menu-outer .sub-menu li {
  margin: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  display: block;
  visibility: visible;
  opacity: 1;
}

.tgmobile__menu-outer .sub-menu li:last-child {
  border-bottom: none;
}

.tgmobile__menu-outer .sub-menu li a {
  display: block;
  padding: 14px 25px 14px 50px;
  color: #555;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}

.tgmobile__menu-outer .sub-menu li a::before {
  content: '→';
  position: absolute;
  left: 30px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: #d30004;
}

.tgmobile__menu-outer .sub-menu li a:hover {
  background: rgba(211, 0, 4, 0.08);
  color: #d30004;
  padding-left: 55px;
}

.tgmobile__menu-outer .sub-menu li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Nested Sub Menu */
.tgmobile__menu-outer .sub-menu .sub-menu {
  background: rgba(0, 0, 0, 0.05);
}

.tgmobile__menu-outer .sub-menu .sub-menu li a {
  padding-left: 75px;
}

.tgmobile__menu-outer .sub-menu .sub-menu li a:hover {
  padding-left: 80px;
}

.tgmobile__menu-outer .sub-menu li.menu-item-has-children {
  position: relative;
}

.tgmobile__menu-outer .sub-menu li.menu-item-has-children > a {
  padding-right: 60px;
}

/* Dropdown Button */
.dropdown-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto;
  z-index: 5;
}

.dropdown-btn:hover {
  background: rgba(211, 0, 4, 0.1);
  border-color: #d30004;
}

.dropdown-btn.active {
  background: rgba(211, 0, 4, 0.15);
  border-color: #d30004;
  transform: translateY(-50%) rotate(45deg);
}

.dropdown-btn .plus-line {
  width: 14px;
  height: 2px;
  background: #333;
  position: relative;
  transition: all 0.3s ease;
  pointer-events: none;
}

.dropdown-btn .plus-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  width: 14px;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
}

.dropdown-btn.active .plus-line,
.dropdown-btn.active .plus-line::after {
  background: #d30004;
}

.dropdown-btn.active .plus-line::after {
  opacity: 0;
}

/* Social Links */
.social-links {
  padding: 25px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.02);
}

.social-links .list-wrap {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links .list-wrap li {
  margin: 0;
}

.social-links .list-wrap li a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-links .list-wrap li a:hover {
  background: #d30004;
  border-color: #d30004;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(211, 0, 4, 0.4);
}

/* Scrollbar Styling */
.tgmobile__menu::-webkit-scrollbar {
  width: 6px;
}

.tgmobile__menu::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}

.tgmobile__menu::-webkit-scrollbar-thumb {
  background: rgba(211, 0, 4, 0.3);
  border-radius: 3px;
}

.tgmobile__menu::-webkit-scrollbar-thumb:hover {
  background: rgba(211, 0, 4, 0.6);
}

/* Responsive */
@media (max-width: 480px) {
  .tgmobile__menu {
    width: 100%;
    max-width: 100vw;
  }
  
  .tgmobile__menu-outer .navigation > li > a {
    padding: 16px 20px;
    font-size: 15px;
  }
  
  .tgmobile__menu-outer .sub-menu li a {
    padding: 12px 20px 12px 45px;
    font-size: 13px;
  }
}

/* Checkbox Styles */
.tg-checkbox {
  cursor: pointer;
  pointer-events: auto !important;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  flex-shrink: 0;
}

.tg-checkbox[readonly] {
  pointer-events: auto !important;
  cursor: pointer;
}

.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.checkbox label.tg-label {
  cursor: pointer;
  margin: 0;
  user-select: none;
  flex: 1;
}

.tg-filter-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tg-filter-list ul li {
  margin-bottom: 8px;
}

/* Login/Register Modal Styles */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-modal-overlay.show {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.login-modal-container {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  max-width: 450px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.login-modal-overlay.show .login-modal-container {
  transform: scale(1);
}

.login-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.form-group-half {
  flex: 1;
  margin-bottom: 0;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #d30004;
}

.form-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.btn-register,
.btn-login,
.btn-back-login,
.btn-register-submit {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-register {
  background: #fff;
  color: #333;
  border-color: #ddd;
}

.btn-register:hover {
  background: #f5f5f5;
}

.btn-login {
  background: #ffc107;
  color: #fff;
  border-color: #ffc107;
  flex: 2;
}

.btn-login:hover {
  background: #ffb300;
  border-color: #ffb300;
}

.btn-back-login {
  background: #fff;
  color: #333;
  border-color: #ddd;
}

.btn-back-login:hover {
  background: #f5f5f5;
}

.btn-register-submit {
  background: #ffc107;
  color: #fff;
  border-color: #ffc107;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-register-submit:hover {
  background: #ffb300;
  border-color: #ffb300;
}

.btn-register-submit i {
  font-size: 14px;
}

.form-footer {
  text-align: left;
}

.forgot-password {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.forgot-password:hover {
  color: #d30004;
}

.form-checkboxes {
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 8px;
  margin-top: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label span {
  user-select: none;
}

.checkbox-label a {
  color: #0066cc;
  text-decoration: underline;
}

/* Featured Stories Carousel */
.tg-featured-stories-area {
  background: #fff;
  padding: 40px 0;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.tg-featured-stories-area * {
  box-sizing: border-box;
}

.tg-featured-stories-area .container {
  width: 100%;
  max-width: 100%;
  padding: 0 15px;
}

.tg-featured-stories-area .row {
  margin: 0;
}

.tg-featured-stories-area .col-lg-12 {
  padding: 0;
  width: 100%;
  display: block !important;
  visibility: visible !important;
}

.tg-featured-stories-carousel * {
  box-sizing: border-box;
}

.tg-featured-stories-carousel {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  min-height: 200px;
  height: auto;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.carousel-container {
  flex: 1;
  overflow: hidden !important;
  position: relative;
  min-height: 180px;
  height: auto;
  width: 100% !important;
  max-width: calc(100% - 120px);
  min-width: 300px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.carousel-track {
  display: flex !important;
  gap: 20px !important;
  transition: transform 0.5s ease;
  will-change: transform;
  width: max-content !important;
  min-width: max-content !important;
  flex-wrap: nowrap !important;
  position: relative !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  transform: translateX(0px) !important;
}

.carousel-item {
  flex: 0 0 150px !important;
  cursor: pointer;
  min-width: 150px !important;
  max-width: 150px !important;
  width: 150px !important;
  flex-shrink: 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  position: relative !important;
}

.story-banner {
  text-align: center;
  width: 100% !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  height: auto !important;
}

.story-image {
  width: 150px !important;
  height: 150px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 8px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #f0f0f0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
}

.story-image::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b, #ffa500, #ffd700, #ff69b4, #9370db);
  z-index: 0;
}

.story-bg-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  z-index: 1 !important;
  opacity: 0.9 !important;
  display: block !important;
  visibility: visible !important;
}

.story-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.7), rgba(118, 75, 162, 0.7));
  border-radius: 50%;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.story-image-1::after {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.7), rgba(118, 75, 162, 0.7));
}

.story-image-2::after {
  background: linear-gradient(135deg, rgba(240, 147, 251, 0.7), rgba(245, 87, 108, 0.7));
}

.story-image-3::after {
  background: linear-gradient(135deg, rgba(250, 112, 154, 0.7), rgba(254, 225, 64, 0.7));
}

.story-image-4::after {
  background: linear-gradient(135deg, rgba(255, 154, 158, 0.7), rgba(254, 207, 239, 0.7));
}

.story-image-5::after {
  background: linear-gradient(135deg, rgba(168, 237, 234, 0.7), rgba(254, 214, 227, 0.7));
}

.story-image-6::after {
  background: linear-gradient(135deg, rgba(255, 236, 210, 0.7), rgba(252, 182, 159, 0.7));
}

.story-image:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.story-content {
  color: #fff !important;
  text-align: center !important;
  padding: 20px !important;
  z-index: 3 !important;
  position: relative !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.story-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.story-content p {
  font-size: 12px;
  margin: 3px 0;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.story-content .story-bank {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
}

.story-label {
  font-size: 11px !important;
  color: #333 !important;
  margin-top: 5px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  min-height: 28px !important;
  max-height: 28px !important;
  padding: 0 5px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.carousel-nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #4a90e2;
  background: #fff;
  color: #4a90e2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.carousel-nav-btn:hover {
  background: #4a90e2;
  color: #fff;
  transform: scale(1.1);
}

.carousel-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.carousel-nav-btn svg {
  width: 24px;
  height: 24px;
}

/* Story Modal */
.story-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.story-modal-overlay.show {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.story-modal-container {
  background: #fff;
  border-radius: 12px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.story-modal-overlay.show .story-modal-container {
  transform: scale(1);
}

.story-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.story-modal-close:hover {
  background: rgba(0, 0, 0, 0.2);
  transform: rotate(90deg);
}

.story-modal-content {
  padding: 60px 40px 40px;
}

.story-modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.story-modal-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.story-modal-header .story-subtitle {
  font-size: 18px;
  color: #666;
}

.story-modal-image {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
  font-weight: 700;
}

.story-modal-body {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.story-modal-body h3 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 30px 0 15px;
}

.story-modal-body p {
  margin-bottom: 15px;
}

.story-modal-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.story-modal-feature {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #d30004;
}

.story-modal-feature h4 {
  font-size: 18px;
  font-weight: 700;
  color: #d30004;
  margin-bottom: 10px;
}

.story-modal-feature p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.story-modal-cta {
  text-align: center;
  margin-top: 40px;
}

.story-modal-cta .btn-primary {
  background: #d30004;
  color: #fff;
  padding: 15px 40px;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.story-modal-cta .btn-primary:hover {
  background: #b00003;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(211, 0, 4, 0.3);
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 120px !important;
    min-width: 120px;
    max-width: 120px;
  }
  
  .story-image {
    width: 120px;
    height: 120px;
  }
  
  .story-content h3 {
    font-size: 20px;
  }
  
  .story-content p {
    font-size: 10px;
  }
  
  .story-label {
    font-size: 10px;
    min-height: 28px;
  }
  
  .carousel-nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .carousel-container {
    max-width: calc(100vw - 120px);
  }
  
  .story-modal-container {
    width: 95%;
    padding: 20px;
  }
  
  .story-modal-content {
    padding: 40px 20px 20px;
  }
  
  .story-modal-header h2 {
    font-size: 28px;
  }
  
  .story-modal-image {
    height: 250px;
  }
}

/* Scroll to Top Button */
.scroll__top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--main-color, #d30004);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.scroll__top.show {
  opacity: 1;
  visibility: visible;
}

.scroll__top:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Desktop Menu Dropdown Hover */
@media (min-width: 1200px) {
  .tgmenu__main-menu .menu-item-has-children {
    position: relative;
  }
  
  
  .tgmenu__main-menu .menu-item-has-children > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 999;
    padding: 10px 0;
    margin-top: 10px;
  }
  
  .tgmenu__main-menu .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .tgmenu__main-menu .sub-menu li {
    padding: 0;
  }
  
  .tgmenu__main-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .tgmenu__main-menu .sub-menu li a:hover {
    background: #f5f5f5;
    color: var(--main-color, #d30004);
  }
}

/* Dropdown Button Active State */
.dropdown-btn.active .plus-line {
  transform: rotate(45deg);
}

.dropdown-btn .plus-line {
  transition: transform 0.3s ease;
}

/* Nice Select Styles */
.nice-select {
  position: relative;
  cursor: pointer;
}

.nice-select .list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-top: 5px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.nice-select.open .list {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
}

.nice-select .option {
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.nice-select .option:hover,
.nice-select .option.focus {
  background: #f5f5f5;
}

.nice-select .option.selected {
  background: var(--main-color, #d30004);
  color: #fff;
}

/* Grid/List View Styles */
.tg-listing-grid-item.grid-view-active .tg-listing-card-item {
  display: block;
}

.tg-listing-grid-item.list-view-active {
  display: flex;
  flex-direction: column;
}

.tg-listing-grid-item.list-view-active .tg-listing-card-item {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.tg-listing-grid-item.list-view-active .tg-listing-card-thumb {
  width: 300px;
  flex-shrink: 0;
}

.grid-view.active,
.list-view.active {
  opacity: 1;
  color: var(--main-color, #d30004);
}

.grid-view:not(.active),
.list-view:not(.active) {
  opacity: 0.5;
}

