/*
Theme Name: Halloween Party 2026
Description: A modern, fun, mobile-friendly 2026 refresh of the Halloween Party theme.
Author: Oázis Halloween
Template: halloween-party
Version: 2.1.0
*/

/* ============================================================
   Oázis Halloween — 2026 refresh
   Original palette + glass look, with the wallpaper showing through.
   Layered on top of the parent theme's Bootstrap grid.
   ============================================================ */

:root {
  --hp-bg: #0f0b1a;
  --hp-bg-alt: #1a1030;
  --hp-card: rgba(255, 255, 255, 0.06);
  --hp-card-border: rgba(255, 255, 255, 0.12);
  --hp-purple: #8b5cf6;
  --hp-purple-dark: #5b21b6;
  --hp-orange: #ff7a1a;
  --hp-orange-light: #ffb84d;
  --hp-green: #7cfc6b;
  --hp-pink: #ff3ea5;
  --hp-text: #f5f3ff;
  --hp-text-muted: #b8aed9;
  --hp-gradient: linear-gradient(120deg, var(--hp-purple) 0%, var(--hp-pink) 50%, var(--hp-orange) 100%);
  --hp-gradient-warm: linear-gradient(120deg, #ffd977 0%, #ffb84d 45%, #ff7a1a 100%);
  --hp-glow-orange: 0 0 44px rgba(255, 122, 26, 0.30);
  --hp-radius: 18px;
  --hp-font-display: "Lilita One", "Fredoka", system-ui, sans-serif;
  --hp-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- base ----------
   NOTE: background-color here, never the `background` shorthand -
   the shorthand resets background-image to none and kills the wallpaper. */

html {
  background-color: var(--hp-bg) !important;
}

body {
  background-color: transparent !important;
  background-image:
    linear-gradient(180deg, rgba(12, 8, 22, 0.88) 0%, rgba(12, 8, 22, 0.82) 45%, rgba(12, 8, 22, 0.92) 100%),
    url("https://oazishalloween.hu/wp-content/themes/halloween-party-child/assets/halloween-bg.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  color: var(--hp-text) !important;
  font-family: var(--hp-font-body) !important;
  overflow-x: hidden;
}

/* let the wallpaper through the theme's opaque wrappers */
#content-vw,
.site-content,
main,
article,
.container,
.row,
.wp-block-group {
  background: transparent !important;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.site-title,
.widget-title,
.frm_primary_label {
  font-family: var(--hp-font-display) !important;
  letter-spacing: 0.02em;
  color: var(--hp-text) !important;
  text-shadow: 0 0 18px rgba(139, 92, 246, 0.55), 0 0 4px rgba(255, 122, 26, 0.35);
}

h1, .wp-block-heading:first-child {
  font-size: clamp(2rem, 6vw, 3.6rem) !important;
  line-height: 1.15 !important;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.4rem) !important;
}

p, li, span, div, label, a {
  font-family: var(--hp-font-body);
}

a {
  color: var(--hp-orange-light);
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover {
  color: var(--hp-pink);
}

/* ---------- floating decorations ---------- */

.hp-float-deco {
  position: fixed;
  pointer-events: none;
  z-index: 2;
  font-size: 2rem;
  opacity: 0.38;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
  animation: hp-drift 7s ease-in-out infinite;
}
.hp-float-deco.d1 { top: 9%;  left: 3%;   animation-duration: 6.5s; }
.hp-float-deco.d2 { top: 22%; right: 5%;  animation-duration: 5.5s; animation-delay: 0.4s; }
.hp-float-deco.d3 { top: 54%; left: 2%;   animation-duration: 8s;   animation-delay: 0.9s; }
.hp-float-deco.d4 { top: 71%; right: 3%;  animation-duration: 6.8s; animation-delay: 0.2s; }
.hp-float-deco.d5 { top: 38%; left: 47%;  animation-duration: 9s;   animation-delay: 1.4s; opacity: 0.2; }
.hp-float-deco.d6 { top: 31%; right: 42%; animation-duration: 7.4s; animation-delay: 1.1s; opacity: 0.28; }
.hp-float-deco.d7 { top: 84%; left: 18%;  animation-duration: 6s;   animation-delay: 0.7s; opacity: 0.3; }

@keyframes hp-drift {
  0%   { transform: translate3d(0, 0, 0) rotate(-6deg); }
  50%  { transform: translate3d(8px, -34px, 0) rotate(6deg); }
  100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hp-float-deco { animation: none; }
}

@media (max-width: 767px) {
  .hp-float-deco { font-size: 1.4rem; opacity: 0.22; }
}

/* ---------- header / nav (readable over the wallpaper) ---------- */

header[role="banner"],
.home-page-header {
  background: linear-gradient(180deg, rgba(15, 11, 26, 0.94), rgba(15, 11, 26, 0.74)) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hp-card-border);
}

.main-header,
.main-header .container,
.top-bar,
header .row {
  background: transparent !important;
}

.main-header.header-sticky {
  background: rgba(15, 11, 26, 0.94) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.site-title a {
  font-family: var(--hp-font-display) !important;
  background: var(--hp-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  font-size: clamp(1.3rem, 3vw, 1.8rem) !important;
}

.site-description { color: var(--hp-text-muted) !important; }

header a,
header p,
header span,
header li,
nav ul li a,
.main-header nav a {
  color: var(--hp-text) !important;
  font-family: var(--hp-font-body) !important;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
  transition: color 0.2s ease;
}
nav ul li a:hover,
.main-header nav a:hover {
  color: var(--hp-orange-light) !important;
}

.tickets-btn a {
  background: var(--hp-gradient) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.6em 1.4em !important;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 62, 165, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tickets-btn a:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(255, 122, 26, 0.5);
}

/* ---------- no footer ---------- */

footer,
footer[role="contentinfo"],
.footer-block,
.footer_hide,
#colophon {
  display: none !important;
}

/* ---------- content panels: glass, not white boxes ---------- */

.post-main-box,
.new-text {
  background: var(--hp-card) !important;
  border: 1px solid var(--hp-card-border) !important;
  border-radius: var(--hp-radius) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  color: var(--hp-text) !important;
  padding: clamp(1.1rem, 3vw, 2rem) !important;
  margin-bottom: 2rem !important;
}

.post-main-box *,
.new-text * {
  color: var(--hp-text);
}

.wp-block-column,
.wp-block-columns,
#sidebar .widget,
.frm_forms,
.wpgmza_map,
.mymap {
  border-radius: var(--hp-radius);
}

.wp-block-columns > .wp-block-column {
  background: var(--hp-card);
  border: 1px solid var(--hp-card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--hp-radius);
  padding: 1.4rem !important;
  margin: 0.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.wp-block-columns > .wp-block-column:hover {
  transform: translateY(-4px);
  border-color: var(--hp-purple);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.25);
}
.wp-block-columns > .wp-block-column p {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--hp-text) !important;
}

.mymap {
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--hp-card-border);
  margin-top: 1.5rem !important;
  margin-bottom: 2rem !important;
}

/* ---------- sidebar widgets ---------- */

/* #sidebar padding left to the theme's column gutter */

#sidebar .widget {
  background: var(--hp-card);
  border: 1px solid var(--hp-card-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem !important;
  margin-bottom: 1.5rem;
}

/* wider, centred registration panel on the front page */
body.home #sidebar,
body.home div:has(+ #sidebar) {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.home #sidebar .widget {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  body.home #sidebar .widget { padding: 2.5rem !important; }
}

/* ---------- Formidable form ---------- */

.frm_forms {
  background: var(--hp-card) !important;
  border: 1px solid var(--hp-card-border) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.75rem !important;
}

.frm_forms .frm_primary_label,
.frm_forms label {
  color: var(--hp-orange-light) !important;
  margin-bottom: 0.4rem !important;
}

.frm_forms input[type=text],
.frm_forms input[type=email],
.frm_forms input[type=number],
.frm_forms input[type=tel],
.frm_forms input[type=url],
.frm_forms textarea,
.frm_forms select {
  background: rgba(10, 6, 20, 0.7) !important;
  border: 1.5px solid var(--hp-card-border) !important;
  border-radius: 10px !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  padding: 0.7em 1em !important;
  font-family: var(--hp-font-body) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.frm_forms input::placeholder,
.frm_forms textarea::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1 !important;
}

.frm_forms input:focus,
.frm_forms textarea:focus,
.frm_forms select:focus {
  border-color: var(--hp-purple) !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3) !important;
  outline: none !important;
}

.frm_forms .frm_required { color: var(--hp-pink) !important; }

.frm_forms .frm_opt_container label,
.frm_forms .frm_checkbox label,
.frm_forms .frm_radio label {
  color: var(--hp-text) !important;
  font-weight: 500;
}

.frm_forms input[type=checkbox],
.frm_forms input[type=radio] {
  accent-color: var(--hp-orange);
  width: 1.1em;
  height: 1.1em;
  margin-right: 0.4em;
}

.frm_description,
.frm_forms .frm_description { color: var(--hp-text-muted) !important; }

.frm_forms button[type=submit],
.frm_forms input[type=submit],
.frm-show-form .frm_button_submit {
  background: var(--hp-gradient) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.75em 2em !important;
  font-family: var(--hp-font-display) !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 24px rgba(255, 62, 165, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.frm_forms button[type=submit]:hover,
.frm_forms input[type=submit]:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px rgba(255, 122, 26, 0.5);
}

.frm_error_style,
.frm_error {
  color: #ff6b6b !important;
  font-weight: 600;
}

#reg_pin_picker_status { color: var(--hp-green) !important; }
#reg_pin_picker_error { color: #ff6b6b !important; }
#reg_pin_picker_map {
  border: 2px solid var(--hp-card-border) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}

/* ---------- captcha ----------
   Invisible reCAPTCHA: nothing renders inline, so hide the stray label and
   collapse Google's floating badge to just its icon (expands on hover, which
   keeps Google's attribution requirement satisfied). */

.frm_form_field:has(.frm-g-recaptcha) .frm_primary_label,
.frm_form_field:has(> .frm-g-recaptcha) { display: none !important; }

.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: width 0.3s ease !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  border-radius: 10px 0 0 10px !important;
  opacity: 0.55;
  bottom: 14px !important;
}
.grecaptcha-badge:hover {
  width: 256px !important;
  opacity: 1;
}

