.sinif-hub-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  box-sizing: border-box;
}

.sinif-hub-page__header {
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.sinif-hub-page__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.sinif-hub-page__bar {
  height: 4px;
  width: 56px;
  margin-top: 0.6rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #1565c0, #42a5f5);
}

.sinif-hub-row--three {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.sinif-hub-left-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sinif-hub-row-three-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sinif-hub-row-three-left .sinif-hub-block {
  flex: 1 1 0;
}

@media (min-width: 768px) {
  .sinif-hub-row--three {
    flex-direction: row;
    align-items: flex-start;
  }
  .sinif-hub-left-col {
    flex: 0 0 60%;
  }
  .sinif-hub-block--recent {
    flex: 1 1 0;
  }
  .sinif-hub-row-three-left {
    flex-direction: row;
  }
}

@media (max-width: 767px) {
  .sinif-hub-row--three > * {
    display: block !important;
    width: 100%;
  }
  .sinif-hub-row-three-left .sinif-hub-block {
    flex: none !important;
  }
}

.sinif-hub-row--two {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .sinif-hub-row--two {
    grid-template-columns: 1fr 1fr;
  }
}

.sinif-hub-block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.sinif-hub-block__title {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  background: #4479b4;
  line-height: 1.35;
}

.sinif-hub-block--teachers .sinif-hub-block__title {
  background: #31527f;
}

.sinif-hub-block__title--recent {
  background: #376099;
  color: #ffffff;
  text-align: center;
}

.sinif-hub-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sinif-hub-block__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.sinif-hub-block__list li:last-child {
  border-bottom: none;
}

.sinif-hub-block__icon {
  flex-shrink: 0;
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  color: #64748b;
}

.sinif-hub-block__link {
  flex: 1;
  min-width: 0;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.sinif-hub-block__link:hover {
  color: #1565c0;
}

.sinif-hub-block__empty {
  margin: 0;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: #64748b;
}

.sinif-hub-block--recent {
  min-height: 0;
}

.sinif-hub-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sinif-hub-recent-list__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.sinif-hub-recent-list__item:last-child {
  border-bottom: none;
}

.sinif-hub-recent-list__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #0d5c2e;
}

.sinif-hub-recent-list__link {
  flex: 1;
  min-width: 0;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.sinif-hub-recent-list__link:hover {
  color: #1565c0;
}

.sinif-hub-recent-list__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  color: #0d5c2e;
  background: #dcfce7;
  border: 1px solid #86efac;
  text-decoration: none;
}

.sinif-hub-recent-list__btn:hover {
  background: #0d5c2e;
  color: #fff;
  border-color: #0a4a24;
}

.sinif-hub-recent__more {
  margin: 0;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.sinif-hub-recent__more-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1565c0;
  text-decoration: none;
}

.sinif-hub-recent__more-link:hover {
  color: #0d47a1;
}

.sinif-hub-ad {
  margin-bottom: 1.5rem;
}

.sinif-hub-ad__slot {
  max-width: 100%;
  min-height: 90px;
  text-align: center;
}

.sinif-hub-ad__slot ins.adsbygoogle {
  display: block;
}

/* Adsense boş (unfilled) kaldığında görünmez katman link tıklamasını yutmasın */
.sinif-hub-ad{position:relative;z-index:0;}
.sinif-hub-ad__slot .adsbygoogle[data-ad-status="unfilled"]{
  display:block !important;
  height:0 !important;
  min-height:0 !important;
  overflow:hidden !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  pointer-events:none !important;
}
.sinif-hub-ad__slot .adsbygoogle[data-ad-status="filled"]{
  pointer-events:auto;
}

.sinif-hub-row--ortaokul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .sinif-hub-row--ortaokul {
    flex-direction: row;
    align-items: flex-start;
  }
  .sinif-hub-ortaokul-col {
    flex: 1 1 0;
    min-width: 0;
  }
  .sinif-hub-block--recent-ortaokul {
    flex: 0 0 340px;
  }
}

.sinif-hub-ortaokul-list {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}

.sinif-hub-ortaokul-list__title {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: #376099;
  line-height: 1.35;
}

.sinif-hub-ortaokul-list__nav {
  display: block;
}

.sinif-hub-ortaokul-list__ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sinif-hub-ortaokul-list__li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sinif-hub-ortaokul-list__li:last-child {
  border-bottom: none;
}

.sinif-hub-ortaokul-list__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #2e476c;
  color: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sinif-hub-ortaokul-list__link:hover {
  background: #3d5a80;
  color: #fff;
}

.sinif-hub-ortaokul-list__icon {
  flex-shrink: 0;
  display: flex;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.sinif-hub-ad--ortaokul {
  margin-top: 1rem;
  margin-bottom: 0;
}
