﻿/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
/* Article and blog hero refinements - sitewide */
.single-post .hero-section[data-type="type-2"],
.archive.category .hero-section[data-type="type-2"],
.blog .hero-section[data-type="type-2"] {
  background: linear-gradient(180deg, #fff7fb 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
}

.single-post .hero-section[data-type="type-2"] .entry-header,
.archive.category .hero-section[data-type="type-2"] .entry-header,
.blog .hero-section[data-type="type-2"] .entry-header {
  padding-top: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(24px, 4vw, 48px);
}

.single-post .page-title,
.archive.category .page-title,
.blog .page-title {
  max-width: 980px;
  margin-inline: auto;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.single-post .page-title {
  font-size: clamp(34px, 5vw, 58px);
}

.archive.category .page-title,
.blog .page-title {
  font-size: clamp(32px, 4.5vw, 52px);
}

.archive.category .page-title .ct-title-label,
.blog .page-title .ct-title-label {
  display: block;
  margin-bottom: 8px;
  color: #8a3ffc;
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-post .hero-section .page-description,
.archive.category .hero-section .page-description,
.blog .hero-section .page-description {
  max-width: 760px;
  margin: 14px auto 0;
  color: #4f4a57;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
}

.single-post .hero-section .entry-meta,
.archive.category .hero-section .entry-meta,
.blog .hero-section .entry-meta {
  justify-content: center;
  gap: 10px 14px;
  line-height: 1.3;
}

.single-post .hero-section .entry-meta[data-id="second"] {
  margin-top: 18px;
}

.single-post .hero-section .meta-categories a,
.archive.category .ct-dynamic-filter a,
.blog .ct-dynamic-filter a {
  border-radius: 999px;
}

.single-post .hero-section .ct-breadcrumbs {
  max-width: 920px;
  margin: 18px auto 0;
  color: #6f6878;
  font-size: 13px;
}

.single-post .ct-featured-image,
.single-post .entry-content > figure:first-child,
.single-post .entry-content > p:first-child > a:only-child img,
.single-post .entry-content img.aligncenter {
  border-radius: 14px;
}

.single-post .entry-content img,
.entry-card img {
  height: auto;
}

.entries[data-layout="grid"] .entry-card {
  overflow: hidden;
}

.entries[data-layout="grid"] .entry-card .ct-media-container,
.entries[data-layout="grid"] .entry-card figure,
.entries[data-layout="grid"] .entry-card .boundless-image {
  aspect-ratio: 16 / 9;
}

.entries[data-layout="grid"] .entry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 689px) {
  .single-post .hero-section[data-type="type-2"] .entry-header,
  .archive.category .hero-section[data-type="type-2"] .entry-header,
  .blog .hero-section[data-type="type-2"] .entry-header {
    padding-top: 26px;
    padding-bottom: 28px;
  }

  .single-post .page-title,
  .archive.category .page-title,
  .blog .page-title {
    font-size: clamp(29px, 9vw, 38px);
  }

  .single-post .hero-section .entry-meta {
    row-gap: 8px;
  }

  .single-post .hero-section .ct-breadcrumbs {
    display: none;
  }

  .archive.category .ct-dynamic-filter,
  .blog .ct-dynamic-filter {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .archive.category .ct-dynamic-filter a,
  .blog .ct-dynamic-filter a {
    flex: 0 0 auto;
  }
}