/* =====================================================================
   Panacea Vista – additive styles (2026-10 update)
   Presence map, partner-logo marquee, four-blog modal layout.
   Loaded after css/styles.css; does not override existing rules.
   ===================================================================== */

/* ---------- Regional presence: branch list + map ---------- */
.presence-layout { align-items: stretch; }
.branch-list { max-height: 520px; overflow-y: auto; padding-right: 6px; }
.branch-card {
    background: #fff; border: 1px solid #e3e6ea; border-left: 4px solid transparent; border-radius: 6px;
    padding: 1.1rem 1.25rem; margin-bottom: .85rem; cursor: pointer; text-align: left;
    box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.branch-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); transform: translateY(-1px); }
.branch-card.active { border-left-color: #0d6efd; box-shadow: 0 4px 14px rgba(13,110,253,.15); }
.branch-card:focus-visible { outline: 2px solid #0d6efd; outline-offset: 2px; }
.branch-card h4 { font-size: 1.15rem; margin: 0 0 .15rem; }
.branch-card .branch-state { color: #0d6efd; font-weight: 600; font-size: .95rem; margin-bottom: .45rem; }
.branch-card p { margin: 0 0 .25rem; font-size: .9rem; }
.branch-card p.branch-addr { margin: 0; color: #212529; }
#presenceMap { height: 520px; width: 100%; background: #eef2f5; border-radius: 6px; border: 1px solid #e3e6ea; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
@media (max-width: 991px) { .branch-list { max-height: none; } #presenceMap { height: 400px; } }

.pv-pop { width: 230px; font-family: "Montserrat", sans-serif; }
.pv-pop img { width: 100%; height: 110px; object-fit: contain; background: transparent; margin-bottom: 8px; }
.pv-pop .lc { font-family: "Nirmala UI", "Noto Sans Telugu", "Noto Sans Oriya", "Noto Sans Devanagari", sans-serif; font-size: .82rem; color: #d99b00; font-weight: 600; margin-top: 2px; }
.pv-pop h6 { margin: 0 0 2px; font-weight: 700; color: #212529; }
.pv-pop .st { font-size: .75rem; color: #d99b00; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pv-pop p { margin: 6px 0 8px !important; font-size: .8rem; color: #495057; line-height: 1.4; }
.pv-pop a { font-size: .78rem; font-weight: 700; color: #212529; }

/* ---------- Partner logo marquee ---------- */
.logo-marquee {
    position: relative; overflow: hidden; width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-track { display: flex; align-items: center; width: max-content; animation: pvMarquee 38s linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-track .logo-item { flex: none; padding: 0 2.5rem; display: flex; align-items: center; height: 80px; }
.logo-track .logo-item img {
    height: 44px; width: auto; max-width: 170px; object-fit: contain;
    filter: grayscale(100%); opacity: .7; transition: opacity .25s, filter .25s;
}
.logo-track .logo-item img.logo-official { height: 62px; }
.logo-track .logo-item a:hover img { opacity: 1; }
@keyframes pvMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
    .logo-track [aria-hidden="true"] { display: none; }
}

/* ---------- Fourth blog card in domain modals ---------- */
.secondary-blog-card.blog-wide { margin-top: 1rem; height: auto; }
.featured-blog-card .badge-new {
    display: inline-block; background: #212529; color: #ffc107; font-size: .7rem; font-weight: 700;
    padding: 3px 8px; border-radius: 4px; text-transform: uppercase; margin-left: 6px; margin-bottom: 8px;
}
