/*
 * Sheikh Hasan — global design foundation
 * RTL-first, dependency-free and intentionally conservative for WordPress content.
 */

:root {
  color-scheme: light;
  --sh-navy-950: #041117;
  --sh-navy-900: #071923;
  --sh-navy-800: #0b222d;
  --sh-navy-700: #102a36;
  --sh-navy-600: #173d4c;
  --sh-gold-500: #d9b45f;
  --sh-gold-400: #e6c97e;
  --sh-gold-300: #f0d99d;
  --sh-ivory-100: #f7f4ee;
  --sh-ivory-50: #fbfaf7;
  --sh-white: #ffffff;
  --sh-ink: #10202a;
  --sh-muted: #667179;
  --sh-line: rgba(7, 25, 35, 0.12);
  --sh-dark-line: rgba(255, 255, 255, 0.13);
  --sh-success: #2e7459;
  --sh-danger: #9f3434;
  --sh-shadow-sm: 0 8px 22px rgba(4, 17, 23, 0.08);
  --sh-shadow-md: 0 18px 46px rgba(4, 17, 23, 0.14);
  --sh-shadow-dark: 0 20px 56px rgba(0, 0, 0, 0.28);
  --sh-radius-sm: 10px;
  --sh-radius-md: 16px;
  --sh-radius-lg: 24px;
  --sh-container: 1180px;
  --sh-gutter: clamp(16px, 3vw, 32px);
  --sh-header-height: 80px;
  --sh-transition: 180ms ease;
  --sh-font: Tahoma, Arial, "Segoe UI", sans-serif;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.no-js {
  scroll-behavior: auto;
}

body.sh-body,
.sh-body {
  min-width: 320px;
  margin: 0;
  background: var(--sh-ivory-50);
  color: var(--sh-ink);
  font-family: var(--sh-font);
  font-size: 16px;
  line-height: 1.75;
  text-align: start;
  direction: inherit;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sh-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: clip;
}

.sh-main {
  flex: 1 0 auto;
}

.sh-container {
  width: min(calc(100% - (var(--sh-gutter) * 2)), var(--sh-container));
  margin-inline: auto;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

button,
input,
select,
textarea {
  margin: 0;
  color: inherit;
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--sh-gold-500);
  outline-offset: 3px;
}

::selection {
  background: var(--sh-gold-400);
  color: var(--sh-navy-950);
}

[hidden] {
  display: none !important;
}

.screen-reader-text,
.sh-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.screen-reader-text:focus,
.sh-sr-only:focus {
  z-index: 10000;
  top: 10px;
  right: 10px;
  width: auto !important;
  height: auto !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  clip: auto !important;
  overflow: visible !important;
  border-radius: 8px;
  background: var(--sh-white);
  color: var(--sh-navy-900);
  box-shadow: var(--sh-shadow-md);
}

/* Header */
.sh-header {
  position: relative;
  z-index: 60;
  width: 100%;
  background: var(--sh-navy-900);
  color: var(--sh-white);
  border-bottom: 1px solid rgba(217, 180, 95, 0.22);
}

.sh-header__inner {
  display: grid;
  min-height: var(--sh-header-height);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
}

.sh-brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  flex: none;
  color: var(--sh-white);
  text-decoration: none;
}

.sh-brand img,
.sh-brand__image {
  width: auto;
  height: clamp(42px, 4.4vw, 54px);
  object-fit: contain;
}

.sh-nav {
  min-width: 0;
}

.sh-nav__list,
.sh-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.1vw, 30px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.sh-nav a {
  position: relative;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--sh-transition);
}

.sh-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--sh-gold-500);
  content: "";
  transition: width var(--sh-transition);
}

.sh-nav a:hover,
.sh-nav a:focus-visible,
.sh-nav .current-menu-item > a,
.sh-nav .current_page_item > a,
.sh-nav a[aria-current="page"] {
  color: var(--sh-gold-400);
}

