/* WEPADI – stiluri globale (antet, subsol, butoane, text). Valorile vin din design-reference/site. */

:root {
	--w-brand: #2A639F;
	--w-navy: #0B3A5A;
	--w-kraft: #C9914F;
	--w-kraft-hover: #B07A3E;
	--w-kraft-light: #F5EEE3;
	--w-text: #1F2933;
	--w-muted: #5B6670;
	--w-border: #E3E8EE;
	--w-input-border: #C7D3DE;
	--w-blue-light: #E8F1F7;
	--w-bg-alt: #F4F7FA;
	--w-footer-text: #D6E4EF;
	--w-footer-line: #3C6E93;
	--w-wa: #1E7A5E;
	--w-wa-hover: #155C46;
	--w-font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--w-font-head: Poppins, "DM Sans", system-ui, sans-serif;
	--w-container: 1240px;
	--w-gutter: 24px;
}

/* Ca în design: box-sizing implicit (content-box); border-box doar unde sursele îl cer. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: #FFFFFF; color: var(--w-text); font-family: var(--w-font); font-size: 17px; line-height: 1.6; }
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--w-brand); }
a:hover { color: var(--w-navy); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--w-brand); outline-offset: 3px; }

.screen-reader-text, .w-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--w-navy); color: #FFFFFF; padding: 10px 16px; border-radius: 6px; font-family: var(--w-font-head); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #FFFFFF; }

.w-container { max-width: var(--w-container); margin: 0 auto; padding-left: var(--w-gutter); padding-right: var(--w-gutter); }

/* Butoane */
.w-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border-radius: 6px; font-family: var(--w-font-head); font-weight: 600; text-decoration: none; cursor: pointer; border: 0;
	transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.w-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(11,58,90,.25); }
