/* Focused September refinement. No price, booking or roadmap business rules. */
.single-exam-feedback { padding:12px 16px; border:1px solid #e3ad55; border-radius:12px; background:#fff6e6; color:#643b08; font-size:13px; line-height:1.95; text-align:right; }
.single-exam-feedback[hidden], #singleExamReload[hidden] { display:none; }
.single-exam-start-feedback { margin-top:16px; }
.single-exam-save-status { min-height:24px; color:#296847; font-size:12px; line-height:1.9; }
.single-exam-save-status.is-pending { color:#885518; }
.mrtax-icon { display:inline-block; width:1.25rem; height:1.25rem; flex:none; vertical-align:middle; }
#header .site-header-shell { width:100%; }
@media (min-width:1024px) {
  #header .site-header-shell { max-width:1440px; padding-inline:40px; }
}
#header .site-header-row { position:relative; }
#header .site-primary-nav { gap:2px; align-self:stretch; }
#header .site-primary-nav > .nav-link,
#header .site-primary-nav > .nav-dropdown > .nav-link { position:relative; display:inline-flex; align-items:center; justify-content:center; min-height:64px; padding-inline:10px; color:#263a4c; font-size:13px; font-weight:700; line-height:1.7; white-space:nowrap; transition:color .22s ease,background-color .22s ease; }
#header .site-primary-nav > .nav-link::after,
#header .site-primary-nav > .nav-dropdown > .nav-link::after { right:10px; bottom:7px; width:calc(100% - 20px); height:2px; background:linear-gradient(90deg,#f7bd63,#fba830); transform:scaleX(0); transform-origin:right center; transition:transform .28s cubic-bezier(.22,1,.36,1); }
#header .site-primary-nav > .nav-link:hover,
#header .site-primary-nav > .nav-dropdown > .nav-link:hover,
#header .site-primary-nav > .nav-dropdown.open > .nav-link { color:#0167ad; background:#f4f8fb; }
#header .site-primary-nav > .nav-link:hover::after,
#header .site-primary-nav > .nav-dropdown.open > .nav-link::after { width:calc(100% - 20px); transform:scaleX(1); }
#header .nav-dropdown { position:static; }
#header .nav-dropdown-trigger { min-height:44px; gap:5px; }
#header .nav-dropdown-trigger > svg { width:14px; height:14px; transition:transform .3s cubic-bezier(.22,1,.36,1),opacity .2s ease; }
#header .nav-dropdown-trigger[aria-expanded="true"] { color:#0167ad; }
#header .nav-dropdown-trigger[aria-expanded="true"] > svg { transform:rotate(180deg); }
#header .nav-dropdown-panel { top:calc(100% + 8px); right:50%; width:min(720px,calc(100vw - 48px)); min-width:0; padding:0; overflow:hidden; border:1px solid #d8e4ee; border-radius:22px; background:rgba(255,255,255,.985); box-shadow:0 28px 72px -22px #04223b4d,0 8px 22px -14px #0167ad33; opacity:0; visibility:hidden; transform:translate(50%,12px) scale(.985); transform-origin:top center; transition:opacity .24s ease,transform .34s cubic-bezier(.22,1,.36,1),visibility 0s linear .34s; will-change:transform,opacity; }
#header .nav-dropdown:hover:not(.open) .nav-dropdown-panel { opacity:0; visibility:hidden; transform:translate(50%,12px) scale(.985); }
#header .nav-dropdown.open .nav-dropdown-panel { opacity:1; visibility:visible; transform:translate(50%,0) scale(1); transition-delay:0s; }
.mega-menu-heading { display:flex; align-items:center; gap:14px; padding:20px 22px; border-bottom:1px solid #e3ebf2; background:radial-gradient(circle at 88% 10%,#fba83018,transparent 34%),linear-gradient(115deg,#f8fbfd,#edf5fb); }
.mega-menu-heading strong { display:block; color:#04223b; font:700 20px/1.7 Morabba,IRANSansX,sans-serif; }
.mega-menu-heading p { margin:2px 0 0; color:#5d7183; font-size:12px; font-weight:500; line-height:1.9; }
.mega-menu-emblem { display:grid; place-items:center; width:46px; height:46px; border:1px solid #ffffff1f; border-radius:14px; background:linear-gradient(145deg,#073858,#04223b); color:#fbb24a; box-shadow:0 10px 24px -14px #04223bcc; flex:none; }
.mega-menu-emblem svg { width:25px; height:25px; }
.mega-menu-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:14px; background:#fff; }
#header .mega-menu-links a { min-width:0; min-height:66px; gap:12px; padding:11px 12px; border:1px solid #edf2f6; border-radius:14px; background:#fff; color:#183248; font-size:13px; font-weight:750; line-height:1.85; transition:transform .24s cubic-bezier(.22,1,.36,1),background-color .2s ease,border-color .2s ease,box-shadow .24s ease,color .2s ease; }
#header .mega-menu-links a:hover { transform:translateY(-2px); background:#f7fbfe; border-color:#cfe0ec; box-shadow:0 10px 24px -18px #04223b66; color:#0167ad; }
.mega-menu-icon { display:grid; place-items:center; width:38px; height:38px; flex:none; border:1px solid #dceaf4; border-radius:11px; background:linear-gradient(145deg,#f5fafe,#eaf4fb); color:#0167ad; transition:background-color .2s ease,color .2s ease,border-color .2s ease; }
#header .mega-menu-links a:hover .mega-menu-icon { border-color:#bed7e8; background:#e6f2fa; }
.mega-menu-arrow { margin-inline-start:auto; color:#8b9eae; transition:transform .24s cubic-bezier(.22,1,.36,1),color .2s ease; }
#header .mega-menu-links a:hover .mega-menu-arrow { color:#f29a18; transform:translateX(-3px); }
#header .site-header-phone { border:1px solid #deebf4; border-radius:11px; background:#f7fbfe; font-size:12px; transition:border-color .2s ease,background-color .2s ease; }
#header .site-header-phone:hover { border-color:#bfd8e9; background:#eef7fc; }
#header :is(a,button):focus-visible { outline:3px solid #0167ad; outline-offset:4px; border-radius:8px; }
.drawer-item-icon .mrtax-icon, .drawer-subitem .mrtax-icon { width:20px; height:20px; }
.drawer-chevron { margin-inline-start:auto; }
body:has(#drawer.open) .mts-widget { visibility:hidden; }
body.home .home-intro-title { line-height:1.75; }
body.home #hero .home-hero-title { display:grid; justify-items:start; width:fit-content; max-width:100%; text-wrap:balance; }
body.home #hero .home-hero-title-intro { position:relative; display:inline-flex; align-items:center; gap:12px; color:#f4f8fb; font-size:.62em; font-weight:650; line-height:1.65; }
body.home #hero .home-hero-title-intro::before { content:""; width:34px; height:3px; flex:none; border-radius:999px; background:linear-gradient(90deg,#ffd18a,#fba830); box-shadow:0 0 18px #fba83055; }
body.home #hero .home-hero-title-main { display:block; margin-top:2px; font-size:1.04em; font-weight:800; line-height:1.45; }
body.home #hero .home-hero-lead { max-width:590px; text-wrap:pretty; }
@media (min-width:768px) {
  body.home #hero .hero-instructor-badge--mobile { display:none !important; }
}
@media (max-width:767px) {
  body.home #hero .hero-instructor-wrap > .hero-instructor-badge { display:none !important; }
  body.home #hero .home-hero-title { justify-items:center; width:100%; }
  body.home #hero .home-hero-title-intro { gap:8px; font-size:.64em; }
  body.home #hero .home-hero-title-intro::before { width:22px; height:2px; }
  body.home #hero .home-hero-title-main { margin-top:0; font-size:1em; line-height:1.55; }
  body.home #hero .home-hero-lead { max-width:24rem; margin-inline:auto; }
}
body.home .home-intro-tagline { display:block; margin-top:5px; font-size:.68em; font-weight:500; line-height:1.9; }
body.home .intro-feature p { line-height:1.95; text-wrap:pretty; }
/* Home introduction only: a larger screen with restrained champagne/navy chrome. */
body.home #intro .home-intro-grid > * { min-width:0; }
body.home #intro .intro-video-frame { isolation:isolate; padding:5px; border:1px solid #e7bd7770; border-radius:28px; background:linear-gradient(135deg,#e5c18a55,#071d32 28%,#103957 72%,#b78b4755); box-shadow:0 32px 64px -28px #010d1cbb,inset 0 1px 0 #fff1; }
body.home #intro .intro-video-frame::before { display:none; }
body.home #intro .intro-video-deco { inset:-18px; border-radius:36px; transform:none; background:radial-gradient(ellipse at 90% 5%,#fba83022,transparent 56%),radial-gradient(ellipse at 10% 95%,#0167ad44,transparent 60%); box-shadow:none; filter:blur(16px); pointer-events:none; }
body.home #intro .intro-video-player.is-premium .intro-video-shell { border-color:#e6c48c40; border-radius:22px; background:#031827; box-shadow:0 0 0 1px #010c1666; }
body.home #intro .intro-video-overlay { background:linear-gradient(180deg,#04223b10,#04223b08 50%,#02122150); }
body.home #intro .intro-video-vignette { background:radial-gradient(ellipse at center,transparent 58%,#02122140); }
body.home #intro .is-premium .intro-video-play-btn { width:72px; height:72px; border-radius:50%; border:1px solid #ffe5b8; color:#04223b; background:linear-gradient(135deg,#ffe7bb,#fbc36d 55%,#fba830); box-shadow:inset 0 2px 2px #fff8,0 10px 28px #00101b55,0 0 0 7px #04223b35,0 0 0 8px #ffdfaa60; }
body.home #intro .intro-video-play-icon { width:26px; height:26px; margin:0 0 0 3px; fill:currentColor; stroke-width:1.5; }
body.home #intro .intro-video-player.is-premium .intro-video-controls { padding:8px 16px 12px; border-top:1px solid #e6c48c35; background:linear-gradient(115deg,#031625,#0b2b43 62%,#071e30); box-shadow:inset 0 1px 0 #ffffff04; }
body.home #intro .mrtax-player-toolbar { gap:8px; }
body.home #intro .mrtax-player-toolbar button { border-color:#b4cad42e; border-radius:12px; background:linear-gradient(135deg,#ffffff0b,#ffffff02); transition:background .2s,border-color .2s; }
body.home #intro .mrtax-player-toolbar button.mrtax-player-toggle { border-color:#ffdda3; background:linear-gradient(135deg,#ffe3b0,#fba830); color:#04223b; box-shadow:inset 0 1px 0 #fff6; }
body.home #intro .mrtax-player-time { font-size:12px; color:#e1ebf2; }
body.home #intro .is-premium :is(button,input):focus-visible { outline:3px solid #ffd793; outline-offset:3px; }
body.home #intro .intro-video-shell:fullscreen,
body.home #intro .intro-video-shell:-webkit-full-screen { border:0; border-radius:0; }
@media (min-width:1024px) {
  body.home #intro .home-intro-grid { grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr); gap:48px; }
}
@media (max-width:767px) {
  body.home #intro .intro-video-frame { padding:3px; border-radius:22px; }
  body.home #intro .intro-video-player.is-premium .intro-video-shell { border-radius:18px; }
  body.home #intro .is-premium .intro-video-play-btn { width:60px; height:60px; }
  body.home #intro .intro-video-player.is-premium .intro-video-controls { padding:6px 10px 10px; }
  body.home #intro .mrtax-player-toolbar { gap:4px; }
  body.home #intro .mrtax-player-time { font-size:10px; }
  body.home #intro .intro-video-shell:fullscreen,
  body.home #intro .intro-video-shell:-webkit-full-screen { border-radius:0; }
}
@media (hover:hover) {
  body.home #intro .is-premium .intro-video-play-btn:hover { transform:scale(1.04); box-shadow:inset 0 2px 2px #fff8,0 14px 32px #00101b66,0 0 0 7px #fba83018,0 0 0 8px #ffdfaa90; }
  body.home #intro .mrtax-player-toolbar button:hover { border-color:#fba83090; background:#fba83020; }
}
@media (prefers-reduced-motion:reduce) {
  body.home #intro .intro-video-play-btn, body.home #intro .mrtax-player-toolbar button { transition:none; }
}
body.home .home-featured-course-copy { height:auto; }
/* Move only home card titles; keep level badges and premium seals in place. */
body.home .home-featured-course .featured-course-overlay-title { text-align:right; }
@media (min-width:1024px) {
  body.home .home-featured-course-copy { height:100%; justify-content:flex-start; }
  body.home .home-featured-course .featured-course-overlay-title { margin-top:auto; }
}
@media (max-width:767px) {
  body.home .home-course-slide .featured-course-overlay-title { width:100%; max-width:none; justify-content:flex-start; align-items:flex-end; }
}
.archive-course-level-badge { position:absolute; z-index:5; top:14px; right:14px; display:inline-flex; align-items:center; gap:7px; max-width:calc(100% - 28px); padding:7px 12px; border:1px solid #ffffff80; border-radius:10px; background:#ffffffed; color:#04223b; box-shadow:0 4px 20px #04223b22; font-size:12px; font-weight:800; line-height:1.9; }
.archive-course-level-badge svg { width:18px; height:18px; }
.archive-featured-course .featured-course-overlay-price { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; font-family:IRANSansX,sans-serif; font-size:12px; line-height:2.1; }
.archive-featured-course .featured-course-price-stack { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 12px; }
.archive-featured-course .featured-course-price-stack del { color:#bccfdf; font-size:11px; font-weight:400; text-decoration-thickness:1px; }
.archive-featured-course .featured-course-price-stack strong { color:#ffd28e; font-size:14px; font-weight:800; }
.featured-course--advisor .archive-course-level-badge { background:#04223bf2; color:#ffd28e; border-color:#fba83088; }
.archive-course-outcome { display:flex; align-items:flex-start; gap:9px; min-width:0; line-height:1.95; }
.archive-course-outcome > svg { width:24px; height:24px; padding:3px; margin-top:2px; border-radius:7px; background:#e8f3fb; color:#0167ad; }
.course-discount-badge { position:absolute; z-index:2; top:12px; right:12px; padding:5px 11px; border:1px solid #fff8; border-radius:9px; background:#c92535; box-shadow:0 4px 14px #92122026; color:#fff; font-size:12px; font-weight:800; line-height:1.9; }
.site-footer .footer-intro-inner { padding-block:32px; }
.site-footer .footer-grid { padding-top:32px; }
.mts-widget .mts-launcher { background:linear-gradient(130deg,#073852,#031c30); border-color:#14638a; box-shadow:0 8px 24px #021b3540,0 0 0 3px #ffffffb3; color:#fff; }
.mts-widget .mts-launcher svg { color:#ffb442; }
.mts-widget .mts-launcher:hover { background:#04223b; box-shadow:0 10px 28px #021b3555,0 0 0 3px #fba83060; }
.mts-widget .mts-launcher:focus-visible { outline:3px solid #fba830; outline-offset:4px; }
body:has(.roadmap-v3) main > section:first-of-type > .grid { padding-top:48px; padding-bottom:48px; gap:32px; }
body:has(.roadmap-v3) main > section:first-of-type > div:last-child > svg { height:40px; }
body:has(.roadmap-v3) .roadmap-v3 { padding-block:48px; }
body:has(.roadmap-v3) .roadmap-v3 > .max-w-7xl { padding-block:0; }
body:has(.roadmap-v3) .roadmap-v3-heading { margin-bottom:28px; }
body:has(.roadmap-v3) .roadmap-v3-layout { gap:24px; }
body:has(.roadmap-v3) .roadmap-v3-choices { margin-bottom:24px; }
/* Roadmap decision table: equal, scannable choices above the selected route. */
body:has(.roadmap-v3) .roadmap-v3-layout { display:block; }
body:has(.roadmap-v3) .roadmap-v3-choices {
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  gap:14px;
}
body:has(.roadmap-v3) .roadmap-v3-choice {
  position:relative;
  grid-template-columns:2rem 2.75rem minmax(0,1fr);
  grid-template-rows:auto 1fr;
  align-items:center;
  column-gap:10px;
  row-gap:7px;
  min-height:148px;
  padding:16px 14px;
  border-radius:16px;
}
body:has(.roadmap-v3) .roadmap-v3-choice-index,
body:has(.roadmap-v3) .roadmap-v3-choice-icon { align-self:start; }
body:has(.roadmap-v3) .roadmap-v3-choice-copy {
  grid-column:1 / -1;
  grid-row:2;
  align-self:start;
  padding-inline-end:2px;
}
body:has(.roadmap-v3) .roadmap-v3-choice-copy strong {
  min-height:3.15em;
  font-size:15px;
  line-height:1.58;
}
body:has(.roadmap-v3) .roadmap-v3-choice-copy small {
  margin-top:6px;
  font-size:12px;
  line-height:1.85;
}
body:has(.roadmap-v3) .roadmap-v3-choice-arrow {
  position:absolute;
  top:23px;
  left:14px;
}
body:has(.roadmap-v3) .roadmap-v3-result {
  position:relative;
  top:auto;
  width:100%;
  min-height:0;
}
.consultation-featured { max-width:1160px; padding:12px; gap:0; border:1px solid #b8873c66; border-radius:26px; background:linear-gradient(130deg,#031d32,#073b5d); box-shadow:0 22px 54px -28px #04223b80; }
.consultation-featured .consultation-featured-media { display:flex; align-items:center; justify-content:center; min-height:0; padding:0; overflow:hidden; border:1px solid #ffffff20; border-radius:18px; background:#080d10; }
.consultation-featured .consultation-featured-media img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; border-radius:0; }
.consultation-featured .consultation-featured-copy { padding:28px 24px; }
.consultation-featured .consultation-kicker { color:#ffd398; border-color:#fba83045; background:#fba83012; }
.consultation-featured .consultation-featured-copy h3 { color:#fff; font-weight:900; line-height:1.75; }
.consultation-featured .consultation-featured-copy > p { color:#d2e1ec; line-height:2; }
.consultation-featured .consultation-featured-copy ul { color:#e4eef5; gap:12px; }
.consultation-featured .consultation-featured-copy li::before { content:""; display:inline-block; width:6px; height:6px; margin-inline-end:7px; border-radius:50%; background:#fba830; vertical-align:middle; }
.consultation-featured .consultation-featured-copy small { color:#b8ccdb; line-height:1.95; }
.consultation-featured .consultation-outline { border-color:#8198ac80; color:#fff; background:transparent; }
.consultation-featured .consultation-outline:hover { background:#ffffff12; }
.consultant-card .consultant-resume { margin-top:auto; }
.about-page-hero h1 { font-size:clamp(30px,3.4vw,48px); line-height:1.7; margin-bottom:22px; }
.about-page-hero h1 + p { line-height:2.1; margin-bottom:18px; }
.about-page-hero .about-hero-trustline { line-height:2; margin-bottom:24px; }
.about-credential-card { border-radius:18px; border-color:#dce5ed; box-shadow:0 14px 36px -24px #04223b60; }
.about-credential-card:nth-child(4),.about-credential-card:nth-child(5){grid-column:span 2;}
.about-credential-card:last-child:nth-child(3n + 1){grid-column:3 / span 2;}
.about-credential-open { padding:24px; border-bottom:1px solid #b9904840; background:radial-gradient(ellipse at center,#fffaf0,#f0f3f5); }
.about-credential-open img { height:300px; padding:7px; background:white; border:1px solid #d2b57c; box-shadow:0 0 0 5px #fff,0 0 0 6px #c5ac7455,0 10px 20px #04223b22; filter:none; }
.about-credential-card:hover .about-credential-open img { transform:none; }
/* Correct the photographed page's slight tilt, without regenerating document text. */
.about-credential-card .about-credential-open img[src$="lawyers-center-training-appreciation.webp"],
.about-credential-dialog img[src$="lawyers-center-training-appreciation.webp"] { transform:rotate(-.8deg) scale(.98); }
.about-credential-card .about-credential-open img[src$="innovation-fund-appreciation-1400.webp"],
.about-credential-dialog img[src$="innovation-fund-appreciation-1400.webp"] { transform:rotate(.45deg) scale(.99); }
.about-credential-copy { padding:22px; border-top:3px solid #c4934660; }
.about-credential-zoom { left:14px; bottom:14px; width:36px; height:36px; border:1px solid #e9c58c; background:#04223b; color:#ffd28e; }
.about-credential-open:focus-visible { outline:3px solid #0167ad; outline-offset:-4px; }
.about-credential-dialog { border-radius:18px; }
@media (max-width:1023px){.about-credential-card:nth-child(4),.about-credential-card:nth-child(5),.about-credential-card:last-child:nth-child(3n + 1){grid-column:auto;}}
.contact-page-hero h1 { line-height:1.45; }
.contact-page-hero .contact-hero-inner { min-height:0; padding-top:46px; padding-bottom:60px; column-gap:48px; }
.contact-page-hero .contact-hero-copy { max-width:670px; }
.contact-page-hero .contact-hero-panel { width:100%; max-width:520px; margin-inline:auto; padding:13px; }
.contact-page-hero .contact-hero-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.contact-page-hero .contact-quick { grid-column:span 3; min-height:88px; gap:5px; padding:12px 14px; justify-content:center; }
.contact-page-hero .contact-quick[href^="mailto:"] { grid-column:span 3; flex-direction:column; align-items:flex-start; gap:5px; }
.contact-page-hero .contact-quick[href^="mailto:"] span { margin:0; }
.contact-page-hero .contact-quick--address { grid-column:1 / -1; min-height:80px; display:grid; grid-template-columns:26px minmax(0,1fr); align-items:center; gap:3px 12px; }
.contact-page-hero .contact-quick--address > svg { grid-column:1; grid-row:1 / 3; }
.contact-page-hero .contact-quick--address strong, .contact-page-hero .contact-quick--address span { grid-column:2; }
.contact-page-hero .contact-quick--address span { direction:rtl; text-align:right; line-height:2; word-break:normal; overflow-wrap:break-word; }
.contact-page-hero .contact-quick strong { font-size:.95rem; }
.contact-page-hero .contact-quick span { font-size:.76rem; }
@media (min-width:1024px) {
  body.home #taxtalent .home-section-heading > p { max-width:1120px; font-size:14px; line-height:2.1; text-wrap:balance; }
  body.home #plus .home-section-heading > p, body:has(.featured-course-stack) #featured > div > .text-center > p { max-width:none; font-size:clamp(12px,1.04vw,14px); line-height:2; }
  .consultation-featured { grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); align-items:stretch; }
  .consultation-featured .consultation-featured-copy { padding:32px; }
  body:has(.roadmap-v3) .roadmap-v3 { padding-block:64px; }
  body:has(.roadmap-v3) .roadmap-v3-choices { margin-bottom:24px; }
}
@media (min-width:640px) and (max-width:1023px) {
  body:has(.roadmap-v3) .roadmap-v3-choices { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767px) {
  .contact-page-hero .contact-hero-inner { min-height:0; padding-top:28px; padding-bottom:66px; gap:28px; }
  .contact-page-hero .contact-hero-copy h1 { max-width:none; margin-bottom:12px; font-size:1.9rem; line-height:1.5; }
  .contact-page-hero .contact-hero-copy > p { max-width:22rem; margin-bottom:22px; font-size:.88rem; line-height:2; }
  .contact-page-hero .contact-hero-copy > .grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .contact-page-hero .contact-hero-copy > .grid .btn { min-width:0; min-height:48px; padding:9px 8px; border-radius:14px; font-size:.75rem; line-height:1.7; gap:6px; white-space:nowrap; }
  .contact-page-hero .contact-hero-copy > .grid .btn svg { width:17px; height:17px; }
  .contact-page-hero .contact-hero-panel { max-width:24rem; padding:10px; }
  .contact-page-hero .contact-hero-top { margin-bottom:10px; }
  .contact-page-hero .contact-hero-grid { grid-template-columns:1fr; gap:8px; }
  .contact-page-hero .contact-quick,
  .contact-page-hero .contact-quick[href^="mailto:"],
  .contact-page-hero .contact-quick--address { grid-column:1; min-height:62px; display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:center; gap:2px 10px; padding:10px 12px; }
  .contact-page-hero .contact-quick > svg { grid-column:1; grid-row:1 / 3; }
  .contact-page-hero .contact-quick strong { grid-column:2; grid-row:1; font-size:.9rem; }
  .contact-page-hero .contact-quick span { grid-column:2 / 4; grid-row:2; margin:0; font-size:.72rem; text-align:right; }
  .contact-page-hero .contact-quick:not(.contact-quick--address) span[dir="ltr"] { grid-column:3; grid-row:1 / 3; align-self:center; direction:ltr; white-space:nowrap; font-size:.76rem; }
  .contact-page-hero .contact-quick--address { min-height:78px; }
  .contact-page-hero .contact-quick--address > svg { grid-column:1; grid-row:1 / 3; }
  .contact-page-hero .contact-quick--address strong { grid-column:2 / 4; }
  .contact-page-hero .contact-quick--address span { grid-column:2 / 4; line-height:1.8; }
  .consultation-featured { padding:8px; border-radius:20px; }
  .consultation-featured .consultation-featured-copy { padding:24px 14px 16px; text-align:center; }
  .consultation-featured .consultation-featured-copy h3 { font-size:24px; }
  .consultation-featured .consultation-featured-copy > p { font-size:14px; line-height:2; }
  .consultation-featured-actions { justify-content:center; }
  .archive-course-level-badge { top:10px; right:10px; max-width:calc(100% - 20px); padding:5px 9px; font-size:10px; gap:5px; }
  .archive-course-level-badge svg { width:15px; height:15px; }
  .site-footer .footer-intro-inner { padding-block:28px; }
  body:has(.roadmap-v3) main > section:first-of-type > .grid { padding-block:32px; }
  body:has(.roadmap-v3) .roadmap-v3 { padding-block:32px; }
  body:has(.roadmap-v3) .roadmap-v3-choices { grid-template-columns:1fr; gap:10px; margin-bottom:18px; }
  body:has(.roadmap-v3) .roadmap-v3-choice {
    grid-template-columns:1.8rem 2.45rem minmax(0,1fr) 1rem;
    grid-template-rows:auto;
    min-height:92px;
    padding:12px;
    column-gap:9px;
  }
  body:has(.roadmap-v3) .roadmap-v3-choice-copy { grid-column:3; grid-row:1; align-self:center; padding:0; }
  body:has(.roadmap-v3) .roadmap-v3-choice-copy strong { min-height:0; font-size:14px; line-height:1.7; }
  body:has(.roadmap-v3) .roadmap-v3-choice-copy small { margin-top:3px; font-size:11px; line-height:1.75; }
  body:has(.roadmap-v3) .roadmap-v3-choice-arrow { position:static; align-self:center; }
  .about-credential-open { padding:20px; }
  .about-credential-open img { height:270px; }
  .about-credential-dialog { border-radius:0; }
}
@media (min-width:1024px) and (max-width:1199px) {
  #header .site-primary-nav { display:none !important; }
  #header #burger { display:grid !important; }
  #header .site-header-phone { display:none !important; }
}
@media (prefers-reduced-motion:reduce) {
  #header .nav-dropdown-panel,
  #header .nav-dropdown-trigger > svg,
  #header .site-primary-nav .nav-link::after,
  #header .mega-menu-links a,
  #header .mega-menu-arrow { transition:none !important; }
}
/* Keep podcast summaries visible on compact archive cards. */
@media (max-width: 767px) {
	.pod-v2-track-main p {
		display: -webkit-box;
		margin-top: .35rem;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		white-space: normal;
		text-overflow: ellipsis;
	}
}
/* Mobile action dock already exposes support; suppress duplicate floating launchers. */
@media(max-width:767px){
 .mts-widget>.mts-launcher,[data-support-widget]>[data-support-toggle],.support-float-btn{display:none!important}
}

/* ================= Mega menu (v2) ================= */
#header .nav-dropdown.nav-instant .nav-dropdown-panel{transition:none!important}
#header .nav-dropdown-panel.mega{display:grid;grid-template-columns:minmax(0,1fr);width:min(880px,calc(100vw - 48px));background:#fff;border-color:#dde7ef;border-radius:20px;box-shadow:0 30px 70px -28px #04223b59,0 10px 24px -18px #0167ad3d}
#header .nav-dropdown-panel.mega.has-side{grid-template-columns:minmax(0,1fr) 300px}
#header .nav-dropdown-panel{transition:opacity .2s ease,transform .3s cubic-bezier(.22,1,.36,1),visibility 0s linear .3s}
.mega-main{display:flex;flex-direction:column;min-width:0;padding:20px 20px 16px}
.mega-head{display:flex;align-items:center;gap:12px;margin:0 8px 12px;padding-bottom:14px;border-bottom:1px solid #edf2f6}
.mega-head-icon{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;background:linear-gradient(145deg,#0a3558,#04223b);color:#fbb24a;box-shadow:0 8px 18px -12px #04223bcc}
.mega-head-icon svg{width:20px;height:20px}
.mega-head strong{display:block;color:#04223b;font:700 16px/1.6 Morabba,IRANSansX,sans-serif}
.mega-head p{margin:0;color:#6a7d8e;font-size:12px;font-weight:500;line-height:1.8}
/* items: clean rows, soft highlight */
#header .mega .mega-menu-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 8px;padding:0;background:none;align-content:start}
#header .mega .mega-menu-links.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
#header .mega .mega-menu-links a{display:flex;align-items:flex-start;gap:12px;min-height:0;padding:10px;border:0;border-radius:12px;background:transparent;box-shadow:none;transform:none;color:#10263a;transition:background-color .2s ease}
#header .mega .mega-menu-links a:hover,#header .mega .mega-menu-links a:focus-visible{background:#f2f7fb;transform:none;box-shadow:none;color:#10263a}
#header .mega .mega-menu-icon{width:38px;height:38px;border-radius:11px;border:1px solid #e1ecf5;background:#f6fafd;color:#0167ad;transition:background-color .2s ease,color .2s ease,border-color .2s ease}
#header .mega .mega-menu-links a:hover .mega-menu-icon,#header .mega .mega-menu-links a.is-current .mega-menu-icon{background:#0167ad;border-color:#0167ad;color:#fff}
#header .mega .mega-menu-icon svg{width:19px;height:19px}
.mega-menu-text{display:flex;flex-direction:column;flex:1;min-width:0;padding-top:1px}
.mega-menu-text strong{color:#10263a;font-size:13.5px;font-weight:750;line-height:1.7;transition:color .2s ease}
.mega-menu-text small{color:#6b7e8f;font-size:12px;font-weight:500;line-height:1.75}
#header .mega .mega-menu-links a:hover .mega-menu-text strong{color:#0167ad}
#header .mega .mega-menu-arrow{display:grid;place-items:center;align-self:center;margin:0;color:#0167ad;opacity:0;transform:translateX(5px);transition:opacity .2s ease,transform .25s cubic-bezier(.22,1,.36,1)}
#header .mega .mega-menu-arrow svg{width:16px;height:16px}
#header .mega .mega-menu-links a:hover .mega-menu-arrow{opacity:1;transform:none}
#header .mega .mega-menu-links a.is-current{background:#eef5fb}
#header .mega .mega-menu-links a.is-current .mega-menu-text strong{color:#0167ad}
/* active section in the bar */
#header .site-primary-nav > .nav-dropdown.is-current > .nav-link{color:#0167ad}
#header .site-primary-nav > .nav-dropdown.is-current > .nav-link::after{transform:scaleX(1);opacity:.55}
#header .site-primary-nav > .nav-link[aria-current="page"]{color:#0167ad}
/* footer link */
#header .mega-foot{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin:14px 8px 0;padding:8px 12px;border-radius:10px;background:#f2f7fb;color:#0167ad;font-size:12.5px;font-weight:800;transition:background-color .2s ease}
#header .mega-foot:hover{background:#e6f1f9}
.mega-foot svg,.mega-trend-cta svg,.mega-article-more svg{width:15px;height:15px;transition:transform .25s cubic-bezier(.22,1,.36,1)}
#header .mega-foot:hover svg{transform:translateX(-3px)}
/* latest article rows (articles menu) */
.mega-latest{margin:12px 8px 0;padding-top:12px;border-top:1px solid #edf2f6}
.mega-sub{margin:0 2px 6px;color:#8295a6;font-size:11.5px;font-weight:800}
#header .mega-post-row{display:flex;align-items:center;gap:12px;padding:8px;border-radius:12px;color:#10263a;transition:background-color .2s ease}
#header .mega-post-row:hover{background:#f2f7fb}
.mega-post-row img{width:84px;height:56px;flex:none;border-radius:9px;object-fit:cover;background:#e7eff5}
.mega-post-row>span{display:flex;flex-direction:column;min-width:0}
.mega-post-row strong{font-size:13px;font-weight:750;line-height:1.75;transition:color .2s ease}
.mega-post-row strong>span,.mega-article strong>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.mega-post-row small{color:#7a8c9c;font-size:11.5px;line-height:1.7}
#header .mega-post-row:hover strong{color:#0167ad}
/* side column */
.mega-side{display:flex;padding:14px;padding-inline-start:0}
.mega-card{position:relative;display:flex;flex-direction:column;width:100%;min-height:100%;border-radius:18px;overflow:hidden;isolation:isolate}
/* trend card (AI workshop) */
#header .mega-trend,.mega-contact{padding:18px;color:#eaf2f9;background:radial-gradient(90% 60% at 90% 0%,#54aeed38,transparent 62%),radial-gradient(80% 55% at 0% 100%,#fba83024,transparent 62%),linear-gradient(165deg,#0a2034,#030e1a)}
.mega-trend::before,.mega-contact::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(#78b4e614 1px,transparent 1px),linear-gradient(90deg,#78b4e614 1px,transparent 1px);background-size:22px 22px;-webkit-mask-image:radial-gradient(circle at 80% 0%,#000,transparent 72%);mask-image:radial-gradient(circle at 80% 0%,#000,transparent 72%)}
.mega-trend::after{content:"";position:absolute;left:-40px;bottom:-40px;z-index:-1;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,#54aeed40,transparent 68%)}
.mega-trend-pill{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;padding:4px 11px;border:1px solid #fba83059;border-radius:99px;background:#fba8301c;color:#ffc265;font-size:11px;font-weight:800;line-height:1.8}
.mega-trend-pill i{width:7px;height:7px;border-radius:50%;background:#fba830;box-shadow:0 0 0 0 #fba83099}
#header .nav-dropdown.open .mega-trend-pill i{animation:megaPulse 1.8s ease-out infinite}
@keyframes megaPulse{0%{box-shadow:0 0 0 0 #fba83099}80%,100%{box-shadow:0 0 0 7px #fba83000}}
.mega-trend-kicker{margin-top:14px;color:#7cc3f3;font-size:11.5px;font-weight:800;line-height:1.8}
.mega-trend-title{display:block;margin-top:2px;color:#fff;font:700 18px/1.7 Morabba,IRANSansX,sans-serif}
.mega-trend-meta{display:flex;align-items:center;gap:6px;margin-top:8px;color:#a9bdcf;font-size:11.5px;font-weight:600;line-height:1.8}
.mega-trend-meta svg{width:15px;height:15px;flex:none;color:#54aeed}
.mega-trend-cta{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;margin-top:auto;padding:9px 14px;border-radius:11px;background:linear-gradient(110deg,#ffc265,#fba830);color:#3a2300!important;font-size:12.5px;font-weight:800;line-height:1.7;box-shadow:0 10px 22px -14px #fba830;transition:box-shadow .25s ease}
.mega-trend .mega-trend-cta{margin-top:auto}
.mega-trend-img{position:absolute;left:-6px;bottom:0;z-index:-1;width:auto;height:168px;object-fit:contain;filter:drop-shadow(0 14px 26px #000c);transition:transform .45s cubic-bezier(.22,1,.36,1)}
#header .mega-trend:hover .mega-trend-img{transform:translateY(-4px)}
#header .mega-trend:hover .mega-trend-cta,#header .mega-contact .mega-trend-cta:hover{box-shadow:0 14px 26px -12px #fba830}
#header .mega-trend:hover .mega-trend-cta svg,#header .mega-contact .mega-trend-cta:hover svg{transform:translateX(-3px)}
.mega-trend-title,.mega-trend-meta,.mega-trend-kicker{max-width:100%;position:relative}
/* contact card (services) */
.mega-contact{gap:4px}
.mega-contact-pill{border-color:#54aeed55;background:#54aeed1a;color:#9ed4f7}
.mega-contact-pill i{background:#3fcf97}
.mega-contact p{margin:4px 0 0;color:#a9bdcf;font-size:12px;line-height:1.9}
#header .mega-contact-phone{display:inline-flex;align-items:center;gap:8px;margin:10px 0 14px;color:#ffc265;font-size:17px;font-weight:800}
.mega-contact-phone svg{width:17px;height:17px}
/* newest article card (articles menu) */
#header .mega-article{border:1px solid #e3ecf3;background:#f7fafc;color:#10263a;transition:border-color .2s ease,box-shadow .3s ease}
#header .mega-article:hover{border-color:#cfe0ec;box-shadow:0 16px 34px -24px #04223b80}
.mega-article-media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#e3edf5}
.mega-article-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.22,1,.36,1)}
#header .mega-article:hover .mega-article-media img{transform:scale(1.04)}
.mega-article-media em{position:absolute;top:10px;right:10px;padding:3px 10px;border-radius:99px;background:#04223bd9;color:#fff;font-size:10.5px;font-style:normal;font-weight:800;line-height:1.8;backdrop-filter:blur(6px)}
.mega-article-body{display:flex;flex-direction:column;flex:1;gap:4px;padding:12px 14px 14px}
.mega-article-cat{align-self:flex-start;padding:1px 9px;border-radius:99px;background:#fba8301f;color:#a4650a;font-size:10.5px;font-weight:800;line-height:1.9}
.mega-article strong{font-size:13.5px;font-weight:800;line-height:1.8;transition:color .2s ease}
#header .mega-article:hover strong{color:#0167ad}
.mega-article small{color:#7a8c9c;font-size:11.5px;line-height:1.7}
.mega-article-more{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding-top:6px;color:#0167ad;font-size:12px;font-weight:800}
#header .mega-article:hover .mega-article-more svg{transform:translateX(-3px)}
/* opening: rows settle in one after another, side card follows */
@keyframes megaIn{from{opacity:0;transform:translate3d(0,6px,0)}}
@keyframes megaSide{from{opacity:0;transform:translate3d(-8px,0,0)}}
#header .nav-dropdown.open .mega-menu-links a,#header .nav-dropdown.open .mega-post-row{animation:megaIn .32s cubic-bezier(.22,1,.36,1) backwards;animation-delay:calc(var(--i,0) * 26ms + 40ms)}
#header .nav-dropdown.open .mega-post-row{--i:4}
#header .nav-dropdown.open .mega-card{animation:megaSide .42s cubic-bezier(.22,1,.36,1) 80ms backwards}
@media (max-width:1180px){#header .nav-dropdown-panel.mega.has-side{grid-template-columns:minmax(0,1fr) 260px}.mega-trend-img{height:140px}}
@media (prefers-reduced-motion:reduce){#header .nav-dropdown.open .mega-menu-links a,#header .nav-dropdown.open .mega-post-row,#header .nav-dropdown.open .mega-card,#header .nav-dropdown.open .mega-trend-pill i{animation:none}}
/* v2 fine-tuning: keep text clear of the portrait; let the article image fill its card */
.mega-trend-img{height:150px}
.mega-article-media{flex:1 1 auto;min-height:170px;aspect-ratio:auto}
.mega-article-media img{position:absolute;inset:0}
.mega-article-body{flex:0 0 auto}
.mega-article-more{margin-top:6px}
/* side cards are links inside the panel: undo the generic dropdown-link styling */
#header .mega-card{align-items:stretch;justify-content:flex-start;gap:0;text-align:start;font-size:inherit}
#header .mega-article{padding:0}
#header .mega-trend .mega-trend-meta+.mega-trend-meta{margin-top:2px}
#header .mega-trend-cta{padding:9px 14px;border-radius:11px;gap:6px;background:linear-gradient(110deg,#ffc265,#fba830);color:#3a2300}
#header .mega-trend-cta:hover{background:linear-gradient(110deg,#ffc265,#fba830);color:#3a2300}
#header .mega-contact-phone{padding:0;border-radius:0;background:none}
#header .mega-contact-phone:hover{background:none;color:#ffd08b}
/* newest-article card: keep the cover at its real 3:2 ratio and let the summary fill the card */
.mega-article-media{flex:0 0 auto;min-height:0;aspect-ratio:3/2}
.mega-article-body{flex:1 1 auto}
.mega-article-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:#5f7385;font-size:12px;line-height:1.9}
.mega-article-more{margin-top:auto}

/* AI workshop visual card: portrait stays still, the scene around it moves */
#header .mega-trend--art{padding:18px;background:#030e1a;min-height:340px}
#header .mega-trend--art::before,#header .mega-trend--art::after{display:none}
.mega-art{position:absolute;inset:0;z-index:-1;overflow:hidden;border-radius:inherit;pointer-events:none}
.mega-art-stage{position:absolute;top:-2%;left:-13%;width:113%;aspect-ratio:640/853}
.mega-art-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mega-art-bg{transform-origin:36% 55%;animation:artDrift 16s ease-in-out infinite alternate;will-change:transform}
@keyframes artDrift{from{transform:scale(1) translate3d(0,0,0)}to{transform:scale(1.045) translate3d(-1.2%,-.8%,0)}}
.mega-art-glow{position:absolute;left:-14%;top:9%;width:60%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#ffc26566 0%,#fba83026 38%,transparent 68%);mix-blend-mode:screen;animation:artGlow 4.5s ease-in-out infinite}
@keyframes artGlow{0%,100%{opacity:.45;transform:scale(.94)}50%{opacity:1;transform:scale(1.06)}}
.mega-art-ring{position:absolute;left:-19%;top:5%;width:70%;aspect-ratio:1;border-radius:50%;border:1px dashed #ffc26559;animation:artSpin 28s linear infinite}
.mega-art-ring+.mega-art-ring{left:-9%;top:12%;width:50%;border-style:solid;border-color:#54aeed33 transparent #54aeed33 transparent;animation-duration:18s;animation-direction:reverse}
@keyframes artSpin{to{transform:rotate(360deg)}}
.mega-art-tw i{position:absolute;width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%;background:#fff6dc;box-shadow:0 0 6px 2px #ffc265cc,0 0 14px 4px #fba83055;opacity:.2;animation:artTwinkle var(--t,2.8s) ease-in-out var(--d,0s) infinite}
@keyframes artTwinkle{0%,100%{opacity:.15;transform:scale(.55)}50%{opacity:1;transform:scale(1.25)}}
.mega-art-sweep{position:absolute;inset:-20% -60%;background:linear-gradient(105deg,transparent 42%,#ffffff14 49%,#ffd79a22 50%,#ffffff10 51%,transparent 58%);transform:translateX(-60%);animation:artSweep 7s ease-in-out 1s infinite}
@keyframes artSweep{0%{transform:translateX(-60%)}55%,100%{transform:translateX(60%)}}
.mega-art-dust b{position:absolute;bottom:-6px;width:var(--s,3px);height:var(--s,3px);border-radius:50%;background:#ffd79a;box-shadow:0 0 8px 2px #fba83088;opacity:0;animation:artDust var(--t,9s) linear var(--d,0s) infinite}
@keyframes artDust{0%{opacity:0;transform:translate3d(0,0,0)}12%{opacity:.9}80%{opacity:.5}100%{opacity:0;transform:translate3d(-18px,-300px,0)}}
.mega-art-person{z-index:1}
.mega-art-shade{position:absolute;inset:0;z-index:2;background:linear-gradient(270deg,#030e1af0 0%,#030e1ac4 38%,#030e1a40 56%,transparent 66%),linear-gradient(0deg,#030e1ad9 0%,transparent 24%)}
#header .mega-trend--art .mega-trend-pill,#header .mega-trend--art .mega-trend-kicker,#header .mega-trend--art .mega-trend-title,#header .mega-trend--art .mega-trend-meta{max-width:53%}
#header .mega-trend--art .mega-trend-title{font-size:17px;text-shadow:0 2px 12px #000a}
#header .mega-trend--art .mega-trend-kicker{color:#8fd0fb}
#header .nav-dropdown:not(.open) .mega-art *{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.mega-art *{animation:none!important}}
#header .mega-trend--art .mega-trend-kicker{font-size:11px}

/* ================= tax-expert course hero (fixes) ================= */
/* portrait cover: the image is a transparent portrait, show all of it standing on the frame's bottom edge */
html body.single-product.postid-17030 #hero .course-hero-cover{position:relative}
html body.single-product.postid-17030 #hero .course-hero-cover img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important}
/* stray decorative shield under the media */
html body.single-product.postid-17030 #hero .product-brand-emblem{display:none!important}
/* prices: base price clearly struck, current price as an amber label */
html body.single-product.postid-17030 #hero :is(.flagship-product-price,.festival-reference-price) del{color:rgba(238,245,250,.58)!important;font-size:18px!important;font-weight:600!important;text-decoration:line-through!important;text-decoration-color:#ff7b72!important;text-decoration-thickness:2px!important}
html body.single-product.postid-17030 #hero .flagship-product-price__current-label{display:inline-flex!important;align-items:center;gap:6px;padding:3px 10px!important;border-radius:999px;background:linear-gradient(135deg,#ffd08a,#fba830);color:#3a2300!important;font-family:IRANSansX,sans-serif;font-size:12px!important;font-weight:800;line-height:1.6!important;white-space:nowrap}
/* main purchase button in the brand amber */
html body.single-product.postid-17030 #hero .product-hero-actions .btn-accent{background:linear-gradient(135deg,#ffc265,#fba830 55%,#e8941a)!important;color:#3a2300!important;border-color:#fba830!important;box-shadow:0 16px 34px -17px rgba(251,168,48,.75)!important}
@media(max-width:767px){html body.single-product.postid-17030 #hero :is(.flagship-product-price,.festival-reference-price) del{font-size:16px!important}}
/* course heroes on mobile: readable fact labels, values wrap in balanced lines */
@media(max-width:767px){
  html body.single-product #hero .course-facts__item small{font-size:11.5px!important;line-height:1.5!important}
  html body.single-product #hero .course-facts__item strong{font-size:13px!important;line-height:1.6!important;white-space:normal!important;text-wrap:balance}
}
/* below 640px the fact icon is hidden, so the text must not fall into the narrow icon column */
@media(max-width:639px){
  html body.single-product #hero .course-facts__item{grid-template-columns:minmax(0,1fr)!important}
  html body.single-product #hero .course-facts__item>*{grid-column:1/-1}
}
/* tax-expert intro video: the poster is a transparent portrait, give it a branded stage and keep the play button off his face */
html body.single-product.postid-17030 #hero #introVideo{background:radial-gradient(70% 90% at 50% 100%,rgba(84,174,237,.38),transparent 62%),radial-gradient(60% 70% at 12% 0%,rgba(251,168,48,.16),transparent 60%),linear-gradient(135deg,#052a4a,#0a4a80 60%,#0d5d9e)!important}

/* ================= tax-expert hero: layout system (8px rhythm, one button standard) ================= */
html body.single-product.postid-17030 #hero{--hx-btn-h:52px;--hx-radius:14px}
/* vertical rhythm of the copy column */
html body.single-product.postid-17030 #hero .product-mobile-hero-copy>nav{margin-bottom:24px!important}
html body.single-product.postid-17030 #hero .product-mobile-hero-copy>span:first-of-type{margin-bottom:16px!important}
html body.single-product.postid-17030 #hero .product-mobile-hero-copy>h1{margin-bottom:16px!important;line-height:1.3!important}
html body.single-product.postid-17030 #hero .product-mobile-hero-copy>p{margin-bottom:24px!important;line-height:1.95!important}
html body.single-product.postid-17030 #hero .course-facts{margin-block:0 24px!important}
html body.single-product.postid-17030 #hero .product-hero-price{margin-bottom:24px!important;row-gap:8px!important}
/* buttons: one height, one radius, one type size; labels never wrap */
html body.single-product.postid-17030 #hero .product-hero-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:12px!important}
html body.single-product.postid-17030 #hero .product-hero-actions>.btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:var(--hx-btn-h)!important;min-height:var(--hx-btn-h)!important;padding:0 24px!important;border-radius:var(--hx-radius)!important;font-size:15px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;flex:0 0 auto!important;width:auto!important}
html body.single-product.postid-17030 #hero .product-hero-actions>.btn svg,html body.single-product.postid-17030 #hero .product-hero-actions>.btn i{width:18px!important;height:18px!important;flex:none}
html body.single-product.postid-17030 #hero .product-hero-actions>.btn-accent{padding:0 32px!important;box-shadow:0 14px 30px -16px rgba(251,168,48,.8)!important}
html body.single-product.postid-17030 #hero .product-hero-actions>.btn.glass-dark{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;backdrop-filter:blur(8px)}
html body.single-product.postid-17030 #hero .product-hero-actions>.btn.glass-dark:hover{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.4)!important}
/* rating: its own quiet line under the buttons */
html body.single-product.postid-17030 #hero .product-hero-social-proof{flex:0 0 100%!important;display:flex!important;align-items:center;gap:16px;margin:4px 0 0!important;padding:0!important;border:0!important;justify-content:flex-start}
html body.single-product.postid-17030 #hero .product-hero-social-proof::before,html body.single-product.postid-17030 #hero .product-hero-social-proof::after{display:none!important}
html body.single-product.postid-17030 #hero .product-hero-actions+p{margin-top:16px!important}
/* video: play button in the centre, poster on a branded stage */
html body.single-product.postid-17030 #hero #introVideoPlayBig{left:50%!important;right:auto!important;top:50%!important;margin:0!important;transform:translate(-50%,-50%)!important}
/* floating purchase button in the brand amber */
html body.single-product.postid-17030 .global-action-purchase{background:linear-gradient(135deg,#ffc265,#fba830 55%,#e8941a)!important;color:#3a2300!important;border-color:#fba830!important}
@media(max-width:1023px){
  html body.single-product.postid-17030 #hero .product-hero-social-proof{justify-content:center}
}
@media(max-width:639px){
  /* phone: primary full width, the two secondary actions side by side */
  html body.single-product.postid-17030 #hero .product-hero-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  html body.single-product.postid-17030 #hero .product-hero-actions>.btn{width:100%!important;padding:0 12px!important;font-size:14px!important;height:48px!important;min-height:48px!important}
  html body.single-product.postid-17030 #hero .product-hero-actions>.btn-accent{grid-column:1/-1;height:var(--hx-btn-h)!important;min-height:var(--hx-btn-h)!important;font-size:15px!important}
  html body.single-product.postid-17030 #hero .product-hero-social-proof{grid-column:1/-1;justify-content:center;margin-top:6px!important}
  html body.single-product.postid-17030 #hero .product-hero-price{margin-bottom:20px!important}
}

/* Blog images no longer need a readability scrim after removing image badges. */
.blog-articles-section .article-card--blog-archive .article-thumb::after,
.blog-featured-section .archive-featured-media::after{display:none}
/* mega menu: wrappers that are still waiting for their lazy content take no space */
#header .mega-latest:has(>template.mega-lazy:only-child),#header .mega-side:has(>template.mega-lazy:only-child){display:none}
#header .nav-dropdown-panel.mega.has-side:has(.mega-side>template.mega-lazy:only-child){grid-template-columns:minmax(0,1fr)}
/* comments: "show more" button */
.mrtax-comments-more{display:flex;width:100%;align-items:center;justify-content:center;gap:8px;min-height:48px;margin-top:14px;padding:12px 16px;border:1px dashed rgba(1,103,173,.35);border-radius:14px;background:#fff;color:#0167ad;font:inherit;font-size:14px;font-weight:800;cursor:pointer;transition:background-color .2s ease,border-color .2s ease}
.mrtax-comments-more:hover{background:#f2f8fd;border-color:#0167ad}
.mrtax-comments-more:focus-visible{outline:3px solid #fba830;outline-offset:3px}

/* mega menu: latest official announcements under "articles and news" */
.mega-notice-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:11px;background:#fff4e0;color:#c77800}
.mega-notice-icon svg{width:19px;height:19px}
#header .mega-notice-row:hover .mega-notice-icon{background:#ffe8c2}

/* mrtax-ovf-fix: off-canvas drawer widened the mobile layout viewport (page zoomed out / blank) */
@supports (overflow-x: clip) { html { overflow-x: clip; } }

/* ===== mrtax-ux-20261007: card links, footer socials, footer spacing, tools menu ===== */

/* Featured course cards: the whole card opens the course; the two buttons keep their own targets. */
.featured-course-card { cursor: pointer; }
.featured-course-cover-link { position: absolute; inset: 0; z-index: 20; border-radius: inherit; }
.featured-course-card .featured-course-actions { position: relative; z-index: 21; }
.featured-course-card:hover .featured-course-overlay-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.featured-course-cover-link:focus-visible { outline: 3px solid #fba830; outline-offset: 3px; }

/* Footer social links: filled brand glyphs, brand colour on hover. */
.site-footer .footer-socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.site-footer .footer-social {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .9rem;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .82);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.site-footer .footer-socials .footer-social svg { width: 18px; height: 18px; display: block; }
.site-footer .footer-socials .footer-social:hover, .site-footer .footer-socials .footer-social:focus-visible { color: #fff; transform: translateY(-2px); border-color: transparent; }
.site-footer .footer-socials .footer-social--telegram:hover, .site-footer .footer-socials .footer-social--telegram:focus-visible { background: #229ed9; }
.site-footer .footer-socials .footer-social--bale:hover, .site-footer .footer-socials .footer-social--bale:focus-visible { background: #2ea76f; }
.site-footer .footer-socials .footer-social--instagram:hover, .site-footer .footer-socials .footer-social--instagram:focus-visible { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.site-footer .footer-socials .footer-social--linkedin:hover, .site-footer .footer-socials .footer-social--linkedin:focus-visible { background: #0a66c2; }
.site-footer .footer-socials .footer-social--mail:hover, .site-footer .footer-socials .footer-social--mail:focus-visible { background: #fba830; color: #04223b; }

/* Breathing room between the last section of a page and the footer. */
body main#top > section:last-of-type, body main > section:last-of-type, body > section.mrtax-comments-section { padding-bottom: 3.75rem !important; }
@media (min-width: 768px) { body main#top > section:last-of-type, body main > section:last-of-type, body > section.mrtax-comments-section { padding-bottom: 5rem !important; } }
@media (min-width: 1024px) { body main#top > section:last-of-type, body main > section:last-of-type, body > section.mrtax-comments-section { padding-bottom: 6rem !important; } }

/* Tools mega menu: keep item titles on one line (the law library item uses the free cell beside it). */
@media (min-width: 1024px) {
  .mega--tools .mega-menu-text strong { white-space: nowrap; }
  .mega--tools .mega-menu-links > a:last-child:nth-child(3n + 2) { grid-column: span 2; }
}
/* Home: older home rules pin every section's padding with ID-heavy selectors; the last section needs to win. */
body.home main#top#top#top#top#top#top#top > section#faq#faq { padding-bottom: 3.75rem !important; }
@media (min-width: 768px) { body.home main#top#top#top#top#top#top#top > section#faq#faq { padding-bottom: 5rem !important; } }
@media (min-width: 1024px) { body.home main#top#top#top#top#top#top#top > section#faq#faq { padding-bottom: 6rem !important; } }