/* ---------- mobile refinements ---------- */

@media (max-width: 991px) {
  .wp-block-columns { flex-direction: column !important; }
  .wp-block-columns > .wp-block-column { margin: 0.4rem 0; }
}

@media (max-width: 767px) {
  body {
    background-attachment: scroll !important;
    background-position: center top !important;
  }
  .frm_forms { padding: 1.1rem !important; }
  h1, .wp-block-heading:first-child { text-align: center; }
  #reg_pin_picker_map { height: 300px !important; }
  .post-main-box { padding: 1.1rem !important; }
}

@media (max-width: 480px) {
  .tickets-btn a {
    padding: 0.5em 1.1em !important;
    font-size: 0.9rem !important;
  }
}

/* ---------- scrollbar ---------- */

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--hp-bg); }
::-webkit-scrollbar-thumb { background: var(--hp-purple); border-radius: 10px; }
::selection { background: var(--hp-orange); color: #2a1400; }

#preloader { background-color: var(--hp-bg) !important; }

/* ============================================================
   Targeted adjustments (requested)
   ============================================================ */

/* read-more button and the date/author/comments info bar: gone */
.more-btn,
.post-info {
  display: none !important;
}

/* post title: white, keeps the glow, not clickable */
.section-title a,
.entry-title a,
.post-main-box h2 a {
  color: var(--hp-text) !important;
  pointer-events: none;
  cursor: default;
  text-decoration: none !important;
}

/* post body text: white (theme default was near-black) */
.post-main-box,
.post-main-box p,
.post-main-box li,
.post-main-box span,
.post-main-box strong,
.post-main-box em,
.post-main-box td,
.post-main-box th,
.new-text,
.new-text p,
.new-text li,
.new-text span,
.new-text strong {
  color: var(--hp-text) !important;
}

/* post panel: same orange glow as the registration form */
.post-main-box {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), var(--hp-glow-orange) !important;
}

