/* Hero headline — loaded last to beat global h1 / reset rules in style.css */

.marham-home .mh-hero .mh-hero__title,
.marham-home .mh-hero .mh-hero__title .mh-hero__title-line {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: clamp(2.65rem, 4.6vw, 4rem) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-synthesis: none;
  line-height: 1.1 !important;
  letter-spacing: -0.01em;
  color: #111 !important;
  text-transform: none !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

.marham-home .mh-hero .mh-hero__title-line {
  display: block;
}

.marham-home .mh-hero .mh-hero__title-accent {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  font-synthesis: none;
  color: #a32a29 !important;
}

@media (max-width: 991px) {
  .marham-home .mh-hero .mh-hero__title,
  .marham-home .mh-hero .mh-hero__title .mh-hero__title-line {
    font-size: 2.75rem !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 575px) {
  .marham-home .mh-hero .mh-hero__title,
  .marham-home .mh-hero .mh-hero__title .mh-hero__title-line {
    font-size: 2.25rem !important;
    line-height: 1.12 !important;
  }
}

/* "How can we help you today?" — serif section heading */
.marham-home .mh-help .mh-help__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: clamp(1.9rem, 3vw, 3.3rem) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  font-synthesis: none;
  line-height: 1.15 !important;
  letter-spacing: -0.01em;
  color: #0f172a !important;
  text-transform: none !important;
  text-align: center;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

@media (max-width: 575px) {
  .marham-home .mh-help .mh-help__title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
}

/* "Success favours the bold" — Hall of Fame heading */
.marham-home .mh-hall .mh-hall__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: clamp(1.9rem, 3vw, 2.9rem) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-synthesis: none;
  line-height: 1.15 !important;
  letter-spacing: -0.01em;
  color: #0f172a !important;
  text-transform: none !important;
  text-align: left;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

@media (max-width: 575px) {
  .marham-home .mh-hall .mh-hall__title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
}

/* Section serif headings — demand + jobs spotlight + browse categories + shorts */
.marham-home .mh-demand .mh-demand__title,
.marham-home .mh-jobs-spotlight .mh-jobs-spotlight__title,
.marham-home .mh-quick .mh-quick__title,
.marham-home .mh-shorts .mh-shorts__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: clamp(1.9rem, 3vw, 3.3rem) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  font-synthesis: none;
  line-height: 1.15 !important;
  letter-spacing: -0.01em;
  color: #0f172a !important;
  text-transform: none !important;
  text-align: left;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

@media (max-width: 575px) {
  .marham-home .mh-demand .mh-demand__title,
  .marham-home .mh-jobs-spotlight .mh-jobs-spotlight__title,
  .marham-home .mh-quick .mh-quick__title,
  .marham-home .mh-shorts .mh-shorts__title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
}

/* Why Sultanate — content column + app promo card */
.marham-home .mh-why .mh-why__eyebrow {
  font-family: 'Outfit', system-ui, sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #b23b2b !important;
  line-height: 1.4 !important;
}

.marham-home .mh-why .mh-why__heading {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: clamp(1.85rem, 3.2vw, 2.8rem) !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-synthesis: none;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  color: #1e293b !important;
  text-transform: none !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

.marham-home .mh-why .mh-why__lead {
  font-family: 'Outfit', system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.96rem !important;
  line-height: 1.65 !important;
  color: #64748b !important;
}

.marham-home .mh-why .mh-why__title {
  font-family: 'Outfit', system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.98rem !important;
  line-height: 1.3 !important;
  color: #1e293b !important;
}

.marham-home .mh-why .mh-why__desc {
  font-family: 'Outfit', system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  color: #64748b !important;
}

.marham-home .mh-why .mh-why__app-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  font-synthesis: none;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  color: #1e293b !important;
  text-transform: none !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

.marham-home .mh-why .mh-why__app-desc {
  font-family: 'Outfit', system-ui, sans-serif !important;
  font-weight: 400 !important;
  font-size: 1.1rem !important;
  line-height: 1.65 !important;
  color: #64748b !important;
}

@media (max-width: 575px) {
  .marham-home .mh-why .mh-why__heading {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
}

/* Local providers — section heading */
.marham-home .mh-citylinks .mh-citylinks__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: clamp(1.85rem, 3.2vw, 3.5rem) !important;
  font-weight: 600 !important;
  font-style: normal !important;
  font-synthesis: none;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  color: #1e293b !important;
  text-transform: none !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

@media (max-width: 575px) {
  .marham-home .mh-citylinks .mh-citylinks__title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }
}

/* Job spotlight card — job title */
.marham-home .mh-job-spot-card__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-synthesis: none;
  line-height: 1.35 !important;
  letter-spacing: -0.01em;
  color: #1e293b !important;
  text-transform: none !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

/* Hero float card — job title */
.marham-home .mh-float-card__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  font-style: normal !important;
  font-synthesis: none;
  line-height: 1.3 !important;
  letter-spacing: -0.01em;
  color: #1a1a1a !important;
  text-transform: none !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

/* Dashboard greeting card — loaded last to beat style.css (Heebo h2) + custom.css (Arial) */
.dashboard-greet-card .dashboard-greet-content .dashboard-greet-label,
.dashboard-greet-card #daynightmsg .dashboard-greet-label {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #9d362a !important;
}

.dashboard-greet-card .dashboard-greet-content h2.dashboard-greet-heading,
.dashboard-greet-card #daynightmsg h2.dashboard-greet-heading {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: clamp(1.5rem, 2.2vw, 1.65rem) !important;
  font-weight: 500 !important;
  /* font-style: normal !important;
  font-synthesis: none; */
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  color: #000000 !important;
  text-transform: none !important;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga" 1, "kern" 1;
}

.dashboard-greet-card .dashboard-greet-content p.dashboard-greet-subtext,
.dashboard-greet-card #daynightmsg p.dashboard-greet-subtext {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: #666666 !important;
  text-transform: none !important;
}

