/* ============================================================
   AdHub — navbar.css
   Professional enterprise navigation
   Architecture:
     #siteHeader  → position: sticky; top: 0   (topbar + nav)
     #megaOverlay → position: fixed; inset: 0   (backdrop)
     #megaPanel   → position: fixed; left/right:0; top: JS (panel)
   Both mega elements are <body> children, NOT inside the
   sticky header, so no stacking-context or clipping issues.
   ============================================================ */

/* ── Reset ─────────────────────────────────────────────── */
#siteHeader *, #megaPanel *, #megaOverlay,
.ah-mobile * { box-sizing: border-box; }
#siteHeader ul { list-style: none; margin: 0; padding: 0; }

/* ── Sticky wrapper ─────────────────────────────────────── */
#siteHeader {
    position: sticky;
    top: 0;
    z-index: 500;          /* intentionally low — mega sits at 501 */
    width: 100%;
    background: #fff;      /* prevents page content showing through */
}

/* ── Top utility bar ─────────────────────────────────────── */
.ah-topbar {
    background: #0c1a2e;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.ah-topbar-inner {
    /* Matches layouts/app.blade.php's own global override of Bootstrap's
       `.container` (max-width:100%, 32px side padding) — this header used a
       separate, narrower 1320px cap, so on any screen wider than ~1370px its
       content sat centered with dead space on both sides while the page
       body (via `.container`) ran edge to edge, visibly misaligning header
       and body content on full-width/large-monitor layouts. */
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}
.ah-topbar-left,
.ah-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.ah-topbar a,
.ah-topbar span {
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    color: #94a3b8;
    text-decoration: none;
    transition: color .15s;
}
.ah-topbar a:hover { color: #e2e8f0; }
.ah-tb-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(26,86,219,.22);
    border: 1px solid rgba(147,197,253,.18);
    color: #93c5fd !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    padding: 2px 9px;
    border-radius: 20px;
}
.ah-tb-sep { color: #334155 !important; }

/* ── Google Translate widget (topbar) ───────────────────── */
.ah-translate-widget { display: flex; align-items: center; line-height: 1; }
.ah-translate-widget .goog-te-gadget { font-family: 'Inter', sans-serif !important; font-size: 0 !important; color: transparent !important; }
.ah-translate-widget .goog-te-gadget > span > a { font-size: 12px !important; color: #94a3b8 !important; }
.ah-translate-widget .goog-te-gadget-simple { background: transparent !important; border: 1px solid rgba(255,255,255,.15) !important; border-radius: 20px !important; padding: 2px 8px !important; }
.ah-translate-widget .goog-te-gadget-simple .goog-te-menu-value span { color: #94a3b8 !important; font-size: 12px !important; }
.ah-translate-widget .goog-te-gadget-icon { display: none !important; }
/* Google injects a full-width iframe banner on translate that pushes the whole
   page down — hide it and cancel the offset it applies to <body>. */
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* ── Main nav bar ───────────────────────────────────────── */
.ah-navbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    transition: border-color .3s, box-shadow .3s;
}
#siteHeader.is-scrolled .ah-navbar {
    border-bottom-color: transparent;
    box-shadow: 0 2px 20px rgba(12,26,46,.08);
}
.ah-navbar-inner {
    /* See .ah-topbar-inner above — matches the body's `.container` override. */
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    height: 68px;
    gap: 0;
}

/* ── Logo ───────────────────────────────────────────────── */
.ah-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -.55px;
    color: #0c1a2e;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
    margin-right: 28px;
    transition: opacity .15s;
}
.ah-logo:hover { opacity: .8; color: #0c1a2e; }
.ah-logo-accent { color: #1a56db; }

/* ── Desktop nav links ──────────────────────────────────── */
.ah-links {
    display: flex;
    align-items: stretch;
    height: 68px;
    flex: 1;
    gap: 0;
}
.ah-links li {
    display: flex;
    align-items: center;
}
.ah-link {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 68px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    transition: color .15s;
    cursor: pointer;
    background: none;
    border: none;
    user-select: none;
}
.ah-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 14px; right: 14px;
    height: 2.5px;
    background: #1a56db;
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}
.ah-link:hover,
.ah-link.is-current   { color: #1a56db; }
.ah-link:hover::after,
.ah-link.is-current::after { transform: scaleX(1); }

/* mega trigger active state */
#megaLi.is-open .ah-link { color: #1a56db; }
#megaLi.is-open .ah-link::after { transform: scaleX(1); }
#megaLi.is-open .ah-chevron { transform: rotate(180deg); opacity: .9; }

.ah-chevron {
    font-size: 9px;
    opacity: .4;
    transition: transform .2s, opacity .18s;
    pointer-events: none;
}

/* ── Right actions ──────────────────────────────────────── */
.ah-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    margin-left: 12px;
}
.ah-btn-sign {
    font-size: 13.5px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #374151;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    transition: all .15s;
    white-space: nowrap;
}
.ah-btn-sign:hover {
    color: #1a56db;
    border-color: #bfdbfe;
    background: #eff6ff;
}
.ah-btn-get {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #fff;
    background: #1a56db;
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(26,86,219,.3), 0 4px 12px rgba(26,86,219,.15);
    transition: background .15s, transform .12s, box-shadow .15s;
}
.ah-btn-get:hover {
    background: #1649bc;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(26,86,219,.35), 0 6px 18px rgba(26,86,219,.2);
}
.ah-user-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 5px;
    border: 1.5px solid #e5e7eb;
    border-radius: 30px;
    color: #374151;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all .15s;
}
.ah-user-pill:hover { border-color: #bfdbfe; background: #eff6ff; color: #1a56db; }
.ah-user-pill img { border-radius: 50%; width: 28px; height: 28px; object-fit: cover; }

/* ── Hamburger ──────────────────────────────────────────── */
.ah-ham {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    margin-left: 8px;
    transition: background .15s;
}
.ah-ham:hover { background: #f1f5f9; }
.ah-ham-line {
    display: block;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: transform .27s ease, opacity .2s, width .2s;
}
.ah-ham-line:nth-child(1) { width: 22px; }
.ah-ham-line:nth-child(2) { width: 14px; align-self: flex-start; }
.ah-ham-line:nth-child(3) { width: 22px; }
.ah-ham.is-open .ah-ham-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ah-ham.is-open .ah-ham-line:nth-child(2) { opacity: 0; }
.ah-ham.is-open .ah-ham-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BACKDROP OVERLAY
   position: fixed, full screen, behind mega panel
   ============================================================ */
#megaOverlay {
    position: fixed;
    inset: 0;
    background: rgba(12,26,46,.25);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 499;
    display: none;
    animation: fadeOverlay .2s ease forwards;
}
#megaOverlay.is-open { display: block; }
@keyframes fadeOverlay {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ============================================================
   MEGA PANEL
   position: fixed — JavaScript sets top = header.offsetHeight
   DOM sibling of #siteHeader, NOT inside it.
   left: 0; right: 0 = always full viewport width.
   z-index: 501 > siteHeader z-index: 500
   ============================================================ */
#megaPanel {
    position: fixed;
    left: 0;
    right: 0;
    /* top is injected by navbar.js on first open and on resize */
    z-index: 501;
    background: #fff;
    border-top: 3px solid #1a56db;
    box-shadow: 0 20px 60px rgba(12,26,46,.13), 0 4px 14px rgba(12,26,46,.07);
    display: none;
    animation: megaSlideIn .18s ease forwards;
}
#megaPanel.is-open { display: block; }
@keyframes megaSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Mega inner grid ─────────────────────────────────────── */
.mega-inner {
    /* See .ah-topbar-inner above — matches the body's `.container` override. */
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr 276px;
    gap: 0;
    padding-top: 28px;
    padding-bottom: 4px;
}
.mega-col {
    padding: 0 28px 24px;
    border-right: 1px solid #f3f4f6;
}
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child  { border-right: none; }

/* Column heading */
.mega-col-head {
    font-size: 10px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #9ca3af;
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mega-col-head i {
    font-size: 12px;
    color: #1a56db;
    opacity: .65;
}

/* Mega link row */
.mega-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    margin-bottom: 1px;
    transition: background .12s, color .12s;
}
.mega-link:hover {
    background: #eff6ff;
    color: #1a56db;
}
.mega-link-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform .15s;
}
.mega-link:hover .mega-link-dot { transform: scale(1.4); }
.mega-link-text { flex: 1; }
.mega-link-arr {
    font-size: 10px;
    color: #1a56db;
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity .12s, transform .12s;
    margin-left: auto;
}
.mega-link:hover .mega-link-arr {
    opacity: 1;
    transform: translateX(0);
}

