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

body {
  font-family: 'Poppins', sans-serif;
  background: #e9ecef;
  color: #222;
  line-height: 1.6;
}

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

/* TOPBAR */
.topbar {
  background: #545454;
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
  display: block;
}

.topbar a {
  color: #fff;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.topbar a:hover {
  color: #f4f4f4;
}

.social-box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.social-box:hover {
  transform: scale(1.1);
}

.fb { background: #3b5998; }
.x { background: #000; }
.ig { background: #e1306c; }
.user { background: #666; }

/* HEADER */
.header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.header nav a {
  color: #222;
  font-weight: 700;
  transition: color 0.3s ease;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
}

.header nav a:hover {
  color: #d62828;
}

/* BREAKING NEWS */
.breaking-bar {
  background: #d62828;
  color: #fff;
  padding: 12px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breaking-bar h6 {
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
  padding-right: 15px;
}

.breaking-bar .swiper {
  flex: 1;
}

.breaking-bar .swiper-slide a {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 27px;
  transition: opacity 0.3s ease;
}

.breaking-bar .swiper-slide a:hover {
  opacity: 0.8;
}

.last-minute-time {
  background: #ffcc00;
  color: #000;
  padding: 2px 6px;
  font-weight: 700;
  font-size: 11px;
  margin-right: 8px;
  border-radius: 2px;
  white-space: nowrap;
}

/* HERO SLIDER */
.hero-slider-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.heroSwiper {
  width: 100%;
  height: 550px;
  border-radius: 8px;
}

.swiper-slide {
  height: 550px;
}

.slide-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, transparent 60%);
  z-index: 2;
}

.slide-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #d62828;
  color: white;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  z-index: 4;
}

.slide-text-box {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0,0,0,0.3) 80%, transparent);
  z-index: 3;
  height: 145px;
  flex-direction: column;
  justify-content: flex-end;
}

.slide-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* PAGINATION */
.slider-pagination-numbers {
  position: absolute;
  bottom: 20px;
  left: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 100%;
  z-index: 10;
  align-items: center;
}

.pagination-btn {
  width: 50px;
  height: 50px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-weight: 600;
  font-size: 17px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.pagination-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: white;
  transform: scale(1.05);
}

.pagination-btn.active {
  background: #d62828;
  border-color: #d62828;
}


/* SINGLE NEWS ITEM */
.single-news-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 20px
}

.single-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.single-text {
  background: #fff;
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.single-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* DISTRICT NEWS CARDS - İlçelerden Haberler */
.district-section-title {
  color: #d62828;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.district-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: #d62828;
}

.district-news-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}



.district-img {
  width: 100%;
  height: 275px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}



.district-caption {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  padding: 10px 0px;
  color: #222;
  flex-grow: 1;
  display: flex;
  align-items: flex-start;
  min-height: 60px;
}

/* GÜNÜN MANŞETLERİ - HEADLINE CARDS */
.headline-section-title {
  color: #d62828;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.headline-section-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: #d62828;
}

.headline-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.headline-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.headline-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.headline-card-body {
  background: #fff;
  padding: 15px;
}

.headline-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #222;
  margin: 0;
}

.small-headline-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.small-headline-card-body {
  background: #fff;
  padding: 12px;
}

.small-headline-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #222;
  margin: 0;
}