.sh-nav a:hover::after,
.sh-nav a:focus-visible::after,
.sh-nav .current-menu-item > a::after,
.sh-nav .current_page_item > a::after,
.sh-nav a[aria-current="page"]::after {
  width: 100%;
}

.sh-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.sh-language-link,
.sh-icon-button,
.sh-menu-toggle {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: var(--sh-white);
  transition: background-color var(--sh-transition), border-color var(--sh-transition), color var(--sh-transition), transform var(--sh-transition);
}

.sh-language-link:hover,
.sh-language-link:focus-visible,
.sh-icon-button:hover,
.sh-menu-toggle:hover,
.sh-icon-button[aria-expanded="true"],
.sh-menu-toggle[aria-expanded="true"] {
  border-color: var(--sh-gold-500);
  background: var(--sh-gold-500);
  color: var(--sh-navy-950);
}

.sh-icon-button svg,
.sh-menu-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.sh-menu-toggle {
  position: relative;
  display: none;
}

.sh-menu-toggle span {
  position: absolute;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform var(--sh-transition), opacity var(--sh-transition), top var(--sh-transition);
}

.sh-menu-toggle span:nth-child(1) {
  top: 14px;
}

.sh-menu-toggle span:nth-child(2) {
  top: 21px;
}

.sh-menu-toggle span:nth-child(3) {
  top: 28px;
}

.sh-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}

.sh-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.sh-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

.sh-search-panel {
  position: absolute;
  z-index: 70;
  top: 100%;
  right: 0;
  left: 0;
  padding-block: 14px;
  background: rgba(7, 25, 35, 0.98);
  border-top: 1px solid var(--sh-dark-line);
  box-shadow: var(--sh-shadow-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--sh-transition), visibility var(--sh-transition), transform var(--sh-transition);
}

.sh-search-panel.is-open,
.sh-search-panel[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sh-search-form {
  display: flex;
  width: min(calc(100% - (var(--sh-gutter) * 2)), 720px);
  min-height: 48px;
  margin-inline: auto;
  gap: 8px;
}

.sh-search-form label {
  flex: 1 1 auto;
}

.sh-search-form input[type="search"],
.sh-search-form input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--sh-white);
  outline-offset: 2px;
}

.sh-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.64);
}

.sh-search-form button {
  min-width: 92px;
  min-height: 48px;
  padding-inline: 20px;
  border: 0;
  border-radius: 999px;
  background: var(--sh-gold-500);
  color: var(--sh-navy-950);
  font-weight: 800;
}

/* Newsletter */
.sh-newsletter {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 4vw, 46px);
  border-radius: var(--sh-radius-lg);
  background: linear-gradient(135deg, var(--sh-navy-700), var(--sh-navy-950));
  color: var(--sh-white);
  box-shadow: var(--sh-shadow-md);
}

.sh-newsletter::before {
  position: absolute;
  z-index: -1;
  top: -90px;
  left: -60px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(217, 180, 95, 0.28);
  border-radius: 50%;
  content: "";
}

.sh-newsletter h2,
.sh-newsletter h3,
.sh-newsletter p {
  margin-top: 0;
}

.sh-newsletter p {
  color: rgba(255, 255, 255, 0.7);
}

.sh-newsletter__form,
.sh-newsletter form {
  display: flex;
  flex-wrap: wrap;
  max-width: 680px;
  gap: 10px;
}

.sh-newsletter input[type="email"] {
  min-width: 0;
  min-height: 48px;
  flex: 1 1 280px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: var(--sh-white);
  color: var(--sh-ink);
}

.sh-newsletter button[type="submit"] {
  min-height: 48px;
  padding-inline: 26px;
  border: 0;
  border-radius: 999px;
  background: var(--sh-gold-500);
  color: var(--sh-navy-950);
  font-weight: 800;
  white-space: nowrap;
  transition: background-color var(--sh-transition), transform var(--sh-transition);
}

