/* Ferncroft Homecare blog — matches the site's Elementor design (colours come from the Elementor global kit). */
.fc-blog {
	--fc-primary: var(--e-global-color-primary, #712087);
	--fc-ink: var(--e-global-color-secondary, #201528);
	--fc-body: var(--e-global-color-text, #63596B);
	--fc-tint: var(--e-global-color-accent, #F6E9F9);
	--fc-tint50: var(--e-global-color-fc_tint50, #FAF2F7);
	--fc-border: var(--e-global-color-fc_border, #E4DAE6);
	--fc-cream: var(--e-global-color-fc_cream, #FDFAF4);
	font-family: "Manrope", system-ui, sans-serif;
	color: var(--fc-ink);
	background: var(--fc-cream);
}
.fc-blog *, .fc-blog *::before, .fc-blog *::after { box-sizing: border-box; }
.fc-b-wrap { max-width: 1328px; margin: 0 auto; padding: 0 24px; }
.fc-b-wrap--narrow { max-width: 864px; }
.fc-b-wrap--media { max-width: 1128px; }
@media (max-width: 767px) { .fc-b-wrap { padding: 0 20px; } }

/* Labels */
.fc-b-eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--fc-primary); line-height: 1.4; }
.fc-b-eyebrow--line { display: inline-flex; align-items: center; gap: 8px; }
.fc-b-eyebrow--line::before { content: ""; width: 32px; height: 1px; background: currentColor; }

/* Hero */
.fc-b-hero { background: var(--fc-tint50); padding: 96px 0; }
.fc-b-hero--post { padding: 72px 0 56px; }
.fc-b-hero__title, .fc-b-post__title, .fc-b-section__title, .fc-b-cta__title, .fc-b-empty h2 { font-family: "Fraunces", Georgia, serif; font-weight: 400; letter-spacing: -0.02em; color: var(--fc-ink); }
.fc-b-hero__title { margin: 20px 0 0; font-size: 60px; line-height: 1.05; max-width: 820px; }
.fc-b-hero__title em { color: var(--fc-primary); font-style: italic; }
.fc-b-hero__text { margin: 20px 0 0; max-width: 600px; font-size: 18px; line-height: 1.65; color: var(--fc-body); }
@media (max-width: 1024px) { .fc-b-hero { padding: 80px 0; } .fc-b-hero__title { font-size: 50px; } }
@media (max-width: 767px) { .fc-b-hero { padding: 64px 0; } .fc-b-hero__title { font-size: 38px; } .fc-b-hero--post { padding: 48px 0 40px; } }

/* Sections */
.fc-b-section { padding: 80px 0; }
.fc-b-section--related { background: var(--fc-tint50); border-top: 1px solid var(--fc-border); padding: 96px 0; }
.fc-b-section__title { margin: 16px 0 0; font-size: 48px; line-height: 1.1; }
@media (max-width: 767px) { .fc-b-section, .fc-b-section--related { padding: 64px 0; } .fc-b-section__title { font-size: 34px; } }

/* Category chips */
.fc-b-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.fc-b-chip { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--fc-border); background: #fff; color: var(--fc-ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: all .2s; }
.fc-b-chip:hover { border-color: var(--fc-primary); color: var(--fc-primary); }
.fc-b-chip.is-active { background: var(--fc-primary); border-color: var(--fc-primary); color: var(--fc-cream); }

/* Grid + cards */
.fc-b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fc-b-section--related .fc-b-grid { margin-top: 48px; }
@media (max-width: 1024px) { .fc-b-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .fc-b-grid { grid-template-columns: 1fr; } }
.fc-b-card { background: #fff; border: 1px solid var(--fc-border); border-radius: 24px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.fc-b-card:hover { transform: translateY(-4px); box-shadow: 0 25px 50px -12px rgba(113,32,135,.15); }
.fc-b-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.fc-b-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--fc-tint); }
.fc-b-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.fc-b-card:hover .fc-b-card__img { transform: scale(1.05); }
.fc-b-card__placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--fc-primary); opacity: .4; }
.fc-b-card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.fc-b-card__title { margin: 12px 0 0; font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--fc-ink); }
.fc-b-card__excerpt { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--fc-body); flex: 1; }
.fc-b-card__meta { margin: 20px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--fc-body); }
.fc-b-card__more { color: var(--fc-primary); font-weight: 600; white-space: nowrap; }
.fc-b-card__more i { margin-left: 4px; font-size: .85em; transition: transform .2s; }
.fc-b-card:hover .fc-b-card__more i { transform: translateX(4px); }

