/*
Theme Name: Room Expert
Theme URI: https://example.com/room-expert
Author: Room Expert Team
Author URI: https://example.com
Description: Minimal classic WordPress theme bootstrap for Room Expert.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: room-expert
*/

:root {
  --container-max-width: 1120px;
  --color-bg: #f8f6f1;
  --color-surface: #ffffff;
  --color-text: #1f2933;
  --color-muted: #52606d;
  --color-accent: #c2673b;
  --color-border: #d9d5cb;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.6;
  color: var(--color-text);
  background: linear-gradient(180deg, #f5f2ea 0%, #fdfcf9 22%, #f4f1e8 100%);
}

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
  text-decoration: none;
}

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

.site-header,
.site-footer,
.site-main {
  width: min(100% - 2rem, var(--container-max-width));
  margin-inline: auto;
}

.site-header {
  width: 100%;
  max-width: none;
  padding: 1.35rem 1.75rem;
  background: #f3f3f3;
  border-bottom: 1px solid var(--color-border);
}

.site-header-inner {
  width: min(100%, 1800px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-branding {
  flex-shrink: 0;
}

.site-branding-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.site-logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
}

.site-logo-mark svg {
  width: 100%;
  height: 100%;
}

.site-logo-mark circle {
  fill: #4365eb;
}

.site-branding-text {
  font-size: clamp(1.9rem, 2.2vw, 2.8rem);
  letter-spacing: -0.01em;
  line-height: 1;
}

.site-header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav {
  padding-right: 1.25rem;
  border-right: 1px solid #dadada;
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.4rem;
}

.primary-menu a {
  color: #1f2023;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.8rem 1.45rem;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
}

.header-btn-outline {
  color: #222328;
  border-color: #d4d4d4;
  background: #f3f3f3;
}

.header-btn-solid {
  color: #ffffff;
  background: #222328;
}

.site-main {
  padding: var(--space-4) 0;
}

.content-card {
  background: color-mix(in srgb, var(--color-surface) 92%, #f1eadb 8%);
  border: 1px solid var(--color-border);
  padding: var(--space-3);
}

.hero {
  padding: clamp(2rem, 5vw, 4rem);
  margin-bottom: var(--space-4);
  border: 1px solid var(--color-border);
  background: radial-gradient(circle at 15% 20%, #fff5df 0%, #fffaf0 38%, #f8efe1 100%);
}

.entry-title {
  margin-top: 0;
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.entry-meta {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-2);
}

.site-footer {
  width: 100%;
  max-width: none;
  margin-top: 3rem;
  padding: 0 1.5rem 1.5rem;
  background: #f3f3f3;
  color: #5f6369;
}

.footer-inner {
  width: min(100%, 1800px);
  margin-inline: auto;
  padding: 0 1.5rem 1.5rem;
}

.footer-divider {
  height: 1px;
  width: 100%;
  background: #dcdcdc;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: clamp(2rem, 6vw, 7rem);
  padding-top: clamp(2rem, 4vw, 3.75rem);
}

.footer-brand {
  max-width: 620px;
}

.footer-branding-link {
  margin-bottom: 1.1rem;
}

.footer-description {
  margin: 0 0 2rem;
  max-width: 560px;
  color: #4f5359;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.45rem, 1.75vw, 2.55rem);
  line-height: 1.36;
}

.footer-copyright {
  margin: 0;
  color: #656a72;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.95rem);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: clamp(1.5rem, 3vw, 3.25rem);
}

.footer-column h2 {
  margin: 0 0 1rem;
  color: #6d7178;
  letter-spacing: 0.03em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.footer-menu a {
  color: #1f2023;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.02rem, 1.26vw, 2rem);
  font-weight: 600;
  line-height: 1.28;
}

.archive-header {
  margin-bottom: var(--space-3);
}

.experts-archive-intro {
  margin-bottom: var(--space-4);
  padding: clamp(1rem, 2vw, 1.5rem) 0;
}

.back-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #3b3f45;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.back-home-link span {
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-1px);
}

.experts-archive-title {
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.experts-archive-title span {
  color: #3453d5;
}

.experts-archive-description {
  margin: 0;
  max-width: 980px;
  color: #555a62;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 2.8rem);
  line-height: 1.35;
}

.experts-filters {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(200px, 1fr) minmax(280px, 2fr);
  gap: 0.9rem;
  align-items: center;
  padding: 1.25rem;
  margin: 0 0 1.9rem;
  border: 1px solid #d7d7d7;
  border-radius: 1.5rem;
  background: #f2f2f2;
}

.experts-filter {
  position: relative;
}

.filter-toggle {
  width: 100%;
  min-height: 3.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #cecece;
  border-radius: 0.95rem;
  background: #f4f4f4;
  color: #202327;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-toggle::after {
  content: "⌄";
  color: #70757d;
  font-size: 1.1rem;
}

.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.95rem;
  min-height: 1.95rem;
  padding: 0 0.5rem;
  border-radius: 0.6rem;
  background: #31343a;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.filter-count[hidden] {
  display: none;
}

.filter-panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  width: min(100vw - 2rem, 690px);
  max-height: 26rem;
  overflow: auto;
  border: 1px solid #d5d5d5;
  border-radius: 1rem;
  background: #f2f2f2;
  box-shadow: 0 14px 26px rgba(35, 38, 45, 0.12);
  z-index: 20;
}

.filter-reset-row,
.filter-option {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #dedede;
  color: #2e3136;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  text-align: left;
}

.filter-reset-row {
  border: 0;
  border-bottom: 1px solid #dedede;
  cursor: pointer;
}

.filter-option:last-child {
  border-bottom: 0;
}

.filter-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkmark {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d1d1;
  border-radius: 0.5rem;
  color: #ffffff;
  background: #f2f2f2;
  font-size: 1.45rem;
  line-height: 1;
}

.filter-option input[type="checkbox"]:checked + .checkmark,
.filter-reset-row .checkmark:not(:empty) {
  border-color: #1f2024;
  background: #1f2024;
}

.rating-visual {
  color: #a2a4a8;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.rating-visual::after {
  letter-spacing: normal;
}

.experts-filter-search {
  min-height: 3.65rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid #cfcfcf;
  border-radius: 0.95rem;
  background: #f4f4f4;
}

.search-icon {
  color: #7a7d82;
  font-size: 1.4rem;
  line-height: 1;
}

.experts-filter-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #373c43;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
}

