/* ==========================================================================
   goga.ro · CSS suplimentar pentru tema Shoreditch (WordPress.com)
   Versiunea 4.1 „Business Edition” · octombrie 2026 (subsol refăcut)

   Alb / negru / albastru · identitate de corporație · construit pentru distribuire

   CE FACE
   · Antet alb, fix la derulare, cu fundal semitransparent (blur) și o bară
     albastră de progres al citirii; nume negru, slogan opțional, meniu cu
     majuscule mici, pagina curentă subliniată albastru.
   · Tipografie editorială: titluri mari, negre, bold; text lat de ~740px;
     meta (dată · comentarii) ca „kicker” cu majuscule mici deasupra titlului.
   · Video: pe listă, cadru lat (1040px) cu umbră; pe pagina articolului,
     primul video devine o „bandă cinema” neagră, din margine în margine.
   · Articole cu imagine reprezentativă: „hero” cinematografic cu degradeu.
   · Angajament: caseta de abonare de sub articol devine card; butoanele
     de distribuire (Jetpack) devin pastile; articolele similare, navigarea
     între articole și caseta de autor sunt stilizate ca elemente de card.
   · Subsol (nou în 4.1): „Subsol sus” = bandă albastră de conversie cu
     textură fină, pe două coloane (text + formular de abonare pe card);
     „Subsol jos” = director negru: coloanele Aurelian Liviu GOGA · Legi ·
     Afaceri cu lățime adaptată conținutului (meniurile lungi pe două
     sub-coloane), titluri cu liniuță albastră, săgeată la hover; dedesubt,
     bara finală cu © și linkuri utile. Butonul plutitor „Abonează-te” se
     retrage când subsolul intră în ecran.
   · Un mic sistem de blocuri pentru analize (clase ajutătoare, secțiunea 9):
     kicker, paragraf de deschidere, casetă de reținut, casetă-cheie neagră,
     bandă CTA albastră, card, cifre mari, bandă cinema.

   INSTALARE
   1. Aspect → Personalizare → CSS suplimentar → înlocuiește tot conținutul
      cu acest fișier → Publică. (Nu îl combina cu versiunile vechi.)
   2. Widgeturi (Aspect → Widgeturi): zona „Sidebar” este ascunsă.
      · „Subsol sus” = banda albastră: un bloc Coloane cu (stânga) Paragraf
        cu clasa gg-kicker, Titlu și Paragraf, iar (dreapta) blocul „Abonare”
        (Jetpack) și un Paragraf cu clasa gg-footer-cta__alt. Fără Coloane,
        banda se centrează. Lasă 1 coloană în Personalizare → Opțiuni temă.
      · „Subsol jos” = coloanele de meniuri (widgeturi „Meniu de navigare”),
        apoi, ultimul, un Grup cu clasa gg-footer-bar care conține un Paragraf
        („© 2026 …”, clasa gg-footer-copy) și o Listă de linkuri (clasa
        gg-footer-legal). Anul din © se actualizează manual în acest widget.
      · Identitate site → Recunoștințe în subsol: „Ascunde” (bara gg-footer-bar
        ține locul creditului platformei).
      · Widgetul „Cookies & Consents Banner” poate rămâne oriunde.
   3. Pentru butoanele de distribuire și articolele similare: Jetpack →
      Setări → Partajare (butoane) și Trafic (articole similare).
   4. Sloganul din Setări → General apare sub numele site-ului, în antet.

   PRINCIPII
   · Selectorii sunt cei reali din Shoreditch (#masthead, #content, #primary,
     #main, #secondary, #tertiary, #colophon). ID-urile câștigă în fața regulilor
     temei și ale „Culorilor personalizate” fără „!important”; excepția sunt
     câteva elemente Jetpack cu stiluri inline (blocul de abonare).
   · Fontul (Ubuntu, greutățile 400 și 700) rămâne cel din Personalizare →
     Fonturi; titlurile sunt forțate pe 700 (vezi --gg-heading-weight).
   · Fără JavaScript și fără modificări ale temei: totul se aplică pe marcajul
     existent al temei, al widgeturilor și al blocurilor.

   CLASE AJUTĂTOARE (Bloc → Avansat → Clase CSS suplimentare)
   gg-kicker    paragraf-etichetă cu majuscule mici, albastru (deasupra unui titlu)
   gg-lead      paragraf de deschidere, mai mare
   gg-note      casetă „de reținut”: fundal albastru deschis, bară albastră (Grup sau Paragraf)
   gg-key       casetă-cheie: fundal negru, text alb (Grup)
   gg-cta       bandă de apel la acțiune: fundal albastru, text alb, buton negru (Grup)
   gg-card      card alb cu contur fin (Grup)
   gg-stat      bloc Coloane cu cifre mari: primul paragraf din fiecare coloană = cifra
   gg-cinema    bandă neagră din margine în margine pentru un video/grup
   gg-wide      forțează un bloc la lățimea media (1040px)
   gg-narrow    forțează un bloc media înapoi la lățimea textului
   gg-pdf       grup/HTML personalizat care conține un iframe/object cu PDF
   gg-ratio-4-3   gg-ratio-1-1   gg-ratio-9-16   proporția unui iframe/video
   În subsol: gg-footer-cta__alt (rând sub formular), gg-footer-bar (bara finală),
   gg-footer-copy (textul ©), gg-footer-legal (lista de linkuri utile)
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. Paletă & dimensiuni — modifici o singură dată aici
   -------------------------------------------------------------------------- */
:root {
	/* Culori */
	--gg-black: #0b0b0c;              /* titluri, numele site-ului, benzi negre, bara de subsol */
	--gg-ink: #1c1f24;                /* text curent */
	--gg-muted: #5f6672;              /* date, meta, legende */
	--gg-blue: #0a4fc4;               /* linkuri, butoane, accente, banda CTA */
	--gg-blue-strong: #083b93;        /* hover / focus */
	--gg-blue-soft: #eaf1fd;          /* fundal discret pentru accente */
	--gg-line: #e4e7eb;               /* linii, borduri fine */
	--gg-line-strong: #c9ced6;        /* borduri câmpuri, butoane contur */
	--gg-surface: #f5f7fa;            /* fundal casete (PDF, cod, tabele) */
	--gg-white: #ffffff;
	--gg-media-bg: #0b0b0c;           /* fundalul playerelor video până se încarcă */

	/* Antet */
	--gg-brand-line: 3px;             /* linia albastră de deasupra antetului; 0 = fără linie */
	--gg-progress: 3px;               /* bara de progres al citirii (antet fix); 0 = fără bară */
	--gg-header-h: 4.75rem;           /* înălțimea minimă a antetului */
	--gg-heading-weight: 700;         /* greutatea titlurilor (Ubuntu are 400 și 700) */

	/* Banda de conversie din subsol („Subsol sus” / Top Footer) */
	--gg-cta-bg: #0a4fc4;
	--gg-cta-bg-deep: #062f7a;        /* capătul degradeului */
	--gg-cta-ink: #ffffff;
	--gg-cta-button-bg: #0b0b0c;
	--gg-cta-button-ink: #ffffff;

	/* Subsolul propriu-zis („Subsol jos” + #colophon) — un singur bloc închis la culoare.
	   Pentru subsol alb, folosește valorile din comentarii. */
	--gg-footer-bg: #0b0b0c;                         /* alb: #ffffff */
	--gg-footer-title: #ffffff;                      /* alb: #0b0b0c — titlurile coloanelor */
	--gg-footer-ink: rgba(255, 255, 255, 0.62);      /* alb: #5f6672 — text, ©, linkuri mici */
	--gg-footer-link: rgba(255, 255, 255, 0.86);     /* alb: #1c1f24 — linkurile din coloane */
	--gg-footer-link-hover: #ffffff;                 /* alb: #0a4fc4 */
	--gg-footer-line: rgba(255, 255, 255, 0.13);     /* alb: #e4e7eb — linii fine */
	--gg-footer-hover: rgba(255, 255, 255, 0.08);    /* alb: #f5f7fa — fundal la hover */
	--gg-footer-accent: #4a86ff;                     /* alb: #0a4fc4 — liniuța de sub titluri, săgeți */

	/* Dimensiuni */
	--gg-text: 46rem;                                 /* 736px – coloana de text */
	--gg-wide: 65rem;                                 /* 1040px – video, PDF, alignwide, antet, subsol */
	--gg-gutter: clamp(1rem, 4vw, 2.5rem);            /* margine laterală (16px pe telefon) */
	--gg-space: clamp(2.25rem, 5vw, 4.5rem);          /* spațiu vertical între secțiuni */
	--gg-radius: 4px;
	--gg-radius-lg: 8px;
	--gg-shadow: 0 1px 2px rgba(11, 11, 12, 0.05), 0 14px 36px rgba(11, 11, 12, 0.10);
	--gg-shadow-soft: 0 1px 2px rgba(11, 11, 12, 0.04), 0 6px 20px rgba(11, 11, 12, 0.06);
}


/* --------------------------------------------------------------------------
   1. Bază: tipografie, linkuri, selecție, focus
   -------------------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
}
#page {
	overflow-x: clip;                     /* blocurile „lățime completă” nu produc derulare orizontală */
}
body {
	background: var(--gg-white);
	color: var(--gg-ink);
	font-size: 1.0625rem;                 /* 17px pe telefon */
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

@media screen and (min-width: 768px) {
	body,
	button,
	input,
	select,
	textarea {
		font-size: 1.125rem;              /* 18px pe tabletă/desktop (tema pune 20px) */
	}
}
@media screen and (min-width: 1024px) {
	.single #primary .entry-content,
	.page #primary .entry-content {
		font-size: 1.1875rem;             /* 19px pentru citit pe articole și pagini */
		line-height: 1.7;
	}
}

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-header {
	color: var(--gg-black);
	font-weight: var(--gg-heading-weight);
	letter-spacing: -0.02em;
	text-wrap: balance;
}
/* „Fonturile personalizate” ale WordPress.com forțează titlurile pe 400 — le readucem pe 700 */
.wf-active .site-title,
.wf-active h1,
.wf-active h2:not(.author-title),
.wf-active h3,
.wf-active h4,
.wf-active h5,
.wf-active h6,
.wf-active .entry-title,
.wf-active .page-title,
.wf-active .widget-title,
.wf-active .post-navigation .post-title,
.wf-active .comments-title,
.wf-active .comment-reply-title {
	font-weight: var(--gg-heading-weight);
}

h1, .entry-title {
	font-size: clamp(1.875rem, 1.25rem + 2.4vw, 2.75rem);
	line-height: 1.12;
}
h2, .comments-title, .comment-reply-title {
	font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2rem);
	line-height: 1.2;
}
h3, .page-title, .widget-title, .widgettitle {
	font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
	line-height: 1.3;
}
h4 { font-size: 1.1875rem; line-height: 1.35; }
h5 { font-size: 1.0625rem; line-height: 1.4; }
h6 { font-size: 0.8125rem; line-height: 1.4; letter-spacing: 0.1em; text-transform: uppercase; }

.entry-content h2 { margin-top: 2.25em; margin-bottom: 0.75em; }
.entry-content h3 { margin-top: 1.75em; margin-bottom: 0.6em; }
.entry-content h4 { margin-top: 1.5em; margin-bottom: 0.5em; }

address, p, pre { margin: 0 0 1.4em; }
p { text-wrap: pretty; }
li { margin-bottom: 0.35em; }
li::marker { color: var(--gg-blue); }
label { color: var(--gg-ink); }
strong, b { font-weight: 700; }

a {
	color: var(--gg-blue);
	text-decoration: none;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover,
a:focus {
	color: var(--gg-blue-strong);
}

/* Linkurile din conținut: subliniere fină; la hover devin negre, sublinierea plină */
.entry-content a,
.entry-summary a,
.page-content a,
.comment-content a {
	text-decoration: underline;
	text-decoration-color: rgba(10, 79, 196, 0.35);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
.entry-content a:hover,
.entry-summary a:hover,
.page-content a:hover,
.comment-content a:hover {
	color: var(--gg-black);
	text-decoration: underline;
	text-decoration-color: currentColor;
}

::selection {
	background: var(--gg-blue);
	color: var(--gg-white);
}

:focus-visible,
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--gg-blue);
	outline-offset: 2px;
}


