/* ============================================
   Generic Content Page Styles
   Reusable CSS for any content pages with tables
   ============================================ */

/* ===== BASE LAYOUT ===== */
.content-page {
    /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;*/
    color: #2c3e50;
    line-height: 1.7;
    background-color: #fff;
    font-size: 16px;
}

.content-page .container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #007bff;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.section-header h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #495057;
    margin-top: 0;
}

/* ===== TEXT BOXES ===== */
.text-box {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 20px 25px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.text-box p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.8;
}

.text-box p:last-child {
    margin-bottom: 0;
}

.text-box em {
    font-style: italic;
    color: #495057;
}

/* Text Box Variants */
.text-box.info {
    background-color: #e7f3ff;
    border-left-color: #007bff;
}

.text-box.warning {
    background-color: #fff3cd;
    border-left-color: #ffc107;
}

.text-box.success {
    background-color: #d4edda;
    border-left-color: #28a745;
}

.text-box.danger {
    background-color: #f8d7da;
    border-left-color: #dc3545;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.highlight-box strong {
    color: #856404;
}

/* ===== TABLE WRAPPER ===== */
.table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* ===== DATA TABLE ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 0.95rem;
}

/* Table Header */
.data-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.data-table thead th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #5a67d8;
}

/* Table Body */
.data-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.data-table tbody tr:hover {
    background-color: #f8f9fa;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table td {
    padding: 14px 12px;
    vertical-align: top;
    color: #2c3e50;
    line-height: 1.6;
}

/* Highlighted Column (like office names) */
.data-table .highlight-col {
    font-weight: 600;
    color: #2c3e50;
    background-color: #f1f3f5;
    border-right: 3px solid #667eea;
}

/* ===== TABLE VARIANTS ===== */

/* Striped Table */
.data-table.striped tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}

/* Bordered Table */
.data-table.bordered {
    border: 1px solid #dee2e6;
}

.data-table.bordered th,
.data-table.bordered td {
    border: 1px solid #dee2e6;
}

/* ===== RESTITUTION TABLE - SPECIFIC STYLING ===== */
/* Add class "restitution-table" to your table: <table class="data-table bordered restitution-table"> */
.data-table.restitution-table {
    table-layout: fixed;
}

.data-table.restitution-table th:first-child,
.data-table.restitution-table td:first-child {
    width: 70px;
    min-width: 70px;
    max-width: 70px;
    text-align: center;
    padding: 12px 8px;
}

.data-table.restitution-table th:nth-child(2),
.data-table.restitution-table td:nth-child(2) {
    width: 45%;
    text-align: left;
    padding-left: 15px;
}

.data-table.restitution-table th:nth-child(3),
.data-table.restitution-table td:nth-child(3) {
    width: 320px;
    min-width: 320px;
    text-align: center;
    padding: 12px 15px;
}

.data-table.restitution-table thead th {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    line-height: 1.4;
    font-size: 0.85rem;
}

.data-table.restitution-table thead th:first-child {
    font-size: 0.8rem;
}

.data-table.restitution-table thead th:nth-child(2) {
    white-space: normal;
}

.data-table.restitution-table thead th:nth-child(3) {
    white-space: nowrap;
}

.data-table.restitution-table tbody td:nth-child(3) {
    text-align: center;
    padding-right: 20px;
}

/* Responsive for restitution table */
@media screen and (max-width: 768px) {
    .data-table.restitution-table th:nth-child(3),
    .data-table.restitution-table td:nth-child(3) {
        width: 200px;
        min-width: 200px;
        font-size: 0.75rem;
    }
    
    .data-table.restitution-table thead th {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 576px) {
    .data-table.restitution-table th:first-child,
    .data-table.restitution-table td:first-child {
        width: 45px;
        min-width: 45px;
        max-width: 45px;
        font-size: 0.7rem;
    }
    
    .data-table.restitution-table th:nth-child(3),
    .data-table.restitution-table td:nth-child(3) {
        width: 110px;
        min-width: 110px;
        font-size: 0.65rem;
    }
    
    .data-table.restitution-table thead th {
        font-size: 0.65rem;
        white-space: normal;
    }
}

/* Compact Table */
.data-table.compact td,
.data-table.compact th {
    padding: 8px;
    font-size: 0.85rem;
}

/* Hover Table */
.data-table.hover tbody tr:hover {
    background-color: #e9ecef;
}

/* ===== SIMPLE TABLE (Alternative Style) ===== */
.simple-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.simple-table thead {
    background-color: #343a40;
    color: #fff;
}

.simple-table th,
.simple-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #dee2e6;
}

