/* Florentina Baloș — stiluri temă (front-end + editor) */

:root {
	--fb-radius-card: 24px;
	--fb-radius-media: 28px;
	--fb-line: #E3D9CC;
	--fb-muted: #5E554D;
	--fb-terracotta: #A63D2A;
	--fb-navy: #0B1A30;
	--fb-orange: #F07A2B;
	--fb-night: #0D1B24;
	--fb-ice: #7ED6E3;
	--fb-slate: #2C4A5E;
}

html { scroll-behavior: smooth; }
:where(section[id], div[id]) { scroll-margin-top: 96px; }
body { -webkit-font-smoothing: antialiased; }
img { height: auto; }

/* ---------- Header ---------- */
.fb-header { border-bottom: 1px solid var(--fb-line); position: relative; z-index: 50; }
/* fundalul blurat stă pe un pseudo-element, ca meniul mobil (position: fixed) să poată acoperi tot ecranul */
.fb-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(246, 241, 233, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fb-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--ivory, #F6F1E9) !important; padding: 1.5rem 1.25rem 2rem; }
.fb-header .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; padding-top: 3rem; }
.fb-header .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; gap: 1.1rem !important; }
.fb-header .is-menu-open .wp-block-navigation-item { font-size: 1.375rem; font-family: var(--wp--preset--font-family--display); }
.fb-header .is-menu-open .fb-nav-cta { margin-top: .75rem; font-family: var(--wp--preset--font-family--body); font-size: 1rem; }
.admin-bar .fb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fb-header { top: 0; } }
.fb-header .wp-block-site-title { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: 1.625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.fb-header .wp-block-site-title a { color: inherit; text-decoration: none; }
.fb-header .fb-tagline { margin: 2px 0 0; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fb-muted); }
.fb-header .wp-block-navigation a { text-decoration: none; }
.fb-header .wp-block-navigation-item.fb-nav-cta > a,
.fb-header .wp-block-navigation-item.fb-nav-cta .wp-block-navigation-item__content { background: var(--fb-terracotta); color: #fff !important; padding: 0.8rem 1.35rem; border-radius: 999px; font-weight: 600; }

/* ---------- Generic ---------- */
.fb-eyebrow { font-size: 0.8125rem !important; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fb-muted); margin: 0; }
.fb-eyebrow--accent { color: var(--fb-terracotta); }
.fb-section { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: clamp(4rem, 8vw, 7rem); }
.fb-section--tight-top { padding-top: 0; }
.fb-sand { background: #EFE7DB; }
.fb-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.6; color: #3E3731; }
.fb-muted { color: var(--fb-muted); }
.fb-media img, .wp-block-image.fb-media img { border-radius: var(--fb-radius-media); width: 100%; object-fit: cover; display: block; }
.fb-media figcaption { text-align: left; }
.fb-h-640 img { aspect-ratio: 4 / 5; max-height: 640px; }
.fb-h-480 img { aspect-ratio: 5 / 4; max-height: 480px; }
.fb-cover-top img { object-position: 50% 30%; }

.fb-card { background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius-card); overflow: hidden; display: flex; flex-direction: column; }
.fb-card > .wp-block-image { margin: 0; }
.fb-card > .wp-block-image img { border-radius: 0; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.fb-card__body { padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 0.85rem; flex-grow: 1; }
.fb-card__body > * { margin: 0 !important; }
.fb-card__body .fb-card__more { margin-top: auto !important; font-weight: 600; }
.fb-card h3 { font-size: var(--wp--preset--font-size--x-large); }
.fb-card a { text-decoration: none; }

/* grids collapse on small screens */
.fb-grid { display: grid !important; gap: 1.5rem; grid-template-columns: repeat(var(--fb-cols, 3), minmax(0, 1fr)); }
.fb-grid--2 { --fb-cols: 2; }
.fb-grid--3 { --fb-cols: 3; }
.fb-grid--4 { --fb-cols: 4; }
.fb-grid--5 { --fb-cols: 5; }
.fb-grid--6 { --fb-cols: 6; }
.fb-grid > * { margin: 0 !important; }
@media (max-width: 1024px) { .fb-grid--4, .fb-grid--5, .fb-grid--6 { --fb-cols: 3; } }
@media (max-width: 860px) { .fb-grid--3, .fb-grid--4 { --fb-cols: 2; } .fb-grid--5, .fb-grid--6 { --fb-cols: 3; } }
@media (max-width: 600px) { .fb-grid { --fb-cols: 1 !important; } .fb-grid--5, .fb-grid--6 { --fb-cols: 2 !important; } }

.fb-split { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.fb-split > * { margin: 0 !important; }
.fb-split--end { align-items: end; }
@media (max-width: 860px) { .fb-split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.fb-hero h1 { margin: 0; }
.fb-hero .fb-lead { max-width: 560px; }
.fb-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.fb-stack > * { margin: 0 !important; }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link { border: 1.5px solid currentColor; background: transparent; color: inherit; padding: calc(1rem - 1.5px) calc(1.75rem - 1.5px); }
.fb-btn--navy > .wp-block-button__link { background: var(--fb-navy) !important; color: #fff !important; }
.fb-btn--orange > .wp-block-button__link { background: var(--fb-orange) !important; color: var(--fb-navy) !important; font-weight: 700; }
.fb-btn--ice > .wp-block-button__link { background: var(--fb-ice) !important; color: var(--fb-night) !important; font-weight: 700; }
.fb-btn--slate > .wp-block-button__link { background: var(--fb-slate) !important; color: #fff !important; }
.fb-dark .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- Facts ---------- */
.fb-facts { border-top: 1px solid var(--fb-line); border-bottom: 1px solid var(--fb-line); display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important; }
.fb-facts > * { margin: 0 !important; padding: 2rem 1.75rem; border-right: 1px solid var(--fb-line); }
.fb-facts > *:first-child { padding-left: 0; }
.fb-facts > *:last-child { border-right: 0; }
.fb-fact__num { font-family: var(--wp--preset--font-family--display); font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 500; line-height: 1.1; margin: 0 0 0.5rem !important; }
.fb-fact__num--word { font-size: clamp(1.5rem, 2.3vw, 1.875rem); line-height: 1.15; }
.fb-fact__txt { font-size: 0.9375rem; color: var(--fb-muted); margin: 0 !important; line-height: 1.5; }
@media (max-width: 860px) { .fb-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fb-facts > * { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--fb-line); } }

/* Press band */
.fb-pressband { display: flex !important; align-items: center; gap: 2rem 3.5rem; flex-wrap: wrap; padding-top: 3rem; padding-bottom: 3rem; }
.fb-pressband > * { margin: 0 !important; }
.fb-pressband__names { font-family: var(--wp--preset--font-family--display); font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 600; color: #6B6158; display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; flex: 1; justify-content: space-between; }

/* ---------- Pillars ---------- */
.fb-pillar { border-radius: var(--fb-radius-card); overflow: hidden; display: flex; flex-direction: column; }
.fb-pillar--bea { background: var(--fb-navy); color: #fff; }
.fb-pillar--bea .fb-eyebrow { color: var(--fb-orange); font-family: var(--wp--preset--font-family--bea); }
.fb-pillar--bea p { color: #C9D2DE; }
.fb-pillar--stage { background: var(--fb-night); color: #F4FBFC; }
.fb-pillar--stage .fb-eyebrow { color: var(--fb-ice); }
.fb-pillar--stage p { color: #C5D9DE; }
.fb-pillar--community { background: #fff; border: 1px solid var(--fb-line); }
.fb-pillar--community .fb-eyebrow { color: var(--fb-terracotta); }
.fb-pillar a { color: inherit; }
.fb-pillar .fb-card__more a, .fb-pillar .fb-card__more { color: inherit; }

/* ---------- Dark sections ---------- */
.fb-dark { color: #fff; }
.fb-dark a:not(.wp-block-button__link) { color: inherit; }
.fb-bea { background: var(--fb-navy); }
.fb-bea, .fb-bea h2, .fb-bea h3, .fb-bea .fb-bea-font { font-family: var(--wp--preset--font-family--bea); }
.fb-bea h2 { font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; }
.fb-bea h3 { font-weight: 700; letter-spacing: 0; }
.fb-bea p { color: #C9D2DE; }
.fb-bea .fb-eyebrow { color: var(--fb-orange); letter-spacing: 0.16em; }
.fb-bea__sub { font-size: 1.25rem; font-weight: 600; color: #C9D2DE; }
.fb-goal { border: 1px solid #243752; border-radius: 20px; padding: 1.6rem; }
.fb-goal > * { margin: 0 !important; }
.fb-goal h4 { color: var(--fb-orange); font-size: 1.125rem; font-family: var(--wp--preset--font-family--bea); font-weight: 700; margin-bottom: 0.6rem !important; }
.fb-goal p { font-size: 0.9375rem; line-height: 1.55; }
.fb-bea-card { background: #12243F; border-radius: var(--fb-radius-card); overflow: hidden; }
.fb-bea-card > .wp-block-image { margin: 0; }
.fb-bea-card > .wp-block-image img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; display: block; }
.fb-bea-card .fb-card__body h3 { font-size: 1.5rem; }
.fb-trust { border-top: 1px solid #243752; padding-top: 2.5rem; }
.fb-trust .fb-eyebrow { color: #8FA0B8; }
.fb-trust__names { display: flex; flex-wrap: wrap; gap: 0.85rem 2.5rem; font-family: var(--wp--preset--font-family--bea); font-size: 1.25rem; font-weight: 700; color: #E4E9F0 !important; }
.fb-steps h4 { font-family: var(--wp--preset--font-family--bea); font-size: 1.2rem; font-weight: 700; margin: 0 0 0.5rem; }
.fb-steps h4 .fb-num { color: var(--fb-orange); margin-right: 0.4rem; }
.fb-steps p { font-size: 0.9375rem; margin: 0; }
.fb-bea .fb-card { border: 0; color: var(--fb-navy); }
.fb-bea .fb-card p { color: #3B4A5E; }
.fb-bea .fb-card h3 { font-size: 1.375rem; }
.fb-divider-dark { border-top: 1px solid #243752; padding-top: 3rem; }

.fb-stage { background: var(--fb-night); color: #EAF6F8; }
.fb-stage p { color: #C5D9DE; }
.fb-stage .fb-eyebrow { color: var(--fb-ice); }
.fb-stage .fb-divider { border-top: 1px solid #28495A; padding-top: 2.25rem; }
.fb-feature img { aspect-ratio: auto; height: clamp(320px, 40vw, 560px); object-fit: cover; border-radius: var(--fb-radius-media); width: 100%; }
.fb-feature figcaption { color: #C5D9DE; font-size: 1rem; margin-top: 0.75rem; }
.fb-thumbs img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; width: 100%; }
.fb-chips { display: flex !important; flex-wrap: wrap; gap: 0.6rem; }
.fb-chips > p { margin: 0 !important; border: 1px solid #28495A; border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.9375rem; font-weight: 600; color: #EAF6F8 !important; }
.fb-bar { display: flex !important; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.fb-bar > * { margin: 0 !important; }
.fb-video { position: relative; margin: 0; }
.fb-video a { display: block; position: relative; border-radius: 20px; overflow: hidden; }
.fb-video img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; display: block; }
.fb-video a::after { content: ""; position: absolute; inset: 0; background: rgba(8, 18, 24, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='30' fill='rgba(13,27,36,0.65)'/%3E%3Cpolygon points='26,20 46,32 26,44' fill='white'/%3E%3C/svg%3E") center / 64px no-repeat; transition: background-color .2s; }
.fb-video a:hover::after { background-color: rgba(8, 18, 24, 0.15); }
.fb-video figcaption { color: #EAF6F8; font-family: var(--wp--preset--font-family--display); font-size: 1.25rem; text-align: left; margin-top: 0.75rem; }
.fb-specs > * { border: 1px solid #28495A; border-radius: 16px; padding: 1rem; }
.fb-specs p { margin: 0; }
.fb-specs .fb-spec__k { font-size: 0.8125rem; color: #A9C3CA; }
.fb-specs .fb-spec__v { font-size: 1.0625rem; font-weight: 600; color: #EAF6F8 !important; }

/* Insurance */
.fb-insure { background: #F0F3F6; border: 1px solid #D6DEE5; border-radius: var(--fb-radius-media); padding: clamp(1.75rem, 4vw, 2.75rem); color: #1C2A35; }
.fb-insure > * { margin-top: 0 !important; }
.fb-insure .fb-eyebrow { color: var(--fb-slate); }
.fb-insure__big { font-family: var(--wp--preset--font-family--display); font-size: 3.25rem; line-height: 1; color: var(--fb-slate); margin: 0 !important; }
.fb-tags { display: flex !important; flex-wrap: wrap; gap: 0.5rem; }
.fb-tags > p { margin: 0 !important; background: #fff; border: 1px solid #D6DEE5; border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.875rem; font-weight: 600; }
.fb-legal { font-size: 0.75rem !important; color: #55636E; }

/* Gallery mosaic for ateliere */
.fb-mosaic { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 4px; }
.fb-mosaic > * { margin: 0 !important; }
.fb-mosaic > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-mosaic > .wp-block-image:first-child { grid-row: span 2; }
.fb-mosaic > .wp-block-image:first-child img { object-position: 50% 35%; }

/* Community */
.fb-feature-card { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius-media); overflow: hidden; gap: 0 !important; }
.fb-feature-card > * { margin: 0 !important; }
.fb-feature-card > .wp-block-image img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: 50% 25%; display: block; }
.fb-feature-card .fb-card__body { padding: clamp(1.75rem, 4vw, 3rem); justify-content: center; }
.fb-timeline p { display: flex; gap: 0.75rem; margin: 0 !important; font-size: 1rem; }
.fb-timeline p strong:first-child { color: var(--fb-terracotta); flex-shrink: 0; }
@media (max-width: 860px) { .fb-feature-card { grid-template-columns: 1fr; } .fb-feature-card > .wp-block-image img { min-height: 320px; } }

/* Press cards */
.fb-press .wp-block-post-template { gap: 1.5rem; }
.fb-press-card { background: #fff; border-radius: var(--fb-radius-card); padding: 2rem; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 0.85rem; }
.fb-press-card > * { margin: 0 !important; }
.fb-press-card .fb-press-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fb-muted); }
.fb-press-card .fb-press-meta > * { margin: 0 !important; }
.fb-press-card .wp-block-post-title { font-size: 1.5rem; line-height: 1.28; }
.fb-press-card .wp-block-post-title a { text-decoration: none; color: inherit; }
.fb-press-card .wp-block-post-excerpt { font-size: 0.9375rem; color: var(--fb-muted); }
.fb-press-card .wp-block-post-excerpt__more-text { display: none; }
.fb-press-card .wp-block-read-more { margin-top: auto !important; font-weight: 600; }

/* Journal */
.fb-journal .wp-block-post-featured-image img { border-radius: 20px; aspect-ratio: 3 / 2; object-fit: cover; }
.fb-journal .wp-block-post-title { font-size: 1.5rem; line-height: 1.3; }
.fb-journal .wp-block-post-title a { text-decoration: none; color: inherit; }

/* Forms */
.fb-form { background: #fff; border-radius: var(--fb-radius-media); padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; gap: 1.1rem; }
.fb-insure .fb-form { background: transparent; padding: 0; }
.fb-form p { margin: 0; }
.fb-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 600px) { .fb-form__row { grid-template-columns: 1fr; } }
.fb-form__field { display: flex; flex-direction: column; gap: 0.5rem; }
.fb-form label { font-size: 0.875rem; font-weight: 600; }
.fb-form input[type="text"], .fb-form input[type="tel"], .fb-form input[type="email"], .fb-form input[type="date"], .fb-form select, .fb-form textarea {
	font: inherit; font-size: 1rem; border: 1px solid #CDBFAE; border-radius: 12px; padding: 0.8rem 0.9rem; background: #fff; color: #1F1B18; min-height: 50px; box-sizing: border-box; width: 100%;
}
.fb-form textarea { resize: vertical; }
.fb-form input:focus-visible, .fb-form select:focus-visible, .fb-form textarea:focus-visible { outline: 2px solid var(--fb-terracotta); outline-offset: 1px; }
.fb-form__consent label { font-weight: 400; font-size: 0.8125rem; color: var(--fb-muted); display: flex; gap: 0.5rem; align-items: flex-start; }
.fb-form__submit { width: 100%; border: 0; cursor: pointer; min-height: 54px; }
.fb-form--asigurari .fb-form__submit { background: var(--fb-slate); }
.fb-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-form__notice { border-radius: 12px; padding: 0.9rem 1.1rem; margin-bottom: 1rem; font-weight: 600; }
.fb-form__notice--ok { background: #E3F1E6; color: #1E5631; }
.fb-form__notice--err { background: #F8E1DC; color: #7E2C1D; }
.fb-contact-lines p { margin: 0 !important; font-size: 1.125rem; font-weight: 600; }
.fb-contact-lines a { color: inherit; text-decoration: none; }

/* Footer */
.fb-footer { background: #1F1B18; color: #CFC5BA; }
.fb-footer a { color: #CFC5BA; text-decoration: none; }
.fb-footer a:hover { color: #fff; }
.fb-footer h4 { color: #F6F1E9; font-family: var(--wp--preset--font-family--body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin: 0 0 0.75rem; }
.fb-footer p { margin: 0 0 0.5rem; font-size: 0.9375rem; }
.fb-footer .fb-footer__brand { font-family: var(--wp--preset--font-family--display); font-size: 1.625rem; font-weight: 600; color: #F6F1E9; }
.fb-footer .fb-footer__legal { border-top: 1px solid #3A332D; padding-top: 1.5rem; font-size: 0.8125rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.fb-footer .fb-footer__legal p { font-size: 0.8125rem; margin: 0; }

/* Blog / single */
.fb-archive .wp-block-post-template { gap: 2.5rem 1.5rem; }

/* Legacy Divi content fallback */
.fb-legacy-section, .fb-legacy-row { margin-bottom: 1.5rem; }
.fb-legacy-blog { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; list-style: none; padding: 0; }
.fb-legacy-blog li { background: #fff; border: 1px solid var(--fb-line); border-radius: 20px; overflow: hidden; }
.fb-legacy-blog li img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.fb-legacy-blog li div { padding: 1.25rem; }
.fb-legacy-blog h3 { font-size: 1.25rem; margin: 0 0 .5rem; }
.fb-legacy-blog h3 a { color: inherit; text-decoration: none; }
.fb-legacy-blog li p { margin: 0 0 .5rem; font-size: .95rem; }
.fb-legacy-pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2.5rem; font-weight: 600; }
.fb-legacy-pager span { color: var(--fb-muted); font-weight: 400; }
.fb-legacy-pager a { color: var(--fb-terracotta); text-decoration: none; }
.fb-journal-cat { background: #fff; border: 1px solid var(--fb-line); border-radius: 24px; padding: 2rem; display: flex; flex-direction: column; }
.fb-journal-cat h3 { margin: 0 0 .5rem; }
.fb-journal-cat h3 a { color: inherit; text-decoration: none; }
.fb-journal-cat .fb-card__more { margin-top: auto !important; padding-top: 1rem; }
.fb-journal-list .wp-block-post-template { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.fb-journal-list .wp-block-post-template > li { padding: .9rem 0; border-top: 1px solid var(--fb-line); margin: 0; }
.fb-journal-list .wp-block-post-date { font-size: .8rem; color: var(--fb-muted); }
.fb-journal-list h4 { font-size: 1.05rem; line-height: 1.35; margin: .25rem 0 0; }
.fb-journal-list h4 a { color: inherit; text-decoration: none; }

/* Accessibility */
a:focus-visible, button:focus-visible, .wp-block-button__link:focus-visible { outline: 2px solid var(--fb-terracotta); outline-offset: 3px; }
.fb-dark a:focus-visible, .fb-dark .wp-block-button__link:focus-visible { outline-color: var(--fb-ice); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Pillars images, spans, press type */
.fb-pillar__img { margin: 0 !important; }
.fb-pillar__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 0; }
.fb-pillar--stage .fb-pillar__img img { object-position: 50% 35%; }
.fb-pillar--community .fb-pillar__img img { object-position: 50% 30%; }
.fb-span-2 { grid-column: span 2; }
@media (max-width: 860px) { .fb-span-2 { grid-column: auto; } }
.fb-feature { margin: 0; }
.fb-press-card .fb-press-type { font-size: 0.75rem !important; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fb-terracotta); }
.fb-press-card .fb-press-type:empty, .fb-press-card .fb-press-pub:empty, .fb-press-card .fb-press-year:empty { display: none; }
.fb-journal .wp-block-post-template > li { display: flex; flex-direction: column; gap: 0.75rem; }
.fb-journal .wp-block-post-template > li > * { margin: 0; }
.fb-press .wp-block-post-template, .fb-journal .wp-block-post-template { list-style: none; padding: 0; margin: 0; }
.fb-stage h2 { color: #fff; }
.fb-bea h2, .fb-bea h3:not(.fb-card h3) { color: #fff; }
.wp-block-quote { border-left: 0; padding-left: 0; margin: 0; }
.wp-block-quote p { margin: 0; }
.fb-grid--start { align-items: start; }
.fb-section.is-layout-constrained > * + * { margin-block-start: clamp(2rem, 3.5vw, 3rem); }
.fb-section.is-layout-constrained > .fb-eyebrow + * { margin-block-start: 1rem; }

/* v1.1: Ice Cold section + pillar */
.fb-ice { background: #0F2A37; }
.fb-pillar--ice { background: #0F2A37; color: #F4FBFC; }
.fb-pillar--ice .fb-eyebrow { color: var(--fb-ice); }
.fb-pillar--ice p { color: #C5D9DE; }
.fb-pillar h3 { font-size: 1.6rem; }
.wp-block-quote cite { display: block; margin-top: 0.75rem; font-family: var(--wp--preset--font-family--body); font-style: normal; font-size: 0.875rem; color: var(--fb-muted); }
.fb-press-card .wp-block-post-title { font-size: 1.3rem; }

.fb-cover-head img { object-position: 50% 0; }

.fb-pillar__item { font-size: 0.9375rem; line-height: 1.45; padding-left: 0.85rem; border-left: 2px solid var(--fb-orange); }
.fb-pillar__item strong { display: block; color: #fff; font-weight: 700; }
.fb-card__body > .fb-pillar__item + .fb-pillar__item { margin-top: -0.25rem !important; }

/* Meniu: mai strâns pe ecrane medii, hamburger sub 1260px */
@media (max-width: 1380px) {
	.fb-header .wp-block-navigation .wp-block-navigation__container { gap: 1.1rem !important; }
	.fb-header .wp-block-navigation-item { font-size: 0.9375rem; }
}
@media (min-width: 600px) and (max-width: 1259px) {
	.fb-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.fb-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.fb-header .wp-block-navigation__responsive-container-close:not(.always-shown) { display: flex; }
}

/* „Patru roluri”: carduri mai scunde. Pe ecrane medii, 2 × 2 cu poza în stânga, ca să nu iasă coloane înguste și lungi */
.fb-pillar__img img { aspect-ratio: 16 / 10; height: auto !important; }
.fb-pillar .fb-card__body { gap: 0.7rem; padding: clamp(1.25rem, 2.2vw, 1.75rem); }
.fb-pillar h3 { font-size: clamp(1.3rem, 1.55vw, 1.55rem); line-height: 1.2; }
.fb-pillar .fb-card__more { margin-top: auto !important; padding-top: 0.5rem; }
@media (max-width: 1279px) and (min-width: 601px) {
	.fb-grid.fb-grid--4:has(> .fb-pillar) { --fb-cols: 2 !important; }
	.fb-pillar { flex-direction: row; }
	.fb-pillar__img { flex: 0 0 38%; position: relative; min-height: 220px; }
	.fb-pillar__img img { position: absolute; inset: 0; width: 100%; height: 100% !important; aspect-ratio: auto; }
}
@media (max-width: 860px) and (min-width: 601px) {
	.fb-grid.fb-grid--4:has(> .fb-pillar) { --fb-cols: 1 !important; }
	.fb-pillar__img { flex-basis: 34%; }
}
.fb-pillar > .fb-card__body { margin-block-start: 0 !important; }

/* Lățimea secțiunilor late, scrisă explicit în temă.
   Nu depinde de stilurile de layout generate de WordPress, pe care unele pluginuri de cache/optimizare le pierd. */
.fb-wide.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: 1440px; margin-left: auto !important; margin-right: auto !important; }
.fb-wide.is-layout-constrained > .alignwide { max-width: 1440px; }
.fb-header > .is-layout-flex { flex-wrap: nowrap; justify-content: space-between; }
.fb-header .wp-block-navigation__container, .fb-header .wp-block-navigation { justify-content: flex-end; }
.fb-header .wp-block-navigation .wp-block-navigation__container { gap: 1.75rem; }
@media (max-width: 1380px) { .fb-header .wp-block-navigation .wp-block-navigation__container { gap: 1.1rem !important; } }

/* Meniu fix sus pe laptop și monitor (de la 1024px). Pe telefon și tabletă rămâne normal. */
@media (min-width: 1024px) {
	.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
	.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
	.wp-site-blocks > header.wp-block-template-part .fb-header { transition: box-shadow .2s ease; }
	body.fb-scrolled .wp-site-blocks > header.wp-block-template-part .fb-header { box-shadow: 0 6px 24px rgba(31, 27, 24, 0.08); }
	html { scroll-padding-top: 96px; }
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Paginile Blog, Meșterit în România, Interviuri */
.fb-archive-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem) !important; display: flex; flex-direction: column; gap: 0.9rem; }
.fb-archive-head > * { margin: 0 !important; }
.fb-archive-head h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; }
.fb-archive .wp-block-post-excerpt__excerpt { color: var(--fb-muted); }
.fb-archive .wp-block-query-pagination { margin-top: clamp(2.5rem, 5vw, 4rem); font-weight: 600; }
.fb-archive .wp-block-query-pagination a { color: var(--fb-terracotta); text-decoration: none; }

/* ---------- Articole și pagini (inclusiv conținutul vechi) ---------- */
.fb-article > * + * { margin-block-start: 0; }
.fb-post-head { max-width: 820px; margin: 0 auto clamp(2rem, 4vw, 3rem) !important; text-align: center; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.fb-post-head > * { margin: 0 !important; }
.fb-post-head h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.08; text-wrap: balance; }
.fb-post-head .fb-eyebrow a { color: inherit; text-decoration: none; }
.fb-post-meta { color: var(--fb-muted); font-size: .9375rem; }
.fb-post-hero { max-width: 1100px; margin: 0 auto clamp(2.5rem, 5vw, 4rem) !important; }
.fb-post-hero img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--fb-radius-card, 24px); display: block; }

.fb-prose { font-size: 1.125rem; line-height: 1.8; color: var(--wp--preset--color--ink, #1F1B18); overflow-wrap: anywhere; }
.fb-prose > * { margin-block: 0 1.25em; }
.fb-prose :where(h1, h2, h3, h4, h5, h6) { font-family: var(--wp--preset--font-family--display); line-height: 1.2; margin-block: 2em .6em; font-weight: 600; }
.fb-prose h1, .fb-prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.fb-prose h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.fb-prose :where(h4, h5, h6) { font-size: 1.2rem; }
.fb-prose :where(p, li, td, th, span, div, strong, em, b, i, blockquote, figcaption) { font-family: inherit; }
.fb-prose a { color: var(--fb-terracotta); text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.fb-prose a:hover { text-decoration-thickness: 2px; }
.fb-prose :where(ul, ol) { padding-left: 1.4em; }
.fb-prose li + li { margin-top: .4em; }
.fb-prose img { max-width: 100%; height: auto; border-radius: 16px; }
.fb-prose :where(figure, .wp-caption) { max-width: 100% !important; margin-inline: auto; }
.fb-prose :where(figcaption, .wp-caption-text, .gallery-caption) { font-size: .875rem; color: var(--fb-muted); text-align: center; margin-top: .6em; line-height: 1.5; }
.fb-prose .aligncenter { display: block; margin-inline: auto; }
@media (min-width: 782px) {
	.fb-prose .alignleft { float: left; margin: .3em 1.75em 1em 0; max-width: 50%; }
	.fb-prose .alignright { float: right; margin: .3em 0 1em 1.75em; max-width: 50%; }
}
.fb-prose::after { content: ""; display: table; clear: both; }
.fb-prose blockquote, .fb-prose .wp-block-quote { border-left: 3px solid var(--fb-terracotta); padding: .25em 0 .25em 1.4em; margin-inline: 0; font-family: var(--wp--preset--font-family--display); font-size: 1.3rem; font-style: italic; line-height: 1.5; }
.fb-prose blockquote cite { display: block; margin-top: .6em; font-family: var(--wp--preset--font-family--body); font-style: normal; font-size: .9rem; color: var(--fb-muted); }
.fb-prose :where(iframe, embed, object, video) { max-width: 100%; border: 0; border-radius: 16px; }
.fb-prose iframe[src*="youtube"], .fb-prose iframe[src*="vimeo"], .fb-prose iframe[src*="facebook.com/plugins/video"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.fb-prose .wp-block-embed__wrapper iframe { width: 100%; }
.fb-prose table { width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.fb-prose :where(th, td) { border: 1px solid var(--fb-line); padding: .6em .8em; text-align: left; vertical-align: top; }
.fb-prose hr { border: 0; border-top: 1px solid var(--fb-line); margin-block: 2.5em; }
.fb-prose .has-text-align-center { text-align: center; }
.fb-prose .gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.fb-prose .gallery .gallery-item { width: auto !important; margin: 0 !important; }
.fb-prose .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 0 !important; }
.fb-prose .gallery br { display: none; }

/* Module Divi, desenate de temă */
.fb-legacy-section + .fb-legacy-section, .fb-legacy-row + .fb-legacy-row { margin-top: 1.25em; }
.fb-legacy-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-block: 1.5em; }
.fb-legacy-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 12px; }
.fb-legacy-box, .fb-legacy-blurb { background: #fff; border: 1px solid var(--fb-line); border-radius: 20px; padding: 1.5rem 1.75rem; margin-block: 1.5em; }
.fb-legacy-box > :first-child, .fb-legacy-blurb > :first-child { margin-top: 0; }
.fb-legacy-box > :last-child, .fb-legacy-blurb > :last-child { margin-bottom: 0; }
.fb-legacy-blurb img { width: 100%; max-height: 360px; object-fit: cover; margin-bottom: 1rem; }
.fb-legacy-slides { display: grid; gap: 1.5rem; }
.fb-legacy-details { border: 1px solid var(--fb-line); border-radius: 14px; padding: .9rem 1.2rem; margin-block: .75em; background: #fff; }
.fb-legacy-details summary { cursor: pointer; font-weight: 600; }
.fb-legacy-details[open] summary { margin-bottom: .75em; }
@media (max-width: 600px) { .fb-legacy-gallery, .fb-prose .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Navigare și articole similare */
.fb-post-nav { max-width: 720px; margin: clamp(3rem, 6vw, 4.5rem) auto 0 !important; padding-top: 2rem; border-top: 1px solid var(--fb-line); display: flex; justify-content: space-between; gap: 2rem; }
.fb-post-nav > * { margin: 0 !important; max-width: 48%; }
.fb-post-nav a { color: inherit; text-decoration: none; font-family: var(--wp--preset--font-family--display); font-size: 1.125rem; line-height: 1.35; }
.fb-post-nav a:hover { color: var(--fb-terracotta); }
.fb-post-nav .post-navigation-link-next { margin-left: auto !important; text-align: right; }
.fb-related-wrap { margin-top: clamp(4rem, 8vw, 6rem) !important; padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--fb-line); }
.fb-related-wrap h2 { margin: 0 0 2rem; }
.fb-comments { max-width: 720px; margin: 3rem auto 0 !important; }
.fb-prose .wp-element-button, .fb-prose .wp-block-button__link { color: #fff; text-decoration: none; }
.fb-prose.is-layout-constrained > .alignleft { margin-left: max(0px, calc(50% - 360px)) !important; }
.fb-prose.is-layout-constrained > .alignright { margin-right: max(0px, calc(50% - 360px)) !important; }
