/**
 * NjoftimFalas unified site shell.
 * Scoped only to Core-generated pages and Directorist author profiles.
 */
body.nfc-unified-shell-page {
    background: #f4f8f9;
}

/* Keep the existing theme header, but remove the duplicated WordPress title. */
body.nfc-unified-shell-page .site-header .site-branding,
body.nfc-unified-shell-page .site-header .site-title,
body.nfc-unified-shell-page .site-header .site-description,
body.nfc-unified-shell-page .site-header .main-title {
    display: none !important;
}

body.nfc-unified-shell-page .site-header .inside-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

body.nfc-unified-shell-page .site-header .site-logo,
body.nfc-unified-shell-page .site-header .header-widget {
    margin: 0 !important;
}

body.nfc-unified-shell-page .site-header .site-logo img,
body.nfc-unified-shell-page .site-header img.header-image {
    display: block;
    width: auto !important;
    max-width: min(220px, 72vw) !important;
    max-height: 92px !important;
    object-fit: contain;
}

body.nfc-unified-shell-page .main-navigation .inside-navigation {
    min-height: 62px;
    justify-content: center;
}

/* Remove the large empty gap before Core/Directorist content. */
body.nfc-unified-shell-page #page,
body.nfc-unified-shell-page .site-content {
    margin-top: 0 !important;
}

body.nfc-unified-shell-page .site-content {
    padding-top: 28px !important;
    padding-bottom: 0 !important;
}

body.nfc-core-generated-page .entry-header {
    display: none !important;
}

body.nfc-core-generated-page .inside-article,
body.nfc-core-generated-page .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.nfc-core-generated-page .nfc-center,
body.nfc-core-generated-page .nfc-payment-checkout,
body.nfc-core-generated-page .nfc-payment-history,
body.nfc-core-generated-page .nfc-business-manager,
body.nfc-core-generated-page .nfc-identity-manager,
body.nfc-core-generated-page .nfc-business-public {
    margin-top: 0 !important;
}

/* Directorist has used both old and new class names across releases. */
body.nfc-author-profile-page .directorist-author-profile,
body.nfc-author-profile-page .directorist-author-profile-area,
body.nfc-author-profile-page .directorist-author-profile-wrap,
body.nfc-author-profile-page .atbd_author_profile,
body.nfc-author-profile-page .atbdp_author_profile {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Replace the stock GeneratePress credit with the NjoftimFalas identity. */
body.nfc-unified-shell-page .site-footer {
    margin-top: 36px !important;
}

body.nfc-unified-shell-page .site-info {
    background: #124a59 !important;
    color: #fff !important;
    padding: 18px 20px !important;
}

body.nfc-unified-shell-page .site-info .inside-site-info {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    min-height: 0;
    margin: 0 auto;
    padding: 0 !important;
    text-align: center;
}

body.nfc-unified-shell-page .site-info .copyright-bar,
body.nfc-unified-shell-page .site-info .copyright-bar a,
body.nfc-unified-shell-page .site-info a {
    color: #fff !important;
}

body.nfc-unified-shell-page .site-info a {
    font-weight: 800;
    text-decoration: none;
}

body.nfc-unified-shell-page .site-info a:hover {
    text-decoration: underline;
}

/* Safety fallback in case the theme version does not expose its copyright filter. */
body.nfc-unified-shell-page .site-info a[href*="generatepress.com"] {
    display: none !important;
}

/* Build labels belong in technical logs, not in the customer interface. */
body.nfc-unified-shell-page .nfc-build-marker {
    display: none !important;
}

@media (max-width: 768px) {
    body.nfc-unified-shell-page .site-header .inside-header {
        padding: 14px 16px !important;
    }

    body.nfc-unified-shell-page .site-header .site-logo img,
    body.nfc-unified-shell-page .site-header img.header-image {
        max-height: 76px !important;
    }

    body.nfc-unified-shell-page .site-content {
        padding-top: 18px !important;
    }

    body.nfc-unified-shell-page .site-footer {
        margin-top: 24px !important;
    }

    body.nfc-unified-shell-page .site-info {
        padding: 16px 14px !important;
        font-size: 13px;
        line-height: 1.55;
    }
}