/* City links (icon instead of dot) */
.mega-link-city i {
    font-size: 13px;
    color: #1a56db;
    flex-shrink: 0;
}

/* "View all" link */
.mega-link-all {
    color: #1a56db !important;
    font-weight: 600 !important;
    margin-top: 4px;
}
.mega-link-all .mega-link-arr {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* ── CTA card column ─────────────────────────────────────── */
.mega-cta {
    background: linear-gradient(145deg, #0c1a2e 0%, #1e3a8a 100%);
    border-radius: 14px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
}
.mega-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(96,165,250,.1);
    border: 1px solid rgba(96,165,250,.2);
    color: #60a5fa;
    font-size: 9.5px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}
.mega-cta-title {
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #fff;
    line-height: 1.45;
    margin-bottom: 8px;
}
.mega-cta-body {
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    color: #94a3b8;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}
.mega-cta-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 16px;
}
.mega-stat {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
}
.mega-stat-n {
    display: block;
    font-size: 17px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    color: #60a5fa;
    line-height: 1;
    margin-bottom: 3px;
}
.mega-stat-l {
    display: block;
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    color: #64748b;
}
.mega-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #1a56db;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(26,86,219,.35);
    transition: background .15s;
}
.mega-cta-btn:hover { background: #1649bc; color: #fff; }

/* ── Mega footer strip ──────────────────────────────────── */
.mega-foot {
    background: #f9fafb;
    border-top: 1px solid #f3f4f6;
    padding: 9px 0;
}
.mega-foot-inner {
    /* See .ah-topbar-inner above — matches the body's `.container` override. */
    max-width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.mega-foot-cities {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.mega-foot-label {
    font-size: 10.5px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-right: 6px;
}
.mega-foot-cities a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 12.5px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #6b7280;
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 6px;
    transition: color .12s, background .12s;
}
.mega-foot-cities a i { font-size: 10px; color: #1a56db; }
.mega-foot-cities a:hover { color: #1a56db; background: #eff6ff; }
.mega-foot-all {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: #1a56db;
    text-decoration: none;
    white-space: nowrap;
    transition: gap .18s;
}
.mega-foot-all:hover { gap: 8px; }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.ah-mobile {
    display: none;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.ah-mobile.is-open {
    max-height: 88vh;
    overflow-y: auto;
}
.mob-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    background: none;
    border-left: none; border-right: none; border-top: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: color .12s, background .12s;
}
.mob-link:hover, .mob-link.is-current { color: #1a56db; background: #f8faff; }
.mob-caret {
    font-size: 10px;
    opacity: .4;
    transition: transform .22s ease;
}
.mob-sub {
    background: #f8fafc;
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
}
.mob-sub.is-open { max-height: 700px; }
.mob-sub a {
    display: block;
    padding: 10px 20px 10px 36px;
    font-size: 13.5px;
    font-family: 'Inter', sans-serif;
    color: #475569;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: color .12s, background .12s;
}
.mob-sub a:hover { color: #1a56db; background: #eff6ff; }
.mob-sub-all {
    color: #1a56db !important;
    font-weight: 600 !important;
}
.mob-actions {
    padding: 16px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #e5e7eb;
}
.mob-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    text-align: center;
    transition: all .15s;
    border: none;
    cursor: pointer;
    width: 100%;
}
.mob-btn-outline {
    color: #374151;
    border: 1.5px solid #e5e7eb;
    background: none;
}
.mob-btn-outline:hover { color: #1a56db; border-color: #bfdbfe; background: #eff6ff; }
.mob-btn-primary {
    color: #fff;
    background: #1a56db;
    box-shadow: 0 2px 8px rgba(26,86,219,.25);
}
.mob-btn-primary:hover { background: #1649bc; color: #fff; }
.mob-btn-danger {
    color: #dc2626;
    border: 1.5px solid #fca5a5;
    background: none;
}
.mob-btn-danger:hover { background: #fff1f1; }

/* ── Responsive breakpoints ──────────────────────────────── */
@media (max-width: 991.98px) {
    .ah-links, .ah-actions { display: none !important; }
    .ah-ham { display: flex; }
    .ah-mobile { display: block; }
    .ah-navbar-inner { height: 60px; padding: 0 16px; }
    .ah-topbar-inner { padding: 0 16px; }
    .ah-logo { font-size: 1.5rem; margin-right: 0; }
    /* mega panel never shows on mobile */
    #megaPanel, #megaOverlay { display: none !important; }
}
@media (min-width: 992px) {
    .ah-mobile { display: none !important; }
    .ah-ham { display: none !important; }
}
@media (max-width: 767px) {
    .ah-topbar-left { display: none !important; }
    .ah-topbar-inner { padding: 6px 12px; height: auto; min-height: 36px; }
    /* .ah-topbar-left is hidden on mobile (badge/email/phone — not needed
       here), so .ah-topbar-right is the only remaining flex item and grows
       to fill the whole bar. Its own two children — the language widget and
       the auth group — are then pinned to opposite ends via
       justify-content: space-between, giving "language left, sign-in/
       register (or account) right" without needing a 3-column layout.
       flex-wrap + the auto-height row above are the real overflow guard:
       Google's translate widget renders content we don't control (its text
       changes once a language is picked), so rather than guess an exact
       width budget, let the auth group drop to its own line if the two
       together don't fit one row — never clipped off-screen either way. */
    .ah-topbar-right {
        flex: 1 1 auto;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        min-width: 0;
        gap: 4px 8px;
    }
    /* margin-left: auto (not justify-content: space-between) keeps the auth
       group pinned to the right edge even after it wraps to its own line —
       space-between would instead drop a lone wrapped item to the left. */
    .ah-tb-auth { margin-left: auto; }
    .ah-translate-widget {
        flex: 0 1 auto;
        min-width: 0;
        overflow: hidden;
        font-size: 11px;
    }
    .ah-translate-widget * { font-size: 11px !important; }
    .ah-tb-auth {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    /* Specificity note: base rules are `.ah-topbar a`/`.ah-topbar span`
       (one class + one element) — matching that here, not just `.ah-tb-auth`,
       so this font-size actually wins instead of being silently ignored. */
    .ah-topbar .ah-tb-auth a,
    .ah-topbar .ah-tb-auth span { font-size: 11px; }
    .ah-tb-auth .bi { display: none; } /* icons add width without adding clarity at this size */
}
@media (max-width: 400px) {
    /* On the narrowest phones, drop the lowest-value text first: the "Free"
       suffix on Register, then the signed-in user's name + its separator
       (the Dashboard/Admin link alone is still enough to act on, and the
       full name is already shown in the hamburger menu's account panel). */
    .ah-tb-auth .ah-tb-free { display: none; }
    .ah-tb-auth .ah-tb-dot,
    .ah-tb-auth .ah-tb-name,
    .ah-tb-auth .ah-tb-name-sep { display: none; }
}

/* ── Platforms dropdown ─────────────────────────────────── */
.ah-platforms-trigger { position: relative; }
.ah-platforms-drop {
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(12,26,46,.13);
    padding: 8px;
    min-width: 230px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s, visibility .18s, transform .18s;
    transform: translateX(-50%) translateY(-6px);
}
.ah-platforms-drop.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.ah-pdrop-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: default;
}
.ah-pdrop-item:hover { background: #f0fdf4; }
.ah-pdrop-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0fdf4;
    border: 1px solid #dcfce7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: #16a34a;
}
.ah-pdrop-text { display: flex; flex-direction: column; }
.ah-pdrop-name { font-size: 13px; font-weight: 600; color: #1f2937; line-height: 1.2; }

/* ── Printing & Packaging Design Studio — generated template SVGs ───────
   Every PrintingDesignTemplateBuilder-generated SVG carries class="tpl-root"
   (plus tpl-root-back on the reverse face). Whatever flex container it's
   dropped into (template thumbnail, flip-card preview, cart/order summary),
   it must shrink to fit BOTH dimensions — true object-fit:contain behavior.
   Without this, a wide shape (e.g. a 350x200 business card) scaled to fill
   a container's width can compute a height taller than that container,
   and the shape's own top/bottom (often where the logo or heading sits)
   gets cropped by the container's overflow handling instead of
   letterboxing cleanly. */
.tpl-root {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}
.ah-pdrop-soon { font-size: 10.5px; color: #9ca3af; margin-top: 1px; }