/* registration form: orange glow instead of purple */
.frm_forms,
body.home #sidebar .widget {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), var(--hp-glow-orange) !important;
}

.frm_forms input:focus,
.frm_forms textarea:focus,
.frm_forms select:focus {
  border-color: var(--hp-orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.32) !important;
}

/* form labels and helper text: white */
.frm_forms .frm_primary_label,
.frm_forms label,
.frm_forms .frm_opt_container label,
.frm_forms .frm_checkbox label,
.frm_forms .frm_radio label {
  color: #ffffff !important;
}

.frm_description,
.frm_forms .frm_description,
.frm_forms .frm_description p {
  color: #ffffff !important;
  opacity: 0.85;
}

/* status line under the pin-picker map: orange, not green */
#reg_pin_picker_status {
  color: var(--hp-orange-light) !important;
}

/* warm orange/yellow gradient for the submit button, site name and top button */
.frm_forms button[type=submit],
.frm_forms input[type=submit],
.frm-show-form .frm_button_submit,
.tickets-btn a {
  background: var(--hp-gradient-warm) !important;
  color: #2a1400 !important;
  box-shadow: 0 6px 24px rgba(255, 122, 26, 0.40) !important;
}

.frm_forms button[type=submit]:hover,
.frm_forms input[type=submit]:hover,
.tickets-btn a:hover {
  box-shadow: 0 10px 32px rgba(255, 184, 77, 0.55) !important;
}

