/*
Theme Name: Világi Duguláselhárítás Child
Description: Gyermektéma az Ashe szülőtémához; a 2026-os Világi Duguláselhárítás design és főoldali szerkezet frissítésbiztos megőrzésére.
Author: Bognár Stúdió
Template: ashe
Version: 1.0.0
Text Domain: vilagi-dugulas-child
*/

/* Világi Duguláselhárítás — service redesign */
:root {
  --vilagi-navy: #123447;
  --vilagi-blue: #176b87;
  --vilagi-blue-soft: #e9f4f7;
  --vilagi-amber: #d88a21;
  --vilagi-amber-soft: #fff4df;
  --vilagi-ink: #23323a;
  --vilagi-muted: #61717a;
  --vilagi-line: #dce6e9;
  --vilagi-paper: #ffffff;
  --vilagi-canvas: #f4f7f7;
  --vilagi-radius: 18px;
  --vilagi-shadow: 0 18px 50px rgba(18, 52, 71, 0.09);
}
html { scroll-behavior: smooth; }
body {
  color: var(--vilagi-ink);
  background: radial-gradient(circle at 10% 0%, rgba(23,107,135,.08), transparent 28rem), var(--vilagi-canvas);
  font-size: 17px;
  line-height: 1.75;
}
#page-wrap { overflow: clip; }
#page-header {
  position: relative;
  z-index: 20;
  background: var(--vilagi-paper);
  border-bottom: 1px solid var(--vilagi-line);
}
.entry-header {
  min-height: 0;
  padding: 30px 24px 26px;
  background: linear-gradient(110deg, rgba(255,255,255,.98), rgba(233,244,247,.92)), var(--vilagi-paper);
}
.header-logo h1,
.header-logo .header-logo-a {
  margin: 0;
  color: var(--vilagi-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-transform: none;
}
.header-logo .header-logo-a { position: relative; display: inline-block; }
.header-logo .header-logo-a::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin: 13px auto 0;
  border-radius: 999px;
  background: var(--vilagi-amber);
}
.site-description {
  margin-top: 12px;
  color: var(--vilagi-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .055em;
  text-transform: uppercase;
}
#main-nav {
  min-height: 58px;
  background: var(--vilagi-navy);
  border: 0;
  box-shadow: 0 8px 24px rgba(18,52,71,.12);
}
#main-nav > div { max-width: 1180px; margin: 0 auto; }
.main-menu-container { padding-left: 10px; }
.main-menu-container > ul > li > a {
  padding: 20px 13px 18px;
  color: #f6fbfc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: none;
}
.main-menu-container > ul > li.current-menu-item > a,
.main-menu-container > ul > li > a:hover {
  color: #fff;
  box-shadow: inset 0 -4px 0 var(--vilagi-amber);
}
.main-menu-container .sub-menu {
  border: 1px solid var(--vilagi-line);
  border-top: 4px solid var(--vilagi-amber);
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: var(--vilagi-shadow);
}
.main-menu-container .sub-menu a { color: var(--vilagi-ink); font-size: 13px; line-height: 1.45; }
.main-menu-container .sub-menu a:hover { color: var(--vilagi-blue); background: var(--vilagi-blue-soft); }
.main-nav-icons, .main-nav-search, .dark-mode-switcher { color: #fff; }
.page-content { padding-top: clamp(28px,5vw,64px); padding-bottom: 64px; }
.main-container {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px,5vw,62px);
  border: 1px solid rgba(220,230,233,.95);
  border-radius: 24px;
  background: var(--vilagi-paper);
  box-shadow: var(--vilagi-shadow);
}
.main-container > article { width: 100%; }
.post-header { margin-bottom: 34px; text-align: left; }
.post-header .page-title,
.post-header .post-title {
  color: var(--vilagi-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px,5.6vw,62px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-transform: none;
}
.post-header .page-title::after,
.post-header .post-title::after {
  content: "";
  display: block;
  width: 84px;
  height: 5px;
  margin-top: 22px;
  border-radius: 999px;
  background: var(--vilagi-amber);
}
.post-content { color: var(--vilagi-ink); font-size: 17px; line-height: 1.78; }
.post-content p { margin-bottom: 1.35em; }
.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--vilagi-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: none;
}
.post-content h2 { margin: 2.15em 0 .72em; font-size: clamp(27px,3.2vw,38px); line-height: 1.18; }
.post-content h3 { margin: 1.8em 0 .65em; font-size: clamp(22px,2.6vw,29px); line-height: 1.25; }
.post-content h4 { font-size: 20px; }
.post-content a {
  color: #0d627e;
  text-decoration-color: rgba(13,98,126,.38);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.post-content a:hover { color: #984f00; text-decoration-color: var(--vilagi-amber); }
.post-content ul,
.post-content ol {
  margin: 1.2em 0 1.8em;
  padding: 24px 28px 24px 50px;
  border-left: 4px solid var(--vilagi-blue);
  border-radius: 0 14px 14px 0;
  background: var(--vilagi-blue-soft);
}
.post-content li { margin: .45em 0; }
.home .post-content > p:first-child {
  margin-bottom: 22px;
  padding: 22px 24px;
  border-left: 5px solid var(--vilagi-amber);
  border-radius: 0 14px 14px 0;
  background: var(--vilagi-amber-soft);
  color: var(--vilagi-navy);
  font-size: clamp(18px,2vw,21px);
  line-height: 1.62;
}
.home .post-content > p:nth-of-type(2) {
  display: inline-block;
  margin: 0 0 12px;
  padding: 15px 22px;
  border-radius: 999px;
  background: var(--vilagi-navy);
  color: #fff;
  box-shadow: 0 10px 28px rgba(18,52,71,.2);
}
.home .post-content > p:nth-of-type(2) a { color: #fff; font-size: clamp(21px,3vw,29px); text-decoration: none; }
.home .post-content > p:nth-of-type(3) {
  margin: 0 0 30px;
  color: var(--vilagi-muted);
  font-size: 15px;
  font-weight: 600;
}
.wp-block-image img { border-radius: 16px; box-shadow: 0 12px 32px rgba(18,52,71,.11); }
.wp-block-image figcaption { color: var(--vilagi-muted); font-size: 13px; line-height: 1.5; }
.wp-block-group {
  margin: 32px 0;
  padding: clamp(22px,4vw,34px);
  border: 1px solid var(--vilagi-line);
  border-radius: var(--vilagi-radius);
  background: linear-gradient(145deg,#fff,#f0f7f8);
}
.wp-block-group .has-background { border-radius: 10px; }
.wp-block-table {
  overflow-x: auto;
  margin: 30px 0;
  border: 1px solid var(--vilagi-line);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(18,52,71,.06);
}
.wp-block-table table { margin: 0; border-collapse: collapse; background: #fff; }
.wp-block-table td, .wp-block-table th { padding: 14px 16px; border-color: var(--vilagi-line); }
.wp-block-table tr:nth-child(even) { background: #f7fafb; }
.post-content blockquote {
  margin: 30px 0;
  padding: 24px 28px;
  border: 0;
  border-left: 5px solid var(--vilagi-amber);
  border-radius: 0 14px 14px 0;
  background: var(--vilagi-amber-soft);
  color: var(--vilagi-navy);
}
.post-meta, .post-footer, .post-date { color: var(--vilagi-muted); }
#page-footer { background: var(--vilagi-navy); color: #dce9ed; }
#page-footer a { color: #fff; }
.footer-copyright { border-color: rgba(255,255,255,.13); }
.scrolltop { border-radius: 50%; background: var(--vilagi-amber); color: #fff; }
@media (max-width: 979px) {
  #main-nav { min-height: 56px; }
  .mobile-menu-btn { color: #fff; }
  .mobile-menu-container { background: var(--vilagi-paper); }
  .mobile-menu-container a { color: var(--vilagi-ink); }
  .page-content { padding: 24px 14px 44px; }
  .main-container { padding: clamp(24px,6vw,42px); border-radius: 18px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .entry-header { padding: 23px 16px 20px; }
  .header-logo h1, .header-logo .header-logo-a { font-size: 30px; }
  .site-description { font-size: 11px; line-height: 1.5; }
  .page-content { padding-right: 8px; padding-left: 8px; }
  .main-container { padding: 25px 18px 34px; border-radius: 15px; }
  .post-header .page-title, .post-header .post-title { font-size: 34px; }
  .post-content { font-size: 16px; line-height: 1.7; }
  .post-content h2 { font-size: 27px; }
  .post-content h3 { font-size: 22px; }
  .post-content ul, .post-content ol { padding: 19px 18px 19px 38px; }
  .home .post-content > p:nth-of-type(2) { display: block; text-align: center; }
  .wp-block-image .alignleft, .wp-block-image .alignright { float: none; margin-right: auto; margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Second-pass corrections after desktop review */
.entry-header {
  height: auto !important;
  min-height: 0 !important;
  padding: 20px 24px 18px !important;
  background-color: #f4f8f9 !important;
  background-image: none !important;
  background-position: center !important;
  background-size: cover !important;
}

.header-logo h1,
.header-logo .header-logo-a {
  color: var(--vilagi-navy) !important;
  font-size: clamp(29px, 3.1vw, 41px) !important;
  line-height: 1.05 !important;
  text-shadow: none !important;
}

.header-logo .header-logo-a::after {
  width: 58px;
  height: 3px;
  margin-top: 9px;
}

.site-description {
  margin-top: 9px !important;
  color: var(--vilagi-muted) !important;
  font-size: 12px !important;
}

#main-nav {
  min-height: 56px !important;
  background: var(--vilagi-navy) !important;
}

#main-nav a,
#main-nav i,
#main-nav #s,
#main-nav .mobile-menu-btn {
  color: #ffffff !important;
}

#main-nav .sub-menu a {
  color: var(--vilagi-ink) !important;
}

.page-content {
  padding-top: 18px !important;
}

.main-content {
  padding-top: 0 !important;
}

body.page .sidebar-right-wrap {
  display: none !important;
}

body.page .main-container {
  float: none !important;
  width: 100% !important;
  max-width: 1080px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}


.home .post-content > p:nth-of-type(2) {
  padding: 11px 18px;
}

.home .post-content > p:nth-of-type(2) a {
  font-size: clamp(20px, 2.1vw, 25px);
}

@media (max-width: 979px) {
  .entry-header {
    padding: 17px 16px 15px !important;
  }

  .header-logo h1,
  .header-logo .header-logo-a {
    font-size: 29px !important;
  }

  .site-description {
    font-size: 10px !important;
    letter-spacing: .035em;
  }

  .page-content {
    padding-top: 12px !important;
  }

  body.page .main-content {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
}

@media (max-width: 600px) {
  .entry-header {
    padding: 14px 12px 12px !important;
  }

  .header-logo h1,
  .header-logo .header-logo-a {
    font-size: 25px !important;
  }

  .header-logo .header-logo-a::after {
    width: 44px;
    margin-top: 7px;
  }

  .site-description {
    margin-top: 7px !important;
    font-size: 9px !important;
  }

  .post-header {
    margin-bottom: 22px;
  }

  .post-header .page-title,
  .post-header .post-title {
    font-size: 32px;
  }

  .home .post-content > p:nth-of-type(2) {
    padding: 10px 14px;
  }

  .home .post-content > p:nth-of-type(2) a {
    font-size: 21px;
  }
}

/* Joljarok-inspired homepage composition */
.home .main-container {
  max-width: 1220px !important;
  padding: clamp(18px, 3.4vw, 44px) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home .main-container > article {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 0 clamp(24px, 3.2vw, 46px);
  align-items: stretch;
}

.home .post-content {
  display: contents;
}

.home .post-content > * {
  grid-column: 1 / -1;
}

.home .post-header {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  padding: clamp(30px, 4vw, 48px) clamp(25px, 3.5vw, 42px) 18px;
  border-radius: 22px 0 0 0;
  background: #f3cfaa;
}

.home .home-eyebrow {
  margin: 0 0 13px;
  color: #92530f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home .post-header .page-title {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.02;
}

.home .post-header .page-title::after {
  width: 66px;
  height: 4px;
  margin-top: 20px;
}

.home .post-content > p:first-child {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  padding: 4px clamp(25px, 3.5vw, 42px) 18px;
  border: 0;
  border-radius: 0;
  background: #f3cfaa;
  color: var(--vilagi-navy);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.58;
}

.home .post-content > p:nth-of-type(2) {
  display: block;
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  padding: 2px clamp(25px, 3.5vw, 42px) 14px;
  border-radius: 0;
  background: #f3cfaa;
  color: var(--vilagi-navy);
  box-shadow: none;
}

.home .post-content > p:nth-of-type(2) > strong {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home .post-content > p:nth-of-type(2) a {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--vilagi-navy);
  color: #fff;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(18,52,71,.2);
}

.home .post-content > p:nth-of-type(3) {
  grid-column: 1;
  grid-row: 4;
  margin: 0;
  padding: 0 clamp(25px, 3.5vw, 42px) clamp(28px, 3.6vw, 42px);
  border-radius: 0 0 0 22px;
  background: #f3cfaa;
  color: #594c3d;
  font-size: 14px;
  line-height: 1.55;
}

.home .post-content > .wp-block-image:first-of-type {
  grid-column: 2;
  grid-row: 1 / 5;
  min-height: 500px;
  margin: 0;
}

.home .post-content > .wp-block-image:first-of-type figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
}

.home .post-content > .wp-block-image:first-of-type img {
  width: 100% !important;
  height: 100% !important;
  min-height: 500px;
  border-radius: 0 22px 22px 0;
  object-fit: cover !important;
  object-position: center;
  box-shadow: none;
}

.home .post-content > .wp-block-image:first-of-type figcaption {
  position: absolute;
  right: 16px;
  bottom: 13px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--vilagi-navy);
  font-size: 11px;
  font-style: normal;
}

.home-service-gallery {
  grid-column: 1 / -1;
  grid-row: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: clamp(42px, 6vw, 76px) 0 clamp(40px, 5vw, 66px);
}

.home-gallery-heading {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 6px 24px;
  margin-bottom: 10px;
}

.home-gallery-heading .home-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.home-gallery-heading h2 {
  margin: 0;
  color: var(--vilagi-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.13;
  letter-spacing: -.025em;
  text-transform: none;
}

.home-gallery-heading > a {
  padding-bottom: 5px;
  color: var(--vilagi-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.home-service-card {
  position: relative;
  overflow: hidden;
  min-height: 235px;
  border-radius: 18px;
  background: var(--vilagi-navy);
  box-shadow: 0 12px 30px rgba(18,52,71,.12);
}

.home-service-card img {
  display: block;
  width: 100%;
  height: 235px;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-service-card::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(transparent, rgba(10,32,43,.9));
}

.home-service-card span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.15;
}

.home-service-card:hover img {
  transform: scale(1.035);
}

.home .post-content > p:nth-of-type(4) {
  margin-top: 0;
}

@media (max-width: 900px) {
  .home .main-container > article {
    grid-template-columns: minmax(0, 1fr);
  }

  .home .post-header {
    grid-column: 1;
    grid-row: 1;
    border-radius: 20px 20px 0 0;
  }


  .home .post-content > p:first-child {
    grid-column: 1;
    grid-row: 2;
  }

  .home .post-content > p:nth-of-type(2) {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
  }

  .home .post-content > p:nth-of-type(3) {
    grid-column: 1;
    grid-row: 4;
    border-radius: 0;
  }

  .home .post-content > .wp-block-image:first-of-type {
    grid-column: 1;
    grid-row: 5;
    min-height: 0;
  }

  .home .post-content > .wp-block-image:first-of-type img {
    min-height: 0;
    aspect-ratio: 16 / 8.5;
    border-radius: 0 0 20px 20px;
  }

  .home-service-gallery {
    grid-row: 6;
    margin-top: 48px;
  }
}

@media (max-width: 680px) {
  .home .main-container {
    padding: 8px !important;
  }

  .home .post-header {
    padding: 28px 22px 15px;
  }

  .home .post-header .page-title {
    font-size: clamp(34px, 10.5vw, 45px);
  }

  .home .post-content > p:first-child,
  .home .post-content > p:nth-of-type(2),
  .home .post-content > p:nth-of-type(3) {
    padding-right: 22px;
    padding-left: 22px;
  }

  .home .post-content > .wp-block-image:first-of-type figcaption {
    display: none;
  }

  .home-service-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 40px 8px 48px;
  }

  .home-gallery-heading {
    grid-template-columns: 1fr;
    margin-bottom: 8px;
  }

  .home-gallery-heading > a {
    padding: 3px 0 8px;
  }

  .home-service-card,
  .home-service-card img {
    min-height: 210px;
    height: 210px;
  }
}

/* Two-image hero correction */
.home .main-container > article {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.home .post-header,
.home .post-content > p:first-child,
.home .post-content > p:nth-of-type(2),
.home .post-content > p:nth-of-type(3) {
  min-width: 0;
}

.home .post-header .page-title {
  max-width: 100%;
  font-size: clamp(36px, 3.55vw, 48px);
  overflow-wrap: normal;
}

.home-hero-images {
  grid-column: 2;
  grid-row: 1 / 5;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  min-height: 500px;
}

.home-hero-images figure {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  background: var(--vilagi-blue-soft);
}

.home-hero-images figure:first-child {
  border-radius: 0 22px 0 0;
}

.home-hero-images figure:last-child {
  border-radius: 0 0 22px 0;
}

.home-hero-images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: none;
}

.home-hero-images figure:first-child img {
  object-position: center 46%;
}

.home-hero-images figure:last-child img {
  object-position: center;
}

.home .post-content > .wp-block-image:first-of-type {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: 0;
  margin: 30px 0;
}

.home .post-content > .wp-block-image:first-of-type figure {
  position: static;
  width: auto;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

.home .post-content > .wp-block-image:first-of-type img {
  width: min(100%, 700px) !important;
  height: auto !important;
  min-height: 0;
  border-radius: 18px;
  object-fit: contain !important;
  box-shadow: 0 12px 32px rgba(18,52,71,.11);
}

.home .post-content > .wp-block-image:first-of-type figcaption {
  position: static;
  margin-top: 8px;
  padding: 0;
  background: transparent;
  font-size: 13px;
}

@media (max-width: 900px) {
  .home .main-container > article {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-hero-images {
    grid-column: 1;
    grid-row: 5;
    min-height: 0;
    height: clamp(390px, 78vw, 560px);
  }

  .home-hero-images figure:first-child {
    border-radius: 0;
  }

  .home-hero-images figure:last-child {
    border-radius: 0 0 20px 20px;
  }

  .home .post-content > .wp-block-image:first-of-type {
    grid-row: auto;
  }

  .home-service-gallery {
    grid-row: 6;
  }
}

@media (max-width: 680px) {
  .home .post-header .page-title {
    font-size: clamp(32px, 9.5vw, 41px);
  }

  .home-hero-images {
    gap: 8px;
    height: clamp(330px, 96vw, 470px);
  }
}

/* Homepage trust and introduction section */
.home .post-content > p:nth-of-type(4) {
  grid-column: 1 / -1;
  margin: 0 0 22px;
  color: var(--vilagi-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.home .post-content > p:nth-of-type(4) strong {
  font-weight: inherit;
}

.home .post-content > ul:first-of-type {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 clamp(38px, 5vw, 62px);
  padding: 0;
  border: 0;
  background: transparent;
  list-style: none;
}

.home .post-content > ul:first-of-type li {
  position: relative;
  min-height: 132px;
  margin: 0;
  padding: 48px 18px 20px;
  border: 1px solid var(--vilagi-line);
  border-radius: 16px;
  background: #fff;
  color: var(--vilagi-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 9px 24px rgba(18,52,71,.07);
}

.home .post-content > ul:first-of-type li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 20px;
  width: 18px;
  height: 10px;
  border-bottom: 3px solid var(--vilagi-amber);
  border-left: 3px solid var(--vilagi-amber);
  transform: rotate(-45deg);
}

.home .post-content > p:nth-of-type(5) {
  grid-column: 1;
  margin: 0;
  padding: clamp(25px, 3vw, 36px);
  border-radius: 20px 0 0 20px;
  background: var(--vilagi-navy);
  color: #f2f7f8;
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 1.7;
}

.home .post-content > .wp-block-image:first-of-type {
  grid-column: 2;
  align-self: stretch;
  margin: 0;
}

.home .post-content > .wp-block-image:first-of-type figure {
  width: 100%;
  height: 100%;
}

.home .post-content > .wp-block-image:first-of-type img {
  width: 100% !important;
  height: 100% !important;
  min-height: 260px;
  border-radius: 0 20px 20px 0;
  object-fit: cover !important;
}

.home .post-content > .wp-block-image:first-of-type figcaption {
  display: none;
}

.home .post-content > p:nth-of-type(6) {
  grid-column: 1 / -1;
  margin: 18px 0 clamp(42px, 6vw, 72px);
  text-align: center;
}

.home .post-content > p:nth-of-type(6) a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 2px solid var(--vilagi-navy);
  border-radius: 999px;
  color: var(--vilagi-navy);
  font-weight: 800;
  text-decoration: none;
}

.home .post-content > p:nth-of-type(6) a:hover {

  background: var(--vilagi-navy);
  color: #fff;
}

@media (max-width: 900px) {
  .home .post-content > ul:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home .post-content > ul:first-of-type li:last-child {
    grid-column: 1 / -1;
  }

  .home .post-content > p:nth-of-type(5),
  .home .post-content > .wp-block-image:first-of-type {
    grid-column: 1;
  }

  .home .post-content > p:nth-of-type(5) {
    border-radius: 20px 20px 0 0;
  }

  .home .post-content > .wp-block-image:first-of-type img {
    min-height: 0;
    aspect-ratio: 16 / 7.5;
    border-radius: 0 0 20px 20px;
  }
}

@media (max-width: 520px) {
  .home .post-content > ul:first-of-type {
    grid-template-columns: 1fr;
  }

  .home .post-content > ul:first-of-type li:last-child {
    grid-column: auto;
  }

  .home .post-content > ul:first-of-type li {
    min-height: 0;
    padding: 43px 18px 18px;
  }
}

/* Világi Tamás introduction block */
.home .post-content > .wp-block-image:nth-of-type(2) {
  grid-column: 1;
  grid-row: 10 / 12;
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 22px 0 0 22px;
  background: linear-gradient(145deg, #eaf4f6, #dbecef);
}

.home .post-content > .wp-block-image:nth-of-type(2) figure {
  width: min(100%, 320px);
  margin: 0;
}

.home .post-content > .wp-block-image:nth-of-type(2) img {
  display: block;
  width: 100% !important;
  height: auto !important;
  border: 7px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 16px 38px rgba(18,52,71,.16);
}

.home .post-content > h2:first-of-type {
  grid-column: 2;
  grid-row: 10;
  align-self: end;
  margin: 0;
  padding: clamp(34px, 4vw, 52px) clamp(28px, 4vw, 48px) 12px;
  border-radius: 0 22px 0 0;
  background: var(--vilagi-navy);
  color: #fff;
  font-size: clamp(28px, 3.2vw, 40px);
}

.home .post-content > h2:first-of-type::before {
  content: "Bemutatkozás";
  display: block;
  margin-bottom: 11px;
  color: #f3b45c;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home .post-content > p:nth-of-type(7) {
  grid-column: 2;
  grid-row: 11;
  align-self: stretch;
  margin: 0;
  padding: 6px clamp(28px, 4vw, 48px) clamp(32px, 4vw, 48px);
  border-radius: 0 0 22px 0;
  background: var(--vilagi-navy);
  color: #eaf3f5;
  font-size: 17px;
  line-height: 1.72;
}

@media (max-width: 900px) {
  .home .post-content > .wp-block-image:nth-of-type(2),
  .home .post-content > h2:first-of-type,
  .home .post-content > p:nth-of-type(7) {
    grid-column: 1;
    grid-row: auto;
  }

  .home .post-content > .wp-block-image:nth-of-type(2) {
    border-radius: 22px 22px 0 0;
  }

  .home .post-content > h2:first-of-type {
    border-radius: 0;
  }

  .home .post-content > p:nth-of-type(7) {
    border-radius: 0 0 22px 22px;
  }
}

/* Technology and services navigation */
.home .post-content > h2:nth-of-type(2) {
  margin-top: clamp(52px, 7vw, 88px);
  margin-bottom: 14px;
  text-align: center;
}

.home .post-content > p:nth-of-type(8) {
  max-width: 780px;
  margin: 0 auto 28px;
  color: var(--vilagi-muted);
  font-size: 18px;
  text-align: center;
}

.home .post-content > .wp-block-group {
  margin: 0 0 clamp(46px, 6vw, 76px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--vilagi-line);
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #edf6f7);
  box-shadow: 0 14px 38px rgba(18,52,71,.08);
}

.home .post-content > .wp-block-group > .wp-block-group__inner-container > p:first-child {
  margin: 0 0 22px;
  padding: 0 !important;
  background: transparent !important;
  color: var(--vilagi-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(23px, 2.6vw, 31px) !important;
  line-height: 1.25;
}

.home .post-content > .wp-block-group .wp-block-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent !important;
  list-style: none;
}

.home .post-content > .wp-block-group .wp-block-list li {
  position: relative;
  margin: 0;
  padding: 17px 42px 17px 18px;
  border: 1px solid #d4e4e8;
  border-radius: 13px;
  background: #fff;
  line-height: 1.45;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.home .post-content > .wp-block-group .wp-block-list li::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: 17px;
  color: var(--vilagi-amber);
  font-size: 20px;
  font-weight: 800;
  transform: translateY(-50%);
}

.home .post-content > .wp-block-group .wp-block-list li:hover {
  border-color: #9fc5cf;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18,52,71,.08);
}

.home .post-content > .wp-block-group .wp-block-list a {
  color: var(--vilagi-navy);
  text-decoration: none;
}

.home .post-content > .wp-block-group .wp-block-list + p {
  margin-bottom: 14px;
}

.home .post-content > #tevekenysegeink {
  margin: 0 0 18px;
  padding-top: 8px;
}

.home .post-content > #tevekenysegeink + p {
  margin: 0 0 clamp(48px, 6vw, 76px);
  padding: clamp(24px, 4vw, 36px);
  border-radius: 18px;
  background: var(--vilagi-blue-soft);
  color: var(--vilagi-navy);
  font-weight: 650;
  line-height: 2;
  column-count: 2;
  column-gap: 42px;
}

@media (max-width: 720px) {
  .home .post-content > .wp-block-group .wp-block-list {
    grid-template-columns: 1fr;
  }

  .home .post-content > #tevekenysegeink + p {
    column-count: 1;
    line-height: 1.8;
  }
}

/* Long-form homepage sections */
.home .post-content > h2:nth-of-type(3),
.home .post-content > h2:nth-of-type(4),
.home .post-content > h2:nth-of-type(5),
.home .post-content > h2:nth-of-type(6),
.home .post-content > h2:nth-of-type(8) {
  margin-top: clamp(48px, 6vw, 76px);
}

.home .post-content > h2:nth-of-type(3) + p,
.home .post-content > h2:nth-of-type(3) + p + p {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 clamp(22px, 4vw, 38px);
}

.home .post-content > h2:nth-of-type(3) + p {
  margin-bottom: 0;
  padding-top: clamp(24px, 4vw, 38px);
  border-radius: 18px 18px 0 0;
  background: #fff7e9;
  color: var(--vilagi-navy) !important;
  font-size: 18px;
}

.home .post-content > h2:nth-of-type(3) + p + p {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: clamp(24px, 4vw, 38px);
  border-radius: 0 0 18px 18px;
  background: #fff7e9;
  color: #72430d !important;
}

.home .post-content > h2:nth-of-type(4) {
  color: #195d4b;
}

.home .post-content > h2:nth-of-type(4) + p {
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #cfe4d7;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5fbf7, #e9f5ed);
  color: #214f43;
  font-size: 18px;
}

.home .post-content > ul:nth-of-type(2) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
  list-style: none;
}

.home .post-content > ul:nth-of-type(2) li {
  position: relative;
  margin: 0;
  padding: 18px 18px 18px 46px;
  border: 1px solid var(--vilagi-line);
  border-radius: 13px;
  background: #fff;
}

.home .post-content > ul:nth-of-type(2) li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 19px;
  width: 14px;
  height: 8px;
  border-bottom: 3px solid #2d8a70;
  border-left: 3px solid #2d8a70;
  transform: rotate(-45deg);
}


.home .post-content > .wp-block-image:nth-of-type(4) {
  margin: 24px 0 clamp(48px, 6vw, 72px);
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--vilagi-line);
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 34px rgba(18,52,71,.07);
}

.home .post-content > .wp-block-image:nth-of-type(4) figure {
  margin: 0 auto;
}

.home .post-content > #garancia {
  margin: 0;
  padding: clamp(28px, 4vw, 42px) clamp(26px, 4vw, 46px) 12px;
  border-radius: 20px 20px 0 0;
  background: var(--vilagi-navy);
  color: #fff;
}

.home .post-content > #garancia + p,
.home .post-content > #garancia + p + p {
  margin: 0;
  padding-right: clamp(26px, 4vw, 46px);
  padding-left: clamp(26px, 4vw, 46px);
  background: var(--vilagi-navy);
  color: #eaf3f5;
}

.home .post-content > #garancia + p + p {
  padding-bottom: clamp(28px, 4vw, 42px);
  border-radius: 0 0 20px 20px;
}

.home .post-content > h2:nth-of-type(6) + p,
.home .post-content > h2:nth-of-type(6) + p + p {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.home .post-content > [id="36-20-375-0531"] {
  margin: clamp(46px, 7vw, 82px) 0;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 22px;
  background: linear-gradient(135deg, var(--vilagi-navy), #1a6178);
  text-align: center;
  box-shadow: 0 18px 42px rgba(18,52,71,.16);
}

.home .post-content > [id="36-20-375-0531"] span {
  color: #fff !important;
}

.home .post-content > .wp-block-table {
  margin-top: 24px;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(18,52,71,.09);
}

.home .post-content > .wp-block-table td {
  min-width: 205px;
}

.home .post-content > .wp-block-table a {
  display: block;
  font-weight: 700;
  text-decoration: none;
}

.home .gyik-accordion {
  margin-top: 24px;
}

.home .gyik-accordion .item {
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--vilagi-line);
  border-radius: 13px;
  background: #fff;
}

.home .gyik-accordion .q {
  position: relative;
  width: 100%;
  padding: 18px 52px 18px 20px;
  border: 0;
  background: #fff;
  color: var(--vilagi-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.home .gyik-accordion .q::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--vilagi-amber);
  font-size: 25px;
  transform: translateY(-50%);
}

.home .gyik-accordion .item.open .q::after {
  content: "−";
}

.home .gyik-accordion .a {
  padding: 0 20px 20px;
  color: var(--vilagi-muted);
  line-height: 1.7;
}

@media (max-width: 680px) {
  .home .post-content > ul:nth-of-type(2) {
    grid-template-columns: 1fr;
  }

  .home .post-content > .wp-block-table td {
    min-width: 175px;
  }
}

/* Reliable mobile navigation control in draft preview */
@media (max-width: 979px) {
  #main-nav .mobile-menu-btn {
    position: relative;
    z-index: 12;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 56px;
    padding: 0;
    color: #fff !important;
    line-height: 1 !important;
    cursor: pointer;
  }

  #main-nav .mobile-menu-btn i {
    display: none;
  }

  #main-nav .mobile-menu-btn::before {
    content: "";
    width: 11px;
    height: 11px;
    margin-top: -5px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease, margin .2s ease;
  }

  #main-nav .mobile-menu-btn[aria-expanded="true"]::before {
    margin-top: 5px;
    transform: rotate(225deg);
  }

  #main-nav .mobile-menu-btn:focus-visible {
    outline: 2px solid var(--vilagi-amber);
    outline-offset: -4px;
    border-radius: 8px;
  }

  #main-nav .mobile-menu-container {
    clear: both;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.14);
    background: #fff;
    box-shadow: 0 16px 28px rgba(18,52,71,.12);
  }

  #mobile-menu {
    padding: 8px 0 14px;
  }

  #mobile-menu > li {
    border-bottom: 1px solid var(--vilagi-line);
  }

  #mobile-menu li a {
    padding: 13px 42px 13px 18px;
    color: var(--vilagi-navy) !important;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
    text-align: left;
  }

  #mobile-menu .sub-menu {
    border-top: 1px solid var(--vilagi-line);
    background: var(--vilagi-blue-soft);
  }

  #mobile-menu .sub-menu li a {
    padding-left: 34px;
    color: var(--vilagi-ink) !important;
    font-size: 13px;
    font-weight: 650;
  }

  #mobile-menu .sub-menu .sub-menu li a {
    padding-left: 50px;
  }

  #mobile-menu .sub-menu-btn {
    z-index: 7;
    height: 48px;
  }

  #mobile-menu .sub-menu-btn-icon {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 8;
    padding: 0 !important;
    color: var(--vilagi-amber);
    pointer-events: none;
  }
}

