@charset "utf-8";
/* michel-theme.css — მიშას არხი — მთავარი თემა */

/* ===============================
   CSS VARIABLES
================================= */
:root {
  --ink: #0e0e0e;
  --paper: #f5f0e8;
  --accent: #b8271e;
  --muted: #6b6560;
  --border: #d4cfc6;
  --card-bg: #ffffff;
}

/* ===============================
   RESET & BASE
================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Noto Sans Georgian', 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.7;
}

/* ===============================
   GOOGLE FONTS — ჩასვით <head>-ში:
   <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Noto+Sans+Georgian:wght@300;400;500&display=swap" rel="stylesheet">
================================= */

/* ===============================
   CONTAINER
================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===============================
   NAV
================================= */
nav {
  background: var(--ink);
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 10px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  border-radius: 4px;
}

.nav-logo span {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: #ccc;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-langs {
  display: flex;
  gap: 8px;
}

.nav-langs a {
  color: #999;
  font-size: 12px;
  text-decoration: none;
  padding: 2px 6px;
  border: 1px solid #444;
  border-radius: 3px;
  transition: all 0.2s;
}

.nav-langs a:hover,
.nav-langs a.active {
  color: #fff;
  border-color: #fff;
}

/* ===============================
   HERO SECTION
================================= */
.hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) brightness(0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.4) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 2.5rem 3rem;
}

.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.hero h1, .hero h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero p, .hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.80);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* simple hero (index, politics) */
.hero-simple {
  min-height: 200px;
  padding: 3rem 2rem;
  align-items: center;
}

.hero-simple .hero-content {
  padding: 1.5rem 2rem;
}

/* ===============================
   BREADCRUMB
================================= */
.breadcrumb {
  padding: 0.75rem 2rem;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 6px;
  align-items: center;
}

.breadcrumb a { color: var(--muted); text-decoration: none; font-weight: 700; }
.breadcrumb a:hover { color: var(--accent); }

/* ===============================
   MAIN LAYOUT (sidebar)
================================= */
.layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 3rem 0 4rem;
}

/* ===============================
   SECTION TITLE
================================= */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
  letter-spacing: -0.01em;
}

/* ===============================
   INTRO BLOCK
================================= */
.intro-block {
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

.intro-block p {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.8;
  font-weight: 400;
}

/* ===============================
   GRID (card grid)
================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

/* ===============================
   ARTICLE CARD (grid style)
================================= */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-content {
  padding: 1rem;
}

.card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
  line-height: 1.35;
}

.card-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.read-more {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.read-more::after { content: ' →'; }
.read-more:hover { text-decoration: underline; }

/* article-img inside card */
img.article-img {
  width: 160px;
  height: 160px;
  object-fit: contain;   /* ← სურათი არ დაიჭრება, მთლიანი ჩანს */
  display: block;
  margin: 1rem auto;
  background: var(--paper);
}

img.article-img[src*="who_rules_world_small_"] { width: 280px; height: auto; }
img.article-img[src*="modern-technologies"]     { width: 180px; height: auto; }
img.article-img[src*="world-graphics-logo"]     { width: 180px; height: auto; }

/* ===============================
   ARTICLE CARD (list style)
================================= */
.article-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.article-card-img {
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  min-height: 110px;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-body { padding: 1rem; }

.article-card-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.article-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--ink);
}

.article-card-excerpt {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.article-card-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
}

/* ===============================
   FEATURE CARD
================================= */
.feature-card {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  padding: 1.75rem;
  position: relative;
}

.feature-card::before {
  content: '"';
  position: absolute;
  top: -10px; right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.feature-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  position: relative;
}

/* ===============================
   SIDEBAR
================================= */
.sidebar-section { margin-bottom: 2rem; }

.sidebar-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin-bottom: 1rem;
}

.power-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.power-rank {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent);
  min-width: 28px;
}

.power-name { font-size: 13px; font-weight: 500; }
.power-detail { font-size: 11px; color: var(--muted); margin-top: 2px; }
.power-bar-wrap { margin-top: 4px; height: 3px; background: var(--border); border-radius: 2px; }
.power-bar { height: 3px; background: var(--accent); border-radius: 2px; }

.quote-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
}

.quote-box::before {
  content: '❝';
  font-style: normal;
  color: var(--accent);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 6px;
}

.quote-src {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 8px;
  display: block;
}

/* ===============================
   CONTACT FORM
================================= */
.contact-container {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ink);
}

.contact-container form {
  display: flex;
  flex-direction: column;
}

.contact-container label {
  margin-top: 1rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.contact-container input,
.contact-container textarea {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s;
}

.contact-container input:focus,
.contact-container textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-container button {
  margin-top: 1.5rem;
  padding: 12px;
  background: var(--ink);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.contact-container button:hover {
  background: var(--accent);
}

/* ===============================
   SITEMAP
================================= */
.sitemap {
  text-align: center;
  padding: 1rem 0;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.sitemap a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.2s;
}

.sitemap a:hover { color: var(--ink); }

/* ===============================
   FOOTER
================================= */
footer {
  background: var(--ink);
  color: #888;
  text-align: center;
  padding: 1.5rem;
  font-size: 12px;
  border-top: 2px solid var(--accent);
}

footer a {
  color: #aaa;
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover { color: #fff; }

footer p { margin: 6px 0; }

/* ===============================
   SEARCH FORM
================================= */
.search-form {
  display: flex;
  gap: 6px;
}

.search-form input[type="text"] {
  padding: 6px 10px;
  border: 1px solid #444;
  border-radius: 4px;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  width: 180px;
}

.search-form input[type="text"]::placeholder { color: #888; }

/* ===============================
   LANGUAGE SWITCHER
================================= */
.language-switcher {
  font-size: 13px;
}

.language-switcher a {
  color: #999;
  text-decoration: none;
  margin: 0 3px;
  padding: 2px 6px;
  border: 1px solid #444;
  border-radius: 3px;
  transition: all 0.2s;
}

.language-switcher a:hover {
  color: #fff;
  border-color: #fff;
}

/* ===============================
   MARQUEE (hero announcement)
================================= */
.hero-announce {
  background: var(--accent);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero { min-height: 280px; }
  .hero-content { padding: 1.5rem; }
  .hero h1, .hero h2 { font-size: 1.6rem; }
  nav { padding: 0.75rem 1rem; }
  .nav-links { display: none; }
  .container { padding: 0 1rem; }
  .grid { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 90px 1fr; }
}

@media (max-width: 480px) {
  img.article-img:not([src*="who_rules_world_small_"]):not([src*="modern-technologies"]):not([src*="world-graphics-logo"]) {
    width: 80px;
  }
}
