@charset "UTF-8";
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #0b1b33;
  --muted: #5b6b82;
  --border: #e2e8f1;
  --primary: #1560ff;
  --primary-dark: #0f4ad1;
  --primary-soft: #e8f0ff;
  --ink: #0b1b33;
  --footer: #0c0834;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .04), 0 12px 32px -12px rgba(11, 27, 51, .14);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazirmatn", system-ui, sans-serif;
  font-feature-settings: "ss01";
  line-height: 1.9;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -0.25em; }
.ltr { direction: ltr; unicode-bidi: isolate; }
:focus-visible { outline: 3px solid rgba(21, 96, 255, .45); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 20px; border-radius: 12px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:hover { text-decoration: none; }
.btn-lg { min-height: 50px; padding: 0 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(21, 96, 255, .55); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--primary); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-soft { background: var(--primary-soft); color: var(--primary-dark); }
.btn-soft:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--primary-soft); color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* Top bar */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-end { display: flex; align-items: center; gap: 4px; }
.topbar a { color: rgba(255, 255, 255, .85); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; text-decoration: none; }
.topbar-phone { margin-inline-end: 10px; font-weight: 600; }
.topbar-social { width: 30px; height: 30px; justify-content: center; border-radius: 8px; }
.topbar-social:hover { background: rgba(255, 255, 255, .1); }
.topbar .icon { width: 17px; height: 17px; }

