/* ---------------------------------------------------
   Base
--------------------------------------------------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: #f4f4f4;
  color: #222;
  line-height: 1.6;
}

a {
  color: #006699;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------------------------------------------------
   Buttons
--------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 3px;
  border: 1px solid #006699;
  background: #006699;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: #004d66;
  border-color: #004d66;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: #006699 !important;
}

.btn-secondary:hover {
  background: #e6f2f5;
}

/* ---------------------------------------------------
   Header + Navigation (similar to Minimal Grid topbar)
--------------------------------------------------- */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e1e1e1;
  padding: 0.7rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.site-nav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #444;
}

.site-nav a:hover {
  color: #000;
}

/* ---------------------------------------------------
   Hero Section (lighter, like a page header)
--------------------------------------------------- */

.hero {
  background: #ffffff;
  border-bottom: 1px solid #e1e1e1;
  padding: 2.5rem 0 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #888;
  margin: 0;
}

.hero h1 {
  margin: 0.5rem 0 0.5rem;
  font-size: 2.3rem;
  letter-spacing: 0.02em;
}

.subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.4rem;
}

/* ---------------------------------------------------
   Home Sections
--------------------------------------------------- */

.home-section {
  padding: 2rem 1rem;
  max-width: 1080px;
  margin: 0 auto;
}

.home-section h2 {
  margin: 0 0 1.2rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 0.4rem;
}

.home-section-alt {
  background: #f7f7f7;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  margin-top: 2rem;
}

/* ---------------------------------------------------
   Feature Grid (section cards)
--------------------------------------------------- */

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 0.5rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 2px;
  padding: 1.1rem 1.2rem;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin-top: 0.2rem;
}

.feature-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

/* ---------------------------------------------------
   Latest Posts Grid (like Minimal Grid cards)
--------------------------------------------------- */

.post-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 1rem 0 1.5rem;
}

.post-card {
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 2px;
  padding: 1.1rem 1.2rem;
}

.post-card h3 {
  margin-top: 0;
}

.post-meta {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.6rem;
}

/* For blog list pages (if you use .post-list) */

.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #e1e1e1;
}

.post-date {
  font-size: 0.8rem;
  color: #999;
  margin-right: 0.5rem;
}

/* ---------------------------------------------------
   Two-column info + tags
--------------------------------------------------- */

.two-columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding-top: 1.2rem;
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li {
  border-radius: 999px;
  border: 1px solid #d0d0d0;
  background: #fafafa;
  padding: 0.25rem 0.8rem;
  font-size: 0.8rem;
  color: #555;
}

/* ---------------------------------------------------
   Generic content
--------------------------------------------------- */

.site-content {
  background: transparent;
}

/* Optional styling for images if you add them later */

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

/* ---------------------------------------------------
   Footer
--------------------------------------------------- */

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e1e1e1;
  color: #777;
  padding: 1.5rem 0;
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: #555;
}

.social-links {
  margin-top: 0.4rem;
}

.social-links a {
  margin: 0 0.4rem;
}

/* ---------------------------------------------------
   Responsive tweaks
--------------------------------------------------- */

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .home-section {
    padding: 1.5rem 1rem;
  }

  .feature-card,
  .post-card {
    padding: 1rem;
  }
}

/* ---------------------------------------------------
   Single Post Layout
--------------------------------------------------- */

.post-wrapper {
  max-width: 760px;
  margin: 2rem auto 3rem;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  border-radius: 2px;
  padding: 2rem 2.3rem;
}

.post-header {
  margin-bottom: 1.5rem;
}

.post-breadcrumb {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
}

.post-breadcrumb a {
  color: #999;
}

.post-breadcrumb a:hover {
  color: #555;
}

.post-title {
  margin: 0 0 0.6rem;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
}

.post-meta-line {
  margin: 0;
  font-size: 0.85rem;
  color: #999;
}

.post-meta-separator {
  margin: 0 0.3rem;
}

.post-meta-categories a {
  color: #777;
}

.post-meta-categories a:hover {
  color: #000;
}

/* ---------------------------------------------------
   Post Content Typography
--------------------------------------------------- */

.post-content {
  font-size: 1rem;
  color: #333;
}

.post-content p {
  margin: 0 0 1rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  line-height: 1.3;
  font-weight: 600;
  color: #222;
}

.post-content h2 {
  font-size: 1.5rem;
}

.post-content h3 {
  font-size: 1.25rem;
}

.post-content h4 {
  font-size: 1.05rem;
}

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

.post-content li {
  margin-bottom: 0.3rem;
}

/* Blockquotes */

.post-content blockquote {
  margin: 1.2rem 0;
  padding: 0.8rem 1rem;
  border-left: 3px solid #006699;
  background: #f7f7f7;
  color: #555;
  font-style: italic;
}

/* Images */

.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.2rem auto;
}

/* Code */

.post-content code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  font-size: 0.9em;
  background: #f3f3f3;
  padding: 0.1rem 0.25rem;
  border-radius: 2px;
}

.post-content pre {
  background: #222;
  color: #f2f2f2;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  border-radius: 3px;
  font-size: 0.9rem;
}

/* Links inside posts */

.post-content a {
  color: #006699;
  text-decoration: underline;
}

.post-content a:hover {
  color: #004d66;
}

/* ---------------------------------------------------
   Post Footer: tags + prev/next
--------------------------------------------------- */

.post-footer {
  border-top: 1px solid #e1e1e1;
  margin-top: 2rem;
  padding-top: 1.3rem;
  font-size: 0.9rem;
}

/* Tags */

.post-tags {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.post-tags-label {
  font-weight: 600;
  margin-right: 0.3rem;
}

.post-tags ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.post-tags li a {
  display: inline-block;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #d0d0d0;
  background: #fafafa;
  font-size: 0.8rem;
  color: #555;
}

.post-tags li a:hover {
  background: #e9f2f6;
  border-color: #b6d0dd;
}

/* Prev / Next navigation */

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}

.post-nav-prev,
.post-nav-next {
  max-width: 48%;
}

.post-nav-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #999;
  margin-bottom: 0.2rem;
}

.post-nav a {
  font-size: 0.95rem;
  color: #006699;
}

.post-nav a:hover {
  color: #004d66;
}

/* ---------------------------------------------------
   Responsive for single post
--------------------------------------------------- */

@media (max-width: 700px) {
  .post-wrapper {
    margin: 1.5rem auto 2.5rem;
    padding: 1.5rem 1.3rem;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }

  .post-title {
    font-size: 1.6rem;
  }
}
/* Logo + Branding */

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-logo {
  height: 40px;  /* tweak if you want it bigger/smaller */
  width: auto;
  display: block;
}

.logo-link {
  line-height: 0;
}

@media (max-width: 600px) {
  .site-logo {
    height: 34px;
  }
}


 