/* --------------------------------------------------------------------------
   2. Butoane & formulare — colțuri de 4px, fără majuscule, fără „pastilă”
   -------------------------------------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wp-block-button__link,
.wp-block-button .wp-block-button__link,
.wp-element-button,
.wp-block-search__button,
.wp-block-file a.wp-block-file__button,
.wp-block-file a.wp-block-file__button:visited {
	background: var(--gg-blue);
	color: var(--gg-white);
	border: 0;
	border-radius: var(--gg-radius);
	box-shadow: none;
	text-shadow: none;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
	padding: 0.8em 1.4em;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus,
.wp-element-button:hover,
.wp-element-button:focus,
.wp-block-search__button:hover,
.wp-block-search__button:focus,
.wp-block-file a.wp-block-file__button:hover,
.wp-block-file a.wp-block-file__button:focus {
	background: var(--gg-black);
	color: var(--gg-white);
	outline: none;
}
.entry-content a.wp-block-file__button,
.entry-content a.wp-block-button__link,
.entry-content a.button {
	text-decoration: none;
}
/* Stilul „Contur” al blocului Buton — negru, discret */
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) {
	background: transparent;
	color: var(--gg-black);
	border: 1.5px solid var(--gg-black);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
	background: var(--gg-black);
	color: var(--gg-white);
	border-color: var(--gg-black);
}
/* Butonul „Înapoi sus” (telefon) — bară neagră, fără colțuri */
.back-top,
.back-top:hover,
.back-top:focus {
	background: var(--gg-black);
	color: var(--gg-white);
	border-radius: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select,
.wp-block-search__input {
	background: var(--gg-white);
	color: var(--gg-ink);
	border: 1px solid var(--gg-line-strong);
	border-radius: var(--gg-radius);
	box-shadow: none;
	padding: 0.65em 0.9em;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus,
.wp-block-search__input:focus {
	border-color: var(--gg-blue);
	box-shadow: 0 0 0 3px rgba(10, 79, 196, 0.16);
	outline: none;
}
::placeholder {
	color: var(--gg-muted);
	opacity: 1;
}
.wp-block-search__button.has-icon {
	padding: 0.65em 0.95em;
}
/* Formularul de căutare clasic al temei (widgetul „Caută” vechi): lupă albastră */
.search-form .search-submit,
.search-form .search-submit:hover,
.search-form .search-submit:focus {
	background: transparent;
}
.search-form .search-submit:before {
	background: var(--gg-blue);
}
.search-form .search-submit:hover:before,
.search-form .search-submit:focus:before {
	background: var(--gg-black);
}


/* --------------------------------------------------------------------------
   3. Antet — alb, linie albastră sus, blur la derulare, bară de progres
   -------------------------------------------------------------------------- */
#masthead {
	background: var(--gg-white);
	border-top: var(--gg-brand-line) solid var(--gg-blue);
	border-bottom: 1px solid var(--gg-line);
	padding: 0;
}
#masthead .site-header-wrapper {
	width: 100%;
	max-width: calc(var(--gg-wide) + 2 * var(--gg-gutter));
	min-height: var(--gg-header-h);
	padding: 0 var(--gg-gutter);
}
#masthead .site-branding {
	margin: 0 auto 0 0;                   /* împinge meniul în dreapta */
	padding: 1rem 1.5rem 1rem 0;
}
#masthead .site-title {
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0;
	text-transform: none;
}
#masthead .site-title a,
#masthead .site-title a:visited {
	color: var(--gg-black);
}
#masthead .site-title a:hover,
#masthead .site-title a:focus {
	color: var(--gg-blue);
}
/* Sloganul (Setări → General) apare ca linie discretă sub nume */
#masthead .site-description {
	display: block;
	margin: 0.2rem 0 0;
	color: var(--gg-muted);
	font-size: 0.8125rem;
	letter-spacing: 0.01em;
	line-height: 1.3;
}
#masthead .site-description:empty {
	display: none;
}
#masthead .custom-logo-link {
	display: block;
	line-height: 0;
}
#masthead .custom-logo {
	max-width: 180px;
	height: auto;
}
.wp-custom-logo #masthead .site-title {
	margin-top: 0.5rem;
}

/* Meniul principal: majuscule mici, bold, negru; pagina curentă subliniată albastru */
#masthead .main-navigation {
	margin: 0;
}
#masthead .main-navigation ul,
#masthead .main-navigation.toggled-on ul {
	color: var(--gg-line);               /* liniile meniului pe telefon (bordurile temei folosesc currentColor) */
	font-size: 0.8125rem;
}
#masthead .main-navigation a {
	color: var(--gg-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
#masthead .main-navigation a:hover,
#masthead .main-navigation a:focus {
	color: var(--gg-blue);
}
#masthead .main-navigation .primary-menu > li > a {
	border-color: transparent;
	padding-top: 0.4em;
	padding-bottom: 0.4em;
}
#masthead .main-navigation .primary-menu .current_page_item > a,
#masthead .main-navigation .primary-menu .current-menu-item > a,
#masthead .main-navigation .primary-menu .current_page_ancestor > a {
	border-color: var(--gg-blue);
	color: var(--gg-black);
}
#masthead .main-navigation .menu-item-has-children > a:after,
#masthead .main-navigation ul ul .menu-item-has-children > a:after {
	color: var(--gg-muted);
}
#masthead .main-navigation ul ul {
	background: var(--gg-white);
	border-color: var(--gg-line);
	box-shadow: var(--gg-shadow);
}
#masthead .main-navigation ul ul li {
	border-color: var(--gg-line);
}
#masthead .main-navigation ul ul a {
	font-size: 0.75rem;
	letter-spacing: 0.06em;
}

/* Meniul pe telefon: linii fine, buton „Meniu” cu contur */
#masthead .main-navigation li,
#masthead .main-navigation .primary-menu {
	border-color: var(--gg-line);
}
#masthead .menu-toggle {
	margin: 0;
	background: transparent;
	color: var(--gg-black);
	border: 1.5px solid var(--gg-black);
	border-radius: var(--gg-radius);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0.6em 1em;
}
#masthead .menu-toggle:hover,
#masthead .menu-toggle:focus,
#masthead .menu-toggle.toggled-on {
	background: var(--gg-black);
	color: var(--gg-white);
	border-color: var(--gg-black);
}
#masthead .dropdown-toggle,
#masthead .dropdown-toggle:hover,
#masthead .dropdown-toggle:focus {
	background: transparent;
	color: var(--gg-black);
	border-color: var(--gg-line);
}
#masthead .dropdown-toggle:hover,
#masthead .dropdown-toggle:focus {
	background: var(--gg-surface);
}

/* Antet fix (opțiunea „Fixed header when scrolling down”): fundal semitransparent cu blur,
   umbră discretă când pagina e derulată, ancorele nu se ascund sub antet */
@media screen and (min-width: 896px) {
	.sticky-header #masthead {
		background: rgba(255, 255, 255, 0.88);
		-webkit-backdrop-filter: saturate(180%) blur(14px);
		backdrop-filter: saturate(180%) blur(14px);
		transition: box-shadow 0.25s ease;
	}
	.sticky-header.scrolling #masthead {
		box-shadow: 0 10px 30px rgba(11, 11, 12, 0.07);
	}
	.sticky-header #content {
		padding-top: calc(var(--gg-header-h) + var(--gg-brand-line) + 1px);
	}
	html {
		scroll-padding-top: calc(var(--gg-header-h) + 1.5rem);
	}
}
/* Bara de progres al citirii — doar în browserele cu animații legate de derulare
   (Chrome/Edge 115+, Safari 26+, Firefox recent); în rest nu apare nimic */
@supports (animation-timeline: scroll()) {
	.sticky-header #masthead::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: -1px;
		height: var(--gg-progress);
		background: var(--gg-blue);
		transform-origin: 0 50%;
		transform: scaleX(0);
		animation: gg-progress linear both;
		animation-timeline: scroll(root);
		pointer-events: none;
	}
}
@keyframes gg-progress {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}


/* --------------------------------------------------------------------------
   4. O singură coloană — containerul principal, articole, hero
   -------------------------------------------------------------------------- */
#content .site-content-wrapper {
	display: block;
	width: 100%;
	max-width: calc(var(--gg-wide) + 2 * var(--gg-gutter));
	margin: 0 auto;
	padding: 0 var(--gg-gutter);
}
#primary {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	float: none;
}
#main {
	padding: 0;
}
#secondary {
	display: none;                        /* zona „Sidebar”; widgeturile merg în subsol (secțiunea 12) */
}

#primary .hentry-wrapper,
#primary .entry-hero-wrapper {
	width: 100%;
	max-width: none;
	margin: 0;
}

/* Articole: doar aer și o linie fină între ele (fără carduri, fără umbre) */
#main .hentry {
	margin: 0;
	padding: var(--gg-space) 0;
	border: 0;
	background: transparent;
}
#main .hentry + .hentry {
	margin-top: 0;
	border-top: 1px solid var(--gg-line);
}
#main .hentry:last-of-type {
	margin-bottom: 0;
}

/* Titlu, meta și text stau pe coloana îngustă; conținutul poate folosi toată lățimea */
#primary .hentry-wrapper {
	display: flex;
	flex-direction: column;
}
#primary .entry-header,
#primary .entry-footer,
#primary .entry-summary,
#primary .entry-author {
	width: 100%;
	max-width: var(--gg-text);
	margin-left: auto;
	margin-right: auto;
}
#primary .entry-content {
	order: 2;                             /* ordinea vizuală: meta (0) → titlu (1) → conținut (2) */
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
}
/* Specificitate mică intenționat (1,1,0): regulile pentru media din secțiunea 5 o depășesc */
#primary .entry-content > * {
	max-width: var(--gg-text);
	margin-left: auto;
	margin-right: auto;
}
/* Imaginile flotante rămân în interiorul coloanei de text */
#primary .entry-content > .alignleft {
	max-width: 50%;
	margin-left: max(0px, calc((100% - var(--gg-text)) / 2));
	margin-right: 1.5em;
}
#primary .entry-content > .alignright {
	max-width: 50%;
	margin-right: max(0px, calc((100% - var(--gg-text)) / 2));
	margin-left: 1.5em;
}

/* Meta (dată · comentarii) = „kicker” cu majuscule mici deasupra titlului */
#primary .entry-header {
	order: 1;
	margin-bottom: 1.5rem;
}
#primary .entry-title {
	margin: 0;
	color: var(--gg-black);
}
#primary .entry-title a {
	color: var(--gg-black);
	text-decoration: none;
	transition: color 0.15s ease;
}
#primary .entry-title a:hover,
#primary .entry-title a:focus {
	color: var(--gg-blue);
}
#primary .entry-footer {
	order: 0;
}
#primary .entry-footer,
#primary .entry-meta {
	color: var(--gg-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}
#primary .entry-footer a,
#primary .entry-meta a {
	color: var(--gg-muted);
}
#primary .entry-footer a:hover,
#primary .entry-meta a:hover {
	color: var(--gg-blue);
}
#primary .entry-footer > span,
#primary .entry-meta > span {
	padding: 0;
}
#primary .entry-footer > span:last-of-type {
	margin-bottom: 0;
}
#primary .entry-footer > span:not(:last-child):after {
	content: "\00b7";                     /* separator „·” */
	color: var(--gg-line-strong);
	padding: 0 0.6em;
}
/* Categoriile (dacă le activezi din Personalizare → Opțiuni conținut) apar ca etichetă albastră */
#primary .entry-meta .cat-links {
	clip: auto;
	position: static;
	height: auto;
	width: auto;
	overflow: visible;
}
#primary .entry-meta .cat-links a {
	color: var(--gg-blue);
}
/* Paragraful de deschidere al unui articol/pagini, puțin mai mare */
.single #primary .entry-content > p:first-of-type,
.page #primary .entry-content > p:first-of-type {
	font-size: 1.12em;
	line-height: 1.6;
	color: var(--gg-black);
}

/* Caseta de căutare din articolul „reprezentativ” (articol fără titlu, pe listă/arhive/căutare):
   bandă gri deschis, din margine în margine, fără etichetă dedesubt */
