.search-panel {
  position: fixed;
  inset: 0;
  z-index: var(--kt-z-overlay);
  display: grid;
  align-items: start;
  padding-top: 88px;
  background: rgba(247, 249, 251, 0.96);
  backdrop-filter: blur(22px);
}

.search-panel[hidden],
.mobile-menu[hidden] {
  display: none;
}

.search-panel-inner {
  width: min(100% - 32px, 820px);
  margin-inline: auto;
}

.search-form {
  display: grid;
  gap: 12px;
}

.search-form input {
  min-height: 56px;
  font-size: 18px;
}

.search-results {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.search-empty {
  padding: 18px;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius-card);
  background: var(--kt-surface-card);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius-card);
  background: var(--kt-surface-card);
  isolation: isolate;
}

.hero-card-link {
  display: block;
  min-height: 100%;
  color: #fff;
  text-decoration: none;
}

.hero-card-media {
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: var(--kt-surface-low);
}

.hero-card-media::after,
.article-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(3, 7, 18, 0.88), rgba(3, 7, 18, 0.22), rgba(3, 7, 18, 0.04));
  content: "";
}

.hero-card-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
}

.hero-card h2 {
  max-width: 780px;
  margin-top: 12px;
  color: #fff;
  font-size: 34px;
}

.hero-card p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-card-compact .hero-card-media {
  min-height: 220px;
}

.hero-card-compact h2 {
  font-size: 23px;
}

.news-card {
  min-width: 0;
  border-bottom: 1px solid var(--kt-border);
  background: transparent;
}

.news-card-featured,
.news-card-medium,
.news-card-category-featured {
  overflow: hidden;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius-card);
  background: var(--kt-surface-card);
  transition: transform var(--kt-normal), box-shadow var(--kt-normal), border-color var(--kt-normal);
}

.news-card-featured:hover,
.news-card-medium:hover,
.news-card-category-featured:hover,
.hero-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 81, 213, 0.38);
  box-shadow: var(--kt-shadow);
}

.card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--kt-surface-low);
}

.card-media img,
.hero-card img {
  transition: transform 600ms var(--kt-ease), filter var(--kt-normal);
}

.news-card:hover .card-media img,
.hero-card:hover img {
  transform: scale(1.035);
}

.card-body {
  padding: 18px;
}

.card-title {
  margin-top: 8px;
  font-size: 23px;
}

.card-title a {
  text-decoration: none;
}

.card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  color: var(--kt-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--kt-border);
}

.news-card-list {
  display: grid;
  gap: 16px;
  padding: 24px 0;
}

.news-card-list .card-media {
  aspect-ratio: 16 / 9;
  border-radius: var(--kt-radius-card);
}

.news-card-list .card-body {
  padding: 0;
}

.news-card-list .card-title {
  font-size: 25px;
}

.news-card-search {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius-card);
  background: var(--kt-surface-card);
}

.card-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--kt-radius);
}

.news-card-search .card-body {
  padding: 0;
}

.news-card-search .card-title {
  margin-top: 4px;
  font-size: 17px;
}

.news-card-compact {
  padding: 14px 0;
}

.news-card-compact:first-child {
  padding-top: 0;
}

.news-card-compact .card-body {
  padding: 0;
}

.news-card-compact .card-title {
  margin-top: 4px;
  font-family: var(--kt-font-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.news-card-compact .card-meta {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
  font-size: 13px;
}

.news-card-category-featured .card-title {
  font-size: 22px;
}

.news-card-category-featured .card-excerpt {
  -webkit-line-clamp: 2;
}

.home-category-grid {
  display: grid;
  gap: var(--kt-gutter);
}

.home-category-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius-card);
  background: var(--kt-surface-card);
  padding: 18px;
}

.home-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--kt-ink);
}

.home-category-header h3 {
  font-size: 22px;
}

.home-category-header a {
  text-decoration: none;
}

