/* onlinemapper.com - Mapped Out theme */

.animate-this {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.animate-this.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Category rail with pin-style chips */
.category-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.category-rail::-webkit-scrollbar { display: none; }
.category-chip {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 2px solid rgba(19,24,66,.15);
    background: #fff;
    font-weight: 700;
    font-size: 13px;
    color: #131842;
    cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
}
.category-chip:hover, .category-chip.active {
    border-color: #FF0000;
    background: #FF0000;
    color: #fff;
}

/* preloader */
.preloader-inline { display:flex; justify-content:center; padding:30px 0; }
.spin {
    width: 32px; height: 32px;
    border: 3px solid rgba(19,24,66,.15);
    border-top-color: #FF0000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Pin marker badge used on map-style cards */
.pin-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 30px;
    height: 30px;
    background: #FF0000;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.pin-badge svg { transform: rotate(45deg); }
.businesscard-premium {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: #FFE8C5;
    color: #131842;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

/* Tabs (how it works) */
.tabs-wrapper input[type="radio"] { display: none; }
.tabs-wrapper .tab-labels { display: flex; gap: 10px; flex-wrap: wrap; }
.tabs-wrapper .tab-labels label {
    padding: 10px 20px;
    border-radius: 6px;
    border: 2px solid #131842;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    color: #131842;
    transition: all .2s ease;
}
.tabs-wrapper .tab-panel { display: none; }
#tab1:checked ~ .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-labels label[for="tab3"] {
    background: #131842;
    color: #fff;
}
#tab1:checked ~ .tab-panels #panel1,
#tab2:checked ~ .tab-panels #panel2,
#tab3:checked ~ .tab-panels #panel3 {
    display: block;
}

/* Blog content prose */
.blog-content { font-size: 15px; line-height: 1.8; color: #131842; }
.blog-content p { margin-bottom: 1em; }
.blog-content img { max-width: 100%; border-radius: 12px; margin: 1em 0; }
.blog-content h2, .blog-content h3 { font-family: "Bebas Neue", sans-serif; letter-spacing: .5px; margin: 1.2em 0 .5em; }
.blog-content ul, .blog-content ol { margin: 0 0 1em 1.4em; }