.search-clear {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.6rem;
  background: #d7d7d7;
  color: #33373d;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.search-clear[hidden] {
  display: none;
}

.experts-count {
  margin: 0 0 1.35rem;
  color: #252a31;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 3.05rem);
  line-height: 1.15;
}

.experts-results {
  position: relative;
  transition: opacity 0.25s ease;
}

.experts-results.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.experts-loader {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 30;
}

.experts-loader[hidden] {
  display: none;
}

.experts-loader-spinner {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-block;
  border: 3px solid #d3d5d8;
  border-top-color: #2c3446;
  border-radius: 50%;
  animation: experts-spin 0.8s linear infinite;
}

@keyframes experts-spin {
  to {
    transform: rotate(360deg);
  }
}

.experts-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.experts-empty {
  grid-column: 1 / -1;
  margin-top: 0.4rem;
  padding: clamp(2rem, 6vw, 5rem) 1rem clamp(2.5rem, 7vw, 6rem);
  border-top: 1px solid #dddddd;
  text-align: center;
}

.experts-empty-icon {
  width: 3.1rem;
  height: 3.1rem;
  margin: 0 auto 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d8d8;
  border-radius: 0.85rem;
  color: #4f535b;
  font-size: 1.7rem;
}

.experts-empty-title {
  margin: 0 0 0.9rem;
  color: #20242a;
  font-size: clamp(2.05rem, 3.4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.2;
}

.experts-empty-description {
  max-width: 430px;
  margin: 0 auto 1.55rem;
  color: #50545c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.02rem, 1.35vw, 1.35rem);
  line-height: 1.45;
}

.experts-empty-clear {
  min-height: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 1.35rem;
  border: 1px solid #d4d4d4;
  border-radius: 0.8rem;
  background: #f2f2f2;
  color: #262a30;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}

.experts-empty-clear span {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.45rem;
  background: #d9d9d9;
  font-size: 1.3rem;
  line-height: 1;
}

.experts-load-more-wrap {
  margin-top: var(--space-2);
  display: flex;
  justify-content: center;
}

.experts-load-more-wrap[hidden] {
  display: none;
}

.experts-load-more {
  min-width: min(100%, 16rem);
  min-height: 4.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid #d3d3d3;
  border-radius: 0.95rem;
  background: #f4f4f4;
  color: #1f2227;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.experts-load-more.is-loading {
  cursor: wait;
  opacity: 0.85;
}

.experts-load-more:disabled {
  cursor: wait;
}

.experts-load-more-chevron {
  color: #6e737c;
  font-size: 1.4rem;
  line-height: 1;
}

.experts-load-more-spinner {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-block;
  border: 4px solid #d0d0d0;
  border-top-color: #757b86;
  border-radius: 50%;
  animation: experts-spin 0.8s linear infinite;
}

.experts-load-more-spinner[hidden] {
  display: none;
}

.expert-single-wrap {
  margin-bottom: var(--space-4);
}

.expert-single {
  padding: clamp(1rem, 2.5vw, 2rem);
}

.expert-single-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: #4a4f58;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.96rem;
}

.expert-single-head {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: 1.35rem;
  margin-bottom: 1.5rem;
}

.expert-single-thumb img {
  width: 100%;
  border-radius: 0.9rem;
  object-fit: cover;
}

.expert-single-summary .entry-title {
  margin-bottom: 0.7rem;
}

.expert-single-rating {
  margin: 0 0 0.85rem;
  color: #8d9198;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.expert-single-rating span {
  margin-left: 0.5rem;
  color: #2a2f36;
  font-weight: 600;
  letter-spacing: normal;
}

.expert-single-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.expert-single-terms li {
  padding: 0.35rem 0.65rem;
  border: 1px solid #d1d3d8;
  border-radius: 0.55rem;
  color: #3b4048;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
}

.expert-single-content {
  font-family: Arial, Helvetica, sans-serif;
  color: #2f3339;
}

.expert-single {
  padding: 0;
  border: 0;
  background: transparent;
}

.expert-single-back {
  margin-bottom: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #2f3339;
  text-decoration: none;
  font-size: clamp(1.15rem, 1.5vw, 1.9rem);
}

.expert-single-back span {
  font-size: 1.75rem;
  line-height: 1;
}

.expert-hero {
  display: grid;
  grid-template-columns: minmax(250px, 34%) 1fr;
  gap: clamp(1.2rem, 2.8vw, 2.6rem);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.expert-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 1.05rem;
}

.expert-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.expert-hero-role {
  margin: 0 0 0.5rem;
  color: #767b83;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1rem, 1.15vw, 1.25rem);
  font-weight: 600;
}

.expert-hero-name {
  margin: 0 0 0.9rem;
  color: #191d23;
  font-size: clamp(2.5rem, 5.5vw, 5.1rem);
  line-height: 1.08;
}

.expert-hero-summary {
  margin: 0 0 1rem;
  max-width: 950px;
  color: #32363d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 1.9vw, 2.45rem);
  line-height: 1.35;
}

.expert-hero-affiliation {
  margin: 0 0 1rem;
  color: #575c64;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.15rem, 1.45vw, 1.9rem);
}

.expert-hero-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
  color: #3a3f47;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.15rem, 1.4vw, 1.8rem);
}

