/* ===================================
   UNIT DETAIL PAGE - DORUK THEME
   Inspired by Health Guide (Blog) Design
   =================================== */

.unit-card-main {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(11, 44, 84, 0.05);
}

.unit-main-image {
    margin-bottom: 35px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.unit-main-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px;
}

.unit-title-group {
    margin-bottom: 30px;
}

.unit-category-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.unit-detail-h1 {
    font-size: 40px;
    font-weight: 800;
    color: #0B2C54;
    line-height: 1.2;
    margin-bottom: 0;
}

/* Typography & Content */
.unit-content-body {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.unit-content-body h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0B2C54;
    margin-top: 45px;
    margin-bottom: 20px;
}

.unit-content-body p {
    margin-bottom: 25px;
}

.lead-text {
    font-size: 19px;
    font-weight: 600;
    color: #0B2C54;
    border-left: 5px solid #FF6B35;
    padding-left: 25px;
    margin-bottom: 35px;
    line-height: 1.7;
}

/* Sidebar Widgets */
.unit-sidebar-widget {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    border: 1px solid rgba(11, 44, 84, 0.05);
}

.widget-title-modern {
    font-size: 18px;
    font-weight: 800;
    color: #0B2C54;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FF6B35;
    display: inline-block;
}

.cta-widget-dark {
    background: #0B2C54;
    color: #fff;
    border: none;
}

.cta-widget-dark .widget-title-modern {
    color: #FF6B35;
    border-color: rgba(255,255,255,0.1);
}

.cta-btn-orange {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #FF6B35;
    color: #fff !important;
    padding: 16px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-orange:hover {
    background: #e55a20;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

/* Hospital List */
.hospital-item-widget {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    border: 1px solid transparent;
}

.hospital-item-widget:hover {
    background: #fff;
    border-color: #eef2f6;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(11, 44, 84, 0.05);
}

.hospital-icon-wrap {
    width: 44px;
    height: 44px;
    background: #fff;
    color: #0B2C54;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.hospital-name-text {
    font-size: 14px;
    font-weight: 700;
    color: #0B2C54;
}

.hospital-district {
    font-size: 12px;
    color: #64748b;
    display: block;
}

/* Doctor Cards Modernization */
.unit-doctors-modern {
    padding-top: 60px;
    border-top: 1px solid #eef2f6;
    margin-top: 60px;
}

.dr-card-compact {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    height: 100%;
}

.dr-card-compact:hover {
    border-color: #FF6B35;
    box-shadow: 0 15px 35px rgba(11, 44, 84, 0.08);
}

.dr-img-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid #f8fafc;
    transition: all 0.3s ease;
}

.dr-card-compact:hover .dr-img-circle {
    border-color: #FF6B35;
}

.dr-name-modern {
    font-size: 16px;
    font-weight: 800;
    color: #0B2C54;
    margin-bottom: 5px;
}

.dr-title-modern {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Progress Bar */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 9999;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35, #0B2C54);
    width: 0%;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .unit-card-main { padding: 25px; }
    .unit-detail-h1 { font-size: 30px; }
}
