/* Rules & Scoring Page Styles */

.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002a5c 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

.content-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.content-box {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-left: 4px solid var(--accent-gold);
    border-radius: 8px;
}

.section-divider {
    border: none;
    border-top: 2px solid #e9ecef;
    margin: 50px 0;
}

/* Section Headings */
.content-box h2 {
    color: var(--primary-blue);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 50px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-gold);
}

.content-box h2:first-of-type {
    margin-top: 0;
}

.content-box h3 {
    color: var(--primary-blue);
    font-size: 26px;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 15px;
}

.content-box h4 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
}

.content-box p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.content-box ul {
    margin: 15px 0;
    padding-left: 25px;
}

.content-box ul li {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.content-box strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.table thead {
    background: var(--primary-blue);
    color: white;
}

.table thead th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.table tbody td {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    font-size: 16px;
    color: #555;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table-striped tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.table tbody tr:hover {
    background-color: #f1f3f5;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 5px solid var(--primary-blue);
}

.highlight-box h4 {
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 15px;
}

.highlight-box p {
    margin-bottom: 0;
    color: #333;
}

.highlight-box ul {
    margin-bottom: 0;
}

/* Warning/Note Boxes */
.note-box {
    background: #fff3cd;
    padding: 20px 25px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 5px solid #ffc107;
}

.note-box strong {
    color: #856404;
}

.note-box p {
    color: #856404;
    margin-bottom: 10px;
}

.note-box ul {
    margin-bottom: 0;
}

.note-box ul li {
    color: #856404;
}

/* Success/Tip Boxes */
.tip-box {
    background: #d4edda;
    padding: 20px 25px;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 5px solid #28a745;
}

.tip-box strong {
    color: #155724;
}

.tip-box p {
    color: #155724;
    margin-bottom: 10px;
}

.tip-box ul {
    margin-bottom: 0;
}

.tip-box ul li {
    color: #155724;
}

/* Example Boxes */
.example-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 2px solid #dee2e6;
}

.example-box h4 {
    color: var(--primary-blue);
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.example-box p {
    margin-bottom: 10px;
    font-size: 16px;
}

.example-box strong {
    color: #333;
}

/* FAQ Section */
.faq-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.faq-question {
    color: var(--primary-blue);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.faq-answer {
    color: #555;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Checklist Style */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding-left: 35px;
    position: relative;
    margin-bottom: 12px;
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 20px;
}

/* CTA Section */
.cta-box-inline {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #002a5c 100%);
    color: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    margin-top: 50px;
}

.cta-box-inline h3 {
    color: white;
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-box-inline p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-box-inline .btn {
    font-size: 18px;
    padding: 15px 40px;
    background: var(--accent-gold);
    color: var(--primary-blue);
    border-color: var(--accent-gold);
    margin: 0 10px 10px 10px;
}

.cta-box-inline .btn:hover {
    background: var(--white);
    color: var(--primary-blue);
    border-color: var(--white);
}

/* Quick Navigation */
.quick-nav {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    border: 2px solid #dee2e6;
}

.quick-nav h3 {
    color: var(--primary-blue);
    font-size: 22px;
    margin-bottom: 15px;
}

.quick-nav ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.quick-nav ul li {
    margin-bottom: 10px;
}

.quick-nav ul li a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.quick-nav ul li a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .page-header p {
        font-size: 16px;
    }

    .content-box {
        padding: 30px 20px;
    }

    .content-box h2 {
        font-size: 28px;
    }

    .content-box h3 {
        font-size: 22px;
    }

    .table {
        font-size: 14px;
    }

    .table thead th,
    .table tbody td {
        padding: 12px 15px;
    }

    .cta-box-inline {
        padding: 35px 25px;
    }

    .cta-box-inline h3 {
        font-size: 24px;
    }

    .cta-box-inline .btn {
        display: block;
        margin: 10px 0;
    }
}
