/* ============================================================
   FOCAGEO BLOG — CLEAN PROFESSIONAL STYLES
   ============================================================ */

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --navy-3: #1c3d6e;
  --accent: #1a73e8;
  --accent-soft: #e8f0fe;
  --text: #1c2a3a;
  --muted: #5b6b7c;
  --border: #e3e8ef;
  --bg: #f7f9fc;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow: 0 8px 24px rgba(16, 24, 40, .06);
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 24px;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: -.02em;
  color: var(--navy); font-size: 20px;
}

.brand__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy); color: #fff;
  font-weight: 800; font-size: 18px;
}

.brand__dot { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav a {
  color: var(--muted); font-weight: 500; font-size: 15px;
  transition: color .15s ease;
}

.site-nav a:hover,
.site-nav a.is-active { color: var(--navy); }

.btn-contact {
  background: var(--navy); color: #fff !important;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600;
}

.btn-contact:hover { background: var(--navy-2); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  width: 42px; height: 42px;
  border: 1px solid var(--border); border-radius: 8px;
  background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}

.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--navy); border-radius: 2px;
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 0; display: none;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 14px 6%;
    border-bottom: 1px solid var(--border);
  }

  .btn-contact {
    margin: 12px 6%; text-align: center; border-radius: 8px;
  }
}

/* ---------- HERO ---------- */
.blog-hero {
  background: linear-gradient(180deg, #fff 0%, #f3f6fb 100%);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 56px;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em;
  font-size: 12px; font-weight: 700;
  color: var(--accent); margin: 0 0 12px;
}

.blog-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1; letter-spacing: -.03em;
  color: var(--navy); margin: 0 0 16px;
  max-width: 720px;
}

.hero__lead {
  font-size: 18px; color: var(--muted);
  max-width: 620px; margin: 0 0 32px;
}

.search {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 10px 8px 18px;
  max-width: 560px; box-shadow: var(--shadow-sm);
}

.search svg { color: var(--muted); flex: 0 0 auto; }

.search input {
  flex: 1; border: 0; outline: 0;
  font: inherit; font-size: 15px;
  padding: 10px 0; background: transparent; color: var(--text);
}

.search input::placeholder { color: #9aa7b6; }

/* ---------- POSTS ---------- */
/* ---------- POSTS ---------- */
.posts-section { padding: 64px 0 96px; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 36px;
}

.section-head h2 {
  font-size: 26px; letter-spacing: -.02em;
  color: var(--navy); margin: 0;
}

#results-label { margin: 0; color: var(--muted); font-size: 14px; }

/* One wide card per row */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

/* ---------- CARD (horizontal, wide, moderate image on right) ---------- */
.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 30%, 320px);
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 28px 28px 32px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 24, 40, .08);
  border-color: #cfd8e3;
}

/* --- Left / text column --- */
.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.post-card__title {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 0;
}

.post-card__title a { color: var(--navy); transition: color .15s ease; }
.post-card__title a:hover { color: var(--accent); }

.post-card__categories {
  display: flex; flex-wrap: wrap; gap: 6px;
}

.tag {
  background: var(--accent-soft);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.post-card__excerpt {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.post-card__meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: #c3ccd8; display: inline-block;
}

.post-card__link {
  margin-top: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .15s ease, color .15s ease;
}

.post-card__link:hover { gap: 9px; color: var(--navy); }

/* --- Right / image column (MODERATE SIZE) --- */
.post-card__image {
  display: block;
  width: 100%;
  height: 190px;          /* fixed, moderate height */
  max-height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f7;
  align-self: center;     /* vertically centered against text */
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.post-card:hover .post-card__image img { transform: scale(1.03); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 760px) {
  .post-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }

  .post-card__image {
    order: -1;            /* image moves to top on mobile */
    height: 200px;
    max-height: 220px;
  }

  .post-card__title { font-size: 20px; }
}

@media (max-width: 480px) {
  .post-card__image { height: 180px; }
  .post-card__title { font-size: 18px; }
  .post-card__body { gap: 10px; }
}
/* ---------- STATES ---------- */
.state {
  padding: 48px 0; text-align: center; color: var(--muted);
}

.state .spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- ARTICLE ---------- */
.article-page { padding: 56px 0 80px; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent); font-weight: 600;
  font-size: 14px; margin-bottom: 24px;
}

