/* =====================================================================
   ডাক্তারের "নোটিশ ও ঘোষণা" পাতা (ব্যানার/ট্যাব: hospital-profile.css)
   ===================================================================== */

/* ---------- উপরের ছোট পরিচিতি ---------- */
.hn-top {
    display: grid;
    grid-template-columns: 200px 1fr 310px;
    gap: 26px;
    margin-top: 6px;
    align-items: center;
}

.hn-photo {
    width: 100%;
    height: 175px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--hp-card-radius, 14px);
    background: #e8f1f9;
    box-shadow: 0 5px 16px rgba(24, 66, 130, 0.15);
}

.hp-body .hn-degree {
    margin-bottom: 6px;
    color: #1d2b45;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.hn-special {
    color: #1d2b45;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

/* ডানের দুটি বোতাম, বাঁয়ে খাড়া রেখা */
.hn-actions {
    display: grid;
    gap: 12px;
    padding-left: 24px;
    border-left: 2px solid #cfe3d6;
}

.hn-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #cfe0ee;
    border-radius: 8px;
    background: #fff;
    color: var(--hp-navy);
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(24, 66, 130, 0.08);
}

.hn-btn-outline i:first-child {
    color: var(--hp-green);
    font-size: 20px;
}

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

/* ---------- নোটিশের কার্ড ---------- */
.hn-card {
    margin-top: 22px;
    padding: 0;
    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-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px 14px;
}

.hn-title {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #123d8e;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
}

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

.hn-search {
    position: relative;
    flex: 0 1 410px;
}

.hn-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hp-green);
    font-size: 18px;
}

.hn-search input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 46px;
    border: 1px solid #cfe0ee;
    border-radius: 8px;
    background: #fff;
    color: #1d2b45;
    font-family: inherit;
    font-size: 15px;
}

.hn-search input:focus {
    outline: none;
    border-color: var(--hp-green);
}

/* ---------- একটি নোটিশের সারি ---------- */
.hn-item {
    display: grid;
    grid-template-columns: 132px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 16px 22px;
    border-top: 1px solid #e3edf6;
}

/* তারিখের ব্যাজ: লালচে কার্ড, উপরে ক্যালেন্ডার আইকন */
.hn-date {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 4px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #f5cfcf;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff6f6, #fde8e8);
    text-align: center;
    line-height: 1.25;
}

.hn-date i {
    grid-row: 1 / 4;
    color: #d12a2a;
    font-size: 26px;
}

.hn-date strong {
    color: #c01e1e;
    font-size: 24px;
    font-weight: 800;
}

.hn-date span {
    color: #1d2b45;
    font-size: 15px;
    font-weight: 800;
}

.hp-body .hn-item-title {
    margin-bottom: 4px;
    color: #123d8e;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
}

.hn-urgent {
    display: inline-block;
    margin-left: 10px;
    padding: 2px 16px;
    border-radius: 20px;
    background: #d12a2a;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    vertical-align: 3px;
}

.hn-summary {
    color: #1d2b45;
    font-size: 16px;
    line-height: 1.6;
}

.hn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border: 1px solid var(--hp-green);
    border-radius: 8px;
    background: #fff;
    color: var(--hp-green);
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

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

.hn-empty {
    padding: 36px 22px;
    border-top: 1px solid #e3edf6;
    color: #51627a;
    font-size: 17px;
    text-align: center;
}

/* ---------- নিচের সারি ---------- */
.hn-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
    margin-bottom: 30px;
    padding-top: 14px;
    padding-bottom: 14px;
    background: #fff;
    border: 1px solid #dce9f5;
    border-radius: var(--hp-card-radius, 14px);
    box-shadow: 0 5px 16px rgba(24, 66, 130, 0.08);
}

.hn-total {
    margin: 0;
    color: #1d2b45;
    font-size: 19px;
    font-weight: 700;
}

.hn-total b {
    font-weight: 800;
}

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

    .hn-actions {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 720px) {
    .hn-head {
        flex-direction: column;
        align-items: stretch;
    }

    .hn-title {
        font-size: 26px;
    }

    .hn-title i {
        font-size: 28px;
    }

    .hn-search {
        flex: none;
    }

    .hn-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hn-date {
        grid-template-columns: 28px auto auto auto;
        justify-self: start;
        column-gap: 6px;
    }

    .hn-date i {
        grid-row: auto;
    }

    .hn-more {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .hn-top {
        grid-template-columns: 1fr;
    }

    .hn-photo {
        height: 260px;
    }

    .hn-actions {
        grid-template-columns: 1fr;
    }

    .hp-body .hn-item-title {
        font-size: 18px;
    }

    .hn-footer {
        justify-content: center;
    }
}

@media print {
    .hn-search,
    .hn-actions,
    .hn-more,
    .hn-footer .hp-pagination {
        display: none !important;
    }
}