/* Feed comment toolbar — late overrides beat style.css .emoji-combo / .img-add */
.post_comment_combo .feed-comment-input-wrap:focus-within {
  border-color: #1e88c5 !important;
  box-shadow: 0 0 0 1px #1e88c5 !important;
}

.post_comment_combo .feed-comment-tool .img-add label,
.post_comment_combo .feed-comment-mic,
.post_comment_combo .feed-comment-send.emoji-combo.submited-btn {
  color: #1e88c5 !important;
  background: transparent !important;
  margin: 0 !important;
  float: none !important;
  box-shadow: none !important;
}

.post_comment_combo .feed-comment-tool .img-add label:hover,
.post_comment_combo .feed-comment-mic:hover,
.post_comment_combo .feed-comment-send.emoji-combo.submited-btn:hover:not(:disabled) {
  background: #e6f4f9 !important;
  color: #1976a8 !important;
}

/* Right sidebar card titles — beat custom.css Arial + capitalize on h4 */
.rs-card .rs-card-title,
.rs-card--saved .rs-saved-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  line-height: 1.25 !important;
  color: #111827 !important;
  text-transform: none !important;
}

.rs-search-input,
.rs-search-input::placeholder {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  text-transform: none !important;
}

/* Categories page typography — beat custom.css Arial + capitalize */
.mh-categories-page .mh-filter-card__count {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 3.25rem !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  text-transform: none !important;
}

.mh-categories-page .mh-filter-card__label {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 0.8125rem !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.96) !important;
}

.mh-categories-page .mh-categories-heading,
.mh-categories-page h1.mh-categories-heading {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 2.8rem !important;
  font-weight: 600 !important;
  line-height: 1.28 !important;
  text-transform: none !important;
  color: #0f172a !important;
}

.mh-categories-page .mh-categories-description,
.mh-categories-page p.mh-categories-description {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  text-transform: none !important;
  color: #64748b !important;
}

.mh-categories-page .mh-categories-eyebrow__text {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
}

.mh-categories-page .mh-filter-field label {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
}

.mh-categories-page .mh-filter-select,
.mh-categories-page .categorySidebar_select {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 0.875rem !important;
  text-transform: none !important;
}

.mh-categories-page .mh-filter-hint {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 0.8125rem !important;
  text-transform: none !important;
}

.mh-cat-grid .mh-category-card__title,
.mh-cat-grid h3.mh-category-card__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 1.35rem !important;
  font-weight: 500 !important;
  text-transform: none !important;
}

.mh-cat-grid .mh-category-card__badge,
.mh-cat-grid .mh-category-card__count,
.mh-cat-grid .mh-category-card__footer {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  text-transform: none !important;
}

.mh-cat-grid .mh-category-card__badge {
  font-size: 0.6875rem !important;
  text-transform: uppercase !important;
}

.mh-cat-grid .mh-category-card__count {
  font-size: 0.75rem !important;
}

.mh-cat-grid .mh-category-card__footer {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
}

/* Categories FAQ — Playfair serif (exact image sizes) */
.wrapper.mh-categories-page .faqs-section .mh-faq-title,
.wrapper.mh-categories-page .faqs-section p.mh-faq-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 33px !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: #111827 !important;
}

