:root {
  --shamlaw-navy: #10263f;
  --shamlaw-navy-soft: #1a3657;
  --shamlaw-gold: #b7924d;
  --shamlaw-sand: #f4efe5;
  --shamlaw-paper: #fffdf8;
  --shamlaw-ink: #1f2a37;
  --shamlaw-muted: #5d6977;
  --shamlaw-border: rgba(16, 38, 63, 0.12);
  --shamlaw-shadow: 0 18px 45px rgba(16, 38, 63, 0.1);
}

html,
body {
  overflow-x: hidden;
}

body.page .entry-header {
  display: none;
}

body.home .entry-content > .wp-block-cover:first-child {
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 55px rgba(8, 17, 30, 0.16);
}

body.home .entry-content > .wp-block-cover:first-child::after {
  content: "";
  position: absolute;
  inset: auto 7% -26px;
  height: 52px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(16, 38, 63, 0.22), rgba(16, 38, 63, 0));
  filter: blur(14px);
  pointer-events: none;
}

body.home .entry-content > .wp-block-cover:first-child .wp-block-cover__image-background {
  animation: shamHeroImage 11s ease-out both;
  transform-origin: center center;
}

.shamlaw-hero-title {
  margin: 0 0 14px;
  color: #fff;
  text-align: center;
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  line-height: 1.2;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
  animation: shamHeroRise 0.9s ease both;
}

body.home .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container > p {
  animation: shamHeroRise 0.9s ease both;
}

body.home .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container > p:nth-of-type(2) {
  animation-delay: 0.12s;
}

.shamlaw-hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  animation: shamHeroRise 0.9s ease both;
  animation-delay: 0.22s;
}

.shamlaw-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 184px;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c9a35a, #b7924d);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 34px rgba(10, 22, 37, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.shamlaw-hero-cta:hover,
.shamlaw-hero-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(10, 22, 37, 0.28);
  color: #fff;
}

@keyframes shamHeroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shamHeroImage {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1);
  }
}

.sham-page-wrap {
  direction: rtl;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 56px;
  color: var(--shamlaw-ink);
}

.sham-page-kicker,
.shamlaw-eyebrow {
  margin: 0 0 10px;
  color: var(--shamlaw-gold);
  font-size: 0.95rem;
  font-weight: 700;
}

.sham-page-title {
  margin: 0 0 18px;
  color: var(--shamlaw-navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
}

.sham-page-intro {
  margin: 0 0 26px;
  max-width: 860px;
  color: var(--shamlaw-muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.sham-page-grid {
  display: grid;
  gap: 22px;
  margin: 24px 0;
}

.sham-page-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sham-page-box {
  padding: 28px;
  border: 1px solid var(--shamlaw-border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 239, 229, 0.88));
  box-shadow: var(--shamlaw-shadow);
}

.sham-page-box h2 {
  margin: 0 0 14px;
  color: var(--shamlaw-navy);
  font-size: 1.45rem;
}

.sham-page-box p,
.sham-page-box li {
  color: var(--shamlaw-ink);
  line-height: 1.9;
  font-size: 1rem;
}

.sham-page-list {
  margin: 18px 0 0;
  padding-right: 18px;
}

.sham-page-list li + li {
  margin-top: 10px;
}

.sham-page-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.sham-page-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(183, 146, 77, 0.12);
  color: var(--shamlaw-navy-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

.sham-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}

.sham-trust-card {
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(16, 38, 63, 0.98), rgba(26, 54, 87, 0.92));
  color: #fff;
  box-shadow: var(--shamlaw-shadow);
}

.sham-trust-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.sham-trust-card span {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  font-size: 0.95rem;
}

.sham-page-box--cta {
  background: radial-gradient(circle at top right, rgba(183, 146, 77, 0.18), transparent 38%), linear-gradient(180deg, rgba(16, 38, 63, 0.98), rgba(26, 54, 87, 0.96));
  color: #fff;
}

.sham-page-box--cta h2,
.sham-page-box--cta p {
  color: #fff;
}

.sham-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.sham-page-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--shamlaw-gold);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.sham-page-cta--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.sham-faq-section {
  margin: 56px auto 0;
  padding: 0 20px 18px;
}