.home-category-all {
  color: var(--kt-blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-category-list {
  display: grid;
  gap: 0;
}

.home-category-list .news-card-category-featured {
  margin-bottom: 10px;
}

.home-category-empty {
  color: var(--kt-muted);
}

.archive-header {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--kt-border);
}

.archive-header h1 {
  margin-top: 8px;
}

.archive-description {
  max-width: 760px;
  margin-top: 14px;
  color: var(--kt-muted);
  font-size: 18px;
}

.trend-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.trend-tags span {
  color: var(--kt-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.trend-tags a,
.tag-list a {
  padding: 6px 11px;
  border: 1px solid var(--kt-border);
  border-radius: 999px;
  background: var(--kt-surface-card);
  color: var(--kt-ink);
  font-size: 13px;
  text-decoration: none;
}

.category-masonry {
  display: grid;
  gap: var(--kt-gutter);
  margin-bottom: 56px;
}

.article-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--kt-ink);
  color: #fff;
  isolation: isolate;
}

.article-hero-media {
  position: absolute;
  inset: 0;
}

.article-hero-content {
  position: relative;
  z-index: 2;
  padding-block: 120px 44px;
}

.article-hero-text {
  max-width: 820px;
}

.article-hero h1 {
  margin-top: 16px;
  color: #fff;
  font-size: 34px;
  line-height: 1.08;
  overflow-wrap: break-word;
  hyphens: auto;
}

.article-hero p {
  max-width: 720px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.article-hero .article-meta {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.article-content {
  width: 100%;
  min-width: 0;
}

.article-content .entry-content .yarpp,
.article-content .entry-content .yarpp-related,
.article-content .entry-content #crp_related {
  display: none !important;
}

.article-content .post-views {
  margin: 0 0 18px;
  color: var(--kt-muted);
  font-size: 15px;
}

.author-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--kt-border);
}

.author-strip img {
  border-radius: 999px;
}

.author-strip span {
  display: block;
  color: var(--kt-muted);
  font-size: 14px;
}

.article-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
}

.comments-area {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 2px solid var(--kt-ink);
}

.comment-list {
  padding: 0;
  list-style: none;
}

.comment-body {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius-card);
  background: var(--kt-surface-card);
}

.comment-meta {
  font-size: 14px;
}

.related-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 48px;
  padding: 56px 0;
  border-top: 3px solid var(--kt-blue);
  background: var(--kt-surface-low);
}

.widget {
  overflow: hidden;
  border: 1px solid var(--kt-border);
  border-radius: var(--kt-radius-card);
  background: var(--kt-surface-card);
  padding: 22px;
}

.widget-title,
.widget h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.weather-widget {
  border-color: transparent;
  background: transparent;
  padding-inline: 0;
}

.weather-temp {
  color: var(--kt-ink);
  font-family: var(--kt-font-serif);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
}

.weather-temp span {
  margin-left: 8px;
  color: var(--kt-muted);
  font-size: 28px;
  font-weight: 400;
}

.trending-widget ol,
.popular-widget ol {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trending-widget li,
.popular-widget li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
}

.trending-widget li > span,
.popular-widget li > span {
  color: #d8dde4;
  font-family: var(--kt-font-serif);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.trending-title,
.popular-widget a {
  display: block;
  color: var(--kt-ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.36;
  text-decoration: none;
}

.newsletter-widget {
  border-color: #16223a;
  background: #111827;
  color: #fff;
}

.newsletter-widget h2 {
  color: #fff;
}

.newsletter-widget p {
  color: rgba(255, 255, 255, 0.82);
}

.newsletter-widget form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.newsletter-widget input {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--kt-muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--kt-blue);
}

.page-layout {
  max-width: 860px;
  padding-block: 48px 72px;
}

.page-header {
  margin-bottom: 28px;
}

.not-found {
  padding: 56px 0;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 4px;
  background: transparent;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--kt-blue);
}

@media (min-width: 768px) {
  .search-form {
    grid-template-columns: 1fr auto;
  }

  .news-card-list {
    grid-template-columns: minmax(220px, 34%) 1fr;
  }

  .category-masonry {
    grid-template-columns: 2fr 1fr;
  }

  .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-masonry .hero-card:first-child {
    grid-row: span 2;
  }

  .article-hero h1 {
    font-size: 46px;
  }
}

@media (min-width: 1024px) {
  .article-actions {
    position: fixed;
    top: 50%;
    left: max(16px, calc((100vw - 1120px) / 2 - 64px));
    z-index: 30;
    display: grid;
    gap: 10px;
    justify-items: center;
    margin: 0;
    transform: translateY(-50%);
  }
}

@media (min-width: 1280px) {
  .article-hero h1 {
    font-size: 52px;
  }
}