.site-title a {
  background: var(--hp-gradient-warm) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 10px rgba(255, 122, 26, 0.55));
}

/* pin-picker map: dark theme, to match the main map.
   Filter is applied to the tile layer only, so markers and controls
   keep their real colours. */
#reg_pin_picker_map .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) brightness(0.86) contrast(1.05) saturate(0.7);
}

#reg_pin_picker_map {
  background: #0f0b1a !important;
  border-color: rgba(255, 122, 26, 0.35) !important;
}

#reg_pin_picker_map .leaflet-control-attribution {
  background: rgba(15, 11, 26, 0.75) !important;
  color: var(--hp-text-muted) !important;
}
#reg_pin_picker_map .leaflet-control-attribution a {
  color: var(--hp-orange-light) !important;
}

/* ============================================================
   Round 2 of targeted adjustments
   ============================================================ */

/* submit button text: white */
.frm_forms button[type=submit],
.frm_forms input[type=submit],
.frm-show-form .frm_button_submit {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* the registration form lives inside a .wp-block-column, so it was picking up
   the stat-card hover glow. All card hovers now glow orange, not purple. */
.wp-block-columns > .wp-block-column:hover {
  border-color: var(--hp-orange) !important;
  box-shadow: 0 10px 30px rgba(255, 122, 26, 0.30) !important;
}

/* post panel: hover glow, matching the form */
.post-main-box {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.post-main-box:hover {
  transform: translateY(-4px);
  border-color: var(--hp-orange) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 122, 26, 0.42) !important;
}

/* "Regisztráció" heading: match the post title */
#block-15 .wp-block-column > p:first-child {
  font-family: var(--hp-font-display) !important;
  font-size: clamp(1.5rem, 4vw, 2.4rem) !important;
  line-height: 1.15 !important;
  letter-spacing: 0.02em;
  color: var(--hp-text) !important;
  text-shadow: 0 0 18px rgba(139, 92, 246, 0.55), 0 0 4px rgba(255, 122, 26, 0.35);
  margin: 0 0 1rem !important;
}

/* form panel as wide as the post panel */
body.home #sidebar .widget {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* removed: body.home #sidebar padding:0 - it made the form wider than the post */

/* ============================================================
   Entrance animations + form width
   ============================================================ */

/* own keyframes so this doesn't depend on animate.css being loaded */
@keyframes hp-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* the theme uses wow.js with zoomIn at 2s on the post panel.
   Override to a quick fade (the !important beats wow's inline
   animation-duration), keeping wow's scroll trigger intact. */
.post-main-box.wow,
.wow.zoomIn,
.wow.fadeInUp,
.wow.fadeIn {
  animation-name: hp-fade !important;
  animation-duration: 0.45s !important;
  animation-timing-function: ease-out !important;
}

