/* ==========================================================================
   Legal & Policy Pages Stylesheet (Terms of Service, Privacy Policy)
   Hawaii Fluid Art Johns Creek
   ========================================================================== */

/* Hero Typography & Proportions */
.page-hero {
    padding: 65px 0 35px !important;
}

.page-hero h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.2rem) !important;
    font-weight: 700 !important;
    margin-bottom: 0.3rem !important;
    line-height: 1.25 !important;
}

.page-hero p {
    font-size: 1.05rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

/* Legal Content Section & Card Container */
.content-section {
    padding: 40px 0 60px !important;
}

.policy-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8eaed;
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .content-section {
        padding: 25px 0 40px !important;
    }
    .policy-card {
        padding: 26px 20px;
        border-radius: 12px;
    }
}

/* Typography Scale within Policy Content */
.policy-content {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.94rem;
    line-height: 1.65;
    color: #4a5568;
}

.policy-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #718096;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
    font-style: normal;
}

.policy-meta i {
    color: #D31789;
    font-size: 0.85rem;
}

.policy-callout {
    background: #fdf2f8;
    border-left: 4px solid #D31789;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 26px;
}

.policy-callout p {
    font-size: 0.94rem !important;
    line-height: 1.6 !important;
    color: #2d3748 !important;
    margin-bottom: 0 !important;
}

.policy-callout p + p {
    margin-top: 10px !important;
}

.policy-section {
    margin-bottom: 28px;
}

.policy-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.22rem !important;
    font-weight: 700 !important;
    color: #D31789 !important;
    margin: 28px 0 14px 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid rgba(211, 23, 137, 0.15) !important;
    letter-spacing: -0.2px;
}

.policy-content section:first-of-type h2,
.policy-section:first-of-type h2 {
    margin-top: 10px !important;
}

.policy-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    margin: 18px 0 6px 0 !important;
    line-height: 1.4 !important;
}

.policy-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.94rem !important;
    line-height: 1.65 !important;
    color: #4a5568 !important;
    margin-bottom: 14px !important;
}

.policy-content a {
    color: #D31789;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.policy-content a:hover {
    color: #ad0f6e;
}

/* Feature & Category Grid */
.policy-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 14px 0 20px 0;
}

.policy-grid-item {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.policy-grid-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.policy-item-title {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 0.92rem;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

.policy-item-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.45;
}

/* Bullet Items */
.policy-bullet-list {
    margin: 12px 0 18px 0;
    padding-left: 0;
    list-style: none;
}

.policy-bullet-item {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #4a5568;
    display: block;
}

.policy-bullet-item::before {
    content: "•";
    position: absolute;
    left: 6px;
    color: #D31789;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.2;
}

/* Subsection Box for Policies */
.policy-subcard {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 14px;
}

.policy-subcard h3 {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

.policy-subcard p {
    margin-bottom: 0 !important;
}

/* Contact & Question Box */
.policy-contact-box {
    background: linear-gradient(135deg, rgba(211, 23, 137, 0.05) 0%, rgba(78, 205, 196, 0.08) 100%);
    border: 1px solid rgba(211, 23, 137, 0.2);
    border-radius: 12px;
    padding: 22px 26px;
    margin-top: 20px;
}

.policy-contact-box h3 {
    color: #D31789 !important;
    font-size: 1.1rem !important;
    margin: 0 0 8px 0 !important;
}

.policy-contact-box p {
    margin-bottom: 10px !important;
}

.policy-contact-box p:last-child {
    margin-bottom: 0 !important;
}