.expert-linkedin-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  background: #6f737a;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.expert-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.expert-btn {
  min-height: 3.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.6rem;
  border-radius: 0.8rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.2rem, 1.4vw, 1.65rem);
  font-weight: 600;
}

.expert-btn-primary {
  background: #23262d;
  border-color: #23262d;
  color: #ffffff;
}

.expert-btn-secondary {
  background: #f5f5f5;
  border-color: #d2d2d2;
  color: #22262d;
}

.expert-share-btn {
  cursor: pointer;
}

.expert-share-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.expert-single-content {
  margin-top: 1rem;
  padding: clamp(1rem, 2vw, 1.6rem);
}

.expert-booking-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(1rem, 2.4vw, 2.2rem);
  align-items: start;
}

.expert-booking-main {
  padding: clamp(1rem, 2vw, 1.6rem);
}

.expert-section + .expert-section {
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid #dddddd;
}

.expert-section-title {
  margin: 0 0 0.95rem;
  color: #22262c;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

.expert-expertise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.expert-expertise-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #30343b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.3rem);
}

.expert-expertise-wysiwyg {
  color: #30343b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.3rem);
  line-height: 1.55;
}

.expert-expertise-wysiwyg > *:first-child {
  margin-top: 0;
}

.expert-expertise-wysiwyg > *:last-child {
  margin-bottom: 0;
}

