/* International Comparisons Page Styles */

.international-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.international-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.international-hero .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff3cd;
}

.international-hero .hero-description {
    font-size: 1.15rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Introduction Message */
.intro-message {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    padding: 2rem;
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    border-radius: 8px;
}

.intro-message h2 {
    color: #17a2b8;
    margin-bottom: 1rem;
}

.intro-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* World Overview Section */
.world-overview {
    margin: 3rem 0;
}

.world-overview h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.system-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.system-type {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.system-type:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.type-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.system-type h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.system-type > p {
    text-align: center;
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.system-type ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.system-type ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #2c3e50;
}

.system-type ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.type-none {
    border-top: 4px solid #28a745;
}

.type-none ul li:before {
    color: #28a745;
}

.type-protected {
    border-top: 4px solid #17a2b8;
}

.type-protected ul li:before {
    color: #17a2b8;
}

.type-problematic {
    border-top: 4px solid #ffc107;
}

.type-problematic ul li:before {
    color: #ffc107;
}

.type-surveillance {
    border-top: 4px solid #dc3545;
}

.type-surveillance ul li:before {
    color: #dc3545;
}

.type-note {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.type-note strong {
    color: #667eea;
}

/* Section Intro */
.section-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    color: #2c3e50;
}

/* Country Studies */
.country-studies {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.country-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.country-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.country-card.country-warning .country-header {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-bottom: 3px solid #dc3545;
}

.country-card.country-success .country-header {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-bottom: 3px solid #28a745;
}

.country-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5rem;
}

.country-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-danger {
    background: #dc3545;
    color: white;
}

.badge-success {
    background: #28a745;
    color: white;
}

.country-content {
    padding: 2rem;
}

.country-summary p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
}

/* Country Stats */
.country-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background: #f8f9fa;
}

.stat-item.stat-danger {
    background: #f8d7da;
    border: 2px solid #dc3545;
}

.stat-item.stat-success {
    background: #d4edda;
    border: 2px solid #28a745;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

/* Problems/Features Lists */
.problems-list,
.features-list {
    margin: 2rem 0;
}

.problems-list h4,
.features-list h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.problems-list ul,
.features-list ul {
    list-style: none;
    padding: 0;
}

.problems-list ul li,
.features-list ul li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.7;
}

.problems-list ul li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.features-list ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
}

.problems-list strong,
.features-list strong {
    color: #dc3545;
}

.features-list strong {
    color: #28a745;
}

/* Blockquotes */
blockquote {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 4px;
}

blockquote p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
}

cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: 600;
    color: #667eea;
    font-size: 0.95rem;
}

/* Lesson/Context Boxes */
.lesson-box,
.context-box {
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    border-left: 4px solid;
}

.lesson-box {
    background: #fff3cd;
    border-color: #ffc107;
}

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

.context-box {
    background: #d1ecf1;
    border-color: #17a2b8;
}

.context-box h4 {
    color: #17a2b8;
    margin-bottom: 1rem;
}

.context-box ul {
    list-style: none;
    padding: 0;
}

.context-box ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.context-box ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #17a2b8;
    font-weight: bold;
}

/* Comparison Table */
.features-comparison {
    margin: 2rem 0;
}

.features-comparison h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
}

.has-feature {
    color: #28a745;
    font-weight: 600;
}

.lacks-feature {
    color: #dc3545;
    font-weight: 600;
}

/* Rejection Countries */
.rejection-countries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.rejection-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #28a745;
    transition: all 0.3s;
}

.rejection-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.rejection-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.rejection-card p {
    line-height: 1.7;
    margin-bottom: 0.75rem;
    color: #34495e;
}

.rejection-reason {
    font-style: italic;
    color: #6c757d;
    font-size: 0.95rem;
    padding: 1rem;
    background: #f8f9fa;
    border-left: 3px solid #28a745;
    border-radius: 4px;
    margin-top: 1rem;
}

.rejection-summary {
    max-width: 800px;
    margin: 3rem auto 0;
    padding: 2rem;
    background: #d4edda;
    border-left: 4px solid #28a745;
    border-radius: 8px;
    text-align: center;
}

.rejection-summary p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

/* Key Factors Section */
.key-factors {
    max-width: 1000px;
    margin: 0 auto;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.factor-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.factor-critical {
    border-top: 4px solid #28a745;
}

.factor-danger {
    border-top: 4px solid #dc3545;
}

.factor-item h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.factor-item ul {
    list-style: none;
    padding: 0;
}

.factor-item ul li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    line-height: 1.7;
}

.factor-critical ul li:before {
    content: "✅";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.factor-danger ul li:before {
    content: "❌";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.britcard-verdict {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8d7da;
    border: 3px solid #dc3545;
    border-radius: 12px;
}

.britcard-verdict h3 {
    color: #721c24;
    margin-bottom: 1rem;
}

.britcard-verdict p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.britcard-verdict ul {
    list-style: none;
    padding: 0;
}

.britcard-verdict ul li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    line-height: 1.6;
}

.britcard-verdict ul li:before {
    content: "❌";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* International Conclusion */
.international-conclusion {
    max-width: 1000px;
    margin: 0 auto;
}

.international-conclusion h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 2rem;
}

.conclusion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.conclusion-point {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #667eea;
}

.conclusion-point h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.conclusion-point p {
    line-height: 1.7;
    color: #2c3e50;
}

.final-message {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 3px solid #ffc107;
    border-radius: 12px;
}

.final-message h3 {
    color: #856404;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.final-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.final-message ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.final-message ul li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
    line-height: 1.7;
}

.final-message ul li:before {
    content: "✅";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-tertiary {
    background: #6c757d;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-tertiary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .international-hero h1 {
        font-size: 2rem;
    }

    .international-hero .hero-subtitle {
        font-size: 1.2rem;
    }

    .international-hero .hero-description {
        font-size: 1rem;
    }

    .system-types {
        grid-template-columns: 1fr;
    }

    .country-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .country-stats {
        grid-template-columns: 1fr;
    }

    .factors-grid {
        grid-template-columns: 1fr;
    }

    .rejection-countries {
        grid-template-columns: 1fr;
    }

    .conclusion-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn,
    .cta-buttons .btn-tertiary {
        width: 100%;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}

@media print {
    .cta-buttons {
        display: none;
    }

    .country-card,
    .system-type,
    .rejection-card,
    .conclusion-point {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .international-hero {
        background: white;
        color: black;
        border-bottom: 3px solid #000;
    }
}