/* registration form fades in too */
#sidebar .widget,
#block-15 {
  animation: hp-fade 0.45s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .post-main-box.wow,
  .wow.zoomIn,
  #sidebar .widget,
  #block-15 {
    animation: none !important;
  }
}

/* form panel slightly wider than the post panel (desktop only) */
@media (min-width: 992px) {
  body.home #sidebar .widget {
    width: calc(100% + 72px);
    margin-left: -36px !important;
    margin-right: -36px !important;
  }
}

/* ============================================================
   Alignment + inner-glass hover glow
   ============================================================ */

/* the registration widget sits in a .wp-block-column, which is centred for the
   stat cards - undo that here so "Regisztráció" and the form align left,
   like the post title. */
#block-15 .wp-block-column,
#block-15 .wp-block-column > p:first-child {
  text-align: left !important;
}

/* post hover: glow inside the glass rather than around it */
.post-main-box:hover {
  border-color: var(--hp-orange) !important;
  box-shadow:
    inset 0 0 70px rgba(255, 122, 26, 0.30),
    inset 0 0 18px rgba(255, 184, 77, 0.18),
    0 16px 48px rgba(0, 0, 0, 0.5) !important;
}

/* ============================================================
   Registration panel: ONE glass box, not four nested ones
   ============================================================ */

/* the outer widget is the single glass panel */
body.home #sidebar aside#block-15.widget {
  background: var(--hp-card) !important;
  border: 1px solid var(--hp-card-border) !important;
  border-radius: var(--hp-radius) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), var(--hp-glow-orange) !important;
  padding: clamp(1.2rem, 3vw, 2rem) !important;
  text-align: left !important;
}

/* everything nested inside it: no box of its own */
#block-15 .wp-block-columns,
#block-15 .wp-block-column,
#block-15 .widget,
#block-15 .widget_frm_show_form,
#block-15 .frm_form_widget,
#block-15 .frm_forms,
#block-15 .frm_forms.with_frm_style {
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  text-align: left !important;
}

/* heading inside the panel, aligned left like the post title */
#block-15 .wp-block-column > p:first-child {
  text-align: left !important;
  margin: 0 0 1.25rem !important;
}

/* hover: same inner-glass glow as the post */
body.home #sidebar aside#block-15.widget:hover {
  border-color: var(--hp-orange) !important;
  box-shadow:
    inset 0 0 70px rgba(255, 122, 26, 0.30),
    inset 0 0 18px rgba(255, 184, 77, 0.18),
    0 16px 48px rgba(0, 0, 0, 0.5) !important;
}

/* give the fields a little breathing room now that the inner padding is gone */
#block-15 .frm_form_fields > fieldset {
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
}

/* ============================================================
   Registration panel mirrors the post exactly
   outer widget  == .post-main-box
   inner column  == .new-text
   everything Formidable draws inside == stripped
   ============================================================ */

body.home #sidebar aside#block-15.widget {
  background: var(--hp-card) !important;
  border: 1px solid var(--hp-card-border) !important;
  border-radius: var(--hp-radius) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), var(--hp-glow-orange) !important;
  padding: clamp(1.1rem, 3vw, 2rem) !important;
  margin-bottom: 2rem !important;
}

body.home #sidebar aside#block-15.widget > .wp-block-columns > .wp-block-column {
  background: var(--hp-card) !important;
  border: 1px solid var(--hp-card-border) !important;
  border-radius: var(--hp-radius) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
  padding: clamp(1.1rem, 3vw, 2rem) !important;
  margin: 0 !important;
  text-align: left !important;
}

/* Formidable paints its own containers via its generated stylesheet
   (frm_style_formidable-style) - strip all of them, inputs excluded */
#block-15 .widget_frm_show_form,
#block-15 .frm_form_widget,
#block-15 .frm_forms,
#block-15 .frm_forms.with_frm_style,
#block-15 .with_frm_style,
#block-15 .frm_form_fields,
#block-15 .frm_fields_container,
#block-15 .frm_form_fields > fieldset,
#block-15 fieldset,
#block-15 .frm_form_field,
#block-15 .frm_submit {
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* keep vertical rhythm between fields now that padding is gone */
#block-15 .frm_form_field { margin-bottom: 1.15rem !important; }
#block-15 .frm_submit { margin-top: 1.5rem !important; }