.expert-expertise-check {
  width: 1.6rem;
  height: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8d8d8;
  border-radius: 0.4rem;
  color: #2d9c4b;
  font-size: 1rem;
  line-height: 1;
}

.expert-about .entry-content {
  font-family: Arial, Helvetica, sans-serif;
  color: #343840;
  font-size: clamp(1.05rem, 1.2vw, 1.3rem);
  line-height: 1.55;
}

.expert-reviews-list {
  display: grid;
  gap: 1.2rem;
}

.expert-review-item {
  font-family: Arial, Helvetica, sans-serif;
}

.expert-review-rating {
  margin: 0 0 0.45rem;
  color: #d0a32b;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.expert-review-rating span {
  margin-left: 0.4rem;
  color: #4a4f57;
  font-size: 1rem;
  letter-spacing: normal;
}

.expert-review-text {
  margin: 0 0 0.4rem;
  color: #2f343c;
  font-size: clamp(1rem, 1.12vw, 1.2rem);
  line-height: 1.45;
}

.expert-review-meta {
  margin: 0;
  color: #666b74;
  font-size: 0.98rem;
}

.expert-review-meta span {
  margin-inline: 0.35rem;
}

.expert-reviews-show-all {
  margin-top: 0.7rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #22262c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.expert-booking-side {
  position: sticky;
  top: 1.2rem;
}

.expert-booking-form {
  padding: 1rem;
}

.expert-booking-form h3 {
  margin: 0 0 0.9rem;
  color: #1f2329;
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
}

.expert-booking-form label {
  display: block;
  margin: 0 0 0.35rem;
  color: #2f333b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
}

.expert-booking-form input,
.expert-booking-form textarea {
  width: 100%;
  margin-bottom: 0.8rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #d2d2d2;
  border-radius: 0.7rem;
  background: #f4f4f4;
  color: #30353d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.expert-book-submit {
  width: 100%;
  min-height: 3rem;
  border: 0;
  border-radius: 0.65rem;
  background: #7c8087;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  cursor: pointer;
}

.expert-book-submit span {
  margin-left: 0.5rem;
}

.expert-book-note {
  margin: 0.75rem 0 0;
  color: #555b64;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  line-height: 1.35;
}

body.expert-modal-open {
  overflow: hidden;
}

.expert-book-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.expert-book-modal[hidden] {
  display: none !important;
}

