/*
Theme Name: Dédicsősz – teljesen szerkeszthető
Theme URI: https://www.dedicsosz.hu
Author: Dédicsősz
Description: Teljes webhelyszerkesztést támogató, reszponzív WordPress blokktéma otthoni idősgondozási szolgáltatáshoz.
Version: 2.1.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: dedicsosz-fse
*/

:root {
  --blue: #344b68;
  --blue-dark: #293f5c;
  --gold: #d39c24;
  --gold-light: #e8bc54;
  --ink: #283b55;
  --cream: #fbfaf6;
  --muted: #596575;
  --line: #e6e1d9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.content-width {
  width: min(930px, calc(100% - 48px));
  margin-left: auto !important;
  margin-right: auto !important;
}

.site-header-shell {
  width: 100%;
  background: #fff;
}

.site-header {
  width: min(930px, calc(100% - 48px));
  min-height: 84px;
  margin: auto;
  gap: 26px;
}

.site-header .brand {
  flex: 0 0 auto;
  margin-right: auto;
}

.site-header .brand img {
  display: block;
  width: 200px;
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
}

.primary-nav {
  flex: 0 1 auto;
}

.primary-nav .wp-block-navigation__container {
  gap: 18px;
}

.primary-nav .wp-block-navigation-item__content {
  padding: 31px 0 13px;
  border-bottom: 2px solid transparent;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.primary-nav .wp-block-navigation-item__content:hover,
.primary-nav .current-menu-item > .wp-block-navigation-item__content {
  color: var(--gold);
  border-color: var(--gold);
}

.top-phone {
  flex: 0 0 auto;
}

.top-phone .wp-block-button__link,
.phone-pill {
  min-height: 40px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(105deg, #c88f16, #dfa932);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.gold-button .wp-block-button__link,
.outline-button .wp-block-button__link {
  min-height: 38px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  font-size: 11px;
  font-weight: 700;
}

.gold-button .wp-block-button__link {
  color: #fff;
  background: linear-gradient(105deg, #c88f16, #dfa932);
}

.outline-button .wp-block-button__link {
  color: var(--ink);
  border: 1.5px solid var(--gold);
  background: #fff;
}

.title-rule,
.small-rule {
  width: 38px !important;
  height: 3px;
  margin: 9px auto 28px !important;
  border: 0;
  background: var(--gold);
  opacity: 1;
}

.small-rule {
  margin-left: 0 !important;
}

.eyebrow,
.gold-subtitle,
.page-heading p {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .35px;
}

.page-heading {
  padding-top: 30px;
  text-align: center;
}

.page-heading h1,
.about-page h1,
.contact-page h1,
.privacy-page h1,
.article-page h1,
.generic-page h1,
.not-found h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 32px;
  line-height: 1.15;
}

.page-heading p,
.gold-subtitle {
  font-size: 12px;
}

.page-heading p {
  max-width: 560px;
  margin: 8px auto 0;
}

.page-intro {
  max-width: 650px;
  margin: 20px auto 27px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

/* Kezdőlap */
.hero {
  min-height: 405px;
  margin-top: 0;
  margin-bottom: 0;
  display: grid !important;
  grid-template-columns: 46% 54%;
  align-items: center !important;
  gap: 0;
}

.hero-copy {
  padding: 28px 0 30px 30px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(37px, 3.5vw, 44px);
  line-height: 1.13;
  letter-spacing: -1.4px;
  font-weight: 600;
}

.hero .eyebrow {
  margin: 12px 0 17px;
  font-size: 15px;
  letter-spacing: .55px;
}

.hero .lead {
  max-width: 390px;
  margin: 0;
  color: #39475b;
  font-size: 16px;
  line-height: 1.45;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-visual {
  width: 100%;
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: 100%;
  max-width: 470px;
  display: block;
}

.home-trust {
  min-height: 72px;
  margin-bottom: 24px !important;
  padding: 10px 18px;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(52, 75, 104, .11);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(34, 52, 72, .07);
}

.trust-item {
  min-width: 0;
  padding: 5px 16px;
  gap: 12px;
  border-right: 1px solid var(--line);
  align-items: center;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item p {
  margin: 0;
  color: #536073;
  font-size: 10.5px;
  line-height: 1.4;
}

.trust-item strong {
  color: var(--blue-dark);
  font-size: 11.5px;
}

.trust-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--gold-light) !important;
  font: 21px/1 Georgia, serif !important;
}

.home-audience {
  padding: 18px 0 32px;
}

.home-services {
  padding: 26px 0 34px;
}

.home-audience > h2,
.home-services > h2,
.home-process > h2,
.reviews > h2 {
  margin: 0;
  text-align: center;
  font-size: 22px;
}

.section-intro {
  max-width: 620px;
  margin: -12px auto 25px !important;
  color: #596575;
  font-size: 13px;
  line-height: 1.5;
}

.audience-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.audience-card {
  min-height: 172px;
  padding: 20px 17px;
  border: 1px solid rgba(52, 75, 104, .1);
  border-radius: 12px;
  background: var(--cream);
  text-align: center;
}

.audience-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 13px !important;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--gold-light);
  font: 27px/1 Georgia, serif;
}

.audience-card h3 {
  margin: 0 0 8px;
  font-size: 12px;
}

.audience-card > p:last-child {
  margin: 0;
  color: #536073;
  font-size: 11px;
  line-height: 1.48;
}

.service-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.service-card {
  padding: 0 15px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.service-card:last-child {
  border-right: 0;
}

.service-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 13px !important;
  border-radius: 50%;
  background: var(--blue);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font: 36px Georgia, serif;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 12px;
}

.service-card > p:last-child {
  margin: 0;
  color: #536073;
  font-size: 11.5px;
  line-height: 1.5;
}

.service-more {
  margin-top: 25px;
}

.home-process-shell {
  width: 100%;
  margin: 0 !important;
  padding: 34px 0 38px;
  background: linear-gradient(135deg, #f8f4eb, #fbfaf6);
}

.home-process {
  padding: 0;
}

.step-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  min-height: 150px;
  padding: 23px 20px 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 16px rgba(34, 52, 72, .08);
  text-align: center;
}

.step-number {
  width: 42px;
  height: 42px;
  margin: 0 auto 13px !important;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.step-card > p:last-child {
  margin: 0;
  color: #536073;
  font-size: 11px;
  line-height: 1.5;
}

.process-action {
  margin-top: 25px;
}

.home-about {
  padding: 33px 0 18px;
  display: grid !important;
  grid-template-columns: 46% 36% 18%;
  align-items: center;
  gap: 42px;
}

.home-about > .wp-block-image {
  width: 100%;
  margin: 0;
}

.home-about > .wp-block-image img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.home-about h2 {
  margin: 0;
  font-size: 22px;
}

.home-about p:not(.care-mark) {
  margin: 0 0 18px;
  color: #333;
  font-size: 12.5px;
  line-height: 1.5;
}

.care-mark {
  margin: 0 !important;
  color: rgba(211, 156, 36, .42);
  font: 95px/1 Georgia, serif;
  text-align: center;
}

.reviews {
  padding: 4px 0 20px;
}

.review-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.review-grid blockquote {
  min-height: 135px;
  margin: 0;
  padding: 23px 24px 14px;
  position: relative;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 15px rgba(34, 52, 72, .13);
  text-align: center;
}

.review-grid blockquote::before {
  content: "“";
  position: absolute;
  left: 14px;
  top: 5px;
  color: var(--gold);
  font: 42px Georgia, serif;
}

.review-grid blockquote p {
  color: #303642;
  font-size: 11.5px;
  line-height: 1.55;
  font-style: italic;
}

.review-grid cite {
  color: #303642;
  font-size: 11px;
  font-style: normal;
}

.care-notice {
  min-height: 54px;
  margin-top: 5px !important;
  margin-bottom: 18px !important;
  padding: 11px 18px;
  gap: 13px;
  border: 1px solid rgba(211, 156, 36, .32);
  border-radius: 9px;
  background: #fffaf0;
  align-items: center;
}

.care-notice p {
  margin: 0;
  color: #535d6a;
  font-size: 11px;
  line-height: 1.45;
}

.notice-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #fff !important;
  font-weight: 700;
}

.contact-banner {
  min-height: 104px;
  margin-bottom: 20px !important;
  padding: 18px 48px;
  display: grid !important;
  grid-template-columns: 78px 1fr 260px;
  align-items: center;
  gap: 24px;
  border-radius: 12px;
  background: linear-gradient(105deg, var(--blue-dark), #344f71);
  color: #fff;
}

.banner-icon {
  width: 64px;
  height: 64px;
  margin: 0 !important;
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font: 31px Georgia, serif;
}

.contact-banner h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 21px;
}

.contact-banner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.contact-banner .wp-block-button__link {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(105deg, #c88f16, #dfa932);
  font-size: 18px;
  font-weight: 700;
}

/* Szolgáltatások */
.services-page {
  min-height: 610px;
  padding-bottom: 35px;
  position: relative;
}

.services-page::before {
  content: "♡";
  position: absolute;
  left: -8px;
  top: 15px;
  color: rgba(211, 156, 36, .35);
  font: 80px Georgia;
}

.service-list {
  width: 720px;
  max-width: 100%;
  margin: 0 auto;
  display: grid !important;
  gap: 10px;
}

.service-list-item {
  min-height: 74px;
  padding: 9px 14px;
  display: grid !important;
  grid-template-columns: 58px 1fr 90px;
  align-items: center;
  gap: 15px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 2px 7px rgba(33, 50, 73, .08);
}

.list-icon {
  width: 52px;
  height: 52px;
  margin: 0 !important;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--gold-light);
  font: 28px Georgia;
}

.service-list-item h2 {
  margin: 0 0 5px;
  font-size: 13px;
}

.service-list-item p:not(.list-icon) {
  margin: 0;
  color: #586375;
  font-size: 10px;
  line-height: 1.45;
}

.service-list-item > .wp-block-buttons {
  justify-self: end;
}

.service-list-item .wp-block-button__link {
  padding: 9px 16px;
  border-radius: 20px;
  color: #fff;
  background: var(--gold);
  font-size: 9px;
  font-weight: 700;
}

/* Rólam */
.about-page {
  min-height: 520px;
  padding: 40px;
  display: grid !important;
  grid-template-columns: 1.2fr .8fr;
  gap: 50px;
  align-items: center;
}

.about-page-copy > p:not(.gold-subtitle):not(.signature) {
  margin: 16px 0;
  color: #444e5e;
  font-size: 12px;
  line-height: 1.6;
}

.about-page .gold-subtitle {
  margin: 7px 0 25px;
}

.portrait {
  width: 100%;
  margin: 0;
}

.portrait img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
}

.value-list {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
  font-size: 11px;
}

.signature {
  margin-top: 20px !important;
  color: var(--gold);
  font: italic 30px "Brush Script MT", cursive;
  transform: rotate(-4deg);
  transform-origin: left;
}

.about-quote {
  min-height: 95px;
  margin-bottom: 22px !important;
  padding: 18px 28px;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--blue-dark);
}