:is(.blog, .archive, .search) #main .hentry:not(:has(.entry-title)) {
	padding: 2.25rem 0;
	background: var(--gg-surface);
	box-shadow: 0 0 0 100vmax var(--gg-surface);
	clip-path: inset(0 -100vmax);
}
:is(.blog, .archive, .search) #main .hentry:not(:has(.entry-title)) .entry-footer,
:is(.blog, .archive, .search) #main .hentry:not(:has(.entry-title)) .entry-header {
	display: none;
}
:is(.blog, .archive, .search) #main .hentry:not(:has(.entry-title)) .wp-block-search__input {
	font-size: 1.0625rem;
	padding: 0.85em 1.1em;
	border-color: var(--gg-line-strong);
}
:is(.blog, .archive, .search) #main .hentry:not(:has(.entry-title)) .wp-block-search__button {
	padding: 0.85em 1.1em;
}
:is(.blog, .archive, .search) #main .hentry:not(:has(.entry-title)) + .hentry,
:is(.blog, .archive, .search) #main .page-header + .hentry:not(:has(.entry-title)) {
	border-top: 0;
}

/* Articole cu imagine reprezentativă în listă: „hero” cu degradeu, text alb */
#primary .has-post-thumbnail .entry-header {
	order: 0;
	width: 100%;
	max-width: none;
	margin: 0 0 1.5rem;
	min-height: 44vh;
	border-radius: var(--gg-radius-lg);
	overflow: hidden;
	background-color: var(--gg-black);
	color: var(--gg-white);
}
#primary .has-post-thumbnail .entry-header:before {
	background: linear-gradient(180deg, rgba(11, 11, 12, 0.05) 0%, rgba(11, 11, 12, 0.72) 100%);
}
#primary .has-post-thumbnail .entry-footer {
	order: 1;
}
#primary .has-post-thumbnail .entry-header-wrapper {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 2rem var(--gg-gutter);
}
#primary .has-post-thumbnail .entry-header .entry-title,
#primary .has-post-thumbnail .entry-header .entry-title a,
#primary .has-post-thumbnail .entry-header a {
	color: var(--gg-white);
}
#primary .has-post-thumbnail .entry-header .entry-title a:hover,
#primary .has-post-thumbnail .entry-header .entry-title a:focus {
	color: rgba(255, 255, 255, 0.8);
}

/* Articol individual cu imagine reprezentativă: banda „hero” cinematografică de deasupra conținutului */
.entry-hero {
	background-color: var(--gg-black);
	min-height: 52vh;
}
.entry-hero:before {
	background: linear-gradient(180deg, rgba(11, 11, 12, 0.1) 0%, rgba(11, 11, 12, 0.78) 100%);
}
.entry-hero .entry-hero-wrapper {
	width: 100%;
	max-width: calc(var(--gg-text) + 2 * var(--gg-gutter));
	padding-left: var(--gg-gutter);
	padding-right: var(--gg-gutter);
}
.entry-hero .entry-title {
	font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem);
	line-height: 1.08;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.entry-hero .entry-title,
.entry-hero a {
	color: var(--gg-white);
}
.entry-hero a:hover,
.entry-hero a:focus {
	color: rgba(255, 255, 255, 0.8);
}
.entry-hero .entry-meta {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* Antetul arhivelor / căutării și pagina 404 */
#main .page-header {
	max-width: var(--gg-text);
	margin: 0 auto;
	padding: var(--gg-space) 0 0;
	border: 0;
}
#main .page-header + .hentry {
	border-top: 0;
}
#main .page-title {
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
	line-height: 1.15;
}
#main .page-title span {
	color: var(--gg-muted);
}
#main .taxonomy-description,
#main .archive-description {
	color: var(--gg-muted);
	max-width: var(--gg-text);
}
#main .page-content {
	max-width: var(--gg-text);
	margin: 0 auto;
	padding: var(--gg-space) 0;
}


/* --------------------------------------------------------------------------
   5. Media — regulă comună: video/PDF pot fi mai late decât textul
   -------------------------------------------------------------------------- */
#primary .entry-content > .wp-block-embed,
#primary .entry-content > .wp-block-video,
#primary .entry-content > .wp-block-videopress-video,
#primary .entry-content > .wp-block-jetpack-videopress,
#primary .entry-content > .jetpack-video-wrapper,
#primary .entry-content > .video-player,
#primary .entry-content > .embed-youtube,
#primary .entry-content > iframe,
#primary .entry-content > video,
#primary .entry-content > .wp-block-file,
#primary .entry-content > .gg-pdf,
#primary .entry-content > .gg-wide,
#primary .entry-content > .gg-stat,
#primary .entry-content > .gg-cta,
#primary .entry-content > .wp-block-cover,
#primary .entry-content > .wp-block-gallery,
#primary .entry-content > .wp-block-columns,
#primary .entry-content > .wp-block-table.gg-wide,
#primary .entry-content > .alignwide {
	width: 100%;
	max-width: var(--gg-wide);
	margin: 2.5rem auto;
}
#primary .entry-content > .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
#primary .entry-content > .gg-narrow {
	max-width: var(--gg-text);
}
#primary .entry-content > :first-child {
	margin-top: 0;
}
#primary .entry-content > :last-child {
	margin-bottom: 0;
}

/* Legende unitare (embed, video, imagini, galerii) — „#primary” pentru a depăși
   regula temei [class^="wp-block-"]:not(...):not(...) figcaption */
#primary .entry-content figcaption,
#primary .entry-content .wp-element-caption,
#primary .entry-content .wp-caption-text,
#primary .wp-caption .wp-caption-text {
	color: var(--gg-muted);
	font-size: 0.875rem;
	font-style: normal;
	line-height: 1.5;
	text-align: center;
	max-width: var(--gg-text);
	margin: 0.85rem auto 0;
	padding: 0;
	border: 0;
}

/* Elementele media nu mai au marginea de 1.5em pe care o pune tema */
.wp-block-embed iframe,
.wp-block-video video,
.jetpack-video-wrapper iframe,
.jetpack-video-wrapper video,
.wp-block-file object,
.gg-pdf iframe,
.gg-pdf object,
.gg-pdf embed {
	margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   6. YouTube & video
      Blocul „Embed” păstrează singur proporția (clasa wp-has-aspect-ratio);
      aici adăugăm doar cadrul. Pentru embed-urile fără proporție cunoscută
      (clasic/shortcode, VideoPress, iframe lipit manual) forțăm 16:9.
   -------------------------------------------------------------------------- */
.wp-block-embed.is-type-video .wp-block-embed__wrapper,
.wp-block-embed-youtube .wp-block-embed__wrapper,
.wp-block-embed-vimeo .wp-block-embed__wrapper,
.wp-block-embed-videopress .wp-block-embed__wrapper,
.wp-block-embed-dailymotion .wp-block-embed__wrapper,
.wp-block-embed-ted .wp-block-embed__wrapper,
.wp-block-videopress-video .jetpack-videopress-player__wrapper,
.wp-block-jetpack-videopress .jetpack-videopress-player__wrapper,
.entry-content .video-player,
.entry-content .jetpack-video-wrapper {
	position: relative;
	background: var(--gg-media-bg);
	border-radius: var(--gg-radius-lg);
	overflow: hidden;
	box-shadow: var(--gg-shadow);
}

/* Blocuri Embed video la care WordPress nu a putut detecta proporția */
.wp-block-embed.is-type-video:not(.wp-has-aspect-ratio) .wp-block-embed__wrapper iframe,
.wp-block-embed-youtube:not(.wp-has-aspect-ratio) .wp-block-embed__wrapper iframe,
.wp-block-embed-vimeo:not(.wp-has-aspect-ratio) .wp-block-embed__wrapper iframe,
.wp-block-embed-videopress:not(.wp-has-aspect-ratio) .wp-block-embed__wrapper iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* Embed clasic (shortcode / URL în editorul clasic) și iframe-uri lipite manual */
.entry-content .embed-youtube {
	display: block;
	text-align: center;
}
.entry-content iframe[src*="youtube.com/embed"]:not(.wp-has-aspect-ratio *),
.entry-content iframe[src*="youtube-nocookie.com/embed"]:not(.wp-has-aspect-ratio *),
.entry-content iframe[src*="player.vimeo.com"]:not(.wp-has-aspect-ratio *),
.entry-content iframe[src*="videopress.com/embed"]:not(.wp-has-aspect-ratio *),
.entry-content iframe[src*="video.wordpress.com/embed"]:not(.wp-has-aspect-ratio *),
.entry-content iframe[src*="dailymotion.com/embed"]:not(.wp-has-aspect-ratio *) {
	display: block;
	width: 100%;
	max-width: var(--gg-wide);
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	border: 0;
	background: var(--gg-media-bg);
	border-radius: var(--gg-radius-lg);
	box-shadow: var(--gg-shadow);
}
/* În interiorul unui cadru deja stilizat nu dublăm colțurile/umbra */
.jetpack-video-wrapper iframe,
.video-player iframe,
.wp-block-videopress-video iframe,
.wp-block-jetpack-videopress iframe {
	border-radius: 0;
	box-shadow: none;
}

/* Bloc Video (MP4) și VideoPress */
.wp-block-video video,
.entry-content video {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: auto 16 / 9;            /* 16:9 până se încarcă fișierul, apoi proporția reală a video-ului */
	background: var(--gg-media-bg);
	border-radius: var(--gg-radius-lg);
	box-shadow: var(--gg-shadow);
	outline: none;
}
.wp-block-videopress-video iframe,
.wp-block-jetpack-videopress iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;                 /* VideoPress își ajustează singur înălțimea când playerul se încarcă */
	margin: 0;
}

/* Proporții alternative (clasă pe bloc sau pe grupul care conține iframe-ul) */
.gg-ratio-4-3 iframe, .gg-ratio-4-3 video { aspect-ratio: 4 / 3; }
.gg-ratio-1-1 iframe, .gg-ratio-1-1 video { aspect-ratio: 1 / 1; }
.gg-ratio-9-16 iframe, .gg-ratio-9-16 video { aspect-ratio: 9 / 16; max-width: 26rem; margin-left: auto; margin-right: auto; }

/* Browsere foarte vechi, fără aspect-ratio: înălțime aproximativă */
@supports not (aspect-ratio: 16 / 9) {
	.entry-content iframe[src*="youtube.com/embed"]:not(.wp-has-aspect-ratio *),
	.entry-content iframe[src*="player.vimeo.com"]:not(.wp-has-aspect-ratio *),
	.wp-block-videopress-video iframe,
	.wp-block-jetpack-videopress iframe {
		height: 56.25vw;
		max-height: 36.5rem;
	}
}

/* „Bandă cinema”: pe pagina articolului, primul video stă pe o bandă neagră din margine în
   margine (fără a produce derulare orizontală). Aceeași bandă se obține oriunde cu clasa gg-cinema. */
.single #primary .entry-content > .wp-block-embed.is-type-video:first-child,
.single #primary .entry-content > .wp-block-video:first-child,
.single #primary .entry-content > .wp-block-videopress-video:first-child,
.single #primary .entry-content > .wp-block-jetpack-videopress:first-child,
#primary .entry-content > .gg-cinema {
	width: 100%;
	max-width: var(--gg-wide);
	margin: 0 auto 2.75rem;
	padding: var(--gg-space) 0;
	background: var(--gg-black);
	box-shadow: 0 0 0 100vmax var(--gg-black);
	clip-path: inset(0 -100vmax);
	border-radius: 0;
}
.single #primary .entry-content > .wp-block-embed.is-type-video:first-child .wp-block-embed__wrapper,
.single #primary .entry-content > .wp-block-video:first-child video,
.single #primary .entry-content > .wp-block-videopress-video:first-child .jetpack-videopress-player__wrapper,
.single #primary .entry-content > .wp-block-jetpack-videopress:first-child .jetpack-videopress-player__wrapper,
#primary .entry-content > .gg-cinema .wp-block-embed__wrapper,
#primary .entry-content > .gg-cinema video,
#primary .entry-content > .gg-cinema iframe {
	box-shadow: none;
	border-radius: var(--gg-radius);
}
.single #primary .entry-content > .wp-block-embed.is-type-video:first-child figcaption,
#primary .entry-content > .gg-cinema figcaption,
#primary .entry-content > .gg-cinema p,
#primary .entry-content > .gg-cinema h2,
#primary .entry-content > .gg-cinema h3 {
	color: rgba(255, 255, 255, 0.75);
}
#primary .entry-content > .gg-cinema h2,
#primary .entry-content > .gg-cinema h3 {
	color: var(--gg-white);
}


/* --------------------------------------------------------------------------
   7. PDF
      a) Blocul „Fișier” (Gutenberg) cu opțiunea „Afișează PDF inline”:
         previzualizare sus, dedesubt o bară cu numele fișierului și butonul de descărcare
      b) iframe Google Drive („/preview”) sau Google Docs Viewer
      c) Orice grup cu clasa „gg-pdf” care conține un iframe/object/embed
   -------------------------------------------------------------------------- */
