/* Final theme refinements: site-wide typography, WordPress-managed primary menu, and service detail layout. */
/* IranSans is preferred when its licensed font files are available; the theme's bundled IRANYekanX is the dependable fallback. */
html, body, body *, body [class*="lmp-"], body [class*="lmp-"] *, input, button, select, textarea {
  font-family: "IRANSans", "IRANSansWeb", "IRANSansX", "IRANYekanX", "IRANYekan", Tahoma, Arial, sans-serif !important;
}
body .lmp-v2-main-menu,
body .lmp-v2-main-menu * { box-sizing: border-box; }
body .lmp-v2-main-menu {
  display: flex; align-items: center; justify-content: center; gap: 2px;
  list-style: none; padding: 0; margin: 0; min-width: 0;
}
body .lmp-v2-main-menu > li { list-style: none; position: relative; margin: 0; padding: 0; }
body .lmp-v2-main-menu > li > a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 10px; border-radius: 10px; color: #38565e;
  text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.7;
  white-space: nowrap; transition: background .18s ease, color .18s ease;
}
body .lmp-v2-main-menu > li > a:hover,
body .lmp-v2-main-menu > li.current-menu-item > a,
body .lmp-v2-main-menu > li.current-menu-ancestor > a {
  background: #eaf8f7; color: #087d89;
}
body .lmp-v2-main-menu .sub-menu {
  display: none; position: absolute; z-index: 1600; top: 100%; right: 0;
  min-width: 190px; margin: 0; padding: 8px; list-style: none;
  background: #fff; border: 1px solid #dcebed; border-radius: 13px;
  box-shadow: 0 14px 35px rgba(8, 53, 62, .12);
}
body .lmp-v2-main-menu li:hover > .sub-menu,
body .lmp-v2-main-menu li:focus-within > .sub-menu { display: block; }
body .lmp-v2-main-menu .sub-menu a { display: block; padding: 9px 11px; border-radius: 8px; color: #38565e; text-decoration: none; font-size: 13px; }
body .lmp-v2-main-menu .sub-menu a:hover { background: #eaf8f7; color: #087d89; }

.lmp-service-detail-v2 { background: #f4f9f9; color: #173c45; }
.lmp-service-v2-hero { padding: 22px 0 44px; background: radial-gradient(circle at 12% 15%, rgba(0,204,204,.15), transparent 32%), linear-gradient(135deg,#073944 0%,#087d89 62%,#0da6a7 100%); color: #fff; }
.lmp-service-v2-breadcrumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.9; }
.lmp-service-v2-breadcrumb a { color: #fff; text-decoration: none; }
.lmp-service-v2-breadcrumb a:hover { text-decoration: underline; }
.lmp-service-v2-hero-content { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 35px; }
.lmp-service-v2-title-block { max-width: 760px; }
.lmp-service-v2-eyebrow { display: inline-flex; padding: 7px 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); border-radius: 999px; color: #d5ffff; font-size: 13px; font-weight: 700; }
.lmp-service-v2-title-block h1 { margin: 15px 0 12px; color: #fff; font-size: clamp(30px,4vw,46px); line-height: 1.45; font-weight: 900; }
.lmp-service-v2-title-block p { margin: 0; color: #d9f1f2; font-size: 16px; line-height: 2; }
.lmp-service-v2-icon { flex: 0 0 112px; width: 112px; height: 112px; display: grid; place-items: center; border-radius: 30px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.lmp-service-v2-icon svg { width: 52px; height: 52px; max-width: 100%; }
.lmp-service-v2-body { padding: 34px 0 70px; }
.lmp-service-v2-article { max-width: 1000px; margin: 0 auto; padding: clamp(22px,4vw,48px); background: #fff; border: 1px solid #dfebed; border-radius: 24px; box-shadow: 0 18px 55px rgba(10,59,68,.07); }
.lmp-service-v2-article-head { display: flex; align-items: center; gap: 16px; padding-bottom: 24px; margin-bottom: 26px; border-bottom: 1px solid #e7eff0; }
.lmp-service-v2-article-mark { width: 5px; align-self: stretch; min-height: 48px; border-radius: 10px; background: linear-gradient(180deg,#00cccc,#087d89); }
.lmp-service-v2-overline { display: block; margin-bottom: 4px; color: #078b93; font-size: 13px; font-weight: 800; }
.lmp-service-v2-article-head h2 { margin: 0; color: #103e48; font-size: clamp(22px,3vw,30px); line-height: 1.5; font-weight: 900; }
.lmp-service-v2-prose { color: #415d64; font-size: 16px; line-height: 2.15; overflow-wrap: anywhere; }
.lmp-service-v2-prose > *:first-child { margin-top: 0; }
.lmp-service-v2-prose h2,.lmp-service-v2-prose h3,.lmp-service-v2-prose h4 { color: #103e48; line-height: 1.65; margin-top: 1.7em; }
.lmp-service-v2-prose h2 { font-size: 24px; }
.lmp-service-v2-prose h3 { font-size: 21px; }
.lmp-service-v2-prose p,.lmp-service-v2-prose li { font-size: 16px; line-height: 2.15; }
.lmp-service-v2-prose ul,.lmp-service-v2-prose ol { padding-inline-start: 1.5em; }
.lmp-service-v2-prose a { color: #087d89; text-underline-offset: 3px; }
.lmp-service-v2-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.lmp-service-v2-prose blockquote { margin-inline: 0; padding: 14px 18px; border-right: 4px solid #00b9bd; border-radius: 10px; background: #f0fafa; }
.lmp-service-v2-article-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; padding-top: 22px; border-top: 1px solid #e7eff0; color: #71858b; font-size: 14px; }
.lmp-service-v2-article-footer a,.lmp-service-v2-back { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 16px; border-radius: 12px; background: #087d89; color: #fff !important; text-decoration: none; font-weight: 800; }
.lmp-service-v2-article-footer a:hover,.lmp-service-v2-back:hover { background: #06656f; }
.lmp-service-v2-back-row { max-width: 1000px; margin: 20px auto 0; display: flex; justify-content: flex-start; }
.lmp-service-v2-back { background: #fff; color: #087d89 !important; border: 1px solid #cfe5e7; }
.lmp-service-v2-back:hover { color: #fff !important; }
@media (max-width: 1050px) {
  body .lmp-v2-main-menu > li > a { padding-inline: 7px; font-size: 12px; }
}
@media (max-width: 780px) {
  body .lmp-v2-header .lmp-v2-main-menu { display: none; }
  .lmp-service-v2-hero { padding-bottom: 32px; }
  .lmp-service-v2-hero-content { padding-top: 24px; align-items: flex-start; }
  .lmp-service-v2-icon { flex-basis: 76px; width: 76px; height: 76px; border-radius: 22px; }
  .lmp-service-v2-icon svg { width: 36px; height: 36px; }
  .lmp-service-v2-title-block p { font-size: 14px; }
  .lmp-service-v2-body { padding-top: 22px; }
  .lmp-service-v2-article { border-radius: 18px; }
  .lmp-service-v2-article-footer { align-items: stretch; flex-direction: column; }
  .lmp-service-v2-article-footer a { width: 100%; box-sizing: border-box; }
}
@media (max-width: 480px) {
  .lmp-service-v2-hero-content { gap: 14px; }
  .lmp-service-v2-icon { flex-basis: 58px; width: 58px; height: 58px; border-radius: 16px; }
  .lmp-service-v2-icon svg { width: 28px; height: 28px; }
  .lmp-service-v2-title-block h1 { font-size: 27px; }
  .lmp-service-v2-prose,.lmp-service-v2-prose p,.lmp-service-v2-prose li { font-size: 15px; }
}