/* Article and sidebar refinement */
.single .post-header {
  margin-bottom: 30px;
}

.single .post-header .post-title {
  font-size: clamp(34px, 4.8vw, 54px);
}

.single .post-meta {
  margin-top: 18px;
  color: var(--vilagi-muted);
  font-size: 12px;
  letter-spacing: .04em;
}

.single .post-content > .wp-block-image:first-child {
  margin-bottom: clamp(30px, 5vw, 52px);
}

.single .post-content > .wp-block-image:first-child img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.single .post-content > p {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
}

.single .post-content > h2,
.single .post-content > h3 {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.single .sidebar-right-wrap .ashe-widget {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--vilagi-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18,52,71,.07);
}

.single .sidebar-right-wrap .widget-title {
  margin-bottom: 16px;
}

.single .sidebar-right-wrap .widget-title h2 {
  color: var(--vilagi-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-transform: none;
}

.single .sidebar-right-wrap .widget_search {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.single .sidebar-right-wrap .widget_search #searchform {
  overflow: hidden;
  border: 1px solid var(--vilagi-line);
  border-radius: 12px;
  background: #fff;
}

.single .sidebar-right-wrap .widget_search input[type="search"] {
  min-height: 48px;
}

.single .sidebar-right-wrap .widget_recent_entries ul,
.single .sidebar-right-wrap .widget_recent_comments ul {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  list-style: none;
}

.single .sidebar-right-wrap .widget_recent_entries li,
.single .sidebar-right-wrap .widget_recent_comments li {
  margin: 0;
  padding: 11px 0;

  border-bottom: 1px solid var(--vilagi-line);
  line-height: 1.45;
}

.single .sidebar-right-wrap .widget_recent_entries li:last-child,
.single .sidebar-right-wrap .widget_recent_comments li:last-child {
  border-bottom: 0;
}

.single .sidebar-right-wrap .widget_recent_entries a,
.single .sidebar-right-wrap .widget_recent_comments a {
  color: var(--vilagi-ink);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.single .sidebar-right-wrap .widget_custom_html a {
  display: inline-block;
  margin: 5px 3px 0 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--vilagi-blue-soft);
  color: var(--vilagi-navy);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.single .sidebar-right-wrap .tagcloud a {
  display: inline-block;
  margin: 3px 2px;
  padding: 5px 8px;
  border: 1px solid var(--vilagi-line);
  border-radius: 999px;
  background: #fff;
  color: var(--vilagi-muted);
  font-size: 11px !important;
  text-decoration: none;
}

.page-id-17 .post-content > .wp-block-image:first-child img {
  width: auto !important;
  max-width: min(100%, 380px);
  height: auto !important;
}

.page-id-17 .post-content > .has-vivid-red-color {
  display: inline-block;
  margin: 4px 0 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff0e8;
  color: #a03f1b !important;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
}

@media (max-width: 979px) {
  .single .post-content > p,
  .single .post-content > h2,
  .single .post-content > h3 {
    max-width: none;
  }

  .single .sidebar-right-wrap .ashe-widget {
    padding: 18px;
  }

  #mobile-menu .vilagi-submenu-toggle {
    position: absolute;
    top: 5px;
    right: 8px;
    z-index: 10;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--vilagi-amber);
    cursor: pointer;
  }

  #mobile-menu .vilagi-submenu-toggle::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 15px;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease, top .2s ease;
  }

  #mobile-menu .vilagi-submenu-toggle[aria-expanded="true"]::before {
    top: 18px;
    transform: rotate(225deg);
  }

  #mobile-menu .vilagi-submenu-toggle:focus-visible {
    outline: 2px solid var(--vilagi-amber);
    outline-offset: -3px;
  }
}