/* Pagination */
.fc-b-pagination { margin-top: 56px; }
.fc-b-pagination ul { display: flex; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.fc-b-pagination a, .fc-b-pagination span { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--fc-border); background: #fff; color: var(--fc-ink); font-weight: 600; text-decoration: none; }
.fc-b-pagination a:hover { border-color: var(--fc-primary); color: var(--fc-primary); }
.fc-b-pagination .current { background: var(--fc-primary); border-color: var(--fc-primary); color: var(--fc-cream); }

/* Empty state */
.fc-b-empty { text-align: center; max-width: 560px; margin: 0 auto; padding: 48px 32px; background: #fff; border: 1px solid var(--fc-border); border-radius: 32px; }
.fc-b-empty > i { font-size: 32px; color: var(--fc-primary); }
.fc-b-empty h2 { margin: 16px 0 0; font-size: 30px; }
.fc-b-empty p { margin: 12px 0 24px; color: var(--fc-body); line-height: 1.6; }

/* Buttons and links */
.fc-b-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; background: var(--fc-primary); color: var(--fc-cream); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: all .2s; box-shadow: 0 10px 24px -6px rgba(113,32,135,.35); }
.fc-b-btn:hover { background: var(--fc-ink); color: var(--fc-cream); transform: translateY(-2px); }
.fc-b-btn--light { background: var(--fc-cream); color: var(--fc-primary); box-shadow: none; }
.fc-b-btn--light:hover { background: #fff; color: var(--fc-primary); }
.fc-b-link { color: var(--fc-primary); font-weight: 600; font-size: 15px; text-decoration: none; }
.fc-b-link i { margin-left: 4px; font-size: .85em; }

/* Single article */
.fc-b-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--fc-body); }
.fc-b-crumbs a { color: inherit; text-decoration: none; }
.fc-b-crumbs a:hover { color: var(--fc-primary); }
.fc-b-post__title { margin: 24px 0 0; font-size: 52px; line-height: 1.1; }
.fc-b-post__lead { margin: 20px 0 0; font-size: 20px; line-height: 1.55; color: var(--fc-primary); font-weight: 500; }
.fc-b-post__meta { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--fc-body); }
.fc-b-post__meta i { color: var(--fc-primary); margin-right: 6px; }
@media (max-width: 767px) { .fc-b-post__title { font-size: 34px; } .fc-b-post__lead { font-size: 18px; } }
.fc-b-post__media { margin: -24px 0 0; position: relative; }
.fc-b-post__img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 32px; display: block; box-shadow: 0 25px 50px -12px rgba(113,32,135,.18); }
@media (max-width: 767px) { .fc-b-post__media { margin-top: -16px; } .fc-b-post__img { border-radius: 20px; } }

.fc-b-content { padding: 56px 0 16px; font-size: 18px; line-height: 1.75; color: var(--fc-ink); }
.fc-b-content > * { margin: 0 0 1.25em; }
.fc-b-content p { color: #3d3346; }
.fc-b-content h2, .fc-b-content h3, .fc-b-content h4 { font-family: "Fraunces", Georgia, serif; font-weight: 400; letter-spacing: -0.02em; color: var(--fc-ink); line-height: 1.2; margin: 1.8em 0 .6em; }
.fc-b-content h2 { font-size: 34px; }
.fc-b-content h3 { font-size: 26px; }
.fc-b-content h4 { font-size: 21px; }
.fc-b-content a { color: var(--fc-primary); text-decoration: underline; text-underline-offset: 3px; }
.fc-b-content a:hover { color: var(--fc-ink); }
.fc-b-content ul, .fc-b-content ol { padding-left: 1.3em; }
.fc-b-content li { margin: .45em 0; }
.fc-b-content li::marker { color: var(--fc-primary); }
.fc-b-content strong { color: var(--fc-ink); }
.fc-b-content blockquote { margin: 2em 0; padding: 28px 32px; border: 0; border-left: 4px solid var(--fc-primary); background: var(--fc-tint50); border-radius: 0 24px 24px 0; font-family: "Fraunces", Georgia, serif; font-size: 22px; line-height: 1.45; color: var(--fc-ink); }
.fc-b-content blockquote p { color: inherit; margin: 0; }
.fc-b-content img { max-width: 100%; height: auto; border-radius: 20px; }
.fc-b-content figure { margin: 2em 0; }
.fc-b-content figcaption { font-size: 14px; color: var(--fc-body); text-align: center; margin-top: 8px; }
.fc-b-content hr { border: 0; border-top: 1px solid var(--fc-border); margin: 2.5em 0; }
@media (max-width: 767px) { .fc-b-content { font-size: 17px; padding-top: 40px; } .fc-b-content h2 { font-size: 28px; } .fc-b-content h3 { font-size: 23px; } }

.fc-b-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.fc-b-author { display: flex; gap: 20px; align-items: flex-start; margin: 24px 0 96px; padding: 28px; background: #fff; border: 1px solid var(--fc-border); border-radius: 24px; }
.fc-b-author__icon { width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; background: var(--fc-primary); color: var(--fc-cream); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.fc-b-author__name { margin: 0; font-weight: 700; font-size: 17px; }
.fc-b-author__text { margin: 6px 0 12px; font-size: 15px; line-height: 1.6; color: var(--fc-body); }
@media (max-width: 767px) { .fc-b-author { flex-direction: column; margin-bottom: 64px; } }

/* Call to action band */
.fc-b-cta { padding: 96px 0; background: var(--fc-cream); }
.fc-b-cta__box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px; border-radius: 32px; background: var(--fc-ink); }
.fc-b-cta__title { margin: 0; font-size: 40px; line-height: 1.15; color: var(--fc-cream); max-width: 640px; }
.fc-b-cta__text { margin: 14px 0 0; color: #D1CCCB; font-size: 18px; line-height: 1.6; }
@media (max-width: 767px) { .fc-b-cta { padding: 64px 0; } .fc-b-cta__box { flex-direction: column; align-items: flex-start; padding: 32px; } .fc-b-cta__title { font-size: 30px; } }