/* ============================================================
   Specificity fix: the inner .widget_frm_show_form was still matching
   `body.home #sidebar .widget` (1-3-1), which outranked the earlier
   strip rule `#block-15 .widget` (1-1-0). Same prefix here so the
   strip actually wins.
   ============================================================ */

body.home #sidebar #block-15 .widget,
body.home #sidebar #block-15 .widget_frm_show_form,
body.home #sidebar #block-15 .frm_form_widget,
body.home #sidebar #block-15 .frm_forms,
body.home #sidebar #block-15 .frm_forms.with_frm_style,
body.home #sidebar #block-15 .frm_form_fields,
body.home #sidebar #block-15 .frm_fields_container,
body.home #sidebar #block-15 fieldset,
body.home #sidebar #block-15 .frm_form_field,
body.home #sidebar #block-15 .frm_submit {
  background: none !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.home #sidebar #block-15 .frm_form_field { margin-bottom: 1.15rem !important; }
body.home #sidebar #block-15 .frm_submit { margin-top: 1.5rem !important; }

/* ============================================================
   Match the post exactly: same width, same opacity
   ============================================================ */

/* undo the earlier "a bit wider than the post" rule */
@media (min-width: 992px) {
  body.home #sidebar aside#block-15.widget {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* the form panel read more transparent than the post - nudge both of its
   glass layers up to match .post-main-box / .new-text visually */
body.home #sidebar aside#block-15.widget,
body.home #sidebar aside#block-15.widget > .wp-block-columns > .wp-block-column {
  background: rgba(255, 255, 255, 0.085) !important;
}

/* ============================================================
   No hamburger menu - this page doesn't need navigation
   ============================================================ */

.toggle-nav,
.mobile-menu,
.responsivetoggle,
.closebtn {
  display: none !important;
}

/* the slide-out panel it opens, hidden on mobile too */
@media (max-width: 991px) {
  #mySidenav,
  .nav.sidenav {
    display: none !important;
  }
}

/* ============================================================
   Post title and form heading: one shared definition.
   The post title is an <h2> (bold by default, faux-bolded since
   Lilita One has a single weight) while "Regisztráció" is a <p>
   at normal weight - that was the whole difference.
   ============================================================ */

.post-main-box h2.section-title,
.post-main-box h2.section-title a,
body.home #sidebar #block-15 .wp-block-column > p:first-child {
  font-family: var(--hp-font-display) !important;
  font-size: clamp(1.5rem, 4vw, 2.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
  color: var(--hp-text) !important;
  text-shadow: 0 0 18px rgba(139, 92, 246, 0.55), 0 0 4px rgba(255, 122, 26, 0.35) !important;
  text-transform: none !important;
  text-align: left !important;
  padding: 0 !important;
}

.post-main-box h2.section-title,
body.home #sidebar #block-15 .wp-block-column > p:first-child {
  margin: 0 0 1.25rem !important;
}

.post-main-box h2.section-title a {
  display: inline;
  margin: 0 !important;
}

/* ============================================================
   Dynamic year stamp next to the site title.
   Injected by decorations.js from new Date().getFullYear(),
   so it rolls over on its own each year.
   ============================================================ */

