/* ==========================================================
   PHX AUCTION / مزایدات — Pixel Perfect reference implementation
   Header/footer are intentionally NOT restyled here. They are
   inherited from the site's global header/footer so this page
   stays identical to Contact/Home.
   ========================================================== */
.phx-auction-page{font-family:'Vazirmatn',sans-serif;background:var(--a-bg);color:var(--a-text);width:100%;max-width:none;margin:0;padding:0;overflow:hidden;isolation:isolate}
.phx-auction-page *{box-sizing:border-box}
.phx-auction-page a{text-decoration:none}
body.page-template-page-auction-management .phx-auction-page,
body.page-template-page-auction-management .a-hero,
body.page-template-page-auction-management .a-process,
body.page-template-page-auction-management .a-why,
body.page-template-page-auction-management .a-cta{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}

.a-hero{position:relative;height:var(--a-hero-h);min-height:405px;width:100%;background-image:linear-gradient(90deg,var(--a-hero-overlay),rgba(1,12,14,.20) 48%,rgba(0,0,0,.03) 80%),var(--hero-image);background-size:cover;background-position:left center;background-repeat:no-repeat;overflow:hidden;border-top:1px solid rgba(76,211,208,.07);border-bottom:1px solid rgba(76,211,208,.12)}
.a-hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 22% 42%,rgba(226,165,58,.10),transparent 28%),linear-gradient(180deg,rgba(0,0,0,.08),transparent 24%,rgba(0,0,0,.18));z-index:0}
.a-hero-inner{height:100%;width:100%;display:block;position:relative;z-index:1}
.a-hero-art{position:absolute;inset:0;display:block;overflow:hidden;z-index:0;pointer-events:none}
.a-hero-art:after{content:"";position:absolute;inset:0;background:var(--a-hero-overlay);pointer-events:none;z-index:1}
.a-hero-art img{position:absolute;inset:0;display:block;max-width:none;object-fit:cover;object-position:center;z-index:0}
.a-hero-copy{position:absolute;right:0;top:0;width:min(54%,760px);height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;direction:rtl;text-align:right;padding:70px 7vw 34px 5vw;z-index:2}
.a-kicker{font-weight:800;letter-spacing:.1px;margin:0 0 7px}
.a-hero-copy h1{margin:0 0 12px;font-weight:900;letter-spacing:-.6px}
.a-hero-copy p{max-width:580px;margin:0 0 15px}
.a-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.a-btn{display:inline-flex;align-items:center;justify-content:center;min-width:126px;min-height:37px;padding:8px 17px;border-radius:3px;font-size:11px;font-weight:800;transition:transform .2s ease,filter .2s ease,box-shadow .2s ease}
.a-btn:hover{transform:translateY(-2px);filter:brightness(1.05)}
.a-btn-gold{background:linear-gradient(180deg,#f1b24b,#d98b24);color:#081617;box-shadow:0 8px 22px rgba(224,151,44,.17)}
.a-btn-outline{background:rgba(0,0,0,.08);color:#f2f5f2;border:1px solid rgba(17,201,198,.5)}
.a-hero-features{display:grid;grid-template-columns:repeat(3,1fr);align-items:start;border-top:0;padding-top:13px;margin-top:17px;width:100%;position:relative}
.a-mini{display:flex;gap:8px;align-items:flex-start;min-width:0;padding-left:7px}
.a-mini:not(:last-child){border-left:0;position:relative}.a-mini:not(:last-child):after{content:"";position:absolute;left:0;top:0;width:var(--phx-divider-w,1px);height:var(--phx-divider-h,100%);background:var(--phx-divider-color,rgba(83,207,204,.11));transform:translate(var(--phx-divider-x,0),var(--phx-divider-y,0));pointer-events:none}
.a-mini-icon,.a-process-icon{display:grid;place-items:center;flex:0 0 auto;border:1px solid currentColor;border-radius:7px;background:rgba(2,15,17,.20);box-shadow:0 0 16px rgba(225,159,44,.08)}
.a-admin-icon{display:block;width:68%;height:68%;object-fit:contain;object-position:center;margin:auto}
.a-mini b,.a-mini span{display:block}
.a-mini b{margin-bottom:2px;line-height:1.4;font-weight:800}
.a-mini span{line-height:1.7}
.a-process{height:var(--a-process-h);background:linear-gradient(180deg,var(--a-process-bg),color-mix(in srgb,var(--a-process-bg) 78%,#042224 22%));border-top:1px solid rgba(82,209,207,.11);border-bottom:1px solid rgba(82,209,207,.12);overflow:hidden}
.a-process-inner{height:100%;display:grid;grid-template-columns:47% 53%;direction:ltr;align-items:stretch}
.a-process-copy{grid-column:1;direction:rtl;padding:25px 4.5vw 18px 4vw;align-self:center;min-width:0}
.a-process-copy h2{margin:0 0 8px;font-weight:900;letter-spacing:-.4px}
.a-process-copy p{margin:0 0 11px;max-width:560px}
.a-process-items{display:grid;grid-template-columns:repeat(3,1fr);align-items:start}
.a-process-item{display:grid;grid-template-columns:32px 1fr;gap:7px;align-items:start;min-width:0}
.a-process-item:not(:last-child){border-left:0;padding-left:7px;position:relative}.a-process-item:not(:last-child):after{content:"";position:absolute;left:0;top:0;width:var(--phx-divider-w,1px);height:var(--phx-divider-h,100%);background:var(--phx-divider-color,rgba(83,207,204,.11));transform:translate(var(--phx-divider-x,0),var(--phx-divider-y,0));pointer-events:none}
.a-process-item b,.a-process-item span{display:block}
.a-process-item b{font-weight:800;line-height:1.45}
.a-process-item span{line-height:1.65;margin-top:1px}
.a-process-art{grid-column:2;direction:ltr;overflow:hidden;min-width:0;align-self:stretch;justify-self:stretch}
.a-process-art{position:relative}.a-process-art:after{content:"";position:absolute;inset:0;background:var(--a-process-overlay);pointer-events:none}.a-process-art img{display:block;width:100%;height:100%;object-fit:cover;filter:brightness(.88) contrast(1.08) saturate(.88);box-shadow:0 10px 32px rgba(0,0,0,.42)}

.a-why{background:var(--a-why-bg);padding:13px 0 15px;border-bottom:1px solid rgba(84,209,207,.11);overflow:hidden}
.a-why-title{display:flex;align-items:center;justify-content:center;gap:12px;padding:0 20px 10px}
.a-why-title span{height:1px;width:68px;background:linear-gradient(90deg,transparent,var(--a-cyan))}
.a-why-title span:last-child{background:linear-gradient(90deg,var(--a-cyan),transparent)}
.a-why-title h2{margin:0;font-weight:900;white-space:nowrap}
.a-why-grid{display:grid;grid-template-columns:repeat(4,1fr);width:100%;padding:0 20px}
.a-card{position:relative;overflow:hidden;border:1px solid var(--a-why-card-border);background:var(--a-why-card-bg);min-width:0;transform-origin:center center;box-shadow:0 8px 22px rgba(0,0,0,.22)}
.a-card img{position:absolute;inset:-2%;width:104%;height:104%;object-fit:cover;display:block;filter:brightness(.78) contrast(1.06) saturate(.9);transform-origin:center center}
.a-card-overlay{position:absolute;inset:0;background:var(--a-why-overlay)}
.a-card-copy{position:absolute;right:0;left:0;bottom:0;padding:16px 15px 13px;z-index:2}
.a-card-copy h3{margin:0 0 4px;font-weight:900;line-height:1.4}
.a-card-copy p{margin:0;line-height:1.8}

.a-cta{position:relative;height:var(--a-cta-h);background-image:linear-gradient(90deg,var(--a-cta-overlay),rgba(1,12,14,.26) 45%,rgba(1,12,14,.10)),var(--cta-image);background-size:cover;background-position:center;overflow:hidden;border-bottom:1px solid rgba(81,205,202,.11)}
.a-cta:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 28% 45%,rgba(225,165,58,.08),transparent 30%);pointer-events:none}
.a-cta-inner{height:100%;width:100%;display:block;position:relative;direction:ltr}
.a-cta-art{position:absolute;inset:0;display:block;overflow:hidden;z-index:0;pointer-events:none}
.a-cta-art:after{content:"";position:absolute;inset:0;background:var(--a-cta-overlay);pointer-events:none;z-index:1}
.a-cta-art img{position:absolute;inset:0;display:block;max-width:none;object-fit:cover;z-index:0}
.a-cta-copy{position:absolute;right:0;top:0;width:min(55%,760px);height:100%;direction:rtl;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:22px 7vw 22px 5vw;z-index:2}
.a-cta-copy h2{margin:0 0 6px;font-weight:900;letter-spacing:-.3px}
.a-cta-copy p{margin:0 0 10px}
/* Typography and spacing scale — desktop reference */
.a-hero .a-kicker,.a-process .a-kicker,.a-cta .a-kicker{line-height:1.5}

/* v9 desktop scale: 1905x600 Hero standard + readable section typography */
@media (min-width:1101px){
 .a-hero{height:600px;min-height:600px;}
 .a-hero-copy{width:min(54%,760px);padding:110px 6vw 48px 4vw;}
 .a-hero-copy h1{font-size:52px!important;line-height:1.32!important;max-width:650px;}
 .a-hero-copy p{font-size:16px!important;line-height:2.05!important;max-width:600px;}
 .a-kicker{font-size:18px;}
 .a-btn{min-width:150px;min-height:48px;padding:10px 22px;font-size:14px;}
 .a-hero-features{padding-top:20px;margin-top:24px;gap:24px!important;}
 .a-mini{gap:12px;padding-left:12px;}
 .a-mini-icon{width:46px!important;height:46px!important;border-radius:8px;}
 .a-mini b{font-size:14px!important;line-height:1.5;}
 .a-mini span{font-size:11px!important;line-height:1.8;}
 .a-process{height:430px;}
 .a-process-copy{padding:38px 4vw 30px 3.5vw;}
 .a-process-copy h2{font-size:38px!important;line-height:1.42!important;max-width:520px;}
 .a-process-copy p{font-size:15px!important;line-height:2.05!important;max-width:560px;}
 .a-process-items{gap:20px!important;margin-top:18px;}
 .a-process-item{grid-template-columns:44px 1fr;gap:10px;}
 .a-process-icon{width:44px!important;height:44px!important;border-radius:8px;}
 .a-process-item b{font-size:13px!important;line-height:1.55;}
 .a-process-item span{font-size:10.5px!important;line-height:1.8;}
 .a-why{padding:24px 0 28px;}
 .a-why-title{padding-bottom:18px;}
 .a-why-title h2{font-size:28px!important;}
 .a-why-grid{padding:0 24px;gap:14px!important;}
 .a-card{height:285px!important;}
 .a-card-copy{padding:22px 20px 18px;}
 .a-card-copy h3{font-size:17px!important;line-height:1.5;}
 .a-card-copy p{font-size:12px!important;line-height:1.9;}
 .a-cta{height:340px;}
 .a-cta-copy{width:min(55%,760px);padding:36px 6vw 30px 4vw;}
 .a-cta-copy h2{font-size:38px!important;line-height:1.45!important;max-width:560px;}
 .a-cta-copy p{font-size:14px!important;line-height:1.9;max-width:540px;}
 .a-cta .a-kicker{font-size:16px;}
}

@media(max-width:1100px){
 .a-hero{height:var(--a-hero-h);min-height:520px}
 .a-hero-copy{padding-right:4vw;padding-left:3vw}
 .a-hero-copy h1{font-size:clamp(34px,4vw,43px)!important}
 .a-hero-copy p{font-size:13px!important}
 .a-process-copy{padding-right:3vw;padding-left:2.5vw}
 .a-process-copy h2{font-size:27px!important}
 .a-cta-copy h2{font-size:25px!important}
}

@media(max-width:800px){
 .a-hero{height:560px;min-height:560px;background-position:45% center}
 .a-hero-inner{display:block;height:100%}
 .a-hero-copy{position:absolute;right:0;top:0;width:100%;height:100%;padding:112px 22px 25px;align-items:flex-start;justify-content:center;text-align:right!important;background:linear-gradient(90deg,rgba(1,12,14,.72),rgba(1,12,14,.34) 58%,rgba(1,12,14,.10))}
 .a-hero-art{display:block!important}
 .a-hero-copy h1{font-size:34px!important}
 .a-hero-copy p{font-size:13px!important}
 .a-hero-features{grid-template-columns:1fr;gap:9px!important;max-width:420px}
 .a-mini:not(:last-child){border-left:0;border-bottom:1px solid rgba(83,207,204,.11);padding-bottom:8px}
 .a-process{height:auto}
 .a-process-inner{display:flex;flex-direction:column;height:auto}
 .a-process-copy{order:1;padding:28px 22px 20px}
 .a-process-art{order:2;width:100%;height:290px;min-height:290px}
 .a-process-items{grid-template-columns:repeat(3,1fr)}
 .a-process-copy h2{font-size:32px!important;line-height:1.45!important}
 .a-process-copy p{font-size:14px!important;line-height:1.95!important}
 .a-why{padding-top:16px}
 .a-why-grid{grid-template-columns:repeat(2,1fr);padding:0 14px;gap:10px!important}
 .a-card{height:205px!important}
 .a-cta{height:430px!important;background-position:35% center}
 .a-cta-inner{display:block;height:100%}
 .a-cta-art{display:block!important}
 .a-cta-copy{position:absolute;right:0;top:0;width:100%;height:100%;padding:30px 22px;background:linear-gradient(90deg,rgba(1,12,14,.72),rgba(1,12,14,.28) 65%,rgba(1,12,14,.10))}
 .a-cta-copy h2{font-size:31px!important;line-height:1.45!important}
}

@media(max-width:520px){
 .a-hero-copy{padding:92px 17px 20px}
 .a-hero-copy h1{font-size:29px!important}
 .a-hero-copy p{font-size:12px!important}
 .a-btn{min-width:116px;font-size:10px;padding:7px 13px}
 .a-process-copy{padding:24px 17px 18px}
 .a-process-copy h2{font-size:24px!important}
 .a-process-items{grid-template-columns:1fr;gap:10px!important}
 .a-process-item:not(:last-child){border-left:0;border-bottom:1px solid rgba(83,207,204,.11);padding:0 0 8px}
 .a-process-art{height:235px;min-height:235px}
 .a-why-title{gap:7px;padding-bottom:9px}
 .a-why-title span{width:24px}
 .a-why-title h2{font-size:18px!important}
 .a-why-grid{grid-template-columns:1fr;padding:0 12px}
 .a-card{height:210px!important}
 .a-cta{height:390px!important;background-position:32% center}
 .a-cta-copy{padding:26px 17px}
 .a-cta-copy h2{font-size:24px!important}
}

@media (min-width:901px){body.page-template-page-auction-management header.navbar{position:absolute!important;top:0!important;left:0!important;right:0!important;margin:20px 40px 0!important;width:auto!important;padding:0!important;z-index:1000!important}}
@media (max-width:900px){body.page-template-page-auction-management header.navbar{position:absolute!important;top:0!important;left:0!important;right:0!important;margin:14px 16px 0!important;width:calc(100% - 32px)!important;z-index:1000!important}}
@media (max-width:600px){body.page-template-page-auction-management header.navbar{margin:10px 10px 0!important;width:calc(100% - 20px)!important}}

/* V14 — desktop Hero standard: 1905×600 reference size. */
@media (min-width:901px){
  body.page-template-page-auction-management .a-hero{
    width:100vw !important;
    max-width:none !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    height:600px !important;
    min-height:600px !important;
    max-height:600px !important;
  }
  body.page-template-page-auction-management .a-hero-inner{height:600px !important;min-height:600px !important;}
}

/* V15 — clean uploaded images: no black halo/filter/overlay on image areas. */
body.page-template-page-auction-management .a-hero:after,
body.page-template-page-auction-management .a-hero-copy{background-image:none!important;}
body.page-template-page-auction-management .a-hero{background-image:var(--hero-image)!important;}
body.page-template-page-auction-management .a-hero-art img{filter:none!important;mix-blend-mode:normal!important;}
body.page-template-page-auction-management .a-card-overlay{display:none!important;}
body.page-template-page-auction-management .a-card img,
body.page-template-page-auction-management .a-process-art img,
body.page-template-page-auction-management .a-cta-art img{filter:none!important;mix-blend-mode:normal!important;box-shadow:none!important;}
body.page-template-page-auction-management .a-cta{background-image:var(--cta-image)!important;}
@media(min-width:1101px){
  body.page-template-page-auction-management .a-hero-copy h1{font-size:52px!important;}
  body.page-template-page-auction-management .a-hero-copy p{font-size:16px!important;}
  body.page-template-page-auction-management .a-process-copy h2{font-size:38px!important;}
  body.page-template-page-auction-management .a-process-copy p{font-size:15px!important;}
  body.page-template-page-auction-management .a-process-item b{font-size:13px!important;}
  body.page-template-page-auction-management .a-process-item span{font-size:10.5px!important;}
  body.page-template-page-auction-management .a-why-title h2{font-size:30px!important;}
  body.page-template-page-auction-management .a-card-copy h3{font-size:17px!important;}
  body.page-template-page-auction-management .a-card-copy p{font-size:12px!important;}
  body.page-template-page-auction-management .a-cta-copy h2{font-size:40px!important;}
  body.page-template-page-auction-management .a-cta-copy p{font-size:14px!important;}
}
body.page-template-page-auction-management .a-process-art:after{display:none!important;}
body.page-template-page-auction-management .a-card{box-shadow:none!important;}
body.page-template-page-auction-management .a-cta:after{display:none!important;}

/* PHX Auction — scoped premium benefit cards only. */
body.page-template-page-auction-management .a-why .a-card{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  transform-style:preserve-3d;
  border:1px solid color-mix(in srgb, var(--a-cyan, #53cfcc) 42%, transparent) !important;
  box-shadow:
    0 18px 38px rgba(0,0,0,.30),
    0 7px 15px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -1px 0 rgba(0,0,0,.28) !important;
  transition:transform .32s ease,box-shadow .32s ease,border-color .32s ease;
}
body.page-template-page-auction-management .a-why .a-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(145deg,rgba(255,255,255,.07),transparent 32%,transparent 70%,rgba(83,207,204,.035));
}
body.page-template-page-auction-management .a-why .a-card:hover{
  transform:translateY(-6px) perspective(900px) rotateX(1.2deg) !important;
  border-color:color-mix(in srgb, var(--a-cyan, #53cfcc) 68%, transparent) !important;
  box-shadow:
    0 25px 50px rgba(0,0,0,.36),
    0 10px 22px rgba(0,0,0,.24),
    0 0 24px rgba(83,207,204,.08),
    inset 0 1px 0 rgba(255,255,255,.11) !important;
}
body.page-template-page-auction-management .a-why .a-card-copy{
  z-index:3;
  display:flex !important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center !important;
}
body.page-template-page-auction-management .a-why .a-card-copy h3,
body.page-template-page-auction-management .a-why .a-card-copy p{
  width:100%;
  margin-left:auto;
  margin-right:auto;
  text-align:center !important;
}
@media (prefers-reduced-motion:reduce){
  body.page-template-page-auction-management .a-why .a-card{transition:none;}
  body.page-template-page-auction-management .a-why .a-card:hover{transform:none !important;}
}


/* ==========================================================
   PHX AUCTION — PROCESS IMAGE / PERCEPTUAL BORDERLESS
   Scoped ONLY to the auction process section.
   The existing two-column structure remains intact; only the
   visual relationship between the existing image and copy is
   refined. No global selectors are changed.
   ========================================================== */

.phx-auction-page .a-process .a-process-art{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:transparent;
  border:0;
  box-shadow:none;
}

.phx-auction-page .a-process .a-process-art::before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(
      90deg,
      var(--a-process-bg) 0%,
      color-mix(in srgb, var(--a-process-bg) 76%, transparent) 7%,
      transparent 25%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      var(--a-process-bg) 0%,
      transparent 12%,
      transparent 88%,
      var(--a-process-bg) 100%
    );
}

.phx-auction-page .a-process .a-process-art::after{
  content:"";
  position:absolute;
  z-index:3;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(
      90deg,
      rgba(1,12,14,.18) 0%,
      transparent 30%,
      transparent 100%
    );
}

.phx-auction-page .a-process .a-process-art img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  border:0;
  border-radius:0;
  box-shadow:none;
  filter:brightness(.88) contrast(1.06) saturate(.88);
  -webkit-mask-image:linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,.16) 5%,
    #000 25%,
    #000 100%
  );
  mask-image:linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,.16) 5%,
    #000 25%,
    #000 100%
  );
}

/* Preserve the existing mobile stacking while removing the
   perception of a separate rectangular image block. */
@media (max-width:800px){
  .phx-auction-page .a-process .a-process-art{
    border:0;
    box-shadow:none;
  }

  .phx-auction-page .a-process .a-process-art::before{
    background:
      linear-gradient(
        180deg,
        var(--a-process-bg) 0%,
        transparent 18%,
        transparent 82%,
        var(--a-process-bg) 100%
      );
  }

  .phx-auction-page .a-process .a-process-art::after{
    background:
      linear-gradient(
        180deg,
        rgba(1,12,14,.12) 0%,
        transparent 28%,
        transparent 100%
      );
  }

  .phx-auction-page .a-process .a-process-art img{
    -webkit-mask-image:linear-gradient(
      180deg,
      transparent 0%,
      rgba(0,0,0,.18) 8%,
      #000 24%,
      #000 76%,
      rgba(0,0,0,.18) 92%,
      transparent 100%
    );
    mask-image:linear-gradient(
      180deg,
      transparent 0%,
      rgba(0,0,0,.18) 8%,
      #000 24%,
      #000 76%,
      rgba(0,0,0,.18) 92%,
      transparent 100%
    );
  }
}

@media (max-width:520px){
  .phx-auction-page .a-process .a-process-art{
    min-height:235px;
  }
}

/* V23 — restore clean image appearance; no extra dark layer on Hero, Process image, or CTA image. */
body.page-template-page-auction-management .a-hero:after,
body.page-template-page-auction-management .a-cta:after{display:none!important;background:none!important;}
body.page-template-page-auction-management .a-hero-copy,
body.page-template-page-auction-management .a-cta-copy{background-image:none!important;}
body.page-template-page-auction-management .a-hero{background-image:var(--hero-image)!important;}
body.page-template-page-auction-management .a-cta{background-image:var(--cta-image)!important;}
body.page-template-page-auction-management .a-process-art img,
body.page-template-page-auction-management .a-hero-art img,
body.page-template-page-auction-management .a-cta-art img{filter:none!important;mix-blend-mode:normal!important;}

/* V24 — restore clean image presentation while keeping admin controls available. */
body.page-template-page-auction-management .a-hero,
body.page-template-page-auction-management .a-cta{background-image:var(--hero-image)!important;background-blend-mode:normal!important;}
body.page-template-page-auction-management .a-cta{background-image:var(--cta-image)!important;background-blend-mode:normal!important;}
body.page-template-page-auction-management .a-hero:after,
body.page-template-page-auction-management .a-hero-art:after,
body.page-template-page-auction-management .a-process-art:before,
body.page-template-page-auction-management .a-process-art:after,
body.page-template-page-auction-management .a-cta:after,
body.page-template-page-auction-management .a-cta-art:after{display:none!important;background:none!important;}
body.page-template-page-auction-management .a-process-art img,
body.page-template-page-auction-management .a-hero-art img,
body.page-template-page-auction-management .a-cta-art img{filter:none!important;mix-blend-mode:normal!important;}
body.page-template-page-auction-management .a-card img{filter:none!important;}
body.page-template-page-auction-management .a-card-overlay{display:none!important;}
body.page-template-page-auction-management .a-hero-copy,
body.page-template-page-auction-management .a-cta-copy{background-image:none!important;}

/* V25 — auction-only final fixes: restore clean images, widen text areas, and let admin alignment win. */
body.page-template-page-auction-management .a-hero:after,
body.page-template-page-auction-management .a-hero-art:after,
body.page-template-page-auction-management .a-process-art:before,
body.page-template-page-auction-management .a-process-art:after,
body.page-template-page-auction-management .a-cta:after,
body.page-template-page-auction-management .a-cta-art:after,
body.page-template-page-auction-management .a-card-overlay{display:none!important;background:none!important;}
body.page-template-page-auction-management .a-hero-copy,
body.page-template-page-auction-management .a-cta-copy{background-image:none!important;}
body.page-template-page-auction-management .a-hero,
body.page-template-page-auction-management .a-cta{background-blend-mode:normal!important;}
body.page-template-page-auction-management .a-process-art img,
body.page-template-page-auction-management .a-hero-art img,
body.page-template-page-auction-management .a-cta-art img{filter:none!important;mix-blend-mode:normal!important;box-shadow:none!important;}

body.page-template-page-auction-management .a-process-inner{grid-template-columns:55% 45%!important;}
body.page-template-page-auction-management .a-process-copy{width:100%!important;max-width:none!important;}
body.page-template-page-auction-management .a-process-copy p,
body.page-template-page-auction-management .a-process-copy h2,
body.page-template-page-auction-management .a-process-copy .a-kicker{max-width:none!important;width:100%!important;}
body.page-template-page-auction-management .a-hero-copy p,
body.page-template-page-auction-management .a-cta-copy p,
body.page-template-page-auction-management .a-card-copy p,
body.page-template-page-auction-management .a-card-copy h3{max-width:100%!important;}
body.page-template-page-auction-management .a-hero-copy p,
body.page-template-page-auction-management .a-process-copy p,
body.page-template-page-auction-management .a-card-copy,
body.page-template-page-auction-management .a-cta-copy p{overflow-wrap:anywhere;}

/* Keep manual Enter breaks visible whenever the admin's wrap control is enabled. */
body.page-template-page-auction-management .phx-auction-manual-break{white-space:pre-line;}

/* V26 — auction benefit cards: make every card image use the same full-frame fit as the first card. */
body.page-template-page-auction-management .a-why .a-card img{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-fit:cover!important;
  display:block!important;
  border:0!important;
}

/* V27 — remove the inner benefit-card frame only; keep the outer card design unchanged. */
body.page-template-page-auction-management .a-why .a-card::before{
  display:none!important;
  content:none!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
}
body.page-template-page-auction-management .a-why .a-card img{
  position:absolute!important;
  top:-1px!important;
  right:-1px!important;
  bottom:-1px!important;
  left:-1px!important;
  width:calc(100% + 2px)!important;
  height:calc(100% + 2px)!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  object-fit:cover!important;
}

/* V28 — enforce admin text alignment on every auction text node.
   Inline !important values generated by page-auction-management.php are the source of truth. */
body.page-template-page-auction-management .a-hero-copy .a-kicker,
body.page-template-page-auction-management .a-hero-copy h1,
body.page-template-page-auction-management .a-hero-copy p,
body.page-template-page-auction-management .a-mini b,
body.page-template-page-auction-management .a-mini span,
body.page-template-page-auction-management .a-process-copy .a-kicker,
body.page-template-page-auction-management .a-process-copy h2,
body.page-template-page-auction-management .a-process-copy p,
body.page-template-page-auction-management .a-process-item b,
body.page-template-page-auction-management .a-process-item span,
body.page-template-page-auction-management .a-why-title h2,
body.page-template-page-auction-management .a-card-copy h3,
body.page-template-page-auction-management .a-card-copy p,
body.page-template-page-auction-management .a-cta-copy .a-kicker,
body.page-template-page-auction-management .a-cta-copy h2,
body.page-template-page-auction-management .a-cta-copy p {
  text-align: inherit;
}
body.page-template-page-auction-management .a-process-copy p,
body.page-template-page-auction-management .a-hero-copy p,
body.page-template-page-auction-management .a-card-copy p,
body.page-template-page-auction-management .a-cta-copy p {
  text-justify: inter-word;
}

/* PHX Auction per-element management — scoped only to this page. */
body.page-template-page-auction-management .a-auction-header-line{position:absolute;right:0;top:0;z-index:3;pointer-events:none;transform-origin:right top;}
body.page-template-page-auction-management .a-mini-icon{overflow:hidden;}
body.page-template-page-auction-management .a-mini-icon .a-admin-icon,
body.page-template-page-auction-management .a-process-icon .a-admin-icon{max-width:68%;max-height:68%;width:auto;height:auto;object-fit:contain;transform:none!important;}

/* Additive custom-icon controls — auction page only. */
.phx-tender-admin .phx-t-icon-row .phx-t-icon-btn,
.phx-tender-admin .phx-t-icon-row .phx-t-icon-clear{
  white-space:nowrap;
}
.phx-tender-admin .phx-t-icon-row .phx-t-icon-clear{
  border-color:#b32d2e;
  color:#b32d2e;
}
.phx-tender-admin .phx-t-icon-row .phx-t-icon-clear:hover{
  border-color:#8a2424;
  color:#8a2424;
}
@media(max-width:1100px){
  .phx-tender-admin .phx-t-icon-row .phx-t-icon-btn,
  .phx-tender-admin .phx-t-icon-row .phx-t-icon-clear{
    white-space:normal;
  }
}

/* ==========================================================
   PHX RESPONSIVE HOTFIX — v17
   IMPORTANT: auction-management.php outputs several per-element
   values as inline styles for the admin panel. The rules below
   intentionally override only the responsive layout properties
   at mobile/tablet widths. Desktop/admin values remain untouched.
   ========================================================== */
@media (max-width:800px){
  body.page-template-page-auction-management .a-hero{
    height:560px !important;
    min-height:560px !important;
    max-height:none !important;
  }
  body.page-template-page-auction-management .a-process-art{
    width:100% !important;
    height:290px !important;
    min-height:290px !important;
    max-height:none !important;
  }
  body.page-template-page-auction-management .a-card{
    height:205px !important;
    min-height:0 !important;
  }
  body.page-template-page-auction-management .a-cta{
    height:430px !important;
    min-height:0 !important;
    max-height:none !important;
  }
  body.page-template-page-auction-management .a-hero-art,
  body.page-template-page-auction-management .a-cta-art{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    max-height:none !important;
  }
}

@media (max-width:520px){
  body.page-template-page-auction-management .a-hero{
    height:560px !important;
    min-height:560px !important;
  }
  body.page-template-page-auction-management .a-process-art{
    width:100% !important;
    height:235px !important;
    min-height:235px !important;
  }
  body.page-template-page-auction-management .a-card{
    height:210px !important;
  }
  body.page-template-page-auction-management .a-cta{
    height:390px !important;
  }
}

/* PHX AUCTION — 1366×600 LAPTOP HERO FIX
   At the common 1366px laptop width, keep the complete managed hero artwork visible.
   Scoped only to the auction page and only to the 1101–1400px desktop range. */
@media (min-width:1101px) and (max-width:1400px){
  body.page-template-page-auction-management .a-hero,
  body.page-template-page-auction-management .a-hero-art{
    height:600px !important;
    min-height:600px !important;
    max-height:600px !important;
  }
  body.page-template-page-auction-management .a-hero{
    background-size:100% 100% !important;
    background-position:center center !important;
  }
  body.page-template-page-auction-management .a-hero-art img{
    width:100% !important;
    height:100% !important;
    object-fit:fill !important;
    object-position:center center !important;
  }
}


/* V17 follow-up correction: fill the process-art panel visually without cropping
   the foreground image. A cover-sized copy fills any ratio mismatch behind it;
   the foreground stays contain-sized, and the original fade/filter are preserved. */
body.page-template-page-auction-management .a-process-art{
  background-repeat:no-repeat !important;
  background-size:cover !important;
  background-position:center center !important;
}
body.page-template-page-auction-management .phx-auction-page .a-process-art img,
body.page-template-page-auction-management .a-process-art img{
  object-fit:contain !important;
  width:100% !important;
  height:100% !important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 5%,#000 25%,#000 100%) !important;
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 5%,#000 25%,#000 100%) !important;
  filter:brightness(.88) contrast(1.06) saturate(.88) !important;
  background:transparent !important;
}
body.page-template-page-auction-management .a-mini-icon,
body.page-template-page-auction-management .a-process-icon{
  background:transparent !important;
}


/* Auction-only icon sizing: icon glyph/image and its surrounding box are independent. */
.phx-auction-page .a-icon-inner{box-sizing:border-box;overflow:hidden;max-width:100%;max-height:100%;line-height:1;flex-shrink:0}
.phx-auction-page .a-icon-inner img,
.phx-auction-page .a-icon-inner svg{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.phx-auction-page .a-mini-icon,
.phx-auction-page .a-process-icon{box-sizing:border-box;display:flex;align-items:center;justify-content:center}

/* Spacious editing fields are scoped to the existing Auction admin page only. */
.phx-auction-admin form > .phx-t-grid label:has(textarea){grid-column:span 2;min-width:0}
.phx-auction-admin form textarea[name="hero_title"],
.phx-auction-admin form textarea[name="hero_desc"],
.phx-auction-admin form textarea[name="cta_kicker"],
.phx-auction-admin form textarea[name="cta_title"],
.phx-auction-admin form textarea[name="cta_desc"]{width:100%;min-height:100px;resize:vertical;box-sizing:border-box;line-height:1.8}
.phx-auction-admin form textarea[name="hero_desc"],
.phx-auction-admin form textarea[name="cta_title"],
.phx-auction-admin form textarea[name="cta_desc"]{min-height:150px}
.phx-auction-admin .phx-auction-element-box{min-width:0}


/* v19: auction-only icon dimensions must override legacy fixed mobile/desktop sizes. */
body.page-template-page-auction-management .a-mini-icon,
body.page-template-page-auction-management .a-process-icon{
  width:var(--a-box-width, auto) !important;
  height:var(--a-box-height, auto) !important;
  min-width:0 !important; min-height:0 !important;
}
body.page-template-page-auction-management .a-mini-icon .a-icon-inner,
body.page-template-page-auction-management .a-process-icon .a-icon-inner{
  width:var(--a-icon-w, 35px) !important; height:var(--a-icon-h, 35px) !important;
  max-width:100% !important; max-height:100% !important;
}
body.page-template-page-auction-management .a-mini-icon .a-icon-inner img,
body.page-template-page-auction-management .a-mini-icon .a-icon-inner svg,
body.page-template-page-auction-management .a-process-icon .a-icon-inner img,
body.page-template-page-auction-management .a-process-icon .a-icon-inner svg{
  width:100% !important; height:100% !important; max-width:100% !important; max-height:100% !important;
  object-fit:contain !important; transform:none !important;
}


/* Targeted fix: auction process artwork must fill its existing right-hand panel. */
body.page-template-page-auction-management .a-process-art{width:100% !important;height:100% !important;min-width:0 !important;min-height:0 !important;align-self:stretch !important;justify-self:stretch !important;}
body.page-template-page-auction-management .a-process-art img{display:block !important;width:100% !important;height:100% !important;object-fit:cover !important;object-position:center center !important;}

/* PHX TARGETED FIX — auction process artwork fills the right panel.
   Remove the duplicate background copy and make the single foreground image
   cover the existing panel. Scoped only to the auction process image. */
body.page-template-page-auction-management .phx-auction-page .a-process .a-process-art{
  background-image:none !important;
  background-repeat:no-repeat !important;
}
body.page-template-page-auction-management .phx-auction-page .a-process .a-process-art img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  -webkit-mask-image:none !important;
  mask-image:none !important;
}


/* PHX Auction benefit cards — match card ratio to landscape artwork on 1366×600/768.
   No crop, no stretched image, no blurred duplicate: card height follows its 16:9 image ratio. */
@media (min-width:1101px) and (max-width:1400px){
  body.page-template-page-auction-management .phx-auction-page .a-why .a-card{
    position:relative!important; display:block!important; width:100%!important;
    height:auto!important; min-height:0!important; max-height:none!important;
    aspect-ratio:16 / 9!important; overflow:hidden!important; isolation:isolate!important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-why .a-card>img.a-card-image-backdrop{
    display:none!important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-why .a-card>img.a-card-image-main{
    position:absolute!important; inset:0!important; width:100%!important; height:100%!important;
    max-width:none!important; max-height:none!important; min-height:0!important;
    margin:0!important; padding:0!important; border:0!important;
    object-fit:contain!important; object-position:center center!important;
    display:block!important; transform:none!important; filter:none!important; opacity:1!important; z-index:0!important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-why .a-card .a-card-overlay{
    display:block!important; position:absolute!important; inset:0!important; z-index:1!important;
    background:linear-gradient(to bottom,rgba(0,0,0,.02) 20%,rgba(0,0,0,.18) 48%,rgba(0,0,0,.82) 100%)!important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-why .a-card .a-card-copy{
    position:absolute!important; inset:auto 0 0 0!important; z-index:2!important;
  }
}

/* V20 — auction benefit cards: remove the narrow side bars without cropping or distorting images.
   Let each card follow the natural ratio of its source image on 1366px laptop/desktop screens. */
@media (min-width:1101px) and (max-width:1400px){
  body.page-template-page-auction-management .phx-auction-page .a-why .a-card{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
    padding:0!important;
    background:transparent!important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-why .a-card>img.a-card-image-backdrop{
    display:none!important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-why .a-card>img.a-card-image-main{
    position:relative!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
    filter:none!important;
    opacity:1!important;
    z-index:0!important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-why .a-card .a-card-overlay{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    z-index:1!important;
    background:linear-gradient(to bottom,rgba(0,0,0,.02) 20%,rgba(0,0,0,.18) 48%,rgba(0,0,0,.82) 100%)!important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-why .a-card .a-card-copy{
    position:absolute!important;
    inset:auto 0 0 0!important;
    z-index:2!important;
  }
}

/* PHX scoped image-edge fade: auction process section only */
body.page-template-page-auction-management .a-process-art{position:relative;isolation:isolate;}
body.page-template-page-auction-management .a-process-art img{
  -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 12%,#000 88%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 12%,#000 88%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent 0%,#000 12%,#000 88%,transparent 100%),linear-gradient(to bottom,transparent 0%,#000 12%,#000 88%,transparent 100%);
  mask-composite:intersect;
}
body.page-template-page-auction-management .a-process-art{background-image:linear-gradient(to right,transparent 0%,var(--auction-bg,#04181a) 100%);}

/* PHX AUCTION — mobile hero header correction (Android/iPhone only).
   Preserve the existing image source, sizing, and position settings.
   Let content determine hero height so text, buttons, and features do not overlap. */
@media (max-width: 767px) {
  body.page-template-page-auction-management .phx-auction-page .a-hero {
    height: auto !important;
    min-height: 560px !important;
    max-height: none !important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-hero-inner {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-hero-copy {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 560px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: calc(104px + env(safe-area-inset-top, 0px)) clamp(16px, 4.5vw, 20px) 28px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    background: transparent !important;
    background-image: none !important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-hero-copy .a-kicker,
  body.page-template-page-auction-management .phx-auction-page .a-hero-copy h1,
  body.page-template-page-auction-management .phx-auction-page .a-hero-copy p {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }
  body.page-template-page-auction-management .phx-auction-page .a-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-buttons .a-btn {
    box-sizing: border-box !important;
    min-width: min(116px, 100%) !important;
    max-width: 100% !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 9px 12px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  body.page-template-page-auction-management .phx-auction-page .a-hero-features {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 10px !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-mini,
  body.page-template-page-auction-management .phx-auction-page .a-mini > div:last-child {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere;
  }
  body.page-template-page-auction-management .phx-auction-page .a-mini b,
  body.page-template-page-auction-management .phx-auction-page .a-mini span {
    overflow-wrap: anywhere;
  }
  body.page-template-page-auction-management .phx-auction-page .a-hero-art {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    pointer-events: none !important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-hero-art img {
    max-width: none !important;
    max-height: none !important;
  }
}
@media (max-width: 359px) {
  body.page-template-page-auction-management .phx-auction-page .a-hero-copy {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-buttons {
    gap: 8px !important;
  }
}


/* V2 — Auction mobile hero: move all hero copy, buttons, and feature row 40px left.
   Keep the existing mobile image, layout, and tablet/desktop rules unchanged.
   Expanding the copy box by the same amount preserves its right edge and available content width. */
@media (max-width: 767px) {
  body.page-template-page-auction-management .phx-auction-page .a-hero-copy {
    position: relative !important;
    left: -40px !important;
    width: calc(100% + 40px) !important;
    max-width: none !important;
  }
}


/* Scoped fix: move only the text column beside icons in the auction process section. */
body.page-template-page-auction-management .phx-auction-page .a-process-item > div:last-child {
  position: relative;
  left: -20px;
}


/* PHX scoped fix: move only the title of the auction benefits section 30px to the right. */
body.page-template-page-auction-management .phx-auction-page .a-why-title h2 {
  position: relative;
  left: 30px;
}

/* PHX scoped mobile correction — auction benefits heading only.
   Keep the full heading on one line and reduce its configured size by 4px on phones. */
@media (max-width: 520px) {
  body.page-template-page-auction-management .phx-auction-page .a-why-title {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
    gap: 6px;
    box-sizing: border-box;
  }
  body.page-template-page-auction-management .phx-auction-page .a-why-title span {
    width: 8px;
    min-width: 8px;
    flex: 0 0 8px;
  }
  body.page-template-page-auction-management .phx-auction-page .a-why-title h2 {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    font-size: calc(var(--phx-why-title-size, 20px) - 4px) !important;
    line-height: 1.45 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }
  body.page-template-page-auction-management .phx-auction-page .a-why-title h2 br {
    display: none !important;
  }
}