#primary .wp-block-file {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	padding: 0;
	background: var(--gg-surface);
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius-lg);
	box-shadow: var(--gg-shadow-soft);
	font-size: 0.9375rem;
	overflow: hidden;
}
#primary .wp-block-file .wp-block-file__embed {
	flex: 1 1 100%;
	min-height: min(75vh, 62.5rem);       /* previzualizarea PDF are cel puțin 75% din ecran */
	margin: 0;
	background: var(--gg-white);
	border: 0;
	border-bottom: 1px solid var(--gg-line);
	border-radius: 0;
	box-shadow: none;
}
#primary .wp-block-file > a:not(.wp-block-file__button) {
	margin: 0.9rem 0 0.9rem 1.125rem;
	color: var(--gg-black);
	font-weight: 700;
	text-decoration: none;
	overflow-wrap: anywhere;
}
#primary .wp-block-file > a:not(.wp-block-file__button):hover {
	color: var(--gg-blue);
	text-decoration: underline;
}
/* Etichetă „PDF” doar când fișierul chiar este PDF */
#primary .wp-block-file > a[href$=".pdf" i]:not(.wp-block-file__button):before,
#primary .wp-block-file > a[href*=".pdf?" i]:not(.wp-block-file__button):before {
	content: "PDF";
	display: inline-block;
	margin-right: 0.6rem;
	padding: 0.15rem 0.45rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
	color: var(--gg-white);
	background: var(--gg-black);
	border-radius: 3px;
	vertical-align: 0.1em;
}
#primary .wp-block-file .wp-block-file__button {
	margin: 0.75rem 1.125rem 0.75rem auto;
}
/* Blocul „Fișier” fără previzualizare rămâne o bară compactă */
#primary .wp-block-file > a:not(.wp-block-file__button):only-child {
	margin-right: 1.125rem;
}

/* b) + c) — vizualizatoare PDF prin iframe / object / embed */
#primary .entry-content iframe[src*=".pdf"],
#primary .entry-content iframe[src*="drive.google.com"],
#primary .entry-content iframe[src*="docs.google.com/viewer"],
#primary .entry-content iframe[src*="docs.google.com/gview"],
#primary .entry-content object[type="application/pdf"],
#primary .entry-content embed[type="application/pdf"],
#primary .gg-pdf iframe,
#primary .gg-pdf object,
#primary .gg-pdf embed,
#primary .pdfemb-viewer,
#primary .wp-block-embed-scribd .wp-block-embed__wrapper iframe {
	display: block;
	width: 100%;
	height: min(75vh, 62.5rem);
	min-height: 30rem;
	margin: 0;
	background: var(--gg-surface);
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius-lg);
	box-shadow: var(--gg-shadow-soft);
}
#primary .gg-pdf {
	padding: 0;
	background: transparent;
}
/* Textul de sub PDF (ex. „Deschide documentul în Google Drive”) — discret, centrat */
#primary .gg-pdf p {
	margin: 0.85rem 0 0;
	font-size: 0.875rem;
	color: var(--gg-muted);
	text-align: center;
}


/* --------------------------------------------------------------------------
   8. Elemente de conținut — citate, liste, tabele, separatoare, imagini, cod
   -------------------------------------------------------------------------- */
/* Citat: afirmație de reținut — bară albastră, text negru, puțin mai mare */
.entry-content blockquote,
.comment-content blockquote {
	border-left: 4px solid var(--gg-blue);
	margin: 2.25rem auto;
	padding: 0.35rem 0 0.35rem 1.5rem;
	font-size: 1.15em;
	font-style: normal;
	line-height: 1.5;
	color: var(--gg-black);
}
.entry-content blockquote cite,
.comment-content blockquote cite {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gg-muted);
}
.entry-content blockquote > :last-child,
.comment-content blockquote > :last-child {
	margin-bottom: 0;                     /* tema pune 1.5rem sub fiecare element din citat */
}
/* Citat evidențiat (bloc „Citat evidențiat”): afirmație mare, centrată, cu ghilimea albastră */
.entry-content .wp-block-pullquote {
	position: relative;
	border: 0;
	border-top: 1px solid var(--gg-line);
	border-bottom: 1px solid var(--gg-line);
	margin: 2.75rem auto;
	padding: 3rem 1rem 2rem;
	text-align: center;
}
.entry-content .wp-block-pullquote:before {
	content: "\201C";
	position: absolute;
	top: 0.6rem;
	left: 50%;
	transform: translateX(-50%);
	color: var(--gg-blue);
	font-size: 4rem;
	line-height: 1;
	font-weight: 700;
}
.entry-content .wp-block-pullquote blockquote {
	border: 0;
	margin: 0;
	padding: 0;
}
.entry-content .wp-block-pullquote p {
	font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.015em;
	color: var(--gg-black);
	margin-bottom: 0.75rem;
}
.entry-content .wp-block-pullquote cite {
	display: block;
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gg-muted);
}

/* Listele de nivel 1 țin bulinele în interiorul coloanei de text */
#primary .entry-content > ul,
#primary .entry-content > ol,
#primary .entry-content > .wp-block-list {
	padding-left: 1.4em;
}

hr,
.wp-block-separator {
	height: 1px;
	background: var(--gg-line);
	border: 0;
	margin: 2.75rem auto;
}
/* Separatorul implicit: linie scurtă, albastră — semnătură vizuală */
#primary .entry-content > .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 3.5rem;
	height: 3px;
	background: var(--gg-blue);
	border-radius: 2px;
}
#primary .entry-content > .wp-block-separator.is-style-wide {
	max-width: var(--gg-wide);
}

.entry-content img,
.comment-content img {
	height: auto;
	border-radius: var(--gg-radius);
}
.entry-content .wp-block-image {
	margin-top: 2.25rem;
	margin-bottom: 2.25rem;
}

/* Tabele de raport: antet negru, rânduri alternate, fără borduri verticale */
.entry-content table,
.entry-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
	font-size: 0.9375em;
	line-height: 1.45;
}
.entry-content th,
.entry-content td {
	border: 0;
	border-bottom: 1px solid var(--gg-line);
	padding: 0.7em 0.9em;
	text-align: left;
	vertical-align: top;
}
.entry-content thead th,
.entry-content table tr:first-child th {
	background: var(--gg-black);
	color: var(--gg-white);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-bottom: 0;
}
.entry-content tbody tr:nth-child(even) td {
	background: var(--gg-surface);
}
.entry-content tbody th {
	color: var(--gg-black);
	font-weight: 700;
}
.entry-content .wp-block-table figcaption {
	text-align: left;
}

code, kbd, tt, var {
	background: var(--gg-surface);
	color: var(--gg-ink);
	border-radius: 3px;
	padding: 0.1em 0.35em;
	font-size: 0.9em;
}
pre {
	background: var(--gg-surface);
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	padding: 1.25em;
}

mark:not(.has-inline-color),
ins {
	background: var(--gg-blue-soft);
	color: var(--gg-black);
	text-decoration: none;
}

/* Blocul „Detalii” (acordeon) și blocul „Citat” cu stil mare — curate */
.entry-content .wp-block-details {
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius);
	padding: 0.75rem 1.25rem;
}
.entry-content .wp-block-details summary {
	font-weight: 700;
	color: var(--gg-black);
	cursor: pointer;
}


/* --------------------------------------------------------------------------
   9. Blocuri „business” — clase ajutătoare pentru analize
      (Bloc → Avansat → Clase CSS suplimentare)
   -------------------------------------------------------------------------- */
/* gg-kicker: etichetă cu majuscule mici, albastră (pe un Paragraf, deasupra unui titlu) */
.entry-content .gg-kicker {
	color: var(--gg-blue);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 0.5rem;
}
.entry-content .gg-kicker + h1,
.entry-content .gg-kicker + h2,
.entry-content .gg-kicker + h3 {
	margin-top: 0;
}

/* gg-lead: paragraf de deschidere */
.entry-content .gg-lead {
	font-size: 1.2em;
	line-height: 1.55;
	color: var(--gg-black);
}

/* gg-note: casetă „de reținut” (Grup sau Paragraf) */
.entry-content .gg-note {
	background: var(--gg-blue-soft);
	border-left: 4px solid var(--gg-blue);
	border-radius: 0 var(--gg-radius) var(--gg-radius) 0;
	padding: 1.25rem 1.5rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.entry-content .gg-note > :last-child,
.entry-content .gg-note .wp-block-group__inner-container > :last-child {
	margin-bottom: 0;
}
.entry-content .gg-note h2,
.entry-content .gg-note h3,
.entry-content .gg-note h4 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gg-blue);
}

/* gg-key: casetă-cheie neagră (Grup) — concluzii, avertismente, „ce urmează” */
.entry-content .gg-key {
	background: var(--gg-black);
	color: var(--gg-white);
	border-radius: var(--gg-radius-lg);
	padding: 2rem 2.25rem;
	margin-top: 2.25rem;
	margin-bottom: 2.25rem;
}
.entry-content .gg-key h2,
.entry-content .gg-key h3,
.entry-content .gg-key h4,
.entry-content .gg-key p,
.entry-content .gg-key li,
.entry-content .gg-key strong {
	color: var(--gg-white);
}
.entry-content .gg-key h2,
.entry-content .gg-key h3 {
	margin-top: 0;
	font-size: 1.25rem;
}
.entry-content .gg-key h4 {
	margin-top: 0;
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}
.entry-content .gg-key a {
	color: var(--gg-white);
	text-decoration-color: rgba(255, 255, 255, 0.5);
}
.entry-content .gg-key a:hover {
	color: var(--gg-white);
	text-decoration-color: var(--gg-white);
}
.entry-content .gg-key li::marker {
	color: rgba(255, 255, 255, 0.6);
}
.entry-content .gg-key > :last-child,
.entry-content .gg-key .wp-block-group__inner-container > :last-child {
	margin-bottom: 0;
}

/* gg-cta: bandă de apel la acțiune (Grup cu Titlu, Paragraf și Buton) — albastru, buton negru */
.entry-content .gg-cta {
	background: var(--gg-cta-bg);
	color: var(--gg-cta-ink);
	border-radius: var(--gg-radius-lg);
	padding: 2.75rem 2rem;
	text-align: center;
}
.entry-content .gg-cta h2,
.entry-content .gg-cta h3,
.entry-content .gg-cta p {
	color: var(--gg-cta-ink);
}
.entry-content .gg-cta h2,
.entry-content .gg-cta h3 {
	margin-top: 0;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	letter-spacing: -0.02em;
}
.entry-content .gg-cta p {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
	opacity: 0.9;
}
.entry-content .gg-cta a {
	color: var(--gg-cta-ink);
	text-decoration-color: rgba(255, 255, 255, 0.5);
}
.entry-content .gg-cta .wp-block-buttons {
	justify-content: center;
}
.entry-content .gg-cta .wp-block-button__link,
.entry-content .gg-cta .wp-block-button .wp-block-button__link {
	background: var(--gg-cta-button-bg);
	color: var(--gg-cta-button-ink);
	font-size: 0.9375rem;
	padding: 0.9em 1.75em;
}
.entry-content .gg-cta .wp-block-button__link:hover,
.entry-content .gg-cta .wp-block-button__link:focus {
	background: var(--gg-white);
	color: var(--gg-black);
}
.entry-content .gg-cta > :last-child,
.entry-content .gg-cta .wp-block-group__inner-container > :last-child {
	margin-bottom: 0;
}

/* gg-card: card alb cu contur fin (Grup) */
.entry-content .gg-card {
	background: var(--gg-white);
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius-lg);
	box-shadow: var(--gg-shadow-soft);
	padding: 1.75rem 2rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.entry-content .gg-card > :last-child,
.entry-content .gg-card .wp-block-group__inner-container > :last-child {
	margin-bottom: 0;
}
.entry-content .gg-card h2,
.entry-content .gg-card h3 {
	margin-top: 0;
}

/* gg-stat: bloc Coloane cu cifre mari — primul paragraf din fiecare coloană este cifra,
   al doilea explicația („3,2 mld. lei” / „valoarea estimată a contractelor”) */