.sh-newsletter button[type="submit"]:hover {
  background: var(--sh-gold-400);
  transform: translateY(-1px);
}

.sh-newsletter__status {
  flex: 0 0 100%;
  min-height: 1.75em;
  margin: 10px 4px 0;
  color: var(--sh-gold-300);
  font-size: 0.9rem;
}

.sh-newsletter__status.is-error {
  color: #ffd1d1;
}

/* Footer */
.sh-footer {
  margin-top: clamp(44px, 6vw, 80px);
  background: radial-gradient(ellipse at 100% 0, rgba(217, 180, 95, 0.07), transparent 55%), var(--sh-navy-900);
  color: rgba(255, 255, 255, 0.76);
  border-top: 2px solid var(--sh-gold-500);
  text-align: start;
}

.sh-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(32px, 5vw, 60px) 36px;
}

.sh-footer__grid > div {
  min-width: 0;
}

.sh-footer .sh-brand img {
  width: auto;
  height: 64px;
  max-width: 100%;
  object-fit: contain;
}

.sh-footer__grid h2 {
  margin: 10px 0 18px;
  color: var(--sh-gold-400);
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 700;
}

.sh-footer__grid p {
  max-width: 38ch;
  margin: 16px 0 20px;
  font-size: 0.93rem;
  line-height: 1.9;
}

.sh-footer__contact p {
  margin-top: 0;
}

.sh-footer__nav {
  display: block;
}

.sh-footer__nav ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sh-footer__nav a {
  display: inline-flex;
  min-width: 44px;
  min-height: 36px;
  align-items: center;
  color: inherit;
  font-size: 0.9rem;
  text-decoration: none;
}

.sh-footer__nav a:hover,
.sh-footer__nav a:focus-visible {
  color: var(--sh-gold-400);
}

.sh-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.sh-footer__social a {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--sh-white);
  text-decoration: none;
  transition: background-color var(--sh-transition), color var(--sh-transition), border-color var(--sh-transition);
}

.sh-footer__social a:hover,
.sh-footer__social a:focus-visible {
  border-color: var(--sh-gold-500);
  background: var(--sh-gold-500);
  color: var(--sh-navy-950);
}

.sh-footer__social svg {
  width: 21px;
  height: 21px;
  pointer-events: none;
}

.sh-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--sh-dark-line);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

.sh-footer__bottom p {
  margin: 0;
}

.sh-footer__email,
.sh-footer__cta,
.sh-footer__bottom a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: color var(--sh-transition), background-color var(--sh-transition), border-color var(--sh-transition);
}

.sh-footer__email {
  max-width: 100%;
  font-size: 0.9rem;
}

.sh-footer__email span {
  overflow-wrap: anywhere;
}

.sh-footer__email svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--sh-gold-400);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sh-footer__cta {
  padding-inline: 16px;
  border: 1px solid rgba(217, 180, 95, 0.4);
  border-radius: 10px;
  color: var(--sh-gold-400);
  font-size: 0.88rem;
  font-weight: 700;
}

.sh-footer__bottom a {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.85);
}

.sh-footer__bottom a span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--sh-dark-line);
  border-radius: 50%;
  color: var(--sh-gold-400);
  font-size: 1.1rem;
}

.sh-footer__email:hover,
.sh-footer__email:focus-visible,
.sh-footer__bottom a:hover,
.sh-footer__bottom a:focus-visible {
  color: var(--sh-gold-400);
}

.sh-footer__cta:hover,
.sh-footer__cta:focus-visible {
  border-color: var(--sh-gold-500);
  background: var(--sh-gold-500);
  color: var(--sh-navy-950);
}

