/*
 * Plik: assets/css/firma-status.css
 * Style dla podstron CPT "firma_status"
 */

.firma-status-page {
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.firma-status-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.firma-status-logo-wrapper {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 6px;
}

.firma-status-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.firma-status-title {
    margin: 0;
    font-size: 1.9em;
    line-height: 1.2;
}

.firma-status-opis-box {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid #6c757d;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: #444;
}

.firma-status-opis-box p:last-child {
    margin-bottom: 0;
}

.firma-status-seo-section {
    margin-bottom: 2.5rem;
}

.firma-status-seo-section h2 {
    font-size: 1.6em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.firma-status-seo-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    line-height: 1.7;
    color: #444;
}

.firma-status-seo-content.is-collapsed {
    max-height: 220px;
}

.firma-status-seo-content.is-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    pointer-events: none;
}

.firma-status-expand-btn {
    display: block;
    margin: 12px auto 0;
    padding: 8px 20px;
    background-color: #fff;
    color: #007bff;
    border: 1px solid #007bff;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.firma-status-expand-btn:hover {
    background-color: #007bff;
    color: #fff;
}

.firma-status-content {
    line-height: 1.7;
}

.firma-status-back-link {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.firma-status-back-link a {
    font-weight: 600;
    text-decoration: none;
    color: var(--ast-global-color-0, #007bff);
}

.firma-status-back-link a:hover {
    text-decoration: underline;
}
.firma-status-fixed-blocks {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.firma-status-promo-block h2 {
    font-size: 1.6em;
    margin-bottom: 0.75rem;
}

.firma-status-promo-block p {
    color: #444;
    line-height: 1.6;
}

.firma-status-promo-link {
    text-align: center;
    margin-top: 1rem;
}

.firma-status-promo-link a {
    font-weight: 600;
    color: var(--ast-global-color-0, #007bff);
    text-decoration: none;
}

.firma-status-promo-link a:hover {
    text-decoration: underline;
}
body.single-firma_status #secondary,
body.single-firma_status .widget-area,
body.single-firma_status .ast-sidebar,
body.single-firma_status .sidebar-main {
    display: none !important;
    width: 0 !important;
}

body.single-firma_status #primary,
body.single-firma_status .ast-container #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

body.single-firma_status.ast-right-sidebar #primary,
body.single-firma_status.ast-left-sidebar #primary {
    width: 100% !important;
}

body.single-firma_status .ast-container {
    display: block !important;
}