/*
Theme Name: YakutExpert Frost
Description: Northern minimalism design. Cold tones, clean structure.
Version: 1.0
Author: Assistant
*/

:root {
  /* Palette: Frost & Indigo */
  --bg-body: #F5F7FA; /* Snow Grey */
  --bg-surface: #FFFFFF;
  --bg-frost: #E3F2FD; /* Ice Blue */
  
  --text-main: #0D1B2A; /* Deepest Blue/Black */
  --text-muted: #546E7A;
  
  --color-primary: #0D47A1; /* Corporate Blue */
  --color-accent: #00B0FF; /* Diamond Cyan */
  
  --border-color: #CFD8DC;
  
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius: 12px;
  --shadow-card: 0 4px 20px rgba(0,0,0,0.05);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s;
  font-family: var(--font-heading);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 176, 255, 0.3);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* HEADER */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span { color: var(--color-accent); }

.main-nav ul { display: flex; gap: 2rem; }
.main-nav a { font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--color-accent); }

/* HERO: Clean & Trustworthy */
.hero-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-frost) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(0, 176, 255, 0.1);
  color: var(--color-primary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.hero-feat-icon {
  width: 40px; height: 40px;
  background: var(--bg-surface);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-accent);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ABOUT GRID */
.about-section {
  padding: 6rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.about-card {
  background: var(--bg-surface);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
}
.about-card:hover { transform: translateY(-5px); border-color: var(--color-accent); }
.about-card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--color-primary); }
.about-card p { font-size: 0.95rem; color: var(--text-muted); }

/* BLOG / RESOURCES */
.blog-section {
  padding: 6rem 0;
  background: var(--bg-surface);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-title { font-size: 2.5rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--bg-body);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.blog-card:hover { box-shadow: var(--shadow-card); }

.blog-thumb {
  display: block;
  height: 220px;
  background: #E0E0E0;
  position: relative;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }

.blog-content { padding: 1.5rem; }

.blog-meta {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.blog-link {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
}

/* PAGINATION */
.pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.page-numbers {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--bg-body);
  font-weight: 600;
  transition: all 0.2s;
}
.page-numbers.current, .page-numbers:hover {
  background: var(--color-primary);
  color: #fff;
}

/* FOOTER */
.site-footer {
  background: #0D1B2A;
  color: #fff;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 4rem;
}

.footer-brand h2 { color: #fff; margin-bottom: 1.5rem; }
.footer-brand p { color: #90A4AE; max-width: 300px; }

.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.5rem; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col a { color: #CFD8DC; }
.footer-col a:hover { color: var(--color-accent); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-features { justify-content: center; }
  .about-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .about-grid, .blog-grid, .footer-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; height: auto; padding: 1rem 0; gap: 1rem; }
}

/* CONTENT TYPOGRAPHY & ELEMENTS (Posts/Pages) */
.content-body h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.content-body h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.content-body p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.content-body ul, .content-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.content-body li {
  margin-bottom: 0.5rem;
}

/* Blockquotes */
.content-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: var(--bg-frost);
  border-left: 4px solid var(--color-accent);
  font-style: italic;
  font-size: 1.1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--color-primary);
}

/* Tables */
.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
  background: var(--bg-surface);
  border-radius: var(--radius);
  overflow: hidden; /* For rounded corners */
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.content-body th, .content-body td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.content-body th {
  background: var(--bg-frost);
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.content-body tr:last-child td {
  border-bottom: none;
}

.content-body tr:hover td {
  background: #FAFBFC;
}