/* Header */
:root { --hdr-h: 76px; --hdr-bg: #131b60; }
/* Pages with a coloured hero: the header takes the hero's main colour (landing themes set --hero-a on the body). */
body:has(.lp-hero[class*="lp-hero--"]) { --hdr-bg: var(--hero-a, #131b60); }
@supports (color: color-mix(in srgb, red, blue)) {
  body:has(.lp-hero[class*="lp-hero--"]) { --hdr-bg: color-mix(in srgb, var(--hero-a, #131b60) 72%, var(--hero-b, #131b60)); }
}
.site-header {
  position: sticky; top: 0; z-index: 50; color: #fff;
  background: var(--hdr-bg); border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 32px -16px rgba(3, 8, 32, .6); }
/*
 * A hero right at the top of the page: the header lies over it, see-through,
 * so header and hero read as one piece (the hero makes room for it: landing.css,
 * home.css). Once the page scrolls it turns solid in the same colour.
 */
body:has(.site-main > .hm-hero:first-child, .site-main > .lp-content:first-child > .lp-hero[class*="lp-hero--"]:first-child, .site-main > .lp-content:first-child > .lp-crumbs:first-child + .lp-hero[class*="lp-hero--"]) {
  --hdr-over: 1;
}
body:has(.site-main > .hm-hero:first-child, .site-main > .lp-content:first-child > .lp-hero[class*="lp-hero--"]:first-child, .site-main > .lp-content:first-child > .lp-crumbs:first-child + .lp-hero[class*="lp-hero--"]) .site-header:not(.is-scrolled):not(:has(.main-nav.is-open)) {
  background: transparent; border-bottom-color: rgba(255, 255, 255, .1);
}
body:has(.site-main > .hm-hero:first-child, .site-main > .lp-content:first-child > .lp-hero[class*="lp-hero--"]:first-child, .site-main > .lp-content:first-child > .lp-crumbs:first-child + .lp-hero[class*="lp-hero--"]) .site-header {
  margin-bottom: calc(-1 * var(--hdr-h));
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--hdr-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.3rem; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { display: block; height: 44px; width: auto; }
.brand img.is-auto-light { filter: brightness(0) invert(1); }
.site-header .brand-triangle { color: #fff; }
.brand-triangle { width: 46px; height: auto; color: #1622c0; flex-shrink: 0; display: block; }
.footer-brand .brand-triangle { color: #fff; width: 40px; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.header-login .icon { width: 20px; height: 20px; }

.main-nav { flex: 1; display: flex; align-items: center; }
.nav-head, .nav-login { display: none; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.menu-item { position: relative; display: flex; align-items: center; }
.menu-item > a, .menu-parent {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 10px;
  color: var(--ink); font: inherit; font-weight: 600; font-size: .93rem; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.menu-item > a:hover, .menu-parent:hover, .menu-item:focus-within > a, .menu-item.is-active > a, .menu-item.is-active > .menu-parent { color: var(--primary); text-decoration: none; background: var(--primary-soft); }
.submenu-toggle, .submenu-caret { display: inline-flex; align-items: center; background: none; border: 0; padding: 4px; margin-inline-start: -4px; color: var(--muted); cursor: pointer; }
/* A parent that is also a link: its arrow button sits inside the link's highlighted pill, like the other parents. */
.has-children > a { padding-inline-end: 30px; }
.has-children > a + .submenu-toggle { position: relative; margin-inline-start: -30px; border-radius: 8px; }
.menu-item:hover > .submenu-toggle, .menu-item:hover > .submenu-caret, .menu-item:focus-within > .submenu-toggle,
.menu-item.is-active > .submenu-toggle, .menu-item.is-active > .submenu-caret { color: var(--primary); }
.has-children > .menu-parent + .submenu-caret { margin-inline-start: -30px; pointer-events: none; }
/* The arrow is narrower than the room it takes inside the pill: this keeps the pill within its item, so neighbouring highlights never touch. */
@media (min-width: 1101px) { .has-children > .menu-parent + .submenu-caret, .has-children > a + .submenu-toggle { margin-inline-end: 6px; } }
.has-children > .menu-parent { padding-inline-end: 30px; }
.submenu-toggle .icon, .submenu-caret .icon { width: 16px; height: 16px; transition: transform .2s; }
.submenu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 240px; color: var(--ink);
  background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.submenu a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; color: var(--ink); font-size: .92rem; }
.submenu a:hover, .submenu a[aria-current] { background: var(--primary-soft); color: var(--primary); text-decoration: none; }
.submenu-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); transition: background .15s; }
.submenu-icon .icon { width: 18px; height: 18px; }
.submenu-icon.is-flag { background: #f1f5f9; }
.submenu-icon .icon-flag { width: 21px; height: 14px; border-radius: 3px; overflow: hidden; }
.submenu a:hover .submenu-icon, .submenu a[aria-current] .submenu-icon { background: #fff; }
@media (min-width: 1101px) {
  .has-children:hover > .submenu, .has-children:focus-within > .submenu, .has-children.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
  .has-children:hover .submenu-toggle .icon, .has-children:hover .submenu-caret .icon { transform: rotate(180deg); }
  .has-children:hover > a, .has-children:hover > .menu-parent { color: var(--primary); background: var(--primary-soft); }
  /* While the mouse is on the menu, only the item under it shows its panel. */
  .menu:hover > .has-children:not(:hover) > .submenu { opacity: 0; visibility: hidden; }

  /* Light text on the dark header; the drop-down panels stay white. */
  .site-header .menu-item > a, .site-header .menu-parent { color: rgba(255, 255, 255, .88); }
  .site-header .submenu-toggle, .site-header .submenu-caret { color: rgba(255, 255, 255, .6); }
  .site-header .menu-item > a:hover, .site-header .menu-parent:hover, .site-header .menu-item:focus-within > a,
  .site-header .has-children:hover > a, .site-header .has-children:hover > .menu-parent, .site-header .has-children.is-open > a, .site-header .has-children.is-open > .menu-parent {
    color: #fff; background: rgba(255, 255, 255, .12);
  }
  .site-header .menu-item.is-active > a, .site-header .menu-item.is-active > .menu-parent { color: #fff; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
  .site-header .menu-item:hover > .submenu-toggle, .site-header .menu-item:hover > .submenu-caret, .site-header .menu-item:focus-within > .submenu-toggle,
  .site-header .menu-item.is-active > .submenu-toggle, .site-header .menu-item.is-active > .submenu-caret { color: #fff; }
  .site-header .menu-item > a:focus-visible, .site-header .menu-parent:focus-visible, .site-header .submenu-toggle:focus-visible { outline: 2px solid rgba(255, 255, 255, .8); outline-offset: 2px; }
}
/* Sign-in: a white button carrying the header colour, so it suits every hero. */
.site-header .header-login { background: #fff; color: var(--hdr-bg); border-color: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.site-header .header-login:hover { background: rgba(255, 255, 255, .88); color: var(--hdr-bg); }
/* Drop-down panel (mega menu): drawn tiles, a line of description, and a side panel with a scene. */
.mega { padding: 0; }
.mega-items { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; align-content: start; }
.mega-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--ink); transition: background .15s; }
.submenu a.mega-item { padding: 9px 10px; gap: 12px; font-size: inherit; }
.mega-item .ma { flex: none; width: 46px; height: 46px; transition: transform .2s ease; }
.mega-item:hover, .mega-item[aria-current] { background: #f3f7ff; text-decoration: none; }
.submenu a.mega-item:hover, .submenu a.mega-item[aria-current] { background: #f3f7ff; color: var(--ink); }
.mega-item:hover .ma { transform: translateY(-2px) rotate(-3deg); }
.mega-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega-text b { font-weight: 700; font-size: .93rem; line-height: 1.5; }
.mega-item:hover .mega-text b, .mega-item[aria-current] .mega-text b { color: var(--primary); }
.mega-text small { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.mega-side { display: none; }
@media (min-width: 1101px) {
  .header-inner { position: relative; }
  .menu-item.has-children { position: static; }
  .mega {
    top: calc(100% - 6px); inset-inline-start: 50%; transform: translate(50%, 8px); width: max-content; max-width: min(860px, calc(100vw - 32px));
    display: flex; border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(11, 27, 51, .28), 0 2px 6px rgba(11, 27, 51, .05);
    transition: opacity .18s, transform .18s, visibility 0s linear .18s;
  }
  [dir="ltr"] .mega { transform: translate(-50%, 8px); }
  .mega::before { inset: -22px 0 auto; height: 22px; }
  .has-children:hover > .mega, .has-children:focus-within > .mega, .has-children.is-open > .mega { transform: translate(50%, 0); transition-delay: 0s; }
  [dir="ltr"] .has-children:hover > .mega, [dir="ltr"] .has-children:focus-within > .mega, [dir="ltr"] .has-children.is-open > .mega { transform: translate(-50%, 0); }
  .mega-items { width: 300px; padding: 14px; }
  .mega.is-wide .mega-items { width: 580px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 6px; }
  .mega.has-side .mega-side {
    display: flex; flex-direction: column; width: 250px; padding: 18px; margin: 8px; margin-inline-start: 0; border-radius: 14px;
    background: linear-gradient(160deg, #f5f8ff 0%, #eaf1ff 100%); border: 1px solid #e3ebfb;
  }
  .ma-scene { width: 100%; height: auto; display: block; margin-bottom: 10px; }
  .mega-side-title { font-size: 1rem; font-weight: 800; color: var(--ink); }
  .mega-side p { margin: 6px 0 14px; color: var(--muted); font-size: .82rem; line-height: 1.8; }
  .mega-side-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
  .mega-side-actions .btn { justify-content: center; }
  .mega-side-actions .btn .icon { width: 16px; height: 16px; }
  .mega-phone { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink); font-weight: 700; font-size: .9rem; }
  .mega-phone .icon { width: 17px; height: 17px; color: var(--primary); }
  .mega-phone:hover { color: var(--primary); text-decoration: none; }
}
@media (max-width: 1100px) {
  .mega-items { padding: 4px 0; }
  .mega-item { padding: 7px 6px; gap: 10px; }
  .mega-item .ma { width: 38px; height: 38px; }
  .mega-text b { font-size: .9rem; }
  .mega-text small { font-size: .74rem; }
}
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; align-items: center; justify-content: center; transition: background .15s; }
.nav-toggle:hover { background: rgba(255, 255, 255, .16); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-close { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(11, 27, 51, .45); z-index: 60; }

@media (max-width: 1100px) {
  /* backdrop-filter would trap the fixed drawer inside the header */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 70; width: min(340px, 88vw);
    flex-direction: column; align-items: stretch; background: #fff; color: var(--ink); padding: 16px; overflow-y: auto;
    transform: translateX(105%); transition: transform .25s ease, visibility .25s; visibility: hidden;
  }
  .main-nav.is-open { transform: none; visibility: visible; box-shadow: 0 0 40px rgba(11, 27, 51, .25); }
  .nav-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--border); font-weight: 800; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-item { flex-wrap: wrap; }
  .menu-item > a, .menu-parent { flex: 1; padding: 12px; }
  .has-children > .menu-parent, .has-children > a { padding-inline-end: 12px; }
  .has-children > a + .submenu-toggle { margin-inline-start: 0; }
  .submenu-toggle, .submenu-caret { width: 44px; height: 44px; justify-content: center; margin: 0; }
  .has-children > .menu-parent + .submenu-caret { margin-inline-start: -44px; }
  .submenu { position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; border-inline-start: 2px solid var(--primary-soft); border-radius: 0; margin: 0 12px 8px; padding: 0 8px 0 0; opacity: 1; visibility: visible; transform: none; display: none; transition: none; }
  .has-children.is-open > .submenu { display: block; }
  .has-children.is-open .submenu-toggle .icon, .has-children.is-open .submenu-caret .icon { transform: rotate(180deg); }
  .nav-login { display: flex; margin-top: 16px; }
}
@media (max-width: 640px) {
  .topbar-text { display: none; }
  .topbar-inner { justify-content: center; }
  :root { --hdr-h: 64px; }
  .header-inner { gap: 12px; }
  .brand img { height: 38px; }
  .header-login span { display: none; }
  .header-login { width: 44px; padding: 0; }
}
body.nav-open { overflow: hidden; }

.site-main { padding: 32px 0 56px; flex: 1; }
.is-home .site-main { padding: 0; }

/* Footer */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, .72); font-size: .93rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 14px; }
.footer-brand:hover { text-decoration: none; }
.footer-brand img { height: 40px; width: auto; display: block; }
.footer-title { color: #fff; font-size: 1.05rem; margin: 0 0 8px; }
.footer-text { line-height: 2; }
.footer-text a, .footer-note { color: #fff; }
.footer-note { font-weight: 600; margin: 10px 0 0; }
.footer-badges { display: flex; gap: 12px; margin-top: 18px; }
.enamad { display: inline-flex; background: #fff; border-radius: 12px; padding: 6px; }
.enamad img { display: block; width: auto; height: auto; max-width: 125px; max-height: 140px; object-fit: contain; }
.footer-heading { color: #fff; font-size: 1rem; margin: 0 0 14px; position: relative; padding-bottom: 10px; }
.footer-heading::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--primary); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-col a { color: rgba(255, 255, 255, .72); }
.footer-col a:hover { color: #fff; text-decoration: none; }
.contact-list a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.support-box { margin-top: 18px; padding: 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.support-box strong { color: #fff; }
.support-box p { margin: 4px 0 12px; font-size: .88rem; }
.support-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.support-actions .btn { min-height: 38px; padding: 0 14px; font-size: .88rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 60px; font-size: .85rem; }
.footer-socials { display: flex; gap: 6px; }
.footer-socials a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .07); color: #fff; }
.footer-socials a:hover { background: var(--primary); }
.footer-socials .icon { width: 18px; height: 18px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .footer-bottom-inner { justify-content: center; text-align: center; padding: 14px 16px; }
}

/* Single */
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .sep { margin: 0 6px; }
.entry { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.entry-header h1 { font-size: 1.9rem; line-height: 1.5; margin: 0 0 8px; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.chip { display: inline-block; background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 0 12px; font-size: .85rem; }
.entry-featured { margin: 0 0 24px; }
.entry-featured img { border-radius: 10px; display: block; margin-inline: auto; }
.entry-content { font-size: 1.05rem; overflow-wrap: anywhere; }
.post-offer { display: flex; align-items: center; gap: 18px; margin: 2.2em 0 1em; padding: 20px 22px; border-radius: 16px; background: linear-gradient(135deg, var(--primary-soft), #f4f0ff); border: 1px solid #d6e2ff; }
.post-offer-text { flex: 1 1 auto; min-width: 0; }
.post-offer-text strong { display: block; font-size: 1.1rem; color: var(--primary-dark); margin-bottom: 4px; }
.post-offer-text p { margin: 0; color: var(--muted, #5b6b82); font-size: .95rem; line-height: 1.9; }
.post-offer .btn { flex: none; white-space: nowrap; }
.entry-content .post-offer-inline { display: flex; align-items: flex-start; gap: 8px; margin: 1.6em 0; padding: 10px 14px; border-radius: 12px; background: var(--primary-soft); border-inline-start: 4px solid var(--primary); font-size: .95rem; line-height: 1.9; }
.entry-content .post-offer-inline .icon { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--primary); }
.entry-content .post-offer-inline a { font-weight: 700; }
@media (max-width: 640px) { .post-offer { flex-direction: column; align-items: stretch; text-align: center; } }
.entry-content h2 { font-size: 1.45rem; margin: 2em 0 .6em; line-height: 1.6; }
.entry-content h3 { font-size: 1.2rem; margin: 1.6em 0 .5em; }
.entry-content img { border-radius: 8px; }
.entry-content figure { margin: 1.5em 0; }
.entry-content figcaption { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 6px; }
.entry-content blockquote { margin: 1.5em 0; padding: 12px 20px; border-inline-start: 4px solid var(--primary); background: var(--primary-soft); border-radius: 8px; }
.entry-content pre { direction: ltr; text-align: left; background: #0f172a; color: #e2e8f0; padding: 16px; border-radius: 8px; overflow-x: auto; }
.entry-content code { direction: ltr; unicode-bidi: isolate; font-feature-settings: normal; }
.entry-content .table-wrap { overflow-x: auto; margin: 1.5em 0; }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td { border: 1px solid var(--border); padding: 8px 12px; }
.entry-content th { background: var(--bg); }
.entry-content .alignleft { float: left; margin: 0 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: 0 0 1em 1.5em; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
.entry-content iframe { max-width: 100%; border: 0; border-radius: 8px; }
.up-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 1.5em 0; }
.up-gallery figure { margin: 0; }
.up-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.preview-bar { background: #fff4e5; color: #8a4b00; text-align: center; padding: 8px; margin: -32px 0 24px; font-size: .9rem; }

/* Lists */
.archive-header { margin-bottom: 24px; }
.archive-header h1 { margin: 0 0 4px; font-size: 1.8rem; }
.related { margin-top: 40px; }
.related h2 { font-size: 1.3rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cards .card, .related .card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-image img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.05rem; line-height: 1.7; }
.card-body h3 a { color: var(--text); }
.card-body p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.card-body time { color: var(--muted); font-size: .8rem; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span { min-width: 40px; padding: 4px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); text-align: center; }
.pagination span[aria-current] { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 404 */
.not-found { text-align: center; padding: 40px 16px; }
.not-found .code { font-size: 4rem; font-weight: 800; color: var(--primary); margin: 0; }
.button { display: inline-block; background: var(--primary); color: #fff; padding: 8px 22px; border-radius: 10px; }
.button:hover { text-decoration: none; opacity: .9; }

@media (max-width: 640px) {
  .entry { padding: 20px 16px; border-radius: 0; border-inline: 0; }
  .entry-header h1 { font-size: 1.5rem; }
  .site-main { padding-top: 16px; }
  .preview-bar { margin: -20px 0 16px; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 1em auto; display: block; }
}
.footer-col .btn-light, .footer-col .btn-light:hover { color: var(--ink); }
.footer-col .btn-outline-light { color: #fff; }

/* Content blocks — classes usable inside posts and pages (editor HTML) */
.entry-content .up-lead { font-size: 1.1rem; color: #33435c; }
.entry-content ul.up-chips { list-style: none; padding: 0; margin: 1.5em 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.up-chips li { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--primary-soft); border: 1px solid rgba(21, 96, 255, .15); font-weight: 600; color: var(--ink); text-align: center; font-size: .95rem; }
.entry-content .up-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; margin: 1.5em 0 2em; }
.up-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px 20px 18px; transition: transform .2s, box-shadow .2s; }
.up-plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.up-plan.is-featured { border: 2px solid var(--primary); box-shadow: 0 18px 40px -20px rgba(21, 96, 255, .45); }
.up-plan .up-plan-code { align-self: flex-start; font-size: .75rem; font-weight: 700; color: var(--primary-dark); background: var(--primary-soft); padding: 0 10px; border-radius: 6px; direction: ltr; }
.entry-content .up-plan h3 { margin: 10px 0 0; font-size: 1.1rem; }
.entry-content .up-plan .up-plan-price { margin: 8px 0 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--border); color: var(--muted); font-size: .85rem; }
.up-plan-price strong { font-size: 1.55rem; font-weight: 900; color: var(--ink); margin-inline-end: 4px; }
.entry-content .up-plan ul { list-style: none; padding: 0; margin: 0 0 16px; flex: 1; }
.entry-content .up-plan li, .entry-content ul.up-checks li { position: relative; padding-inline-start: 26px; margin: 0 0 8px; font-size: .92rem; }
.entry-content .up-plan li::before, .entry-content ul.up-checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 17px; height: 17px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231560ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.8 2.6L12 5.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.entry-content .up-plan .up-plan-cta { margin: 0; }
.up-plan-cta a, .entry-content a.up-btn { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 700; text-decoration: none; }
.up-plan-cta a:hover, .entry-content a.up-btn:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }
.up-plan:not(.is-featured) .up-plan-cta a { background: var(--primary-soft); color: var(--primary-dark); }
.up-plan:not(.is-featured) .up-plan-cta a:hover { background: var(--primary); color: #fff; }
.entry-content a.up-btn { display: inline-flex; }
.entry-content ul.up-checks { list-style: none; padding: 0; margin: 1.2em 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px 24px; }
.entry-content ul.up-checks li { margin: 0; padding-top: 10px; padding-bottom: 10px; padding-inline-end: 14px; background: var(--bg); border-radius: 12px; padding-inline-start: 40px; }
.entry-content ul.up-checks li::before { inset-inline-start: 12px; top: 1.05em; }
.entry-content details.up-specs, .entry-content .up-faq details { border: 1px solid var(--border); border-radius: 14px; background: #fff; margin: 0 0 12px; }
.entry-content details.up-specs > summary, .entry-content .up-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.entry-content details > summary::-webkit-details-marker { display: none; }
.entry-content details.up-specs > summary::after, .entry-content .up-faq summary::after { content: ""; width: 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; flex-shrink: 0; margin-top: -4px; }
.entry-content details[open].up-specs > summary::after, .entry-content .up-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.entry-content details.up-specs .table-wrap { margin: 0; padding: 0 12px 12px; }
.entry-content details.up-specs td:first-child { width: 42%; font-weight: 700; color: #123a63; background: var(--primary-soft); }
.entry-content .up-faq details > *:not(summary) { margin: 0; padding: 0 18px 14px; color: #33435c; }
@media (max-width: 640px) { .entry-content ul.up-checks { grid-template-columns: 1fr; } }
.entry-content figure img { display: block; margin-inline: auto; height: auto; }
.entry-content .post-cover { margin-top: 0; }

/* "Edit" button shown to a signed-in admin (site.js) */
.up-edit-link {
  position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 50;
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: var(--ink); color: #fff; font-size: 14px; font-weight: 700;
  text-decoration: none; box-shadow: 0 8px 24px -6px rgba(11, 27, 51, .45);
  transition: background .15s, transform .15s;
}
.up-edit-link:hover, .up-edit-link:focus-visible { background: var(--primary); color: #fff; transform: translateY(-2px); }
@media print { .up-edit-link { display: none; } }

/* Account menu of a signed-in customer (assets/site/site.js) */
.acct { position: relative; }
.acct-toggle span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 200px; background: var(--surface, #fff); border: 1px solid var(--border, #e5e7eb); border-radius: 14px; box-shadow: 0 16px 40px rgba(15, 23, 42, .14); padding: 6px; z-index: 60; }
.acct-item { display: block; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--ink, #0f172a); text-decoration: none; font: inherit; font-size: .92rem; text-align: start; background: none; border: 0; cursor: pointer; }
.acct-item:hover { background: var(--bg, #f1f5f9); text-decoration: none; }
.acct-item.is-logout { color: #dc2626; border-top: 1px solid var(--border, #e5e7eb); border-radius: 0 0 10px 10px; margin-top: 4px; }
.acct-drawer { display: none; }
@media (max-width: 1100px) {
  .acct-drawer { display: block; margin-top: 16px; }
  .acct-drawer .acct-toggle { width: 100%; justify-content: center; }
  .acct-drawer .acct-menu { position: static; box-shadow: none; margin-top: 8px; }
}
@media (max-width: 640px) {
  .header-actions .acct-toggle span { display: none; }
  .header-actions .acct-toggle { width: 44px; padding: 0; }
}
/* Why a plan shortcode shows nothing (admins only; site.js reveals it). */
.upc-hint { margin: 1rem 0; padding: .75rem 1rem; border: 1px dashed #e0a100; border-radius: .5rem; background: #fff8e1; color: #6b4e00; font-size: .9rem; }
.upc-hint b { font-weight: 700; }
