/* ==========================================================================
   INDIVIDUAL STATE PAGE - STANDALONE
   ========================================================================== */

/* Force white background for standalone pages */
body.ul-standalone-page {
    background: #fff !important;
    margin: 0;
    padding: 0;
}

/* Override any site-content background */
body.ul-standalone-page .site-content {
    background: #fff !important;
    padding: 0 !important;
}

.ul-state-page {
    padding: 40px 0;
    background: #fff;
}

/* Breadcrumb */
.ul-breadcrumb {
    margin-bottom: 30px;
}

.ul-breadcrumb a {
    color: #0a3d5f;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ul-breadcrumb a:hover {
    color: #AADDFF;
}

/* State Header (Full Width) */
.ul-state-header {
    background: linear-gradient(135deg, #f0f8ff 0%, #e5f3ff 100%);
    border: 2px solid #AADDFF;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 8px 24px rgba(170, 221, 255, 0.15);
}

.ul-state-flag {
    font-size: 72px;
    font-weight: 900;
    color: #AADDFF;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(170, 221, 255, 0.3);
}

.ul-state-header h1 {
    font-size: 42px;
    color: #1a1a2e;
    margin: 0 0 15px 0;
    font-weight: 800;
}

.ul-state-meta {
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

/* Law Sections */
.ul-law-section {
    margin-bottom: 30px;
}

.ul-law-featured {
    /* Full width section */
}

.ul-law-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Law Cards - Very light grey background */
.ul-law-card {
    background: #f8f9fa;
    border: 2px solid #AADDFF;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ul-law-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(170, 221, 255, 0.25);
    border-color: #77bbee;
    background: #fff;
}

.ul-law-card-featured {
    background: #f8f9fa;
    border: 3px solid #AADDFF;
}

/* Blue Headers */
.ul-law-title {
    font-size: 22px;
    color: #AADDFF;
    margin: 0 0 18px 0;
    font-weight: 800;
    line-height: 1.3;
}

.ul-law-statute-code {
    background: linear-gradient(135deg, #AADDFF 0%, #88ccff 100%);
    color: #1a1a2e;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 24px;
    border: 2px solid #77bbee;
    box-shadow: 0 2px 8px rgba(170, 221, 255, 0.2);
}

.ul-law-detail {
    margin: 24px 0;
    padding: 16px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #AADDFF;
}

/* Blue subheaders in detail sections */
.ul-law-detail strong {
    display: block;
    color: #AADDFF;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
}

.ul-law-detail ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ul-law-detail li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.ul-law-detail li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #AADDFF;
    font-weight: 900;
    font-size: 16px;
}

.ul-law-detail p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.ul-more-items {
    color: #888 !important;
    font-style: italic;
    font-size: 13px !important;
}

.ul-law-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #AADDFF 0%, #88ccff 100%);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 999px;
    border: 2px solid #77bbee;
    transition: all 0.3s ease;
}

.ul-law-link:hover {
    background: linear-gradient(135deg, #99ccee 0%, #77bbee 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(170, 221, 255, 0.3);
    color: #000;
    text-decoration: none;
}

/* Footer CTA */
.ul-state-footer {
    background: linear-gradient(135deg, #f0f8ff 0%, #e5f3ff 100%);
    border: 2px solid #AADDFF;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 8px 24px rgba(170, 221, 255, 0.15);
}

.ul-state-footer h3 {
    font-size: 28px;
    color: #1a1a2e;
    margin: 0 0 15px 0;
    font-weight: 800;
}

.ul-state-footer p {
    font-size: 18px;
    color: #555;
    margin: 0 0 30px 0;
}

.ul-cta-button {
    background: linear-gradient(135deg, #AADDFF 0%, #88ccff 100%);
    color: #000;
    border: 2px solid #77bbee;
    padding: 16px 36px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(170, 221, 255, 0.3);
}

.ul-cta-button:hover {
    background: linear-gradient(135deg, #99ccee 0%, #77bbee 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(170, 221, 255, 0.4);
    color: #000;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 968px) {
    .ul-law-two-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ul-state-header {
        padding: 30px 20px;
    }
    
    .ul-state-flag {
        font-size: 48px;
    }
    
    .ul-state-header h1 {
        font-size: 28px;
    }
    
    .ul-law-card {
        padding: 24px;
    }
    
    .ul-state-footer {
        padding: 30px 20px;
    }
}
