* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
  color: #222;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.site-header {
  background: #111;
  color: white;
  padding: 24px 0;
}

.logo {
  margin: 0;
  font-size: 32px;
}

.tagline {
  margin: 8px 0 0;
  color: #bbb;
}

.site-nav {
  background: #222;
}

.site-nav a:hover {
  transform: scale(1.1);
}

.nav-inner {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 14px 0;
}

.site-nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;
}

.top-ad {
  margin: 20px auto 0;
}

.top-ad a,
.ad-card a {
  display: block;
}

.top-ad img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 14px;
}

.layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 280px;
  gap: 20px;
  margin: 24px auto;
  align-items: start;
}

.box {
  background: white;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}

.hero-player h2,
.news-section h2,
.box h3 {
  margin-top: 0;
}

.player-placeholder {
  min-height: 220px;
  border: 2px dashed #ccc;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fafafa;
  text-align: center;
  padding: 20px;
}

.news-section {
  margin-top: 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  background: #fafafa;
  border-radius: 12px;
  overflow: hidden;
}

.news-card h3 {
  margin: 14px 14px 8px;
  font-size: 18px;
}

.news-card p {
  margin: 0 14px 16px;
  color: #555;
  line-height: 1.5;
}

.radio-item {
  background: #f3f3f3;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.radio-item p {
  margin: 0 0 8px;
  font-weight: bold;
}

.radio-item audio {
  width: 100%;
  height: 40px;
}

.ad-card {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #fafafa;
}

.ad-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ad-card img:hover,
.top-ad img:hover {
  transform: scale(1.02);
}

.site-footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 24px;
}

/* Tablet */
@media (max-width: 992px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .left-box {
    order: 3;
  }

  .main-content {
    order: 1;
  }

  .right-box {
    order: 2;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .logo {
    font-size: 26px;
  }

  .nav-inner {
    flex-direction: column;
    gap: 10px;
  }

  .layout {
    gap: 16px;
    margin: 16px auto;
  }

  .box {
    padding: 14px;
    border-radius: 12px;
  }

  .player-placeholder {
    min-height: 180px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card h3 {
    font-size: 17px;
  }

  .top-ad {
    margin-top: 16px;
  }

  .top-ad img,
  .ad-card img {
    height: auto;
  }
}

.news-container {
  width: 100%;
  overflow: hidden;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  background: #fafafa;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
  min-height: 100%;
}

.news-card:hover {
  transform: translateY(-3px);
}

.news-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: #eee;
}

.news-card .news-body {
  padding: 14px;
}

.news-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
}

.news-card p {
  margin: 0 0 14px;
  color: #555;
  line-height: 1.5;
  font-size: 14px;
}

.news-card a {
  display: inline-block;
  text-decoration: none;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.news-card a:hover {
  opacity: 0.9;
}

@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .news-container {
    overflow: visible;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .news-card img {
    height: 200px;
  }

  .news-card h3 {
    font-size: 17px;
  }

  .news-card p {
    font-size: 13px;
  }

  .news-card .news-body {
    padding: 12px;
  }
}

@media (max-width: 640px) {
  .top-news-grid {
    grid-template-columns: 1fr;
  }
}

.top-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.news-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;   /* max 2 satır */
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.news-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* max 3 satır */
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card .news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
}

.news-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card a {
  margin-top: auto;
}

@media (max-width: 640px) {
  .top-news-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 640px) {
  .nav-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 12px;
  }
}

.radio-player audio {
  width: 100%;
  margin-top: 10px;
}

.radio-note {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.radio-player.box {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("GoldenEagle.png") center/cover no-repeat;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.radio-player h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
}

.radio-text {
  color: #eee;
  font-size: 14px;
  margin-bottom: 10px;
}

.radio-player audio {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  opacity: 0.95;
}