/*!
Theme Name: FunGuide
Theme URI: https://them.es/starter
Author: DaliMedia
Author URI: https://dalimedia.ro
Description: custom theme for FunGuide.ro
Version: 4.2.3
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: funguide
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition:
		filter 0.2s ease-in,
		-webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* =========================================================================
 * FunGuide Homepage (v1)
 * ========================================================================= */

body.fg-home-page { overflow-x: clip; }
body.fg-home-page,
.fg-home { font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--fg-ink); }
body.fg-home-page #main { max-width: 100%; padding: 0; margin-top: 0; }
body.fg-home-page #main > .content > .entry-title,
body.fg-home-page #main > .content > .edit-link { display: none; }

/* Layout */
.fg-home .fg-section { padding: 90px 20px; margin: 0; }
.fg-home .fg-wrap { max-width: 1110px; margin-left: auto; margin-right: auto; }
.fg-home .fg-title,
.fg-home h2.fg-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--fg-ink); margin: 0; letter-spacing: -.01em; }
.fg-home .fg-center { text-align: center; }
.fg-home .fg-lead { color: var(--fg-muted); font-size: 1.1rem; max-width: 600px; margin: 16px auto 0; }

/* Butoane */
.fg-home a.fg-btn,
.fg-home button.fg-btn,
.fg-home .wp-block-button.fg-btn .wp-block-button__link {
	display: inline-block; border-radius: 4px; padding: 14px 44px; font-weight: 700;
	text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.fg-home a.fg-btn:hover,
.fg-home button.fg-btn:hover,
.fg-home .wp-block-button.fg-btn .wp-block-button__link:hover { transform: translateY(-2px); }
.fg-home a.fg-btn--pink,
.fg-home button.fg-btn--pink,
.fg-home .wp-block-button.fg-btn--pink .wp-block-button__link { background: var(--fg-red); color: #fff; box-shadow: 0 10px 30px rgba(200, 16, 46,.35); }
.fg-home a.fg-btn--ghost,
.fg-home button.fg-btn--ghost,
.fg-home .wp-block-button.fg-btn--ghost .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; }
.fg-home a.fg-btn--outline,
.fg-home button.fg-btn--outline,
.fg-home .wp-block-button.fg-btn--outline .wp-block-button__link { background: #fff; color: var(--fg-red); border-color: var(--fg-red); box-shadow: var(--fg-shadow); }

/* Hero */
.fg-home .fg-hero {
	position: relative; margin: 0; padding: 210px 20px 170px; color: #fff;
	background: linear-gradient(120deg, #1c1a17 0%, #0f0e0c 100%);
	overflow: hidden;
}
.fg-home .fg-hero::before {
	content: ''; position: absolute; inset: 0; opacity: .18;
	background: radial-gradient(circle at 20% 30%, #fff 0, transparent 35%), radial-gradient(circle at 80% 70%, #fff 0, transparent 30%);
	pointer-events: none;
}
.fg-home .fg-hero .fg-wrap { position: relative; }
.fg-home .fg-hero .wp-block-columns { align-items: center; gap: 48px; margin: 0; }
.fg-home .fg-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 700; line-height: 1.15; margin: 0 0 20px; }
.fg-home .fg-hero p { color: rgba(255,255,255,.92); font-size: 1.15rem; margin: 0 0 32px; }
.fg-home .fg-hero .wp-block-buttons { gap: 20px; }
.fg-home .fg-hero .wp-block-image { margin: 0; }
.fg-home .fg-hero .wp-block-image img { border-radius: 6px; box-shadow: 0 30px 60px rgba(20, 16, 12, .35); width: 100%; height: auto; }
.fg-home .fg-hero-placeholder {
	aspect-ratio: 4 / 3; border-radius: 6px; border: 2px dashed rgba(255,255,255,.55);
	display: flex; align-items: center; justify-content: center; text-align: center;
	background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-weight: 500; padding: 20px;
}

/* Bara de căutare */
.fg-home .fg-search-wrap { position: relative; z-index: 5; margin: -80px auto 0; padding: 0 20px; max-width: 1150px; }
.fg-home .fg-search {
	display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 32px; align-items: end;
	background: var(--fg-ink); border-radius: 6px; padding: 36px 44px; box-shadow: 0 25px 50px rgba(20, 16, 12, .30);
}
.fg-home .fg-search__field { display: flex; flex-direction: column; gap: 8px; margin: 0; color: #fff; }
.fg-home .fg-search__field span { font-size: .95rem; opacity: .9; }
.fg-home .fg-search__field input,
.fg-home .fg-search__field select {
	background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); border-radius: 0;
	color: #fff; font-size: 1.2rem; font-weight: 700; padding: 6px 0; outline: none; width: 100%; color-scheme: dark;
}
.fg-home .fg-search__field input::placeholder { color: rgba(255,255,255,.55); font-weight: 500; }
.fg-home .fg-search__field select option { color: var(--fg-ink); }
.fg-home .fg-search .fg-btn { padding: 12px 32px; }
@media (max-width: 900px) {
	.fg-home .fg-search { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; }
}

/* Evenimente */
.fg-home .fg-events__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 56px; }
.fg-home .fg-events__filters { display: flex; flex-wrap: wrap; gap: 16px; }
.fg-home .fg-pill {
	appearance: none; -webkit-appearance: none; background: var(--fg-paper-2); color: var(--fg-ink); border: 0; border-radius: 4px;
	padding: 12px 44px 12px 24px; font: inherit; font-size: .95rem; text-decoration: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e1b5e' stroke-width='2' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 20px center;
}
.fg-home a.fg-pill { background-image: none; padding-right: 24px; }
.fg-home .fg-events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 991px) { .fg-home .fg-events__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fg-home .fg-events__grid { grid-template-columns: 1fr; } }
.fg-home .fg-card {
	display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden;
	box-shadow: var(--fg-shadow); text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease;
}
.fg-home .fg-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(20, 16, 12, .18); }
.fg-home .fg-card__img { position: relative; display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.fg-home .fg-card__img--empty { background: linear-gradient(120deg, #1c1a17 0%, #0f0e0c 100%); }
.fg-home .fg-card__cat {
	position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.92); color: var(--fg-red);
	font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 4px;
}
.fg-home .fg-card__body { display: flex; gap: 20px; padding: 24px 24px 28px; }
.fg-home .fg-card__date { display: flex; flex-direction: column; align-items: center; min-width: 36px; }
.fg-home .fg-card__month { color: var(--fg-red); font-size: .8rem; font-weight: 700; }
.fg-home .fg-card__day { color: var(--fg-ink); font-size: 1.8rem; font-weight: 700; line-height: 1.1; }
.fg-home .fg-card__text { display: flex; flex-direction: column; gap: 10px; }
.fg-home .fg-card__title { font-weight: 700; font-size: 1.05rem; line-height: 1.4; color: var(--fg-ink); }
.fg-home .fg-card__meta { color: var(--fg-muted); font-size: .92rem; }
.fg-home .fg-events .fg-center { margin-top: 56px; }

/* CTA „Organizezi un eveniment?” */
.fg-home .fg-cta { background: var(--fg-paper-2); padding: 60px 20px; margin: 40px 0 0; }
.fg-home .fg-cta .wp-block-columns { align-items: center; gap: 48px; margin: 0; }
.fg-home .fg-cta h2 { color: var(--fg-ink); font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 700; margin: 0 0 12px; }
.fg-home .fg-cta p { font-size: 1.1rem; margin: 0 0 28px; }
.fg-home .fg-cta .wp-block-image img { border-radius: 6px; width: 100%; height: auto; }
.fg-home .fg-img-placeholder {
	aspect-ratio: 16 / 10; border-radius: 6px; border: 2px dashed rgba(200, 16, 46,.35); background: rgba(255,255,255,.5);
	display: flex; align-items: center; justify-content: center; text-align: center; color: var(--fg-red); font-weight: 500; padding: 20px;
}

/* Parteneri */
.fg-home .fg-partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; margin-top: 56px; }
@media (max-width: 900px) { .fg-home .fg-partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .fg-home .fg-partners { grid-template-columns: repeat(2, 1fr); } }
.fg-home .fg-partners > * { margin: 0 !important; }
.fg-home .fg-partner {
	height: 90px; display: flex; align-items: center; justify-content: center; border-radius: 6px;
	border: 2px dashed var(--fg-line); color: var(--fg-muted-2); font-weight: 700; font-size: .95rem;
}
.fg-home .fg-partners img { max-height: 60px; width: auto; margin: 0 auto; filter: grayscale(1); opacity: .75; transition: all .2s; }
.fg-home .fg-partners img:hover { filter: none; opacity: 1; }

/* Blog */
.fg-home .fg-blog .wp-block-latest-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 56px 0 0; padding: 0; }
@media (max-width: 991px) { .fg-home .fg-blog .wp-block-latest-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fg-home .fg-blog .wp-block-latest-posts { grid-template-columns: 1fr; } }
.fg-home .fg-blog .wp-block-latest-posts li { list-style: none; margin: 0; display: flex; flex-direction: column; }
.fg-home .fg-blog .wp-block-latest-posts__featured-image { margin: 0 0 20px; order: -1; }
.fg-home .fg-blog .wp-block-latest-posts__featured-image img { border-radius: 6px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; }
.fg-home .fg-blog .wp-block-latest-posts__post-title { color: var(--fg-ink); font-weight: 700; font-size: 1.25rem; line-height: 1.45; text-decoration: none; }
.fg-home .fg-blog .wp-block-latest-posts__post-excerpt { color: var(--fg-ink); margin: 14px 0 12px; }
.fg-home .fg-blog .wp-block-latest-posts__post-date,
.fg-home .fg-blog .wp-block-latest-posts__post-author { color: var(--fg-muted-2); font-size: .92rem; display: inline; }
.fg-home .fg-blog .wp-block-buttons { margin-top: 56px; }


@media (max-width: 781px) {
	.fg-home .fg-section { padding: 64px 20px; }
	.fg-home .fg-hero { padding: 190px 20px 140px; }
	.fg-home .fg-hero .wp-block-column:first-child { order: 2; }
}


/* =========================================================================
 * FunGuide: formular „Adaugă eveniment”
 * ========================================================================= */