@media (max-width: 980px) {
  .sh-header__inner {
    gap: 16px;
  }

  .sh-nav__list,
  .sh-nav ul {
    gap: 12px;
  }

  .sh-nav a {
    font-size: 0.86rem;
  }

  .sh-footer__grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .sh-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 761px) and (max-width: 820px) {
  :root {
    --sh-header-height: 68px;
  }

  .sh-header__inner {
    position: relative;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .sh-brand {
    grid-column: 1;
    justify-self: start;
  }

  .sh-brand img,
  .sh-brand__image {
    height: 44px;
  }

  .sh-header__actions {
    grid-column: 3;
    justify-self: end;
  }

  .sh-language-link,
  .sh-account-link {
    display: none;
  }

  .sh-menu-toggle {
    display: inline-grid;
  }

  .sh-nav {
    position: absolute;
    z-index: 65;
    top: 100%;
    right: calc(var(--sh-gutter) * -1);
    left: calc(var(--sh-gutter) * -1);
    display: none;
    padding: 10px var(--sh-gutter) 18px;
    background: var(--sh-navy-900);
    border-top: 1px solid var(--sh-dark-line);
    box-shadow: var(--sh-shadow-dark);
  }

  .sh-nav.is-open,
  .sh-nav[data-open="true"],
  .no-js .sh-nav {
    display: block;
  }

  .sh-nav__list,
  .sh-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .sh-nav li + li {
    border-top: 1px solid var(--sh-dark-line);
  }

  .sh-nav a {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
  }

  .sh-nav a::after {
    right: auto;
    bottom: 0;
    left: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --sh-header-height: 68px;
  }

  .sh-header__inner {
    position: relative;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .sh-brand {
    grid-column: 1;
    justify-self: start;
  }

  .sh-brand img,
  .sh-brand__image {
    height: 44px;
  }

  .sh-header__actions {
    grid-column: 3;
    justify-self: end;
  }

  .sh-language-link,
  .sh-account-link {
    display: none;
  }

  .sh-menu-toggle {
    display: inline-grid;
  }

  .sh-nav {
    position: absolute;
    z-index: 65;
    top: 100%;
    right: calc(var(--sh-gutter) * -1);
    left: calc(var(--sh-gutter) * -1);
    display: none;
    padding: 10px var(--sh-gutter) 18px;
    background: var(--sh-navy-900);
    border-top: 1px solid var(--sh-dark-line);
    box-shadow: var(--sh-shadow-dark);
  }

  .sh-nav.is-open,
  .sh-nav[data-open="true"],
  .no-js .sh-nav {
    display: block;
  }

  .sh-nav__list,
  .sh-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .sh-nav li + li {
    border-top: 1px solid var(--sh-dark-line);
  }

  .sh-nav a {
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
  }

  .sh-nav a::after {
    right: auto;
    bottom: 0;
    left: 0;
  }

  .sh-search-panel {
    padding-block: 12px;
  }

  .sh-search-form {
    width: min(calc(100% - 32px), 720px);
  }

  .sh-newsletter__form,
  .sh-newsletter form {
    align-items: stretch;
    flex-direction: column;
  }

  .sh-newsletter input[type="email"] {
    flex-basis: auto;
  }

  .sh-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 32px 24px;
  }

  .sh-footer__brand {
    grid-column: auto;
  }

  .sh-footer__nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
  }

  .sh-footer__grid h2 {
    margin-top: 0;
    margin-bottom: 12px;
  }

  .sh-footer__contact {
    padding-top: 24px;
    border-top: 1px solid var(--sh-dark-line);
  }

  .sh-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 440px) {
  .sh-header__inner {
    gap: 6px;
  }

  .sh-header__actions {
    gap: 4px;
  }

  .sh-brand img,
  .sh-brand__image {
    max-width: 142px;
    height: auto;
    max-height: 42px;
  }

  .sh-search-form button {
    min-width: 72px;
    padding-inline: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .sh-header__actions,
  .sh-menu-toggle,
  .sh-search-panel,
  .sh-footer__social,
  .sh-newsletter {
    display: none !important;
  }

  .sh-header,
  .sh-footer {
    background: #fff !important;
    color: #000 !important;
    border-color: #bbb;
  }
}
