/* =========================================================
   GLOBAL: Cinematic dark site with readable content
   ========================================================= */

html, body {
  background: #0f0f0f; /* deep charcoal */
  color: #eae6e1;      /* gentle off-white for body text */
}

a { color: #6DA3CF; text-decoration: none; }
a:hover { color: #B9D6F2; text-decoration: underline; }

/* Headings slightly warmer and bolder */
h1, h2, h3, h4, h5, h6 {
  color: #f0ede9;
  letter-spacing: .3px;
}

/* Keep paragraphs comfy */
p { line-height: 1.7; }

/* Make blocks on dark background readable if theme injects panel bg */
.section, .panel, .module { background: transparent; }

/* =========================================================
   HEADER / HERO
   ========================================================= */

/* Kill the dark rectangle behind the site title/tagline in Hemingway */
.header__title,
.branding,
.blog-title,
.site-title,
.site-header .title-area,
.site-header .site-title,
.site-header .title-area .site-title {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* If Hemingway uses pseudo lines under title, remove them */
.header__title:before,
.header__title:after,
.blog-title:before,
.blog-title:after,
.site-title:before,
.site-title:after {
  content: none !important;
}

/* Optional: add a soft title text-shadow over hero images */
.header__title,
.blog-title,
.site-title a {
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

/* Reduce big gap below hero so posts start sooner */
.home .content,
.blog .content { margin-top: 22px; }

/* =========================================================
   PRIMARY NAV (HEADER MENU)
   ========================================================= */

/* Tidy typical Hemingway nav; make text readable */
.site-header nav a,
#site-navigation a,
.main-navigation a {
  color: #efeae4 !important;
  font-weight: 600;
  letter-spacing: .3px;
}
.site-header nav a:hover,
#site-navigation a:hover,
.main-navigation a:hover {
  color: #ffffff !important;
  text-decoration: none;
}

/* If a "footer" menu gets into header accidentally, hide it there */
.site-header .footer-menu,
.site-header .menu-footer,
.site-header [class*="footer"] { display: none !important; }

/* =========================================================
   HOME / ARCHIVE: 2-COLUMN CARD FEED + FLOAT-IN
   ========================================================= */

.blog .post,
.archive .post {
  background: #f5f1ec;      /* warm off-white card */
  color: #222;               /* readable text on card */
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  padding: 24px;
  margin: 18px 0;
  box-shadow: 0 12px 32px rgba(0,0,0,.14);
  transition: transform .22s ease, box-shadow .22s ease, opacity .6s ease;
  opacity: 0;                 /* for animation in */
  transform: translateY(18px);
}

/* Float-in animation */
@keyframes floatUp {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}
.blog .post,
.archive .post {
  animation: floatUp .7s ease forwards;
}
/* Stagger a bit for first few cards */
.blog .post:nth-of-type(1) { animation-delay: .05s; }
.blog .post:nth-of-type(2) { animation-delay: .12s; }
.blog .post:nth-of-type(3) { animation-delay: .18s; }
.blog .post:nth-of-type(4) { animation-delay: .24s; }
.blog .post:nth-of-type(5) { animation-delay: .30s; }
.blog .post:nth-of-type(6) { animation-delay: .36s; }

/* Hover lift */
.blog .post:hover,
.archive .post:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
}

/* Two-column layout on desktops, single on mobile */
@media (min-width: 920px) {
  .blog .posts,
  .archive .posts,
  .home .posts,
  .content,
  .main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
  .blog .post,
  .archive .post { margin: 0; } /* prevent double spacing in grids */
}

/* Titles and meta on cards */
.blog .post .entry-title,
.archive .post .entry-title {
  margin-top: 0;
  color: #161616;
}
.blog .post .entry-title a,
.archive .post .entry-title a {
  color: #111 !important;
  text-decoration: none;
}
.blog .post .entry-title a:hover,
.archive .post .entry-title a:hover {
  text-decoration: underline;
}
.post-meta, .entry-meta, .byline, .cat-links, .tags-links {
  color: #666 !important;
  font-size: 13px;
  opacity: .9;
}

/* Featured images on cards */
.post .post-thumbnail img,
.post .featured-media img,
.post .featured-image img,
.post .entry-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-bottom: 14px;
}

/* Read-more */
.more-link,
a.more-link {
  display: inline-block;
  margin-top: 10px;
  color: #2f6ba6 !important;   /* steel blue */
  font-weight: 600;
  letter-spacing: .2px;
}
.more-link:hover { color: #1f3b4d !important; text-decoration: underline; }

/* Sticky intro card gets a gentle highlight (optional) */
.sticky {
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.2);
}

/* =========================================================
   SIDEBAR WIDGETS (if used)
   ========================================================= */
.sidebar .widget {
  background: #141414;
  color: #eaeaea;
  border-radius: 10px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.06);
}
.sidebar .widget a { color: #fff !important; }
.sidebar .widget a:hover { opacity: .85; }

/* =========================================================
   FOOTER: white links on dark, smaller type
   ========================================================= */

.site-footer,
footer,
#colophon {
  background: #0a0a0a;
  color: #f5f5f5;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
}

.site-footer a,
footer a,
#colophon a {
  color: #ffffff !important;
  text-decoration: none;
}
.site-footer a:hover,
footer a:hover,
#colophon a:hover { text-decoration: underline; }

.site-footer,
.site-footer p,
.site-footer .widget,
footer,
footer p { font-size: 14px; }

/* Make sure the footer menu is styled correctly + centered option */
.site-footer nav,
footer nav { text-align: center; }
.site-footer nav a { margin: 0 10px; }

/* =========================================================
   CLEANUPS / MISC
   ========================================================= */

/* WhatsApp widget (if present) – nudge from content */
#wh-widget-send-button, .wh-widget-send-button { z-index: 9999; }
