/* Adapts the design stylesheet (macheta.css) to WordPress block markup: only what blocks cannot output exactly like
   the design. Each rule names the block it covers. Values come from the design (its inline styles) or theme.json presets. */

/* Links wrapped in a paragraph block (pills, pillars, duo cards, link cards): the design has the links as direct grid items,
   so the paragraph is taken out of the layout. */
.pillars > p, .pills > p, .duo > p, .cards > p { display: contents; }
/* Same for the closing link of tool and tile cards: the design has it as a flex item (align-self, margins apply). */
.tool > p:last-child, .tile > p:last-child { display: contents; }

/* Text that the design places directly in a box, outside any paragraph (a label <span>, a link, a price, a signature):
   a Paragraph block holds it so it can be edited, and the paragraph is taken out of the layout and out of the cascade
   (it inherits everything from the box), so its contents sit and look exactly like the box's own children in the design. */
p.fpf-fara-cutie { all: inherit !important; display: contents !important; }
/* Editor only ([contenteditable] exists only there): an element with display: contents has no box, so it cannot be clicked
   and its text cannot be edited (Dan, 07.11.2026: price and "Cumpără agenda" on /agenda/). In the editor the paragraph gets a
   box again, laid out like its parent (display, gap, alignment are already inherited) and spanning the parent's row or
   columns, without repeating the parent's own box (padding, border, background, size, position). */
p.fpf-fara-cutie[contenteditable="true"] {
	display: inherit !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
	box-shadow: none !important; border-radius: 0 !important; width: auto !important; height: auto !important; min-height: 0 !important;
	max-width: none !important; position: static !important; overflow: visible !important; flex: 1 1 100% !important; grid-column: 1 / -1 !important;
}
/* Editor only: the link being edited gets the editor's light highlight (data-rich-text-format-boundary), which covered the
   button's colour and left white text on white (Dan, 07.11.2026: "Cumpără agenda" disappeared on click). Keep the button's own
   colours (macheta.css, .btn) while it is edited. */
