/*
Theme Name: Ultra Suin
Description: Site de proiect pentru ULTRA SUIN S.R.L., conform cerințelor de vizibilitate ale Fondului pentru Modernizare: Acasă și Anunțuri.
Version: 1.3.1
Requires at least: 6.3
Requires PHP: 7.4
Author: Zestrero
Text Domain: ultra-suin
License: GPL-2.0-or-later
*/

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("assets/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("assets/fonts/source-serif-4-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("assets/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 200 900; font-display: swap; src: url("assets/fonts/source-serif-4-latin-ext-wght-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }

:root {
	--ink: #17222e;
	--grey: #58595b;
	--navy: #0e47a1;
	--navy-deep: #0a3172;
	--blue: #2f7fd6;
	--line: #d1d3d4;
	--mist: #eff4f8;
	--sun: #f5b301;
	--paper: #fff;
	--display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
	--text: "Source Serif 4", Georgia, serif;
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--logo-edge: max(38px, var(--gutter));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.125rem/1.65 var(--text); }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.wrap { width: min(100%, calc(var(--wrap) + 2 * var(--gutter))); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(720px + 2 * var(--gutter)); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 12px; color: #fff; }

/* Siglele stau pe alb, la minimum 1 cm înălțime și 1 cm de margine. */
.antet { background: var(--paper); }
.antet__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; width: min(100%, calc(var(--wrap) + 2 * var(--logo-edge))); margin-inline: auto; padding: 16px var(--logo-edge); }
.logo { width: auto; max-width: 100%; }
.logo--guvern { height: 76px; }
.logo--ce { height: 64px; }
.logo--fm { height: 64px; }
.logo--bei { height: 44px; }
.antet__fm { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.antet__url { color: var(--navy); font: 600 .9rem/1.2 var(--display); overflow-wrap: anywhere; }

.site-header { background: var(--navy); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-block: 12px; }
.site-brand { color: #fff; font: 800 1.15rem/1.1 var(--display); text-decoration: none; }
.site-brand:hover { color: #fff; }
.custom-logo { max-height: 44px; width: auto; }
.site-nav__list { display: flex; gap: clamp(16px, 3vw, 32px); margin: 0; padding: 0; list-style: none; }
.site-nav a { padding-block: 5px; color: #fff; font: 600 1.05rem/1.2 var(--display); text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav .current-menu-item a { border-bottom-color: var(--sun); color: #fff; }
.site-header :focus-visible { outline-color: var(--sun); }

.button { display: inline-block; padding: 14px 22px; background: var(--navy); color: #fff; font: 700 1.05rem/1.2 var(--display); text-decoration: none; }
.button:hover { background: var(--navy-deep); color: #fff; }

.banner { background: var(--paper); }
.banner .antet__inner { padding-block: 12px 4px; }
.banner .logo--guvern { height: 62px; }
.banner .logo--ce { height: 52px; }
.banner .logo--fm { height: 52px; }
.banner .logo--bei { height: 38px; }
.banner .antet__url { font-size: .8rem; }
.banner__copy { padding-block: 10px 4px; text-align: center; }
.banner__notice { display: inline-block; margin-bottom: 10px; padding: 4px 12px; background: var(--sun); color: var(--ink); font: 600 .92rem/1.3 var(--display); text-decoration: none; }
.banner__notice:hover { background: #ffc61f; color: var(--ink); text-decoration: underline; }
.banner__title { max-width: 62ch; margin: 0 auto; color: var(--navy); font: 750 clamp(1.3rem, 2.3vw, 1.8rem)/1.12 var(--display); letter-spacing: -.012em; text-wrap: balance; }
.banner__summary { margin: 8px auto 0; color: var(--grey); font-size: 1.02rem; line-height: 1.4; }
.banner .funding-note__inner { padding-block: 6px 12px; }
.banner .funding-note p { font-size: 1.05rem; }
.dossier { scroll-margin-top: 12px; }

.latest { padding-block: clamp(40px, 6vw, 72px); background: var(--mist); }
.latest__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.latest__head a { font: 600 1.05rem/1.2 var(--display); }

.notices { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--navy); }
.notice { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 8px 32px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.notice__date { display: block; font-family: var(--display); }
.notice__day { display: block; color: var(--navy); font-size: 2.6rem; font-weight: 750; line-height: 1; }
.notice__month { display: block; margin-top: 6px; color: var(--grey); font-size: .95rem; line-height: 1.25; }
.notice__title { margin-bottom: 8px; font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 650; line-height: 1.22; }
.notice__title a { color: var(--ink); text-decoration: none; }
.notice__title a:hover { color: var(--navy); text-decoration: underline; }
.notice__body p { max-width: 68ch; margin-bottom: 0; color: var(--grey); }
.notice__body .notice__doc { margin-top: 10px; color: var(--ink); font: 600 .95rem/1.3 var(--display); }
.empty { padding-block: 28px; margin: 0; color: var(--grey); border-top: 3px solid var(--navy); }

.page-head { padding-block: clamp(32px, 5vw, 60px) clamp(24px, 4vw, 40px); background: var(--mist); }
.page-head h1 { color: var(--navy); font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 750; }
.article .page-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-head__lead { max-width: 60ch; margin-top: 14px; }
.page-head__lead p:last-child { margin-bottom: 0; }
.page-head .button { margin-top: 12px; }
.page-head__meta { margin: 14px 0 0; color: var(--grey); font: 500 1rem/1.3 var(--display); }
.back-link { display: inline-block; margin-bottom: 16px; font: 600 1rem/1.3 var(--display); }

.dossier__head { padding-block: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 44px); background: var(--mist); }
.dossier__head h2 { color: var(--navy); }
.dossier__intro { max-width: 68ch; margin-top: 16px; }
.dossier__intro p:last-child { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px 32px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.facts dt { color: var(--grey); font: 500 .92rem/1.3 var(--display); }
.facts dd { margin: 2px 0 0; font-weight: 600; line-height: 1.35; }

.entry { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 16px clamp(32px, 6vw, 72px); padding-block: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.entry h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-weight: 700; color: var(--navy); }
.entry__body { min-width: 0; }
.entry__body > :last-child { margin-bottom: 0; }
.amount { margin-bottom: 14px; color: var(--navy); font: 750 clamp(2rem, 4.6vw, 3.2rem)/1.05 var(--display); letter-spacing: -.015em; }
.money { display: grid; gap: 12px; margin: 0; }
.money dt { color: var(--grey); font: 500 .95rem/1.3 var(--display); }
.money dd { margin: 2px 0 0; font-weight: 600; line-height: 1.35; }
.grid-table { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.grid-table th, .grid-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.grid-table th { color: var(--grey); font: 500 .92rem/1.3 var(--display); }
.grid-table tr:last-child td { border-bottom: 0; }
.plain-list { margin: 0; padding: 0 0 0 1.1em; }
.plain-list li { margin-bottom: .45em; }
.plain-list li::marker { color: var(--blue); }
.indicators { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 26px 40px; margin: 0; }
.indicators dd { margin: 0; color: var(--navy); font: 700 1.5rem/1.15 var(--display); }
.indicators dt { margin-top: 4px; color: var(--grey); font-size: 1rem; line-height: 1.35; }
.contact-list { margin: 0; padding: 0; list-style: none; font-weight: 600; }


.funding-note { background: var(--paper); }
.funding-note__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; width: min(100%, calc(var(--wrap) + 2 * var(--logo-edge))); margin-inline: auto; padding: 22px var(--logo-edge); }
.funding-note p { margin: 0; color: var(--navy); font: 700 clamp(1.15rem, 2.2vw, 1.4rem)/1.25 var(--display); }

.listing { padding-block: clamp(32px, 5vw, 56px) clamp(48px, 7vw, 88px); }
.pagination { margin-top: 32px; font-family: var(--display); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.pagination .page-numbers { padding: 6px 10px; }
.pagination .current { background: var(--navy); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.content { padding-block: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 40px); }
.content > * + * { margin-top: 1.1em; }
.content p { margin-bottom: 0; }
.content h2 { margin-top: 1.6em; font-size: 1.65rem; }
.content h3 { margin-top: 1.4em; font-size: 1.3rem; }
.content ul, .content ol { padding-left: 1.3em; }
.content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.content th, .content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.content th { background: var(--mist); font-family: var(--display); }
.content .wp-block-table { overflow-x: auto; }
.content .wp-block-file { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 14px 16px; background: var(--mist); }
.content .wp-block-file__button { padding: 8px 14px; background: var(--navy); color: #fff; font: 600 .95rem/1.2 var(--display); text-decoration: none; }
.content .wp-block-file__embed { display: none; }

.site-footer { padding-block: clamp(36px, 5vw, 56px) 20px; background: var(--navy-deep); color: #dfe8f1; font-size: 1.02rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px clamp(32px, 6vw, 72px); }
.site-footer__name, .site-footer__heading { margin-bottom: 12px; color: #fff; font-size: 1.2rem; font-weight: 700; }
.site-footer p { margin-bottom: .7em; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sun); }
.site-footer__list { margin: 0; padding: 0; list-style: none; }
.site-footer__list li { margin-bottom: .35em; }
.site-footer__copy { margin-top: 28px; font-family: var(--display); font-size: .92rem; }
.site-footer__copy > div, .site-footer__copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; }
.site-footer__copy p { margin: 0; padding-top: 14px; }

@media (max-width: 860px) {
	.antet__inner { flex-wrap: wrap; gap: 14px 16px; }
	.antet__fm { order: 3; flex: 1 1 100%; }
	.logo--fm, .banner .logo--fm { height: auto; width: min(100%, 400px); }
	.logo--guvern, .banner .logo--guvern { height: 58px; }
	.logo--ce, .banner .logo--ce { height: 46px; }
	.entry { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
	body { font-size: 1.0625rem; }
	.notice { grid-template-columns: minmax(0, 1fr); padding-block: 20px; }
	.notice__date { display: flex; align-items: baseline; gap: 8px; }
	.notice__day { font-size: 1.6rem; }
	.banner .funding-note__inner { justify-content: center; text-align: center; }
	.notice__month { margin-top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
	.button, .site-nav a { transition: background-color .15s, border-color .15s; }
}
@media print {
	@page { margin: 12mm; }
	body { font-size: 11pt; }
	.site-header, .site-footer, .button, .back-link, .todo { display: none; }
	.antet__inner { flex-wrap: nowrap; padding-inline: 0; }
	.antet__fm { order: 0; flex: 0 1 auto; }
	.logo--fm { width: auto; height: 52px; }
	.funding-note__inner { padding-inline: 0; }
	.dossier__head, .page-head { background: none; }
	.entry { break-inside: avoid; }
}