.simple-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* ===== FOOTER NOTE ===== */
.footer-note {
    background-color: #e7f3ff;
    border-left: 4px solid #007bff;
    padding: 15px 20px;
    border-radius: 4px;
    margin-top: 30px;
}

.footer-note p {
    margin: 0;
    color: #004085;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media screen and (max-width: 768px) {
    .data-table,
    .simple-table {
        font-size: 0.8rem;
    }
    
    .data-table thead th,
    .data-table td,
    .simple-table th,
    .simple-table td {
        padding: 10px 8px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header h3 {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media screen and (max-width: 576px) {
    .content-page .container {
        padding: 0 10px;
        margin: 15px auto;
    }
    
    .data-table,
    .simple-table {
        font-size: 0.75rem;
    }
    
    .data-table thead th,
    .data-table td,
    .simple-table th,
    .simple-table td {
        padding: 8px 6px;
    }
    
    .text-box {
        padding: 15px;
    }
}

/* ===== MOBILE CARD LAYOUT (Optional) ===== */
@media screen and (max-width: 576px) {
    /* Enable card layout by adding .mobile-cards class to table */
    .data-table.mobile-cards thead {
        display: none;
    }
    
    .data-table.mobile-cards tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .data-table.mobile-cards td {
        display: block;
        text-align: left;
        padding: 10px 15px;
        border-bottom: 1px solid #f1f3f5;
    }
    
    .data-table.mobile-cards td:last-child {
        border-bottom: none;
    }
    
    .data-table.mobile-cards td:before {
        content: attr(data-label);
        font-weight: 600;
        display: block;
        margin-bottom: 5px;
        color: #667eea;
        font-size: 0.75rem;
        text-transform: uppercase;
    }
    
    .data-table.mobile-cards .highlight-col {
        background-color: #667eea;
        color: #fff;
        font-size: 0.9rem;
        border-right: none;
    }
}

/* ===== UTILITY CLASSES ===== */

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Spacing */
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* Font Weights */
.font-bold { font-weight: 600; }
.font-normal { font-weight: 400; }

/* Colors */
.text-primary { color: #007bff; }
.text-secondary { color: #6c757d; }
.text-success { color: #28a745; }
.text-danger { color: #dc3545; }
.text-warning { color: #ffc107; }
.text-info { color: #17a2b8; }

/* Background Colors */
.bg-light { background-color: #f8f9fa; }
.bg-white { background-color: #fff; }

/* ===== PRINT STYLES ===== */
@media print {
    .content-page .container {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .data-table,
    .simple-table {
        font-size: 10pt;
    }
    
    .data-table thead,
    .simple-table thead {
        background: #333 !important;
        color: #fff !important;
    }
    
    .data-table tbody tr,
    .simple-table tbody tr {
        page-break-inside: avoid;
    }
    
    .table-wrapper {
        box-shadow: none;
    }
    
    .text-box,
    .highlight-box,
    .footer-note {
        border: 1px solid #dee2e6;
    }
}

/* ===== ACCESSIBILITY ===== */
.data-table th,
.simple-table th {
    position: relative;
}

.data-table tbody tr:focus-within,
.simple-table tbody tr:focus-within {
    outline: 2px solid #667eea;
    outline-offset: -2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #007bff;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* ===== LOADING STATE ===== */
.table-wrapper.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.table-wrapper.loading::after {
    content: "Loading...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    color: #667eea;
    background: white;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== CUSTOM SCROLLBAR (Optional) ===== */
.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
}
/* ===== BREADCRUMB - SIMPLE CLEAN STYLE ===== */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 20px;
    margin-bottom: 0;
    list-style: none;
    background-color: #e9ecef;
    border-radius: 0;
    font-size: 0.9rem;
}

.breadcrumb ol {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.breadcrumb li {
    display: inline;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

    .breadcrumb li:before {
       /* content: none;*/
        content: " \BB ";
        padding: 0 8px;
        color: #6c757d;
    }
}

.breadcrumb li:first-child:before {
    content: none;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    padding-left: .5rem;
    color: #6c757d;
    content: "\BB";
}

.breadcrumb-item.active {
    color: #8f1e23;
    font-weight: 500;
}

.breadcrumb-item a {
    color: #8f1e23;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.story-breadcrumb h4 {
    text-transform: uppercase;
    color: #8f1e23;
    font-weight: 100;
    font-size: 1.4rem;
 /*   font-family: 'open_sanssemibold';*/
    letter-spacing: 1px;
    margin-bottom: 25px
}

.story-breadcrumb .breadcrumb {
    background: 0 0;
    margin: 0;
    padding: 0
}

.story-breadcrumb .breadcrumb-item.active {
    color: #8f1e23
}

.story-breadcrumb li a {
    color: #444
}

.breadcrumb-item + .breadcrumb-item:before {
    display: inline-block;
    padding-right: .5rem;
    padding-left: .5rem;
    color: #6c757d;
    content: "/"
}
.story-breadcrumb {
    padding-left: 15px;
    width: 100%
}

.story-breadcrumb .breadcrumb {
    display: block
}

.story-breadcrumb {
    padding-left: 0
}

.story-breadcrumb h4 {
    font-size: 1.0rem;
    margin-bottom: 5px
}

.story-breadcrumb h4 {
    margin-bottom: 15px
}

ul.arrowcls li {
    list-style-type: none;
}

ul.arrowcls li:before {
    content: '➤';
    padding-right: 10px;
    font-size: .85rem;
    color: #ffa902;
    float: left
}
/* ==
=== CORE VALUES SECTION ===== */
.core-values-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.core-values-intro {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border-left: 5px solid #8f1e23;
    position: relative;
    overflow: hidden;
}

.core-values-intro::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(143, 30, 35, 0.05) 0%, transparent 100%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.core-values-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2c3e50;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Core Value Cards */
.core-value-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.core-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8f1e23 0%, #c92a2a 100%);
    transition: height 0.3s ease;
}

.core-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
}

.core-value-card:hover::before {
    height: 6px;
}

/* Individual color schemes for each value */
.core-value-card.integrity::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.core-value-card.accountability::before {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.core-value-card.commitment::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.core-value-card.excellence::before {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.core-value-card.impartiality::before {
    background: linear-gradient(90deg, #fa709a 0%, #fee140 100%);
}

/* Value Title */
.core-value-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.core-value-title strong {
    color: #8f1e23;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.core-value-title::before {
    content: '';
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #8f1e23 0%, #c92a2a 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(143, 30, 35, 0.3);
}

/* Icon variations for each value */
.core-value-card.integrity .core-value-title::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.core-value-card.accountability .core-value-title::before {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.core-value-card.commitment .core-value-title::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.core-value-card.excellence .core-value-title::before {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.3);
}

.core-value-card.impartiality .core-value-title::before {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 4px 15px rgba(250, 112, 154, 0.3);
}

/* Value Description */
.core-value-description {
    font-size: 1.05rem;
    color: #495057;
    margin-bottom: 20px;
    line-height: 1.7;
    font-style: italic;
}

/* Value List */
.core-value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.core-value-list li {
    padding: 15px 20px 15px 60px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.core-value-list li:hover {
    background: #e9ecef;
    border-left-color: #8f1e23;
    transform: translateX(5px);
}

.core-value-list li::before {
    content: '➤';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: #ffa902;
    font-weight: bold;
}

.core-value-list li p {
    margin: 0;
    color: #2c3e50;
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Alternative arrow styles for different values */
.core-value-card.integrity .core-value-list li::before {
    color: #667eea;
}

.core-value-card.accountability .core-value-list li::before {
    color: #f5576c;
}

.core-value-card.commitment .core-value-list li::before {
    color: #00f2fe;
}

.core-value-card.excellence .core-value-list li::before {
    color: #43e97b;
}

.core-value-card.impartiality .core-value-list li::before {
    color: #fa709a;
}

/* Responsive Design for Core Values */
@media screen and (max-width: 768px) {
    .core-value-card {
        padding: 25px 20px;
    }
    
    .core-value-title {
        font-size: 1.4rem;
        gap: 10px;
    }
    
    .core-value-title::before {
        width: 40px;
        height: 40px;
    }
    
    .core-value-description {
        font-size: 0.95rem;
    }
    
    .core-value-list li {
        padding: 12px 15px 12px 50px;
    }
    
    .core-value-list li::before {
        left: 15px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 576px) {
    .core-values-intro {
        padding: 20px;
    }
    
    .core-value-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .core-value-title {
        font-size: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .core-value-description {
        font-size: 0.9rem;
    }
    
    .core-value-list li {
        padding: 10px 12px 10px 45px;
        font-size: 0.9rem;
    }
}

/* Print Styles for Core Values */
@media print {
    .core-values-section {
        background: none;
    }
    
    .core-value-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .core-value-card:hover {
        transform: none;
    }
}

/* ===== CORE VALUES - SIMPLE & CLEAN DESIGN ===== */
.core-values-section {
    padding: 30px 0;
    background: #f8f9fa;
}

.core-values-intro {
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #333;
    line-height: 1.8;
}

.core-values-intro p {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
}

/* Core Value Item */
.core-value-item {
    background: #fff;
    padding: 20px 25px;
    margin-bottom: 25px;
}

    .core-value-item p {
        margin: 0 0 12px 0;
        color: #333;
        font-size: 1.24rem;
        line-height: 1.7;
    }

/* Value Title */
.core-value-title {
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.core-value-title strong {
    text-decoration: underline;
}

/* Value Description */
.core-value-description {
    color: #333;
    margin-bottom: 12px;
}

/* Value List */
.core-value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.core-value-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.7;
}

.core-value-list li::before {
    content: '➤';
    position: absolute;
    left: 0;
    color: #ffa902;
    font-size: 0.9rem;
}

/* Responsive Design for Core Values */
@media screen and (max-width: 768px) {
    .core-values-intro {
        padding: 20px;
    }
    
    .core-value-item {
        padding: 15px 20px;
    }
}

@media screen and (max-width: 576px) {
    .core-values-intro {
        padding: 15px;
    }
    
    .core-value-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .core-value-list li {
        padding: 6px 0 6px 25px;
        font-size: 0.9rem;
    }
}

/* ===== STATISTICS TABLE - DARK RED HEADER ===== */
.data-table.stats-table {
   /* table-layout: fixed;*/
}

.data-table.stats-table thead {
    background: #8f1e23;
    color: #fff;
}

.data-table.stats-table thead th {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #fff;
    color: #fff;
}

.data-table.stats-table thead tr:first-child th {
    font-size: 0.95rem;
    padding: 15px 12px;
    font-weight: 700;
    border-bottom: 2px solid #fff;
}

.data-table.stats-table thead tr:last-child th {
    padding: 12px;
    border-top: none;
}

.data-table.stats-table thead tr:last-child th:nth-child(1) {
    width: 8%;
}

.data-table.stats-table thead tr:last-child th:nth-child(2) {
    width: 62%;
}

.data-table.stats-table thead tr:last-child th:nth-child(3) {
    width: 30%;
}


/* ===== PARAGRAPH CONTENT STYLING ===== */
.p-content p,
p.p-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 18px;
    text-align: justify;
}

.p-content p:last-child,
p.p-content:last-child {
    margin-bottom: 0;
}

.p-content p strong,
p.p-content strong {
    font-weight: 700;
    color: #000;
}

.p-content p em,
p.p-content em {
    font-style: italic;
}

.p-content p a,
p.p-content a {
    color: #8f1e23;
    text-decoration: underline;
}

.p-content p a:hover,
p.p-content a:hover {
    color: #c92a2a;
}

/* Responsive for paragraph content */
@media screen and (max-width: 768px) {
    .p-content p,
    p.p-content {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

@media screen and (max-width: 576px) {
    .p-content p,
    p.p-content {
        font-size: 0.85rem;
        text-align: left;
    }
}


/* ===== RELATED LINKS STYLING ===== */
.related-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.related-links-grid li {
    list-style: none;
    background: #f8f9fa;
    border-left: 4px solid #8f1e23;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.related-links-grid li:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.related-links-grid li a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.related-links-grid li a::before {
    content: '🔗';
    margin-right: 10px;
    font-size: 1.1rem;
}

.related-links-grid li a:hover {
    color: #8f1e23;
}

/* Alternative: Simple List Style */
ul.related-links-simple {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

ul.related-links-simple li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

ul.related-links-simple li:last-child {
    border-bottom: none;
}

ul.related-links-simple li a {
    color: #8f1e23;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

ul.related-links-simple li a::before {
    content: '➤';
    margin-right: 10px;
    color: #ffa902;
    font-size: 0.9rem;
}

ul.related-links-simple li a:hover {
    color: #c92a2a;
    padding-left: 5px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .related-links-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== OFFICES PAGE STYLING ===== */
.office-table {
    margin-bottom: 40px;
    table-layout: fixed;
    width: 100%;
}

.office-table thead {
    background: #8f1e23;
    color: #fff;
}

.office-table thead th {
    padding: 15px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: 1px solid #fff;
    color: #fff;
}

.office-table thead tr:first-child th {
    font-size: 1.1rem;
    padding: 18px 15px;
    font-weight: 700;
}

/* Fixed column widths - applies to ALL office tables */
.office-table col:nth-child(1),
.office-table thead tr:last-child th:nth-child(1),
.office-table tbody td:nth-child(1) {
    width: 15%;
}

.office-table col:nth-child(2),
.office-table thead tr:last-child th:nth-child(2),
.office-table tbody td:nth-child(2) {
    width: 18%;
}

.office-table col:nth-child(3),
.office-table thead tr:last-child th:nth-child(3),
.office-table tbody td:nth-child(3) {
    width: 15%;
}

.office-table col:nth-child(4),
.office-table thead tr:last-child th:nth-child(4),
.office-table tbody td:nth-child(4) {
    width: 45%;
}

.office-table col:nth-child(5),
.office-table thead tr:last-child th:nth-child(5),
.office-table tbody td:nth-child(5) {
    width: 7%;
}

.office-table tbody td {
    padding: 14px 12px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #dee2e6;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2c3e50;
}

.office-table .subzonal {
    background: #f8f9fa;
    font-weight: 600;
    color: #8f1e23;
    text-align: center;
    padding: 12px;
}

.office-table .map-icon {
    text-align: center;
}

.office-table .map-icon img {
    width: 30px;
    height: auto;
}

/* Region Headers */
.region-header {
    background: #8f1e23;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Responsive for offices */
@media screen and (max-width: 768px) {
    .office-table {
        font-size: 0.85rem;
        table-layout: auto;
    }
    
    .office-table thead th,
    .office-table tbody td {
        padding: 8px;
    }

    .sitemap-grid {
        grid-template-columns: 1fr;
    }

    .sitemap-section {
        padding: 20px;
    }

    .sitemap-section-title {
        font-size: 1.3rem;
    }
}
.sitemap-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #8f1e23;
    transition: all 0.3s ease;
}

    .sitemap-section:hover {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

.sitemap-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8f1e23;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f3f5;
}

.sitemap-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sitemap-links li {
        padding: 10px 0;
        border-bottom: 1px solid #f8f9fa;
    }

        .sitemap-links li:last-child {
            border-bottom: none;
        }

        .sitemap-links li a {
            color: #2c3e50;
            text-decoration: none;
            font-size: 0.95rem;
            display: inline-block;
            transition: all 0.3s ease;
            padding-left: 25px;
            position: relative;
        }

            .sitemap-links li a::before {
                content: '➤';
                position: absolute;
                left: 0;
                color: #ffa902;
                font-size: 0.85rem;
                transition: all 0.3s ease;
            }

            .sitemap-links li a:hover {
                color: #8f1e23;
                padding-left: 30px;
            }

                .sitemap-links li a:hover::before {
                    left: 5px;
                }

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.badge-new {
    background: #ff6b6b;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}


/* Column width adjustments for better layout */
.data-table th:nth-child(1),
.data-table td:nth-child(1) {
    width: 15%;
}

.data-table th:nth-child(2),
.data-table td:nth-child(2) {
    width: 20%;
}

.data-table th:nth-child(3),
.data-table td:nth-child(3) {
    width: 10%;
    font-size: 0.9em;
}

.data-table th:nth-child(4),
.data-table td:nth-child(4) {
    width: 45%;
}

.data-table th:nth-child(5),
.data-table td:nth-child(5) {
    width: 10%;
}
/* 
========================================
   Note on Conman - Process Diagram Styles
   ======================================== */

/* Process Diagram Styling - Fully Responsive */
.table-wrapper.process-diagram .data-table.bordered tbody tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    border: none !important;
    padding: 10px;
}

    .table-wrapper.process-diagram .data-table.bordered tbody tr td {
        flex: 0 0 auto;
        width: calc(20% - 20px);
        min-width: 150px;
        min-height: 120px;
        background: linear-gradient(135deg, #800000 0%, #A52A2A 100%);
        color: white;
        padding: 20px 15px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        position: relative;
        border: none !important;
        transition: transform 0.3s ease;
    }

        .table-wrapper.process-diagram .data-table.bordered tbody tr td:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.3);
        }

        /* Arrow between boxes */
        .table-wrapper.process-diagram .data-table.bordered tbody tr td:not(:last-child)::after {
            content: '';
            position: absolute;
            right: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            border-left: 15px solid #800000;
            z-index: 1;
        }

        .table-wrapper.process-diagram .data-table.bordered tbody tr td:not(:last-child)::before {
            content: '';
            position: absolute;
            right: -15px;
            top: 50%;
            transform: translateY(-50%);
            width: 15px;
            height: 3px;
            background-color: #800000;
            z-index: 0;
        }

/* Small Mobile: 1 box per row */
@media (max-width: 480px) {
    .table-wrapper.process-diagram .data-table.bordered tbody tr {
        flex-direction: column;
        gap: 50px;
        padding: 20px 10px;
    }

        .table-wrapper.process-diagram .data-table.bordered tbody tr td {
            width: 100%;
            max-width: 280px;
            font-size: 13px;
            padding: 18px 12px;
        }

            .table-wrapper.process-diagram .data-table.bordered tbody tr td:not(:last-child)::after {
                right: auto;
                top: auto;
                bottom: -50px;
                left: 50%;
                transform: translateX(-50%);
                border-left: 12px solid transparent;
                border-right: 12px solid transparent;
                border-top: 15px solid #800000;
            }

            .table-wrapper.process-diagram .data-table.bordered tbody tr td:not(:last-child)::before {
                right: auto;
                top: auto;
                bottom: -40px;
                left: 50%;
                transform: translateX(-50%);
                width: 3px;
                height: 30px;
            }
}

/* Mobile: 2 boxes per row */
@media (min-width: 481px) and (max-width: 768px) {
    .table-wrapper.process-diagram .data-table.bordered tbody tr td {
        width: calc(50% - 30px);
        min-width: 140px;
        font-size: 13px;
    }

    .table-wrapper.process-diagram .data-table.bordered tbody tr {
        gap: 30px 20px;
    }
}

/* Tablet: 3 boxes per row */
@media (min-width: 769px) and (max-width: 1024px) {
    .table-wrapper.process-diagram .data-table.bordered tbody tr td {
        width: calc(33.33% - 20px);
        min-width: 160px;
        font-size: 13px;
        padding: 18px 12px;
    }

    .table-wrapper.process-diagram .data-table.bordered tbody tr {
        gap: 20px;
    }
}

/* Large Tablet/Small Desktop: 4 boxes per row */
@media (min-width: 1025px) and (max-width: 1366px) {
    .table-wrapper.process-diagram .data-table.bordered tbody tr td {
        width: calc(25% - 20px);
        min-width: 180px;
    }
}

/* Desktop: 5 boxes per row */
@media (min-width: 1367px) {
    .table-wrapper.process-diagram .data-table.bordered tbody tr td {
        width: calc(20% - 20px);
        min-width: 200px;
    }
}