/* ==========================================================================
   MOKY Ads: the worldwide DOOH listings (the Ads page's worldwide section) and the screens' pages under /ads/

   Loaded after css/publisher.css: the cards, chips, panels and buttons are the marketplace's (pb-), and only what
   the listings add is here, prefixed dr-. The /ads/ pages wrap their content in .dr-app, which gets the same
   resets the Ads page's #pbApp has.
   ========================================================================== */

:where(.dr-app) *,:where(.dr-app) *::before,:where(.dr-app) *::after{box-sizing:border-box}
:where(.dr-app) a{color:inherit;text-decoration:none}
:where(.dr-app) button{font:inherit;color:inherit;cursor:pointer}
:where(.dr-app) h1,:where(.dr-app) h2,:where(.dr-app) h3,:where(.dr-app) h4,:where(.dr-app) p,:where(.dr-app) ul,:where(.dr-app) ol,:where(.dr-app) dl,:where(.dr-app) dd,:where(.dr-app) figure{margin:0;padding:0}
:where(.dr-app) ul,:where(.dr-app) ol{list-style:none}
.dr-app{position:relative}
.dr-app :focus-visible{outline:2px solid var(--cy);outline-offset:2px}

/* a country's code, as a small tag */
.dr-cc{display:grid;place-items:center;flex:none;width:36px;height:26px;border-radius:7px;background:rgba(99,49,251,.2);border:1px solid rgba(138,105,253,.45);color:var(--cy);font:800 11px/1 var(--fb);letter-spacing:.06em}

.dr-pglink{margin-inline-start:auto;white-space:nowrap}

/* ==========================================================================
   A listing: its rows are the Ads page's compact rows (publisher.css); its own page shows the kind of place it is in
   ========================================================================== */
