/* ==========================================================================
   goga.ro · CSS suplimentar pentru tema Shoreditch (WordPress.com)
   Versiunea 4 „Business Edition” · septembrie 2026

   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: „Top Footer” = bandă albastră de conversie (abonare/CTA),
     „Bottom Footer” = coloane albe cu titluri negre mici, apoi bară neagră.
   · 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ă.
      · „Top Footer” = banda albastră: pune un bloc Titlu („Primește analizele
        pe e-mail”), un Paragraf scurt și blocul „Abonare” (Jetpack). Lasă
        aspectul pe 1 coloană (Personalizare → Theme Options).
      · „Bottom Footer” = coloanele albe: Despre / Categorii sau Ultimele
        articole / Contact. Alege 3 coloane din Theme Options.
      · 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, fără modificări de HTML: totul se aplică pe marcajul
     existent al temei ș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
   ========================================================================== */


/* --------------------------------------------------------------------------
   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 CTA din subsol („Top Footer”) */
	--gg-cta-bg: #0a4fc4;
	--gg-cta-ink: #ffffff;
	--gg-cta-button-bg: #0b0b0c;
	--gg-cta-button-ink: #ffffff;

	/* Bara finală de subsol (#colophon). Pentru subsol alb, folosește valorile din comentariu. */
	--gg-footer-bg: #0b0b0c;                       /* alb: #ffffff */
	--gg-footer-ink: rgba(255, 255, 255, 0.72);    /* alb: #5f6672 */
	--gg-footer-link: #ffffff;                     /* alb: #0b0b0c */
	--gg-footer-line: rgba(255, 255, 255, 0.22);   /* alb: #e4e7eb */
	--gg-footer-hover: rgba(255, 255, 255, 0.12);  /* alb: #f5f7fa */

	/* 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
       „Top Footer” = bandă albastră de conversie (abonare / apel la acțiune)
       „Bottom Footer” = coloane albe cu titluri negre mici
       Coloanele (1/2/3) se aleg din Personalizare → Theme Options.
   -------------------------------------------------------------------------- */
#tertiary {
	background: var(--gg-white);
	border-top: 1px solid var(--gg-line);
	color: var(--gg-ink);
}
#tertiary:has(> .widget-footer-top-area) {
	border-top: 0;                        /* banda albastră nu are nevoie de linie deasupra */
}
#tertiary .widget-footer-area {
	background: transparent;
	color: var(--gg-ink);
	padding: var(--gg-space) 0;
}
#tertiary .widget-footer-top-area + .widget-footer-bottom-area {
	border-top: 0;
}

/* Grilă pentru coloane (înlocuiește float-urile temei) */
#tertiary .widget-area-wrapper {
	width: 100%;
	max-width: calc(var(--gg-wide) + 2 * var(--gg-gutter));
	margin: 0 auto;
	padding: 0 var(--gg-gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem 3rem;
}
#tertiary .widget-area-wrapper:before,
#tertiary .widget-area-wrapper:after {
	display: none;                        /* clearfix-ul temei ar deveni celule goale în grilă */
}
@media screen and (min-width: 768px) {
	#tertiary .column-2 .widget-area-wrapper,
	#tertiary .column-3 .widget-area-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media screen and (min-width: 896px) {
	#tertiary .column-3 .widget-area-wrapper {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Widgetul (comun ambelor zone) */
#tertiary .widget {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: var(--gg-ink);
	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-title,
#tertiary .widgettitle,
#tertiary .widget h1,
#tertiary .widget h2,
#tertiary .widget h3,
#tertiary .widget h4 {
	color: var(--gg-black);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
	margin: 0 0 1rem;
}
#tertiary .widget a {
	color: var(--gg-ink);
	text-decoration: none;
}
#tertiary .widget a:hover,
#tertiary .widget a:focus {
	color: var(--gg-blue);
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
#tertiary .widget ul,
#tertiary .widget ol {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}
#tertiary .widget li {
	border: 0;
	margin: 0;
	padding: 0.3em 0;
}
#tertiary .widget ul ul,
#tertiary .widget .children,
#tertiary .widget .sub-menu {
	margin: 0.3em 0 0;
	padding-left: 1em;
	border: 0;
}
#tertiary .widget li li {
	padding: 0.2em 0;
}
#tertiary .widget_recent_entries .post-date,
#tertiary .wp-block-latest-posts__post-date,
#tertiary .wp-block-latest-comments__comment-date {
	display: block;
	color: var(--gg-muted);
	font-size: 0.8125rem;
}
#tertiary .tagcloud a,
#tertiary .wp-block-tag-cloud a {
	display: inline-block;
	margin: 0 0.25em 0.35em 0;
	padding: 0.2em 0.6em;
	background: var(--gg-surface);
	color: var(--gg-ink);
	border-radius: 3px;
	text-decoration: none;
}
#tertiary .tagcloud a:hover,
#tertiary .wp-block-tag-cloud a:hover {
	background: var(--gg-blue-soft);
	color: var(--gg-blue);
	text-decoration: none;
}
#tertiary .widget_calendar tbody a {
	background: var(--gg-blue-soft);
	color: var(--gg-blue);
}