.entry-content .gg-stat {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem 2.5rem;
	border-top: 1px solid var(--gg-line);
	border-bottom: 1px solid var(--gg-line);
	padding: 2rem 0;
}
.entry-content .gg-stat > .wp-block-column {
	flex: 1 1 12rem;
	min-width: 0;
}
.entry-content .gg-stat .wp-block-column > :first-child {
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--gg-blue);
	margin-bottom: 0.5rem;
	text-wrap: balance;
}
.entry-content .gg-stat .wp-block-column > :nth-child(2) {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gg-muted);
	margin-bottom: 0;
}
.entry-content .gg-stat .wp-block-column > :nth-child(n+3) {
	font-size: 0.9375rem;
	color: var(--gg-ink);
	margin-top: 0.75rem;
	margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   10. Angajament — abonare, distribuire, articole similare, navigare, autor
   -------------------------------------------------------------------------- */
/* Caseta „Descoperă mai multe” (abonare Jetpack de sub articol) devine card gri deschis */
#primary .entry-content > .wp-block-group:has(.wp-block-jetpack-subscriptions) {
	max-width: var(--gg-text);
}
#primary .entry-content > .wp-block-group:has(.wp-block-jetpack-subscriptions) > .wp-block-group__inner-container {
	background: var(--gg-surface);
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius-lg);
	padding: 2.25rem 1.75rem 2rem;
	text-align: center;
}
#primary .entry-content > .wp-block-group:has(.wp-block-jetpack-subscriptions) .wp-block-separator {
	display: none;
}
#primary .entry-content > .wp-block-group:has(.wp-block-jetpack-subscriptions) h3 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
	letter-spacing: -0.02em;
}
#primary .entry-content > .wp-block-group:has(.wp-block-jetpack-subscriptions) p {
	color: var(--gg-muted);
}
/* Blocul „Abonare” (Jetpack) are stiluri inline: colțuri și borduri aliniate la restul site-ului */
.wp-block-jetpack-subscriptions input[type="email"] {
	border: 1px solid var(--gg-line-strong) !important;
	border-radius: var(--gg-radius) !important;
	background: var(--gg-white);
	color: var(--gg-ink);
}
.wp-block-jetpack-subscriptions input[type="email"]:focus {
	border-color: var(--gg-blue) !important;
}
.wp-block-jetpack-subscriptions button.wp-block-button__link,
.wp-block-jetpack-subscriptions .wp-block-button__link {
	border: 0 !important;
	border-radius: var(--gg-radius) !important;
	background: var(--gg-blue) !important;
	color: var(--gg-white) !important;
	font-weight: 700;
}
.wp-block-jetpack-subscriptions button.wp-block-button__link:hover,
.wp-block-jetpack-subscriptions button.wp-block-button__link:focus {
	background: var(--gg-black) !important;
}
.wp-block-jetpack-subscriptions__container .wp-block-jetpack-subscriptions__subscount,
.wp-block-jetpack-subscriptions p.wp-block-jetpack-subscriptions__subscount {
	color: var(--gg-muted);
	font-size: 0.8125rem;
}

/* Butoanele de distribuire Jetpack (Setări → Partajare): pastile cu contur, negre la hover */
#main .hentry div.sharedaddy,
#main .hentry div.sharedaddy.sd-sharing-enabled {
	max-width: var(--gg-text);
	margin: 2.25rem auto 0;
	padding: 1.5rem 0 0;
	border-top: 1px solid var(--gg-line);
	clear: both;
}
#main .hentry div.sharedaddy h3.sd-title,
#main .hentry div#jp-relatedposts h3.jp-relatedposts-headline {
	color: var(--gg-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 0.85rem;
}
#main .hentry div.sharedaddy h3.sd-title:before,
#main .hentry div#jp-relatedposts h3.jp-relatedposts-headline em:before {
	display: none;
}
#main .hentry div#jp-relatedposts h3.jp-relatedposts-headline em {
	font-style: normal;
	font-weight: 700;
}
#main .hentry div.sharedaddy .sd-content ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
#main .hentry div.sharedaddy .sd-content ul li {
	margin: 0;
	padding: 0;
}
#main .hentry div.sharedaddy .sd-content ul li a.sd-button,
#main .hentry div.sharedaddy .sd-content ul li a.sd-button:visited {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	background: var(--gg-white);
	color: var(--gg-black);
	border: 1.5px solid var(--gg-line-strong);
	border-radius: 999px;
	box-shadow: none;
	text-shadow: none;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.55em 1em;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
#main .hentry div.sharedaddy .sd-content ul li a.sd-button:before {
	color: inherit;
	opacity: 1;
	position: static;
	line-height: 1;
	top: auto;
	left: auto;
}
#main .hentry div.sharedaddy .sd-content ul li a.sd-button:hover,
#main .hentry div.sharedaddy .sd-content ul li a.sd-button:focus {
	background: var(--gg-black);
	color: var(--gg-white);
	border-color: var(--gg-black);
}
#main .hentry div.sharedaddy .sd-content ul li a.sd-button > span {
	color: inherit;
}
#main .hentry div.sharedaddy .sd-content ul li.share-end {
	display: none;
}
/* Aprecieri (Like) — doar aliniat pe coloana de text */
#main .hentry .sd-like.jetpack-likes-widget-wrapper,
#main .hentry div#jp-post-flair {
	max-width: var(--gg-text);
	margin-left: auto;
	margin-right: auto;
}
div#jp-relatedposts,
.sd-like.jetpack-likes-widget-wrapper,
.sd-sharing-enabled:not(#jp-post-flair) {
	border-color: var(--gg-line);
}

/* Articole similare (Jetpack → Trafic): carduri cu imagine, titlu negru, dată discretă */
#main .hentry div#jp-relatedposts {
	max-width: var(--gg-wide);
	margin: 2.75rem auto 0;
	padding: 1.75rem 0 0;
	border-top: 1px solid var(--gg-line);
}
#main .hentry div#jp-relatedposts div.jp-relatedposts-items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1.5rem;
}
#main .hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	opacity: 1;
}
#main .hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post a.jp-relatedposts-post-a {
	text-decoration: none;
}
#main .hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post img.jp-relatedposts-post-img,
#main .hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post .jp-relatedposts-post-img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--gg-radius);
	margin-bottom: 0.75rem;
	background: var(--gg-surface);
}
#main .hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post h4.jp-relatedposts-post-title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	margin: 0 0 0.35rem;
}
#main .hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post h4.jp-relatedposts-post-title a,
#main .hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post h4.jp-relatedposts-post-title a:visited {
	color: var(--gg-black);
	text-decoration: none;
}
#main .hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post h4.jp-relatedposts-post-title a:hover,
#main .hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post h4.jp-relatedposts-post-title a:focus {
	color: var(--gg-blue);
}
#main .hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post p.jp-relatedposts-post-excerpt {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--gg-ink);
	margin: 0 0 0.35rem;
}
#main .hentry div#jp-relatedposts div.jp-relatedposts-items div.jp-relatedposts-post p.jp-relatedposts-post-context {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gg-muted);
	margin: 0;
}

/* Navigare între articole: două carduri alăturate, etichetă mică, titlu negru */
#main .post-navigation {
	max-width: var(--gg-text);
	margin: 0 auto var(--gg-space);
	border: 0;
	overflow: visible;
}
#main .hentry + .post-navigation,
#main .comments-area + .post-navigation {
	margin-top: var(--gg-space);
}
#main .post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}
@media screen and (min-width: 640px) {
	#main .post-navigation .nav-links {
		grid-template-columns: 1fr 1fr;
	}
	#main .post-navigation .nav-links .nav-next:only-child {
		grid-column: 2;
	}
	#main .post-navigation .nav-next {
		text-align: right;
	}
}
#main .post-navigation .nav-previous,
#main .post-navigation .nav-next {
	border-radius: var(--gg-radius-lg);
	overflow: hidden;
}
#main .post-navigation a {
	display: block;
	height: 100%;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius-lg);
	padding: 1.25rem 1.5rem;
	background-color: var(--gg-white);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
#main .post-navigation a:hover,
#main .post-navigation a:focus,
#main .posts-navigation a:hover,
#main .posts-navigation a:focus {
	background-color: var(--gg-surface);
	border-color: var(--gg-line-strong);
}
#main .post-navigation .meta-nav {
	color: var(--gg-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0 0 0.35rem;
}
#main .post-navigation .post-title {
	color: var(--gg-black);
	font-size: 1.0625rem;
	line-height: 1.35;
	letter-spacing: -0.01em;
}
#main .post-navigation a:hover .post-title,
#main .post-navigation a:focus .post-title {
	color: var(--gg-blue);
}
/* Paginare pe listă (Anterioare / Următoare) */
#main .posts-navigation {
	max-width: var(--gg-text);
	margin: 0 auto var(--gg-space);
	border-color: var(--gg-line);
	border-radius: var(--gg-radius);
}
#main .posts-navigation:before {
	background: var(--gg-line);
}
#main .posts-navigation a {
	color: var(--gg-black);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 1rem;
}

/* Caseta de autor (Personalizare → Opțiuni conținut → „Afișează biografia autorului”) */
#primary .entry-author {
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius-lg);
	padding: 1.5rem 1.5rem 0.25rem;
	margin: var(--gg-space) auto 0;
	background: var(--gg-white);
}
#primary .entry-author .author-avatar img {
	height: 3.5em;
	width: 3.5em;
}
#primary .author-title {
	color: var(--gg-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
}
#primary .author-name {
	color: var(--gg-black);
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}
#primary .author-bio,
#primary .author-description {
	font-size: 0.9375rem;
	color: var(--gg-ink);
}


/* --------------------------------------------------------------------------
   11. Comentarii
   -------------------------------------------------------------------------- */
#main .comments-area {
	width: 100%;
	max-width: var(--gg-text);
	margin: 0 auto;
	padding: var(--gg-space) 0;
	border-top: 1px solid var(--gg-line);
}
#main .comments-wrapper,
#main .comment-respond {
	padding-left: 0;
	padding-right: 0;
}
#main .comments-title,
#main .comment-reply-title {
	margin-bottom: 1.5rem;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
}
#main .comment-list > li {
	border-bottom: 1px solid var(--gg-line);
}
#main .comment-list > li:last-child {
	border-bottom: 0;
}
#main .comments-wrapper + .comment-respond,
#main .comment-navigation + .comment-respond {
	border-top: 1px solid var(--gg-line);
}
#main .comment-author .avatar {
	border-radius: 50%;
}
#main .comment-author .fn {
	color: var(--gg-black);
	font-weight: 700;
}
#main .comment-metadata,
#main .comment-metadata a {
	color: var(--gg-muted);
	font-size: 0.8125rem;
}
#main .comment-metadata a:hover {
	color: var(--gg-blue);
}
#main .comment-content {
	font-size: 0.9375em;
}
#main .reply a {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gg-black);
}
#main .reply a:hover {
	color: var(--gg-blue);
}
#main .comment-navigation {
	border-color: var(--gg-line);
}
#main .comment-navigation:before {
	background: var(--gg-line);
}


/* --------------------------------------------------------------------------
   12. Subsol — zonele de widgeturi (#tertiary)
       „Subsol sus” (Top Footer) = bandă albastră de conversie: newsletter + CTA.
         Dacă widgetul conține un bloc Coloane, banda se așază pe două coloane
         (text în stânga, formular pe card în dreapta); altfel rămâne centrată.
       „Subsol jos” (Bottom Footer) = director închis la culoare: meniurile
         Aurelian Liviu GOGA · Legi · Afaceri + bara finală (© și linkuri utile).
         Lățimea coloanelor se adaptează singură: un meniu cu 6+ linkuri primește
         spațiu dublu și două sub-coloane; un meniu scurt rămâne îngust.
       Opțiunea „coloane” din Personalizare → Opțiuni temă contează doar pentru banda de sus.
   -------------------------------------------------------------------------- */
#tertiary {
	background: var(--gg-footer-bg);
	border-top: 0;
	color: var(--gg-footer-ink);
}
#tertiary .widget-footer-area {
	background: transparent;
	color: inherit;
	border: 0;
	padding: var(--gg-space) 0;
}
#tertiary .widget-footer-top-area + .widget-footer-bottom-area {
	border-top: 0;
}
#tertiary .widget-area-wrapper {
	width: 100%;
	max-width: calc(var(--gg-wide) + 2 * var(--gg-gutter));
	margin: 0 auto;
	padding: 0 var(--gg-gutter);
}
#tertiary .widget-area-wrapper:before,
#tertiary .widget-area-wrapper:after {
	display: none;                        /* clearfix-ul temei ar deveni celule goale în grilă */
}