.fg-submit { max-width: 860px; margin: 0 auto; }
.fg-submit .fg-form fieldset {
	background: #fff; border-radius: 6px; box-shadow: var(--fg-shadow); padding: 28px 32px; margin: 0 0 24px; border: 0;
}
.fg-submit .fg-form legend { float: none; font-size: 1.25rem; font-weight: 700; color: var(--fg-ink); margin: 0 0 18px; padding: 0; }
.fg-submit .fg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.fg-submit .fg-f { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.fg-submit .fg-f--full { grid-column: 1 / -1; }
.fg-submit .fg-f span { font-weight: 500; font-size: .95rem; color: var(--fg-ink); }
.fg-submit input[type=text], .fg-submit input[type=email], .fg-submit input[type=tel], .fg-submit input[type=url],
.fg-submit input[type=date], .fg-submit input[type=time], .fg-submit select, .fg-submit textarea {
	width: 100%; border: 1px solid var(--fg-line); border-radius: 6px; padding: 12px 14px; font: inherit; background: var(--fg-white);
}
.fg-submit input:focus, .fg-submit select:focus, .fg-submit textarea:focus { outline: 2px solid rgba(200, 16, 46,.35); border-color: var(--fg-red); }
.fg-submit input[type=file] { font: inherit; }
.fg-submit .fg-check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.fg-submit .fg-check input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--fg-red); }
.fg-submit .fg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fg-submit .fg-form__submit { text-align: center; margin: 8px 0 6px; }
.fg-submit .fg-form__submit .fg-btn { border: 0; cursor: pointer; font-size: 1.05rem; }
.fg-submit .fg-form__hint { text-align: center; color: var(--fg-muted); font-size: .9rem; margin: 10px 0 0; }
.fg-submit fieldset .fg-form__hint { text-align: left; }
.fg-alert { border-radius: 6px; padding: 16px 20px; margin: 0 0 24px; font-weight: 500; }
.fg-alert--ok { background: #e6f8ef; color: #11683f; }
.fg-alert--err { background: var(--fg-red-soft); color: var(--fg-red-dark); }
@media (max-width: 640px) {
	.fg-submit .fg-grid { grid-template-columns: 1fr; }
	.fg-submit .fg-form fieldset { padding: 22px 18px; }
}


/* ----- Corecturi v3.8 ----- */
.fg-home .wp-block-button.fg-btn { padding: 0; border: 0; background: none; box-shadow: none; }
.fg-home .fg-hero-placeholder,
.fg-home .fg-img-placeholder { flex-direction: column; gap: 6px; }
.fg-home .fg-partners { display: block; }
.fg-home .fg-partners > .wp-block-group__inner-container,
.fg-home .fg-partners:not(:has(> .wp-block-group__inner-container)) {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px;
}
@media (max-width: 900px) {
	.fg-home .fg-partners > .wp-block-group__inner-container,
	.fg-home .fg-partners:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
	.fg-home .fg-partners > .wp-block-group__inner-container,
	.fg-home .fg-partners:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(2, 1fr); }
}
.fg-home .fg-partners .wp-block-group__inner-container > * { margin: 0 !important; }


.fg-submit .fg-form legend { float: left; width: 100%; }
.fg-submit .fg-form legend + * { clear: both; }

/* ----- Slider hero (Smart Slider 3) v3.8.2 ----- */
.fg-home .fg-slider { margin: 0; }
.fg-home .fg-slider .wp-block-group__inner-container > p,
.fg-home .fg-slider > p { margin: 0; }


/* =========================================================================
 * FunGuide v3.9: calendar de evenimente (listă/lună/zi) + pagina evenimentului
 * ========================================================================= */
body.fg-events-page { overflow-x: clip; background: var(--fg-paper); }
body.fg-events-page #main { margin-top: 0; }
.fg-events-page .tribe-events-pg-template { max-width: none; padding: 0 0 48px; margin: 0; }
.fg-events-page .tribe-common a:focus-visible { outline: 2px solid var(--fg-red); outline-offset: 2px; }

