/* Front-end blog (WordPress-like readability) */
.blog-body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  color: #1a1a1a;
  background: #fff;
}

.blog-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.blog-site-header {
  border-bottom: 1px solid #ddd;
  padding-bottom: 1.25rem;
  margin-bottom: 2.5rem;
}

.blog-site-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.blog-site-title a {
  color: inherit;
  text-decoration: none;
}

.blog-site-title a:hover {
  text-decoration: underline;
}

.blog-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: #666;
  font-style: italic;
}

.blog-archive-title {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  font-weight: 400;
  color: #333;
}

.blog-post {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #eee;
}

.blog-post:last-child {
  border-bottom: none;
}

.blog-entry-title {
  margin: 0 0 0.35rem;
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.25;
}

.blog-entry-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.blog-entry-title a:hover {
  text-decoration: underline;
}

.blog-entry-meta {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #666;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.blog-entry-meta a {
  color: #2271b1;
  text-decoration: none;
}

.blog-entry-meta a:hover {
  text-decoration: underline;
}

.blog-entry-summary,
.blog-entry-content {
  font-size: 1rem;
}

.blog-entry-content {
  overflow-wrap: anywhere;
}

.blog-entry-content img,
.blog-featured img {
  max-width: 100%;
  height: auto;
}

.blog-featured {
  margin-bottom: 1.25rem;
}

.blog-tags {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: #555;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.blog-pagination {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
}

.blog-pagination a {
  color: #2271b1;
}

.blog-site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  font-size: 0.85rem;
  color: #888;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.blog-admin-link {
  float: right;
}

/* Shortcode: [ldcms_four_images ids="…"] */
.ldcms-four-img {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

@media (min-width: 600px) {
  .ldcms-four-img {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ldcms-four-img__cell {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
}

.ldcms-four-img__cell img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Page builder (theme blocks) */
.pb-page {
  margin-top: 0.5rem;
}

.pb-hero {
  margin: 0 -1.25rem 1.5rem;
  padding: 2.5rem 1.25rem;
  border-radius: 6px;
  background: #1e293b;
  color: #f8fafc;
}

.pb-hero__inner {
  max-width: 100%;
}

.pb-hero__title {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
}

.pb-hero__sub {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  opacity: 0.95;
}

.pb-cta {
  margin: 1.5rem 0;
  padding: 1.25rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
  text-align: center;
}

.pb-cta__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 400;
}

.pb-cta__btn-wrap {
  margin: 0;
}

.pb-cta__btn {
  display: inline-block;
  padding: 0.5rem 1.15rem;
  background: #2271b1;
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
}

.pb-cta__btn:hover {
  background: #135e96;
}

.pb-rich {
  margin: 1.25rem 0;
}

.pb-spacer {
  display: block;
}
