/* Authority Hub Styling - Integrates with atlanta-auto-law theme */

/* ===========================
   AUTHORITY HUB LAYOUT
   =========================== */

.authority-hub-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.authority-hub-hero {
    background: linear-gradient(135deg, var(--color-primary-black) 0%, rgba(9, 15, 12, 0.95) 50%, var(--color-primary-red) 100%);
    color: var(--color-white);
    /* padding: 5rem 0; */
    margin: 50px 0;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.6;
    z-index: -1;
}

.authority-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.authority-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-primary-red);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 3rem 2rem 2rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    animation: fadeInUp 0.8s ease-out;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.authority-hub-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.authority-hub-hero .subtitle {
    font-size: 1.375rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.trust-signals {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.trust-signal {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    min-width: 120px;
    transition: all 0.3s ease;
}

.trust-signal:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary-red);
}

.trust-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary-red);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.trust-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.authority-cta {
    background: var(--color-primary-red);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid var(--color-primary-red);
    box-shadow: 0 4px 15px rgba(245, 49, 46, 0.3);
    position: relative;
    overflow: hidden;
}

.authority-cta:hover {
    background: var(--color-red-hover);
    border-color: var(--color-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 49, 46, 0.4);
    text-decoration: none;
    color: var(--color-white);
}

.authority-cta-secondary {
    background: transparent;
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid var(--color-white);
}

.authority-cta-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary-black);
    transform: translateY(-3px);
    text-decoration: none;
}

/* ===========================
   CONTENT SECTIONS
   =========================== */

.authority-section {
    /* margin: 0 50px 0 50px; */
    padding: 0 40px 0 40px;
    max-width: 1000px;
    margin: auto;
}

.authority-section:nth-child(even) {
    background-color: #f8f9fa;
}

.authority-section h2 {
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 30px;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 15px;
}

.authority-section h3 {
    color: #000;
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 40px;
}

.authority-section h4 {
    font-size: 1.5rem;
}

.authority-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #000;
}

.authority-section ul {
    margin-bottom: 20px;
}

/* ===========================
   CTA BUTTONS - MATCHING HOMEPAGE
   =========================== */

/* .authority-cta {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a365d;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin: 10px 15px 10px 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
} */

/* .authority-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: #1a365d;
    text-decoration: none;
}

.authority-cta-secondary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1a365d;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin: 10px 15px 10px 0;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.authority-cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: #1a365d;
    text-decoration: none;
} */

/* ===========================
   LEGAL INFO BOXES
   =========================== */

