/* =====================================================================
   নোটিশের বিস্তারিত পাতা (পরিচিতি/বোতাম: hospital-notices.css)
   ===================================================================== */
.hn-detail-grid {
    display: grid;
    grid-template-columns: 1fr 375px;
    gap: 26px;
    margin-top: 22px;
    margin-bottom: 34px;
    align-items: start;
}

.hn-detail {
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #dce9f5;
    border-radius: var(--hp-card-radius, 14px);
    box-shadow: 0 5px 16px rgba(24, 66, 130, 0.10);
}

.hn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #cfe0ee;
    border-radius: 8px;
    background: #fff;
    color: var(--hp-navy);
    font-size: 15.5px;
    font-weight: 700;
}

.hn-back:hover {
    border-color: var(--hp-green);
    color: var(--hp-green);
}

.hn-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 4px 16px;
    border-radius: 20px;
    background: var(--hp-green);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.hn-badge-urgent {
    background: #d12a2a;
}

.hp-body .hn-detail-title {
    margin: 6px 0 12px;
    color: #123d8e;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.35;
}

.hp-body .hn-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-bottom: 16px;
    color: #1d2b45;
    font-size: 14px;
}

.hn-meta li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hn-meta i {
    color: var(--hp-green);
    font-size: 19px;
}

.hn-detail-image {
    display: block;
    width: 100%;
    max-height: 340px;
    margin-bottom: 16px;
    object-fit: cover;
    border-radius: 10px;
}

.hn-detail-text {
    margin-bottom: 16px;
    color: #1d2b45;
    font-size: 20px;
    line-height: 1.7;
}

/* ---------- নীল ও সবুজ বক্স ---------- */
.hn-box {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    padding: 14px 18px;
    border-radius: 10px;
}

.hn-box-blue {
    border: 1px solid #cfe0f3;
    background: #eaf3fc;
}

.hn-box-green {
    border: 1px solid #c4e5cf;
    background: #eaf7ee;
}

.hn-box-icon {
    flex: 0 0 36px;
    font-size: 34px;
    line-height: 1.2;
}

.hn-box-blue .hn-box-icon {
    color: #1565b5;
}

.hn-box-green .hn-box-icon {
    color: var(--hp-green);
}

.hp-body .hn-box-title {
    margin-bottom: 6px;
    font-size: 24px;
    font-weight: 800;
}

.hn-box-blue .hn-box-title {
    color: #1565b5;
}

.hn-box-green .hn-box-title {
    color: #0b6d2e;
}

.hn-box-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    color: #1d2b45;
    font-size: 19px;
    line-height: 1.5;
}

.hn-box-list i {
    color: #d12a2a;
    font-size: 18px;
}

.hn-box-text {
    color: #1d2b45;
    font-size: 18px;
    line-height: 1.6;
}

/* ---------- সংযুক্তি ---------- */
.hn-file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    margin-bottom: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #e3edf6;
}

.hn-file-label {
    color: var(--hp-navy);
    font-size: 16px;
    font-weight: 800;
}

.hn-file-label i {
    margin-right: 6px;
    font-size: 19px;
}

.hn-file-name {
    flex: 1;
    color: #1d2b45;
    font-size: 15px;
    font-weight: 600;
}

.hn-file-name i {
    margin-right: 6px;
    color: #d12a2a;
    font-size: 22px;
}

.hn-file-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 18px;
    border: 1px solid var(--hp-green);
    border-radius: 8px;
    color: var(--hp-green);
    font-size: 15px;
    font-weight: 800;
}

.hn-file-download:hover {
    background: var(--hp-green);
    color: #fff;
}

/* ---------- শেয়ার সারি ---------- */
.hn-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hn-share-label {
    margin-right: 4px;
    color: var(--hp-navy);
    font-size: 16px;
    font-weight: 800;
}