.site-title {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

.hp-year {
  display: inline-block;
  font-family: "Bangers", "Lilita One", cursive !important;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0.06em;
  color: #ffd977;
  -webkit-text-fill-color: #ffd977;
  background: none !important;
  text-shadow:
    2px 2px 0 #ff7a1a,
    4px 4px 0 rgba(139, 92, 246, 0.85),
    0 0 18px rgba(255, 122, 26, 0.75);
  transform: rotate(-9deg) skewX(-8deg) scale(1.06);
  transform-origin: center;
  animation: hp-year-wobble 3.2s ease-in-out infinite;
  padding: 0 0.1em;
  pointer-events: none;
}

@keyframes hp-year-wobble {
  0%   { transform: rotate(-9deg)  skewX(-8deg) scale(1.06); }
  35%  { transform: rotate(-3deg)  skewX(-4deg) scale(1.12); }
  65%  { transform: rotate(-12deg) skewX(-10deg) scale(1.04); }
  100% { transform: rotate(-9deg)  skewX(-8deg) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hp-year { animation: none; }
}

@media (max-width: 480px) {
  .hp-year { font-size: 1.25rem; }
}

/* ============================================================
   Year stamp: same warm gradient as the title, kept on one line
   ============================================================ */

.site-title,
.site-title a {
  white-space: nowrap !important;
}

.site-title {
  gap: 0.35rem;
  max-width: 100%;
}

.hp-year {
  /* same gradient as the site title.
     text-shadow can't be used with gradient-clipped text (it renders as a
     solid blob behind the transparent fill) - drop-shadow filter instead. */
  background: var(--hp-gradient-warm) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 12px rgba(255, 122, 26, 0.5));
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  letter-spacing: 0.04em;
}

@media (max-width: 480px) {
  .hp-year { font-size: 1.05rem; }
  .site-title a { font-size: 1.15rem !important; }
}

/* ============================================================
   Year stamp v2: Creepster (open licence) + pendulum swing,
   like a hanging carnival sign
   ============================================================ */

.hp-year {
  font-family: "Creepster", "Bangers", cursive !important;
  font-size: clamp(1.3rem, 3vw, 2rem) !important;
  letter-spacing: 0.05em !important;
  transform-origin: 50% 0%;
  animation: hp-year-swing 2.8s cubic-bezier(.45, .05, .55, .95) infinite !important;
}

@keyframes hp-year-swing {
  0%   { transform: rotate(-11deg); }
  25%  { transform: rotate(6deg); }
  50%  { transform: rotate(-8deg); }
  75%  { transform: rotate(4deg); }
  100% { transform: rotate(-11deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hp-year { animation: none !important; transform: rotate(-6deg); }
}

/* year stamp: larger */
.hp-year {
  font-size: clamp(2rem, 4.6vw, 3.1rem) !important;
}

@media (max-width: 480px) {
  .hp-year { font-size: 1.7rem !important; }
}

.with_frm_style .frm_message, .frm_success_style {
   background-color: #00b10245 !important;
}

/* ============================================================
   Map marker info window: dark/orange, address only.
   The title and address hold the same value for these markers,
   so the title line is hidden rather than shown twice.
   ============================================================ */

.wpgmza-infowindow,
.ol-info-window-container,
.ol-info-window-plain,
.wpgmza-infowindow.ol-info-window-container.ol-info-window-plain {
  background: linear-gradient(145deg, rgba(38, 20, 8, 0.97), rgba(22, 12, 26, 0.97)) !important;
  border: 1.5px solid var(--hp-orange) !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.6), 0 0 26px rgba(255, 122, 26, 0.35) !important;
  color: var(--hp-text) !important;
  padding: 0.9rem 2.2rem 0.9rem 1.1rem !important;
  max-width: 300px !important;
  font-family: var(--hp-font-body) !important;
}

/* title duplicates the address - hide it */
.wpgmza_infowindow_title {
  display: none !important;
}

.wpgmza_infowindow_address {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--hp-orange-light) !important;
  font-family: var(--hp-font-display) !important;
  font-size: 1.15rem !important;
  line-height: 1.3 !important;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(255, 122, 26, 0.45);
}

/* close button: visible against the dark background */
.ol-info-window-close,
.wpgmza-infowindow .fa-times {
  color: var(--hp-orange-light) !important;
  opacity: 0.85 !important;
  font-size: 1rem !important;
  top: 0.6rem !important;
  right: 0.7rem !important;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.ol-info-window-close:hover,
.wpgmza-infowindow .fa-times:hover {
  opacity: 1 !important;
  transform: scale(1.15);
}

/* anything else the plugin renders inside stays readable */
.wpgmza-infowindow p,
.wpgmza-infowindow a,
.ol-info-window-plain p {
  color: var(--hp-text) !important;
}
.wpgmza-infowindow a { color: var(--hp-orange-light) !important; }