/* Banda de titlu */
.fg-events-banner {
	position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-bottom: 0;
	background: linear-gradient(120deg, #1c1a17 0%, #0f0e0c 100%);
	color: #fff; padding: 56px 20px 110px; overflow: hidden;
}
.fg-events-banner::before {
	content: ''; position: absolute; inset: 0; opacity: .16; pointer-events: none;
	background: radial-gradient(circle at 15% 20%, #fff 0, transparent 32%), radial-gradient(circle at 85% 80%, #fff 0, transparent 28%);
}
.fg-events-banner__inner { position: relative; max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.fg-events-banner__title { color: #fff; font-family: var(--fg-serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 12px; letter-spacing: -.01em; }
.fg-events-banner__sub { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 640px; margin: 0 0 24px; }
.fg-events-banner__cta {
	display: inline-block; color: #fff; border: 2px solid rgba(255,255,255,.8); border-radius: 4px;
	padding: 10px 24px; font-weight: 700; text-decoration: none; transition: background .15s, color .15s;
}
.fg-events-banner__cta:hover { background: #fff; color: var(--fg-red); }

/* Bara de căutare și vizualizări */
.fg-events-page .tribe-events-header { position: relative; z-index: 2; }
.fg-events-page .tribe-events .tribe-events-c-events-bar {
	margin-top: -64px; background: #fff; border: 0 !important; border-radius: 6px;
	box-shadow: 0 20px 50px rgba(20, 16, 12, .14); padding: 10px 14px;
}
.fg-events-page .tribe-events .tribe-events-c-search__input-control { flex: 1; }
.fg-events-page .tribe-events .tribe-events-c-search__input { font-size: 1.05rem; }
.fg-events-page .tribe-events .tribe-events-c-search__button,
.fg-events-page .tribe-common .tribe-common-c-btn.tribe-events-c-search__button {
	background: var(--fg-red); border-radius: 4px; padding: 12px 28px; font-weight: 700; box-shadow: 0 8px 20px rgba(200, 16, 46,.3);
}
.fg-events-page .tribe-events .tribe-events-c-search__button:hover { background: var(--fg-red-dark); }
.fg-events-page .tribe-events .tribe-events-c-view-selector__list-item-text,
.fg-events-page .tribe-events .tribe-events-c-view-selector__button-text { font-weight: 700; }
.fg-events-page .tribe-events .tribe-events-c-view-selector__list-item--active .tribe-events-c-view-selector__list-item-link::after { background: var(--fg-red); height: 3px; border-radius: 3px; }

/* Bara cu luna / navigare */
.fg-events-page .tribe-events .tribe-events-c-top-bar { margin: 28px 0 8px; }
.fg-events-page .tribe-events .tribe-events-c-top-bar__datepicker-button { color: var(--fg-ink); font-weight: 700; font-size: 1.5rem; }
.fg-events-page .tribe-common .tribe-common-c-btn-border-small,
.fg-events-page .tribe-events .tribe-events-c-top-bar__today-button {
	border: 1px solid var(--fg-line); border-radius: 4px; padding: 6px 16px; color: var(--fg-red); font-weight: 700; background: #fff;
}
.fg-events-page .tribe-common .tribe-common-c-btn-icon { border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(20, 16, 12,.1); width: 34px; height: 34px; }

/* Separator de lună */
.fg-events-page .tribe-events .tribe-events-calendar-list__month-separator { margin: 32px 0 18px; }
.fg-events-page .tribe-events .tribe-events-calendar-list__month-separator::after { display: none; }
.fg-events-page .tribe-events .tribe-events-calendar-list__month-separator-text {
	display: inline-block; background: var(--fg-paper-2); color: var(--fg-red); font-weight: 700; font-size: .95rem;
	text-transform: uppercase; letter-spacing: .06em; border-radius: 4px; padding: 6px 16px;
}

/* Rândul unui eveniment = card */
.fg-events-page .tribe-events .tribe-events-calendar-list__event-row {
	background: #fff; border-radius: 6px; box-shadow: 0 10px 40px rgba(20, 16, 12, .08);
	padding: 22px 12px; margin: 0 0 22px; transition: transform .2s ease, box-shadow .2s ease; align-items: center;
}
.fg-events-page .tribe-events .tribe-events-calendar-list__event-row:hover { transform: translateY(-3px); box-shadow: 0 18px 50px rgba(20, 16, 12, .14); }
.fg-events-page .tribe-events .tribe-events-calendar-list__event-date-tag-datetime {
	background: linear-gradient(160deg, var(--fg-paper-2) 0%, var(--fg-red-soft) 100%); border-radius: 6px; padding: 12px 6px; min-width: 64px;
}
.fg-events-page .tribe-events .tribe-events-calendar-list__event-date-tag-weekday { color: var(--fg-red); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.fg-events-page .tribe-events .tribe-events-calendar-list__event-date-tag-daynum { color: var(--fg-ink); font-weight: 700; font-size: 1.9rem; }
.fg-events-page .tribe-events .tribe-events-calendar-list__event { align-items: center; }
.fg-events-page .tribe-events .tribe-events-calendar-list__event-title { margin: 6px 0 8px; }
.fg-events-page .tribe-events .tribe-events-calendar-list__event-title-link {
	color: var(--fg-ink); font-weight: 700; font-size: 1.4rem; line-height: 1.3; border: 0;
}
.fg-events-page .tribe-events .tribe-events-calendar-list__event-title-link:hover { color: var(--fg-red); }
.fg-events-page .tribe-events .tribe-events-calendar-list__event-datetime { color: var(--fg-red); font-weight: 700; font-size: .95rem; }
.fg-events-page .tribe-events .tribe-events-calendar-list__event-venue { color: var(--fg-muted); font-size: .95rem; }
.fg-events-page .tribe-events .tribe-events-calendar-list__event-venue-title { color: var(--fg-ink); font-weight: 700; }
.fg-events-page .tribe-events .tribe-events-calendar-list__event-description { color: var(--fg-ink-2); font-size: 1rem; margin-top: 8px; }
.fg-events-page .tribe-events .tribe-events-c-small-cta__price {
	display: inline-block; background: var(--fg-red-soft); color: var(--fg-red-dark); font-weight: 700; border-radius: 4px; padding: 4px 12px; font-size: .9rem;
}
/* Imaginea din listă (sau gradientul de rezervă) */
.fg-events-page .fg-list-img {
	position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden;
	background-size: cover; background-position: center;
}
.fg-events-page .fg-list-img img { width: 100%; height: 100%; object-fit: cover; }
.fg-events-page .fg-list-img .fg-card__cat {
	position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92); color: var(--fg-red);
	font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 4px;
}

/* Navigarea de jos */
.fg-events-page .tribe-events .tribe-events-c-nav { border-top: 0; margin-top: 12px; }
.fg-events-page .tribe-events .tribe-events-c-nav__prev,
.fg-events-page .tribe-events .tribe-events-c-nav__next,
.fg-events-page .tribe-events .tribe-events-c-nav__today {
	background: #fff; border-radius: 4px; padding: 10px 22px; box-shadow: 0 6px 18px rgba(20, 16, 12,.08); color: var(--fg-red); font-weight: 700;
}
.fg-events-page .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button {
	border-radius: 4px; border-color: var(--fg-line); color: var(--fg-red); background: #fff;
}

/* Vizualizarea „Lună” */
.fg-events-page .tribe-events .tribe-events-calendar-month { background: #fff; border-radius: 6px; box-shadow: 0 10px 40px rgba(20, 16, 12,.08); overflow: hidden; }
.fg-events-page .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-daynum { color: var(--fg-red); }
.fg-events-page .tribe-events .tribe-events-calendar-month__calendar-event-title-link { color: var(--fg-ink); font-weight: 700; }


/* =========================================================================
 * FunGuide v3.12: locuri de reclamă (non-intruzive, spațiu rezervat)
 * ========================================================================= */
.fg-ad { display: block; clear: both; text-align: center; margin: 40px auto; max-width: 970px; }
.fg-ad__label {
	display: block; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--fg-muted-2); margin-bottom: 6px;
}
.fg-ad__unit { display: block; min-height: 100px; overflow: hidden; }
.fg-ad--home { padding: 0 20px; }
.fg-ad--home .fg-ad__unit { min-height: 100px; }
@media (min-width: 768px) { .fg-ad--home .fg-ad__unit { min-height: 90px; } }
.fg-ad--event_single { margin: 0 0 28px; max-width: none; }
.fg-ad--event_single .fg-ad__unit,
.fg-ad--post_top .fg-ad__unit,
.fg-ad--post_bottom .fg-ad__unit { min-height: 250px; }
.fg-ad--post_top, .fg-ad--post_bottom { margin: 32px auto; }

/* În lista de evenimente arată ca un card */
.fg-events-page .fg-ad--events_list {
	max-width: none; margin: 0 0 22px; background: #fff; border-radius: 6px;
	box-shadow: 0 10px 40px rgba(20, 16, 12, .06); padding: 14px 16px 18px;
}
.fg-ad--events_list .fg-ad__unit { min-height: 120px; }

/* Placeholder (vizibil doar pentru administratori, implicit) */
.fg-ad--placeholder .fg-ad__unit {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	border: 2px dashed var(--fg-line); border-radius: 6px; background: repeating-linear-gradient(135deg, var(--fg-paper) 0 12px, var(--fg-paper-2) 12px 24px);
	color: var(--fg-red); padding: 16px; font-size: .9rem;
}
.fg-ad--placeholder .fg-ad__unit strong { font-size: 1rem; }
.fg-ad--placeholder .fg-ad__unit span { color: var(--fg-ink); }
.fg-ad--placeholder .fg-ad__unit small { color: var(--fg-muted-2); }

/* =========================================================================
 * FunGuide v3.13: „Azi în oraș” – evenimentele zilei pe categorii
 * ========================================================================= */
.fg-today__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 36px; }
.fg-today__eyebrow { margin: 0 0 4px; color: var(--fg-red); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.fg-today__all { color: var(--fg-red); font-weight: 700; text-decoration: none; }
.fg-today__all:hover { color: var(--fg-red); }
.fg-today__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 991px) { .fg-today__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fg-today__grid { grid-template-columns: 1fr; } }
.fg-today__cat {
	display: flex; flex-direction: column; background: #fff; border-radius: 6px;
	box-shadow: 0 8px 30px rgba(20, 16, 12, .07); padding: 20px 20px 16px;
}
.fg-today__cat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.fg-today__cat-head h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.fg-today__cat-head h3 a { color: var(--fg-ink); text-decoration: none; }
.fg-today__cat-head h3 a:hover { color: var(--fg-red); }
.fg-today__badge { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-radius: 4px; padding: 3px 10px; background: var(--fg-paper-2); color: var(--fg-red); }
.fg-today__badge--live { background: var(--fg-red-soft); color: var(--fg-red-dark); }
.fg-today__list { list-style: none; margin: 0; padding: 0; flex: 1; }
.fg-today__list li { margin: 0; border-top: 1px solid var(--fg-line); }
.fg-today__list li:first-child { border-top: 0; }
.fg-mini { display: flex; align-items: center; gap: 12px; padding: 9px 0; text-decoration: none; color: inherit; }
.fg-mini__img { flex-shrink: 0; width: 56px; height: 56px; border-radius: 6px; background-size: cover; background-position: center; }
.fg-mini__text { display: flex; flex-direction: column; min-width: 0; }
.fg-mini__title {
	font-weight: 700; font-size: .95rem; line-height: 1.3; color: var(--fg-ink);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fg-mini:hover .fg-mini__title { color: var(--fg-red); }
.fg-mini__meta { font-size: .82rem; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.fg-mini__time { color: var(--fg-red); font-weight: 700; }
.fg-today__empty { color: var(--fg-muted-2); font-size: .9rem; margin: 8px 0 12px; flex: 1; }
.fg-today__more { margin-top: 10px; font-size: .85rem; font-weight: 700; color: var(--fg-red); text-decoration: none; }
.fg-today__more:hover { color: var(--fg-red); }
.fg-home .fg-section--today { background: var(--fg-paper); }

/* v3.13.1: coloane egale în „Azi în oraș” */
.fg-today__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 991px) { .fg-today__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fg-today__grid { grid-template-columns: minmax(0, 1fr); } }
.fg-today__cat, .fg-mini, .fg-mini__text { min-width: 0; }

/* v3.13.2: banda de titlu din calendar – specificitate peste resetările TEC */
.fg-events-page .tribe-events .tribe-events-l-container { padding-top: 0; }
.tribe-common .tribe-events-before-html { margin: 0; }
.tribe-common .fg-events-banner {
	position: relative; display: block; box-sizing: border-box;
	width: auto; max-width: none;
	/* full-bleed, dar cu textul aliniat exact cu restul calendarului */
	margin: 0 calc(50% - 50vw);
	padding: 56px calc(50vw - 50%) 110px; color: #fff;
	background: linear-gradient(120deg, #1c1a17 0%, #0f0e0c 100%);
}
.tribe-common .fg-events-banner__inner { position: relative; max-width: none; margin: 0; padding: 0; }
.tribe-common .fg-events-banner__title {
	color: #fff; font-family: var(--fg-serif); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15; margin: 0 0 12px;
}
.tribe-common .fg-events-banner__sub { color: rgba(255,255,255,.9); font-size: 1.1rem; line-height: 1.6; max-width: 640px; margin: 0 0 24px; }
.tribe-common .fg-events-banner__cta {
	display: inline-block; color: #fff; border: 2px solid rgba(255,255,255,.8); border-radius: 4px;
	padding: 10px 24px; font-weight: 700; text-decoration: none;
}
.tribe-common .fg-events-banner__cta:hover { background: #fff; color: var(--fg-red); }


/* =========================================================================
 * FunGuide v3.14: Filme (arhivă + pagina filmului)
 * ========================================================================= */
.fg-films__banner { margin-bottom: 0; }
.fg-films__inner { max-width: 1260px; margin: 0 auto; padding: 32px 20px 60px; }
.fg-films__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -70px 0 36px; position: relative; z-index: 2;
	background: #fff; border-radius: 6px; box-shadow: 0 20px 50px rgba(20, 16, 12, .14); padding: 16px 18px; }
.fg-films .fg-pill { padding: 8px 16px; font-size: .88rem; font-weight: 600; border-radius: 4px; background-color: var(--fg-paper-2); color: var(--fg-ink); text-decoration: none; }
.fg-films select.fg-pill { padding-right: 40px; margin-left: auto; }
.fg-films a.fg-pill.is-active { background: var(--fg-red); color: #fff; }
.fg-films__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1100px) { .fg-films__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .fg-films__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .fg-films select.fg-pill { margin-left: 0; } }
.fg-film-card { display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden;
	box-shadow: 0 10px 40px rgba(20, 16, 12, .08); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.fg-film-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(20, 16, 12, .16); }
.fg-film-card__poster { position: relative; display: block; aspect-ratio: 2 / 3; background: var(--fg-ink) center / cover no-repeat; }
.fg-film-card__poster.is-empty { background-image: linear-gradient(160deg, #3a332b, #141414); }
.fg-film-card__rating { position: absolute; left: 10px; top: 10px; background: #f5c518; color: var(--fg-ink); font-weight: 700; font-size: .8rem; border-radius: 8px; padding: 3px 8px; }
.fg-film-card__clasif { position: absolute; right: 10px; top: 10px; background: rgba(0,0,0,.7); color: #fff; font-weight: 700; font-size: .75rem; border-radius: 6px; padding: 3px 7px; }
.fg-film-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 18px; }
.fg-film-card__title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--fg-ink); }
.fg-film-card__meta { font-size: .85rem; color: var(--fg-muted); }
.fg-film-card__next { font-size: .85rem; color: var(--fg-ink); margin-top: 6px; }
.fg-film-card__next strong { color: var(--fg-red); }
.fg-film-card__next em { display: block; font-style: normal; color: var(--fg-red); font-size: .8rem; }
.fg-film-card__next.is-none { color: var(--fg-muted-2); }
.fg-films__pagination { margin-top: 40px; text-align: center; }
.fg-films__pagination .page-numbers { display: inline-block; min-width: 40px; padding: 8px 12px; margin: 0 3px; border-radius: 4px; background: #fff; color: var(--fg-red); font-weight: 700; text-decoration: none; box-shadow: 0 4px 12px rgba(20, 16, 12,.08); }
.fg-films__pagination .page-numbers.current { background: var(--fg-red); color: #fff; }

/* Pagina filmului */
.fg-film-hero {
	position: relative; width: 100vw; margin-left: calc(50% - 50vw); color: #fff; padding: 48px 20px 56px;
	background: linear-gradient(120deg, rgba(20, 16, 12, .94) 0%, rgba(91, 33, 214, .9) 60%, rgba(232, 56, 138, .88) 100%), var(--fg-hero-img) center / cover no-repeat;
}
.fg-film-hero__inner { max-width: 1110px; margin: 0 auto; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.fg-film-hero__poster { border-radius: 6px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,.35); aspect-ratio: 2 / 3; background: linear-gradient(160deg, #3a332b, #141414); }
.fg-film-hero__poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fg-film-hero__year { font-weight: 500; opacity: .75; }
.fg-film-hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; }
.fg-film-hero__facts li { background: rgba(255,255,255,.16); border-radius: 8px; padding: 5px 12px; font-weight: 700; font-size: .95rem; }
.fg-film-hero__facts li.is-rating { background: #f5c518; color: var(--fg-ink); }
.fg-film-hero__facts li small { font-weight: 600; opacity: .8; }
.fg-film-hero__crew { margin: 0; }
.fg-film-hero__crew div { margin-bottom: 6px; }
.fg-film-hero__crew dt { display: inline; font-weight: 500; opacity: .75; margin-right: 6px; }
.fg-film-hero__crew dd { display: inline; margin: 0; font-weight: 600; }
.fg-film .fg-btn { display: inline-block; border-radius: 4px; padding: 13px 32px; font-weight: 700; text-decoration: none; background: var(--fg-red); color: #fff; box-shadow: 0 10px 30px rgba(200, 16, 46,.35); margin: 0 10px 10px 0; }
.fg-film .fg-btn:hover { color: #fff; transform: translateY(-2px); }
.fg-film .fg-btn--ghost-light { background: transparent; border: 2px solid rgba(255,255,255,.8); box-shadow: none; }
.fg-film__layout { margin-top: 40px; }
.fg-program__day { padding: 14px 0; border-top: 1px solid var(--fg-line); }
.fg-program__day:first-child { border-top: 0; padding-top: 0; }
.fg-program__date { font-size: 1rem; font-weight: 700; color: var(--fg-red); margin: 0 0 10px; text-transform: none; }
.fg-program__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 6px 0; }
.fg-program__cinema { min-width: 200px; font-weight: 700; }
.fg-program__cinema a { color: var(--fg-ink); text-decoration: none; }
.fg-program__times { display: flex; flex-wrap: wrap; gap: 8px; }
.fg-time { display: inline-block; background: var(--fg-paper-2); color: var(--fg-red); font-weight: 700; border-radius: 8px; padding: 6px 12px; font-size: .95rem; }
.fg-program__empty { color: var(--fg-muted); margin: 0; }
.fg-film__trailer iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 6px; }
@media (max-width: 760px) {
	.fg-film-hero__inner { grid-template-columns: 1fr; gap: 24px; }
	.fg-film-hero__poster { max-width: 200px; }
	.fg-program__cinema { min-width: 0; width: 100%; }
}

/* =========================================================================
 * FunGuide: footer
 * ========================================================================= */
.fg-footer { background: var(--fg-black); color: rgba(255,255,255,.85); padding: 80px 0 0; margin-top: 60px; }
body.fg-home-page .fg-footer { margin-top: 0; }
.fg-footer a { color: #fff; text-decoration: none; }
.fg-footer a:hover { color: #fff; opacity: .75; }
.fg-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
@media (max-width: 991px) { .fg-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fg-footer__grid { grid-template-columns: 1fr; gap: 36px; } }
.fg-footer__logo { display: inline-block; font-size: 1.8rem; font-weight: 700; margin-bottom: 18px; }
.fg-footer__logo img { max-height: 48px; width: auto; }
.fg-footer__brand p { max-width: 340px; line-height: 1.7; }
.fg-footer__social { display: flex; gap: 12px; margin-top: 20px; }
.fg-footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; }
.fg-footer__social a:hover { background: var(--fg-red); opacity: 1; }
.fg-footer h3 { color: #fff; font-size: 1.2rem; font-weight: 700; margin: 0 0 22px; }
.fg-footer ul { list-style: none; margin: 0; padding: 0; }
.fg-footer li { margin: 0 0 12px; }
.fg-footer__cta p { line-height: 1.6; margin-bottom: 22px; }
.fg-footer .fg-btn {
	display: inline-block; border-radius: 4px; padding: 12px 24px; font-weight: 700; background: var(--fg-red); color: #fff;
	box-shadow: 0 10px 30px rgba(0,0,0,0);
}
.fg-footer__widgets { margin-top: 40px; }
.fg-footer__bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 60px; padding: 26px 0; text-align: center; }
.fg-footer__bottom p { margin: 0; font-size: .95rem; }


/* =========================================================================
 * FunGuide v4.0 — layout „editorial” (crem · negru · roșu, titluri serif)
 * ========================================================================= */
:root {
	--fg-paper: #f6f1e9;
	--fg-paper-2: #ece4d6;
	--fg-white: #fffdf9;
	--fg-ink: #141414;
	--fg-ink-2: #3a3631;
	--fg-muted: #6b645a;
	--fg-muted-2: #9a9186;
	--fg-line: #e2d9cb;
	--fg-red: #c8102e;
	--fg-red-dark: #a50d26;
	--fg-red-soft: #f7e1df;
	--fg-black: #0f0f0e;
	--fg-dark-2: #1b1a18;
	--fg-serif: 'DM Serif Display', 'Times New Roman', Georgia, serif;
	--fg-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--fg-shadow: 0 10px 30px rgba(20, 16, 12, .08);
	--fg-radius: 6px;
	--fg-wrap: 1240px;
	--fg-gutter: 24px;
	--fg-header-h: 72px;
	/* compatibilitate cu numele vechi */
	--fg-pink: var(--fg-red);
	--fg-purple: var(--fg-red);
	--fg-navy: var(--fg-ink);
	--fg-navy-dark: var(--fg-black);
	--fg-lilac: var(--fg-paper-2);
	--fg-text: var(--fg-ink);
}

html { scroll-padding-top: calc(var(--fg-header-h) + 16px); }
body.fg-v4 {
	background: var(--fg-paper); color: var(--fg-ink); font-family: var(--fg-sans);
	-webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.fg-v4 a { color: var(--fg-ink); }
body.fg-v4 a:hover { color: var(--fg-red); }
body.fg-v4 h1, body.fg-v4 h2, body.fg-v4 h3 { font-family: var(--fg-serif); font-weight: 400; letter-spacing: -.005em; }
body.fg-v4 ::selection { background: var(--fg-red); color: #fff; }
body.fg-v4 :focus-visible { outline: 2px solid var(--fg-red); outline-offset: 2px; }
.fg-i { flex-shrink: 0; vertical-align: middle; }
.fg-upper { text-transform: uppercase; letter-spacing: .04em; }

/* Lățime + secțiuni */
.fg-wrap { width: 100%; max-width: var(--fg-wrap); margin-left: auto; margin-right: auto; padding-left: var(--fg-gutter); padding-right: var(--fg-gutter); }
body.fg-full #main { max-width: none; padding: 0; margin: 0; }
body.fg-full #main > .content > .entry-title,
body.fg-full #main > .content > .edit-link { display: none; }
.fg-block { padding: 56px 0; }
.fg-dark { background: var(--fg-black); color: #f2ede4; }
body.fg-v4 .fg-dark a { color: #fff; }
body.fg-v4 .fg-dark a:hover { color: #ff8a8a; }

/* Butoane */
.fg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 4px;
	padding: 13px 26px; font-weight: 700; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.fg-btn:hover { transform: translateY(-1px); }
body.fg-v4 a.fg-btn--red, .fg-btn--red { background: var(--fg-red); color: #fff; }
body.fg-v4 a.fg-btn--red:hover, .fg-btn--red:hover { background: var(--fg-red-dark); color: #fff; }
body.fg-v4 a.fg-btn--dark, .fg-btn--dark { background: var(--fg-ink); color: #fff; }
body.fg-v4 a.fg-btn--dark:hover { background: var(--fg-red); color: #fff; }
body.fg-v4 a.fg-btn--outline, .fg-btn--outline { background: transparent; color: var(--fg-ink); border-color: var(--fg-ink); }
body.fg-v4 a.fg-btn--outline:hover { background: var(--fg-ink); color: #fff; }
body.fg-v4 a.fg-btn--line, .fg-btn--line { background: transparent; color: var(--fg-ink); border-color: rgba(20,20,20,.35); }
body.fg-v4 a.fg-btn--line:hover { border-color: var(--fg-ink); color: var(--fg-ink); }

/* Antet de secțiune: liniuță roșie + titlu serif majuscule + „Vezi toate →” */
.fg-shead { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 24px; margin: 0 0 26px; }
.fg-shead__title {
	position: relative; margin: 0; padding-top: 18px; flex: 1 1 auto;
	font-family: var(--fg-serif); font-weight: 400; font-size: clamp(1.55rem, 2.6vw, 2.1rem);
	line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; color: inherit;
}
.fg-shead__title::before { content: ''; position: absolute; left: 0; top: 0; width: 44px; height: 3px; background: var(--fg-red); }
.fg-shead__extra { display: flex; flex-wrap: wrap; gap: 8px; }
body.fg-v4 .fg-shead__link {
	display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; text-decoration: none;
	color: inherit; white-space: nowrap; padding-bottom: 4px;
}
body.fg-v4 .fg-shead__link:hover { color: var(--fg-red); }
body.fg-v4 .fg-dark .fg-shead__link { color: #fff; }
body.fg-v4 .fg-dark .fg-shead__link:hover { color: #ff8a8a; }

/* Etichete, meta, preț, inimioară */
.fg-tag {
	display: inline-block; background: #fff; color: var(--fg-red); border-radius: 3px;
	padding: 4px 8px 3px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
}
.fg-kicker { display: inline-block; color: var(--fg-red); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fg-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.fg-meta li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fg-meta li .fg-i { color: var(--fg-red); }
.fg-meta--dark { color: var(--fg-ink-2); }
.fg-price {
	display: inline-block; background: #fff; color: var(--fg-ink); border-radius: 3px;
	padding: 6px 10px; font-size: .78rem; font-weight: 700; line-height: 1.1; white-space: nowrap;
}
.fg-price--line { background: transparent; border: 1px solid var(--fg-line); font-weight: 600; }
.fg-fav {
	position: absolute; right: 12px; top: 12px; z-index: 3;
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
	border-radius: 50%; border: 1.5px solid rgba(255,255,255,.9); background: rgba(10,10,10,.28); color: #fff;
	cursor: pointer; transition: background .15s, transform .15s, color .15s;
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.fg-fav:hover { transform: scale(1.06); background: rgba(10,10,10,.5); }
.fg-fav.is-on { background: var(--fg-red); border-color: var(--fg-red); color: #fff; }
.fg-fav.is-on .fg-i path { fill: currentColor; }
.fg-fav--round { position: relative; right: auto; top: auto; width: 48px; height: 48px; background: transparent; color: var(--fg-ink); border-color: rgba(20,20,20,.25); -webkit-backdrop-filter: none; backdrop-filter: none; }
.fg-fav--round:hover { background: #fff; border-color: var(--fg-ink); }
.fg-stretch { text-decoration: none; color: inherit; }
.fg-stretch::after { content: ''; position: absolute; inset: 0; z-index: 2; }

/* Grile */
.fg-grid { display: grid; gap: 24px; }
.fg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fg-grid__full { grid-column: 1 / -1; }
.fg-grid__full .fg-ad { margin: 0 auto; }
@media (max-width: 1100px) { .fg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .fg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 600px) {
	.fg-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.fg-grid--4 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--fg-gutter); gap: 14px; margin: 0 calc(-1 * var(--fg-gutter)); padding: 0 var(--fg-gutter) 6px; scrollbar-width: none; }
	.fg-grid--4::-webkit-scrollbar { display: none; }
	.fg-grid--4 > * { flex: 0 0 78%; scroll-snap-align: start; }
}

/* =========================================================================
 * Header
 * ========================================================================= */
#wrapper > header.fg-header {
	position: sticky; top: 0; z-index: 1000; background: rgba(246, 241, 233, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--fg-line); transition: box-shadow .25s ease;
}
body.admin-bar #wrapper > header.fg-header { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { body.admin-bar #wrapper > header.fg-header { top: 0; } }
body.fg-scrolled #wrapper > header.fg-header { box-shadow: 0 6px 24px rgba(20, 16, 12, .08); }
.fg-header #header { background: transparent; padding: 0; min-height: var(--fg-header-h); transition: min-height .25s ease; }
body.fg-scrolled .fg-header #header { min-height: 58px; }
.fg-header .fg-header__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; max-width: var(--fg-wrap); padding-left: var(--fg-gutter); padding-right: var(--fg-gutter); }
.fg-header .navbar-brand { order: 0; display: inline-flex; align-items: center; margin: 0; padding: 0; }
.fg-header .navbar-brand img { transition: height .25s ease; }
body.fg-scrolled .fg-header .navbar-brand img { height: 30px !important; }
.fg-header .navbar-brand img.fg-logo--auto-dark { filter: brightness(0); }
.fg-wordmark { font-family: var(--fg-sans); font-weight: 700; font-size: 1.6rem; letter-spacing: -.03em; color: var(--fg-ink); }
.fg-header #navbar { order: 1; }
.fg-header .navbar-nav { gap: 6px; }
.fg-header .navbar-nav .nav-link { color: var(--fg-ink) !important; font-weight: 500; font-size: .95rem; padding: 8px 12px !important; position: relative; }
.fg-header .navbar-nav .nav-link:hover,
.fg-header .navbar-nav .active > .nav-link,
.fg-header .navbar-nav .current-menu-item > .nav-link { color: var(--fg-red) !important; }
.fg-header .navbar-nav .active > .nav-link::after,
.fg-header .navbar-nav .current-menu-item > .nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--fg-red); }
.fg-header .dropdown-menu { background: var(--fg-white); border: 1px solid var(--fg-line); border-radius: var(--fg-radius); box-shadow: var(--fg-shadow); }
.fg-header__tools { order: 2; margin-left: auto; display: flex; align-items: center; gap: 6px; }
.fg-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 50%; background: transparent; color: var(--fg-ink); cursor: pointer;
}
.fg-iconbtn:hover, .fg-iconbtn[aria-expanded="true"] { background: var(--fg-paper-2); color: var(--fg-red); }
/* Selectorul de localitate, discret: „Cluj-Napoca ⌄” */
#header .fg-loc {
	display: inline-flex; align-items: center; gap: 4px; margin: 0; padding: 0 2px 0 8px; background: transparent;
	box-shadow: none; border-radius: 0; color: var(--fg-ink); font-size: .92rem; font-weight: 500; cursor: pointer;
}
#header .fg-loc svg { width: 14px; height: 14px; color: var(--fg-red); }
#header .fg-loc .fg-subnav__select {
	appearance: none; -webkit-appearance: none; border: 0; background-color: transparent; color: var(--fg-ink); font: inherit; font-weight: 500;
	padding: 6px 22px 6px 2px; cursor: pointer; outline: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141414' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 4px center;
}
.fg-header .navbar-toggler { border: 0; padding: 8px; margin-left: 4px; box-shadow: none !important; }
.fg-header .navbar-toggler-icon { filter: none; width: 1.3em; height: 1.3em; }
@media (min-width: 992px) {
	.fg-header .navbar-toggler { display: none; }
}
@media (max-width: 991px) {
	.fg-header__bar { gap: 0 8px; padding-top: 10px; padding-bottom: 10px; }
	.fg-header #navbar { order: 3; flex-basis: 100%; }
	.fg-header .navbar-nav { padding: 10px 0 12px; border-top: 1px solid var(--fg-line); margin-top: 10px; gap: 0; }
	.fg-header .navbar-nav .nav-link { padding: 12px 4px !important; font-size: 1.05rem; }
	.fg-header .navbar-nav .active > .nav-link::after { display: none; }
	.fg-header #header { min-height: 0; }
	.fg-header .navbar-brand img { max-height: 30px; width: auto; }
}
@media (max-width: 420px) {
	#header .fg-loc { font-size: .84rem; padding-left: 2px; }
	#header .fg-loc svg { display: none; }
	.fg-iconbtn { width: 38px; height: 38px; }
}
/* Panoul de căutare din header */
.fg-searchpanel { border-top: 1px solid var(--fg-line); padding: 18px 0 20px; background: var(--fg-paper); }
.fg-searchpanel .container { max-width: var(--fg-wrap); padding-left: var(--fg-gutter); padding-right: var(--fg-gutter); }
.fg-searchpanel[hidden] { display: none; }
/* Rândul de categorii din header (sub meniul principal) */
.fg-header .fg-subnav { background: transparent; padding: 0; border-top: 1px solid var(--fg-line); max-height: 60px; overflow: hidden; transition: max-height .25s ease, opacity .2s ease; }
.fg-header .fg-subnav__inner { display: block; max-width: var(--fg-wrap); padding-left: var(--fg-gutter); padding-right: var(--fg-gutter); }
.fg-header .fg-subnav__cats {
	display: flex; gap: 2px 26px; overflow-x: auto; scrollbar-width: none; padding: 0; border: 0;
	-webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent);
}
.fg-header .fg-subnav__cats::-webkit-scrollbar { display: none; }
body.fg-v4 .fg-header a.fg-subnav__cat {
	position: relative; flex-shrink: 0; display: inline-block; padding: 11px 0 10px; background: none; border: 0; border-radius: 0; box-shadow: none;
	color: var(--fg-ink-2); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
}
body.fg-v4 .fg-header a.fg-subnav__cat:hover { color: var(--fg-red); background: none; }
body.fg-v4 .fg-header a.fg-subnav__cat.is-active { color: var(--fg-red); background: none; box-shadow: none; }
body.fg-v4 .fg-header a.fg-subnav__cat.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--fg-red); }
body.fg-scrolled .fg-header a.fg-subnav__cat { padding-top: 8px; padding-bottom: 7px; font-size: .74rem; }
@media (max-width: 991px) {
	.fg-header .fg-subnav__cats { gap: 2px 20px; }
}

/* =========================================================================
 * Căutarea mare (homepage + panou)
 * ========================================================================= */
.fg-bigsearch {
	display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0;
	background: var(--fg-white); border: 1px solid var(--fg-line); border-radius: 6px; padding: 6px 6px 6px 20px;
	box-shadow: 0 14px 40px rgba(20, 16, 12, .10);
}
.fg-bigsearch > .fg-i { color: var(--fg-ink); }
.fg-bigsearch input {
	flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.05rem; color: var(--fg-ink);
	padding: 12px 4px; outline: none;
}
.fg-bigsearch input::placeholder { color: var(--fg-muted); }
.fg-bigsearch input::-webkit-search-cancel-button { display: none; }
.fg-bigsearch button {
	display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 4px; background: var(--fg-red); color: #fff;
	font-weight: 700; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; padding: 14px 24px; cursor: pointer;
}
.fg-bigsearch button:hover { background: var(--fg-red-dark); }
.fg-bigsearch--panel { max-width: none; box-shadow: none; }
@media (max-width: 560px) {
	.fg-bigsearch { padding-left: 14px; }
	.fg-bigsearch button { padding: 12px 14px; font-size: 0; gap: 0; }
	.fg-bigsearch button .fg-i { width: 20px; height: 20px; }
}

/* =========================================================================
 * Rândul de iconițe cu categorii
 * ========================================================================= */
.fg-caticons {
	display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px 12px; margin: 0;
	scroll-snap-type: x proximity;
}
.fg-caticons::-webkit-scrollbar { display: none; }
body.fg-v4 a.fg-caticon {
	flex: 1 0 84px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none;
	color: var(--fg-ink-2); font-size: .82rem; font-weight: 500; text-align: center; position: relative; padding-bottom: 10px; scroll-snap-align: start;
}
.fg-caticon__ico {
	display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
	background: var(--fg-white); border: 1px solid var(--fg-line); color: var(--fg-ink); transition: background .15s, color .15s, border-color .15s, transform .15s;
}
body.fg-v4 a.fg-caticon:hover { color: var(--fg-red); }
body.fg-v4 a.fg-caticon:hover .fg-caticon__ico { border-color: var(--fg-red); color: var(--fg-red); transform: translateY(-2px); }
body.fg-v4 a.fg-caticon.is-active { color: var(--fg-red); font-weight: 700; }
body.fg-v4 a.fg-caticon.is-active .fg-caticon__ico { background: var(--fg-red); border-color: var(--fg-red); color: #fff; }
body.fg-v4 a.fg-caticon.is-active::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 56px; height: 2px; margin-left: -28px; background: var(--fg-red); }
.fg-caticon__label { white-space: nowrap; }

/* =========================================================================
 * Homepage
 * ========================================================================= */
.fg-hero2 { position: relative; overflow: hidden; padding: 64px 0 18px; }
.fg-hero2__img {
	position: absolute; top: 0; right: 0; bottom: 0; width: 64%;
	background-size: cover; background-position: center;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 46%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 46%);
}
.fg-hero2__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--fg-paper) 0%, rgba(246,241,233,0) 34%); }
.fg-hero2__inner { position: relative; z-index: 1; }
.fg-hero2__title {
	font-family: var(--fg-serif); font-weight: 400; font-size: clamp(2.8rem, 7.2vw, 6.2rem); line-height: .96;
	letter-spacing: -.025em; margin: 0 0 22px; max-width: 6em; color: var(--fg-ink);
}
.fg-hero2__text { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.45; color: var(--fg-ink-2); max-width: 30em; margin: 0 0 30px; }
.fg-hero2__cats { position: relative; z-index: 1; margin-top: 40px; }
.fg-hero2:not(.has-img) { background: radial-gradient(ellipse at 85% 10%, rgba(200,16,46,.10), transparent 55%); }
@media (max-width: 900px) {
	.fg-hero2 { padding-top: 0; }
	.fg-hero2.has-img { padding-top: 0; }
	.fg-hero2__img { position: relative; width: 100%; height: 260px; display: block; -webkit-mask-image: none; mask-image: none; }
	.fg-hero2__img::after { background: linear-gradient(0deg, var(--fg-paper) 0%, rgba(246,241,233,0) 55%); }
	.fg-hero2.has-img .fg-hero2__inner { margin-top: -70px; }
	.fg-hero2:not(.has-img) .fg-hero2__inner { padding-top: 40px; }
	.fg-hero2__cats { margin-top: 28px; }
}

/* Carduri „recomandate” */
.fg-fcard {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px;
	background: var(--fg-black); color: #fff; border-radius: var(--fg-radius); overflow: hidden; isolation: isolate;
}
.fg-fcard__img { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; transition: transform .5s ease; }
.fg-fcard__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 15%, rgba(0,0,0,.7) 48%, rgba(0,0,0,.95) 100%); }
.fg-fcard:hover .fg-fcard__img { transform: scale(1.04); }
.fg-fcard__body { padding: 20px 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.fg-fcard__title { font-family: var(--fg-serif); font-size: 1.6rem; line-height: 1.05; margin: 2px 0 0; color: #fff; }
body.fg-v4 .fg-fcard a { color: #fff; }
.fg-fcard__sub { margin: 0; font-size: .82rem; color: rgba(255,255,255,.78); }
.fg-fcard .fg-meta { margin: 6px 0 6px; color: rgba(255,255,255,.92); }
.fg-fcard .fg-meta .fg-i { color: #ff5a6a; }

/* Weekend: bandă neagră + carusel */
.fg-weekend { padding: 44px 0 52px; }
.fg-weekend .fg-shead__title { flex: 0 1 auto; margin-right: auto; }
.fg-weekend__tabs { display: flex; gap: 8px; }
.fg-daytab {
	border: 1px solid rgba(255,255,255,.28); background: transparent; color: rgba(255,255,255,.7); border-radius: 4px;
	padding: 8px 14px; font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.fg-daytab:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.fg-daytab.is-active { color: #ff4d5e; border-color: var(--fg-red); box-shadow: inset 0 0 0 1px var(--fg-red); }
.fg-daytab:disabled { opacity: .35; cursor: default; }
.fg-rail { position: relative; }
.fg-rail__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth;
}
.fg-rail__track::-webkit-scrollbar { display: none; }
.fg-rail__track > [hidden] { display: none; }
.fg-rail__btn {
	position: absolute; top: 38%; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
	background: rgba(15,15,14,.85); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.fg-rail__btn:hover { background: var(--fg-red); border-color: var(--fg-red); }
.fg-rail__btn--next { right: -22px; }
.fg-rail__btn--prev { display: none; }
.fg-rail.is-static .fg-rail__btn { display: none; }
@media (max-width: 1100px) { .fg-rail__track { grid-auto-columns: calc((100% - 2 * 18px) / 3); } }
@media (max-width: 760px) {
	.fg-rail__track { grid-auto-columns: 74%; gap: 14px; margin: 0 calc(-1 * var(--fg-gutter)); padding: 0 var(--fg-gutter); scroll-padding: 0 var(--fg-gutter); }
	.fg-rail__btn { display: none; }
	.fg-weekend .fg-shead__extra { order: 3; flex-basis: 100%; overflow-x: auto; }
}
.fg-rcard { position: relative; scroll-snap-align: start; background: var(--fg-dark-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--fg-radius); overflow: hidden; }
.fg-rcard__img { position: relative; aspect-ratio: 16 / 11; background-size: cover; background-position: center; }
.fg-rcard__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,26,24,0) 35%, rgba(27,26,24,.85) 70%, rgba(27,26,24,1) 100%); }
.fg-rcard__body { position: relative; margin-top: -46px; padding: 0 16px 16px; }
.fg-rcard__title { font-family: var(--fg-serif); font-size: 1.3rem; line-height: 1.1; margin: 0 0 8px; color: #fff; }
body.fg-v4 .fg-rcard a { color: #fff; }
.fg-rcard__meta { margin: 0 0 8px; font-size: .84rem; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-rcard__cat { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff4d5e; }

/* Dale categorii */
.fg-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .fg-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
body.fg-v4 a.fg-tile {
	position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; border-radius: var(--fg-radius);
	overflow: hidden; text-decoration: none; color: #fff; background: #2a2723; isolation: isolate;
}
.fg-tile__img { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; transition: transform .5s ease; }
.fg-tile__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 100%); }
.fg-tile:hover .fg-tile__img { transform: scale(1.06); }
.fg-tile__label { padding: 12px 14px; font-family: var(--fg-serif); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }

/* Articole */
.fg-acard { position: relative; display: flex; flex-direction: column; }
.fg-acard__img { aspect-ratio: 16 / 10; border-radius: var(--fg-radius); background: var(--fg-paper-2) center / cover no-repeat; margin-bottom: 16px; }
.fg-acard__title { font-family: var(--fg-serif); font-size: 1.45rem; line-height: 1.15; margin: 6px 0 8px; }
.fg-acard:hover .fg-acard__title a { color: var(--fg-red); }
.fg-acard__excerpt { margin: 0; color: var(--fg-muted); font-size: .95rem; line-height: 1.55; }

/* Restul paginii de start (blocurile din editor) pe noul fundal */
body.fg-full .fg-home .fg-section { padding: 56px 20px; }
body.fg-full .fg-home .fg-title { font-family: var(--fg-serif); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; color: var(--fg-ink); }
body.fg-full .fg-home .fg-cta { background: var(--fg-paper-2); }
body.fg-full .fg-home .fg-cta h2 { font-family: var(--fg-serif); font-weight: 400; }
.fg-home a.fg-btn--pink, .fg-home button.fg-btn--pink,
.fg-home .wp-block-button.fg-btn--pink .wp-block-button__link { border-radius: 4px; box-shadow: none; text-transform: uppercase; letter-spacing: .06em; font-size: .92rem; }
.fg-home .fg-section--today { background: var(--fg-paper); }
.fg-home .fg-partners img { filter: grayscale(1) contrast(1.1); }

/* =========================================================================
 * Pagina de categorie / lista de evenimente
 * ========================================================================= */
.fg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .8rem; color: var(--fg-muted); margin: 0 0 22px; }
body.fg-v4 .fg-crumbs a { color: var(--fg-muted); text-decoration: none; }
body.fg-v4 .fg-crumbs a:hover { color: var(--fg-red); }
.fg-crumbs [aria-current] { color: var(--fg-ink-2); }

.fg-phero { position: relative; overflow: hidden; padding: 30px 0 42px; min-height: 300px; border-bottom: 1px solid var(--fg-line); }
.fg-phero__img {
	position: absolute; top: 0; right: 0; bottom: 0; width: 56%; background-size: cover; background-position: center 30%;
	filter: grayscale(1) contrast(1.08);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 45%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 45%);
}
.fg-phero.has-img .fg-phero__inner > * { max-width: 50%; }
.fg-phero__inner { position: relative; z-index: 1; }
.fg-phero__title { font-family: var(--fg-serif); font-weight: 400; font-size: clamp(2.8rem, 6.5vw, 5.2rem); line-height: 1; letter-spacing: -.02em; margin: 0 0 16px; }
.fg-phero__text { max-width: 34em; font-size: 1.1rem; line-height: 1.5; color: var(--fg-ink-2); margin: 0; }
@media (max-width: 900px) {
	.fg-phero { min-height: 0; padding-top: 0; }
	.fg-phero__img { position: relative; display: block; width: 100%; height: 200px; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 35%); mask-image: linear-gradient(0deg, transparent 0%, #000 35%); }
	.fg-phero.has-img .fg-phero__inner { margin-top: 8px; }
	.fg-phero.has-img .fg-phero__inner > * { max-width: none; }
	.fg-phero:not(.has-img) .fg-phero__inner { padding-top: 24px; }
}
.fg-archive .fg-caticons { margin-top: 18px; }

/* Filtre */
.fg-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 18px 0 28px; }
.fg-filters__left, .fg-filters__right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fg-filters__label { font-size: .88rem; color: var(--fg-muted); }
.fg-select {
	position: relative; display: inline-flex; align-items: center; margin: 0; background: var(--fg-white); border: 1px solid var(--fg-line);
	border-radius: 4px; min-width: 150px; max-width: 280px; transition: border-color .15s;
}
.fg-select:hover, .fg-select:focus-within { border-color: var(--fg-ink); }
.fg-select.is-set { border-color: var(--fg-ink); box-shadow: inset 0 0 0 1px var(--fg-ink); }
.fg-select select {
	appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; font-size: .92rem; color: var(--fg-ink);
	padding: 12px 40px 12px 16px; width: 100%; cursor: pointer; outline: none;
}
.fg-select--icon select { padding-left: 44px; }
.fg-select__ico, .fg-select__chev { position: absolute; top: 50%; transform: translateY(-50%); display: inline-flex; pointer-events: none; }
.fg-select__ico { left: 14px; }
.fg-select__chev { right: 14px; color: var(--fg-ink); }
@media (max-width: 760px) {
	.fg-filters__left, .fg-filters__right { width: 100%; }
	.fg-filters__left { display: grid; grid-template-columns: 1fr 1fr; }
	.fg-filters__left .fg-select:first-child { grid-column: 1 / -1; }
	.fg-select { min-width: 0; }
	.fg-filters__right .fg-select { flex: 1; }
}
.fg-results { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: -10px 0 22px; font-weight: 600; }
body.fg-v4 .fg-results a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .9rem; color: var(--fg-red); text-decoration: none; }

/* Card în grilă */
.fg-gcard { position: relative; display: flex; flex-direction: column; background: var(--fg-white); border-radius: var(--fg-radius); box-shadow: 0 1px 0 var(--fg-line), var(--fg-shadow); transition: transform .2s ease, box-shadow .2s ease; }
.fg-gcard:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--fg-line), 0 18px 40px rgba(20,16,12,.13); }
.fg-gcard__media { position: relative; }
.fg-gcard__img { aspect-ratio: 16 / 10; border-radius: var(--fg-radius) var(--fg-radius) 0 0; background-size: cover; background-position: center; background-color: #2a2723; }
.fg-datebox {
	position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 54px; padding: 7px 8px 6px; background: #fff; border-radius: 4px; color: var(--fg-ink);
	font-size: .72rem; font-weight: 700; letter-spacing: .08em; line-height: 1.1; box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.fg-datebox b { font-family: var(--fg-sans); font-size: 1.5rem; letter-spacing: 0; line-height: 1; margin-bottom: 2px; }
.fg-datebox--now { color: var(--fg-red); text-transform: uppercase; padding: 10px; }
.fg-gcard__tag { position: absolute; left: 14px; bottom: -11px; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.fg-gcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 18px 16px; }
.fg-gcard__title { font-family: var(--fg-serif); font-size: 1.4rem; line-height: 1.12; margin: 0 0 4px; }
.fg-gcard:hover .fg-gcard__title a { color: var(--fg-red); }
.fg-gcard__sub { margin: 0 0 4px; color: var(--fg-ink-2); font-size: .9rem; }
.fg-gcard__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.fg-gcard__foot .fg-meta { min-width: 0; font-size: .86rem; }
.fg-gcard__foot .fg-meta li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.fg-archive__grid { margin-bottom: 8px; }
/* Lista pe zile (4.2.3): titlu pentru fiecare zi */
.fg-dayhead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 26px 0 -6px; padding-bottom: 10px; border-bottom: 2px solid var(--fg-ink); font-family: var(--fg-serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; color: var(--fg-ink); }
.fg-dayhead:first-child { margin-top: 0; }
.fg-dayhead__date { font-family: var(--fg-sans); font-size: .95rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--fg-red); }
@media (max-width: 600px) { .fg-dayhead { margin-top: 14px; } .fg-dayhead:first-child { margin-top: 0; } }
.fg-archive__foot { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 40px 0 70px; }
.fg-archive__foot .fg-shead__link { position: absolute; right: 0; }
@media (max-width: 700px) { .fg-archive__foot { flex-direction: column; gap: 20px; } .fg-archive__foot .fg-shead__link { position: static; } }
.fg-pages { display: flex; align-items: center; gap: 6px; }
.fg-pages__n, .fg-pages__arrow, .fg-pages__gap {
	display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 4px;
	font-weight: 600; font-size: .92rem; text-decoration: none;
}
body.fg-v4 a.fg-pages__n, body.fg-v4 a.fg-pages__arrow { color: var(--fg-ink); }
body.fg-v4 a.fg-pages__n:hover { background: var(--fg-paper-2); color: var(--fg-ink); }
.fg-pages__arrow { border: 1px solid var(--fg-line); background: var(--fg-white); }
.fg-pages__n.is-current { background: var(--fg-red); color: #fff; }
.fg-empty { text-align: center; padding: 60px 20px; background: var(--fg-white); border: 1px dashed var(--fg-line); border-radius: var(--fg-radius); }
.fg-empty__title { font-family: var(--fg-serif); font-size: 1.8rem; margin: 0 0 8px; }

/* Calendar TEC (Lună / Zi) pe tema nouă */
body.fg-v4.fg-events-page { background: var(--fg-paper); }
.tribe-common .fg-events-banner {
	background: var(--fg-paper); color: var(--fg-ink); padding-top: 30px; padding-bottom: 80px; border-bottom: 1px solid var(--fg-line);
}
.tribe-common .fg-events-banner__title { color: var(--fg-ink); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; }
.tribe-common .fg-events-banner__sub { color: var(--fg-ink-2); }
.tribe-common .fg-events-banner__cta { color: var(--fg-ink); border-color: var(--fg-ink); border-width: 1.5px; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.tribe-common .fg-events-banner__cta:hover { background: var(--fg-ink); color: #fff; }
.fg-events-page .tribe-events .tribe-events-c-events-bar { box-shadow: var(--fg-shadow); border: 1px solid var(--fg-line) !important; }
.fg-events-page .tribe-events .tribe-events-c-top-bar__datepicker-button { color: var(--fg-ink); font-family: var(--fg-serif); font-weight: 400; }
.fg-events-page .tribe-events .tribe-events-c-search__button { box-shadow: none; text-transform: uppercase; letter-spacing: .06em; }

/* =========================================================================
 * Pagina evenimentului
 * ========================================================================= */
body.fg-event-page .tribe-events-pg-template,
body.fg-event-page #tribe-events-pg-template { max-width: none; padding: 0; margin: 0; }
.fg-ev { max-width: none; margin: 0; padding: 0; }
.fg-ev-hero { position: relative; overflow: hidden; padding: 24px 0 48px; min-height: 520px; }
.fg-ev-hero__img {
	position: absolute; top: 0; right: 0; bottom: 0; width: 50%; background-size: cover; background-position: center top;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 14%, #000 34%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 14%, #000 34%);
}
.fg-ev-hero__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--fg-paper) 0%, rgba(246,241,233,0) 22%); }
.fg-ev-hero__inner { position: relative; z-index: 1; }
.fg-ev-hero.has-img .fg-ev-hero__inner > *:not(.fg-crumbs) { max-width: 54%; }
.fg-ev-hero__eyebrow { margin: 34px 0 12px; font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-red); }
body.fg-v4 .fg-ev-hero__eyebrow a { color: var(--fg-red); text-decoration: none; }
body.fg-v4 .fg-ev-hero__eyebrow a:hover { text-decoration: underline; }
.fg-events-page .fg-ev-hero .tribe-events-single-event-title,
.fg-ev-hero__title {
	font-family: var(--fg-serif) !important; font-weight: 400; color: var(--fg-ink); text-transform: uppercase;
	font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: .95; letter-spacing: -.01em; margin: 0 0 18px;
	overflow-wrap: break-word; hyphens: auto;
}
.fg-ev-hero__date { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 0 0 26px; color: var(--fg-ink); }
.fg-ev-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 0; margin: 0 0 30px; padding: 0; }
.fg-ev-facts li { display: flex; align-items: flex-start; gap: 12px; padding: 0 22px; border-left: 1px solid var(--fg-line); }
.fg-ev-facts li:first-child { padding-left: 0; border-left: 0; }
.fg-ev-facts .fg-i { color: var(--fg-red); margin-top: 1px; }
.fg-ev-facts span { display: flex; flex-direction: column; line-height: 1.3; }
.fg-ev-facts strong { font-weight: 700; font-size: .98rem; }
.fg-ev-facts small { color: var(--fg-muted); font-size: .84rem; }
.fg-ev-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fg-share-btn { position: relative; }
.fg-share-btn__ok {
	position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; background: var(--fg-ink); color: #fff;
	font-size: .75rem; padding: 4px 8px; border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.fg-share-btn.is-copied .fg-share-btn__ok { opacity: 1; }
.fg-ev__past { margin: 0 0 8px; }
@media (max-width: 900px) {
	.fg-ev-hero { min-height: 0; padding-top: 0; }
	.fg-ev-hero__img { position: relative; display: block; width: 100%; height: 340px; -webkit-mask-image: none; mask-image: none; }
	.fg-ev-hero__img::after { background: linear-gradient(0deg, var(--fg-paper) 0%, rgba(246,241,233,0) 22%); }
	.fg-ev-hero.has-img .fg-ev-hero__inner { margin-top: 12px; }
	.fg-ev-hero.has-img .fg-ev-hero__inner > *:not(.fg-crumbs) { max-width: none; }
	.fg-ev-hero .fg-crumbs { display: none; }
	.fg-ev-hero__eyebrow { margin-top: 0; }
	.fg-ev-hero:not(.has-img) .fg-ev-hero__inner { padding-top: 24px; }
	.fg-ev-facts { flex-direction: column; gap: 14px; }
	.fg-ev-facts li { padding: 0; border: 0; }
}

/* Despre */
.fg-ev-about { padding-top: 40px; border-top: 1px solid var(--fg-line); }
.fg-ev-about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 56px; align-items: start; }
.fg-ev-about__title {
	position: relative; padding-top: 22px; margin: 0; font-family: var(--fg-serif); font-weight: 400;
	font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.02; text-transform: uppercase;
}
.fg-ev-about__title::before { content: ''; position: absolute; top: 0; left: 0; width: 64px; height: 3px; background: var(--fg-red); }
.fg-ev-poster { margin: 32px 0 0; }
.fg-ev-poster a { display: block; line-height: 0; }
.fg-ev-poster__img {
	display: block; width: auto; max-width: 100%; height: auto; max-height: 85vh; object-fit: contain;
	border-radius: var(--fg-radius); box-shadow: 0 1px 0 var(--fg-line), 0 14px 34px -18px rgba(0, 0, 0, .35);
}
.fg-prose { font-family: var(--fg-serif); font-size: 1.22rem; line-height: 1.6; color: var(--fg-ink-2); }
.fg-prose > *:first-child { margin-top: 0; }
.fg-prose p { margin: 0 0 1em; }
.fg-prose h2, .fg-prose h3 { font-size: 1.6rem; color: var(--fg-ink); margin: 1.4em 0 .5em; text-transform: uppercase; }
.fg-prose a { color: var(--fg-red); }
.fg-prose img { max-width: 100%; height: auto; border-radius: var(--fg-radius); }
.fg-prose ul, .fg-prose ol { font-family: var(--fg-sans); font-size: 1.02rem; }
/* Blocurile „Coloane” din conținut devin carduri (ca Viniluri / Artă / Filme …) */
.fg-prose .wp-block-columns { gap: 14px; margin: 1.6em 0; }
.fg-prose .wp-block-column { background: var(--fg-white); border-radius: var(--fg-radius); overflow: hidden; box-shadow: 0 1px 0 var(--fg-line); font-family: var(--fg-sans); font-size: .9rem; line-height: 1.45; }
.fg-prose .wp-block-column > * { margin-left: 14px; margin-right: 14px; }
.fg-prose .wp-block-column > .wp-block-image:first-child { margin: 0 0 12px; }
.fg-prose .wp-block-column > .wp-block-image:first-child img { border-radius: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fg-prose .wp-block-column h3, .fg-prose .wp-block-column h4 { font-family: var(--fg-serif); font-size: 1.15rem; margin: 0 14px 6px; text-transform: uppercase; color: var(--fg-ink); }
.fg-prose .wp-block-column > :last-child { margin-bottom: 14px; }
.fg-ev-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; margin: 36px 0 0; background: var(--fg-line); border: 1px solid var(--fg-line); border-radius: var(--fg-radius); overflow: hidden; }
.fg-ev-info > div { background: var(--fg-white); padding: 16px 18px; }
.fg-ev-info dt { display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 4px; }
.fg-ev-info dt .fg-i { color: var(--fg-red); }
.fg-ev-info dd { margin: 0; font-weight: 600; word-break: break-word; }
.fg-ev-about .fg-ad--event_single { margin: 36px 0 0; }
.fg-ev-about .tribe-events-c-subscribe-dropdown__container { margin-top: 24px; }
@media (max-width: 900px) {
	.fg-ev-about__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.fg-ev-poster { margin-top: 22px; max-width: 560px; }
	.fg-ev-poster__img { max-height: none; }
	.fg-prose { font-size: 1.1rem; }
	.fg-prose .wp-block-columns { flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; }
	.fg-prose .wp-block-column { flex: 0 0 62% !important; scroll-snap-align: start; }
}

/* Program (bandă neagră) */
.fg-ev-program__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); max-width: 1600px; margin: 0 auto; }
.fg-ev-program__list { padding: 48px var(--fg-gutter) 52px max(var(--fg-gutter), calc((100vw - var(--fg-wrap)) / 2 + var(--fg-gutter))); }
.fg-ev-program__where { margin: -14px 0 18px; color: rgba(255,255,255,.55); font-size: .9rem; }
.fg-ev-program__img { min-height: 320px; background-size: cover; background-position: center; filter: grayscale(.3); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.fg-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.fg-timeline::before { content: ''; position: absolute; left: 5px; top: 18px; bottom: 18px; width: 1px; background: rgba(255,255,255,.18); }
.fg-timeline__row { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 14px 0 14px 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.fg-timeline__row::before { content: ''; position: absolute; left: 0; top: 20px; width: 11px; height: 11px; border-radius: 50%; background: var(--fg-red); box-shadow: 0 0 0 3px rgba(200,16,46,.25); }
.fg-timeline__when strong { display: block; color: #ff4d5e; font-weight: 700; font-size: .95rem; letter-spacing: .02em; }
.fg-timeline__when span { font-size: .84rem; color: rgba(255,255,255,.6); }
.fg-timeline__title { display: block; font-family: var(--fg-serif); font-size: 1.2rem; line-height: 1.2; color: #fff; text-decoration: none; }
body.fg-v4 .fg-dark a.fg-timeline__title:hover { color: #ff8a8a; }
.fg-timeline__row.is-current .fg-timeline__title { color: #fff; }
.fg-timeline__meta { display: block; margin-top: 4px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@media (max-width: 900px) {
	.fg-ev-program__inner { grid-template-columns: minmax(0, 1fr); }
	.fg-ev-program__list { padding-left: var(--fg-gutter); }
	.fg-ev-program__img { display: none; }
	.fg-timeline__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Locație */
.fg-ev-venue { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); border-bottom: 1px solid var(--fg-line); background: var(--fg-paper); min-height: 300px; }
.fg-ev-venue__info { padding: 40px var(--fg-gutter) 40px max(var(--fg-gutter), calc((100vw - var(--fg-wrap)) / 2 + var(--fg-gutter))); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.fg-ev-venue__name { display: flex; gap: 12px; margin: 0; }
.fg-ev-venue__name .fg-i { color: var(--fg-red); margin-top: 2px; }
.fg-ev-venue__name span { display: flex; flex-direction: column; }
body.fg-v4 .fg-ev-venue__name a { text-decoration: none; }
.fg-ev-venue__name small { color: var(--fg-muted); font-size: .9rem; }
.fg-ev-venue__map { position: relative; background: var(--fg-paper-2); }
.fg-ev-venue__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.15) contrast(.95); }
body.fg-v4 a.fg-ev-venue__mapph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--fg-muted); text-decoration: none; }
.fg-ev-venue__img { background-size: cover; background-position: center; }
.fg-ev-venue:not(:has(.fg-ev-venue__img)) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 900px) {
	.fg-ev-venue { grid-template-columns: minmax(0, 1fr) !important; }
	.fg-ev-venue__info { padding-left: var(--fg-gutter); }
	.fg-ev-venue__map { min-height: 260px; }
	.fg-ev-venue__img { min-height: 220px; }
}
.fg-ev-related { padding-bottom: 72px; }

/* =========================================================================
 * Footer (negru)
 * ========================================================================= */
#footer.fg-footer { background: var(--fg-black); color: rgba(242,237,228,.78); margin-top: 0; padding-top: 64px; }
body:not(.fg-full) #footer.fg-footer { margin-top: 64px; }
.fg-footer h3 { font-family: var(--fg-serif); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; font-size: 1.2rem; }
body.fg-v4 .fg-footer a { color: #f2ede4; }
body.fg-v4 .fg-footer a:hover { color: #fff; opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.fg-footer .fg-btn, body.fg-v4 .fg-footer a.fg-btn { background: var(--fg-red); color: #fff; box-shadow: none; border-radius: 4px; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; text-decoration: none; }
body.fg-v4 .fg-footer a.fg-btn:hover { background: var(--fg-red-dark); text-decoration: none; }
.fg-footer__social a { background: rgba(255,255,255,.08); }
.fg-footer__social a:hover { background: var(--fg-red); }
.fg-footer__bottom { border-top-color: rgba(255,255,255,.12); }

/* Diverse pe tema nouă */
body.fg-v4:not(.fg-full) #main { padding-top: 32px; }
body.fg-v4 .fg-submit .fg-form fieldset { box-shadow: 0 1px 0 var(--fg-line); }
body.fg-v4 .fg-submit .fg-form legend { font-family: var(--fg-serif); font-weight: 400; }
body.fg-v4 .fg-ad__label { color: var(--fg-muted-2); }
body.fg-v4 .fg-film-hero { background: linear-gradient(120deg, rgba(15,14,12,.94) 0%, rgba(15,14,12,.82) 100%), var(--fg-hero-img) center / cover no-repeat; }
body.fg-v4 .fg-film-card__title { font-family: var(--fg-serif); font-weight: 400; font-size: 1.2rem; }
body.fg-v4 .fg-films a.fg-pill.is-active { background: var(--fg-ink); }

/* Parteneri: logo-uri mici, pe un singur rând, cu link (galerie cu clasa „fg-logos”) */
.fg-home .wp-block-gallery.fg-logos,
.fg-home .wp-block-gallery.has-nested-images.fg-logos {
	display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: 16px;
	max-width: 960px; margin: 32px auto 0; padding: 0;
}
.fg-home .wp-block-gallery.has-nested-images.fg-logos figure.wp-block-image:not(#individual-image) {
	flex: 0 1 140px; width: auto; max-width: 140px; margin: 0; border-radius: 6px; overflow: hidden;
	box-shadow: 0 1px 0 var(--fg-line); transition: transform .2s ease, box-shadow .2s ease;
}
.fg-home .wp-block-gallery.has-nested-images.fg-logos figure.wp-block-image:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 16, 12, .16); }
.fg-home .wp-block-gallery.has-nested-images.fg-logos figure.wp-block-image a { display: block; }
.fg-home .wp-block-gallery.has-nested-images.fg-logos figure.wp-block-image img {
	display: block; width: 100%; height: auto; aspect-ratio: 500 / 365; object-fit: cover; filter: none; opacity: 1;
}
@media (max-width: 600px) {
	.fg-home .wp-block-gallery.has-nested-images.fg-logos { gap: 8px; }
	.fg-home .wp-block-gallery.has-nested-images.fg-logos figure.wp-block-image:not(#individual-image) { flex: 1 1 0; min-width: 0; border-radius: 4px; }
}

/* =========================================================================
 * FunGuide v4.1: locuri de reclamă (AdSense)
 * ========================================================================= */
.fg-ad { display: block; clear: both; width: 100%; max-width: 970px; margin: 40px auto; text-align: center; }
.fg-ad__label { display: block; margin-bottom: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted-2); }
/* Spațiu rezervat (fără „săritura” conținutului la încărcare); fără overflow:hidden, ca unitățile responsive să se poată lăți. */
.fg-ad__unit { display: block; width: 100%; min-height: var(--fg-ad-min, 100px); overflow: visible; }
.fg-ad__unit .adsbygoogle { display: block; width: 100%; }
.fg-ad-row { margin-top: 8px; margin-bottom: 8px; }
.fg-ad-row .fg-ad { margin: 24px auto; }
.fg-ad--events_list, .fg-ad--events_bottom { max-width: none; }
.fg-events-page .fg-ad--events_list { background: none; box-shadow: none; padding: 0; margin: 4px 0; }
.fg-ad--events_bottom { margin: 36px auto 0; }
.fg-ad--event_single, .fg-ad--film_single { max-width: 728px; }
.fg-ev-about .fg-ad--event_single { margin: 40px auto 0; }
.fg-ad--post_top, .fg-ad--post_bottom { max-width: 728px; margin: 32px auto; }
@media (max-width: 600px) {
	.fg-ad { margin: 28px auto; }
	.fg-ad--event_single .fg-ad__unit, .fg-ad--film_single .fg-ad__unit { min-height: 280px; }
}

/* Marcajul pentru administratori */
.fg-ad--placeholder .fg-ad__unit {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	padding: 18px 16px; border: 2px dashed rgba(200, 16, 46, .35); border-radius: 6px; color: var(--fg-ink);
	background: repeating-linear-gradient(135deg, rgba(200, 16, 46, .03) 0 12px, rgba(200, 16, 46, .07) 12px 24px);
	font-size: .88rem;
}
.fg-ad--placeholder.is-active .fg-ad__unit { border-color: rgba(0, 138, 32, .45); background: repeating-linear-gradient(135deg, rgba(0, 138, 32, .03) 0 12px, rgba(0, 138, 32, .07) 12px 24px); }
.fg-ad--placeholder .fg-ad__slug { font-size: .78rem; background: var(--fg-ink); color: #fff; border-radius: 3px; padding: 2px 8px; }
.fg-ad--placeholder .fg-ad__unit strong { font-size: 1rem; }
.fg-ad--placeholder .fg-ad__unit span { color: var(--fg-ink-2); }
.fg-ad--placeholder .fg-ad__unit small { color: var(--fg-muted); }
body.fg-v4 .fg-ad--placeholder a.fg-ad__edit { margin-top: 4px; font-size: .8rem; font-weight: 700; color: var(--fg-red); text-decoration: underline; text-underline-offset: 3px; }
.fg-dark .fg-ad--placeholder .fg-ad__unit { color: #f2ede4; }
.fg-ad:target .fg-ad__unit { outline: 3px solid var(--fg-red); outline-offset: 4px; }

/* =========================================================================
 * FunGuide v4.2: reclame proprii (bannere în rotație)
 * ========================================================================= */
.fg-ad--own .fg-ad__unit { min-height: 0; }
.fg-own[hidden] { display: none !important; }
.fg-own { animation: fg-own-in .35s ease; }
.fg-own a { display: block; line-height: 0; }
.fg-own picture { display: block; }
.fg-own img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; border-radius: 4px; }
@keyframes fg-own-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fg-own { animation: none; } }