/* 12.1 Widgetul (comun ambelor zone) */
#tertiary .widget {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: inherit;
	font-size: 0.9375rem;
	line-height: 1.6;
}
#tertiary .widget > :last-child {
	margin-bottom: 0;
}
#tertiary .widget p {
	margin: 0 0 1em;
}
#tertiary .widget img {
	max-width: 100%;
	height: auto;
}
#tertiary .widget ul,
#tertiary .widget ol {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}
#tertiary .widget li {
	border: 0;
	margin: 0;
	padding: 0;
}
#tertiary .widget li::marker {
	content: none;
}
#tertiary .widget ul ul,
#tertiary .widget .children,
#tertiary .widget .sub-menu {
	margin: 0.2em 0 0;
	padding-left: 1em;
	border: 0;
}
#tertiary .widget_recent_entries .post-date,
#tertiary .wp-block-latest-posts__post-date,
#tertiary .wp-block-latest-comments__comment-date {
	display: block;
	font-size: 0.8125rem;
	opacity: 0.8;
}

/* Formulare din widgeturi (căutare, abonare) — câmpuri albe pe ambele fundaluri */
#tertiary input[type="text"],
#tertiary input[type="email"],
#tertiary input[type="url"],
#tertiary input[type="search"],
#tertiary input[type="tel"],
#tertiary input[type="number"],
#tertiary select,
#tertiary textarea,
#tertiary .wp-block-search__input {
	background: var(--gg-white);
	color: var(--gg-ink);
	border: 1px solid var(--gg-line-strong);
	border-radius: var(--gg-radius);
	font-size: 1rem;                      /* 16px: iOS nu mai face zoom pe câmp */
}
#tertiary input:focus,
#tertiary select:focus,
#tertiary textarea:focus {
	border-color: var(--gg-blue);
	outline: 2px solid var(--gg-white);
	outline-offset: 1px;
}
#tertiary ::placeholder {
	color: var(--gg-muted);
	opacity: 1;
}
#tertiary select option {
	color: var(--gg-ink);
}
#tertiary label {
	color: inherit;
}
#tertiary button,
#tertiary input[type="button"],
#tertiary input[type="reset"],
#tertiary input[type="submit"],
#tertiary .button,
#tertiary .wp-block-button__link,
#tertiary .wp-element-button,
#tertiary .wp-block-search__button {
	background: var(--gg-blue);
	color: var(--gg-white);
}
#tertiary button:hover,
#tertiary button:focus,
#tertiary input[type="button"]:hover,
#tertiary input[type="button"]:focus,
#tertiary input[type="reset"]:hover,
#tertiary input[type="reset"]:focus,
#tertiary input[type="submit"]:hover,
#tertiary input[type="submit"]:focus,
#tertiary .button:hover,
#tertiary .button:focus,
#tertiary .wp-block-button__link:hover,
#tertiary .wp-block-button__link:focus,
#tertiary .wp-element-button:hover,
#tertiary .wp-element-button:focus,
#tertiary .wp-block-search__button:hover,
#tertiary .wp-block-search__button:focus {
	background: var(--gg-white);
	color: var(--gg-black);
}
#tertiary .search-form .search-submit,
#tertiary .search-form .search-submit:hover,
#tertiary .search-form .search-submit:focus {
	background: transparent;              /* lupa rămâne doar cercul */
}
#tertiary .search-form .search-submit:before {
	background: var(--gg-blue);
}
#tertiary .search-form .search-submit:hover:before,
#tertiary .search-form .search-submit:focus:before {
	background: var(--gg-white);
}
#tertiary .jetpack_subscription_widget form,
#tertiary .jetpack_subscription_widget .success,
#tertiary .widget_blog_subscription form,
#tertiary .widget_blog_subscription .success {
	border: 0;
	margin: 0;
	padding: 0;
}
#tertiary .jetpack_subscription_widget input[type="email"],
#tertiary .widget_blog_subscription input[type="email"] {
	margin-bottom: 0.75rem;
}
#tertiary code,
#tertiary kbd,
#tertiary pre {
	background: var(--gg-footer-hover);
	color: inherit;
	border-color: var(--gg-footer-line);
}

/* Blocul „Abonare” (Jetpack) în subsol: câmp + buton pe același rând, aceeași înălțime */
#tertiary .wp-block-jetpack-subscriptions {
	margin: 0;
}
#tertiary .wp-block-jetpack-subscriptions__form-elements {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.5rem;
}
#tertiary .wp-block-jetpack-subscriptions p#subscribe-email {
	flex: 1 1 13rem;
	min-width: 0;
	margin: 0;
}
#tertiary .wp-block-jetpack-subscriptions p#subscribe-submit {
	flex: 0 0 auto;
	margin: 0;
}
#tertiary .wp-block-jetpack-subscriptions input[type="email"] {
	width: 100%;
	height: 100%;
	min-height: 3.125rem;
	margin: 0;
	padding: 0.8em 1em !important;
	border: 1px solid transparent !important;
	border-radius: var(--gg-radius) !important;
}
#tertiary .wp-block-jetpack-subscriptions button.wp-block-button__link {
	min-height: 3.125rem;
	margin: 0 !important;
	padding: 0.8em 1.5em !important;
	border: 0 !important;
	border-radius: var(--gg-radius) !important;
	white-space: nowrap;
}
#tertiary .wp-block-jetpack-subscriptions__subscount,
#tertiary p.wp-block-jetpack-subscriptions__subscount {
	margin: 0.75rem 0 0;
	font-size: 0.8125rem;
	opacity: 0.8;
}

/* 12.2 „Subsol sus” — banda albastră de conversie, cu textură fină de „caroiaj” */
#tertiary .widget-footer-top-area {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background-color: var(--gg-cta-bg);
	background-image:
		radial-gradient(52rem 28rem at 88% -25%, rgba(255, 255, 255, 0.16), transparent 62%),
		linear-gradient(135deg, var(--gg-cta-bg) 0%, var(--gg-cta-bg-deep) 100%);
	color: var(--gg-cta-ink);
	padding: calc(var(--gg-space) + 0.75rem) 0;
}
#tertiary .widget-footer-top-area::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(100deg, transparent 15%, #000 70%);
	mask-image: linear-gradient(100deg, transparent 15%, #000 70%);
	pointer-events: none;
}
#tertiary .widget-footer-top-area .widget-area-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem 3rem;
}
@media screen and (min-width: 768px) {
	#tertiary .widget-footer-top-area.column-2 .widget-area-wrapper,
	#tertiary .widget-footer-top-area.column-3 .widget-area-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media screen and (min-width: 896px) {
	#tertiary .widget-footer-top-area.column-3 .widget-area-wrapper {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
/* Varianta centrată (un singur widget, fără bloc Coloane) */
#tertiary .widget-footer-top-area.column-1 .widget-area-wrapper {
	max-width: calc(48rem + 2 * var(--gg-gutter));
	text-align: center;
}
#tertiary .widget-footer-top-area.column-1 .widget-area-wrapper:not(:has(.wp-block-columns)) .gg-kicker,
#tertiary .widget-footer-top-area.column-1 .widget-area-wrapper:not(:has(.wp-block-columns)) .wp-block-jetpack-subscriptions__form-elements {
	justify-content: center;
}
#tertiary .widget-footer-top-area.column-1 .widget-area-wrapper:not(:has(.wp-block-columns)) p {
	margin-left: auto;
	margin-right: auto;
}
/* Varianta pe două coloane (widget cu bloc Coloane): text stânga, formular dreapta */
#tertiary .widget-footer-top-area.column-1 .widget-area-wrapper:has(.wp-block-columns) {
	max-width: calc(var(--gg-wide) + 2 * var(--gg-gutter));
	text-align: left;
}
#tertiary .widget-footer-top-area .wp-block-columns {
	align-items: center;
	gap: 2rem clamp(2.5rem, 6vw, 5rem);
	margin: 0;
}
#tertiary .widget-footer-top-area .wp-block-column > :last-child {
	margin-bottom: 0;
}
#tertiary .widget-footer-top-area .wp-block-column:has(.wp-block-jetpack-subscriptions) {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--gg-radius-lg);
	box-shadow: 0 24px 48px rgba(3, 18, 48, 0.25);
	padding: clamp(1.25rem, 3vw, 2rem);
}
/* În card, formularul stă pe verticală: câmpul, apoi butonul lat cât cardul */
#tertiary .widget-footer-top-area .wp-block-column:has(.wp-block-jetpack-subscriptions) .wp-block-jetpack-subscriptions__form-elements {
	flex-direction: column;
	gap: 0.6rem;
}
#tertiary .widget-footer-top-area .wp-block-column:has(.wp-block-jetpack-subscriptions) p#subscribe-email,
#tertiary .widget-footer-top-area .wp-block-column:has(.wp-block-jetpack-subscriptions) p#subscribe-submit {
	flex: 0 0 auto;
	width: 100%;
}
#tertiary .widget-footer-top-area .wp-block-column:has(.wp-block-jetpack-subscriptions) button.wp-block-button__link {
	display: block;
	width: 100%;
}

/* Tipografia benzii */
#tertiary .widget-footer-top-area .widget {
	color: var(--gg-cta-ink);
	font-size: 1.0625rem;
}
#tertiary .widget-footer-top-area .widget-title,
#tertiary .widget-footer-top-area .widgettitle,
#tertiary .widget-footer-top-area .widget h1,
#tertiary .widget-footer-top-area .widget h2,
#tertiary .widget-footer-top-area .widget h3 {
	color: var(--gg-cta-ink);
	font-size: clamp(1.625rem, 1.15rem + 1.7vw, 2.375rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.12;
	text-transform: none;
	text-wrap: balance;
	margin: 0 0 0.85rem;
}
#tertiary .widget-footer-top-area .widget h4 {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
}
#tertiary .widget-footer-top-area .widget p {
	color: rgba(255, 255, 255, 0.86);
	max-width: 34rem;
}
#tertiary .widget-footer-top-area .widget p:last-child {
	margin-bottom: 0;
}
/* Eticheta de deasupra titlului (Paragraf cu clasa gg-kicker): liniuță + majuscule mici */
#tertiary .widget-footer-top-area .gg-kicker {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 1rem;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}
#tertiary .widget-footer-top-area .gg-kicker::before {
	content: "";
	flex: 0 0 1.75rem;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}
/* Rândul secundar de sub formular (Paragraf cu clasa gg-footer-cta__alt) */
#tertiary .widget-footer-top-area .gg-footer-cta__alt {
	margin: 1rem 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.875rem;
	line-height: 1.5;
}
#tertiary .widget-footer-top-area .gg-footer-cta__alt a {
	font-weight: 700;
	white-space: nowrap;
}
#tertiary .widget-footer-top-area .gg-footer-cta__alt a::after {
	content: "\2192";
	display: inline-block;
	margin-left: 0.35em;
	transition: transform 0.2s ease;
}
#tertiary .widget-footer-top-area .gg-footer-cta__alt a:hover::after,
#tertiary .widget-footer-top-area .gg-footer-cta__alt a:focus-visible::after {
	transform: translateX(0.2em);
}
#tertiary .widget-footer-top-area .widget a {
	color: var(--gg-cta-ink);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	text-underline-offset: 0.18em;
}
#tertiary .widget-footer-top-area .widget a:hover,
#tertiary .widget-footer-top-area .widget a:focus {
	color: var(--gg-cta-ink);
	text-decoration-color: var(--gg-cta-ink);
}
#tertiary .widget-footer-top-area .widget li {
	color: rgba(255, 255, 255, 0.88);
}
#tertiary .widget-footer-top-area input:focus,
#tertiary .widget-footer-top-area select:focus,
#tertiary .widget-footer-top-area textarea:focus {
	border-color: var(--gg-black);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}