.expert-book-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.expert-book-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(19, 22, 28, 0.34);
  backdrop-filter: blur(4px);
}

.expert-book-modal-dialog {
  position: relative;
  width: min(100%, 980px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid #d3d3d3;
  border-radius: 1.6rem;
  background: #f4f4f4;
  padding: clamp(1rem, 2.4vw, 2rem);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.22s ease;
}

.expert-book-modal.is-open .expert-book-modal-dialog {
  transform: translateY(0) scale(1);
}

.expert-book-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #3b3f46;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.expert-book-modal-dialog h2 {
  margin: 0 0 1rem;
  color: #1f2329;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.expert-book-modal-content {
  color: #2b3037;
  font-family: Arial, Helvetica, sans-serif;
}

.expert-card .entry-title {
  font-size: 1.25rem;
}

.expert-thumb {
  margin-bottom: var(--space-2);
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    border-bottom: 1px solid var(--color-border);
  }

  .site-header-nav-wrap {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    border-right: 0;
    padding-right: 0;
  }

  .primary-menu {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .site-header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-btn {
    min-height: 46px;
  }

  .experts-filters {
    grid-template-columns: 1fr 1fr;
  }

  .experts-filter-search {
    grid-column: 1 / -1;
  }

  .filter-panel {
    width: min(100vw - 3rem, 640px);
  }

  .site-footer {
    padding-inline: 1rem;
  }

  .footer-inner {
    padding-inline: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .expert-single-head {
    grid-template-columns: 1fr;
  }

  .expert-hero {
    grid-template-columns: 1fr;
  }

  .expert-hero-media img {
    min-height: 260px;
  }

  .expert-hero-actions {
    width: 100%;
  }

  .expert-btn {
    flex: 1 1 auto;
  }

  .expert-booking-grid {
    grid-template-columns: 1fr;
  }

  .expert-booking-side {
    position: static;
  }
}

@media (max-width: 768px) {
  .experts-filters {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .experts-filter-search {
    grid-column: auto;
  }

  .filter-panel {
    width: calc(100vw - 2.6rem);
    left: 0;
  }
}
/* Simple Gutenberg blocks (block_1 - block_7) */
.simple-block {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 20px;
}

.simple-block__badge,
.simple-block__eyebrow {
  display: inline-block;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
  color: #4b4b4b;
  margin-bottom: 16px;
}

.simple-block__title {
  font-size: clamp(32px, 4vw, 64px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.simple-block__text {
  font-size: 22px;
  line-height: 1.5;
  color: #4f4f4f;
  max-width: 860px;
}

.simple-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.simple-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  text-decoration: none;
  color: #1f1f1f;
}

.simple-btn--dark {
  background: #23252b;
  color: #fff;
  border-color: #23252b;
}

.simple-cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.simple-cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simple-cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.simple-card {
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
}

.simple-card__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 12px;
}

.simple-card__icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 10px;
}

.simple-card__title {
  font-size: 30px;
  margin: 0 0 8px;
}

.simple-card__text {
  color: #555;
}

.simple-link {
  color: #2f55e2;
  text-decoration: underline;
}

.simple-steps {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.simple-step {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.simple-step__meta {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.simple-step__title {
  margin: 0 0 8px;
}

.simple-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.simple-gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.simple-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  margin-top: 20px;
}

.simple-logos__item img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.simple-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.simple-metric {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px;
}

.simple-metric__value {
  font-size: 34px;
  line-height: 1.1;
}

.simple-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.simple-column {
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.simple-column__title {
  margin: 0 0 10px;
  font-size: 28px;
}

.simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.simple-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #eee;
}

.simple-list li:first-child {
  border-top: 0;
}

.simple-list__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .simple-cards--3,
  .simple-cards--4,
  .simple-columns,
  .simple-metrics {
    grid-template-columns: 1fr;
  }

  .simple-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simple-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .simple-block__text {
    font-size: 18px;
  }
}