.hn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.hn-fb { background: #1877f2; }
.hn-wa { background: #25d366; }
.hn-ms { background: #0084ff; }
.hn-in { background: #0a66c2; }
.hn-link { background: #8a97a8; }
.hn-link.hn-copied { background: var(--hp-green); }

.hn-share-space {
    flex: 1;
}

.hn-tool {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 20px;
    border: 1px solid #cfe0ee;
    border-radius: 8px;
    background: #fff;
    color: var(--hp-navy);
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(24, 66, 130, 0.08);
}

.hn-tool:hover {
    border-color: var(--hp-green);
    color: var(--hp-green);
}

/* ---------- ডানের কলাম ---------- */
.hn-side {
    display: grid;
    gap: 18px;
}

.hn-side-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce9f5;
    border-radius: var(--hp-card-radius, 14px);
    box-shadow: 0 5px 16px rgba(24, 66, 130, 0.10);
}

.hn-side-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #eef6fd;
    color: #123d8e;
    font-size: 23px;
    font-weight: 800;
}

.hn-side-title i {
    color: var(--hp-green);
    font-size: 24px;
}

.hp-body .hn-contact {
    padding: 8px 18px 14px;
}

.hn-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 7px 0;
    color: #1d2b45;
    font-size: 17px;
    line-height: 1.5;
    word-break: break-word;
}

.hn-contact li > i {
    flex: 0 0 24px;
    margin-top: 3px;
    color: var(--hp-green);
    font-size: 21px;
    text-align: center;
}

.hn-contact small {
    display: block;
    font-size: 16px;
}

.hn-related {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-top: 1px solid #e3edf6;
    color: #123d8e;
}

.hn-related:hover strong {
    color: var(--hp-green);
}

.hn-related-icon {
    flex: 0 0 26px;
    color: var(--hp-green);
    font-size: 24px;
    text-align: center;
}

.hn-related span {
    flex: 1;
}

.hn-related strong {
    display: block;
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.4;
}

.hn-related small {
    display: block;
    margin-top: 3px;
    color: #1d2b45;
    font-size: 13.5px;
    font-weight: 600;
}

.hn-related-go {
    color: var(--hp-green);
    font-size: 22px;
}

.hn-side-empty {
    padding: 14px 18px;
    color: #51627a;
}

.hn-side-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    height: 42px;
    margin: 14px auto 16px;
    padding: 0 28px;
    border: 1px solid var(--hp-green);
    border-radius: 8px;
    color: var(--hp-green);
    font-size: 16px;
    font-weight: 800;
}

.hn-side-more:hover {
    background: var(--hp-green);
    color: #fff;
}

.hn-side-book {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 6px 14px;
    align-items: center;
    padding: 18px;
    border: 1px solid #c4e5cf;
    border-radius: var(--hp-card-radius, 14px);
    background: linear-gradient(180deg, #f2faf5, #e5f5ea);
}

.hn-side-book-icon {
    color: var(--hp-green);
    font-size: 48px;
}

.hn-side-book h3 {
    color: #1d2b45;
    font-size: 26px;
    font-weight: 800;
}

.hn-side-book p {
    color: #1d2b45;
    font-size: 15.5px;
}

.hn-side-book .hp-btn {
    grid-column: 1 / -1;
    margin-top: 8px;
}

/* ---------- রেসপন্সিভ ---------- */
@media (max-width: 992px) {
    .hn-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hn-detail {
        padding: 16px;
    }

    .hp-body .hn-detail-title {
        font-size: 25px;
    }

    .hn-detail-text,
    .hn-box-list li {
        font-size: 17px;
    }

    .hn-share-space {
        flex-basis: 100%;
    }
}

/* ---------- প্রিন্ট: শুধু নোটিশ ---------- */
@media print {
    .hn-detail-grid {
        grid-template-columns: 1fr;
    }

    .hn-side,
    .hn-back,
    .hn-share {
        display: none !important;
    }
}
