/* ======================================================
   editorialindependence.css - Editorial Independence Policy Page Specific Styles
   Extracted from your HTML components with exact original styling
====================================================== */

/* ========== POLICY SECTION CONTAINER ========== */
.policy-section {
    max-width: 1000px;
    margin: 0 auto;
}

/* ========== HERO BLOCK ========== */
.hero-block {
    background: linear-gradient(145deg, #f0f9ff, #e6f2ff);
    border-right: 6px solid #1e6f9f;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 30, 60, 0.08);
}

.hero-block::before {
    content: "\f0ac"; /* globe icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: -20px;
    left: -20px;
    font-size: 120px;
    opacity: 0.05;
    color: #1e6f9f;
    transform: rotate(-10deg);
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #0a2540;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.hero-text strong {
    color: #1e6f9f;
    font-weight: 700;
}

/* ========== HERO BADGE ========== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e6f9f, #155a82);
    color: white;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero-badge::before {
    content: "\f0a3"; /* award/crest icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}

/* ========== CONTENT BLOCK ========== */
.content-block {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 25px;
    margin-bottom: 20px;
    border: 1px solid #e9edf4;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.content-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #f1c40f;
}

.content-block-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f3b5e;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f39c12;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-block-title::before {
    content: "\f02e"; /* bookmark icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f39c12;
    font-size: 1.1rem;
}

.content-block p {
    color: #3a4b5c;
    line-height: 1.7;
    margin-bottom: 15px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

.content-block-text {
    color: #3a4b5c;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* ========== LIST STYLES ========== */
.list-bullet {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.list-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #2c3e50;
    line-height: 1.6;
}

.list-item::before {
    content: "\f00c"; /* check icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #10b981;
    font-size: 0.9rem;
}

/* ========== GRID LAYOUT ========== */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* ========== CONTACT BLOCK ========== */
.contact-block {
    background: linear-gradient(145deg, #0a1f33, #123b5e);
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-title {
    color: #f1c40f;
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-title i {
    color: #f1c40f;
    font-size: 1.6rem;
}

.contact-text {
    color: #e0e8f0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1c40f;
    color: #0a1f33;
    padding: 12px 30px;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.contact-email:hover {
    background: #ffb347;
    transform: translateY(-2px);
    border-color: white;
}

.contact-email i {
    font-size: 1rem;
}

/* ========== PAGE TITLE (page-headers) ========== */
.page-headers {
    padding-bottom: 9px;
    margin: 40px 0 20px;
    border-bottom: 1px solid #eee;
}

.page-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.page-title-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

.page-title-main {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 5px;
}

.page-title-sub {
    font-size: 17px;
    color: #1e40af;
    line-height: 1.5;
    font-weight: 500;
    margin-left: 80px;
    max-width: 800px;
}

/* ========== RTL SUPPORT ========== */
html[dir="rtl"] .hero-block {
    border-right: none;
    border-left: 6px solid #1e6f9f;
}

html[dir="rtl"] .hero-block::before {
    left: auto;
    right: -20px;
    transform: rotate(10deg);
}

html[dir="rtl"] .hero-badge::before {
    margin-right: 0;
    margin-left: 6px;
}

html[dir="rtl"] .content-block-title::before {
    margin-left: 10px;
}

html[dir="rtl"] .list-item {
    padding-left: 0;
    padding-right: 25px;
}

html[dir="rtl"] .list-item::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .page-title-sub {
    margin-left: 0;
    margin-right: 80px;
}

html[dir="rtl"] .page-title-wrapper {
    flex-direction: row-reverse;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    .editorial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .content-block {
        padding: 18px 20px;
    }
    
    .content-block-title {
        font-size: 1.1rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .page-title-main {
        font-size: 1.6rem;
    }
    
    .page-title-sub {
        font-size: 1rem;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .page-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .page-title-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .page-title-main {
        font-size: 1.3rem;
    }
    
    .hero-block {
        padding: 20px;
    }
    
    .content-block-title {
        font-size: 1rem;
    }
    
    .list-item {
        font-size: 0.9rem;
    }
    
    .contact-block {
        padding: 20px;
    }
    
    .contact-title {
        font-size: 1.3rem;
    }
    
    .contact-email {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-block {
    animation: fadeInUp 0.5s ease-out backwards;
}

.content-block:nth-child(1) { animation-delay: 0.1s; }
.content-block:nth-child(2) { animation-delay: 0.2s; }
.content-block:nth-child(3) { animation-delay: 0.3s; }
.content-block:nth-child(4) { animation-delay: 0.4s; }
.content-block:nth-child(5) { animation-delay: 0.5s; }
.content-block:nth-child(6) { animation-delay: 0.6s; }
.content-block:nth-child(7) { animation-delay: 0.7s; }

/* ========== ADDITIONAL ENHANCEMENTS ========== */
/* For inline grid in the HTML */
[style*="display: grid"][style*="grid-template-columns: repeat(auto-fit, minmax(400px, 1fr))"] {
    gap: 20px;
    margin-bottom: 20px;
}

/* Ensure proper spacing for paragraphs within content blocks */
.content-block p:last-of-type {
    margin-bottom: 0;
}

/* Hover effect for list items */
.list-item:hover {
    color: #1e6f9f;
    transition: color 0.2s ease;
}

.list-item:hover::before {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}