/* CityKidz blog archive and single post */
.cd-blog-archive .ast-container,
.cd-single-post .ast-container { max-width: 100%; padding: 0; }
.cd-blog-hero { position: relative; overflow: hidden; padding: 112px 0 104px; background: #ffdbdb; text-align: center; }
.cd-blog-hero::before, .cd-blog-hero::after { position: absolute; border-radius: 50%; content: ''; pointer-events: none; }
.cd-blog-hero::before { top: -120px; left: -60px; width: 290px; height: 290px; background: rgba(236, 0, 140, .11); }
.cd-blog-hero::after { right: 8%; bottom: -95px; width: 230px; height: 230px; background: rgba(255,255,255,.55); }
.cd-blog-hero__inner { position: relative; z-index: 1; max-width: 790px; margin: auto; text-align: center; }
.cd-blog-hero__eyebrow { margin: 30px 0 9px 0; color: var(--cd-primary); font-size: 18px; font-weight: 600; line-height: 1.45; }
.cd-blog-hero h1 { margin: 0; font-size: clamp(42px, 5vw, 64px); line-height: 1.06; }
.cd-blog-hero__inner > p:last-child { max-width: 620px; margin: 16px auto 0; font-size: 18px; line-height: 1.65; }
.cd-blog-listing { padding: 88px 0 100px; }
.cd-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.cd-blog-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #f0e8eb; border-radius: 18px; background: #fff; box-shadow: 0 8px 25px rgba(35, 20, 28, .06); transition: transform .25s ease, box-shadow .25s ease; }
.cd-blog-card:hover { transform: translateY(-6px); box-shadow: 0 18px 35px rgba(35, 20, 28, .12); }
.cd-blog-card__image { border-radius:15px; display: block; height: 235px; overflow: hidden; background: #fff0f7; }
.cd-blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cd-blog-card:hover .cd-blog-card__image img { transform: scale(1.05); }
.cd-blog-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #fff; background: linear-gradient(135deg, #ec008c, #ff9ad9); font-size: 54px; }
.cd-blog-card__content { display: flex; flex: 1; flex-direction: column; padding: 25px 24px 27px; }
.cd-blog-card__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; color: #766c70; font-size: 13px; font-weight: 600; }
.cd-blog-card__meta span + span::before { margin-right: 10px; color: var(--cd-primary); content: '•'; }
.cd-blog-card h2 { margin: 0 0 12px; font-size: 29px; line-height: 1.18; }
.cd-blog-card h2 a:hover { color: var(--cd-primary); }
.cd-blog-card__excerpt { margin-bottom: 20px; color: #4d4548; font-size: 15px; line-height: 1.65; }
.cd-blog-card__excerpt p { margin: 0; }
.cd-blog-card__link { margin-top: auto; color: var(--cd-primary); font-weight: 700; }
.cd-blog-card__link span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.cd-blog-card__link:hover span { transform: translateX(4px); }
.cd-blog-empty { padding: 55px 20px; border-radius: 16px; background: #fff5f9; text-align: center; }
.cd-blog-listing .nav-links { display: flex; justify-content: center; gap: 7px; margin-top: 50px; }
.cd-blog-listing .page-numbers { min-width: 42px; padding: 8px 12px; border-radius: 8px; background: #f8f4f5; text-align: center; font-weight: 600; }
.cd-blog-listing .page-numbers.current, .cd-blog-listing .page-numbers:hover { background: var(--cd-primary); color: #fff; }
.cd-blog-hero--single { padding: 85px 0 92px; text-align: left; }
.cd-blog-hero--single .cd-blog-hero__inner { max-width: 940px; }
.cd-blog-hero--single h1 { max-width: 900px; }
.cd-blog-hero--single .cd-blog-hero__meta {justify-content: center; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; color: #554c50; font-size: 15px; font-weight: 600; }
.cd-blog-hero__back { display: inline-block; margin-top: 28px; color: var(--cd-primary); font-size: 15px; font-weight: 700; }
.cd-blog-hero__back:hover { color: #a90063; }
.cd-single-post__article { padding: 76px 0 100px; }
.cd-single-post__container { max-width: 900px; }
.cd-single-post__image { margin: 0 0 42px; overflow: hidden; border-radius: 18px; }
.cd-single-post__image img { width: 100%; max-height: 560px; object-fit: cover; }
.cd-single-post__content { color: #342e30; font-size: 17px; line-height: 1.8; }
.cd-single-post__content > * { max-width: 1440px; margin-right: auto; margin-left: auto; }
.cd-single-post__content p, .cd-single-post__content ul, .cd-single-post__content ol { margin-bottom: 1.45em; }
.cd-single-post__content ul, .cd-single-post__content ol { padding-left: 1.4em; list-style: revert; }
.cd-single-post__content h2, .cd-single-post__content h3, .cd-single-post__content h4 { margin-top: 1.6em; margin-bottom: .55em; }
.cd-single-post__content blockquote { padding: 20px 28px; border-left: 4px solid var(--cd-primary); background: #fff4f9; font-family: var(--cd-font-handwriting); font-size: 24px; line-height: 1.4; }
.cd-post-pages { margin-top: 30px; font-weight: 700; }
@media (max-width: 900px) { .cd-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cd-blog-hero { padding: 77px 0 72px; } .cd-blog-hero__inner > p:last-child { font-size: 16px; } .cd-blog-listing, .cd-single-post__article { padding: 55px 0 65px; } .cd-blog-grid { grid-template-columns: 1fr; gap: 22px; } .cd-blog-card__image { height: 220px; } .cd-blog-hero--single { padding: 55px 0 60px; } .cd-blog-hero--single h1 { font-size: 41px; } .cd-single-post__image { margin-bottom: 28px; } .cd-single-post__content { font-size: 16px; } }
.blog #primary{ margin: 0em 0;}
.single-post #primary {padding:0em 0 !important;}

@media (min-width: 1201px) {
    .blog .ast-article-post{ padding:1.5rem; !important}
}

@media (max-width: 600px) {
.cd-blog-hero--single .cd-blog-hero__inner {
    margin-top: 78px;
 }
}