/*
Theme Name: Gazete Hakimiyet
Theme URI: https://gazetehakimiyet.com
Author: Gazete Hakimiyet Medya Grubu
Author URI: https://gazetehakimiyet.com
Description: Gazete Hakimiyet için özel olarak tasarlanmış, ağırbaşlı, araştırmacı gazetecilik ve ulusal politika odaklı, Google News ve Core Web Vitals tam uyumlu modern haber teması.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: Proprietary
Text Domain: gazetehakimiyet
*/

:root {
  --gh-navy-950: #090d16;
  --gh-navy-900: #0f172a;
  --gh-navy-800: #1e293b;
  --gh-navy-700: #334155;
  --gh-blue-primary: #1e3a8a;
  --gh-blue-accent: #2563eb;
  --gh-red-crimson: #b91c1c;
  --gh-red-dark: #991b1b;
  --gh-gold: #d97706;
  --gh-bg-main: #f8fafc;
  --gh-bg-card: #ffffff;
  --gh-text-primary: #0f172a;
  --gh-text-secondary: #475569;
  --gh-text-muted: #64748b;
  --gh-border: #e2e8f0;
  --gh-border-light: #f1f5f9;
  --gh-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gh-font-serif: "Merriweather", Georgia, "Times New Roman", serif;
  --gh-container: 1240px;
}

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

body {
  font-family: var(--gh-font-sans);
  background-color: var(--gh-bg-main);
  color: var(--gh-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gh-red-crimson);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.gh-container {
  max-width: var(--gh-container);
  margin: 0 auto;
  padding: 0 16px;
}

/* TOP BAR */
.gh-topbar {
  background: var(--gh-navy-950);
  color: #94a3b8;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 6px 0;
}

.gh-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.gh-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gh-date {
  color: #cbd5e1;
  font-weight: 500;
}

.gh-ticker-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gh-live-badge {
  background: var(--gh-red-crimson);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.gh-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gh-markets {
  display: flex;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
}

.gh-markets span {
  color: #e2e8f0;
}

/* HEADER MAIN */
.gh-header {
  background: #ffffff;
  border-bottom: 2px solid var(--gh-red-crimson);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 16px 0 12px;
}

.gh-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.gh-logo-link {
  display: inline-block;
  max-width: 380px;
}

.gh-header-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
}

.gh-header-banner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gh-badge-national {
  border: 1px solid var(--gh-border);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gh-navy-800);
  background: #f1f5f9;
  text-transform: uppercase;
}

/* MAIN NAVIGATION */
.gh-navbar {
  background: var(--gh-navy-900);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.gh-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gh-nav-menu {
  display: flex;
  list-style: none;
  gap: 2px;
  overflow-x: auto;
  white-space: nowrap;
}

.gh-nav-menu li a {
  display: block;
  padding: 14px 18px;
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.gh-nav-menu li a:hover,
.gh-nav-menu li.current-menu-item a {
  background: rgba(255,255,255,0.06);
  border-bottom-color: var(--gh-red-crimson);
  color: #ffffff;
}

/* BREAKING NEWS TICKER */
.gh-ticker-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--gh-border);
  display: flex;
  align-items: center;
  font-size: 13px;
  overflow: hidden;
  height: 40px;
}

.gh-ticker-label {
  background: var(--gh-red-crimson);
  color: #fff;
  font-weight: 700;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.gh-ticker-content {
  padding: 0 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--gh-navy-900);
  font-weight: 500;
}

/* HERO HEADLINE GRID */
.gh-hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin: 24px 0 32px;
}

.gh-main-hero {
  position: relative;
  background: var(--gh-navy-900);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.gh-main-hero img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gh-main-hero:hover img {
  transform: scale(1.02);
}

.gh-main-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 24px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 13, 22, 0.95) 85%);
  color: #ffffff;
}