.article-header { max-width: 820px; margin: 0 auto 32px; }

.article-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15; letter-spacing: -.03em;
  color: var(--navy); margin: 0 0 16px;
}

.article-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px; color: var(--muted); font-size: 14px;
  margin-bottom: 24px;
}

.article-meta .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: #c3ccd8; display: inline-block;
}

.article-hero {
  margin: 0 0 36px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eef2f7;
}

.article-hero img { width: 100%; height: auto; }

.article-body {
  max-width: 760px; margin: 0 auto;
  font-size: 17px; line-height: 1.75;
  color: var(--text);
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--navy); letter-spacing: -.02em;
  line-height: 1.25; margin: 2em 0 .6em;
}

.article-body h1 { font-size: 30px; }
.article-body h2 { font-size: 26px; }
.article-body h3 { font-size: 22px; }
.article-body h4 { font-size: 19px; }

.article-body p { margin: 0 0 1.4em; }

.article-body a {
  color: var(--accent); text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.4em; padding-left: 1.4em;
}

.article-body li { margin-bottom: .5em; }

.article-body blockquote {
  margin: 1.6em 0; padding: 16px 20px;
  border-left: 4px solid var(--accent);
  background: #f4f8ff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--navy); font-style: italic;
}

.article-body code {
  background: #eef2f7; padding: 2px 6px;
  border-radius: 4px; font-size: .9em;
}

.article-body pre {
  background: #0b2545; color: #e6edf7;
  padding: 16px; border-radius: var(--radius-sm);
  overflow-x: auto;
}

.article-body img {
  border-radius: var(--radius-sm);
  margin: 1.6em 0;
}

.article-figure { margin: 1.8em 0; }

.article-figure figcaption {
  color: var(--muted); font-size: 14px;
  text-align: center; margin-top: 8px;
}

.article-not-found {
  text-align: center; padding: 64px 0;
}

.article-not-found h1 {
  color: var(--navy); margin-bottom: 12px;
}

.article-not-found p {
  color: var(--muted); margin-bottom: 24px;
}


/* ---------- POST ACTIONS (See More / View All) ---------- */
.post-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease,
              border-color .18s ease, transform .12s ease,
              box-shadow .18s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

/* Solid navy — primary action (View All Blog) */
.btn--solid {
  background: var(--navy);
  color: #fff;
  border: 1px solid var(--navy);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

.btn--solid:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  box-shadow: 0 8px 18px rgba(16, 24, 40, .10);
}

/* Ghost — secondary action (See More) */
.btn--ghost {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #f7f9fc;
}

@media (max-width: 480px) {
  .post-actions { gap: 10px; margin-top: 32px; }
  .btn { padding: 11px 20px; font-size: 13.5px; flex: 1 1 auto; text-align: center; }
}

/* ---------- FOOTER ---------- */
footer {
            /* background-color: #032b7a; */
             background: #0b1a2e;
            color: white;
            padding: 20px;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            padding: 20px;
            gap: 20px;
        }

        .footer-column {
            display: flex;
            flex-direction: column;
        }

        .footer-column h4 {
            margin-bottom: 10px;
            color: #ffffff;
        }


        a{
          text-decoration: none;
        }

        .footer-column ul li {
            margin-bottom: 8px;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .footer-column ul li:hover {
            transform: translateY(-2px);
        }

        .subscribe-btn {
            margin-top: 10px;
            padding: 10px;
            background-color: green;
            border: none;
            color: white;
            cursor: pointer;
            transition: box-shadow 0.3s;
            border-radius: 10px;
            font: 1.2em sans-serif;
            font-weight: 400;
        }

        .subscribe-btn:hover {
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        }

        .social-icons {
            display: flex;
            gap: 10px;
        }

        .social-icons a {
            color: white;
            transition: transform 0.3s;
        }

        .social-icons a:hover {
            transform: scale(1.1);
        }

        /* Bottom Bar */
        .footer-bottom {
            background-color: #021d5b;
            text-align: center;
            padding: 10px;
        }

        /* Responsive Styles */
        @media (max-width: 768px) {
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .footer-container {
                grid-template-columns: 1fr;
                padding: 10px;
            }
        }

        