#tertiary .widget-footer-top-area button,
#tertiary .widget-footer-top-area input[type="button"],
#tertiary .widget-footer-top-area input[type="reset"],
#tertiary .widget-footer-top-area input[type="submit"],
#tertiary .widget-footer-top-area .button,
#tertiary .widget-footer-top-area .wp-block-button__link,
#tertiary .widget-footer-top-area .wp-element-button,
#tertiary .widget-footer-top-area .wp-block-search__button,
#tertiary .widget-footer-top-area .wp-block-jetpack-subscriptions button.wp-block-button__link {
	background: var(--gg-cta-button-bg) !important;
	color: var(--gg-cta-button-ink) !important;
	border: 0 !important;
	border-radius: var(--gg-radius) !important;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
}
#tertiary .widget-footer-top-area button:hover,
#tertiary .widget-footer-top-area button:focus,
#tertiary .widget-footer-top-area input[type="submit"]:hover,
#tertiary .widget-footer-top-area input[type="submit"]:focus,
#tertiary .widget-footer-top-area .wp-block-button__link:hover,
#tertiary .widget-footer-top-area .wp-block-button__link:focus,
#tertiary .widget-footer-top-area .wp-block-search__button:hover,
#tertiary .widget-footer-top-area .wp-block-search__button:focus,
#tertiary .widget-footer-top-area .wp-block-jetpack-subscriptions button.wp-block-button__link:hover,
#tertiary .widget-footer-top-area .wp-block-jetpack-subscriptions button.wp-block-button__link:focus {
	background: var(--gg-white) !important;
	color: var(--gg-black) !important;
}
#tertiary .widget-footer-top-area .wp-block-buttons {
	gap: 0.75rem;
}
#tertiary .widget-footer-top-area.column-1 .widget-area-wrapper:not(:has(.wp-block-columns)) .wp-block-buttons {
	justify-content: center;
}
#tertiary .widget-footer-top-area .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--gg-cta-ink) !important;
	border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
}
#tertiary .widget-footer-top-area .search-form .search-submit:before {
	background: var(--gg-black);
}
#tertiary .widget-footer-top-area .tagcloud a,
#tertiary .widget-footer-top-area .wp-block-tag-cloud a {
	background: rgba(255, 255, 255, 0.14);
	color: var(--gg-cta-ink);
	text-decoration: none;
}
#tertiary .widget-footer-top-area .wp-block-social-links .wp-social-link,
#tertiary .widget-footer-top-area .wp-block-social-links .wp-social-link a {
	color: var(--gg-cta-ink);
}

/* 12.3 „Subsol jos” — director închis la culoare */
#tertiary .widget-footer-bottom-area {
	color: var(--gg-footer-ink);
	padding: calc(var(--gg-space) + 0.75rem) 0 0;
}
#tertiary .widget-footer-bottom-area:last-child:not(:has(.gg-footer-bar)) {
	padding-bottom: var(--gg-space);
}
#tertiary .widget-footer-bottom-area .widget-area-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 3rem clamp(2rem, 4vw, 3.5rem);
}
#tertiary .widget-footer-bottom-area .widget {
	flex: 1 1 9.5rem;
	color: var(--gg-footer-ink);
}
/* Meniu lung (6+ linkuri): spațiu dublu și două sub-coloane, citite de sus în jos */
#tertiary .widget-footer-bottom-area .widget:has(.menu > li:nth-child(6)) {
	flex: 2 1 20rem;
}
#tertiary .widget-footer-bottom-area .widget:has(.menu > li:nth-child(6)) .menu {
	columns: 2;
	column-gap: 1.75rem;
}
#tertiary .widget-footer-bottom-area .menu > li {
	break-inside: avoid;
}

/* Titlul coloanei: majuscule mici, linie fină dedesubt cu o liniuță albastră */
#tertiary .widget-footer-bottom-area .widget-title,
#tertiary .widget-footer-bottom-area .widgettitle,
#tertiary .widget-footer-bottom-area .widget h1,
#tertiary .widget-footer-bottom-area .widget h2,
#tertiary .widget-footer-bottom-area .widget h3,
#tertiary .widget-footer-bottom-area .widget h4 {
	position: relative;
	color: var(--gg-footer-title);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
	margin: 0 0 1.1rem;
	padding: 0 0 1rem;
	border-bottom: 1px solid var(--gg-footer-line);
}
#tertiary .widget-footer-bottom-area .widget-title::after,
#tertiary .widget-footer-bottom-area .widgettitle::after,
#tertiary .widget-footer-bottom-area .widget h1::after,
#tertiary .widget-footer-bottom-area .widget h2::after,
#tertiary .widget-footer-bottom-area .widget h3::after,
#tertiary .widget-footer-bottom-area .widget h4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 1.75rem;
	height: 2px;
	background: var(--gg-footer-accent);
}

/* Linkurile din coloane: fără subliniere; la hover devin albe și apare o săgeată */
#tertiary .widget-footer-bottom-area .widget a {
	color: var(--gg-footer-link);
	text-decoration: none;
	transition: color 0.15s ease;
}
#tertiary .widget-footer-bottom-area .widget a:hover,
#tertiary .widget-footer-bottom-area .widget a:focus-visible {
	color: var(--gg-footer-link-hover);
	text-decoration: underline;
	text-decoration-color: var(--gg-footer-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}
#tertiary .widget-footer-bottom-area .menu a {
	position: relative;
	display: inline-block;
	padding: 0.38rem 0;
	font-size: 0.9375rem;
	line-height: 1.4;
}
#tertiary .widget-footer-bottom-area .menu a:hover,
#tertiary .widget-footer-bottom-area .menu a:focus-visible {
	text-decoration: none;
}
#tertiary .widget-footer-bottom-area .menu a::after {
	content: "\2192";
	position: absolute;
	left: 100%;
	top: 0.38rem;
	margin-left: 0.4em;
	color: var(--gg-footer-accent);
	opacity: 0;
	transform: translateX(-0.35em);
	transition: opacity 0.15s ease, transform 0.2s ease;
	pointer-events: none;
}
#tertiary .widget-footer-bottom-area .menu a:hover::after,
#tertiary .widget-footer-bottom-area .menu a:focus-visible::after {
	opacity: 1;
	transform: none;
}
#tertiary .widget-footer-bottom-area .menu .current-menu-item > a,
#tertiary .widget-footer-bottom-area .menu .current_page_item > a {
	color: var(--gg-footer-link-hover);
}
#tertiary .widget-footer-bottom-area .menu a:focus-visible {
	outline: 2px solid var(--gg-footer-accent);
	outline-offset: 2px;
	border-radius: 2px;
}
#tertiary .widget-footer-bottom-area .tagcloud a,
#tertiary .widget-footer-bottom-area .wp-block-tag-cloud a {
	display: inline-block;
	margin: 0 0.25em 0.35em 0;
	padding: 0.2em 0.6em;
	background: var(--gg-footer-hover);
	border-radius: 3px;
	text-decoration: none;
}
#tertiary .widget-footer-bottom-area .widget_calendar tbody a {
	background: var(--gg-footer-hover);
	color: var(--gg-footer-link-hover);
}

/* 12.4 Bara finală din „Subsol jos” (Grup cu clasa gg-footer-bar):
        © în stânga, linkuri utile (Listă cu clasa gg-footer-legal) în dreapta */
#tertiary .widget-footer-bottom-area .widget:has(.gg-footer-bar) {
	flex: 1 1 100%;
	margin-top: 1rem;
	padding: 1.6rem 0 1.9rem;
	border-top: 1px solid var(--gg-footer-line);
}
#tertiary .gg-footer-bar,
#tertiary .gg-footer-bar > .wp-block-group__inner-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 2rem;
}
#tertiary .gg-footer-bar > .wp-block-group__inner-container {
	flex: 1 1 100%;
}
#tertiary .gg-footer-bar p,
#tertiary .gg-footer-bar .gg-footer-copy {
	margin: 0;
	color: var(--gg-footer-ink);
	font-size: 0.8125rem;
	letter-spacing: 0.01em;
	line-height: 1.5;
}
#tertiary .gg-footer-bar .gg-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
#tertiary .gg-footer-bar .gg-footer-legal li {
	margin: 0;
	padding: 0;
}
#tertiary .widget-footer-bottom-area .gg-footer-bar a {
	color: var(--gg-footer-ink);
	font-size: 0.8125rem;
	letter-spacing: 0.01em;
}
#tertiary .widget-footer-bottom-area .gg-footer-bar a:hover,
#tertiary .widget-footer-bottom-area .gg-footer-bar a:focus-visible {
	color: var(--gg-footer-link-hover);
}


/* --------------------------------------------------------------------------
   13. Subsol — bara temei (#colophon): creditul platformei + meniul social
       Când există bara gg-footer-bar (12.4), ea devine bara finală: creditul temei
       se ascunde, iar #colophon rămâne vizibil doar dacă are meniu social.
       Fără gg-footer-bar, #colophon se afișează ca bară închisă, discretă.
   -------------------------------------------------------------------------- */
#colophon {
	background: var(--gg-footer-bg);
	border-top: 1px solid var(--gg-footer-line);
	padding: 1.6rem 0;
	color: var(--gg-footer-ink);
	font-size: 0.8125rem;
}
#colophon .site-footer-wrapper {
	width: 100%;
	max-width: calc(var(--gg-wide) + 2 * var(--gg-gutter));
	padding: 0 var(--gg-gutter);
}
#colophon .site-info {
	color: var(--gg-footer-ink);
	font-size: 0.8125rem;
	letter-spacing: 0.01em;
	line-height: 1.6;
}
#colophon a,
#colophon .site-info a {
	color: var(--gg-footer-link);
	text-decoration: none;
}
#colophon a:hover,
#colophon a:focus,
#colophon .site-info a:hover,
#colophon .site-info a:focus {
	color: var(--gg-footer-link-hover);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
#colophon .sep {
	color: var(--gg-footer-line);
}
#colophon .jetpack-social-navigation ul {
	margin: 0 0 0.75rem;
}
#colophon .jetpack-social-navigation a {
	background: transparent;
	color: var(--gg-footer-link);
	border-color: var(--gg-footer-line);
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
#colophon .jetpack-social-navigation a:hover,
#colophon .jetpack-social-navigation a:focus {
	background: var(--gg-footer-hover);
	border-color: var(--gg-footer-link);
	color: var(--gg-footer-link-hover);
	text-decoration: none;
}
@media screen and (min-width: 896px) {
	#colophon .jetpack-social-navigation ul {
		margin-bottom: 0;
	}
}
/* Cu bara gg-footer-bar: fără creditul temei; #colophon rămâne doar pentru meniul social */
body:has(.gg-footer-bar) #colophon .site-info {
	display: none;
}
body:has(.gg-footer-bar) #colophon:not(:has(.jetpack-social-navigation)) {
	display: none;
}
body:has(.gg-footer-bar) #colophon .jetpack-social-navigation ul {
	margin: 0;
}


/* --------------------------------------------------------------------------
   14. Elemente Jetpack: banner cookie, buton plutitor de abonare, derulare infinită
   -------------------------------------------------------------------------- */
/* CSS-ul Jetpack pentru banner se încarcă DUPĂ CSS-ul suplimentar, de aceea „body #…” */
body #eu-cookie-law {
	background: var(--gg-white);
	color: var(--gg-ink);
	font-size: 0.875rem;
	line-height: 1.5;
	padding: 0.85rem 1.1rem;
	border: 1px solid var(--gg-line);
	border-radius: var(--gg-radius-lg);
	box-shadow: var(--gg-shadow);
}
body #eu-cookie-law a,
body #eu-cookie-law a:visited {
	color: var(--gg-blue);
}
body #eu-cookie-law input.accept,
body #eu-cookie-law input.accept:hover,
body #eu-cookie-law input.accept:focus {
	background: var(--gg-black);
	border: 1px solid var(--gg-black);
	border-radius: var(--gg-radius);
	color: var(--gg-white);
	font-size: 0.8125rem;
	font-weight: 700;
	padding: 0.55em 1.1em;
}
body #eu-cookie-law input.accept:hover,
body #eu-cookie-law input.accept:focus {
	background: var(--gg-blue);
	border-color: var(--gg-blue);
}
@media screen and (max-width: 600px) {
	body #eu-cookie-law {
		padding-bottom: 3.75rem;          /* loc pentru butonul poziționat absolut de Jetpack */
	}
}

/* Butonul plutitor „Abonează-te” (Jetpack): negru, cu umbră; albastru la hover */
.jetpack-subscribe-floating-button .wp-block-button__link,
.jetpack-subscribe-floating-button .wp-block-button .wp-block-button__link {
	background: var(--gg-black);
	color: var(--gg-white);
	border-radius: 999px;
	box-shadow: var(--gg-shadow);
	font-weight: 700;
	padding: 0.9em 1.5em;
}
.jetpack-subscribe-floating-button .wp-block-button__link:hover,
.jetpack-subscribe-floating-button .wp-block-button__link:focus {
	background: var(--gg-blue);
	color: var(--gg-white);
}
/* Când subsolul (care are propriul formular de abonare) intră în ecran, butonul plutitor
   se retrage, ca să nu acopere bara finală. Chrome/Edge 116+; în celelalte browsere
   bara finală primește spațiu suplimentar dedesubt. */