/* NEWSPAPER & 2'Lİ GRID */
.newspaper-section {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.newspaper-section h5 {
  font-weight: 700;
  color: #d62828;
  margin-bottom: 15px;
  font-size: 16px;
}

.newspaper-images {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.newspaper-images img {
  height: 180px;
  width: auto;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.newspaper-images img:hover {
  transform: scale(1.05);
}

/* 2'Lİ GRID HABERLER */
.grid-2-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.grid-2-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.grid-2-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.grid-2-card:hover img {
  transform: scale(1.03);
}

.grid-2-card-body {
  background: #fff;
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-2-card-body .badge {
  align-self: flex-start;
  margin-bottom: 10px;
  background: #6c757d;
  font-size: 11px;
}

.grid-2-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
  margin: 0;
}

/* TABLES & FIXTURES */
.stats-table {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.stats-table h5 {
  font-weight: 700;
  color: #d62828;
  margin-bottom: 15px;
  font-size: 16px;
}

.stats-table table {
  font-size: 14px;
}

.stats-table table thead {
  background: #f5f5f5;
}

.stats-table table tbody tr:hover {
  background: #f9f9f9;
}

.fixture-section {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.fixture-section h5 {
  font-weight: 700;
  color: #d62828;
  margin-bottom: 15px;
  font-size: 16px;
}

.fixture-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.fixture-item:last-child {
  border-bottom: none;
}

.fixture-score {
  font-weight: 700;
  color: #d62828;
}

/* ADVERTISEMENT */
.ads-container {
text-align: center;
  margin: 25px 0;
    margin-right: 0px;
    margin-left: 0px;
  max-width: 1298px;
  margin-right: auto;
  margin-left: auto;
}

.ads-container img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* FOOTER */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 50px;
}

footer h5 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #d62828;
  font-size: 15px;
}

footer p {
  font-size: 14px;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 8px;
}

footer p a {
  color: #fff;
  transition: color 0.3s ease;
}

footer p a:hover {
  color: #d62828;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #999;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1399px) {
  .heroSwiper {
    height: 500px;
  }

  .swiper-slide {
    height: 500px;
  }

  .slide-title {
    font-size: 22px;
  }

 

  .district-caption {
    font-size: 14px;
    min-height: 50px;
  }
}

@media (max-width: 1199px) {
  .heroSwiper {
    height: 450px;
  }

  .swiper-slide {
    height: 450px;
  }

  .slide-title {
    font-size: 20px;
  }

  .slide-text-box {
    padding: 25px;
    height: 160px;
  }

  .pagination-btn {
    width: 45px;
    height: 45px;
    font-size: 15px;
  }

  .headline-title {
    font-size: 15px;
  }

  .grid-2-card img {
    height: 200px;
  }

  .newspaper-images img {
    height: 160px;
  }
}

@media (max-width: 991px) {

  .header {
    padding: 12px 0;
  }

  .header nav {
    gap: 15px !important;
  }

  .header nav a {
    font-size: 13px;
  }

  .breaking-bar {
    display: none;
  }

  .heroSwiper {
    height: 380px;
  }

  .swiper-slide {
    height: 380px;
  }


  .pagination-btn {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .slider-pagination-numbers {
    bottom: 15px;
    left: 8px;
  }


  .district-caption {
    font-size: 13px;
    padding: 12px;
    min-height: 45px;
  }

  .district-section-title {
    font-size: 1.3rem;
  }

  .headline-section-title {
    font-size: 1.3rem;
  }

  .headline-card img {
    height: 240px;
  }

  .small-headline-card img {
    height: 130px;
  }

  .small-headline-title {
    font-size: 12px;
  }

  .grid-2-card img {
    height: 180px;
  }

  .grid-2-title {
    font-size: 13px;
  }



  .newspaper-images img {
    height: 140px;
  }

  .fixture-item {
    font-size: 13px;
    padding: 10px 0;
  }

  .stats-table table {
    font-size: 13px;
  }

  footer {
    padding: 30px 0 15px;
  }

  footer h5 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  footer p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none !important;
    padding: 5px 0;
  }

  .topbar a {
    margin-right: 8px;
    font-size: 11px;
  }

  .social-box {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .header {
    padding: 10px 0;
  }

  .logo img {
    height: 40px;
  }

  .heroSwiper {
    height: 300px;
  }

  .swiper-slide {
    height: 300px;
  }

  .slide-title {
    font-size: 16px;
  }

  .slide-text-box {
    padding: 15px;
    height: 110px;
  }

  .slide-badge {
    top: 10px;
    left: 10px;
    font-size: 9px;
    padding: 4px 8px;
  }

  .pagination-btn {
    width: 35px;
    height: 35px;
    font-size: 11px;
  }

  .slider-pagination-numbers {
    bottom: 10px;
    left: 5px;
    gap: 4px;
  }


  .district-caption {
    font-size: 12px;
    padding: 10px;
    min-height: 40px;
  }

  .district-section-title {
    font-size: 1.15rem;
    margin-bottom: 15px;
  }

  .headline-section-title {
    font-size: 1.15rem;
    margin-bottom: 15px;
  }

  .headline-card img {
    height: 200px;
  }

  .headline-card-body {
    padding: 12px;
  }

  .headline-title {
    font-size: 14px;
  }

  .small-headline-card img {
    height: 110px;
  }

  .small-headline-card-body {
    padding: 10px;
  }

  .small-headline-title {
    font-size: 11px;
  }

  .grid-2-card img {
    height: 150px;
  }

  .grid-2-card-body {
    padding: 12px;
  }

  .grid-2-title {
    font-size: 12px;
  }

  .grid-2-card-body .badge {
    font-size: 9px;
  }



  .newspaper-section {
    padding: 15px;
  }

  .newspaper-section h5 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .newspaper-images {
    gap: 8px;
  }

  .newspaper-images img {
    height: 120px;
  }

  .stats-table {
    padding: 15px;
  }

  .stats-table h5 {
    font-size: 14px;
  }

  .stats-table table {
    font-size: 12px;
  }

  .fixture-section {
    padding: 15px;
  }

  .fixture-section h5 {
    font-size: 14px;
  }

  .fixture-item {
    font-size: 12px;
    padding: 8px 0;
  }

  .ads-container {
    margin: 15px 0;
  }

  footer {
    padding: 25px 0 12px;
  }

  footer h5 {
    font-size: 13px;
    margin-bottom: 10px;
  }

  footer p {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .footer-bottom {
    font-size: 11px;
  }
}

@media (max-width: 576px) {
  body {
    font-size: 13px;
  }

  .topbar {
    padding: 4px 0;
  }

  .topbar .d-flex {
    flex-direction: column;
    gap: 8px;
  }

  .topbar a {
    font-size: 10px;
    margin-right: 6px;
  }

  .social-box {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .header {
    padding: 8px 0;
  }

  .logo img {
    height: 35px;
  }

  .header nav {
    gap: 10px !important;
  }

  .heroSwiper {
    height: 220px;
  }

  .swiper-slide {
    height: 220px;
  }

  .slide-title {
    font-size: 20px;
    line-height: 1.2;
  }

  .slide-text-box {
    padding: 12px;
    height: 50px;
  }

  .slide-badge {
    top: 8px;
    left: 8px;
    font-size: 8px;
    padding: 3px 6px;
  }

  .pagination-btn {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }

  .slider-pagination-numbers {
    bottom: 8px;
    left: 4px;
    gap: 3px;
  }

 

  .district-caption {
    font-size: 20px;
    padding: 8px;
    min-height: 35px;
  }

  .district-section-title {
    font-size: 1rem;
    gap: 10px;
    margin-bottom: 12px;
  }

  .district-section-title::after {
    display: none;
  }

  .headline-section-title {
    font-size: 20px;
    gap: 10px;
    margin-bottom: 12px;
  }

  .headline-section-title::after {
    display: none;
  }

  .headline-card img {
    height: 160px;
  }

  .headline-card-body {
    padding: 10px;
  }

  .headline-title {
    font-size: 13px;
  }

  .small-headline-card img {
    height: 90px;
  }

  .small-headline-card-body {
    padding: 8px;
  }

  .small-headline-title {
    font-size: 10px;
  }

  .grid-2-card img {
    height: 120px;
  }

  .grid-2-card-body {
    padding: 10px;
  }

  .grid-2-title {
    font-size: 11px;
  }

  .grid-2-card-body .badge {
    font-size: 8px;
    padding: 3px 6px;
  }


  .newspaper-section {
    padding: 12px;
  }

  .newspaper-section h5 {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .newspaper-images {
    gap: 6px;
  }

  .newspaper-images img {
    height: 100px;
  }

  .stats-table {
    padding: 12px;
  }

  .stats-table h5 {
    font-size: 13px;
  }

  .stats-table table {
    font-size: 11px;
  }

  .stats-table table td {
    padding: 6px 8px !important;
  }

  .fixture-section {
    padding: 12px;
  }

  .fixture-section h5 {
    font-size: 13px;
  }

  .fixture-item {
    font-size: 11px;
    padding: 6px 0;
  }

  .ads-container {
    margin: 12px 0;
  }

  footer {
    padding: 20px 0 10px;
  }

  footer .row {
    margin-bottom: 15px;
  }

  footer h5 {
    font-size: 12px;
    margin-bottom: 8px;
  }

  footer p {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .footer-bottom {
    font-size: 10px;
    margin-top: 15px;
    padding-top: 15px;
  }
}

@media (max-width: 400px) {
  .heroSwiper {
    height: 180px;
  }

  .swiper-slide {
    height: 180px;
  }

  .slide-title {
    font-size: 12px;
  }

  .slide-text-box {
    padding: 10px;
    height: 80px;
  }

  .pagination-btn {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }

  .district-img {
    height: 100px;
  }

  .district-caption {
    font-size: 10px;
  }

  .headline-card img {
    height: 140px;
  }

  .grid-2-card img {
    height: 100px;
  }
}
.title-2-line {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



#mobileMenu {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #222;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    #mobileMenu {
        font-size: 14px;
        font-family: 'Poppins', sans-serif;
        color: #222;
        font-weight: 700;
    }
}

#mobileMenu a {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: #222;
    font-weight: 700;
    text-decoration: none;
}

#mobileMenu a:hover {
    color: #000;
}

.ad-mobile {
    display: none;
}

@media (max-width: 768px) {
    .ad-desktop {
        display: none;
    }

    .ad-mobile {
        display: block;
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .ads-container {
        text-align: center;
    }
}


@media (max-width: 768px) {

/* SINGLE NEWS ITEM */
.single-news-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 20px
}

.single-img {
  width: 100%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.single-text {
  background: #fff;
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.single-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


}

.article-text.container-padding {
  padding: .75rem;
}

.container.d-flex.justify-content-between.align-items-center {
  height: 35px;
}


/* SINGLE NEWS ITEM */
.single-news-itemx {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 20px
}

.single-imgx {
  width: 100%;
  height: 209px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.single-textx {
  background: #fff;
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.single-titlex {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: #222;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .slider-pagination-numbers {
    display: none !important;
  }
}
