﻿.org-details-page {
    --org-primary: #013F6E;
    padding: 34px 0 72px;
    background: #f5f8fb;
    font-family: inherit !important;
}
    .org-details-page :where( h1, h2, h3, h4, h5, h6, p, a, span, div, button, label, input, textarea, select ) {
        font-family: inherit !important;
    }

.org-details-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2eaf0;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(1, 63, 110, .08);
}

.org-details-hero {
    padding: 32px;
    color: #fff;
    background: linear-gradient(135deg, rgba(1, 63, 110, .98), rgba(0, 47, 83, .92));
}

.org-details-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.org-details-image {
    flex: 0 0 130px;
    width: 130px;
    height: 165px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .14);
    border: 2px solid rgba(255, 255, 255, .34);
    border-radius: 14px;
}

    .org-details-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .org-details-image i {
        color: rgba(255, 255, 255, .72);
        font-size: 3.4rem;
    }

.org-details-name {
    margin: 0 0 9px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 900;
    color: rgba(255, 255, 255, .84);
}

.org-details-title {
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1rem;
    line-height: 1.9;
}

.org-details-body {
    padding: 28px 32px 36px;
}

.org-contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.org-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 210px;
    min-height: 58px;
    padding: 9px 14px;
    color: #344756 !important;
    background: #f4f8fb;
    border: 1px solid #e0e9f0;
    border-radius: 11px;
    text-decoration: none !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .org-contact-item:hover {
        color: #344756 !important;
        background: #ffffff;
        border-color: #013F6E;
        box-shadow: 0 7px 18px rgba(1, 63, 110, 0.1);
        transform: translateY(-2px);
    }

    .org-contact-item i {
        flex: 0 0 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        color: #013F6E;
        background: rgba(1, 63, 110, 0.08);
        border-radius: 9px;
        font-size: 1rem;
    }

.org-contact-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.org-contact-label {
    color: #738391;
    font-size: 0.72rem;
    line-height: 1.5;
}

.org-contact-value {
    color: #253947;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.6;
    word-break: break-word;
}

.org-contact-item i {
    color: var(--org-primary);
}

.org-contact-item a {
    color: inherit;
    text-decoration: none;
}

.org-details-section {
    margin-top: 17px;
    padding: 22px;
    color: #3f4f5d;
    background: #fff;
    border: 1px solid #e3eaf0;
    border-radius: 14px;
    line-height: 2;
}

    .org-details-section h2 {
        margin: 0 0 14px;
        padding-bottom: 11px;
        color: var(--org-primary);
        border-bottom: 1px solid #e8eef3;
        font-size: 1.05rem;
        font-weight: 800;
    }

    .org-details-section ul {
        margin-bottom: 0;
    }

.org-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--org-primary);
    text-decoration: none;
    font-weight: 700;
}

.org-not-found {
    padding: 70px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #e2eaf0;
    border-radius: 20px;
}

    .org-not-found i {
        display: block;
        margin-bottom: 14px;
        color: #b2c0cb;
        font-size: 3rem;
    }

@media (max-width: 575.98px) {
    .org-details-hero,
    .org-details-body {
        padding: 22px 18px;
    }

    .org-details-profile {
        align-items: flex-start;
        gap: 14px;
    }

    .org-details-image {
        flex-basis: 95px;
        width: 95px;
        height: 125px;
    }

    .org-details-name {
        font-size: 1.2rem;
    }

    .org-details-title {
        font-size: .85rem;
    }
    .org-contact-list {
        display: block;
    }

    .org-contact-item {
        width: 100%;
        margin-bottom: 10px;
    }
}