.about-quote > p {
  margin: 0;
  color: var(--gold);
  font: 52px Georgia;
}

.about-quote h2 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

/* GYIK */
.faq-page {
  min-height: 620px;
  padding-bottom: 30px;
}

.faq-list {
  width: 720px;
  max-width: 100%;
  margin: 32px auto 25px;
  display: grid !important;
  gap: 11px;
}

.faq-list details {
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 9px;
  box-shadow: 0 1px 5px rgba(25, 45, 65, .08);
}

.faq-list summary {
  padding: 13px 42px 13px 18px;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "⌄";
  position: absolute;
  right: 18px;
  color: var(--gold);
  font-size: 18px;
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 13px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.faq-page .contact-banner {
  width: 780px;
  max-width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Kapcsolat */
.contact-page {
  min-height: 650px;
  padding: 56px 50px 35px;
  position: relative;
}

.contact-page::after {
  content: "♡";
  position: absolute;
  right: 40px;
  top: 70px;
  color: rgba(211, 156, 36, .18);
  font: 115px Georgia;
}

.contact-page-heading {
  max-width: 430px;
}

.contact-page .gold-subtitle {
  margin: 8px 0 22px;
}

.contact-page-heading > p:last-child {
  color: #536073;
  font-size: 12px;
  line-height: 1.6;
}

.contact-layout {
  margin-top: 45px;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: start;
}

.contact-list {
  display: grid !important;
  gap: 18px;
}

.contact-row {
  display: grid !important;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 15px;
  font-size: 13px;
}

.contact-row p {
  margin: 0;
}

.contact-row .contact-icon {
  width: 38px;
  height: 38px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 700;
}

.contact-form {
  padding: 16px;
  display: grid;
  gap: 9px;
  position: relative;
  z-index: 1;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(30, 49, 70, .08);
}

.contact-form label {
  color: #5b6572;
  font-size: 9px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 4px;
  padding: 8px;
  display: block;
  border: 1px solid #dfe2e5;
  border-radius: 4px;
  resize: vertical;
}

.contact-form button {
  height: 40px;
  border: 0;
  border-radius: 20px;
  color: #fff;
  background: var(--gold);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.contact-form-button-preview {
  min-height: 40px;
  padding: 11px 18px;
  border-radius: 20px;
  color: #fff;
  background: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.honeypot {
  width: 1px;
  height: 1px;
  position: absolute;
  left: -10000px;
  overflow: hidden;
}

.form-notice {
  margin: 0;
  padding: 10px;
  border-radius: 6px;
  font-size: 11px;
}

.form-notice.success {
  color: #1c5d32;
  background: #e9f7ed;
}

.form-notice.error {
  color: #8b2626;
  background: #fff0f0;
}

/* Blog */
.blog-page {
  min-height: 650px;
  padding: 62px 20px 36px;
}

.blog-query {
  margin-top: 45px;
}

.blog-grid {
  gap: 24px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid #e2e2e2;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(30, 48, 68, .08);
}

.post-image {
  margin: 0;
}

.post-image img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.blog-card-copy {
  padding: 14px 15px 17px;
}

.blog-card time,
.article-page time {
  color: #9a9da3;
  font-size: 9px;
}

.blog-card h2 {
  min-height: 36px;
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.35;
}

.blog-card .wp-block-post-excerpt__excerpt {
  min-height: 38px;
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.blog-card .wp-block-post-excerpt__more-link {
  font-size: 9px;
  font-weight: 700;
}

.wp-block-query-pagination {
  margin-top: 28px;
}

.article-page {
  min-height: 720px;
  padding: 20px 45px 30px;
  gap: 45px;
}

.article-page h1 {
  margin-bottom: 5px;
  font-size: 30px;
}

.article-hero {
  margin: 18px 0;
}

.article-hero img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 5px;
}

.article-content p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.article-content h2 {
  margin: 13px 0 3px;
  color: var(--gold);
  font-size: 15px;
}

.article-sidebar {
  margin-top: 37px;
  padding: 20px;
  border-radius: 8px;
  background: #f8f8f7;
}

.article-sidebar h2 {
  margin: 0 0 15px;
  color: var(--blue-dark);
  font-size: 14px;
}

.article-sidebar h2:nth-of-type(2) {
  margin-top: 35px;
}

.article-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 10px;
}

.article-sidebar li {
  margin-bottom: 12px;
}

/* Adatkezelés és általános oldalak */
.privacy-page {
  min-height: 720px;
  padding: 68px 48px 35px;
}

.privacy-page .gold-subtitle {
  margin: 8px 0 30px;
}

.privacy-page > p {
  max-width: 720px;
  margin: 0 0 17px;
  color: #535e6e;
  font-size: 11px;
  line-height: 1.6;
}

.privacy-page h2 {
  margin: 17px 0 5px;
  color: var(--blue-dark);
  font-size: 14px;
}

.generic-page {
  min-height: 620px;
  padding: 70px 40px;
}

.index-card {
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.not-found {
  min-height: 600px;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found .gold-subtitle {
  margin: 0;
  font-size: 70px;
}

/* Lábléc */
.site-footer {
  color: var(--blue-dark);
  background: linear-gradient(105deg, #e1aa30, #cf951d);
}

.footer-inner {
  width: min(900px, calc(100% - 48px));
  min-height: 170px;
  margin: auto;
  padding: 20px 0;
  display: grid !important;
  grid-template-columns: 270px 170px 230px 1fr !important;
  gap: 42px;
  align-items: center;
}

.footer-brand img {
  width: 220px;
  display: block;
}

.footer-links p,
.footer-contact p {
  margin: 0 0 7px;
  font-size: 11px;
  line-height: 1.65;
}

.footer-heart {
  margin: 0;
  color: rgba(255, 255, 255, .55);
  font: 72px Georgia, serif;
  text-align: center;
}

.footer-bottom {
  width: min(900px, calc(100% - 48px));
  min-height: 42px;
  margin: auto;
  border-top: 1px solid rgba(41, 63, 92, .12);
  color: #fff;
}

.footer-bottom p {
  margin: 0;
  font-size: 9px;
}

/* Tablet */
@media (max-width: 920px) {
  .site-header {
    min-height: 76px;
    gap: 18px;
  }

  .site-header .brand img {
    width: 175px;
  }

  .primary-nav .wp-block-navigation-item__content {
    font-size: 9px;
  }

  .top-phone .wp-block-button__link {
    padding: 10px 12px;
    font-size: 10px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero h1 {
    font-size: 37px;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 220px 1fr 1fr !important;
  }

  .footer-heart {
    display: none;
  }
}

/* Mobil */
@media (max-width: 700px) {
  .content-width {
    width: min(100% - 30px, 520px);
  }

  .site-header {
    width: calc(100% - 30px);
    min-height: 70px;
    padding: 8px 0;
    position: relative;
    align-items: center;
  }

  .site-header .brand {
    min-width: 0;
  }

  .site-header .brand img {
    width: 150px;
    max-height: 52px;
  }

  .top-phone {
    display: none !important;
  }

  .primary-nav {
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin-left: auto !important;
    flex: 0 0 44px !important;
    align-self: center;
    align-items: center;
    justify-content: center;
  }

  /*
   * A WordPress alapból 600 px-nél vált hamburger menüre, miközben a téma
   * mobilfejléce 700 px-ig aktív. A két töréspont egységesítése megakadályozza,
   * hogy fekvő mobilnézetben a menü jobbra vagy lefelé csússzon.
   */
  .primary-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }

  .primary-nav .wp-block-navigation__responsive-container-open {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 10px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--ink);
  }

  .primary-nav .wp-block-navigation__responsive-container-open svg {
    width: 24px;
    height: 24px;
    display: block;
  }

  .primary-nav .wp-block-navigation__responsive-container.is-menu-open {
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px;
    position: fixed;
    inset: 0;
    overflow-y: auto;
    background: #fff;
    color: var(--ink);
  }

  .primary-nav .wp-block-navigation__responsive-container-close {
    width: 44px;
    height: 44px;
    top: 13px;
    right: 15px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav .wp-block-navigation__responsive-container-content {
    padding-top: 60px;
    align-items: flex-start;
  }

  .primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    width: 100%;
    gap: 0 !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start !important;
  }

  .primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
  }

  .primary-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    width: 100%;
    padding: 12px 0;
    border: 0;
    font-size: 16px;
    line-height: 1.3;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    padding: 25px 0 10px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.12;
    letter-spacing: -.8px;
  }

  .hero .eyebrow {
    margin: 9px 0 12px;
    font-size: 13px;
  }

  .hero .lead {
    max-width: 330px;
    margin: auto;
    font-size: 13px;
    line-height: 1.45;
  }

  .hero .lead br {
    display: none;
  }

  .hero-actions {
    margin-top: 17px;
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions .wp-block-button,
  .hero-actions .wp-block-button__link {
    width: 190px;
  }

  .hero-visual {
    padding: 8px 5px 12px;
  }

  .hero-visual img {
    max-width: 390px;
  }

  .home-trust {
    grid-template-columns: 1fr;
    margin-top: 8px !important;
    margin-bottom: 24px !important;
    padding: 7px 14px;
  }

  .trust-item {
    padding: 10px 3px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .home-audience {
    padding-top: 15px;
  }

  .home-services {
    padding-top: 20px;
  }

  .home-audience > h2,
  .home-services > h2,
  .home-process > h2,
  .reviews > h2 {
    font-size: 18px;
  }

  .section-intro {
    margin-top: -14px !important;
    font-size: 11.5px;
  }

  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .audience-card {
    min-height: 174px;
    padding: 17px 10px;
  }

  .audience-card h3 {
    font-size: 10.5px;
  }

  .audience-card > p:last-child {
    font-size: 9.5px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .service-card {
    padding: 12px 8px;
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(35, 53, 72, .07);
  }

  .service-card:last-child {
    width: 100%;
    max-width: 240px;
    margin: auto;
    grid-column: 1 / -1;
  }

  .service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 9px !important;
    font-size: 27px;
  }

  .service-card h3 {
    font-size: 10px;
  }

  .service-card > p:last-child {
    font-size: 9px;
    line-height: 1.4;
  }

  .home-process-shell {
    padding: 30px 0;
  }

  .step-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step-card {
    min-height: 0;
    padding: 18px 16px;
  }

  .step-card > p:last-child {
    font-size: 10px;
  }

  .home-about {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 28px;
    text-align: center;
  }

  .home-about > .wp-block-group {
    order: -1;
  }

  .small-rule {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .care-mark {
    display: none;
  }

  .review-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .care-notice {
    align-items: flex-start;
    text-align: left;
  }

  .contact-banner {
    grid-template-columns: 1fr;
    padding: 24px;
    text-align: center;
  }

  .banner-icon {
    margin: auto !important;
  }

  .contact-banner .wp-block-buttons {
    justify-content: center;
  }

  .contact-banner .wp-block-button__link {
    width: 220px;
    font-size: 15px;
  }

  .page-heading {
    padding-top: 25px;
  }

  .page-heading h1,
  .about-page h1,
  .contact-page h1,
  .privacy-page h1,
  .article-page h1,
  .generic-page h1 {
    font-size: 27px;
  }

  .services-page::before {
    display: none;
  }

  .service-list-item {
    grid-template-columns: 52px 1fr;
    padding: 12px;
  }

  .service-list-item > .wp-block-buttons {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .about-page {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 38px 15px 20px;
  }

  .portrait img {
    max-height: 420px;
  }

  .about-quote {
    justify-content: center;
    text-align: center;
  }

  .about-quote > p {
    display: none;
  }

  .contact-page {
    padding: 38px 5px;
  }

  .contact-page::after {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .blog-page {
    padding: 40px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .post-image img {
    height: 210px;
  }

  .article-page {
    padding: 20px 0 35px;
    flex-direction: column;
    gap: 15px;
  }

  .article-sidebar {
    margin-top: 0;
  }

  .privacy-page,
  .generic-page {
    padding: 42px 5px;
  }

  .footer-inner {
    width: calc(100% - 30px);
    grid-template-columns: 1fr !important;
    gap: 18px;
    text-align: center;
  }

  .footer-brand img {
    width: 190px;
    margin: auto;
  }

  .footer-bottom {
    width: calc(100% - 30px);
    padding: 12px 0;
    flex-direction: column;
    gap: 7px;
    text-align: center;
  }
}
