/* =====================================================================
   উইজেট (অ্যাডমিনের "উইজেট" পাতা থেকে বসানো অংশ)
   নোট: hospital-home.css-এ `.hp-body h1/h2/h3/p/ul { margin:0; padding:0 }` আছে,
   তাই মার্জিন/প্যাডিং দেওয়া নিয়মগুলো `.hp-body` দিয়ে শুরু।
   ===================================================================== */

/* পুরো-চওড়া সারি (হোমের নিচে / ফুটারের আগে): উইজেটগুলো পাশাপাশি */
.hp-widget-band {
    margin-top: 22px;
    margin-bottom: 30px;
}

.hp-widget-band .hp-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

/* সাইডবারের এরিয়া: উইজেটগুলো উপর-নিচে */
.hp-widget-side {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

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

.hp-body .hp-widget-title {
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e3edf6;
    color: var(--hp-navy);
    font-size: 18px;
    font-weight: 800;
}

.hp-widget-text-body {
    color: #44566e;
    font-size: 15.5px;
    line-height: 1.7;
}

.hp-widget-text-body a {
    color: var(--hp-green);
    font-weight: 700;
}

.hp-body .hp-widget-text-body p {
    margin-bottom: 10px;
}

.hp-widget-image {
    width: 100%;
    border-radius: 10px;
}

/* ছবি + লেখার সারি (ব্লগ, চিকিৎসক) */
.hp-widget-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #dce9f5;
    color: var(--hp-navy);
}

.hp-widget-row:last-of-type {
    border-bottom: 0;
}

.hp-widget-row img {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
}

.hp-widget-row strong {
    display: block;
    font-size: 15px;
    line-height: 1.4;
}

.hp-widget-row small,
.hp-widget-line small {
    display: block;
    margin-top: 2px;
    color: #6b7a90;
    font-size: 13px;
}

.hp-widget-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #dce9f5;
    color: var(--hp-navy);
}

.hp-widget-line > i {
    margin-top: 4px;
    color: var(--hp-green);
}

.hp-widget-line strong {
    font-size: 15px;
    line-height: 1.4;
}

.hp-widget-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--hp-green);
    font-weight: 800;
}

.hp-widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hp-widget-tags a {
    padding: 5px 12px;
    border: 1px solid #dce9f5;
    border-radius: 999px;
    background: #f4f9fd;
    color: var(--hp-navy);
    font-size: 14px;
    font-weight: 700;
}

.hp-widget-tags a:hover {
    border-color: var(--hp-green);
    color: var(--hp-green);
}

.hp-widget-links li {
    padding: 6px 0;
    border-bottom: 1px dashed #dce9f5;
}

.hp-widget-links li:last-child {
    border-bottom: 0;
}

.hp-widget-links a {
    color: var(--hp-navy);
    font-weight: 600;
}

.hp-widget-links i {
    margin-right: 6px;
    color: var(--hp-green);
}

.hp-widget-contact li {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    color: #44566e;
    line-height: 1.5;
}

.hp-widget-contact i {
    flex: 0 0 18px;
    margin-top: 4px;
    color: var(--hp-green);
    text-align: center;
}

.hp-widget-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hp-widget-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--hp-navy);
    color: #fff;
}

.hp-widget-search {
    display: flex;
    gap: 8px;
}

.hp-widget-search input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #cfe1f3;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
}

.hp-widget-search button {
    width: 42px;
    border: 0;
    border-radius: 8px;
    background: var(--hp-green);
    color: #fff;
    cursor: pointer;
}

@media (max-width: 720px) {
    .hp-widget-band .hp-widget-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- ঘোষণা বার (থিম অপশন) ---------- */
.hp-announce {
    background: var(--hp-announce-bg, #d13030);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.hp-announce-inner {
    padding-top: 8px;
    padding-bottom: 8px;
}

.hp-announce i {
    margin-right: 8px;
}

.hp-announce a {
    text-decoration: underline;
}

/* ---------- ভাসমান ফোন/হোয়াটসঅ্যাপ বোতাম (থিম অপশন) ---------- */
.hp-float {
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-float-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.hp-float-whatsapp {
    background: #25d366;
}

.hp-float-call {
    background: var(--hp-green);
}