.sham-faq-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 34px 28px;
  border: 1px solid var(--shamlaw-border);
  border-radius: 28px;
  background: radial-gradient(circle at top left, rgba(183, 146, 77, 0.14), transparent 28%), linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(244, 239, 229, 0.94));
  box-shadow: var(--shamlaw-shadow);
}

.sham-faq-header h2 {
  margin: 0 0 10px;
  color: var(--shamlaw-navy);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.sham-faq-header p {
  margin: 0;
  max-width: 760px;
  color: var(--shamlaw-muted);
  line-height: 1.8;
}

.sham-faq-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.sham-faq-item {
  border: 1px solid rgba(16, 38, 63, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.sham-faq-item summary {
  position: relative;
  padding: 20px 58px 20px 18px;
  cursor: pointer;
  list-style: none;
  color: var(--shamlaw-navy);
  font-weight: 700;
}

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

.sham-faq-item summary::before,
.sham-faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  width: 16px;
  height: 2px;
  background: var(--shamlaw-gold);
  transform: translateY(-50%);
}

.sham-faq-item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.sham-faq-item[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.sham-faq-item p {
  margin: 0;
  padding: 0 18px 20px;
  color: var(--shamlaw-muted);
  line-height: 1.85;
}

.floating-call-menu {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  font-family: sans-serif;
  text-align: right;
}

.floating-call-menu .main-button {
  background-color: #d19f3e;
  color: white;
  padding: 14px 24px;
  border-radius: 40px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.floating-call-menu .submenu {
  display: none;
  margin-top: 10px;
  flex-direction: column;
  gap: 8px;
}

.floating-call-menu .submenu a {
  display: block;
  background-color: #333;
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.floating-call-menu .submenu a:hover {
  background-color: #000;
}

.shamlaw-footer-facebook {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.shamlaw-footer-facebook__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.shamlaw-footer-facebook__icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.shamlaw-footer-facebook:hover,
.shamlaw-footer-facebook:focus {
  color: #fff;
}

.shamlaw-footer-facebook:hover .shamlaw-footer-facebook__icon,
.shamlaw-footer-facebook:focus .shamlaw-footer-facebook__icon {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.site-footer .site-footer-primary-section-1 {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(220px, 300px);
  grid-template-areas:
    "map info"
    "map social"
    "menu menu";
  width: min(100%, 760px);
  margin: 0 auto;
  justify-content: center;
  align-items: start;
  gap: 10px 28px;
}

.site-footer .site-footer-primary-section-1 [data-section="sidebar-widgets-footer-widget-1"] {
  grid-area: info;
  justify-self: end;
  text-align: right;
  margin: 0;
}

.site-footer .site-footer-primary-section-1 [data-section="sidebar-widgets-footer-widget-3"] {
  grid-area: map;
  justify-self: start;
  align-self: center;
  margin-top: 8px;
}

.site-footer .site-footer-primary-section-1 [data-section="section-fb-html-1"] {
  grid-area: social;
  justify-self: end;
  margin: 0;
}

.site-footer .site-footer-primary-section-1 [data-section="section-footer-menu"] {
  grid-area: menu;
  margin-top: 18px;
}

.site-footer .site-footer-primary-section-1 [data-section="sidebar-widgets-footer-widget-3"] .widget {
  margin: 0;
}

.site-footer .site-footer-primary-section-1 [data-section="sidebar-widgets-footer-widget-3"] .uagb-google-map__wrap {
  width: min(100%, 240px);
}

.site-footer .site-footer-primary-section-1 [data-section="sidebar-widgets-footer-widget-3"] .uagb-google-map__iframe {
  width: 240px;
  max-width: 100%;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.16);
}

.site-footer .site-footer-primary-section-1 [data-section="section-fb-html-1"] .ast-builder-html-element {
  display: flex;
  justify-content: flex-end;
}

.site-footer .site-footer-primary-section-1 [data-section="section-footer-menu"] .footer-bar-navigation {
  display: flex;
  justify-content: center;
}

.site-footer .site-footer-primary-section-1 [data-section="section-footer-menu"] .footer-nav-wrap {
  width: auto;
}

.site-footer .site-footer-primary-section-1 [data-section="section-footer-menu"] #astra-footer-menu {
  justify-content: center;
  gap: 28px;
}

.floating-call-menu:hover .submenu {
  display: flex;
}

.floating-call-menu:hover .main-button {
  display: none;
}

.sham-form-container {
  max-width: 700px;
  margin: 24px auto;
  padding: 18px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  color: #333;
  direction: rtl;
  text-align: right;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.sham-form-container h2 {
  margin: 0 0 6px;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--shamlaw-navy);
}

.sham-form-container p.subtitle {
  margin: 0 0 16px;
  font-size: 0.98rem;
  color: #666;
  line-height: 1.5;
}

.sham-form-container label {
  display: block;
  margin: 10px 0 6px;
  font-weight: 700;
  font-size: 0.98rem;
  color: #2f2f2f;
}

.sham-form-container input[type="text"],
.sham-form-container input[type="email"],
.sham-form-container input[type="tel"],
.sham-form-container textarea,
.sham-form-container select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  font-size: 1rem;
  color: #222;
  background: #fff;
  box-sizing: border-box;
}

.shamlaw-internal-page {
  padding: 48px 20px 68px;
  background: radial-gradient(circle at top right, rgba(183, 146, 77, 0.13), transparent 32%), linear-gradient(180deg, rgba(244, 239, 229, 0.55), rgba(255, 255, 255, 0));
}

.shamlaw-internal-shell {
  max-width: 760px;
  margin: 0 auto;
}

.shamlaw-internal-card {
  padding: 32px;
  border: 1px solid var(--shamlaw-border);
  border-radius: 24px;
  background: var(--shamlaw-paper);
  box-shadow: var(--shamlaw-shadow);
}

.shamlaw-internal-card h1 {
  margin: 0 0 10px;
  color: var(--shamlaw-navy);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.shamlaw-internal-intro {
  margin: 0 0 22px;
  color: var(--shamlaw-muted);
  line-height: 1.8;
}

.shamlaw-notice {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 600;
}

.shamlaw-notice a {
  color: inherit;
  text-decoration: underline;
}

.shamlaw-notice--success {
  background: rgba(26, 124, 71, 0.1);
  color: #155f38;
}

.shamlaw-notice--error {
  background: rgba(160, 42, 42, 0.1);
  color: #8d2323;
}

.shamlaw-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(16, 38, 63, 0.05);
}

.shamlaw-internal-form {
  display: grid;
  gap: 12px;
}

.shamlaw-internal-form label {
  color: var(--shamlaw-navy);
  font-weight: 700;
}

.shamlaw-internal-form input[type="text"],
.shamlaw-internal-form input[type="password"],
.shamlaw-internal-form input[type="file"],
.shamlaw-internal-form textarea,
.shamlaw-internal-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(16, 38, 63, 0.18);
  border-radius: 14px;
  background: #fff;
  color: var(--shamlaw-ink);
  box-sizing: border-box;
}

.shamlaw-primary-button,
.shamlaw-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.shamlaw-primary-button {
  background: var(--shamlaw-navy);
  color: #fff;
}

.shamlaw-secondary-button {
  background: rgba(16, 38, 63, 0.08);
  color: var(--shamlaw-navy);
}

@media (max-width: 920px) {
  .sham-page-grid--two,
  .sham-trust-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .site-footer-primary-section-1 {
    grid-template-columns: 1fr;
    grid-template-areas:
      "info"
      "social"
      "map"
      "menu";
    width: 100%;
    justify-items: center;
    gap: 14px;
  }

  .site-footer .site-footer-primary-section-1 [data-section="sidebar-widgets-footer-widget-1"],
  .site-footer .site-footer-primary-section-1 [data-section="section-fb-html-1"] {
    justify-self: center;
    text-align: center;
  }

  .site-footer .site-footer-primary-section-1 [data-section="sidebar-widgets-footer-widget-3"] {
    justify-self: center;
  }

  .site-footer .site-footer-primary-section-1 [data-section="section-footer-menu"] #astra-footer-menu {
    gap: 18px;
  }

  .sham-page-box,
  .shamlaw-internal-card,
  .sham-faq-shell {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .sham-page-wrap,
  .sham-faq-section,
  .shamlaw-internal-page {
    padding-right: 16px;
    padding-left: 16px;
  }

  .sham-page-actions,
  .shamlaw-session-bar {
    flex-direction: column;
    align-items: stretch;
  }
}