/* Formulare din widgeturi (căutare, abonare) */
#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: 0.9375rem;
}
#tertiary input:focus,
#tertiary select:focus,
#tertiary textarea:focus {
	border-color: var(--gg-blue);
	outline-color: var(--gg-blue);
}
#tertiary ::placeholder {
	color: var(--gg-muted);
	opacity: 1;
}
#tertiary select option {
	color: var(--gg-ink);
}
#tertiary label {
	color: var(--gg-ink);
}
#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-black);
	color: var(--gg-white);
}
#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 albastru */
}
#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-black);
}
#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-surface);
	color: var(--gg-ink);
	border-color: var(--gg-line);
}

/* „Top Footer” = banda albastră de conversie: titlu mare alb, text alb, buton negru */
#tertiary .widget-footer-top-area {
	background: var(--gg-cta-bg);
	color: var(--gg-cta-ink);
	padding: calc(var(--gg-space) + 0.5rem) 0;
}
#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 .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.5rem, 1.2rem + 1.4vw, 2.125rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	text-transform: none;
	margin: 0 0 0.75rem;
}
#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.88);
}
#tertiary .widget-footer-top-area .widget p:last-child {
	margin-bottom: 0;
}
#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.15em;
}
#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[type="text"],
#tertiary .widget-footer-top-area input[type="email"],
#tertiary .widget-footer-top-area input[type="url"],
#tertiary .widget-footer-top-area input[type="search"],
#tertiary .widget-footer-top-area input[type="tel"],
#tertiary .widget-footer-top-area select,
#tertiary .widget-footer-top-area textarea,
#tertiary .widget-footer-top-area .wp-block-search__input,
#tertiary .widget-footer-top-area .wp-block-jetpack-subscriptions input[type="email"] {
	background: var(--gg-white);
	color: var(--gg-ink);
	border: 1px solid transparent;
	border-radius: var(--gg-radius);
	font-size: 1rem;
	padding: 0.8em 1em;
}
#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-color: var(--gg-white);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
#tertiary .widget-footer-top-area ::placeholder {
	color: var(--gg-muted);
}
#tertiary .widget-footer-top-area label {
	color: var(--gg-cta-ink);
}
#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;
	padding: 0.85em 1.5em;
}
#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.column-1 .wp-block-jetpack-subscriptions__form-elements,
#tertiary .widget-footer-top-area.column-1 .wp-block-jetpack-subscriptions form {
	justify-content: center;
}
#tertiary .widget-footer-top-area .wp-block-jetpack-subscriptions__subscount,
#tertiary .widget-footer-top-area p.wp-block-jetpack-subscriptions__subscount {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.8125rem;
}
#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);
}
#tertiary .widget-footer-top-area .wp-block-social-links .wp-social-link a,
#tertiary .widget-footer-top-area .wp-block-social-links .wp-social-link {
	color: var(--gg-cta-ink);
}


/* --------------------------------------------------------------------------
   13. Subsol — bara finală (#colophon): text de subsol + meniu social
   -------------------------------------------------------------------------- */
#colophon {
	background: var(--gg-footer-bg);
	border-top: 0;
	padding: 2rem 0;
	color: var(--gg-footer-ink);
	font-size: 0.875rem;
}
#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);
	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);
}
@media screen and (min-width: 896px) {
	#colophon .jetpack-social-navigation ul {
		margin-bottom: 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);
}

/* 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: widgeturile stau unul sub altul, cu spațiu mai mic; bara finală centrată */
	#tertiary .widget-area-wrapper {
		gap: 2rem;
	}
	/* 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;
	}
	#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;
	}
}


/* --------------------------------------------------------------------------
   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;
	}
}

@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; }
}