.w-btn:active { transform: scale(.97); box-shadow: none; }
.w-btn:focus-visible { outline: 3px solid var(--w-brand); outline-offset: 3px; }
.w-btn--kraft { background: var(--w-kraft); color: var(--w-text); }
.w-btn--kraft:hover, .w-btn--kraft:active { background: var(--w-kraft-hover); color: #FFFFFF; }
.w-btn--wa { background: var(--w-wa); color: #FFFFFF; }
.w-btn--wa:hover, .w-btn--wa:active { background: var(--w-wa-hover); color: #FFFFFF; }
.w-btn--dark { background: var(--w-navy); color: #FFFFFF; }
.w-btn--dark:hover { background: var(--w-brand); color: #FFFFFF; }
.w-btn--ghost-light { border: 2px solid #FFFFFF; color: #FFFFFF; background: transparent; }
.w-btn--ghost-light:hover { background: #FFFFFF; color: var(--w-navy); }
.w-btn--ghost-dark { border: 2px solid var(--w-navy); color: var(--w-navy); background: transparent; }
.w-btn--ghost-dark:hover { background: var(--w-navy); color: #FFFFFF; }
.w-btn--ghost-brand { border: 2px solid var(--w-brand); color: var(--w-brand); background: #FFFFFF; }
.w-btn--ghost-brand:hover, .w-btn--ghost-brand:active { background: var(--w-brand); color: #FFFFFF; }
.w-btn--lg { padding: 16px 28px; }
.w-btn--lg.w-btn--wa { padding: 16px 24px; }
.w-btn--lg.w-btn--ghost-dark, .w-btn--lg.w-btn--ghost-light { padding: 14px 24px; }
.w-btn--md { padding: 14px 22px; }
.w-arrow-link { font-family: var(--w-font-head); font-weight: 600; }

/* Bara de sus */
.w-topbar { background: var(--w-navy); color: var(--w-footer-text); font-size: 14px; }
.w-topbar__inner { max-width: var(--w-container); margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.w-topbar a { color: #FFFFFF; text-decoration: none; }
.w-topbar a:hover { color: #FFFFFF; text-decoration: underline; }

/* Antet */
.w-header { background: #FFFFFF; border-bottom: 1px solid var(--w-border); position: sticky; top: 0; z-index: 40; }
.admin-bar .w-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .w-header { top: 0; } }
.w-header__bar { max-width: var(--w-container); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.w-header__logo { display: block; flex: none; }
.w-header__logo img { display: block; width: auto; }
.w-header__logo .logo-f { height: 54px; }
.w-header__logo .logo-c { height: 34px; display: none; }
.w-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.w-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; align-items: center; font-family: var(--w-font-head); font-weight: 500; font-size: 15px; }
.w-nav ul { list-style: none; margin: 0; padding: 0; display: contents; }
.w-nav a { color: var(--w-text); text-decoration: none; }
.w-nav a[aria-current="page"], .w-nav .current-menu-item > a, .w-nav .w-current > a { color: var(--w-brand); }
.w-nav a:hover { color: var(--w-brand); }
.w-nav .dd { position: relative; padding: 10px 0; }
.w-nav .dd > a { display: flex; align-items: center; gap: 4px; }
.w-nav .dd-menu { display: none; position: absolute; top: 100%; left: -12px; min-width: 290px; background: #FFFFFF; border: 1px solid var(--w-border); border-radius: 8px; box-shadow: 0 14px 30px rgba(11,58,90,.16); padding: 8px; z-index: 30; flex-direction: column; }
.w-nav .dd:hover .dd-menu, .w-nav .dd:focus-within .dd-menu { display: flex; }
.w-nav .dd-menu a { padding: 10px 14px; border-radius: 6px; color: var(--w-text); text-decoration: none; font-weight: 500; }
.w-nav .dd-menu a:hover, .w-nav .dd-menu a[aria-current="page"] { background: var(--w-blue-light); color: var(--w-brand); }

.w-icon-btn { width: 46px; height: 46px; border: 1px solid var(--w-input-border); border-radius: 8px; background: #FFFFFF; color: var(--w-navy); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background-color .18s ease, color .18s ease; }
.w-icon-btn:hover { background: var(--w-blue-light); color: var(--w-brand); }
.w-burger { display: none; }
.w-burger .i-close { display: none; }
.w-burger[aria-expanded="true"] .i-close { display: block; }
.w-burger[aria-expanded="true"] .i-open { display: none; }

.w-lang { display: flex; border: 2px solid var(--w-brand); border-radius: 999px; font-family: var(--w-font-head); font-weight: 700; font-size: 14px; }
.w-lang a { color: var(--w-brand); text-decoration: none; padding: 9px 13px; line-height: 1; transition: background-color .18s ease, color .18s ease; }
/* Colțurile rotunjite pe linkuri (nu overflow: hidden), ca zona de atingere extinsă să nu fie tăiată. */
.w-lang a:first-child { border-radius: 999px 0 0 999px; }
.w-lang a:last-child { border-radius: 0 999px 999px 0; }
.w-lang a[aria-current] { background: var(--w-brand); color: #FFFFFF; }
.w-lang a:not([aria-current]):hover { background: var(--w-blue-light); }
.w-header__cta { padding: 12px 20px; font-size: 15px; }

/* Căutare */
.w-search[hidden], .w-mmenu[hidden] { display: none; }
.w-search { border-top: 1px solid var(--w-border); background: var(--w-bg-alt); }
.w-search__inner { max-width: var(--w-container); margin: 0 auto; padding: 14px 24px; display: flex; gap: 10px; }
.w-search label { flex: 1; display: flex; }
.w-search input[type="search"]:focus-visible { outline: revert; outline-offset: revert; }
.w-search input[type="search"] { flex: 1; height: 50px; border: 1px solid var(--w-input-border); border-radius: 8px; padding: 0 16px; font-size: 16px; background: #FFFFFF; min-width: 0; }
.w-search button { height: 50px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--w-navy); color: #FFFFFF; font-family: var(--w-font-head); font-weight: 600; }

/* Meniu mobil */
.w-mmenu { border-top: 1px solid var(--w-border); background: #FFFFFF; padding: 4px 24px 28px; max-height: 80vh; overflow-y: auto; }
.w-mmenu a { color: var(--w-text); text-decoration: none; }
.w-mmenu a:hover { color: var(--w-brand); }
.w-mmenu__big { display: block; padding: 13px 0; border-top: 1px solid var(--w-border); font-family: var(--w-font-head); font-weight: 600; font-size: 18px; }
.w-mmenu__big.is-first { border-top: 0; border-bottom: 1px solid var(--w-border); }
.w-mmenu a.w-mmenu__big[aria-current="page"] { color: var(--w-brand); }
.w-mmenu__label { margin: 18px 0 6px; font-family: var(--w-font-head); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--w-muted); }
.w-mmenu__sub { display: block; padding: 9px 0; font-size: 17px; }
.w-mmenu a.w-mmenu__sub[aria-current="page"] { color: var(--w-brand); }
.w-mmenu__rest { margin-top: 14px; }
.w-mmenu__cta { margin-top: 14px; display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 8px; font-size: 17px; }
.w-mmenu a.w-mmenu__cta { color: var(--w-text); }
.w-mmenu a.w-mmenu__cta:hover { color: #FFFFFF; }
.w-mmenu__contact { margin-top: 18px; padding: 18px; background: var(--w-blue-light); border-radius: 8px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.w-mmenu__contact a { display: inline-block; padding: 8px 0; }
.w-mmenu__contact .tel { font-family: var(--w-font-head); font-weight: 700; font-size: 20px; color: var(--w-navy); }
.w-mmenu__contact .mail { color: var(--w-brand); }
.w-mmenu__contact .addr { color: var(--w-muted); }

@media (min-width: 980px) and (max-width: 1149px) {
	.w-nav { column-gap: 16px; font-size: 14px; }
	.w-header__logo .logo-f { height: 44px; }
	.w-header__bar { gap: 14px; }
	.w-header__actions { gap: 8px; }
	.w-header__cta { padding: 11px 14px; font-size: 14px; }
}
@media (max-width: 979px) {
	.w-nav, .w-header__cta, .w-header__logo .logo-f { display: none !important; }
	.w-burger { display: flex; }
	.w-header__logo .logo-c { display: block; }
}
@media (max-width: 767px) { .w-topbar { display: none; } }
@media (max-width: 374px) {
	.w-header__bar { padding-left: 16px; padding-right: 16px; gap: 8px; }
	.w-header__actions { gap: 6px; }
	.w-header__logo .logo-c { height: 28px; }
	.w-icon-btn { width: 42px; height: 42px; }
	.w-lang a { padding: 9px 9px; }
}

/* Breadcrumb */
.w-breadcrumb { max-width: var(--w-container); margin: 0 auto; padding: 20px 24px 0; font-size: 14px; color: var(--w-muted); }
.w-breadcrumb a { color: var(--w-muted); }
.w-breadcrumb a:hover { color: var(--w-navy); }
.w-breadcrumb .breadcrumb_last, .w-breadcrumb [aria-current] { color: var(--w-text); }

/* Titluri pe mobil (identic cu sursele) */
@media (max-width: 599px) {
	h1 { font-size: 30px !important; line-height: 1.2 !important; }
}
@media (max-width: 374px) {
	h1 { font-size: 27px !important; }
}

/* Subsol */
.w-footer { background: var(--w-navy); color: var(--w-footer-text); font-size: 15px; }
.w-footer__cols { max-width: var(--w-container); margin: 0 auto; padding: 56px 24px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 32px; }
.w-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.w-footer__logo { background: #FFFFFF; border-radius: 6px; padding: 12px 16px; align-self: flex-start; display: block; }
.w-footer__logo img { height: 56px; width: auto; max-width: none; display: block; }
.w-footer__brand p { margin: 0; line-height: 1.55; }
.w-footer__social { display: flex; gap: 10px; margin-top: 4px; }
.w-footer .soc { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--w-footer-line); color: #FFFFFF; display: flex; align-items: center; justify-content: center; transition: background-color .18s ease, border-color .18s ease; }
.w-footer .soc:hover, .w-footer .soc:focus-visible { background: var(--w-kraft); border-color: var(--w-kraft); color: var(--w-text); }
.w-footer__col { display: flex; flex-direction: column; gap: 8px; }
.w-footer__col ul { list-style: none; margin: 0; padding: 0; display: contents; }
.w-footer__col a { color: var(--w-footer-text); text-decoration: none; }
.w-footer__col a:hover { color: #FFFFFF; text-decoration: underline; }
.w-footer__col .w-footer__head, .w-footer__col a.w-footer__head { font-family: var(--w-font-head); font-weight: 600; color: #FFFFFF; text-decoration: none; }
.w-footer__bottom { max-width: var(--w-container); margin: 0 auto; padding: 16px 24px 32px; border-top: 1px solid #23557A; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }
.w-footer__bottom a { color: var(--w-footer-text); }
.w-footer__bottom a:hover { color: #FFFFFF; }
.w-footer__bottom .adv { transition: color .18s ease; }
.w-footer__bottom .adv:hover { color: #F28C28; }
.w-footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.w-footer__legal ul { list-style: none; margin: 0; padding: 0; display: contents; }
@media (max-width: 599px) {
	.w-footer__col, .w-footer__brand { gap: 0; }
	.w-footer__col > a:not(.soc), .w-footer__col li > a { display: inline-block; padding: 7px 0; }
}

/* Bara fixă pe mobil (wrapper-ul e „display: contents”, ca bara să fie lipită de fereastră, ca în design). */
.w-mbar-slot, .w-topbar-slot { display: contents; }
.w-mbar { display: none; }
@media (max-width: 767px) {
	.w-mbar { position: sticky; bottom: 0; z-index: 10; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; padding: 10px 12px 14px; background: #FFFFFF; border-top: 1px solid var(--w-border); box-shadow: 0 -4px 16px rgba(11,58,90,.12); }
	.w-mbar.is-hidden-by-cookie { display: none; }
}
.w-mbar .w-btn { height: 50px; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.w-mbar .w-btn--kraft { font-size: 15px; }
.w-mbar .w-btn--ghost-brand { border-width: 2px; }

/* Conținut text (articole, pagini legale) */
.w-prose { max-width: 820px; margin: 0 auto; padding: 28px 24px 80px; font-size: 17px; line-height: 1.7; }
.w-prose > :first-child { margin-top: 0; }
.w-prose h2 { margin: 36px 0 12px; font-family: var(--w-font-head); font-weight: 700; font-size: 24px; color: var(--w-navy); }
.w-prose h3 { margin: 28px 0 10px; font-family: var(--w-font-head); font-weight: 600; font-size: 20px; color: var(--w-navy); }
.w-prose p { margin: 0 0 14px; }
.w-prose ul, .w-prose ol { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.w-prose .wp-block-table { margin: 0 0 18px; overflow-x: auto; }
.w-prose table { width: 100%; border-collapse: collapse; min-width: 600px; table-layout: auto; }
.w-prose table:has(th:nth-child(4)) { min-width: 560px; }
.w-prose thead th, .w-prose th { text-align: left; padding: 10px 12px; background: var(--w-blue-light); font-size: 14px; font-weight: 600; border: 0; }
.w-prose td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--w-border); font-size: 15px; vertical-align: top; }
.w-prose .wp-block-table thead { border-bottom: 0; }
.w-prose .wp-block-table td, .w-prose .wp-block-table th { border-left: 0; border-right: 0; border-top: 0; }

/* Articol */
.w-article__head { max-width: 820px; margin: 0 auto; padding: 32px 24px 24px; }
.w-article__cat { font-family: var(--w-font-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--w-brand); }
.w-article__head h1 { margin: 10px 0 14px; font-family: var(--w-font-head); font-weight: 700; font-size: 42px; line-height: 1.18; color: var(--w-navy); }
.w-article__meta { margin: 0; color: var(--w-muted); font-size: 15px; }
.w-article__image { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.w-article__image img { width: 100%; height: 440px; object-fit: cover; border-radius: 10px; display: block; background: #FFFFFF; }
.w-article__image img.is-cutout { object-fit: contain; }
.w-article__body { max-width: 820px; margin: 0 auto; padding: 36px 24px 24px; font-size: 18px; line-height: 1.75; }
.w-article__body > :first-child { margin-top: 0; }
.w-article__body p { margin: 0 0 18px; }
.w-article__body p.is-style-lead { margin: 0 0 20px; font-size: 20px; color: var(--w-text); }
.w-article__body h2 { margin: 40px 0 14px; font-family: var(--w-font-head); font-weight: 700; font-size: 28px; line-height: 1.25; color: var(--w-navy); }
.w-article__body h3 { margin: 28px 0 10px; font-family: var(--w-font-head); font-weight: 600; font-size: 21px; color: var(--w-navy); }
.w-article__body ul, .w-article__body ol { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.w-article__body a { color: var(--w-brand); }
.w-article__body a:hover { color: var(--w-navy); }
.w-article__body figure { margin: 0 0 24px; }
.w-article__body figure img { border-radius: 10px; display: block; }
.w-article__body figcaption { font-size: 15px; color: var(--w-muted); margin-top: 8px; }
.w-article__body blockquote { margin: 0 0 24px; padding: 4px 0 4px 20px; border-left: 4px solid var(--w-kraft); color: var(--w-navy); font-style: normal; }
.w-article__body .wp-block-table { margin: 0 0 24px; overflow-x: auto; }
.w-article__body table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 16px; }
.w-article__body th { text-align: left; padding: 10px 12px; background: var(--w-blue-light); font-size: 14px; font-weight: 600; border: 0; }
.w-article__body td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--w-border); font-size: 15px; vertical-align: top; }
.w-article__body .w-toc__list { gap: 4px; margin: 0; padding-left: 22px; }
.w-article__body .w-toc__title { margin: 0 0 8px; }

.w-share { max-width: 820px; margin: 0 auto; padding: 0 24px 48px; }
.w-share__inner { border-top: 1px solid var(--w-border); border-bottom: 1px solid var(--w-border); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.w-share__label { font-family: var(--w-font-head); font-weight: 600; color: var(--w-navy); margin-right: 4px; }
.w-share a { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border: 1px solid var(--w-input-border); border-radius: 8px; background: #FFFFFF; color: var(--w-text); text-decoration: none; font-family: var(--w-font-head); font-weight: 600; font-size: 15px; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.w-share a:hover { transform: translateY(-2px); color: #FFFFFF; }
.w-share .share-fb:hover { background: #1877F2; border-color: #1877F2; }
.w-share .share-wa:hover { background: var(--w-wa); border-color: var(--w-wa); }
.w-share .share-em:hover { background: var(--w-brand); border-color: var(--w-brand); }

.w-article-cta { max-width: var(--w-container); margin: 0 auto; padding: 0 24px 72px; }
.w-article-cta__box { background: var(--w-navy); color: #FFFFFF; border-radius: 12px; padding: 36px 40px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.w-article-cta__box > div:first-child { max-width: 640px; }
.w-article-cta h2 { margin: 0; font-family: var(--w-font-head); font-weight: 700; font-size: 28px; color: #FFFFFF; }
.w-article-cta p { margin: 6px 0 0; color: var(--w-footer-text); }
.w-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Carduri articole (blog, articole similare, căutare) */
.w-related { background: var(--w-blue-light); }
.w-related__inner { max-width: var(--w-container); margin: 0 auto; padding: 64px 24px; }
.w-related h2 { margin: 0 0 28px; font-family: var(--w-font-head); font-weight: 700; font-size: 28px; color: var(--w-navy); }
.w-post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.w-post-card { text-decoration: none; color: var(--w-text); border: 1px solid var(--w-border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; background: #FFFFFF; }
.w-post-card:hover { color: var(--w-text); }
.w-post-card__img { width: 100%; height: 190px; object-fit: cover; display: block; background: #FFFFFF; }
.w-post-card__img.is-cutout { object-fit: contain; }
.w-post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.w-post-card__cat { font-family: var(--w-font-head); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--w-brand); }
.w-post-card__title { margin: 0; font-family: var(--w-font-head); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--w-navy); }
.w-post-card__excerpt { margin: 0; color: var(--w-muted); font-size: 16px; }
.w-post-card__more { margin-top: auto; padding-top: 6px; font-family: var(--w-font-head); font-weight: 600; color: var(--w-brand); }
.w-post-card--featured { grid-column: 1 / -1; }
.w-post-card--featured .w-post-card__img { height: 300px; }
.w-post-card--featured .w-post-card__title { font-size: 28px; line-height: 1.25; }

/* Pagini simple (căutare, 404) */
.w-simple { max-width: var(--w-container); margin: 0 auto; padding: 28px 24px 80px; }
.w-simple h1 { margin: 0; font-family: var(--w-font-head); font-weight: 700; color: var(--w-navy); font-size: 46px; line-height: 1.15; }
.w-simple__lead { margin: 12px 0 0; font-size: 19px; color: var(--w-muted); max-width: 760px; }
.w-simple__form { margin: 28px 0 40px; display: flex; gap: 10px; max-width: 640px; }
.w-simple__form input[type="search"] { flex: 1; height: 50px; border: 1px solid var(--w-input-border); border-radius: 8px; padding: 0 16px; font-size: 16px; min-width: 0; }
.w-simple__form button { height: 50px; padding: 0 22px; border: 0; border-radius: 8px; background: var(--w-navy); color: #FFFFFF; font-family: var(--w-font-head); font-weight: 600; cursor: pointer; }
.w-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.w-results li { border: 1px solid var(--w-border); border-radius: 10px; padding: 22px; }
.w-results h2 { margin: 0 0 6px; font-family: var(--w-font-head); font-weight: 600; font-size: 20px; line-height: 1.3; }
.w-results h2 a { color: var(--w-navy); text-decoration: none; }
.w-results h2 a:hover { color: var(--w-brand); text-decoration: underline; }
.w-results p { margin: 0; color: var(--w-muted); font-size: 16px; }
.w-results .w-results__type { display: block; margin-bottom: 6px; font-family: var(--w-font-head); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--w-brand); }
.w-pagination { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.w-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--w-input-border); border-radius: 8px; text-decoration: none; color: var(--w-text); font-family: var(--w-font-head); font-weight: 600; font-size: 15px; }
.w-pagination .page-numbers.current { background: var(--w-navy); border-color: var(--w-navy); color: #FFFFFF; }
.w-pagination a.page-numbers:hover { background: var(--w-blue-light); }
.w-404__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Blocuri core în pagini (fallback de lățime) */
.w-page > .wp-block-paragraph, .w-page > p, .w-page > .wp-block-heading, .w-page > h2, .w-page > h3, .w-page > ul, .w-page > ol, .w-page > .wp-block-image, .w-page > .wp-block-table, .w-page > .wp-block-quote {
	max-width: var(--w-container); margin-left: auto; margin-right: auto; padding-left: var(--w-gutter); padding-right: var(--w-gutter);
}

/* Galerie (core/gallery, Despre noi) */
.w-gallery-section { max-width: var(--w-container); margin: 0 auto; padding: 0 24px 72px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Zone de atingere de minimum 44 × 44 px pe mobil, fără schimbări vizuale: pseudo-element transparent centrat. */
@media (max-width: 767px) {
	.w-header__logo, .w-lang a, .w-icon-btn, .w-promo__link, .w-pgrid__all, .w-quote__tel, .w-quote__mail, .w-quote__panel-tel, .w-quote__panel-tel2, .w-quote__panel-mail,
	.w-quote__maps, .w-location__link, .w-faq__item summary, .w-footer .soc, .w-footer__col a, .w-footer__bottom a, .w-breadcrumb a, .w-mmenu__contact a, .w-blog .chip,
	.w-topbar a, .w-cookieset__btn, .w-map__label, .w-pcard__more, .w-cgroup__more {
		position: relative;
	}
	.w-header__logo::after, .w-lang a::after, .w-icon-btn::after, .w-promo__link::after, .w-pgrid__all::after, .w-quote__tel::after, .w-quote__mail::after, .w-quote__panel-tel::after,
	.w-quote__panel-tel2::after, .w-quote__panel-mail::after, .w-quote__maps::after, .w-location__link::after, .w-faq__item summary::after, .w-footer .soc::after,
	.w-footer__col a::after, .w-footer__bottom a::after, .w-breadcrumb a::after, .w-mmenu__contact a::after, .w-blog .chip::after {
		content: ""; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%);
	}
}