/* Consistent centered article images and captions */
body:not(.home) .post-content .wp-block-image,
body:not(.home) .post-content figure.wp-block-image {
  max-width: 100%;
  text-align: center;
}

body:not(.home) .post-content .wp-block-image > figure,
body:not(.home) .post-content figure.wp-block-image {
  display: table;
  float: none !important;
  width: auto;
  max-width: 100%;
  margin-right: auto !important;
  margin-left: auto !important;
}

body:not(.home) .post-content .wp-block-image > figure > img,
body:not(.home) .post-content figure.wp-block-image > img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

body:not(.home) .post-content .wp-block-image > figure > figcaption,
body:not(.home) .post-content figure.wp-block-image > figcaption {
  display: table-caption;
  caption-side: bottom;
  width: 100%;
  margin-top: 8px;
  color: var(--vilagi-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

/* Accessible inline links and correct intrinsic image proportions */
.post-content p a:not(.vilagi-button),
.post-content li a:not(.vilagi-button),
.post-content blockquote a:not(.vilagi-button) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.home .post-content img.wp-image-3381 {
  height: auto !important;
}

/* Cookie notice: readable policy link, independent from color alone */
#cookie-law-info-bar a[href],
.cli-modal a[href],
#page-footer .credit a,
#page-footer .copyright-info a {
  color: var(--vilagi-navy) !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#page-footer .credit a,
#page-footer .copyright-info a {
  color: #f6fbfc !important;
}

.page-content .post-date,
.page-content .post-comments,
.page-content .post-author,
.page-content .related-post-date {
  color: var(--vilagi-muted) !important;
}

/* Data-led guide links for the highest-opportunity search topics */
.home-guide-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--vilagi-line);
  border-radius: var(--vilagi-radius);
  background: linear-gradient(135deg, #f7fbfc, var(--vilagi-blue-soft));
}