.dr-glyph{position:absolute;left:50%;top:44%;z-index:2;display:grid;place-items:center;width:64px;height:64px;margin:-32px 0 0 -32px;border:1px solid rgba(255,255,255,.2);border-radius:18px;background:rgba(1,1,13,.5);backdrop-filter:blur(6px);color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.35);transition:transform .35s cubic-bezier(.16,1,.3,1)}
.dr-glyph .pb-ic{width:30px;height:30px;stroke-width:1.6}
.dr-env-indoor{color:var(--cy)}
.dr-env-outdoor{color:var(--am)}
.dr-env-mixed{color:#D2C4FF}

/* ==========================================================================
   The /ads/ pages
   ========================================================================== */
.dr-top{padding-top:40px;padding-bottom:8px}
.dr-crumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--mu)}
.dr-crumbs li{display:inline-flex;align-items:center;gap:8px;min-width:0}
.dr-crumbs li+li::before{content:"/";color:var(--ln)}
.dr-crumbs a{color:var(--pg);font-weight:700}
.dr-crumbs a:hover{color:var(--tx)}
.dr-crumbs [aria-current]{color:var(--tx);font-weight:700;overflow-wrap:anywhere}
.dr-hero{padding:22px 0 8px}
.dr-h1{margin:16px 0 14px;font:700 clamp(34px,4.6vw,56px)/1.06 var(--fd);letter-spacing:-.025em;text-wrap:balance}
.dr-h1 b{background:linear-gradient(135deg,#8A69FD,#D2C4FF);-webkit-background-clip:text;background-clip:text;color:transparent}
.dr-sec{position:relative;padding:56px 0;scroll-margin-top:var(--nav-h)}
.dr-sec.first{padding-top:8px}
.dr-hero+.dr-sec.first{padding-top:36px}
.dr-sec>.pb-w>.pb-h2:first-child{margin-top:0}

/* a country: its cities, each with its cards */
.dr-jump{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:26px}
.dr-jump .pb-fgl{margin-inline-end:4px}
.dr-jump .pb-chip small{color:var(--mu);font-weight:800}
.dr-city{margin-top:40px;scroll-margin-top:calc(var(--nav-h) + 16px)}
.dr-city:first-of-type{margin-top:28px}
.dr-areah{flex-wrap:wrap;row-gap:6px}
.dr-areah h2{flex:1 1 260px;display:flex;align-items:center;gap:10px;min-width:0;font:600 22px/1.2 var(--fd);overflow-wrap:anywhere}
.dr-areah h2 .pb-ic{width:20px;height:20px;color:var(--cy)}
.dr-others{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.dr-others .pb-chip .dr-cc{width:30px;height:22px;font-size:10px}
.dr-others .pb-chip{gap:8px;padding-inline:8px 14px}
.dr-h1 .dr-flag{display:inline-block;margin-block:-4px 0;margin-inline-end:14px;vertical-align:baseline}
.dr-h1>span{vertical-align:baseline}

/* a listing */
.dr-lgrid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:32px;align-items:start;margin-top:22px}
.dr-lmain{display:grid;gap:28px;min-width:0}
.dr-lhead{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.dr-lhead .pb-dh1{margin-top:4px;overflow-wrap:anywhere}
.dr-lby{color:var(--mu);font-size:16px;font-weight:600}
.dr-lby a{color:var(--pg);font-weight:700}
.dr-lby a:hover{color:var(--tx)}
.dr-lart{position:relative;height:280px;overflow:hidden;border:1px solid var(--sl);border-radius:20px}
.dr-lart::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(1,1,13,0) 35%,rgba(1,1,13,.75))}
.dr-lart .dr-glyph{width:92px;height:92px;margin:-46px 0 0 -46px;border-radius:26px}
.dr-lart .dr-glyph .pb-ic{width:42px;height:42px}
.dr-lart .pb-bdg{position:absolute;inset-inline-start:16px;top:16px;z-index:2}
.dr-lart .pb-tag{position:absolute;inset-inline-end:16px;top:16px;z-index:2}
.dr-about p{margin-top:10px;max-width:70ch;color:#C9C4E6;font-size:16.5px;line-height:1.65}
.dr-tags{display:flex;flex-wrap:wrap;gap:8px}
.dr-tags li{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid var(--sl);border-radius:99px;background:rgba(11,10,28,.6);color:var(--tx);font-size:13px;font-weight:700}
.dr-tags .pb-ic{width:15px;height:15px;color:var(--pg)}
.dr-side{position:sticky;top:calc(var(--nav-h) + 20px);display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.dr-book{grid-template-columns:minmax(0,1fr);gap:12px}
.dr-book h2{font:600 21px/1.25 var(--fd)}
.dr-book p{color:var(--mu);font-size:14.5px}
.dr-book .pb-btn{margin-top:4px}
.dr-book .pb-btn span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.dr-links{display:grid;gap:2px;margin-top:2px}
.dr-links .pb-link{min-height:38px;font-size:13.5px}
.dr-links .pb-link .pb-ic{width:16px;height:16px}
.dr-note{display:flex;gap:10px;padding:12px 14px;border:1px solid var(--sl);border-radius:12px;background:rgba(1,1,13,.5);color:var(--mu);font-size:13px;line-height:1.5}
.dr-note .pb-ic{width:16px;height:16px;margin-top:2px;color:var(--pg)}
.dr-fact-wide{grid-column:1/-1}

/* questions */
.dr-faq{margin-top:18px;border-top:1px solid var(--sl)}
.dr-faq details{border-bottom:1px solid var(--sl)}
.dr-faq summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;padding:14px 2px;list-style:none;cursor:pointer;font:600 17px/1.35 var(--fd)}
.dr-faq summary::-webkit-details-marker{display:none}
.dr-faq summary::after{content:"";flex:none;width:10px;height:10px;margin-inline-end:6px;border-right:2px solid var(--pg);border-bottom:2px solid var(--pg);transform:rotate(45deg) translateY(-3px);transition:transform .25s}
.dr-faq details[open] summary::after{transform:rotate(-135deg) translateY(-2px)}
.dr-faq summary:hover{color:var(--pg)}
.dr-faq p{max-width:72ch;padding:0 2px 20px;color:var(--mu);font-size:15.5px;line-height:1.65}

/* a MOKY screen's page: its picture is the screen itself, and the price sits under the button */
.dr-mart{display:grid;place-items:center;padding:28px;background:radial-gradient(80% 120% at 50% 0%,rgba(99,49,251,.28),transparent 70%),var(--sf)}
.dr-mart::after{display:none}
.dr-mart .pb-mini{position:relative;width:min(380px,88%);height:auto}
.dr-mart .pb-mini.por{width:auto;height:100%}
.dr-from{color:var(--mu);font-size:13.5px;font-weight:600;text-align:center}
/* a country with both kinds: each kind's heading carries its tag */
.dr-kh{margin-bottom:10px}
.dr-kh+.pb-ls-lead{margin-bottom:6px}

/* ---------- right to left ---------- */
[dir="rtl"] .dr-cc{letter-spacing:0;text-transform:none}
[dir="rtl"] .dr-h1{letter-spacing:0}
[dir="rtl"] .dr-faq summary::after{border-right:0;border-left:2px solid var(--pg);transform:rotate(-45deg) translateY(-3px)}
[dir="rtl"] .dr-faq details[open] summary::after{transform:rotate(135deg) translateY(-2px)}
.dr-cc{direction:ltr;unicode-bidi:isolate}

/* ---------- sizes ---------- */
@media (max-width:1060px){.dr-lgrid{grid-template-columns:minmax(0,1fr)}.dr-side{position:static}}
@media (max-width:700px){.dr-lart{height:220px}}
@media (max-width:520px){.dr-pglink{margin-inline-start:0}.dr-sec{padding:44px 0}.dr-top{padding-top:28px}}
@media (prefers-reduced-motion:reduce){.dr-app *,.dr-app *::before,.dr-app *::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}}