@supports (timeline-scope: --gg-footer) {
	body {
		timeline-scope: --gg-footer;
	}
	#tertiary {
		view-timeline: --gg-footer block;
	}
	.jetpack-subscribe-floating-button {
		animation: gg-floating-out linear both;
		animation-timeline: --gg-footer;
		animation-range: entry 0% entry 30%;
	}
}
@keyframes gg-floating-out {
	to {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(1rem);
	}
}
@supports not (timeline-scope: --gg-footer) {
	body:has(.jetpack-subscribe-floating-button) #tertiary .widget-footer-bottom-area .widget:has(.gg-footer-bar) {
		padding-bottom: 5.5rem;
	}
}

/* Derulare infinită: butonul „Articole mai vechi” lat, negru; bara de subsol albă */
#main #infinite-handle {
	max-width: var(--gg-text);
	margin: var(--gg-space) auto 0;
	padding: 0;
	border: 0;
	text-align: center;
}
#main #infinite-handle span {
	display: block;
	background: transparent;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: inherit;
	font-size: inherit;
}
#main #infinite-handle span button,
#main #infinite-handle span button:focus,
#main #infinite-handle span button:hover {
	display: block;
	width: 100%;
	background: var(--gg-black);
	color: var(--gg-white);
	border: 0;
	border-radius: var(--gg-radius);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 1.1em 1.5em;
}
#main #infinite-handle span button:hover,
#main #infinite-handle span button:focus {
	background: var(--gg-blue);
}
#main .infinite-loader {
	margin: var(--gg-space) auto 0;
}
body #infinite-footer {
	background: var(--gg-white);
	border-top: 1px solid var(--gg-line);
}
body #infinite-footer .container {
	background: transparent;
	border: 0;
}
body #infinite-footer .blog-info a,
body #infinite-footer .blog-credits,
body #infinite-footer .blog-credits a {
	color: var(--gg-muted);
	font-size: 0.8125rem;
}
body #infinite-footer .blog-info a:hover,
body #infinite-footer .blog-credits a:hover {
	color: var(--gg-black);
}


/* --------------------------------------------------------------------------
   15. Telefon & tabletă mică
   -------------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
	/* Video din margine în margine, fără colțuri rotunjite */
	#primary .entry-content > .wp-block-embed,
	#primary .entry-content > .wp-block-video,
	#primary .entry-content > .wp-block-videopress-video,
	#primary .entry-content > .wp-block-jetpack-videopress,
	#primary .entry-content > .jetpack-video-wrapper,
	#primary .entry-content > .video-player,
	#primary .entry-content > .embed-youtube,
	#primary .entry-content > iframe,
	#primary .entry-content > video,
	#primary .entry-content > .gg-wide,
	#primary .entry-content > .gg-cinema,
	#primary .entry-content > .wp-block-cover,
	#primary .entry-content > .alignwide {
		width: calc(100% + 2 * var(--gg-gutter));
		max-width: none;
		margin-left: calc(-1 * var(--gg-gutter));
		margin-right: calc(-1 * var(--gg-gutter));
		margin-top: 1.75rem;
		margin-bottom: 1.75rem;
	}
	.wp-block-embed.is-type-video .wp-block-embed__wrapper,
	.wp-block-embed-youtube .wp-block-embed__wrapper,
	.wp-block-embed-vimeo .wp-block-embed__wrapper,
	.wp-block-embed-videopress .wp-block-embed__wrapper,
	.wp-block-videopress-video .jetpack-videopress-player__wrapper,
	.wp-block-jetpack-videopress .jetpack-videopress-player__wrapper,
	.entry-content .video-player,
	.entry-content .jetpack-video-wrapper,
	.wp-block-video video,
	.entry-content video,
	.entry-content iframe[src*="youtube.com/embed"]:not(.wp-has-aspect-ratio *),
	.entry-content iframe[src*="youtube-nocookie.com/embed"]:not(.wp-has-aspect-ratio *),
	.entry-content iframe[src*="player.vimeo.com"]:not(.wp-has-aspect-ratio *),
	.entry-content iframe[src*="videopress.com/embed"]:not(.wp-has-aspect-ratio *),
	.entry-content iframe[src*="video.wordpress.com/embed"]:not(.wp-has-aspect-ratio *),
	.entry-content iframe[src*="dailymotion.com/embed"]:not(.wp-has-aspect-ratio *) {
		border-radius: 0;
		box-shadow: none;
	}
	#primary .entry-content figcaption,
	#primary .entry-content .wp-element-caption {
		padding: 0 var(--gg-gutter);
	}
	/* Banda cinema: pe telefon, primul video începe imediat sub titlu */
	.single #primary .entry-content > .wp-block-embed.is-type-video:first-child,
	.single #primary .entry-content > .wp-block-video:first-child,
	.single #primary .entry-content > .wp-block-videopress-video:first-child,
	.single #primary .entry-content > .wp-block-jetpack-videopress:first-child,
	#primary .entry-content > .gg-cinema {
		margin-top: 0;
		padding: 1.5rem 0;
	}
	.single #primary .entry-content > .wp-block-embed.is-type-video:first-child .wp-block-embed__wrapper,
	#primary .entry-content > .gg-cinema .wp-block-embed__wrapper,
	#primary .entry-content > .gg-cinema video,
	#primary .entry-content > .gg-cinema iframe {
		border-radius: 0;
	}

	/* Articolele cu imagine reprezentativă: banda „hero” merge și ea din margine în margine */
	#primary .has-post-thumbnail .entry-header {
		width: calc(100% + 2 * var(--gg-gutter));
		max-width: none;
		margin-left: calc(-1 * var(--gg-gutter));
		margin-right: calc(-1 * var(--gg-gutter));
		border-radius: 0;
		min-height: 36vh;
	}
	.entry-hero {
		min-height: 44vh;
	}

	/* PDF: telefoanele nu randează PDF-ul în pagină (iOS arată doar prima pagină,
	   Android nimic) — ascundem previzualizarea și lăsăm butonul, lat cât cardul */
	#primary .wp-block-file .wp-block-file__embed,
	#primary .entry-content object[type="application/pdf"],
	#primary .entry-content embed[type="application/pdf"] {
		display: none;
	}
	#primary .wp-block-file > a:not(.wp-block-file__button) {
		flex: 1 1 100%;
		margin: 0.9rem 1.125rem 0;
	}
	#primary .wp-block-file .wp-block-file__button {
		flex: 1 1 100%;
		margin: 0 1.125rem 0.9rem;
		text-align: center;
	}
	#primary .entry-content iframe[src*=".pdf"],
	#primary .entry-content iframe[src*="drive.google.com"],
	#primary .entry-content iframe[src*="docs.google.com/viewer"],
	#primary .entry-content iframe[src*="docs.google.com/gview"],
	#primary .gg-pdf iframe {
		height: 70vh;
		min-height: 22rem;
	}

	/* Text puțin mai compact pe telefon */
	#primary .entry-header {
		margin-bottom: 1.1rem;
	}
	.entry-content blockquote,
	.comment-content blockquote {
		padding-left: 1rem;
		font-size: 1.0625em;
	}
	.entry-content .gg-key,
	.entry-content .gg-cta,
	.entry-content .gg-card {
		padding: 1.5rem 1.25rem;
	}
	.entry-content .gg-stat .wp-block-column {
		margin-bottom: 1.25rem;
	}
	:is(.blog, .archive, .search) #main .hentry:not(:has(.entry-title)) {
		padding: 1.5rem 0;
	}

	/* Subsol: coloanele stau una sub alta; meniurile lungi își păstrează cele două sub-coloane */
	#tertiary .widget-footer-top-area {
		padding: calc(var(--gg-space) + 0.5rem) 0;
	}
	#tertiary .widget-footer-top-area .widget-area-wrapper {
		gap: 2rem;
	}
	#tertiary .widget-footer-bottom-area {
		padding-top: var(--gg-space);
	}
	#tertiary .widget-footer-bottom-area .widget-area-wrapper {
		gap: 2.25rem;
	}
	#tertiary .widget-footer-bottom-area .widget,
	#tertiary .widget-footer-bottom-area .widget:has(.menu > li:nth-child(6)) {
		flex: 1 1 100%;
	}
	#tertiary .widget-footer-bottom-area .widget:has(.menu > li:nth-child(6)) .menu {
		column-gap: 1.25rem;
	}
	#tertiary .widget-footer-bottom-area .menu a {
		padding: 0.45rem 0;               /* țintă de atingere mai mare */
	}
	#tertiary .widget-footer-bottom-area .menu a::after {
		display: none;
	}
	#tertiary .widget-footer-bottom-area .widget:has(.gg-footer-bar) {
		margin-top: 0.25rem;
	}
	#tertiary .gg-footer-bar,
	#tertiary .gg-footer-bar > .wp-block-group__inner-container {
		flex-direction: column;
		align-items: flex-start;
	}
	#tertiary .gg-footer-bar .gg-footer-legal {
		gap: 0.5rem 1.25rem;
	}
	/* Blocul „Abonare” (Jetpack) pe telefon: câmpul pe un rând, butonul lat dedesubt */
	#primary .wp-block-jetpack-subscriptions__form-elements,
	#tertiary .wp-block-jetpack-subscriptions__form-elements {
		flex-direction: column;
		align-items: stretch;
	}
	#tertiary .wp-block-jetpack-subscriptions p#subscribe-email,
	#tertiary .wp-block-jetpack-subscriptions p#subscribe-submit {
		flex: 0 0 auto;
	}
	#primary .wp-block-jetpack-subscriptions p#subscribe-email,
	#primary .wp-block-jetpack-subscriptions p#subscribe-submit,
	#tertiary .wp-block-jetpack-subscriptions p#subscribe-email,
	#tertiary .wp-block-jetpack-subscriptions p#subscribe-submit {
		display: block;
		width: 100%;
	}
	#primary .wp-block-jetpack-subscriptions input[type="email"],
	#tertiary .wp-block-jetpack-subscriptions input[type="email"] {
		width: 100%;
	}
	#primary .wp-block-jetpack-subscriptions button.wp-block-button__link,
	#tertiary .wp-block-jetpack-subscriptions button.wp-block-button__link {
		display: block;
		width: 100%;
		margin: 0.5rem 0 0 !important;
	}
	#colophon .site-footer-wrapper {
		text-align: center;
	}
	#colophon .jetpack-social-navigation ul {
		display: flex;
		justify-content: center;
		margin-bottom: 1rem;
	}
	#colophon .jetpack-social-navigation li {
		float: none;
	}
}


/* Telefoane foarte înguste (sub 360px): meniurile lungi revin pe o singură coloană */
@media screen and (max-width: 359px) {
	#tertiary .widget-footer-bottom-area .widget:has(.menu > li:nth-child(6)) .menu {
		columns: 1;
	}
}


/* --------------------------------------------------------------------------
   16. Accesibilitate & tipărire
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	a, button, input, textarea, .post-navigation a, #masthead {
		transition: none;
	}
	.sticky-header #masthead::after {
		display: none;
	}
	#tertiary .menu a::after,
	#tertiary .gg-footer-cta__alt a::after {
		transition: none;
	}
	.jetpack-subscribe-floating-button {
		animation-name: gg-floating-fade;     /* doar estompare, fără deplasare */
	}
}
@keyframes gg-floating-fade {
	to {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}
}

@media print {
	#masthead, #colophon, #secondary, #tertiary, .comments-area, .post-navigation,
	.posts-navigation, .wp-block-embed, .wp-block-video, .jetpack-subscribe-floating-button,
	#eu-cookie-law, .sharedaddy, #jp-post-flair, #jp-relatedposts, .back-top, #infinite-handle {
		display: none !important;
	}
	body { color: #000; font-size: 11pt; }
	#content .site-content-wrapper { max-width: 100%; padding: 0; }
	.entry-content .gg-key, .entry-content .gg-cta { background: none; color: #000; border: 1px solid #000; }
	.entry-content .gg-key *, .entry-content .gg-cta * { color: #000 !important; }
	.entry-content a[href^="http"]:after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
}