.gh-hero-cat {
  display: inline-block;
  background: var(--gh-red-crimson);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.gh-hero-title {
  font-family: var(--gh-font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #ffffff;
}

.gh-hero-excerpt {
  font-size: 14px;
  color: #cbd5e1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* SIDE HEADLINES */
.gh-side-headlines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gh-side-card {
  display: flex;
  gap: 14px;
  background: var(--gh-bg-card);
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--gh-border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gh-side-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.gh-side-card img {
  width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.gh-side-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gh-side-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gh-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gh-card-meta {
  font-size: 11px;
  color: var(--gh-text-muted);
  margin-top: 4px;
}

/* SURMANSET TABS (1-12) */
.gh-surmanset-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}

.gh-tab-item {
  background: var(--gh-bg-card);
  border: 1px solid var(--gh-border);
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.gh-tab-item:hover {
  border-color: var(--gh-red-crimson);
  background: #ffffff;
}

.gh-tab-num {
  background: var(--gh-navy-900);
  color: #fff;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.gh-tab-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3-COLUMN EDITORIAL SECTION */
.gh-editorial-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  margin-bottom: 40px;
}

.gh-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--gh-navy-900);
  padding-bottom: 8px;
  margin-bottom: 18px;
}

.gh-section-title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gh-navy-900);
  position: relative;
}

.gh-section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gh-red-crimson);
}

.gh-news-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gh-news-card {
  background: var(--gh-bg-card);
  border-radius: 6px;
  border: 1px solid var(--gh-border);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  transition: transform 0.2s;
}

.gh-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.gh-news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gh-card-body {
  padding: 14px 16px;
}

.gh-card-title {
  font-family: var(--gh-font-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 6px 0;
  color: var(--gh-text-primary);
}

.gh-card-excerpt {
  font-size: 13px;
  color: var(--gh-text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* SIDEBAR / WRITERS */
.gh-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gh-writer-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gh-border);
}

.gh-writer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gh-border);
}

.gh-writer-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--gh-navy-900);
}

.gh-writer-article {
  font-size: 13px;
  color: var(--gh-text-secondary);
  font-family: var(--gh-font-serif);
  margin-top: 2px;
}

/* SINGLE ARTICLE */
.gh-single-article {
  background: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid var(--gh-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  margin: 24px 0 40px;
}

.gh-breadcrumb {
  font-size: 12px;
  color: var(--gh-text-muted);
  margin-bottom: 16px;
}

.gh-breadcrumb a:hover {
  text-decoration: underline;
}

.gh-article-header h1 {
  font-family: var(--gh-font-serif);
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--gh-navy-950);
  margin-bottom: 12px;
}

.gh-article-spot {
  font-size: 17px;
  line-height: 1.5;
  color: var(--gh-text-secondary);
  font-weight: 500;
  border-left: 3px solid var(--gh-red-crimson);
  padding-left: 14px;
  margin-bottom: 20px;
}

.gh-article-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--gh-border);
  border-bottom: 1px solid var(--gh-border);
  font-size: 13px;
  color: var(--gh-text-muted);
  margin-bottom: 24px;
}

.gh-article-featured-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 24px;
}

.gh-article-content {
  font-size: 17px;
  line-height: 1.8;
  color: #1e293b;
}

.gh-article-content p {
  margin-bottom: 20px;
}

.gh-article-content h2,
.gh-article-content h3 {
  font-family: var(--gh-font-serif);
  color: var(--gh-navy-900);
  margin: 32px 0 16px;
}

/* FOOTER */
.gh-footer {
  background: var(--gh-navy-950);
  color: #94a3b8;
  padding: 48px 0 24px;
  margin-top: 60px;
  border-top: 4px solid var(--gh-red-crimson);
}

.gh-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.gh-footer-logo {
  height: 55px;
  width: auto;
  margin-bottom: 14px;
}

.gh-footer-desc {
  font-size: 13px;
  line-height: 1.6;
  max-width: 420px;
}

.gh-footer-col h4 {
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.gh-footer-links {
  list-style: none;
  font-size: 13px;
}

.gh-footer-links li {
  margin-bottom: 8px;
}

.gh-footer-links a:hover {
  color: #ffffff;
}

.gh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .gh-hero-grid {
    grid-template-columns: 1fr;
  }
  .gh-main-hero img {
    height: 320px;
  }
  .gh-editorial-grid {
    grid-template-columns: 1fr;
  }
  .gh-surmanset-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
  .gh-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gh-news-card-grid {
    grid-template-columns: 1fr;
  }
  .gh-surmanset-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .gh-hero-title {
    font-size: 20px;
  }
  .gh-article-header h1 {
    font-size: 24px;
  }
}
