/* Shared "About" section (WhyExhibitorlyUSP) — auto-rotating image
   carousel + eyebrow/heading/checklist text. Used by index.blade.php and
   city_landing.blade.php via front.partials._about; only content differs.
   JS: initSharedAbout() in shared_about.js.

   Self-contained by design: every value this component's own selectors
   need (colors, container centering, paragraph margins) is declared here,
   not borrowed from whichever page happens to include it — a shared
   component that depends on ambient page CSS isn't actually shared, it's
   just copy-pasted with extra steps, and silently breaks the moment a page
   without that ambient rule includes it. (This file used to be one section
   of a single shared_sections.css bundling every shared component
   together — split apart so a page only downloads the components it
   actually uses, and editing one component can't invalidate cache for, or
   accidentally affect, any other.) */

:root {
    --hp-dark: #0c2e16;
    --hp-lime: #cfff7f;
}

/* Clears the site-wide fixed "Get your 3 quotes now" tab (.quote_btn_left,
   defined in style.css, position:fixed; top:50%; left:0 — present on every
   page). */
.shared_about .container {
    padding: 0 30px;
}
@media (min-width: 768px) {
    .shared_about .container {
        padding: 0 45px;
    }
}

.shared_about {
    padding: 60px 0 30px;
    background: #f9fafb;
}
.shared_about .container {
    max-width: 1280px;
    margin: 0 auto;
}
.shared_about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}
.shared_about-eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hp-dark);
    text-align: left;
    margin-bottom: 20px;
}
.shared_about-text h2 {
    font-weight: 600;
    color: var(--hp-dark);
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 20px;
}
.shared_about-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 14px;
}
.shared_about-text ul {
    list-style: none;
    margin: 6px 0 14px;
    padding: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}
.shared_about-text ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
}
.shared_about-text ul li:last-child {
    margin-bottom: 0;
}
.shared_about-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background: var(--hp-dark);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E");
}
.shared_about-text a {
    color: var(--hp-dark);
    text-decoration: underline;
}
.shared_about-visual {
    position: relative;
    width: 100%;
}
.shared_about-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #eee;
}
.shared_about-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.shared_about-slide.active {
    opacity: 1;
}
.shared_about-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.shared_about-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.3s, background 0.3s;
}
.shared_about-dots .dot.active {
    width: 20px;
    background: var(--hp-lime);
}
.shared_about-badge {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border: 1px solid #eee;
    padding: 12px 16px;
    z-index: 2;
}
.shared_about-badge--left {
    bottom: -18px;
    left: -18px;
}
.shared_about-badge--right {
    top: -18px;
    right: -18px;
}
.shared_about-badge .label {
    font-size: 11px;
    color: #4b5563;
    font-weight: 500;
    margin: 0;
}
.shared_about-badge .value {
    font-size: 22px;
    font-weight: 700;
    color: var(--hp-dark);
    margin: 2px 0;
}
.shared_about-badge .sub {
    font-size: 11px;
    color: #4b5563;
    margin: 0;
}
@media (min-width: 768px) {
    .shared_about-grid { grid-template-columns: 1fr 1fr; }
}
