*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== TOP BAR 1: STOCK TICKER ===== */
.top-bar-1 {
  background-color: #020617;
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stock-container {
  display: flex;
  align-items: center;
  height: 100%;
}

.stock-static {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 15px;
  flex-shrink: 0;
  z-index: 10;
  background: #020617;
}

.stock-label {
  color: #10b981;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stock-divider {
  color: #1e293b;
  font-weight: 300;
  font-size: 1.1rem;
}

.stock-ticker-wrapper {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.stock-ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker-slide 60s linear infinite;
  will-change: transform;
}

.stock-ticker:hover {
  animation-play-state: paused;
}

@keyframes ticker-slide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.stock-item {
  display: inline-flex;
  align-items: center;
  padding: 0 25px;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
}

.stock-name {
  color: #cbd5e1;
  font-weight: 600;
  margin-right: 8px;
}

.stock-value {
  color: #ffffff;
  font-weight: 700;
  margin-right: 8px;
}

.stock-change {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.75rem;
}

.stock-change.up {
  color: #10b981;
}

.stock-change.down {
  color: #ef4444;
}

/* ===== TOP BAR 2: DATE / SOCIAL / LOGIN ===== */
.top-bar-2-wrapper {
  background-color: #0f172a;
}

.top-bar-2 {
  color: #94a3b8;
  font-size: 0.75rem;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-2-left,
.top-bar-2-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons span {
  cursor: pointer;
  color: #94a3b8;
  font-size: .78rem;
  font-weight: 700;
}

.social-icons span:hover {
  color: #fff;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #334155;
  color: #94a3b8;
}

.premium-link {
  color: #a78bfa;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.premium-link:hover {
  color: #c4b5fd;
}

.login-nav {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-nav a {
  color: #94a3b8;
  transition: color .2s;
}

.login-nav a:hover {
  color: white;
}

/* ===== BRANDING ROW ===== */
.branding-row-wrapper {
  background-image: url(/assets/img/logo-bg.png);
  background-repeat: repeat-x;
  background-position: center;
  background-size: contain;
  /*background-color: #008db1;*/
  border-top: 4px solid #FFF;
}

.branding-row {
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100px;
}

.logo-image {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

/* ===== MAIN NAVIGATION ===== */
.mainnav-wrapper {
  background-color: #0f172a;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.mainnav-row {
  display: flex;
  align-items: stretch;
  height: 50px;
}

.nav-home-btn {
  background-color: #b8262b;
  color: #fff;
  font-weight: 700;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background .2s;
}

.nav-home-btn:hover {
  background-color: #dc2626;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-menu li {
  height: 100%;
}

.nav-menu li a {
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  transition: background .2s, color .2s;
}

.nav-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-menu li a.active {
  color: #ef4444;
}

.nav-search {
  padding: 0 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.nav-search:hover {
  color: #fff;
}

/* ===== FLASH NEWS ===== */
.flash-row {
  display: flex;
  background-color: #ef4444;
  color: #fff;
  height: 38px;
}

.flash-badge {
  background-color: #fff;
  color: #ef4444;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.5rem 0 1rem;
  text-transform: uppercase;
  clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);
  margin-right: -10px;
  white-space: nowrap;
  letter-spacing: .5px;
}

.flash-ticker-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 1.5rem;
  font-size: 0.88rem;
  overflow: hidden;
  white-space: nowrap;
  gap: 0;
}

.flash-ticker-wrapper a {
  color: #fff;
}

.flash-ticker-wrapper a:hover {
  text-decoration: underline;
}

.flash-arrows {
  display: flex;
  height: 100%;
}

.flash-arrows button {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  width: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .15s;
}

.flash-arrows button:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

/* ===== HERO SECTION ===== */
.hero-section {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 1rem;
  margin-bottom: 2rem;
  height: 600px;
}

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    height: auto;
  }
}

.hero-main {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.hero-main-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.4s;
}

.hero-badge-top {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: #ef4444;
  color: white;
  padding: 0.3rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 4px;
  z-index: 10;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-overlay {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  padding: 2rem 2rem 1rem;
  color: white;
  z-index: 5;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-title:hover {
  color: #fbbf24;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.hero-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  display: flex;
  background: rgba(0, 0, 0, 0.85);
  list-style: none;
  z-index: 10;
}

.hero-pagination li {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 4px;
  text-align: center;
  overflow: hidden;
  transition: background .2s, color .2s;
}

.hero-pagination li:last-child {
  border-right: none;
}

.hero-pagination li:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero-pagination li.active {
  background-color: #ef4444;
  color: white;
}

/* ===== HERO SIDE SLIDER ===== */
.hero-side {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: #0c2340;
}

.side-slide {
  transition: opacity 0.6s ease-in-out;
  opacity: 0;
}

.side-slide.active {
  opacity: 1;
}

.hero-side-thumbs-area {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex !important;
  gap: 6px;
  z-index: 20 !important;
  height: auto !important;
  background: transparent !important;
}

.side-thumb-item .progress {
  transition: width 0.1s linear;
}

.side-thumb-item.active {
  background: rgba(255, 255, 255, 0.5) !important;
}

.hero-side-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 6s linear;
}

.side-slide.active .hero-side-bg {
  transform: scale(1.1);
}

.hero-side-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  color: white;
  min-height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-side-badge {
  display: inline-block;
  background-color: #ef4444;
  color: white;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 3px;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-side-title {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.8rem;
  color: white;
  transition: color 0.2s;
}

.hero-side-title:hover {
  color: #fbbf24;
}

.hero-side-summary {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-side-thumbs-area img {
  width: 25%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity .2s;
}

.hero-side-thumbs-area img:hover {
  opacity: 1;
}

.hero-side-thumbs-area img.active-thumb {
  opacity: 1;
  border: 2px solid #3b82f6;
}

/* ===== BLOCK SECTIONS ===== */
.block-section {
  background: #fff;
  padding: 1.5rem 1.75rem;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.75rem;
}

.block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
}

.block-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.block-title::after {
  content: '';
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #ef4444;
  border-radius: 2px;
}

.block-title-right {
  font-size: 0.82rem;
  color: #64748b;
  cursor: pointer;
}

.block-title-right:hover {
  color: #ef4444;
}

/* ===== 4-COLUMN NEWS GRID ===== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  transition: transform .25s;
}

.news-card:hover .news-card-img {
  transform: scale(1.02);
}

.news-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.news-card:hover .news-card-title {
  color: #ef4444;
}

.news-card-meta {
  color: #94a3b8;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== SLIDER CONTROLS ===== */
.slider-controls-center {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.slider-btn {
  background-color: #0f172a;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s;
}

.slider-btn:hover {
  background-color: #ef4444;
}

/* ===== AUTHOR CARDS ===== */
.author-card {
  background-color: #f8fafc;
  border-radius: 10px;
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #e2e8f0;
  transition: box-shadow .2s;
}

.author-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  margin-bottom: 1rem;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.author-summary {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.5;
}

.authors-wrapper {
  position: relative;
}

.authors-btn-left,
.authors-btn-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.authors-btn-left {
  left: -16px;
}

.authors-btn-right {
  right: -16px;
}

/* ===== CATEGORY BLOCKS (Gündem/Ekonomi) ===== */
.cat-block-container {
  display: flex;
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .cat-block-container {
    flex-direction: column;
  }
}

.cat-main-card {
  flex: 1.5;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 350px;
}

.cat-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), transparent);
  padding: 1.5rem;
  color: white;
}

.cat-main-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.cat-main-title:hover {
  color: #fbbf24;
}

.cat-side-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cat-list-item {
  display: flex;
  gap: 0.9rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.9rem;
}

.cat-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cat-list-img {
  width: 110px;
  height: 74px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.cat-list-content {
  flex: 1;
}

.cat-list-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.cat-list-title:hover {
  color: #ef4444;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0;
  transition: opacity .25s;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: white;
  font-size: .8rem;
  font-weight: 600;
}

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

.gallery-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  padding: 7px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 3rem 0 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #f1f5f9;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #1e293b;
}

.footer-col p {
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer-col ul li {
  padding: 3px 0;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.84rem;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: #ef4444;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: #64748b;
}

/* ===== ARTICLE DETAIL ===== */
.article-wrapper {
  max-width: 860px;
}

.article-header {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.article-header h1 {
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0.75rem 0;
  color: #0f172a;
}

.article-body {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.article-body p {
  margin-bottom: 1.2em;
  font-size: 17px;
  line-height: 1.45;
  color: #334155;
}

.article-body h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 1.5em 0 0.6em;
  color: #0f172a;
}

.article-cover {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.article-category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: .5px;
}

/* ===== CATEGORY PAGE ===== */
.page-heading {
  font-size: 2rem;
  font-weight: 900;
  border-left: 4px solid #ef4444;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.news-list-page {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-list-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  transition: box-shadow .2s;
}

.news-list-item:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}

.news-list-item-img {
  height: 110px;
  overflow: hidden;
}

.news-list-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.news-list-item:hover .news-list-item-img img {
  transform: scale(1.06);
}

.news-list-item-body {
  padding: 0.75rem 1rem 0.75rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}

.news-list-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.news-list-item-title:hover {
  color: #ef4444;
}

.news-meta {
  font-size: 0.72rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 1.5rem;
}

.pagination a,
.pagination span {
  padding: 6px 13px;
  border-radius: 6px;
  font-size: 0.82rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  transition: all .2s;
}

.pagination a:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

.pagination .current {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
  font-weight: 700;
}

/* ===== SEARCH ===== */
.search-box {
  display: flex;
  gap: 8px;
  max-width: 580px;
  margin: 0 auto 2rem;
}

.search-box input {
  flex: 1;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .2s;
}

.search-box input:focus {
  border-color: #ef4444;
}

.search-box button {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.search-box button:hover {
  background: #dc2626;
}

/* ===== ADMIN LAYOUT ===== */
.admin-body {
  background: #f1f5f9;
  min-height: 100vh;
}

.admin-topbar {
  background: #0f172a;
  color: #fff;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.admin-topbar h1 {
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-topbar .top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .83rem;
}

.admin-topbar .top-actions a {
  color: rgba(255, 255, 255, .65);
  transition: color .2s;
}

.admin-topbar .top-actions a:hover {
  color: #fff;
}

.admin-layout {
  display: flex;
  min-height: calc(100vh - 58px);
}

.admin-sidebar {
  width: 226px;
  background: #fff;
  box-shadow: 2px 0 6px rgba(0, 0, 0, .05);
  flex-shrink: 0;
}

.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #475569;
  font-size: .85rem;
  font-weight: 500;
  transition: all .15s;
  border-left: 3px solid transparent;
}

.admin-sidebar nav a:hover {
  background: #fef2f2;
  color: #ef4444;
  border-left-color: #ef4444;
}

.admin-sidebar nav a.active {
  background: #fef2f2;
  color: #ef4444;
  border-left-color: #ef4444;
  font-weight: 700;
}

.admin-sidebar nav .nav-group {
  padding: 10px 16px 4px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #94a3b8;
}

.admin-main {
  flex: 1;
  padding: 22px;
  overflow: auto;
}

.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-page-header h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .07);
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.stat-icon.red {
  background: #fef2f2;
}

.stat-icon.blue {
  background: #eff6ff;
}

.stat-icon.green {
  background: #f0fdf4;
}

.stat-icon.gray {
  background: #f9fafb;
}

.stat-val {
  font-size: 1.75rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
}

.stat-lbl {
  font-size: .75rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Tables */
.table-wrap {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .07);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: #f8fafc;
  text-align: left;
  padding: 10px 13px;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #94a3b8;
  border-bottom: 1px solid #f1f5f9;
}

td {
  padding: 10px 13px;
  border-bottom: 1px solid #f8fafc;
  font-size: .85rem;
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: #fafafa;
}

/* Forms */
.form-wrap {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .07);
  padding: 22px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 11px;
  font-size: .88rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-hint {
  font-size: .74rem;
  color: #94a3b8;
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: .87rem;
  font-weight: 500;
  color: #374151;
}

.checkbox-label input[type=checkbox] {
  width: 15px;
  height: 15px;
  accent-color: #ef4444;
}

.checkboxes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: .84rem;
  cursor: pointer;
  border: none;
  transition: all .2s;
}

