/* RHR Vakaras: espresso tamsa, žvakių šviesos auksas. Spalvos ir šriftai yra theme.json, čia tik išdėstymas. */
:root {
	--rhr-esp: var(--wp--preset--color--esp, #140e0a);
	--rhr-esp-2: var(--wp--preset--color--esp-2, #1d1510);
	--rhr-gold: var(--wp--preset--color--gold, #c9a46a);
	--rhr-gold-2: var(--wp--preset--color--gold-2, #e2c899);
	--rhr-cream: var(--wp--preset--color--cream, #efe5d6);
	--rhr-muted: var(--wp--preset--color--muted, #9c8c7a);
	--rhr-soft: #cbbca9;
	--rhr-line: rgba(201, 164, 106, .22);
	--rhr-serif: var(--wp--preset--font-family--bodoni, "Bodoni Moda", Georgia, serif);
	--rhr-sans: var(--wp--preset--font-family--manrope, Manrope, system-ui, sans-serif);
	--rhr-pad: clamp(20px, 4.2vw, 52px);
}

body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

/* Pasvirę žodžiai antraštėse švyti auksu */
h1 em, h2 em, h3 em, h4 em,
.wp-block-heading em { color: var(--rhr-gold-2); font-style: italic; }
h1, h2, .wp-block-post-title { text-wrap: balance; }

/* Auksinė antraštėlė su linija (bloko stilius „Auksinė antraštėlė“) */
.is-style-rule {
	display: flex; align-items: center; gap: 14px;
	font: 500 11.5px/1 var(--rhr-sans) !important;
	letter-spacing: .36em; text-transform: uppercase;
	color: var(--rhr-gold) !important;
	margin-bottom: 0;
}
.is-style-rule::before { content: ""; width: 42px; height: 1px; background: currentColor; flex: none; }
.is-style-rule + .wp-block-heading { margin-top: 20px; }

.rhr-lede { color: var(--rhr-soft); max-width: 54ch; }

/* Mygtukai: kontūrinis variantas */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--rhr-gold-2); border: 1px solid var(--rhr-gold);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--rhr-gold); color: var(--rhr-esp); }
.wp-block-button__link { transition: background-color .2s, color .2s; }
.wp-block-buttons { gap: 14px; }

/* ---------- Antraštė ---------- */
.rhr-site-header { position: relative; z-index: 20; background: var(--rhr-esp); border-bottom: 1px solid var(--rhr-line); }
.home .rhr-site-header {
	position: absolute; left: 0; right: 0; top: var(--wp-admin--admin-bar--height, 0px);
	background: transparent; border-bottom: 0;
}
.rhr-header { padding: 26px var(--rhr-pad) !important; gap: 20px; }
.rhr-logo > * { margin: 0 !important; }
.rhr-logo__name { font: 400 22px/1 var(--rhr-serif); letter-spacing: .24em; }
.rhr-logo__name a { color: #fff; text-decoration: none; }
.rhr-logo__sub { font: italic 400 12px/1 var(--rhr-serif); letter-spacing: .12em; color: var(--rhr-gold-2); margin-top: 6px !important; }
.rhr-nav { font: 400 12.5px/1 var(--rhr-sans); letter-spacing: .2em; text-transform: uppercase; gap: 30px; }
.rhr-nav a { color: #e9dccb; text-decoration: none; }
.rhr-nav a:hover { color: var(--rhr-gold-2); }
.rhr-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--rhr-esp) !important; color: var(--rhr-cream) !important; padding: 28px var(--rhr-pad); }
.rhr-nav .wp-block-navigation__responsive-container-open,
.rhr-nav .wp-block-navigation__responsive-container-close { color: var(--rhr-gold-2); }

/* ---------- Pagrindinis vaizdas ---------- */
.rhr-hero.wp-block-cover { min-height: min(760px, 92vh) !important; padding: 0 var(--rhr-pad) 120px; align-items: flex-end; }
.rhr-hero .wp-block-cover__image-background { object-position: 50% 55%; }
.rhr-hero::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(14, 9, 6, .86) 0%, rgba(14, 9, 6, .5) 42%, rgba(14, 9, 6, .05) 75%),
		linear-gradient(180deg, rgba(14, 9, 6, .6) 0%, transparent 24%, transparent 70%, var(--rhr-esp) 100%);
}
.rhr-hero .wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; max-width: 1240px !important; margin: 0 auto; }
.rhr-hero .wp-block-cover__inner-container > * { max-width: 620px; }
.rhr-hero h1 { color: #fff; margin: 22px 0 22px; letter-spacing: -.01em; }
.rhr-hero .rhr-lede { color: #d8cab8; max-width: 46ch; margin-bottom: 32px; }

/* ---------- Informacijos juosta ---------- */
.rhr-bar {
	position: relative; z-index: 3; margin-top: -60px !important; margin-bottom: 0 !important;
	display: grid; grid-template-columns: repeat(4, 1fr) auto;
	border: 1px solid var(--rhr-line); background: rgba(29, 21, 16, .92);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.rhr-bar > * { margin: 0 !important; }
.rhr-bar__item { padding: 20px 24px; border-right: 1px solid var(--rhr-line); }
.rhr-bar__item > * { margin: 0 !important; }
.rhr-bar__label { font: 500 10.5px/1 var(--rhr-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--rhr-muted); margin-bottom: 9px !important; }
.rhr-bar__value { font: 400 19px/1.2 var(--rhr-serif); color: #fff; }
.rhr-bar__value a { color: #fff; text-decoration: none; }
.rhr-bar__cta { display: flex; }
.rhr-bar__cta .wp-block-button, .rhr-bar__cta .wp-block-button__link { display: flex; align-items: center; justify-content: center; height: 100%; width: 100%; }

/* ---------- Sekcijos ---------- */
.rhr-section { padding-top: clamp(72px, 9vw, 110px) !important; padding-bottom: clamp(72px, 9vw, 110px) !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.rhr-section--flush-top { padding-top: 0 !important; }
.rhr-section--alt { background: var(--rhr-esp-2); }
.rhr-section h2 { margin: 20px 0 22px; }
.rhr-main--front > .wp-block-post-content > * { margin-top: 0; margin-bottom: 0; }

/* Patirčių mozaika */
.rhr-section .rhr-mosaic { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; margin-top: 56px; }
.rhr-mosaic > * { margin: 0 !important; }
.rhr-mosaic__big { grid-row: span 2; min-height: 640px !important; }

/* Plytelė su nuoroda */
.wp-block-cover.is-style-tile { padding: 28px 30px; align-items: flex-end; overflow: hidden; }
.wp-block-cover.is-style-tile .wp-block-cover__image-background { transition: transform 1s ease; }
.wp-block-cover.is-style-tile:hover .wp-block-cover__image-background { transform: scale(1.04); }
.wp-block-cover.is-style-tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(14, 9, 6, .88) 100%); pointer-events: none; }
.wp-block-cover.is-style-tile .wp-block-cover__inner-container { position: static; z-index: 2; width: 100%; }
.wp-block-cover.is-style-tile .wp-block-cover__inner-container > * { position: relative; z-index: 2; margin: 0; }
.rhr-tile__label { font: 500 11px/1 var(--rhr-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--rhr-gold); }
.wp-block-cover.is-style-tile h3 { font-size: 30px; line-height: 1.1; margin-top: 8px !important; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.wp-block-cover.is-style-tile h3::after { content: "→"; font: 400 22px/1 var(--rhr-sans); color: var(--rhr-gold-2); }
.wp-block-cover.is-style-tile h3 a { color: #fff; text-decoration: none; }
.wp-block-cover.is-style-tile h3 a::before { content: ""; position: absolute; inset: 0; z-index: 3; }

/* Dvi kolonos */
.rhr-split.wp-block-columns, .rhr-gift.wp-block-columns { gap: clamp(40px, 6vw, 80px); }

/* Nuotrauka su auksiniu rėmeliu */
.wp-block-image.is-style-gold-frame { position: relative; margin: 0 24px 24px 0; }
.wp-block-image.is-style-gold-frame img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.wp-block-image.is-style-gold-frame::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--rhr-gold); }

/* Sąrašas su linijomis */
.wp-block-list.is-style-lines { list-style: none; padding: 0; margin: 34px 0 38px; counter-reset: rhr; }
.wp-block-list.is-style-lines li { counter-increment: rhr; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--rhr-line); color: var(--rhr-muted); font-size: 14.5px; }
.wp-block-list.is-style-lines li::before { content: counter(rhr, lower-roman); grid-row: span 2; font: italic 400 18px/1.3 var(--rhr-serif); color: var(--rhr-gold); }
.wp-block-list.is-style-lines li strong { display: block; font-weight: 500; font-size: 16px; color: #fff; }

/* Renginių kortelės */
.rhr-section .rhr-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rhr-line); border: 1px solid var(--rhr-line); margin-top: 56px; }
.rhr-events > * { margin: 0 !important; }
.rhr-event { background: var(--rhr-esp-2); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.rhr-event > * { margin: 0 !important; }
.rhr-event__day { font: 400 56px/1 var(--rhr-serif); color: var(--rhr-gold-2); }
.rhr-event__month { font: 500 11px/1 var(--rhr-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--rhr-muted); margin-top: -4px !important; }
.rhr-event h4 { margin-top: auto !important; color: #fff; }
.rhr-event p:last-child { color: var(--rhr-muted); font-size: 14.5px; }

/* Dovanų kuponas */
.rhr-card {
	position: relative; aspect-ratio: 1.62; max-width: 100%; padding: 34px;
	display: flex; flex-direction: column; justify-content: space-between;
	border: 1px solid var(--rhr-gold);
	background: linear-gradient(135deg, #2a1d15 0%, #1a120d 60%), #1a120d;
	box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}
.rhr-card > * { margin: 0 !important; position: relative; z-index: 1; }
.rhr-card::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--rhr-line); pointer-events: none; }
.rhr-card__logo { font: 400 17px/1 var(--rhr-serif); letter-spacing: .24em; color: #fff; }
.rhr-card__logo em { display: block; font-size: 12px; letter-spacing: .12em; color: var(--rhr-gold-2); margin-top: 6px; }
.rhr-card__label { font: 500 11px/1.4 var(--rhr-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--rhr-muted); }
.rhr-card__title { font: 400 clamp(32px, 4vw, 44px)/1 var(--rhr-serif); color: var(--rhr-gold-2); margin-top: -40px !important; }

.wp-block-list.rhr-prices { list-style: none; padding: 0; margin: 30px 0 34px; }
.wp-block-list.rhr-prices li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rhr-line); color: #e9dccb; }
.wp-block-list.rhr-prices li em { font-style: normal; color: var(--rhr-gold-2); font-family: var(--rhr-serif); white-space: nowrap; }

/* Prekių eilutė */
.rhr-section .rhr-shop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 64px; }
.rhr-shop > * { margin: 0 !important; }
.rhr-shop__item > * { margin: 0 !important; }
.rhr-shop__ph { aspect-ratio: 3 / 4; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #3a2a20, #1d1510); border: 1px solid var(--rhr-line); font: italic 400 18px var(--rhr-serif); color: var(--rhr-muted); }
.rhr-shop__item h5 { font: 400 18px/1.3 var(--rhr-serif); color: #fff; margin-top: 14px !important; }
.rhr-shop__price { font-size: 14px; color: var(--rhr-gold); }

/* ---------- Poraštė ---------- */
.rhr-site-footer { border-top: 1px solid var(--rhr-line); }
.rhr-footer { padding-top: 70px !important; padding-bottom: 36px !important; color: var(--rhr-soft); font-size: 14.5px; }
.rhr-footer__top { padding-bottom: 44px; border-bottom: 1px solid var(--rhr-line); gap: 30px; }
.rhr-footer__big { font: 400 clamp(30px, 4vw, 52px)/1.05 var(--rhr-serif); color: #fff; max-width: 16ch; margin: 0; }
.rhr-footer__cols.wp-block-columns { padding: 40px 0; margin: 0 !important; gap: 28px; }
.rhr-footer__h { font: 500 11px/1 var(--rhr-sans) !important; letter-spacing: .26em; text-transform: uppercase; color: var(--rhr-gold); margin-bottom: 12px !important; }
.rhr-footer__cols p { margin: 0; }
.rhr-footer a { color: var(--rhr-soft); text-decoration: none; }
.rhr-footer a:hover { color: var(--rhr-gold-2); }
.rhr-footer__base { font-size: 12.5px; color: #6f6253; gap: 12px; margin-top: 0 !important; }
.rhr-footer__base p { margin: 0; }
.rhr-footer__base a { color: #6f6253; }

/* ---------- Vidiniai puslapiai ir naujienos ---------- */
.rhr-page-head { padding-top: clamp(56px, 8vw, 110px) !important; padding-bottom: 40px !important; margin: 0 !important; }
.rhr-page-head .wp-block-post-title, .rhr-page-head h1 { font-size: var(--wp--preset--font-size--xx-large); margin-top: 20px; }
.rhr-404 { padding-bottom: 120px !important; }
.rhr-featured { margin-bottom: 56px !important; }
.rhr-content { padding-bottom: 110px; }
.rhr-content > p, .rhr-content li { color: var(--rhr-soft); }
.rhr-content h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 56px; }
.rhr-content h3 { margin-top: 40px; }
.rhr-content a { text-decoration: underline; text-underline-offset: 3px; }
.rhr-content blockquote { border-left: 1px solid var(--rhr-gold); padding-left: 24px; font: italic 400 24px/1.4 var(--rhr-serif); color: #fff; }
.rhr-posts { padding-bottom: 110px; }
.rhr-posts .wp-block-post-template { gap: 40px 22px; }
.rhr-posts .wp-block-post-title a { color: #fff; text-decoration: none; }
.rhr-posts .wp-block-post-excerpt { color: var(--rhr-muted); font-size: 14.5px; }
.rhr-post-nav { padding-bottom: 80px; border-top: 1px solid var(--rhr-line); padding-top: 24px; }
.wp-block-post-date.is-style-rule a { color: inherit; text-decoration: none; }

/* Formos (užklausų formoms) */
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], input[type="url"], textarea, select {
	background: var(--rhr-esp-2); color: var(--rhr-cream); border: 1px solid var(--rhr-line); border-radius: 0; padding: 12px 14px; font: 300 16px var(--rhr-sans);
}
input:focus, textarea:focus, select:focus { outline: 1px solid var(--rhr-gold); border-color: var(--rhr-gold); }

/* ---------- Siauri ekranai ---------- */
@media (max-width: 900px) {
	.rhr-header { padding: 20px !important; }
	.rhr-header__cta { display: none; }
	.rhr-hero.wp-block-cover { padding-bottom: 90px; }
	.rhr-bar { grid-template-columns: 1fr 1fr; margin-top: -40px !important; }
	.rhr-bar__item:nth-child(2n) { border-right: 0; }
	.rhr-bar__item { border-bottom: 1px solid var(--rhr-line); }
	.rhr-bar__cta { grid-column: 1 / -1; }
	.rhr-bar__cta .wp-block-button__link { padding: 18px; }
	.rhr-section .rhr-mosaic { grid-template-columns: 1fr; }
	.rhr-mosaic__big { grid-row: auto; min-height: 420px !important; }
	.rhr-section .rhr-events { grid-template-columns: 1fr; }
	.rhr-event { min-height: 0; }
	.rhr-section .rhr-shop { grid-template-columns: 1fr 1fr; }
	.wp-block-image.is-style-gold-frame { margin: 0 10px 14px 0; }
	.wp-block-image.is-style-gold-frame::before { inset: 14px -10px -14px 10px; }
	.rhr-card__title { margin-top: 0 !important; }
}
@media (max-width: 520px) {
	.rhr-bar { grid-template-columns: 1fr; }
	.rhr-bar__item { border-right: 0; }
	.rhr-footer__cols.wp-block-columns { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
