/* Desktop-only VIP frames. Original markup, category links and feature controls remain intact. */
@media (min-width: 901px) {
  #gkCategories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #gkCategories > .gk-category-card {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    height: 400px;
    min-width: 0;
    overflow: visible;
    border: 0;
    border-radius: 27px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    box-shadow: none;
    filter: drop-shadow(0 9px 10px rgba(55, 37, 19, .17));
    transition: transform .25s ease, filter .25s ease;
  }
  /* Never override the admin-controlled hidden state. */
  #gkCategories > .gk-category-card[hidden] { display: none !important; }
  #gkCategories > .gk-category-card:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 12px 13px rgba(55, 37, 19, .21));
  }
  #gkCategories > .gk-category-card > .gk-category-image { display: none; }
  #gkCategories > .gk-category-card > .gk-category-content {
    position: absolute; inset: 0; padding: 0; color: inherit;
  }
  #gkCategories > .gk-category-card .gk-category-icon { display: none; }
  /* Preserve original headings, descriptions and button names for assistive technology. */
  #gkCategories > .gk-category-card .gk-category-content > h2,
  #gkCategories > .gk-category-card .gk-category-content > p {
    position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0;
    margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  #gkCategories > .gk-category-card::after {
    content: "محل نمایش آگهی";
    position: absolute; z-index: 0; top: 48%; left: 24px; right: 24px;
    padding-top: 47px;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2048%2036%22%3E%3Crect%20x%3D%222%22%20y%3D%222%22%20width%3D%2244%22%20height%3D%2232%22%20rx%3D%223%22%20fill%3D%22none%22%20stroke%3D%22%23c9c6be%22%20stroke-width%3D%222%22%2F%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2212%22%20r%3D%224%22%20fill%3D%22%23c9c6be%22%2F%3E%3Cpath%20d%3D%22m6%2029%2011-10%207%206%208-12%2010%2016Z%22%20fill%3D%22%23c9c6be%22%2F%3E%3C%2Fsvg%3E") center top / 42px 32px no-repeat;
    transform: translateY(-50%);
    text-align: center; color: #a39f96; font-family: inherit;
    font-size: clamp(13px, 1.2vw, 17px); font-weight: 500; line-height: 1.8;
    pointer-events: none;
  }
  #gkCategories > .gk-category-card .gk-category-btn {
    position: absolute; z-index: 1; left: 27px; bottom: 36px; right: auto; top: auto;
    box-sizing: border-box; width: 64px; height: 64px; min-width: 0; min-height: 0;
    padding: 0; margin: 0; gap: 0; flex-shrink: 0; border-radius: 50%;
    border: 2px solid var(--gk-vip-rim);
    background: radial-gradient(circle at 32% 16%, var(--gk-vip-highlight), var(--gk-vip-face) 65%);
    color: var(--gk-vip-ink); font-size: 0; line-height: 0;
    box-shadow: 0 0 0 2px var(--gk-vip-shade), 0 0 0 4px var(--gk-vip-rim), 0 5px 7px rgba(0,0,0,.22);
    cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
  }
  #gkCategories > .gk-category-card .gk-category-btn > span { display: none; }
  #gkCategories > .gk-category-card .gk-category-btn::before {
    content: ""; display: block; width: 28px; height: 28px; background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M6%2014V28H26V14M12%2028V21H20V28M6%205H26L29%2012C29%2017%2023%2017%2023%2012C23%2017%2016%2017%2016%2012C16%2017%209%2017%209%2012C9%2017%203%2017%203%2012Z%22%2F%3E%3Cpath%20d%3D%22M10%205%209%2012M16%205V12M22%205%2023%2012%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M6%2014V28H26V14M12%2028V21H20V28M6%205H26L29%2012C29%2017%2023%2017%2023%2012C23%2017%2016%2017%2016%2012C16%2017%209%2017%209%2012C9%2017%203%2017%203%2012Z%22%2F%3E%3Cpath%20d%3D%22M10%205%209%2012M16%205V12M22%205%2023%2012%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / contain no-repeat;
  }
  #gkCategories > .gk-category-card .gk-category-btn::after {
    content: ""; position: absolute; inset: 3px; border: 1px solid var(--gk-vip-ink);
    border-radius: 50%; opacity: .38; pointer-events: none;
  }
  #gkCategories > .gk-category-card .gk-category-btn:hover { transform: translateY(-2px) scale(1.04); }
  #gkCategories > .gk-category-card .gk-category-btn:focus-visible {
    outline: 3px solid var(--gk-vip-rim); outline-offset: 7px;
  }
  #gkCategories > .gk-estate-card {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20350%20440%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22edge%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220.000%22%20stop-color%3D%22%2392632b%22%2F%3E%3Cstop%20offset%3D%220.167%22%20stop-color%3D%22%23f6d79b%22%2F%3E%3Cstop%20offset%3D%220.333%22%20stop-color%3D%22%23fff7db%22%2F%3E%3Cstop%20offset%3D%220.500%22%20stop-color%3D%22%23b88741%22%2F%3E%3Cstop%20offset%3D%220.667%22%20stop-color%3D%22%23e8c278%22%2F%3E%3Cstop%20offset%3D%220.833%22%20stop-color%3D%22%23fff2ca%22%2F%3E%3Cstop%20offset%3D%221.000%22%20stop-color%3D%22%2397692f%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20x%3D%224%22%20y%3D%2210%22%20width%3D%22342%22%20height%3D%22426%22%20rx%3D%2226%22%20fill%3D%22url%28%23edge%29%22%20stroke%3D%22%239e723c%22%20stroke-width%3D%221.4%22%2F%3E%0A%3Crect%20x%3D%228%22%20y%3D%2214%22%20width%3D%22334%22%20height%3D%22418%22%20rx%3D%2223%22%20fill%3D%22%23232623%22%20stroke%3D%22%23fff1c8%22%20stroke-width%3D%221.1%22%2F%3E%0A%3Crect%20x%3D%2212%22%20y%3D%2218%22%20width%3D%22326%22%20height%3D%22410%22%20rx%3D%2221%22%20fill%3D%22url%28%23edge%29%22%2F%3E%0A%3Cpath%20d%3D%22M35%2022H242Q260%2022%20268%2036Q278%2052%20298%2052H315Q334%2052%20334%2071V391Q334%20410%20315%20410H35Q17%20410%2017%20391V42Q17%2022%2035%2022Z%22%20fill%3D%22%23fffcf6%22%20stroke%3D%22%23f6dfa6%22%20stroke-width%3D%221.5%22%2F%3E%0A%3Cpath%20d%3D%22M249%2015H322Q340%2015%20340%2034V65Q332%2047%20314%2047H298Q280%2047%20273%2031Q268%2021%20249%2015Z%22%20fill%3D%22%2324272b%22%20stroke%3D%22url%28%23edge%29%22%20stroke-width%3D%222%22%2F%3E%0A%3Ctext%20x%3D%22293%22%20y%3D%2234%22%20text-anchor%3D%22middle%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%2213%22%20letter-spacing%3D%221%22%20fill%3D%22%23f4d899%22%3EVIP%3C%2Ftext%3E%0A%3Cg%20transform%3D%22translate%28311%2021%29%20scale%28.8%29%22%20color%3D%22%23f4d899%22%3E%3Cpath%20d%3D%22M1%204%205%208%209%201%2013%208%2017%204%2015%2013H3Z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M3%2016H15%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fg%3E%0A%3Cpath%20d%3D%22M18%20397Q18%20416%2036%20416H313Q332%20416%20332%20397V418Q332%20428%20321%20428H28Q18%20428%2018%20418Z%22%20fill%3D%22%2324272b%22%2F%3E%0A%3Cpath%20d%3D%22M9%2048V34Q9%2016%2029%2016H223%22%20fill%3D%22none%22%20stroke%3D%22%23fff7db%22%20stroke-width%3D%221.1%22%2F%3E%3C%2Fsvg%3E");
    --gk-vip-rim: #d8b36d; --gk-vip-shade: #80602f; --gk-vip-ink: #f3d68b;
    --gk-vip-highlight: #34392d; --gk-vip-face: #141811;
  }
  #gkCategories > .gk-jobs-card {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20350%20440%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22edge%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220.000%22%20stop-color%3D%22%2385a6db%22%2F%3E%3Cstop%20offset%3D%220.250%22%20stop-color%3D%22%23182e63%22%2F%3E%3Cstop%20offset%3D%220.500%22%20stop-color%3D%22%2331538a%22%2F%3E%3Cstop%20offset%3D%220.750%22%20stop-color%3D%22%2394b9ec%22%2F%3E%3Cstop%20offset%3D%221.000%22%20stop-color%3D%22%2317305c%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22silver%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220.000%22%20stop-color%3D%22%23e5efff%22%2F%3E%3Cstop%20offset%3D%220.500%22%20stop-color%3D%22%23718bb8%22%2F%3E%3Cstop%20offset%3D%221.000%22%20stop-color%3D%22%23c4d9fb%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22face%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220.000%22%20stop-color%3D%22%2340679b%22%2F%3E%3Cstop%20offset%3D%220.500%22%20stop-color%3D%22%230c204c%22%2F%3E%3Cstop%20offset%3D%221.000%22%20stop-color%3D%22%231b3e76%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M42%2016H320L346%2043V398Q346%20436%20307%20436H28L4%20413V56Q4%2016%2042%2016Z%22%20fill%3D%22url%28%23edge%29%22%20stroke%3D%22%237d9dcc%22%20stroke-width%3D%221.2%22%2F%3E%0A%3Cpath%20d%3D%22M42%2021H317L340%2046V398Q340%20430%20307%20430H31L10%20409V56Q10%2021%2042%2021Z%22%20fill%3D%22%2312264e%22%20stroke%3D%22%23d3e5ff%22%20stroke-width%3D%221.1%22%2F%3E%0A%3Cpath%20d%3D%22M43%2031H311L330%2051V396Q330%20420%20304%20420H37L20%20403V58Q20%2031%2043%2031Z%22%20fill%3D%22%23fffcf6%22%20stroke%3D%22%23658bc3%22%20stroke-width%3D%222%22%2F%3E%0A%3Cpath%20d%3D%22M44%2034H309L327%2053V394Q327%20417%20303%20417H39L23%20402V59Q23%2034%2044%2034Z%22%20fill%3D%22none%22%20stroke%3D%22%23c6dcff%22%20stroke-width%3D%221%22%2F%3E%0A%3Ccircle%20cx%3D%22175%22%20cy%3D%2225%22%20r%3D%2224%22%20fill%3D%22url%28%23silver%29%22%20stroke%3D%22%238ba5ce%22%20stroke-width%3D%221%22%2F%3E%0A%3Ccircle%20cx%3D%22175%22%20cy%3D%2225%22%20r%3D%2220%22%20fill%3D%22url%28%23face%29%22%20stroke%3D%22%23e2ecff%22%20stroke-width%3D%221%22%2F%3E%0A%3Cg%20transform%3D%22translate%28168%209%29%20scale%28.78%29%22%20color%3D%22%23e6f0ff%22%3E%3Cpath%20d%3D%22M1%204%205%208%209%201%2013%208%2017%204%2015%2013H3Z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M3%2016H15%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fg%3E%0A%3Ctext%20x%3D%22175%22%20y%3D%2238%22%20text-anchor%3D%22middle%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%2212%22%20fill%3D%22%23e6f0ff%22%3EVIP%3C%2Ftext%3E%3C%2Fsvg%3E");
    --gk-vip-rim: #97bde9; --gk-vip-shade: #325a91; --gk-vip-ink: #d4eaff;
    --gk-vip-highlight: #234f89; --gk-vip-face: #092252;
  }
  #gkCategories > .gk-services-card {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20350%20440%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22edge%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220.000%22%20stop-color%3D%22%23aa619d%22%2F%3E%3Cstop%20offset%3D%220.250%22%20stop-color%3D%22%236d193e%22%2F%3E%3Cstop%20offset%3D%220.500%22%20stop-color%3D%22%23a0579e%22%2F%3E%3Cstop%20offset%3D%220.750%22%20stop-color%3D%22%23ca91d6%22%2F%3E%3Cstop%20offset%3D%221.000%22%20stop-color%3D%22%236e1647%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22ribbon%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220.000%22%20stop-color%3D%22%23941943%22%2F%3E%3Cstop%20offset%3D%220.500%22%20stop-color%3D%22%234e0929%22%2F%3E%3Cstop%20offset%3D%221.000%22%20stop-color%3D%22%2373133c%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M29%209H321L346%2034V405Q346%20436%20315%20436H35Q4%20436%204%20405V34Z%22%20fill%3D%22url%28%23edge%29%22%20stroke%3D%22%236a153c%22%20stroke-width%3D%221.3%22%2F%3E%0A%3Cpath%20d%3D%22M32%2015H318L339%2037V404Q339%20429%20314%20429H36Q11%20429%2011%20404V37Z%22%20fill%3D%22%2348102f%22%20stroke%3D%22%23dcaee8%22%20stroke-width%3D%221.2%22%2F%3E%0A%3Cpath%20d%3D%22M34%2023H313L331%2042V400Q331%20419%20311%20419H39Q19%20419%2019%20400V42Z%22%20fill%3D%22%23fffcf6%22%20stroke%3D%22%23bd82c7%22%20stroke-width%3D%221.7%22%2F%3E%0A%3Cpath%20d%3D%22M36%2027H311L327%2044V399Q327%20415%20310%20415H40Q23%20415%2023%20399V44Z%22%20fill%3D%22none%22%20stroke%3D%22%236b1743%22%20stroke-width%3D%221%22%2F%3E%0A%3Cpath%20d%3D%22M29%209H86L25%2070H4V34Z%22%20fill%3D%22url%28%23ribbon%29%22%20stroke%3D%22%23ddb6ec%22%20stroke-width%3D%221.2%22%2F%3E%0A%3Cg%20transform%3D%22translate%2837%2025%29%20rotate%28-45%29%22%20color%3D%22%23f1daf9%22%3E%3Cpath%20d%3D%22M1%204%205%208%209%201%2013%208%2017%204%2015%2013H3Z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M3%2016H15%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fg%3E%0A%3Ctext%20x%3D%2227%22%20y%3D%2253%22%20transform%3D%22rotate%28-45%2027%2053%29%22%20text-anchor%3D%22middle%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%2212%22%20fill%3D%22%23f2ddfb%22%3EVIP%3C%2Ftext%3E%0A%3Cpath%20d%3D%22M14%20391Q17%20421%2045%20424M305%20424Q334%20420%20337%20392%22%20fill%3D%22none%22%20stroke%3D%22%23e6b3ed%22%20stroke-width%3D%222%22%2F%3E%0A%3Cpath%20d%3D%22M28%2011H80M18%20397Q19%20423%2043%20425%22%20fill%3D%22none%22%20stroke%3D%22%23fff0ff%22%20stroke-width%3D%221%22%2F%3E%3C%2Fsvg%3E");
    --gk-vip-rim: #d5a0e4; --gk-vip-shade: #802977; --gk-vip-ink: #f8ddff;
    --gk-vip-highlight: #9b2e72; --gk-vip-face: #5d103a;
  }
}
@media (min-width: 901px) and (max-width: 950px) {
  #gkCategories > .gk-category-card { height: 390px; }
}
@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  #gkCategories > .gk-category-card,
  #gkCategories > .gk-category-card .gk-category-btn { transition: none; }
}