.legal-info-box {
    background: #fff3cd;
    border-left: 5px solid #d4af37;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.legal-info-box h4 {
    color: #1a365d;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.legal-info-box p {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* ===========================
   STATUTE CALLOUTS
   =========================== */

.statute-callout {
    background: linear-gradient(135deg, var(--color-primary-black) 0%, rgba(9, 15, 12, 0.95) 50%, var(--color-primary-red) 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 5px solid var(--color-primary-red);
}

.statute-callout strong {
    color: var(--color-primary-red);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* ===========================
   QUICK NAVIGATION
   =========================== */

.authority-nav {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.authority-nav h3 {
    color: #000;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.authority-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.authority-nav li {
    margin: 0;
}

.authority-nav a {
    display: block;
    padding: 8px 15px;
    background: #f8f9fa;
    color: #000;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.authority-nav a:hover {
    background: var(--color-primary-red);
    color: white;
    text-decoration: none;
}

/* ===========================
   FAQ SECTION
   =========================== */

.faq-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px 40px 20px 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-container h2 {
    font-size: 2rem;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0px;
}
.faq-item-motorcycle {
    border-bottom: 1px solid #eee;
    padding: 20px 50px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    color: #666666;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #d4af37;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: #666;
    line-height: 1.7;
    display: none;
    font-size: 1rem;
}

.faq-answer.active {
    display: block;
}

/* ===========================
   TRUST SIGNALS
   =========================== */

/* .trust-signals {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.trust-signal {
    text-align: center;
    margin: 10px;
}

.trust-signal .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    display: block;
}

.trust-signal .label {
    color: #1a365d;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
} */

/* ===========================
   MOBILE RESPONSIVENESS
   =========================== */

@media (max-width: 768px) {
    .authority-hub-container {
        margin: 0 auto;
    }

    /* Center the hero badge content on phones */
    .authority-hero-badge {
        display: inline-flex;
        flex-direction: column;      /* stack icon above text */
        align-items: center;          /* center icon + text */
        justify-content: center;
        text-align: center;
        margin: 1rem auto;            /* center the pill itself */
        padding: 0.75rem 1rem;        /* slightly tighter padding */
        gap: 0.4rem;
        min-width: auto;              /* allow natural width */
    }

    .authority-hub-hero h1 {
        font-size: 2.5rem;
    }
    
    .authority-hub-hero .subtitle {
        font-size: 1.2rem;
    }
    
    .authority-section h2 {
        font-size: 2rem;
    }
    
    .authority-section h3 {
        font-size: 1.5rem;
    }
    
    .authority-nav ul {
        flex-direction: column;
    }
    
    .authority-nav a {
        text-align: center;
    }
    
    .trust-signals {
        flex-direction: column;
    }
    
    .authority-cta {
        display: block;
        text-align: center;
        margin: 10px 0;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Make CTA sections a compact card width on phones */
    /* Force compact CTA width on phones (override any larger base max-width) */
    .cta-section,
    body.page-name-truck-accident-lawyers .cta-section,
    body.page-slug-atlanta-truck-accident-lawyer .cta-section {
        max-width: 300px !important;
        margin: 16px auto !important;
        padding: 24px 16px;
        border-radius: 12px;
    }
}

/* ===========================
   BREADCRUMBS
   =========================== */

.authority-breadcrumbs {
    padding: 15px 0;
    font-size: 0.9rem;
    color: #666;
}

.authority-breadcrumbs a {
    color: #1a365d;
    text-decoration: none;
}

.authority-breadcrumbs a:hover {
    color: var(--color-red-hover);
    text-decoration: underline;
}

.authority-breadcrumbs span {
    margin: 0 8px;
    color: #ccc;
}

/* ===========================
   RELATED CONTENT
   =========================== */

.related-content {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
    margin-top: 60px;
}

.related-content h3 {
    color: #000;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.related-card h4 {
    color: #000;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.related-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.related-card a {
    color: var(--color-primary-red);
    font-weight: 600;
    text-decoration: none;
}

.related-card a:hover {
    text-decoration: underline;
}

/* ===========================
   CALL TO ACTION SECTIONS
   =========================== */

.cta-section {
    background: linear-gradient(135deg, var(--color-primary-black) 0%, rgba(9, 15, 12, 0.95) 50%, var(--color-primary-red) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 1000px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-section * {
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.cta-section h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    color: #fff;
}

/* ===========================
   MOTORCYCLE-SPECIFIC STYLING (HUB 4)
   =========================== */

/* Motorcycle Hub Container */
.motorcycle-accident-hub {
    position: relative;
}

/* Motorcycle Hero Section - Matching Hub 1 & 2 with unique dark red theme */
.motorcycle-hero {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%) !important;
    position: relative;
    overflow: hidden;
}

.motorcycle-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='%23ffffff' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.2;
}

.motorcycle-hero .hero-content {
    position: relative;
    z-index: 2;
}

/* Motorcycle Hero Badges */
.motorcycle-hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.motorcycle-hero-badges .badge {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.motorcycle-hero-badges .badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Motorcycle Navigation */
.motorcycle-nav {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #DC143C;
    box-shadow: 0 2px 10px rgba(220, 20, 60, 0.1);
}

.motorcycle-nav h3 {
    color: #8B0000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.motorcycle-nav ul li a {
    transition: all 0.3s ease;
    position: relative;
}

.motorcycle-nav ul li a::before {
    content: '🏍️';
    position: absolute;
    left: -25px;
    opacity: 0;
    transition: all 0.3s ease;
}

.motorcycle-nav ul li a:hover::before {
    opacity: 1;
    left: -20px;
}

.motorcycle-nav ul li a:hover {
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    color: white;
    padding-left: 20px;
}

/* Motorcycle Trust Signals */
.motorcycle-trust {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border: 2px solid #DC143C;
    position: relative;
}

.motorcycle-trust::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #DC143C, #8B0000, #DC143C);
    z-index: -1;
    animation: gradient-border 3s ease infinite;
    border-radius: 10px;
}

@keyframes gradient-border {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.motorcycle-trust .trust-signal .number {
    color: #DC143C;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
}

.motorcycle-trust .trust-signal .label {
    color: #ffffff;
    font-weight: 700;
}

/* Rider Advocacy Alert */
.rider-advocacy-alert {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: 3px solid #8B0000;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.rider-advocacy-alert::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.rider-advocacy-alert .alert-icon {
    font-size: 3rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    animation: bike-bounce 2s ease-in-out infinite;
}

@keyframes bike-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.rider-advocacy-alert {
    flex: 1;
    position: relative;
    z-index: 1;
}

.rider-advocacy-alert h4 {
    color: #8B0000;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rider-advocacy-alert p {
    color: #1a1a1a;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 500;
}

.advocacy-cta {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.advocacy-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.5);
    color: white;
    text-decoration: none;
}

/* Motorcycle Content Sections */
.motorcycle-content .authority-section {
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.motorcycle-content .authority-section:hover {
    border-left-color: #DC143C;
    background: linear-gradient(90deg, rgba(220, 20, 60, 0.05) 0%, transparent 100%);
}

.motorcycle-section h2 {
    color: #8B0000;
    border-bottom-color: #DC143C;
    position: relative;
}

.motorcycle-section h2::after {
    content: '⚡';
    position: absolute;
    right: 0;
    color: #DC143C;
    font-size: 1.5rem;
    animation: lightning 2s ease-in-out infinite;
}

@keyframes lightning {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.motorcycle-section h3 {
    color: #DC143C;
}

/* Motorcycle-Specific Lists */
.motorcycle-content ul li::before {
    content: '▸';
    color: #DC143C;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Mobile Responsiveness for Motorcycle Elements */
@media (max-width: 768px) {
    .motorcycle-hero h1 {
        font-size: 2.5rem;
    }
    
    .motorcycle-hero-badges {
        gap: 10px;
    }
    
    .motorcycle-hero-badges .badge {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
    
    .rider-advocacy-alert {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .rider-advocacy-alert .alert-icon {
        font-size: 2.5rem;
    }
    
    .rider-advocacy-alert h4 {
        font-size: 1.5rem;
    }
    
    .motorcycle-trust {
        padding: 20px;
    }
    
    .motorcycle-nav ul li a:hover {
        padding-left: 15px;
    }
}

/* Enhanced Motorcycle CTAs matching Hub 1 & 2 style */
.motorcycle-accident-hub .authority-cta {
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
    color: white;
}

.motorcycle-accident-hub .authority-cta:hover {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

.motorcycle-accident-hub .authority-cta-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.motorcycle-accident-hub .authority-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Legacy hero-section support */
.hero-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-intro {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-intro p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.95;
}

.emergency-cta {
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid #d4af37;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.emergency-cta p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.emergency-cta a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
}

.emergency-cta a:hover {
    color: #f4d03f;
    text-decoration: underline;
}

.licensing-breakdown {
    background: #f8f9fa;
    border-left: 5px solid var(--color-primary-red);
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.licensing-breakdown h4 {
    color: var(--color-primary-red);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.internal-link-cta {
    background: #e3f2fd;
    border-left: 5px solid #2196f3;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.internal-link-cta a {
    color: #1976d2;
    font-weight: 600;
    text-decoration: none;
}

.internal-link-cta a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

.cross-hub-link {
    background: #fff3e0;
    border-left: 5px solid #ff9800;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.cross-hub-link a {
    color: #e65100;
    font-weight: 600;
    text-decoration: none;
}

.cross-hub-link a:hover {
    color: #bf360c;
    text-decoration: underline;
}

.bias-tactics {
    background: #ffebee;
    border-left: 5px solid #f44336;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.bias-tactics h4 {
    color: #c62828;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.testimonial-insert {
    background: #e8f5e8;
    border: 2px solid #4caf50;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    font-style: italic;
}

.testimonial-insert p {
    margin: 0;
    color: #2e7d32;
    font-size: 1.1rem;
    line-height: 1.6;
}

.accident-locations {
    background: #f3e5f5;
    border-left: 5px solid #9c27b0;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.accident-locations h4 {
    color: #7b1fa2;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.cross-reference {
    background: #f1f8e9;
    border-left: 5px solid #8bc34a;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.cross-reference a {
    color: #558b2f;
    font-weight: 600;
    text-decoration: none;
}

.cross-reference a:hover {
    color: #33691e;
    text-decoration: underline;
}

.gear-failures {
    background: #fff8e1;
    border-left: 5px solid #ffc107;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.gear-failures h4 {
    color: #f57c00;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.expert-note {
    background: #e0f2f1;
    border: 2px solid #009688;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    position: relative;
}

.expert-note::before {
    content: "💡";
    font-size: 1.5rem;
    position: absolute;
    top: 15px;
    left: 15px;
}

.expert-note p {
    margin-left: 40px;
    color: #00695c;
    font-weight: 500;
}

.insurance-tip {
    background: #e1f5fe;
    border-left: 5px solid #03a9f4;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
}

.insurance-tip h4 {
    color: #0277bd;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-chart {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.timeline-chart h4 {
    color: #1a365d;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.final-cta {
    background: linear-gradient(135deg, var(--color-primary-black) 0%, rgba(9, 15, 12, 0.95) 50%, var(--color-primary-red) 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 1000px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.final-cta h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #d4af37;
    padding-bottom: 15px;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    color: #fff;
}

.cta-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cta-benefits h3 {
    color: #fff;
}

.cta-benefits div {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #d4af37;
}

.contact-box {
    background: rgba(255,255,255,0.95);
    color: #1a365d;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.contact-box h3 {
    color: #000;
    margin-bottom: 20px;
}

.contact-box p {
    color: #000;
}

.disclaimer {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Ensure long email addresses in contact boxes wrap on mobile */
.contact-box,
.contact-box p,
.contact-box a,
.contact-box .email,
.contact-box a[href^="mailto:"] {
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 480px) {
    .contact-box a[href^="mailto:"],
    .contact-box .email {
        display: inline-block;
        font-size: 1rem; /* prevent oversized text overflow */
        line-height: 1.3;
    }
}

/* Motorcycle-specific hover effects */
.motorcycle-hero:hover {
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
    -ms-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

/* Motorcycle hero badges */
.motorcycle-hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.motorcycle-hero-badges .badge {
    background: rgba(212, 175, 55, 0.9);
    color: #1a365d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.motorcycle-nav {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #d4af37;
}

.motorcycle-nav h3 {
    color: #1a365d;
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.rider-advocacy-alert {
    background: linear-gradient(135deg, #d32f2f 0%, #f44336 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 5px solid #ffeb3b;
}

.rider-advocacy-alert h4 {
    color: #ffeb3b;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Motorcycle FAQ Section */
.motorcycle-faq {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
}

.motorcycle-faq h2 {
    color: #8B0000;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.motorcycle-faq .faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.motorcycle-faq .faq-item:hover {
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.15);
}

.motorcycle-faq .faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-left: 40px;
}

.motorcycle-faq .faq-question::before {
    content: '🏍️';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* Motorcycle Types Grid */
.motorcycle-types-grid {
    padding: 40px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    margin: 40px 0;
}

.motorcycle-types-grid h3 {
    text-align: center;
    color: #8B0000;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.motorcycle-types-grid .types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 20px;
}

.motorcycle-types-grid .type-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 3px solid #DC143C;
}

.motorcycle-types-grid .type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.2);
}

.motorcycle-types-grid .type-card h4 {
    color: #8B0000;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.motorcycle-types-grid .type-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.motorcycle-types-grid .type-card a {
    color: #DC143C;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.motorcycle-types-grid .type-card a:hover {
    color: #8B0000;
    text-decoration: underline;
}

/* Motorcycle CTA Section */
.motorcycle-cta {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.motorcycle-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.03) 10px,
        rgba(255,255,255,0.03) 20px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.motorcycle-cta h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.motorcycle-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.motorcycle-cta .authority-cta {
    background: white;
    color: #8B0000;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.motorcycle-cta .authority-cta:hover {
    background: #FFE5E5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Ensure theme compatibility */
.entry-content .authority-hub-container {
    max-width: none;
}

.single-page .authority-hub-container {
    max-width: 1200px;
}
