/* ===========================
   Finance — Minimal CSS
   System fonts, no imports
   =========================== */

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

:root {
  --blue:   #1a56db;
  --blue-d: #1341b0;
  --blue-l: #eef2fb;
  --gold:   #f59e0b;
  --dark:   #111827;
  --mid:    #6b7280;
  --light:  #f3f4f6;
  --white:  #ffffff;
  --border: #e5e7eb;
  --red:    #ef4444;
  --green:  #10b981;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  color: var(--dark);
  background: #f9fafb;
  line-height: 1.6;
  font-size: 16px;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- HEADER ---- */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px;
  background: var(--blue);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: var(--radius);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-name { font-size: 1.3rem; font-weight: 800; color: var(--blue); }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  transition: background .2s, color .2s;
}
.site-nav a:hover, .site-nav a.active {
  background: var(--blue-l);
  color: var(--blue);
}

/* Hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
@media (max-width: 700px) {
  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 14px; width: 100%; }
  .burger { display: flex; }
}

/* ---- HERO (home) ---- */
.hero {
  background: var(--blue);
  color: var(--white);
  padding: 52px 0;
  text-align: center;
}
.hero h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.hero p  { font-size: 1rem; opacity: .85; max-width: 500px; margin: 0 auto; }

/* ---- POSTS GRID ---- */
.posts-section { padding: 48px 0; }

.section-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 28px;
  padding-left: 12px;
  border-left: 4px solid var(--blue);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.card-thumb {
  height: 190px;
  overflow: hidden;
  background: var(--light);
  position: relative;
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.post-card:hover .card-thumb img { transform: scale(1.05); }

.card-cat {
  position: absolute;
  bottom: 10px; left: 10px;
  background: var(--blue);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h2 {
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 8px;
  color: var(--dark);
  transition: color .2s;
}
.post-card:hover .card-body h2 { color: var(--blue); }

.card-body p {
  font-size: .84rem;
  color: var(--mid);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: var(--mid);
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: auto;
}
.card-meta .author { font-weight: 600; }
.card-meta .read-more {
  color: var(--blue);
  font-weight: 700;
  font-size: .8rem;
}
.card-meta .read-more:hover { text-decoration: underline; }

/* ---- POST PAGE ---- */
.post-page { padding: 40px 0 60px; }

.post-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--mid);
  margin-bottom: 20px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }

/* Article */
.article {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow);
}

.post-cat-label {
  display: inline-block;
  background: var(--blue-l);
  color: var(--blue);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.article h1 {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
}

.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: .82rem;
  color: var(--mid);
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.post-meta-bar .author-name { font-weight: 700; color: var(--dark); }

.post-thumb {
  width: 100%; height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 28px;
  background: var(--light);
}

/* Article body */
.article-body { color: #374151; line-height: 1.85; font-size: .97rem; }
.article-body h2 {
  font-size: 1.2rem; font-weight: 800;
  color: var(--dark);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.article-body h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--dark); margin: 20px 0 8px;
}
.article-body p { margin-bottom: 16px; }
.article-body ul, .article-body ol {
  padding-left: 22px; margin-bottom: 16px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--dark); font-weight: 700; }
.article-body blockquote {
  border-left: 4px solid var(--blue);
  background: var(--blue-l);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--dark);
}
.article-body table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0; font-size: .88rem;
}
.article-body table th,
.article-body table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}
.article-body table th {
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}
.article-body table tr:nth-child(even) { background: var(--light); }

/* Tags */
.post-tags {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding-top: 20px; margin-top: 20px;
  border-top: 1px solid var(--border);
}
.tag {
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--mid);
  font-size: .76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  transition: .2s;
}
.tag:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Post nav */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 28px;
}
.post-nav a {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  font-size: .82rem;
  transition: .2s;
}
.post-nav a:hover { border-color: var(--blue); color: var(--blue); }
.post-nav .label { color: var(--blue); font-weight: 700; font-size: .78rem; display: block; margin-bottom: 4px; }
.post-nav .title { font-weight: 600; color: var(--dark); line-height: 1.4; }
.post-nav .next { text-align: right; }

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

.widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.widget-title {
  font-size: .95rem; font-weight: 800;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  color: var(--dark);
}

/* Recent posts widget */
.recent-post {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.recent-post:last-child { border-bottom: none; }
.recent-thumb {
  width: 60px; height: 50px; flex-shrink: 0;
  border-radius: 6px; overflow: hidden; background: var(--light);
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-info h4 { font-size: .82rem; font-weight: 700; line-height: 1.35; margin-bottom: 3px; color: var(--dark); }
.recent-info h4:hover { color: var(--blue); }
.recent-info span { font-size: .73rem; color: var(--mid); }

/* Tags widget */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }

/* Newsletter widget */
.newsletter-widget { background: var(--blue); }
.newsletter-widget .widget-title { color: var(--white); border-bottom-color: rgba(255,255,255,.2); }
.newsletter-widget p { color: rgba(255,255,255,.8); font-size: .84rem; margin-bottom: 12px; }
.nl-form { display: flex; flex-direction: column; gap: 8px; }
.nl-form input {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: .84rem;
  font-family: inherit;
}
.nl-form input::placeholder { color: rgba(255,255,255,.5); }
.nl-form input:focus { outline: none; border-color: rgba(255,255,255,.7); }
.nl-form button {
  padding: 9px;
  background: var(--gold);
  border: none; border-radius: var(--radius);
  color: var(--dark); font-weight: 700;
  font-size: .84rem; cursor: pointer;
  font-family: inherit; transition: .2s;
}
.nl-form button:hover { opacity: .9; }

/* ---- FOOTER ---- */
.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 40px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand .footer-logo {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.footer-logo .logo-mark { background: var(--blue); color: var(--white); }
.footer-logo span { color: var(--white); font-weight: 800; font-size: 1.1rem; }
.footer-brand p { font-size: .84rem; line-height: 1.7; }

.footer-col h4 {
  color: var(--white); font-size: .88rem; font-weight: 700;
  margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: .84rem; color: #9ca3af; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding: 16px 0;
  text-align: center;
  font-size: .8rem;
}

/* ---- SEARCH ---- */
.search-trigger-container {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.search-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 10px 20px;
  width: 100%;
  max-width: 450px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--white);
  font-size: 0.95rem;
}.search-trigger:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.search-placeholder {
  flex: 1;
  text-align: left;
  opacity: 0.8;
}

.search-shortcut {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
}

/* Sidebar Search Trigger */
.sidebar-search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--mid);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.sidebar-search-trigger:hover {
  background: var(--border);
  color: var(--dark);
}

