:root {
  --ket-dark: #101014;
  --ket-dark-2: #181820;
  --ket-gold: #f5b942;
  --ket-red: #e63946;
  --ket-white: #ffffff;
  --ket-text: #d8d8d8;
  --ket-border: rgba(255,255,255,0.12);
}

* {
  box-sizing: border-box;
}

.ket-header {
  width: 100%;
  background: var(--ket-dark);
  color: var(--ket-white);
  position: relative;
  z-index: 999;
  font-family: Arial, sans-serif;
}

.ket-container {
  width: min(1200px, 94%);
  margin: 0 auto;
}

/* TOP BAR */
.ket-topbar {
  background: #07070a;
  border-bottom: 1px solid var(--ket-border);
  font-size: 13px;
}

.ket-topbar-inner {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.ket-breaking-label {
  background: var(--ket-red);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
}

.ket-ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ket-ticker span {
  display: inline-block;
  padding-left: 100%;
  animation: ketTicker 22s linear infinite;
  color: var(--ket-text);
}

@keyframes ketTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.ket-date {
  color: var(--ket-gold);
  font-size: 12px;
}

/* MAIN HEADER */
.ket-main-header {
  background: var(--ket-dark);
  border-bottom: 1px solid var(--ket-border);
}

.ket-main-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.ket-logo {
  color: var(--ket-white);
  text-decoration: none;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
  white-space: nowrap;
}

.ket-logo span {
  color: var(--ket-gold);
}

.ket-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  justify-content: center;
}

.ket-nav a {
  color: var(--ket-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.ket-nav a:hover {
  color: var(--ket-gold);
}

.ket-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ket-search-btn {
  border: 1px solid var(--ket-border);
  background: var(--ket-dark-2);
  color: var(--ket-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.ket-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ket-border);
  background: var(--ket-dark-2);
  border-radius: 8px;
  cursor: pointer;
  padding: 9px;
}

.ket-menu-btn span {
  display: block;
  height: 2px;
  background: var(--ket-white);
  margin: 5px 0;
  border-radius: 5px;
}

/* TRENDING */
.ket-trending {
  background: #13131a;
  border-bottom: 1px solid var(--ket-border);
}

.ket-trending-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
}

.ket-trending strong {
  color: var(--ket-gold);
  font-size: 13px;
}

.ket-trending a {
  color: var(--ket-text);
  text-decoration: none;
  font-size: 13px;
  padding: 6px 10px;
  border: 1px solid var(--ket-border);
  border-radius: 999px;
}

.ket-trending a:hover {
  color: var(--ket-gold);
  border-color: var(--ket-gold);
}

/* MOBILE MENU */
.ket-mobile-menu {
  display: none;
  background: #111118;
  border-bottom: 1px solid var(--ket-border);
  padding: 12px 3%;
}

.ket-mobile-menu a {
  display: block;
  color: var(--ket-white);
  text-decoration: none;
  padding: 14px 10px;
  border-bottom: 1px solid var(--ket-border);
  font-size: 15px;
  font-weight: 600;
}

.ket-mobile-menu a:hover {
  color: var(--ket-gold);
}

.ket-mobile-menu.active {
  display: block;
}

/* SEARCH OVERLAY */
.ket-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ket-search-overlay.active {
  display: flex;
}

.ket-search-box {
  width: min(700px, 100%);
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.ket-search-box input {
  flex: 1;
  border: none;
  padding: 18px;
  font-size: 16px;
  outline: none;
}

.ket-search-box button {
  border: none;
  background: var(--ket-gold);
  color: #111;
  padding: 0 24px;
  font-weight: 800;
  cursor: pointer;
}

.ket-search-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .ket-nav {
    display: none;
  }

  .ket-menu-btn {
    display: block;
  }

  .ket-main-inner {
    height: 68px;
  }
}

@media (max-width: 600px) {
  .ket-topbar-inner {
    height: 34px;
  }

  .ket-date {
    display: none;
  }

  .ket-logo {
    font-size: 26px;
  }

  .ket-trending-inner {
    padding: 8px 0;
  }

  .ket-search-box {
    flex-direction: column;
  }

  .ket-search-box button {
    padding: 15px;
  }
}

/* HERO SECTION */
.ket-hero {
  background: #0f1015;
  padding: 28px 0 40px;
}

.ket-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 24px;
}

/* LEFT HERO */
.ket-hero-main {
  width: 100%;
}

.ket-hero-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 620px;
  background: #000;
}

.ket-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.ket-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.92) 10%,
      rgba(0,0,0,0.35) 60%,
      rgba(0,0,0,0.15) 100%
    );
}

.ket-hero-content {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 42px;
  width: 100%;
}

.ket-hero-category {
  display: inline-block;
  background: #f5b942;
  color: #111;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.ket-hero-content h1 {
  font-size: 48px;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 900;
  max-width: 850px;
}

.ket-hero-content p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.82);
  max-width: 760px;
  margin-bottom: 24px;
}

.ket-hero-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 28px;
}

.ket-readmore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5b942;
  color: #111;
  text-decoration: none;
  font-weight: 800;
  padding: 15px 28px;
  border-radius: 12px;
  transition: 0.25s ease;
}

.ket-readmore:hover {
  transform: translateY(-2px);
  background: #ffca61;
}

/* SIDEBAR */
.ket-hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ket-side-news {
  display: flex;
  gap: 16px;
  background: #181920;
  border-radius: 18px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.25s ease;
  cursor: pointer;
}

.ket-side-news:hover {
  transform: translateY(-4px);
  border-color: rgba(245,185,66,0.35);
}

.ket-side-thumb {
  width: 120px;
  min-width: 120px;
  height: 110px;
  border-radius: 14px;
  overflow: hidden;
}

.ket-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ket-side-content {
  flex: 1;
}

.ket-side-content span {
  display: inline-block;
  color: #f5b942;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ket-side-content h3 {
  color: #fff;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 800;
}

/* RESPONSIVE */
@media (max-width: 1100px) {

  .ket-hero-grid {
    grid-template-columns: 1fr;
  }

  .ket-hero-image {
    min-height: 560px;
  }

}

@media (max-width: 768px) {

  .ket-hero {
    padding-top: 20px;
  }

  .ket-hero-image {
    min-height: 500px;
    border-radius: 18px;
  }

  .ket-hero-content {
    padding: 24px;
  }

  .ket-hero-content h1 {
    font-size: 32px;
  }

  .ket-hero-content p {
    font-size: 15px;
    line-height: 1.7;
  }

  .ket-side-news {
    padding: 12px;
  }

  .ket-side-thumb {
    width: 100px;
    min-width: 100px;
    height: 95px;
  }

  .ket-side-content h3 {
    font-size: 15px;
  }

}

@media (max-width: 540px) {

  .ket-hero-image {
    min-height: 460px;
  }

  .ket-hero-content h1 {
    font-size: 27px;
  }

  .ket-hero-meta {
    flex-wrap: wrap;
  }

  .ket-side-news {
    flex-direction: column;
  }

  .ket-side-thumb {
    width: 100%;
    height: 190px;
  }

}