@font-face {
  font-family: "Zain Local";
  src: url("/font/zain/Zain-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Zain Local";
  src: url("/font/zain/Zain-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f7f3eb;
  --surface: #fffdf8;
  --surface-2: #f1eadf;
  --text: #0b2435;
  --muted: #6e716f;
  --primary: #0a2638;
  --accent: #b88a45;
  --hover: #956a2f;
  --link: #9b6d2e;
  --link-hover: #72501f;
  --border: rgba(137, 101, 51, .24);
  --radius: 6px;
  --shadow: 0 14px 34px rgba(7, 29, 43, .08);
  --navy: #071d2b;
  --navy-2: #0b2b40;
  --gold: #b98a45;
  --gold-light: #dfc18d;
  --ivory: #fffdf8;
}

html { scroll-behavior: smooth; }

/* Article index and flowing text around the article image. */
.journal-page, .reading-page {
  width: min(1180px, calc(100% - 40px)); margin: 36px auto 64px;
  text-align: start; direction: inherit;
}
.journal-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .95rem; color: #59656e; margin-bottom: 28px; }
.journal-breadcrumb a { color: #795324; }
.journal-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.journal-intro { max-width: 760px; padding: 0 0 32px; }
.journal-eyebrow { display: inline-block; color: #795324; font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.journal-intro h1, .reading-heading h1, .journal-empty h1 {
  color: #0b2435; font-size: clamp(1.7rem, 3vw, 2.65rem); font-weight: 700;
  line-height: 1.5; margin: 0 0 14px; text-wrap: pretty;
}
.journal-intro p { color: #53616b; font-size: 1.125rem; line-height: 1.85; margin: 0; text-align: start; }
.reading-article { display: flow-root; max-width: 1100px; margin-inline: auto; padding: clamp(24px, 4vw, 56px); background: #fffdf8; border: 1px solid #e4d8c6; border-radius: 12px; box-shadow: 0 10px 36px rgba(7,29,43,.04); }
.reading-heading, .reading-content, .reading-end { max-width: none; margin-inline: 0; }
.reading-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #626b71; font-size: .95rem; }
.reading-lead { color: #52616a; font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.9; margin: 22px 0 0; padding-inline-start: 18px; border-inline-start: 3px solid #b98a45; }
.reading-cover { float: right; width: 40%; margin: 0 0 24px 32px; overflow: hidden; border-radius: 8px; background: #eee7dc; }
html[dir="ltr"] .reading-cover { float: left; margin: 0 32px 24px 0; }
.reading-cover img { width: 100%; height: auto; display: block; }
.reading-content { color: #253b49; font-size: 1.25rem; line-height: 2; overflow-wrap: anywhere; }
.reading-content p { margin: 0 0 1.25em; text-align: start; }
.reading-content p:last-child { margin-bottom: 0; }
.reading-content .reading-subtitle { color: #0b2435; font-size: 1.4rem; line-height: 1.7; margin: 1.6em 0 .7em; padding-inline-start: 16px; border-inline-start: 3px solid #b98a45; }
.reading-content .reading-subtitle:first-child { margin-top: 0; }
.reading-heading + .reading-content { margin-top: 32px; }
.reading-content ::selection { background: #ead7b4; color: #071d2b; }
.reading-end { clear: both; border-top: 1px solid #e4d8c6; padding-top: 22px; margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: #59656e; font-size: 1rem; }
.reading-end a { color: #795324; font-weight: 700; }
.reading-page .reading-related { width: 100% !important; margin: 56px 0 0 !important; text-align: start; }
.journal-empty { text-align: center; padding: 50px 24px; background: #fffdf8; border: 1px solid #e4d8c6; border-radius: 12px; }
.journal-empty p { color: #53616b; margin: 12px 0 24px; }
.journal-empty a { display: inline-block; padding: 10px 22px; background: #0b2435; color: #fff; border-radius: 6px; }
@media (max-width: 760px) {
  .reading-cover, html[dir="ltr"] .reading-cover { float: none; width: 100%; margin: 0 0 24px; }
}
@media (max-width: 600px) {
  .reading-page { width: calc(100% - 24px); margin-top: 24px; }
  .journal-breadcrumb { margin-bottom: 20px; font-size: .9rem; }
  .reading-article { padding: 24px 18px; border-radius: 8px; }
  .reading-heading h1 { font-size: 1.65rem; line-height: 1.6; }
  .reading-content { font-size: 1.125rem; line-height: 1.95; }
  .reading-content .reading-subtitle { font-size: 1.2rem; padding-inline-start: 12px; }
  .reading-cover { margin-block: 0 24px; }
  .reading-lead { padding-inline-start: 12px; }
}
@media print {
  body > main > header, .site-footer, .journal-breadcrumb, .reading-related, #google_translate_element, #translation-status { display: none !important; }
  main { padding-top: 0 !important; }
  .reading-page { width: 100%; margin: 0; }
  .reading-article { border: 0; box-shadow: none; padding: 0; }
  .reading-content { color: #000; font-size: 12pt; }
  .reading-content p { orphans: 3; widows: 3; }
}

/* Latest articles: give every headline the full card width. */
.latest-articles .sec-head { align-items: center; gap: 16px; margin-bottom: 22px; }
.latest-articles .latest-articles__all { color: #795324; font-size: 1rem; white-space: nowrap; }
.latest-articles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.latest-article {
  min-width: 0; display: flex; flex-direction: column; overflow: hidden;
  text-align: start; background: #fffdf8; border: 1px solid #e4d8c6;
  border-radius: 10px; box-shadow: 0 6px 20px rgba(7, 29, 43, .045);
  transition: transform .2s ease, box-shadow .2s ease;
}
.latest-article:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(7, 29, 43, .1); }
.latest-article__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eee7dc; }
.latest-article__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.latest-article__fallback { display: grid; height: 100%; place-items: center; color: #795324; }
.latest-article__body { flex: 1; display: flex; flex-direction: column; align-items: stretch; padding: 22px; gap: 12px; }
.latest-article__date { font-size: .875rem; line-height: 1.5; color: #626b71; direction: ltr; align-self: flex-start; }
.latest-article h3 { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.6; }
.latest-article h3 a { color: #0b2435; text-decoration: none; }
.latest-article h3 a:hover { color: #795324; }
.latest-article .latest-article__description {
  color: #53616b; font-size: 1rem; line-height: 1.8; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.latest-article__more {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid #e9dfd0;
  color: #795324; font-size: 1rem; font-weight: 700;
}
html[dir="ltr"] .latest-articles :where(.latest-article__more, .latest-articles__all) span { transform: scaleX(-1); }
@media (max-width: 980px) {
  .latest-articles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .latest-articles__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .latest-article__body { padding: 18px; }
  .latest-articles .sec-head { align-items: start; flex-wrap: wrap; gap: 8px; }
}

/* Keep typography local, while preserving the icon font. */
body :where(h1, h2, h3, h4, h5, h6, p, a, li, span, div, label, input, select, textarea, button) {
  font-family: inherit;
}

body {
  background:
    radial-gradient(circle at 8% 8%, rgba(185, 138, 69, .08), transparent 24rem),
    linear-gradient(180deg, #fffdf9 0%, #f6f1e8 100%) !important;
  color: var(--text) !important;
  font-family: "Zain Local", Zain, Tahoma, sans-serif !important;
  font-size: 17px;
  line-height: 1.75;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(10, 38, 56, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 38, 56, .018) 1px, transparent 1px);
  background-size: 34px 34px;
  z-index: -1;
}

main { padding-top: 84px; }

a { color: var(--link); }
a:hover { color: var(--link-hover); }

header {
  min-height: 84px;
  padding: 0 !important;
  background: rgba(7, 29, 43, .97) !important;
  border-bottom: 1px solid rgba(223, 193, 141, .5);
  box-shadow: 0 10px 32px rgba(3, 18, 28, .16);
  backdrop-filter: blur(14px);
}

.pc-nav {
  width: min(1240px, calc(100% - 36px)) !important;
  min-height: 84px;
  gap: 22px;
}

.pc-nav > img {
  width: 245px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.pc-nav ul { gap: 5px !important; align-items: center; }
.pc-nav ul li a {
  display: block;
  padding: 29px 9px 25px;
  color: #f8f1e5 !important;
  font-size: .96rem;
  font-weight: 500 !important;
  white-space: nowrap;
}

.pc-nav ul li a:hover,
.pc-nav ul li a.active { color: var(--gold-light) !important; }

.pc-nav ul li a.active::after {
  bottom: 18px !important;
  height: 1px !important;
  background: var(--gold) !important;
}

.pc-nav a[href*="booking.php"] {
  padding: 9px 15px !important;
  margin-inline-start: 5px;
  color: #fff !important;
  border: 1px solid #c79b55;
  background: linear-gradient(135deg, #855e28, #704c1d);
}

.pc-nav a[href*="booking.php"]::after { display: none; }
.language-switcher {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: auto !important;
  min-width: max-content;
  flex: 0 0 auto;
}
.language-switcher button {
  background: transparent !important;
  color: #ead6b1 !important;
  border: 1px solid rgba(223, 193, 141, .36) !important;
  border-radius: 3px !important;
  padding: 7px 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer;
}

.mob-nav { min-height: 72px; justify-content: center; }
.mob-div1 img { width: 215px; height: auto !important; max-height: 50px; object-fit: contain; }
.mob-menu { color: var(--gold-light); cursor: pointer; }
.mob-nav ul { padding: 8px 0 18px; }
.mob-nav ul li { margin: 0 !important; }
.mob-nav ul li a {
  width: 100% !important;
  border-bottom: 1px solid rgba(223, 193, 141, .18) !important;
  color: #fff !important;
}

section { width: min(1180px, calc(100% - 32px)) !important; margin: 58px auto !important; }
section h1, section h2, section h3 { color: var(--navy); }
.sec-head, .services-head, .team-head, .articles-header, .contact-head {
  border-bottom: 1px solid rgba(185, 138, 69, .3);
  padding-bottom: 10px;
}
.sec-head h2, .block-title, .services-title, .team-title, .articles-title, .faq-title {
  position: relative;
  color: var(--navy) !important;
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  font-weight: 700 !important;
}
.sec-head h2::after, .block-title::after, .services-title::after, .team-title::after,
.articles-title::after, .faq-title::after {
  content: "";
  display: inline-block;
  width: 52px;
  height: 1px;
  margin-inline-start: 14px;
  vertical-align: middle;
  background: var(--gold);
}

.owner-card {
  width: min(1240px, calc(100% - 32px)) !important;
  margin: 30px auto 58px !important;
  padding: 0 !important;
  background: transparent !important;
}
.owner-card__inner {
  max-width: none !important;
  min-height: 570px;
  grid-template-columns: minmax(340px, .86fr) minmax(0, 1.14fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(185, 138, 69, .38);
  border-radius: 6px !important;
  background:
    radial-gradient(circle at 86% 12%, rgba(185, 138, 69, .12), transparent 16rem),
    var(--ivory) !important;
  box-shadow: 0 20px 55px rgba(7, 29, 43, .12) !important;
}
.owner-card__media {
  min-height: 570px;
  align-items: end !important;
  background: linear-gradient(155deg, #e9e0d1, #fdf9f1);
  border-inline-start: 1px solid rgba(185, 138, 69, .22);
}
.owner-card__img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 570px;
  object-fit: cover !important;
  object-position: center top;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.owner-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 84px) !important;
  text-align: right;
}
.owner-card__content::before {
  content: "MOHAMED SHAHEEN LAW FIRM";
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: .78rem;
  letter-spacing: .16em;
  direction: ltr;
  text-align: right;
}
.owner-card__title {
  max-width: 700px;
  font-size: clamp(2rem, 3.3vw, 3.1rem) !important;
  line-height: 1.35;
  color: var(--navy) !important;
  font-weight: 700;
}
.owner-card__subtitle {
  margin: 12px 0 18px !important;
  color: #9b6d2e !important;
  font-size: clamp(1.15rem, 2vw, 1.55rem) !important;
}
.owner-card__text {
  max-width: 660px !important;
  max-height: none !important;
  margin: 0 0 18px !important;
  color: #46525a !important;
  font-size: 1.08rem !important;
}
.owner-card__more, .whyus-card__more, .whyus-card2__more {
  align-self: flex-start;
  color: #916426 !important;
  text-decoration: none !important;
  border-bottom: 1px solid currentColor !important;
}

.btn, .c-btn, button[type="submit"], .modal-close {
  border-radius: 3px !important;
}
.btn.primary, .btn-primary, .c-btn--primary, .form-btn,
.services2-action .btn, button[type="submit"] {
  background: linear-gradient(135deg, #855e28, #704c1d) !important;
  color: #fff !important;
  border: 1px solid #a97935 !important;
  box-shadow: 0 8px 20px rgba(129, 89, 34, .16) !important;
}
.btn.ghost, .c-btn:not(.c-btn--primary) {
  background: transparent !important;
  color: var(--navy) !important;
  border: 1px solid rgba(10, 38, 56, .2) !important;
}

.whyus-card2 {
  width: min(1180px, calc(100% - 32px)) !important;
  padding: 0 !important;
  background: transparent !important;
}
.whyus-card2__inner {
  max-width: none !important;
  padding: clamp(30px, 5vw, 58px) !important;
  border: 1px solid rgba(223, 193, 141, .4);
  border-radius: 5px !important;
  background:
    linear-gradient(90deg, rgba(7, 29, 43, .96), rgba(11, 43, 64, .97)),
    var(--navy) !important;
  box-shadow: 0 18px 42px rgba(7, 29, 43, .16) !important;
}
.whyus-card2__title { color: #f6e8cd !important; font-size: clamp(1.5rem, 2.5vw, 2rem) !important; }
.whyus-card2__text { max-width: 920px !important; color: #d8dee1 !important; font-size: 1.06rem !important; }
.whyus-card2__more { color: var(--gold-light) !important; }

.services-section, .services2-grid, .features-section,
.team-grid, .services-grid, .articles-list, .contact-cards {
  gap: 16px !important;
}
.service-box, .services2-grid .service-box, .feature-box, .c-card, .card,
.h-card, .svc, .cc, .info-item, .faq-item, .policy, .contact-wrap .card {
  border: 1px solid rgba(151, 113, 58, .23) !important;
  border-radius: 5px !important;
  background: rgba(255, 253, 248, .96) !important;
  box-shadow: 0 10px 26px rgba(7, 29, 43, .06) !important;
}
.service-box:hover, .feature-box:hover, .c-card:hover, .card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(185, 138, 69, .62) !important;
  box-shadow: 0 16px 34px rgba(7, 29, 43, .1) !important;
}
.service-box img, .services2-grid .service-box img { filter: sepia(.35) saturate(.8); }
.service-box h3, .features-section h3, .services2-grid h3 { color: var(--navy) !important; }

.whyus-card { background: transparent !important; padding: 0 !important; }
.whyus-card__inner {
  max-width: none !important;
  border-radius: 5px !important;
  border: 1px solid rgba(185, 138, 69, .28);
  background: linear-gradient(135deg, #fffdf8, #f1e8d9) !important;
  box-shadow: var(--shadow) !important;
}

.ts__card {
  color: var(--text) !important;
  background: #fffdf8 !important;
  border: 1px solid rgba(185, 138, 69, .25) !important;
  border-radius: 5px !important;
  box-shadow: 0 10px 24px rgba(7, 29, 43, .06) !important;
}
.ts__name { color: var(--navy) !important; }
.ts__text { color: #59636a !important; }
.ts__head, .ts__stars { color: var(--gold) !important; }
.ts__arrow { background: var(--navy) !important; color: #fff !important; border-color: var(--gold) !important; }
.ts__dot.is-active { background: var(--gold) !important; }

.stats { background: transparent !important; padding: 0 !important; }
.stat {
  min-height: 128px;
  justify-content: center !important;
  flex-direction: column;
  background: #fffdf8 !important;
  border: 1px solid rgba(185, 138, 69, .26);
  border-radius: 5px !important;
}
.stat h3 { color: var(--gold) !important; font-size: 2rem !important; }
.stat p { color: #616b70 !important; margin: 0 !important; }
.team-head { position: static !important; top: auto !important; }
.member { position: static !important; top: auto !important; cursor: pointer; }
.member img, .member-photo { border-radius: 3px !important; }


.article img, .article-thumb, .thumb { border-radius: 3px !important; }
.clients { background: transparent !important; }
.clients-grid { padding: 25px; border-block: 1px solid rgba(185, 138, 69, .24); }
.clients-grid img { max-height: 80px; }

.home-section .cta, .privacy-page .cta {
  border-radius: 5px !important;
  border: 1px solid rgba(223, 193, 141, .38) !important;
  background: linear-gradient(120deg, #071d2b, #0e344a) !important;
}
.home-section .cta h3, .privacy-page .cta h3 { color: #f6e8cd !important; }
.home-section .cta p, .privacy-page .cta p { color: #d6dde0 !important; }

.services-page, .team-page, .articles, .article-details, .about-page,
.journey-page, .faq-page, .contact-wrap, .c-wrap, .privacy-page {
  padding: clamp(20px, 4vw, 44px) !important;
  border: 1px solid rgba(185, 138, 69, .18);
  border-radius: 6px;
  background: rgba(255, 253, 248, .72);
  box-shadow: 0 16px 45px rgba(7, 29, 43, .05);
}
.hero, .services-head, .team-head, .articles-header, .contact-head, .journey-page .head {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.hero h1, .h-title, .article-details h1 {
  color: var(--navy) !important;
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
  line-height: 1.15;
}
.service-icon, .feat-ico, .info-ico {
  color: var(--gold) !important;
  border-color: rgba(185, 138, 69, .28) !important;
  background: #f5ecdc !important;
}
.tab.is-active, .faq-toggle { background: var(--navy) !important; color: #fff !important; }
.modal-backdrop, .popup, .popup2 { backdrop-filter: blur(7px); background: rgba(4, 20, 31, .72) !important; }
.modal, .popup-content, .popup2-content { border-radius: 5px !important; border: 1px solid var(--gold) !important; }

input, select, textarea, .field {
  border-radius: 3px !important;
  border-color: rgba(10, 38, 56, .19) !important;
  background: #fff !important;
  color: var(--navy) !important;
}
input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(185, 138, 69, .12) !important;
}

.site-footer {
  margin-top: 90px !important;
  background:
    radial-gradient(circle at 8% 20%, rgba(185, 138, 69, .12), transparent 18rem),
    linear-gradient(135deg, #061a27, #0a2a3d) !important;
  border-top: 1px solid rgba(223, 193, 141, .45);
}
.site-footer h4 { color: #e4c996 !important; }
.site-footer a { color: #edf0ef !important; }
.site-footer a:hover { color: var(--gold-light) !important; }
.site-footer .f-logo img { width: 260px; max-width: 100%; }
.site-footer .f-bottom { border-top-color: rgba(223, 193, 141, .18) !important; }
.backtop { border-radius: 3px !important; background: var(--gold) !important; }

#app-preloader { background: #f7f3eb !important; }
#app-preloader .box { border: 1px solid var(--border); border-radius: 5px !important; }
#app-preloader .spinner { border-top-color: var(--gold) !important; }

@media (max-width: 1000px) {
  main { padding-top: 72px; }
  header { min-height: 72px; }
  .mob-nav { width: calc(100% - 30px) !important; }
  .owner-card__inner { grid-template-columns: 1fr !important; }
  .owner-card__media { min-height: 430px; order: 2; }
  .owner-card__img { min-height: 430px; max-height: 560px; }
  .owner-card__content { order: 1; padding: 46px 32px !important; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { width: min(100% - 20px, 1180px) !important; margin: 34px auto !important; }
  .owner-card { width: calc(100% - 20px) !important; }
  .owner-card__content { padding: 34px 22px !important; }
  .owner-card__title { font-size: 2rem !important; }
  .owner-card__media, .owner-card__img { min-height: 360px; }
  .services-page, .team-page, .articles, .article-details, .about-page,
  .journey-page, .faq-page, .contact-wrap, .c-wrap, .privacy-page { padding: 18px 14px !important; }

  .site-footer { margin-top: 55px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Shared layout corrections for Arabic and translated pages. */
html { scroll-padding-top: 110px; }
section, .owner-card__content, .footer-grid > *, .card { min-width: 0; }
h1, h2, h3, h4, p, a { overflow-wrap: break-word; }
.owner-card__content, .owner-card__content::before { text-align: start; }
.owner-card__content::before { color: #855e28; }
html[dir] :where(.owner-card, .whyus-card, .whyus-card2, .services2-section,
  .services-page, .team-page, .articles, .article-details, .about-page,
  .journey-page, .contact-wrap, .c-wrap, .privacy-page, .popup-content, .popup2-content) {
  direction: inherit;
}
html[dir="ltr"] .caption { direction: ltr; }
.caption h2, .caption p { color: #fff !important; }
.caption .btn { background: #795324; color: #fff; }
.slider-container:has(.slides:empty) { display: none; }
.mob-menu {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 44px;
  background: transparent; border: 1px solid #dfc18d; border-radius: 4px; font-size: 22px;
}
.mob-nav ul { max-height: calc(100dvh - 84px); overflow-y: auto; }
[data-language] { min-height: 40px; font-size: 1rem; }
.mob-nav [data-language] {
  background: transparent !important; color: #f6e8cd !important;
  border: 1px solid #dfc18d !important;
}
header [data-language][aria-pressed="true"] {
  background: #dfc18d !important; color: #071d2b !important;
}
:where(a, button):focus-visible { outline: 3px solid #aa7833; outline-offset: 4px; }
header :where(a, button):focus-visible { outline-color: #dfc18d; }
.site-footer .f-form input::placeholder,
.site-footer .f-form textarea::placeholder { color: #58656e; opacity: 1; }
.site-footer .f-form textarea { width: 100%; min-width: 0; }
.site-footer .f-contact a { display: inline-block; direction: ltr; unicode-bidi: isolate; }
button[type="submit"]:disabled {
  background: #e0e3e5 !important; color: #46525a !important;
  border-color: #bcc4c9 !important; box-shadow: none !important;
  cursor: not-allowed;
}
.backtop { background: #795324 !important; color: #fff !important; }
.member-bio { font-size: .95rem !important; }
.stat h3 { color: #855e28 !important; }
#google_translate_element {
  position: fixed !important; inset: auto auto 0 -9999px !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
  opacity: 0 !important; pointer-events: none !important;
}
#translation-status {
  position: fixed; inset-inline-start: 50%; bottom: 24px; z-index: 2147483646;
  transform: translateX(-50%); width: min(560px, calc(100% - 32px));
  padding: 12px 18px; margin: 0; border-radius: 10px;
  background: #0b2435; color: #fff; border: 1px solid #b78a4d;
  box-shadow: 0 14px 40px rgba(7,29,43,.22);
  text-align: center; font-size: 1rem; pointer-events: none;
}
#translation-status[data-state="error"] { background: #7b2c2c; border-color: #b76b6b; }
#translation-status[hidden] { display: none !important; }
/* Keep Google's injected controls and branding outside the visible interface. */
html body { top: 0 !important; }
body > .skiptranslate,
body > iframe.skiptranslate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-spinner-pos,
#goog-gt-tt,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; visibility: hidden !important; }
body > main > header { top: 0; }
@media (max-width: 1400px) {
  html[dir="ltr"] .pc-nav { display: none; }
  html[dir="ltr"] .mob-nav { display: flex; width: calc(100% - 30px) !important; }
  html[dir="ltr"] main { padding-top: 72px; }
  html[dir="ltr"] header { min-height: 72px; }
}
@media (max-width: 1240px) {
  .pc-nav { display: none; }
  .mob-nav { display: flex; width: calc(100% - 30px) !important; }
  main { padding-top: 72px; }
  header { min-height: 72px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .f-bottom__row { flex-direction: column; text-align: center; }
  .owner-card__actions { flex-wrap: wrap; gap: 10px; }
  .caption { left: 16px; right: 16px; max-width: none; bottom: 50px; }
}

/* =========================================================
   English navigation loader — v6
   Shows only while English mode is active and waits at least 5s.
   ========================================================= */
#translation-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(183, 138, 77, .08), transparent 34%),
    #f7f3eb;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

html.translation-pending,
html.translation-pending body {
  overflow: hidden !important;
}

html.translation-pending #translation-loader {
  display: flex !important;
  opacity: 1;
  visibility: visible;
}

.translation-loader__card {
  width: min(390px, calc(100vw - 40px));
  min-height: 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 30px;
  text-align: center;
  direction: rtl;
  background: #fffdfa;
  color: #071d2b;
  border: 1px solid #cfa767;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(7, 29, 43, .18);
}

.translation-loader__card strong {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  font-weight: 700;
}

.translation-loader__card small {
  color: #65717a;
  font-size: .95rem;
}

.translation-loader__spinner {
  width: 36px;
  height: 36px;
  margin-bottom: 5px;
  border: 3px solid #e6ddcf;
  border-top-color: #9b6b2f;
  border-radius: 50%;
  animation: shahenTranslationSpin .8s linear infinite;
}

@keyframes shahenTranslationSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .translation-loader__spinner { animation-duration: 1.6s; }
}
