/* Page Styles */

.page-wrapper {
    min-height: 60vh;
}


.page-content-body {
    line-height: 1.5;
    font-size: 16px;
    color: #333333;
}

.page-content-body ul,
.page-content-body ol {
    margin: 22px 0;
    padding-left: 30px;
    line-height: 1.5;
}

.page-content-body li {
    margin-bottom: 5px;
    line-height: 1.5;
}

.page-content-body blockquote {
    background: #f8f9fa;
    border-left: 4px solid var(--tutor-color-primary, #3498db);
    margin: 25px 0;
    padding: 25px;
    font-style: italic;
    border-radius: 0 4px 4px 0;
    line-height: 1.5;
}

.page-content-body a {
    color: var(--tutor-color-primary, #3498db);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: inherit;
}

.page-content-body a:hover {
    color: var(--tutor-color-secondary, #2ecc71);
    text-decoration: underline;
}

.page-content-body strong {
    font-weight: 600;
    color: #2c3e50;
    line-height: inherit;
}

.page-content-body em {
    font-style: italic;
    color: #495057; /* Improved contrast: >= 4.5:1 */
    line-height: inherit;
}

.page-links {
    margin: 35px 0;
    text-align: center;
    line-height: 1.6;
}

.page-links a {
    display: inline-block;
    padding: 10px 18px;
    margin: 0 6px 8px 6px;
    background: var(--tutor-color-primary, #3498db);
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    line-height: 1.4;
}

.page-links a:hover {
    background: var(--tutor-color-secondary, #2ecc71);
}

.page-footer {
    padding: 25px 40px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
    line-height: 1.6;
}

.edit-link a {
    color: var(--tutor-color-primary, #3498db);
    text-decoration: none;
    font-size: 14px;
    padding: 10px 18px;
    border: 1px solid var(--tutor-color-primary, #3498db);
    border-radius: 4px;
    transition: all 0.3s ease;
    line-height: 1.4;
    display: inline-block;
    margin-top: 10px;
}

.edit-link a:hover {
    background: var(--tutor-color-primary, #3498db);
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-content {
        margin: 0 15px;
    }
    
    .page-header {
        padding: 30px 20px;
    }
    
    .page-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .page-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-content-body {
        padding: 30px 20px;
        font-size: 15px;
        line-height: 1.6;
    }
    
    .page-content-body h1 {
        font-size: 1.75rem;
        margin-top: 35px;
        margin-bottom: 18px;
    }
    
    .page-content-body h2 {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .page-content-body h3 {
        font-size: 1.25rem;
        margin-top: 25px;
        margin-bottom: 12px;
    }
    
    .page-content-body p {
        margin-bottom: 16px;
        line-height: 1.65;
    }
    
    .page-content-body ul,
    .page-content-body ol {
        margin: 20px 0;
        line-height: 1.6;
    }
    
    .page-content-body li {
        margin-bottom: 5px;
        line-height: 1.6;
    }
    
    .page-footer {
        padding: 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .page-content-body {
        padding: 20px 15px;
        font-size: 14px;
        line-height: 1.6;
    }
    
    .page-content-body h1 {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }
    
    .page-content-body h2 {
        font-size: 1.25rem;
        margin-top: 25px;
        margin-bottom: 12px;
    }
    
    .page-content-body h3 {
        font-size: 1.1rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    .page-content-body p {
        margin-bottom: 14px;
        line-height: 1.6;
    }
    
    .page-content-body ul,
    .page-content-body ol {
        margin: 12px 0;
        line-height: 1.6;
    }
    
    .page-content-body li {
        margin-bottom: 5px;
        line-height: 1.6;
    }
    
    .page-content-body blockquote {
        margin: 20px 0;
        padding: 20px;
        line-height: 1.6;
    }
}

/* Company Archive Logo Styles */
.company-logo-img {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.company-logo-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #007cba, #005a87);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-logo-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Single Company Logo Styles */
.company-logo-large {
    max-width: 250px;
    max-height: 250px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.company-logo-placeholder-large {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #007cba, #005a87);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: bold;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-logo-img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .company-logo-placeholder {
        width: 100px;
        height: 100px;
        font-size: 20px;
    }
    
    .company-logo-large {
        max-width: 200px;
        max-height: 200px;
    }
    
    .company-logo-placeholder-large {
        width: 200px;
        height: 200px;
        font-size: 36px;
    }
}