.btn-primary {
  background: #ef4444;
  color: #fff;
}

.btn-primary:hover {
  background: #dc2626;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #e2e8f0;
  color: #475569;
}

.btn-outline:hover {
  border-color: #ef4444;
  color: #ef4444;
}

.btn-red {
  background: #ef4444;
  color: #fff;
}

.btn-red:hover {
  background: #dc2626;
}

.btn-dark {
  background: #0f172a;
  color: #fff;
}

.btn-dark:hover {
  background: #1e293b;
}

.btn-sm {
  padding: 4px 10px;
  font-size: .77rem;
}

/* Alerts */
.alert {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: .84rem;
  font-weight: 500;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.badge-red {
  background: #ef4444;
  color: #fff;
}

.badge-green {
  background: #22c55e;
  color: #fff;
}

.badge-gray {
  background: #475569;
  color: #fff;
}

.badge-blue {
  background: #3b82f6;
  color: #fff;
}

.badge-light {
  background: #f1f5f9;
  color: #475569;
}

.badge-dark {
  background: #1e293b;
  color: #fff;
}

.badge-teal {
  background: #0284c7;
  color: #fff;
}

/* Login */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.login-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}

.login-box h1 {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 4px;
}

.login-box p {
  color: #94a3b8;
  font-size: .85rem;
  margin-bottom: 28px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: .78rem;
  color: #94a3b8;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #0284c7;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-main {
    min-height: 300px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .admin-sidebar {
    display: none;
  }

  .news-list-item {
    grid-template-columns: 1fr;
  }

  .news-list-item-img {
    height: 170px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .mainnav-row {
    overflow: visible;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== RELATED NEWS REDESIGN ===== */
.related-news-section {
  margin-top: 40px;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 24px;
}

.related-news-header {
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-news-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

.related-news-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background-color: #ef4444;
}

.related-news-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
}

.related-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.related-card-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.related-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.related-card:hover .related-card-img {
  transform: scale(1.05);
}

.related-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card:hover .related-card-title {
  color: #ef4444;
}

.related-card-summary {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-meta {
  margin-top: auto;
  font-size: 0.78rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 1024px) {
  .related-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .related-news-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== MOBILE MENU (HAMBURGER) ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  margin-left: 15px;
  align-self: center;
  transition: transform 0.3s;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s;
}

@media (max-width: 1024px) {
  .mainnav-wrapper {
    overflow: visible !important;
  }

  .mainnav-row {
    position: relative;
    justify-content: flex-start;
    overflow: visible !important;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
    margin-right: 0;
  }

  .nav-search {
    margin-left: 1.5rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #0f172a;
    flex-direction: column;
    z-index: 200;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    height: auto !important;
  }

  .nav-menu.show {
    display: flex;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-menu li a {
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: #f1f5f9;
    height: auto;
  }

  .nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ef4444;
  }
}

/* ===== CATEGORY PAGE REDESIGN ===== */
.cat-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  margin-bottom: 25px;
  position: relative;
}

.cat-page-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: #ef4444;
}

.cat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-header-icon {
  font-size: 1.5rem;
  color: #ef4444;
}

.cat-header-left h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.cat-header-right {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.cat-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .cat-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cat-news-grid {
    grid-template-columns: 1fr;
  }
}

.cat-news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.cat-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.cat-card-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.cat-news-card:hover .cat-card-img {
  transform: scale(1.05);
}

.cat-card-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.cat-badge {
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 4px;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.badge-special {
  background-color: #fbbf24;
  color: #000;
}

.badge-flash {
  background-color: #ef4444;
}

.cat-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-card-tag {
  color: #ef4444;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.cat-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.cat-news-card:hover .cat-card-title {
  color: #ef4444;
}

.cat-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 12px;
}

.cat-card-summary {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-card-more {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ef4444;
  display: flex;
  align-items: center;
  transition: transform 0.2s;
}

.cat-card-more:hover {
  transform: translateX(5px);
}

/* ===== WEATHER TICKER ===== */
.weather-ticker {
  height: 24px;
  overflow: hidden;
  position: relative;
  min-width: 180px;
  color: #7a8b9f;
}

.weather-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.weather-item {
  height: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ===== VIDEO CARDS HOME ===== */
.video-card-home {
  position: relative;
}

.video-thumb-home {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  margin-bottom: 0.75rem;
}

.video-thumb-home img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.5s;
}

.video-card-home:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.video-card-title-home {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Fallback / Placeholder (Match Screenshot) */
.video-card-fallback {
  background: #f05a5a;
  padding: 18px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.purple-screen {
  background: #4a3469;
  aspect-ratio: 16/10;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  color: #fff;
  padding: 8px 10px;
  position: relative;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.7;
}

.screen-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.play-icon-box {
  border: 1.5px solid #f05a5a;
  color: #f05a5a;
  width: 44px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.screen-text {
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.screen-bottom {
  margin-top: auto;
}

.player-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  margin-bottom: 8px;
}

.player-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 35%;
  background: #f05a5a;
}

.player-bar .knob {
  position: absolute;
  left: 35%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #f05a5a;
  border-radius: 50%;
}

.player-controls {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  opacity: 0.8;
}

.red-skeleton {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-line {
  height: 10px;
  background: #ed7878;
  border-radius: 2px;
}

.skeleton-line.full {
  width: 100%;
}

.skeleton-line.mid {
  width: 50%;
}

.skeleton-sep {
  height: 1.5px;
  background: #a93e3e;
  margin: 4px 0;
}

.skeleton-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
}

.skeleton-bottom .circle {
  width: 28px;
  height: 28px;
  background: #ed7878;
  border-radius: 50%;
}

.skeleton-bottom .line {
  width: 40px;
  height: 10px;
  background: #ed7878;
  border-radius: 2px;
}

.skeleton-bottom .rect {
  margin-left: auto;
  width: 60px;
  height: 24px;
  background: #ed7878;
  border-radius: 2px;
}

/* ===== MOBİL VİDEO SLİDER ===== */
.video-slider-wrapper {
  position: relative;
}

.video-slider-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.video-slider-nav {
  display: none;
}

@media (max-width: 768px) {
  .video-slider-track {
    display: flex;
    overflow: hidden;
    gap: 0;
    position: relative;
  }

  .video-slider-track .video-card-home,
  .video-slider-track .video-card-fallback {
    flex: 0 0 100%;
    min-width: 100%;
    transition: transform 0.4s ease;
    will-change: transform;
  }

  .video-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
  }

  .video-slider-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s;
  }

  .video-slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  .video-slider-dots {
    display: flex;
    gap: 6px;
    align-items: center;
  }

  .video-slider-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
  }

  .video-slider-dot.active {
    background: #fff;
    transform: scale(1.3);
  }
}