/* ============================
   Veridia Theme – Main Styles
   ============================ */

/* Base */
body {
  background-color: #f5f7fa;
  color: #1f2933;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  line-height: 1.7;
}

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

a:hover,
a:focus {
  color: #0f3044;
  text-decoration: underline;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.wp-block-heading {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  color: #0b1922;
}

/* Container spacing */
.site-header {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

/* Navbar */
.navbar-brand img {
  max-height: 52px;
  height: auto;
  width: auto;
}

.navbar-light .navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 0.9rem;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #174260;
}

/* Content wrapper */
.site-content {
  min-height: 60vh;
}

/* Cards / posts */
.veridia-card.card {
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  background-color: #ffffff;
}

.veridia-card.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.veridia-card .card-img-top {
  object-fit: cover;
}

/* Post meta */
.entry-meta,
.text-muted.small {
  color: #6b7280;
}

/* Widgets */
.widget {
  font-size: 0.95rem;
}

.widget-title {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

/* Ad slots */
.veridia-ad-slot {
  border-radius: 0.75rem;
  border: 1px dashed rgba(15, 23, 42, 0.15);
  background-color: #f9fafb;
}

.veridia-ad-slot p {
  margin-bottom: 0.5rem;
}

.veridia-ad-premium {
  min-height: 600px; /* visual hint for 300x600 – ad script will override */
}

.veridia-ad-square {
  min-height: 300px; /* visual hint for 300x300 */
}

.veridia-in-article-banner {
  min-height: 120px;
}

/* “Sponsored” label */
.veridia-ad-slot .small.text-uppercase.text-muted {
  letter-spacing: 0.12em;
}

/* Hero */
.veridia-home-hero {
  background: linear-gradient(135deg, #ecf4f9 0%, #f8fafc 100%);
}

.veridia-home-hero .lead {
  max-width: 640px;
}

/* Latest grid spacing */
.veridia-latest-grid .veridia-card {
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  color: #e5e7eb;
}

.site-footer .widget-title {
  color: #9ca3af;
}

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

.site-footer a:hover {
  color: #ffffff;
}

.site-footer .footer-widgets {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer-mega-ad {
  background-color: #111827;
}

.footer-mega-ad .ad-slot {
  border: none;
  background: transparent;
}

/* Copyright row */
.site-info {
  font-size: 0.8rem;
}

/* Gutenberg alignment helpers inside container */
.container .alignwide {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.container .alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

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

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .veridia-ad-premium,
  .veridia-ad-square {
    min-height: auto;
  }
}