.wrapper.mh-categories-page .faqs-section .accordion__header,
.wrapper.mh-categories-page .faqs-section button.accordion__header {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 19px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: #111827 !important;
}

.wrapper.mh-categories-page .faqs-section .accordion__question,
.wrapper.mh-categories-page .faqs-section button.accordion__header .accordion__question {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  text-transform: none !important;
  color: inherit !important;
}

.wrapper.mh-categories-page .faqs-section .accordion__answer,
.wrapper.mh-categories-page .faqs-section .faq-des {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  color: #64748b !important;
}

.wrapper.mh-categories-page .faqs-section .accordion__wrapper {
  padding: 0 !important;
  box-shadow: none !important;
}

.wrapper.mh-categories-page .faqs-section .accordion {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Sidebar page header — Playfair + Inter */
.sp-page .sp-header .sp-header__title,
.sp-page .sp-header p.sp-header__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  color: #111827 !important;
}

.sp-page .sp-header .sp-header__subtitle {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  color: #64748b !important;
}

.sp-page .sp-user-card .sp-user-card__name {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  color: #111827 !important;
}

.sp-page .sp-user-card .sp-user-card__meta {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 13px !important;
  text-transform: none !important;
  color: #94a3b8 !important;
}

/* CV Builder sidebar */
.cv1-page .cv1-sidebar__title,
.cv1-page p.cv1-sidebar__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  color: #111827 !important;
}

.cv1-page .cv1-sidebar__desc {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-size: 14px !important;
  text-transform: none !important;
  color: #64748b !important;
}

.cv1-page .cv1-sidebar__stat-label,
.cv1-page .cv1-sidebar__stat-val,
.cv1-page .cv1-sidebar__btn {
  text-transform: none !important;
}

.cv1-page .cv1-sidebar__stat-val--total {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  color: #1e88c5 !important;
}

/* CV Builder main panel */
.cv1-page .cv1-panel__head-title,
.cv1-page p.cv1-panel__head-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  color: #111827 !important;
}

.cv1-page .cv1-cv-card__name {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  color: #111827 !important;
}

.cv1-page .cv1-cv-card__date,
.cv1-page .cv1-cv-card__manage,
.cv1-page .cv1-cv-card__action {
  text-transform: none !important;
}

/* CV Upload page */
.cvup-page .cvup-header__title,
.cvup-page p.cvup-header__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  color: #ffffff !important;
}

.cvup-page .cvup-header__sub,
.cvup-page .cvup-dropzone__sub,
.cvup-page .cvup-info__item,
.cvup-page .cvup-back,
.cvup-page .cvup-submit,
.cvup-page .cvup-dropzone__btn {
  text-transform: none !important;
}

.cvup-page .cvup-dropzone__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  color: #111827 !important;
}

/* Wallet page */
.wallet-page .wallet-hero-amount,
.wallet-page .wallet-card-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  text-transform: none !important;
}

.wallet-page .wallet-hero-label,
.wallet-page .wallet-filter-label,
.wallet-page .wallet-table thead th,
.wallet-page .wallet-table tbody td,
.wallet-page .wallet-btn,
.wallet-page .wallet-badge,
.wallet-page .wallet-date {
  text-transform: none !important;
}

.wallet-page .wallet-table .wallet-amount {
  font-family: 'Inter', 'Outfit', system-ui, sans-serif !important;
  font-weight: 700 !important;
}

/* Offer orders page */
.or1-page .or1-panel__head-title,
.or1-page p.or1-panel__head-title,
.or1-page .or1-sidebar__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  text-transform: none !important;
}

.or1-page .or1-panel__head-sub,
.or1-page .or1-tab,
.or1-page .or1-sidebar__desc,
.or1-page .or1-sidebar__link {
  text-transform: none !important;
}

.or1-page .or1-offer-provider__name,
.or1-page .or1-offer-price__value,
.or1-page .or1-offer-service__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  text-transform: none !important;
}

.or1-page .or1-offer-service__receiver,
.or1-page .or1-offer-service__receiver-label {
  text-transform: none !important;
}

.or1-page .or1-offer-provider__label,
.or1-page .or1-offer-price__label,
.or1-page .or1-offer-info-box__label,
.or1-page .or1-offer-info-box__value,
.or1-page .or1-offer-card__header-title,
.or1-page .or1-schedule__header,
.or1-page .or1-schedule-table thead th,
.or1-page .or1-schedule-table tbody td,
.or1-page .or1-btn {
  text-transform: none !important;
}