.home-guide-links__heading {
  grid-column: 1 / -1;
  margin-bottom: 6px;
}

.home-guide-links__heading .home-eyebrow {
  margin-bottom: 6px;
}

.home-guide-links__heading h2 {
  margin: 0;
  color: var(--vilagi-navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.16;
  letter-spacing: -.02em;
  text-transform: none;
}

.home-guide-links > a {
  display: flex;
  min-width: 0;
  min-height: 130px;
  padding: 19px;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(18,52,71,.1);
  border-radius: 14px;
  background: #fff;
  color: var(--vilagi-navy);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(18,52,71,.06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.home-guide-links > a:hover {
  color: var(--vilagi-navy);
  border-color: rgba(23,107,135,.35);
  box-shadow: 0 12px 28px rgba(18,52,71,.11);
  transform: translateY(-2px);
}

.home-guide-links strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  line-height: 1.15;
}

.home-guide-links span {
  color: var(--vilagi-muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .home-guide-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-guide-links {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .home-guide-links > a {
    min-height: 0;
  }
}

/* Homepage equipment infographic: keep image and caption on one center line */
.home .post-content .wp-block-image:has(img.wp-image-3384) {
  text-align: center;
}

.home .post-content figure:has(img.wp-image-3384) {
  display: block;
  float: none !important;
  width: min(360px, 100%);
  max-width: 100%;
  margin: 18px auto 28px !important;
}

.home .post-content figure:has(img.wp-image-3384) img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.home .post-content figure:has(img.wp-image-3384) figcaption {
  display: block;
  width: 100%;
  margin: 8px 0 0 !important;
  color: var(--vilagi-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}