.btn[data-rich-text-format-boundary] { background: var(--g-main) !important; color: var(--g-btntext, #1F2D29) !important; }

/* The Image block renders <figure class="wp-block-image photo">, the design uses <div class="photo">:
   drop the figure margin and let the image fill the box. */
.wp-block-image.photo { margin: 0; }
.wp-block-image.photo img { height: 100%; }
/* Image focal points (inline styles in the design). */
.hero .photo img { object-position: 50% 20%; }
/* Text-and-picture sections stay within the page width (1440px, like .wrap): on wider screens the design let the text
   stick to the left edge of the screen, far from the centered content below it. Up to 1440px nothing changes. */
.hero, .split { max-width: 1440px; margin-left: auto; margin-right: auto; }
.split .photo img { object-position: 70% 40%; }
/* The agenda illustration has no focal point in the design: centered. */
#agenda .photo img { object-position: 50% 50%; }
/* Focal points that the design wrote inline on the <img> (an Image block cannot keep an inline style): class on the block. */
.photo.fpf-pozitie-50-20 img { object-position: 50% 20%; }
.photo.fpf-pozitie-70-40 img { object-position: 70% 40%; }
.wp-block-image.letter-photo { margin: 0; }
.wp-block-image.letter-photo img { height: 100%; object-position: 50% 20%; }

/* WordPress profile pictures (<img class="avatar avatar-26 photo">: admin bar, comments) carry two class names of the
   design's boxes (.photo: the 520px photo box; .avatar: the 64px circle of the people cards): undo those boxes on them.
   The size is the one WordPress asks for (avatar-N class; the admin bar sets its own with more specific rules). */
img.avatar.photo { flex: none; min-width: 0; min-height: 0; position: static; background: none; border-radius: 0; filter: none; box-shadow: none; }
img.avatar-16.photo { width: 16px; height: 16px; }
img.avatar-24.photo { width: 24px; height: 24px; }
img.avatar-26.photo { width: 26px; height: 26px; }
img.avatar-32.photo { width: 32px; height: 32px; }
img.avatar-40.photo { width: 40px; height: 40px; }
img.avatar-48.photo { width: 48px; height: 48px; }
img.avatar-50.photo { width: 50px; height: 50px; }
img.avatar-56.photo { width: 56px; height: 56px; }
img.avatar-64.photo { width: 64px; height: 64px; }
img.avatar-96.photo { width: 96px; height: 96px; }
img.avatar-128.photo { width: 128px; height: 128px; }

/* Logged-in users see the WordPress admin bar, fixed at the top (32px; 46px up to 782px; above 600px only, below it
   scrolls away): the sticky header, and the header pinned while the phone menu is open, go right under it. */
.admin-bar .site-header,
.fpf-meniu-deschis .admin-bar .site-header.open { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) {
	.admin-bar .site-header,
	.fpf-meniu-deschis .admin-bar .site-header.open { top: 0; }
}

/* WordPress removes the top margin of the first block in a group (flow layout, :first-child rule, higher specificity than
   the design's): a .prose text that starts with a heading keeps the design's 2em above it. */
.prose > h2:first-child { margin-top: 2em; }

/* Inline styles of the design, as utility classes on blocks. */
.fpf-14 { font-size: 14px; }
.fpf-15 { font-size: 15px; }
.fpf-sus-6 { margin-top: 6px; }
.fpf-sectiune-jos { padding-bottom: 96px; }
.fpf-start { align-self: flex-start; }
.fpf-fara-linie { text-decoration: none; }
.fpf-filtre-sus { margin: 8px 0 0; }
.fpf-sus-72 { padding-top: 72px; }
.fpf-centru { align-items: center; }
.fpf-h2-28 { font-size: 28px; line-height: 1.3; }
.fpf-h2-30 { font-size: 30px; line-height: 1.3; }
.fpf-sus-8 { margin-top: 8px; }
.fpf-jos-24 { padding-bottom: 24px; }
.fpf-sus-32 { padding-top: 32px; }
.fpf-17 { font-size: 17px; }
.fpf-18 { font-size: 18px; }
.fpf-pret-22 { font-size: 22px; }
.fpf-pret-24 { font-size: 24px; }
.fpf-linie-sus { border-top: 1px solid var(--line); }
/* Two bound values on one line ("Format · When"): the design writes them as one text. */
.fpf-eticheta-rand { display: flex; flex-wrap: wrap; gap: .3em; }
/* Filter links: one paragraph holds the pills, the design has them as direct flex items. */
.filters > p { display: contents; }

/* Product lists (Query block): Post Template renders <ul><li>, the design has the items as direct grid/flex children. */
.med-grid > li, .free-list > li { display: contents; }
/* Journals and books: the query wrapper is the .programs grid; its list and items are taken out of the layout. */
.programs > .wp-block-post-template, .programs > .wp-block-post-template > li { display: contents; }
/* Each row is alone in its <li>, so the design's .free-item:last-child (no bottom line) matched every row. */
.free-list > li:not(:last-child) .free-item { border-bottom: 1px solid var(--line-strong); }
/* The design's card picture and free-lesson row are one link; here the post title link covers the whole box. */
.med-img .art-title { position: static; }
/* The design gives each card picture and each product hero its own light tint inline; one tint of the same range here. */
.med-img .art, .med-hero-img .art { --tint: #F2F2F1; }
/* The design's card label is a <span>; as a paragraph it would take the card paragraph size. */
.med-body .eyebrow { font-size: 12px; max-width: none; }
.med-desc > .wp-block-post-excerpt__excerpt { font-size: inherit; max-width: none; }
/* Read More block removes the link underline; the design keeps the default link style. */
.med-actiuni .wp-block-read-more { text-decoration: underline; }
.free-item { position: relative; }
.art-title a, .free-item .wp-block-post-title a { color: inherit; text-decoration: none; }
.art-title a::after, .free-item .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
/* Card footer: price on the left, links on the right (design: inline flex with a 22px gap). */
.med-actiuni { display: flex; gap: 22px; align-items: center; }
.wp-block-post-excerpt__excerpt { margin: 0; }

/* Latest posts (Query block): the post list is the .cards grid, each post a .card. */
.wp-block-post-template.cards { list-style: none; margin: 0; padding: 0; }
/* Three posts or more: the design's grid (auto-fit, three wide cards on a large screen). One or two posts keep the column
   width instead of stretching across the page. */
.wp-block-post-template.cards:not(:has(> li:nth-child(3))) { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card .thumb { margin: 0; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* The featured image is wrapped in a link: inside the flex .thumb the link shrank to the image's own width, so portrait photos
   showed narrow between lilac bands (Teodora, 25.11: two articles of Vocea mea). The link fills the card picture too. */
.card .thumb > a { display: block; width: 100%; height: 100%; }
/* The design's card title is a <span> inside the card link: no heading color or letter spacing (Post Title renders an <h3>). */
.card .title { margin: 0; color: inherit; letter-spacing: normal; }
.card .title a, .card .eyebrow a { text-decoration: none; color: inherit; }

/* Navigation block (no overlay) instead of the design's <nav class="nav"> with plain links: its list wrappers are taken
   out of the layout, so the links become direct children of .nav, as in the design. */
.site-header .nav .wp-block-navigation__container,
.site-header .nav .wp-block-navigation-item:not(.nav-extra) { display: contents; }
.footer-grid .wp-block-navigation .wp-block-navigation__responsive-container,
.footer-grid .wp-block-navigation .wp-block-navigation__responsive-close,
.footer-grid .wp-block-navigation .wp-block-navigation__responsive-dialog,
.footer-grid .wp-block-navigation .wp-block-navigation__responsive-container-content,
.footer-grid .wp-block-navigation .wp-block-navigation__container,
.footer-grid .wp-block-navigation .wp-block-navigation-item { display: contents; }
.footer-bottom > p { margin: 0; }
/* Header menu groups (Navigation submenus, hover/focus, no WordPress script): on wide screens a group opens under its
   name, as a small panel with the group's pages; the group of the current page is underlined like a current link. */
.site-header .nav .wp-block-navigation-item.has-child { display: flex; position: relative; align-items: center; }
.site-header .nav .has-child > .wp-block-navigation__submenu-container { top: 100%; left: -16px; padding: 8px 0; gap: 0;
	background: var(--bg); border: 1px solid var(--line); font-size: 14px; }
.site-header .nav .has-child > .wp-block-navigation__submenu-container .wp-block-navigation-item { display: block; }
.site-header .nav .wp-block-navigation__submenu-container a { display: block; padding: 8px 16px; }
.site-header .nav .has-child.fpf-ramura-curenta > a { border-bottom: 1px solid var(--line-strong); }
.site-header .nav .fpf-sub { display: none; }

/* Intentional difference from the design: on small screens the header stays on one row (logo, "Abonează-te", menu
   button with three lines) and the menu opens over the page, under the header, with a close button (X); the page does
   not scroll meanwhile (assets/js/meniu.js). The design's last @media block puts the menu on a second row instead, with
   !important, so these overrides need !important too. */
/* The button reads "Meniu" as in the design of 13.11 (fresh/*.html), and "Închide" while the menu is open. */
.menu-toggle .t-inchide { display: none; }
@media (max-width: 900px) {
	.menu-toggle { display: inline-flex !important; justify-content: center; padding: 0 4px; }
	.site-header.open .menu-toggle .t-meniu { display: none; }
	.site-header.open .menu-toggle .t-inchide { display: inline; }
	/* The Navigation block repeats the "nav" class on its inner list: only the outer <nav> is the menu panel. */
	.site-header .nav .wp-block-navigation__container { display: contents !important; }
	.site-header nav.nav { display: none !important; }
	/* The header's backdrop blur would make it the box of the fixed panel (the panel would shrink to the header). */
	.site-header.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
	.site-header.open nav.nav { display: flex !important; position: fixed; top: var(--fpf-antet, 72px); right: 0; bottom: 0; left: 0; z-index: 20;
		flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; gap: 0; padding: 0 20px 96px; overflow-y: auto;
		overscroll-behavior: contain; background: var(--bg); font-size: 16px; text-align: left; }
	/* One column on a short screen too (phone held sideways): the design's .nav wraps, so the items moved to a second column
	   instead of the panel scrolling (Dan, 09.11.2026). Items keep their height; the panel scrolls, and its bottom padding (96px)
	   lets the last link scroll above the fixed „Ieșire rapidă” button. */
	.site-header.open nav.nav > *, .site-header.open nav.nav .wp-block-navigation-item { flex-shrink: 0; }
	.site-header .nav .has-child.fpf-deschis > .wp-block-navigation__submenu-container { flex-direction: column; flex-wrap: nowrap; }
	.site-header .nav a { padding: 14px 0; border-top: 1px solid var(--line); }
	.site-header .nav .nav-extra { display: block; }
	/* Phone menu: a group shows its name and a button; the button opens the group's pages under it, one group at a time. */
	.site-header .nav .wp-block-navigation-item.has-child { display: grid; grid-template-columns: 1fr 44px; align-items: stretch; }
	.site-header .nav .has-child.fpf-ramura-curenta > a { border-bottom: 0; }
	.site-header .nav .fpf-sub { display: flex; align-items: center; justify-content: center; border: 0; border-top: 1px solid var(--line);
		background: none; color: var(--text); padding: 0; cursor: pointer; }
	.site-header .nav .fpf-sub svg { transition: transform .15s; }
	.site-header .nav .fpf-sub[aria-expanded="true"] svg { transform: rotate(180deg); }
	.site-header .nav .has-child > .wp-block-navigation__submenu-container { display: none !important; }
	.site-header .nav .has-child.fpf-deschis > .wp-block-navigation__submenu-container { display: flex !important; grid-column: 1 / -1;
		position: static; visibility: visible; opacity: 1; width: auto; height: auto; min-width: 0; overflow: visible;
		padding: 0 0 0 16px; border: 0; font-size: inherit; }
	.site-header .nav .wp-block-navigation__submenu-container a { padding: 12px 0; }
	.fpf-meniu-deschis body { position: fixed; left: 0; right: 0; overflow: hidden; }
	/* Body pinned: the sticky header would scroll away with it, so it is pinned to the top too. */
	.fpf-meniu-deschis .site-header.open { position: fixed; top: 0; left: 0; right: 0; }
}

/* Single post (templates/single.html), with the design's article markup. */
/* Post Terms renders a <div> around the category link: the design has the link as a flex item of .article-meta. */
.article-meta > .wp-block-post-terms { display: contents; }
/* The design's picture: <img style="width:100%;max-height:520px;object-fit:cover"> under a 40px top padding. */
.fpf-articol-poza { padding-top: 40px; }
.fpf-articol-poza .wp-block-post-featured-image { margin: 0; }
/* The whole photo on the article page, never cut (interim, until Andreea's layout for portrait photos; Dan, 25.11): landscape
   photos take the full width, portrait ones keep their shape, at most 80% of the screen high, centred. */
.fpf-articol-poza .wp-block-post-featured-image { text-align: center; }
.fpf-articol-poza .wp-block-post-featured-image img { width: auto; max-width: 100%; height: auto; max-height: min(80vh, 760px); margin: 0 auto; object-fit: contain; border-radius: var(--r, 18px); }
/* Teodora 24.11.2026 („unele poze apar taiate (personajul din poza are capul taiat) cand deschidem articolul”): the 520px band
   keeps the top of the photo, where the faces are, instead of its middle. */
/* The "back to articles" link is the last line of the design's .prose: the post content ends without its bottom padding,
   the link block continues it (no top padding, the design's 2.4em gap above the link). */
.wp-block-post-content.prose { padding-bottom: 0; }
.prose.fpf-inapoi { padding-top: 0; }
.prose.fpf-inapoi > p { margin-top: 2.4em; }
/* Imported articles: [caption width="810"] renders <figure class="wp-caption" style="width: 810px">, and the images carry
   width/height attributes; both stay inside the text column on narrow screens. */
.prose .wp-caption { max-width: 100%; }
.prose img { max-width: 100%; height: auto; }
/* The design marks the current page's pill with aria-pressed as well; here aria-current carries the same look. */
.pill[aria-current="page"] { background: var(--g-light); border-color: var(--g-main); }
/* Editor only: the lesson title is one editable element inside <summary>, so it would sit in the 40px number column;
   it spans the number and text columns and lays out its number and text like the page. */
.lesson-d summary > [contenteditable] { grid-column: 1 / 3; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
/* Consent box of the contact form: shown only for the subject that needs it (fpf-core formulare.js), checkbox and text on one row. */
.form .fpf-acord { flex-direction: row; align-items: flex-start; gap: 8px; }
.form .fpf-acord[hidden] { display: none; }
.form .fpf-acord input { margin-top: 3px; }
/* Select fields: the design gives only the closed field (an underlined line, appearance: none, no arrow) and no model for
   the open list. Closed: a thin purple chevron, in every browser. Open: browsers with customizable selects (appearance:
   base-select) draw the list in the site's style; the others keep their own list, and phones their native picker. */
.form select.field {
	padding-right: 28px; cursor: pointer;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235B2A6E' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 6px center;
}
@supports (appearance: base-select) {
	.form select.field, .form select.field::picker(select) { appearance: base-select; }
	.form select.field { background: transparent; display: flex; align-items: center; }
	.form select.field::picker-icon { content: ""; width: 12px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235B2A6E' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat center; transition: rotate .2s; }
	.form select.field:open::picker-icon { rotate: 180deg; }
	.form select.field::picker(select) {
		margin-top: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
		box-shadow: 0 12px 32px rgba(46, 46, 46, .08);
	}
	.form select.field option {
		padding: 10px 14px; border-radius: 10px; font-family: inherit; font-weight: 300; font-size: 15px; color: var(--text);
	}
	.form select.field option::checkmark { display: none; }
	.form select.field option:hover, .form select.field option:focus-visible { background: var(--g-light); outline: none; }
	.form select.field option:checked { background: var(--g-light); color: var(--g-main); }
}
/* Manifest signing column: the design's .counter (macheta.css) draws fpf/contor; only the bar's minimum width and the
   hidden number (under the threshold) are added. „Trimite-l unei prietene”: .share of the design; the phone's share
   button shows only where the browser has it. */
.fpf-contor .counter-num[hidden], .fpf-trimite [hidden] { display: none; }
.fpf-contor .counter-bar > span { min-width: 6px; }
/* „Dacă ai nevoie de ajutor acum”, right under the form. */
.fpf-ajutor { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.fpf-ajutor p { margin: 0; }
.fpf-ajutor .small { margin-top: 6px; line-height: 1.6; }
.fpf-ajutor a { color: var(--g-main); }
/* fpf/video: a 16:9 box with the picture and the button; the video player takes the box after the click. */
.fpf-video { margin-top: 40px; margin-bottom: 0; }
.fpf-video-start, .fpf-video iframe { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r, 18px); overflow: hidden; }
.fpf-video-start { position: relative; padding: 0; background: var(--g-light); cursor: pointer; }
.fpf-video-start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fpf-video-start .btn { position: relative; }
/* The play mark from the macheta (.video-play), on a soft dark disc so it reads on any picture; grows a little on hover/focus. */
.fpf-video-start .video-play { position: relative; background: rgba(43, 32, 56, .45); transition: transform .2s; }
.fpf-video-start:hover .video-play, .fpf-video-start:focus-visible .video-play { transform: scale(1.08); }

/* Article search (fpf/cautare): the field and button reuse .nl-form; the results are plain links in the page. */
/* It sits in the page head, under the intro text, within the head's 720px column (the head's gap spaces it). */
.fpf-cautare { margin-top: 8px; }
.fpf-cautare .nl-form { max-width: 520px; flex-wrap: nowrap; }
.fpf-cautare .nl-form .field { flex: 1 1 auto; min-width: 0; }
.fpf-cautare .nl-form .btn { flex: 0 0 auto; }
.fpf-cautare-rezultate:empty { display: none; }
.fpf-cautare-rezultate { margin-top: 16px; max-width: 520px; }
.fpf-cautare-lista { list-style: none; margin: 0; padding: 0; }
.fpf-cautare-lista li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.fpf-cautare-lista a { color: var(--g-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Elements of the imported old articles, rebuilt by fpf-core: gallery, tabs as sections, columns. */
.fpf-galerie-veche { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 24px 0; }
.fpf-galerie-veche-element { margin: 0; }
.fpf-galerie-veche-element img { display: block; width: 100%; height: auto; border-radius: 8px; }
.fpf-tab-vechi + .fpf-tab-vechi { margin-top: 32px; }
.fpf-coloane-vechi { display: flex; flex-wrap: wrap; gap: 24px; margin: 16px 0; }
.fpf-coloana-veche { flex: 1 1 220px; min-width: 0; }
.fpf-coloana-veche img { max-width: 100%; height: auto; }

/* „Ai nevoie de ajutor acum?” in the header (Andreea, 12.11.2026, point 8: „într-o culoare care se vede”): a violet pill,
   also on phones, where the text gets shorter so the header stays on one row. */
.header-actions .fpf-ajutor-acum { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--violet); color: #fff; font-size: 13px; font-weight: 400; }
.header-actions .fpf-ajutor-acum:hover, .header-actions .fpf-ajutor-acum:focus-visible { background: #47375F; color: #fff; }
@media (max-width: 900px) { .header-actions .fpf-ajutor-acum { min-height: 30px; padding: 0 10px; font-size: 12px; } }
/* Phones: the header stays on one row (Dan, 18.11.2026: on two rows it looked bad). The button says "Ajutor" (the full
   question stays as its accessible name), the gaps shrink, the logo keeps 46 px (Andreea, 12.11, point 27; the manual's
   minimum is 128 px wide). Under 400 px "Abonează-te" leaves the header; the newsletter form stays on the page. */
.fpf-ajutor-acum .fpf-ajutor-scurt { display: none; }
@media (max-width: 600px) {
	.header-actions .fpf-ajutor-acum .fpf-ajutor-lung { display: none; }
	.header-actions .fpf-ajutor-acum .fpf-ajutor-scurt { display: inline; }
	.site-header .wrap { column-gap: 12px; }
	.site-header .header-actions { gap: 12px; }
	.brand-logo .logo-img { height: 46px; }
}
@media (max-width: 400px) { .header-actions .fpf-aboneaza { display: none; } }
/* Home page on phones: the manifest band comes after the hero with Andreea's photo (Andreea, WhatsApp to Dan, 18.11.2026). */
@media (max-width: 900px) {
	.home .wp-block-post-content:has(> .fpf-banda) { display: flex; flex-direction: column; }
	.home .wp-block-post-content:has(> .fpf-banda) > .hero { order: -1; }
}
/* Manifest video section: shown only once the video link is set in the Video block (fpf/video prints nothing without it). */
.manifest-video:not(:has(.fpf-video)) { display: none; }

/* The signature panel (about 1030px high with the share row and the help box) sticks under the header (top 110px, macheta.css)
   only on screens tall enough to show it whole; on a laptop (MacBook Pro window about 800-900px) it scrolls with the page, so the
   button and the anti-spam box can be reached. */
@media (min-width: 901px) and (max-height: 1159px) { .manifest-sign { position: static; } }
/* fpf/banda: the campaign band at the top of the front page, on violet, like the design's „Ce cerem” box. The counter
   inside it takes the light text. */
.fpf-banda { background: var(--violet); color: var(--perla); }
.fpf-banda-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 16px; padding-bottom: 16px; }
.fpf-banda-text { margin: 0; font-size: 18px; }
.fpf-banda .counter { flex: 1 1 260px; margin: 0; }
.fpf-banda .counter-num, .fpf-banda .counter-num [data-counter-num], .fpf-banda .fpf-contor-rest { color: var(--perla); }
.fpf-banda .counter-num [data-counter-num] { font-size: 28px; }
.fpf-banda .counter-bar { background: rgba(255, 255, 255, .25); margin: 6px 0; }
.fpf-banda .counter-bar span { background: var(--perla); }
.fpf-banda .btn { background: var(--perla); color: var(--violet); }
.fpf-banda .btn:hover { background: #fff; color: var(--violet); }
.fpf-banda-nota { flex-basis: 100%; margin: 0; opacity: .8; }
/* Front page „Echipa și partenerii” (Andreea, 12.11.2026, point 32): the team cards of echipa.html in three columns,
   then the partner cards. The campaign section keeps one column while the video is not set. */
.fpf-acasa-echipa .people { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.fpf-acasa-echipa .creds { margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.home-video-grid:not(:has(.fpf-video)) { grid-template-columns: 1fr; }
/* Articles about violence (fpf-core includes/violenta.php, Andreea 12.11.2026 point 9): the warning above the text and the
   help box after it, in the design's .help-box. */
.prose .fpf-avertisment { margin: 0 0 1.6em; padding: 12px 16px; border-left: 3px solid var(--violet); background: var(--accent); font-size: 15px; }
.prose .fpf-regasit { margin-top: 2.4em; }
.prose .fpf-regasit p { margin: 0 0 .6em; }

/* ANAIS (fpf-core includes/anais.php): logo on the partner cards; in the footer row „Cu sprijinul Asociației ANAIS” monochrome, as Andreea asked
   (13.11.2026 point 14: their pink does not go with the site violet); on the partnership page it keeps its colours. */
/* The ANAIS logo keeps its proportions: inside a flex column card (.cred, .res) a child stretches across the width unless it
   aligns to the start (the paragraph around it is display: contents, so the image is the card's own child). Same for the two
   links under the card, which sit on one line. */
.fpf-anais-logo img { display: block; align-self: flex-start; width: auto; height: 48px; max-width: 100%; object-fit: contain; margin-bottom: 14px; }
.fpf-anais-logo-mic { display: block; align-self: flex-start; width: auto; height: 30px; max-width: 100%; object-fit: contain; margin-bottom: 12px; }
p.fpf-anais-linkuri { margin: 0; }
.fpf-impreuna-cu { display: flex; align-items: center; gap: 14px; margin-top: 8px; margin-bottom: 8px; }
.fpf-impreuna-cu img { display: block; width: auto; height: 30px; filter: grayscale(1) brightness(0) invert(1); opacity: .75; }

/* Partnership page (/parteneri-anais/): the macheta keeps these rules in the page itself (parteneri-anais.html, <style>);
   copied here unchanged. .pa-logos p: the "+" sits in a paragraph block, so it must not take a block margin. */
.pa-logos { display:flex; align-items:center; justify-content:center; gap:36px; flex-wrap:wrap; background:#fff; border-radius:var(--r); padding:32px 40px; margin-top:32px; }
.pa-logos img { height:64px; width:auto; display:block; }
.pa-logos p { margin:0; }
.pa-logos .pa-x { font-size:28px; color:var(--lila); font-weight:200; }
.pa-text { max-width:720px; display:flex; flex-direction:column; gap:16px; }
.pa-text p { margin:0; font-size:16px; line-height:1.75; }
.pa-ok { background:var(--tint); border-left:3px solid var(--mauve); border-radius:var(--r); padding:22px 26px; max-width:720px; }
.pa-ok p { margin:0; }
.pa-todo { border:1px dashed var(--lila); border-radius:var(--r); padding:22px 26px; max-width:720px; color:var(--muted); }
.pa-contact { display:flex; flex-direction:column; gap:6px; font-size:16px; }
.pa-contact a { color:var(--ink); }
@media (max-width:600px){ .pa-logos { gap:20px; padding:24px; } .pa-logos img { height:44px; } }

/* About page, „Ce construim”: two cards since the Foundation card was removed (Andreea, 22.11). */
#ce-construim .creds { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
/* Partner logos as Image blocks (replaceable from the admin), same placement as the ANAIS logo. */
.wp-block-image.fpf-partener-logo { margin: 0 0 14px; align-self: flex-start; }
.wp-block-image.fpf-partener-logo img { display: block; width: auto; height: 64px; max-width: 100%; object-fit: contain; }
/* Andreea 24.11.2026, point 14: "Ce cerem" sits in the signing box, on its light purple background (not the dark band);
   the box is no longer sticky, it is now taller than the screen. Point 16: more space above "Controlul coercitiv". */
.manifest-sign { position: static; }
.ce-cerem.ce-cerem-in-semnare { background: none; color: inherit; padding: 0; margin: 0 0 28px; border-radius: 0; }
.ce-cerem.ce-cerem-in-semnare .label { color: inherit; }
.ce-cerem.ce-cerem-in-semnare li { font-size: 15px; line-height: 1.6; }
#control-coercitiv { margin-top: 48px; }
/* Point 8: the three "Te recunoști?" texts at 16px. */
.mirror .soft { font-size: 16px; }
/* /provocare/ (Andreea 24.11.2026, points 18-25): the longer presentation text, the "Pentru cine e cursul" texts as cards
   like the days but on light lilac, less space under that title, and less space on mobile between the form and the days. */
.fpf-prov-h { font-size: 19px; line-height: 1.35; margin-top: 8px; }
.fpf-prov-lista { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.section-head:has(+ .fpf-pentru-cine) { margin-bottom: 24px; }
.fpf-pentru-cine { gap: 16px; }
.fpf-pentru-cine .quote { border-top: 0; background: color-mix(in srgb, var(--fpf-liliac) 30%, #FFFFFF); border-radius: var(--r, 18px); padding: 24px; }
@media (max-width: 900px) {
  .split:has(form[data-klaviyo="provocare"]) .split-text { padding-bottom: 24px; }
  .split:has(form[data-klaviyo="provocare"]) + .wrap.section { padding-top: 32px; }
}
/* Andreea 24.11.2026, point 27: the page numbers under the article lists on one row, centred, across the whole grid
   (the pagination sat in one column of the card grid and wrapped). Point 29: the subtitle under "Ce ai trăit contează". */
.wp-block-query-pagination { grid-column: 1 / -1; width: 100%; display: flex; flex-wrap: nowrap; justify-content: center; align-items: baseline; gap: 20px; margin-top: 32px; }
.wp-block-query-pagination-numbers { display: inline-flex; flex-wrap: nowrap; gap: 12px; }
.pt-sub { font-size: 30px; line-height: 1.2; color: var(--acc); margin: -6px 0 0; }

/* Andreea 24.11.2026, point 32 (and the meeting notes: smaller, centred, space below): every share row on the site
   (articles, the manifest form, the static rows on Povestea ta and the legal guide) gets one design, each button with its
   icon, keyed on the link each button already has, so the four places stay in step. The icons are Andreea's own set
   (mail 24.11.2026 "Iconite pentru butoanele Trimite-l unei prietene"), as files: the first version inlined them as data
   URIs with unescaped double quotes inside url("..."), the declaration was dropped and every icon drew as a filled square.
   The mask keeps only the shape, so each icon takes the button's text colour (her note allows currentColor). */
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.share .btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 14px; line-height: 1.2; }
.share .btn::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--fpf-icon) center / contain no-repeat; mask: var(--fpf-icon) center / contain no-repeat; }
.share a[href^="https://wa.me"] { --fpf-icon: url("../img/iconite/mesaj-whatsapp.svg"); }
.share a[href*="facebook.com/sharer"] { --fpf-icon: url("../img/iconite/comunitate-facebook.svg"); }
.share a[href^="mailto:"] { --fpf-icon: url("../img/iconite/email.svg"); }
.share button[data-copy], .share button[data-trimite="copiaza"] { --fpf-icon: url("../img/iconite/copiaza-link.svg"); }
.share button[data-trimite="sistem"], .share button[data-share] { --fpf-icon: url("../img/iconite/alte-aplicatii.svg"); }
.share a[download] { --fpf-icon: url("../img/iconite/descarca.svg"); }
.share .btn:not([href^="https://wa.me"]):not([href*="facebook.com/sharer"]):not([href^="mailto:"]):not([data-copy]):not([data-trimite]):not([download]):not([data-share])::before { display: none; }
/* Her sizing for the manifest's "Trimite-l unei prietene" row: 28px icon left of the text, 14px from it. */
.share.fpf-trimite .btn { gap: 14px; }
.share.fpf-trimite .btn::before { width: 28px; height: 28px; }
/* Point 11: the manifest title is now "Manifestul Femei pentru Femei", much longer than "Nu e normal."; at the design's
   88px it broke on two lines. Smaller, on one line on a laptop (the meeting notes also asked for it smaller); 56px still
   wrapped in the 720px head column at 1440px wide (measured 24.11), 52px fits. */
.manifest-head h1 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.12; }
/* Andreea 24.11.2026 ("Banner Essence of Freedom"): her 1920x480 "in curand" banner at the top of the community page, full
   width of the content column, above the page title. An Image block, so the team can replace it from the admin. */
.fpf-banner-comunitate-wrap { padding-top: 32px; }
.wp-block-image.fpf-banner-comunitate { margin: 0; }
.wp-block-image.fpf-banner-comunitate img { display: block; width: 100%; height: auto; border-radius: 16px; }

/* Claudia Pop 24.11.2026 ("Re: Revizuiri", for Andreea): the quote box on Despre mine, light lilac with violet text. */
.why.fpf-citat-lila { background: #EEE8F1; }
.why.fpf-citat-lila p { color: #53416F; }
/* Despre mine, "Fondatoare": the name in bold next to the year, same list style as the awards. */
.awards li strong { font-weight: 500; color: var(--violet, #53416F); }

/* Andreea 24.11.2026 ("Pagina Manifest – «Ce cerem» si formularul, unul langa altul"): the story stays full width; under it
   two equal columns (50/50, 24px apart), "Ce cerem" in a light lilac box and the signature form in a white box, same height,
   aligned top and bottom; on a phone one under the other, 18px apart, with larger fields and button. */
.manifest.fpf-manifest-o-coloana { display: block; }
.fpf-semnare { padding-bottom: 56px; }
.fpf-semnare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.fpf-semnare-grid > .ce-cerem.fpf-cutie-cerem,
.fpf-semnare-grid > .manifest-sign.fpf-cutie-semnez { margin: 0; border-radius: 16px; padding: 28px; position: static; }
.ce-cerem.fpf-cutie-cerem { background: #EEE8F1; color: #3D3056; }
.ce-cerem.fpf-cutie-cerem li { font-size: 16px; line-height: 1.65; color: #3D3056; }
.manifest-sign.fpf-cutie-semnez { background: #FFFFFF; display: flex; flex-direction: column; }
.fpf-cutie-semnez .manifest-form { flex: 1; }
.fpf-cutie-semnez .manifest-form .btn[type="submit"] { margin-top: auto; align-self: stretch; justify-content: center; text-align: center; background: #53416F; color: #FFFFFF; }
.fpf-supratitlu { margin: 0 0 6px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #A07C9D; }
.fpf-cutie-titlu { margin: 0 0 18px; font-size: 28px; line-height: 1.25; font-weight: 300; color: #53416F; }
.fpf-semnare .fpf-ajutor { max-width: 720px; }
@media (max-width: 900px) {
	.fpf-semnare-grid { grid-template-columns: 1fr; gap: 18px; }
	.fpf-cutie-semnez .manifest-form .field { min-height: 52px; font-size: 17px; }
	.fpf-cutie-semnez .manifest-form .btn[type="submit"] { min-height: 54px; font-size: 17px; }
}

/* Resources grid: WordPress's flow layout drops the bottom margin of a group's last child, so the last card of the grid ran
   20px taller than the others in its row. Same margin for every card. */
.res-grid > .res:last-child { margin-bottom: 20px; margin-block-end: 20px; }

/* Team cards: a real photo in place of the initials circle (64px, like .avatar), cropped to the face; replaceable from Media. */
.person > .fpf-avatar-foto { margin: 0; width: 64px; height: 64px; }
.person > .fpf-avatar-foto img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center top; display: block; }

/* Home page, the two cards next to "Despre mine" (Andreea, 25.11, final banners 1920x1080): each banner covers the whole card, the
   card's own texts stay on top (Descoperă-te: "Gratuit", label, title; Essence: "Comunitatea", title). To change a picture, replace
   the file; the framing (cover, centre) is here. */
.art.fpf-art-descopera { background: #F1F1F0 url(../img/banner-descopera-te.jpg) center / cover no-repeat; }
.art.fpf-art-essence { --tint: #FFFFFF; background: #FFFFFF url(../img/comunitate/banner-essence-of-freedom.jpg) center / cover no-repeat; }

/* Vocea mea, top (Andreea, 25.11, her mock-up): text on the left (title, four paragraphs, signature), her photo on the right. */
.page-head.fpf-vocea-intro { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; align-items: start; }
.page-head.fpf-vocea-intro > .fpf-vocea-text { max-width: none; gap: 0; }
.fpf-vocea-text > .small { margin: 0 0 16px; }
.fpf-vocea-text > h1 { margin: 0 0 32px; }
.fpf-vocea-text > p.soft { font-size: 16px; line-height: 1.85; margin: 0 0 18px; }
/* The signature as text in Corinthia (Andreea, 25.11: 56px on desktop, 44px under 700px, line-height 1, 8px above), the same violet
   as the signature in the pop-up. */
.fpf-vocea-text > .vocea-semnatura { margin: 8px 0 0; font-family: var(--script, "Corinthia", cursive); font-size: 56px; line-height: 1; color: #856B8E; }
@media (max-width: 700px) { .fpf-vocea-text > .vocea-semnatura { font-size: 44px; } }
.fpf-vocea-intro > .fpf-vocea-poza { margin: 16px 0 0; }
.fpf-vocea-intro > .fpf-vocea-poza img { width: 100%; height: auto; border-radius: 16px; display: block; }
@media (max-width: 900px) {
  .page-head.fpf-vocea-intro { grid-template-columns: 1fr; gap: 32px; }
  .fpf-vocea-intro > .fpf-vocea-poza { max-width: 400px; }
}

/* Video consent (fpf/video, Andreea 25.11): over the poster, the play circle, „Accept și pornesc videoul” and the host. */
.fpf-video-acord { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; text-align: center; }
.fpf-video-acord-text { padding: 10px 22px; border-radius: 999px; background: #53416F; color: #fff; font-size: 16px; }
.fpf-video-acord small { max-width: 34ch; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .85); color: #53416F; font-size: 13px; line-height: 1.4; }

/* Team page (Andreea, 25.11, her mock-up): the files are the whole photos; the circle and the framing come only from here, so a
   rectangle tomorrow is a CSS change, not new images. The founder's card with her round photo (240px), the three people below with an
   84px circle (initials or photo), name and role on one row, the text under them; quotes in italic violet. */
.founder.fpf-echipa-fondatoare { grid-template-columns: 240px 1fr; gap: 56px; align-items: start; padding: 56px; background: #fff; }
.fpf-echipa-fondatoare > .fpf-fondatoare-poza { margin: 0; }
.fpf-echipa-fondatoare > .fpf-fondatoare-poza img { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; display: block; }
.fpf-echipa-fondatoare .founder-t { max-width: none; }
.fpf-echipa-fondatoare h3 { font-size: 44px; line-height: 1.15; color: #53416F; }
.fpf-echipa-fondatoare p.soft { font-size: 16px; line-height: 1.7; }
.person.fpf-om { display: block; padding: 32px; background: #fff; }
.fpf-om-cap { display: flex; align-items: center; gap: 18px; margin: 0 0 20px; }
.fpf-om-cap .avatar { flex: none; width: 84px; height: 84px; border-radius: 50%; background: #EEE8F1; color: #53416F; font-size: 26px; box-shadow: none; filter: none; display: flex; align-items: center; justify-content: center; }
.fpf-om-cap img.avatar { object-fit: cover; object-position: center top; }
.fpf-om-nume { display: flex; flex-direction: column; gap: 4px; }
.fpf-om-nume .person-n { font-size: 26px; line-height: 1.15; color: #2C2C2C; }
.fpf-om-nume .small { color: #856B8E; }
.person.fpf-om p.soft { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; }
.fpf-citat-echipa { font-style: italic; color: #53416F; }
@media (max-width: 760px) {
  .founder.fpf-echipa-fondatoare { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .fpf-echipa-fondatoare > .fpf-fondatoare-poza img { width: 180px; height: 180px; }
  .fpf-echipa-fondatoare h3 { font-size: 34px; }
}

/* Facebook next to Instagram (Andreea, 24.11 point 5; link from Claudia, 25.11): footer links one under the other; on the home page one line. */
.footer-social { display: flex; width: fit-content; }
.footer-social + .footer-social { margin-top: 10px; }
.home-ig-si { color: var(--violet); }

/* Team page, Andreea's final layout (25.11 13:20): Teodora's card across the whole width, her text in two columns (first two
   paragraphs left, the third right); Sorana and Christina side by side below. */
.people.fpf-echipa-oameni { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.person.fpf-om-lat { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; align-items: start; }
.fpf-om-lat > .fpf-om-cap { grid-column: 1 / -1; }
.fpf-om-lat > p.soft:nth-of-type(2) { grid-column: 1; grid-row: 2; }
.fpf-om-lat > p.soft:nth-of-type(3) { grid-column: 1; grid-row: 3; }
.fpf-om-lat > p.soft:nth-of-type(4) { grid-column: 2; grid-row: 2 / span 2; }
@media (max-width: 1000px) {
  .people.fpf-echipa-oameni, .person.fpf-om-lat { grid-template-columns: 1fr; }
  .fpf-om-lat > p.soft:nth-of-type(n) { grid-column: 1; grid-row: auto; }
}

/* Site search (Andreea, 25.11, her reference code): a 40px circle with the magnifier in the header actions; the bar opens under
   the menu across the whole width, content max 880px, centred. */
.fpf-cauta-buton { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #53416F; cursor: pointer; }
.fpf-cauta-buton:hover, .fpf-cauta-buton:focus-visible, .fpf-cauta-buton[aria-expanded="true"] { background: #EEE8F1; }
.fpf-cautare-bara { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: #fff; border-top: 1px solid #E8E8E6; box-shadow: 0 18px 40px rgba(61, 48, 86, .10); }
.fpf-cautare-bara[hidden] { display: none; }
.fpf-cautare-interior { max-width: 880px; margin: 0 auto; padding: 26px 24px 28px; }
.fpf-cautare-antet { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 1.5px solid #53416F; }
.fpf-cautare-antet svg { flex: none; color: #856B8E; }
.fpf-cautare-antet input { flex: 1; min-width: 0; padding: 6px 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 22px; font-weight: 300; color: #3D3056; }
.fpf-cautare-antet input::placeholder { color: #A99BB3; }
.fpf-cautare-antet input::-webkit-search-cancel-button { display: none; }
.fpf-cautare-inchide { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: #856B8E; text-decoration: underline; cursor: pointer; }
.fpf-cautare-frecvente { margin: 16px 0 0; font-size: 13px; color: #6B5A78; }
.fpf-cautare-sugestii { margin: 0; }
.fpf-cautare-sugestii a { display: inline-block; margin: 8px 8px 0 0; padding: 6px 14px; border-radius: 999px; background: #F4F2F3; color: #53416F; font-size: 13.5px; text-decoration: none; }
.fpf-cautare-sugestii a:hover, .fpf-cautare-sugestii a:focus-visible { background: #EEE8F1; }
@media (max-width: 900px) {
  .fpf-cautare-interior { padding: 18px 18px 20px; }
  .fpf-cautare-antet input { font-size: 18px; }
}

/* Search results page: the kind of each result above its title, one line of description; nothing found = message, frequent
   searches and the help link. */
.fpf-rezultate { display: flex; flex-direction: column; gap: 0; max-width: 880px; }
.fpf-rezultate .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.fpf-rezultat { padding: 22px 0; border-bottom: 1px solid var(--line, #E8E8E6); }
.fpf-rezultat-tip { margin: 0 0 6px; font-size: 12px; letter-spacing: .3px; color: #856B8E; }
.fpf-rezultat .wp-block-post-title { margin: 0 0 6px; font-size: 22px; font-weight: 300; line-height: 1.3; }
.fpf-rezultat .wp-block-post-title a { color: #53416F; text-decoration: none; }
.fpf-rezultat .wp-block-post-excerpt { margin: 0; font-size: 15px; color: var(--text-soft, #525252); }
.fpf-rezultat .wp-block-post-excerpt p { margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.fpf-rezultat .wp-block-post-excerpt__more-text { display: none; }
