/* Family Living Spaces – friendly and colourful */
:root {
	--fls-navy: #1f2d4d; --fls-navy-2: #44516e; --fls-muted: #7d869b;
	--fls-cream: #fff8ec; --fls-white: #ffffff; --fls-sand: #f3e7d3;
	--fls-sun: #ffc94d; --fls-sun-soft: #fff1c9;
	--fls-coral: #ff7a59; --fls-coral-soft: #ffe3da;
	--fls-mint: #6cc5a8; --fls-mint-soft: #ddf3ea;
	--fls-sky: #7cb8f0; --fls-sky-soft: #e1effc;
	--fls-r: 22px;
	--fls-shadow: 0 6px 0 rgba(31,45,77,.08), 0 14px 30px rgba(31,45,77,.08);
	--fls-head: "Fredoka", "Baloo 2", system-ui, sans-serif;
	--fls-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
body.fls, body.fls button, body.fls input, body.fls select, body.fls textarea { font-family: var(--fls-body); }
html body.fls { background: var(--fls-cream) !important; color: var(--fls-navy); font-size: 18px; line-height: 1.7; }
body.fls h1, body.fls h2, body.fls h3, body.fls .main-title, body.fls .entry-title { font-family: var(--fls-head); font-weight: 600; color: var(--fls-navy); line-height: 1.15; letter-spacing: -.005em; }
body.fls h2 { font-size: 1.75rem; margin-top: 1.6em; }
body.fls a { color: var(--fls-navy); text-decoration-color: var(--fls-coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
body.fls a:hover { color: var(--fls-coral); }
body.fls :focus-visible { outline: 3px solid var(--fls-sun); outline-offset: 2px; border-radius: 6px; }

/* Header */
body.fls .site-header { background: var(--fls-white); border-bottom: 4px solid var(--fls-sun); }
body.fls .inside-header { padding-top: 16px; padding-bottom: 16px; }
body.fls .main-title { font-size: 1.7rem; margin: 0; }
body.fls .main-title a { color: var(--fls-navy); text-decoration: none; }
body.fls .site-description { color: var(--fls-coral); font-weight: 700; font-size: 14px; margin: 0; }
body.fls .site-logo img { max-height: 54px; width: auto; }
body.fls .main-navigation, body.fls .main-navigation ul ul { background: transparent; }
body.fls .main-navigation .main-nav ul li a { color: var(--fls-navy); font-weight: 800; font-size: 16px; padding-left: 14px; padding-right: 14px; border-radius: 999px; }
body.fls .main-navigation .main-nav > ul > li > a { line-height: 44px; margin: 0 2px; }
body.fls .main-navigation .main-nav ul li:hover > a, body.fls .main-navigation .main-nav ul li[class*="current-menu-"] > a { background: var(--fls-sun-soft); color: var(--fls-navy); }
body.fls .main-navigation ul ul { background: var(--fls-white); border-radius: 16px; box-shadow: var(--fls-shadow); padding: 8px; }
body.fls .main-navigation .main-nav ul ul li a { line-height: 1.4; padding: 10px 14px; font-size: 15px; }
body.fls .main-navigation .main-nav ul li.fls-menu-team > a { background: var(--fls-coral); color: #fff; }

/* Containers */
body.fls .site-content { padding-top: 34px; }
body.fls.separate-containers .inside-article, body.fls.separate-containers .comments-area, body.fls.separate-containers .page-header, body.fls .sidebar .widget, body.fls.separate-containers .paging-navigation { background: var(--fls-white); border-radius: var(--fls-r); box-shadow: var(--fls-shadow); }
body.fls.separate-containers .inside-article { padding: 40px 44px; }
body.fls .sidebar .widget { padding: 26px; font-size: 16px; }
body.fls .sidebar .widget-title { font-family: var(--fls-head); font-size: 1.2rem; color: var(--fls-navy); }
body.fls .page-header { padding: 30px 36px; border-top: 8px solid var(--fls-coral); }
body.fls .taxonomy-description { color: var(--fls-navy-2); }

/* Single */
body.fls.single .entry-header .entry-meta { display: none; }
body.fls.single .entry-title { font-size: clamp(2rem, 4vw, 2.8rem); }
body.fls .featured-image img, body.fls .post-image img, body.fls .entry-content img { border-radius: 18px; }
.fls-kicker { display: inline-block; background: var(--fls-mint-soft); color: #23715a !important; font-weight: 800; font-size: 13px; padding: 4px 14px; border-radius: 999px; text-decoration: none !important; margin-bottom: 14px; }
.fls-byline { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 16px 10px 10px; background: var(--fls-cream); border-radius: 999px; width: fit-content; }
.fls-byline img { border-radius: 50%; border: 3px solid var(--fls-sun); }
.fls-byline p { margin: 0; line-height: 1.35; }
.fls-byline__name { font-weight: 800; font-size: 15px; }
.fls-byline__name a { text-decoration: none; }
.fls-byline__name span { display: block; font-weight: 600; font-size: 13px; color: var(--fls-muted); }
.fls-byline__meta { font-size: 13px; color: var(--fls-muted); }

/* Archives */
body.fls.blog .inside-article, body.fls.archive .inside-article { padding: 26px; display: grid; grid-template-columns: 260px 1fr; gap: 0 26px; align-items: start; }
body.fls.blog .post-image, body.fls.archive .post-image { grid-row: span 3; margin: 0 !important; }
body.fls.blog .inside-article > *:not(.post-image), body.fls.archive .inside-article > *:not(.post-image) { grid-column: 2; }
body.fls.blog .entry-title, body.fls.archive .entry-title { font-size: 1.45rem; }
body.fls.blog .entry-title a, body.fls.archive .entry-title a { text-decoration: none; }
body.fls .entry-meta { font-size: 14px; color: var(--fls-muted); }

/* Buttons */
.fls-btn, body.fls .wp-block-button__link, body.fls input[type="submit"] { display: inline-block; background: var(--fls-coral); color: #fff !important; font-family: var(--fls-head); font-weight: 600; font-size: 17px; padding: 13px 28px; border-radius: 999px; border: 0; text-decoration: none !important; box-shadow: 0 5px 0 #d85a3c; transition: transform .15s, box-shadow .15s; }
.fls-btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 #d85a3c; }

/* Notices */
.fls-partner, .fls-disclosure { font-size: 15px; padding: 12px 18px; border-radius: 14px; margin-bottom: 26px; }
.fls-partner { background: var(--fls-sun-soft); }
.fls-disclosure { background: var(--fls-cream); color: var(--fls-navy-2); }

/* Article parts */
.fls-box__title { font-family: var(--fls-head); font-weight: 600; font-size: 1.2rem; margin-bottom: 8px; }
.fls-takeaways { background: var(--fls-sun-soft); border-radius: var(--fls-r); padding: 24px 28px 12px; margin: 2em 0; border: 3px dashed var(--fls-sun); }
.fls-takeaways ul { margin: 0 0 10px 1.2em; }
.fls-takeaways li { margin-bottom: 6px; font-weight: 600; }
.fls-checklist { list-style: none; margin: 1.6em 0; padding: 0; }
.fls-checklist li { background: var(--fls-mint-soft); border-radius: 14px; padding: 12px 16px 12px 52px; margin-bottom: 8px; position: relative; font-weight: 600; }
.fls-checklist li::before { content: "✓"; position: absolute; left: 14px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--fls-mint); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 800; }
blockquote.fls-pull { border: 0; margin: 2em 0; padding: 26px 30px; background: var(--fls-sky-soft); border-radius: var(--fls-r); }
blockquote.fls-pull p { font-family: var(--fls-head); font-size: 1.5rem; line-height: 1.35; font-style: normal; margin: 0; }
.fls-callout { border-radius: var(--fls-r); padding: 22px 26px 8px; margin: 1.8em 0; }
.fls-callout--tip { background: var(--fls-mint-soft); }
.fls-callout--note { background: var(--fls-coral-soft); }
.fls-product { background: var(--fls-white); border: 3px solid var(--fls-navy); border-radius: var(--fls-r); padding: 24px 26px 20px; margin: 2em 0; box-shadow: 6px 6px 0 var(--fls-sun); }
.fls-product__label { display: inline-block; background: var(--fls-navy); color: #fff; font-weight: 800; font-size: 12px; padding: 3px 12px; border-radius: 999px; margin-bottom: 8px; }
.fls-product__title { font-family: var(--fls-head); font-size: 1.4rem; font-weight: 600; margin-bottom: .3em; }
.fls-product__foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.fls-product__price { font-family: var(--fls-head); font-size: 1.3rem; }
.fls-ad { margin: 2.2em 0; text-align: center; min-height: 100px; }

/* Author */
.fls-author { display: flex; gap: 22px; align-items: flex-start; }
.fls-author img { border-radius: 50%; border: 5px solid var(--fls-sun); flex: 0 0 auto; width: 112px; height: 112px; object-fit: cover; }
.fls-author__name { font-family: var(--fls-head); font-size: 1.45rem; font-weight: 600; margin: 0; }
.fls-author__name a { text-decoration: none; }
.fls-author__role { color: var(--fls-coral); font-weight: 800; font-size: 14px; margin: 2px 0 8px; }
.fls-author__bio { font-size: 16px; margin-bottom: 10px; }
.fls-author__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.fls-author__links a { background: var(--fls-cream); padding: 4px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; }
.fls-authorbox { margin-top: 3em; padding: 28px; background: var(--fls-sky-soft); border-radius: var(--fls-r); }
.fls-authorbox__label { font-family: var(--fls-head); font-weight: 600; color: var(--fls-navy-2); margin-bottom: 14px; }
.fls-authorhead { background: var(--fls-white); border-radius: var(--fls-r); box-shadow: var(--fls-shadow); padding: 34px; margin-bottom: 20px; }
body.fls.author .page-header { display: none; }
.fls-team { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 1.6em; }
.fls-team .fls-author { background: var(--fls-cream); border-radius: var(--fls-r); padding: 24px; }

/* Related */
.fls-related { margin-top: 3em; }
.fls-related__title { font-family: var(--fls-head); font-size: 1.6rem; font-weight: 600; margin-bottom: 16px; }
.fls-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Cards */
.fls-card { background: var(--fls-white); border-radius: var(--fls-r); box-shadow: var(--fls-shadow); overflow: hidden; transition: transform .2s; }
.fls-card:hover { transform: translateY(-4px) rotate(-.4deg); }
.fls-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none !important; color: var(--fls-navy) !important; }
.fls-card__img { display: block; aspect-ratio: 4 / 3; background: var(--fls-sand); overflow: hidden; }
.fls-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }
.fls-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.fls-card__cat { align-self: flex-start; background: var(--fls-sun-soft); font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; }
.fls-card__title { font-family: var(--fls-head); font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.fls-card__dek { font-size: 15px; color: var(--fls-navy-2); }
.fls-card__meta { font-size: 13px; color: var(--fls-muted); margin-top: auto; padding-top: 6px; }
.fls-card--row a { flex-direction: row; align-items: center; }
.fls-card--row .fls-card__img { width: 120px; flex: 0 0 120px; aspect-ratio: 1; }
.fls-card--related .fls-card__title { font-size: 1.05rem; }

/* Sidebar extras */
.fls-side__list { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.fls-side__list li { counter-increment: f; position: relative; padding: 10px 0 10px 40px; border-bottom: 2px dotted var(--fls-sand); font-weight: 700; line-height: 1.35; }
.fls-side__list li::before { content: counter(f); position: absolute; left: 0; top: 9px; width: 28px; height: 28px; border-radius: 50%; background: var(--fls-coral); color: #fff; display: grid; place-items: center; font-family: var(--fls-head); font-size: 15px; }
.fls-side__list a { text-decoration: none; }

/* Homepage */
body.fls-home .site-content { padding-top: 0; }
body.fls-home .inside-article { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
body.fls-home .entry-header { display: none; }
.fls-homewrap { max-width: 1200px; margin: 0 auto; }
.fls-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: var(--fls-sun); border-radius: 0 0 40px 40px; padding: 60px 56px 50px; margin: 0 -10px; }
.fls-eyebrow { display: inline-block; background: var(--fls-white); color: var(--fls-coral); font-weight: 800; font-size: 14px; padding: 5px 16px; border-radius: 999px; margin-bottom: 16px; }
body.fls .fls-hero__title { font-size: clamp(2.3rem, 4.8vw, 3.6rem); line-height: 1.05; margin-bottom: .35em; }
.fls-hero__dek { font-size: 1.15rem; font-weight: 600; color: var(--fls-navy-2); max-width: 520px; }
body.fls .fls-hero__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48% !important; border: 8px solid var(--fls-white); box-shadow: 10px 12px 0 var(--fls-coral); }
.fls-hero__svg { width: 100%; height: auto; }
.fls-wave { display: none; }
.fls-section { padding: 56px 0 10px; }
.fls-section__title { font-size: 2rem; margin: 0 0 22px; }
.fls-section__row { display: flex; justify-content: space-between; align-items: baseline; }
.fls-more { font-weight: 800; text-decoration: none; }
.fls-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fls-tile { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--fls-r); text-decoration: none !important; color: var(--fls-navy) !important; transition: transform .15s; min-height: 140px; }
.fls-tile:hover { transform: translateY(-4px) rotate(.6deg); }
.fls-tile__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--fls-white); display: grid; place-items: center; }
.fls-tile__name { font-family: var(--fls-head); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.fls-tile--sun { background: var(--fls-sun-soft); }
.fls-tile--coral { background: var(--fls-coral-soft); }
.fls-tile--mint { background: var(--fls-mint-soft); }
.fls-tile--sky { background: var(--fls-sky-soft); }
.fls-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fls-favourites__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fls-writers { margin: 60px 0 40px; padding: 40px; background: var(--fls-mint-soft); border-radius: 32px; text-align: center; }
.fls-writers__head h2 { margin: 0 0 4px; font-size: 2rem; }
.fls-writers__head a { font-weight: 800; text-decoration: none; }
.fls-writers__grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; margin-top: 26px; }
.fls-writer { display: flex; flex-direction: column; align-items: center; text-decoration: none !important; width: 160px; }
.fls-writer img { border-radius: 50%; border: 5px solid var(--fls-white); width: 96px; height: 96px; object-fit: cover; margin-bottom: 10px; }
.fls-writer__name { font-family: var(--fls-head); font-weight: 600; font-size: 1.15rem; }
.fls-writer__role { font-size: 14px; color: var(--fls-navy-2); }

/* Footer */
body.fls .site-info { background: var(--fls-navy); color: #dfe4f0; border-radius: 40px 40px 0 0; }
body.fls .inside-site-info { padding: 40px 30px; }
.fls-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; width: 100%; }
.fls-foot__brand { font-family: var(--fls-head); font-size: 1.5rem; color: var(--fls-sun); }
.fls-footlinks { display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 700; font-size: 15px; }
body.fls .fls-footlinks a { color: #fff; text-decoration: none; }
body.fls .fls-footlinks a:hover { color: var(--fls-sun); }
.fls-foot__copy { opacity: .6; font-size: 14px; }

@media (max-width: 1024px) {
	.fls-tiles { grid-template-columns: repeat(2, 1fr); }
	.fls-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	html body.fls { font-size: 17px; }
	.fls-hero { grid-template-columns: 1fr; padding: 40px 24px; margin: 0 -10px; border-radius: 0 0 30px 30px; }
	.fls-hero__art { max-width: 320px; margin: 0 auto; }
	.fls-grid, .fls-favourites__grid, .fls-related__grid { grid-template-columns: 1fr; }
	body.fls.separate-containers .inside-article { padding: 26px 22px; }
	body.fls.blog .inside-article, body.fls.archive .inside-article { grid-template-columns: 1fr; }
	body.fls.blog .inside-article > *, body.fls.archive .inside-article > * { grid-column: 1 !important; }
	body.fls.blog .post-image, body.fls.archive .post-image { margin-bottom: 14px !important; }
	.fls-author { flex-direction: column; }
	.fls-writers { padding: 30px 18px; }
}
@media (prefers-reduced-motion: reduce) { .fls-card, .fls-tile, .fls-btn { transition: none; } }