.sidebar-search-trigger .search-icon {
  font-size: 1rem;
}

.sidebar-search-trigger .search-placeholder {
  flex: 1;
  text-align: left;
  opacity: 1;
}

.sidebar-search-trigger .search-shortcut {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--mid);
}

/* Modal Overlay */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.search-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Modal Content */
.search-modal {
  background: var(--white);
  width: 100%;
  max-width: 650px;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 70vh;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.search-modal-overlay.open .search-modal {
  transform: scale(1);
}

/* Header */
.search-modal-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light);
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.search-input-wrapper:focus-within {
  border-color: var(--blue);
  background: var(--white);
}

.search-input-wrapper input {
  flex: 1;
  background: none;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  color: var(--dark);
  outline: none;
}

.search-clear {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--mid);
  cursor: pointer;
  padding: 0 4px;
  display: none;
}

.search-clear.visible {
  display: block;
}

.search-close {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
}

.search-close:hover {
  background: var(--border);
  color: var(--dark);
}

/* Body / Results */
.search-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  min-height: 200px;
}

.search-status {
  text-align: center;
  padding: 40px 20px;
  color: var(--mid);
  font-size: 0.9rem;
}

.search-result-item {
  display: block;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s;
  border: 1px solid transparent;
  margin-bottom: 4px;
}

.search-result-item:hover,
.search-result-item.active {
  background: var(--blue-l);
  border-color: rgba(26, 86, 219, 0.1);
}

.search-result-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.search-result-snippet {
  display: block;
  font-size: 0.82rem;
  color: var(--mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 2px;
}

/* Footer */
.search-modal-footer {
  padding: 12px 16px;
  background: var(--light);
  border-top: 1px solid var(--border);
}

.search-help {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--mid);
}

.search-help kbd {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 5px;
  font-family: inherit;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  margin-right: 4px;
}

@media (max-width: 600px) {
  .search-modal-overlay {
    padding: 0;
  }
  .search-modal {
    max-height: 100%;
    height: 100%;
    border-radius: 0;
  }
  .search-help {
    display: none;
  }
}
/* Back to top button */
.scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 99;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--blue-d);
  transform: translateY(-3px);
}

/* ===== ABOUT PAGE STYLES ===== */
.about-hero {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.about-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.about-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.about-content {
  padding: 80px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-content p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-list {
  list-style: none;
  margin-top: 20px;
}

.about-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

.about-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-section {
  padding: 80px 0;
  background: var(--light);
}

.contact-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-card h2 {
  margin-bottom: 15px;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
}

.contact-item .icon {
  font-size: 2rem;
  background: var(--light);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-item .label {
  display: block;
  font-weight: bold;
  font-size: 0.9rem;
  color: var(--mid);
}

.contact-item .value {
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 600;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .contact-details {
    gap: 20px;
  }
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-content {
  padding: 80px 0;
  background: var(--white);
}

.contact-grid-main {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info-side h2,
.contact-form-side h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.contact-info-side p {
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.method-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.method-icon {
  font-size: 1.5rem;
  background: var(--light);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.method-text h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.method-text p {
  margin: 0;
  font-size: 1rem;
  color: var(--mid);
}

.form-wrapper {
  background: var(--light);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.submit-btn {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: var(--blue-d);
}

@media (max-width: 992px) {
  .contact-grid-main {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* ===== POLICY PAGE STYLES ===== */
.policy-text-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.policy-text-wrapper h2 {
  font-size: 1.8rem;
  margin: 35px 0 15px;
  color: var(--dark);
}

.policy-text-wrapper p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--mid);
}

.policy-text-wrapper ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.policy-text-wrapper li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: var(--mid);
}

.policy-text-wrapper a {
  color: var(--blue);
  text-decoration: underline;
}

.policy-text-wrapper a:hover {
  color: var(--blue-d);
}

/* Toast Notification */
.toast {
  position: fixed; bottom: 72px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111827; color: var(--white);
  padding: 10px 22px; border-radius: 30px;
  font-size: .84rem; font-weight: 600;
  opacity: 0; transition: .35s; z-index: 999;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 750px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .article { padding: 20px 16px; }
  .article h1 { font-size: 1.35rem; }
  .post-thumb { height: 220px; }
  .hero h1 { font-size: 1.6rem; }
}
