.grsd-widget-card {
    background: var(--grsd-bg, #fff);
    color: var(--grsd-text, #2b2b2b);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.grsd-widget-card,
.grsd-widget-card * {
    box-sizing: border-box;
}

.grsd-section {
    padding: 0 14px 14px;
}

.grsd-section + .grsd-section {
    padding-top: 6px;
}

.grsd-section-title {
    margin: 0 -14px 14px;
    padding: 12px 14px;
    background: var(--grsd-title-bg, #0d6a7b);
    color: var(--grsd-title-color, #fff);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0.2px;
}

.grsd-doctor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.grsd-doctor-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.grsd-clickable:hover,
.grsd-clickable:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-color: color-mix(in srgb, var(--grsd-accent, #0d6a7b) 28%, #ffffff 72%);
}

.grsd-doctor-photo-wrap {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #f4f6f7;
    margin-bottom: 10px;
}

.grsd-doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grsd-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grsd-accent, #0d6a7b);
    font-size: 34px;
}

.grsd-photo-placeholder .dashicons {
    width: 34px;
    height: 34px;
    font-size: 34px;
}

.grsd-doctor-name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--grsd-text, #2b2b2b);
}

.grsd-doctor-subtitle {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
    opacity: 0.8;
}

.grsd-contact-list {
    display: grid;
    gap: 10px;
}

.grsd-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 11px 12px;
    background: rgba(255, 255, 255, 0.72);
}

.grsd-contact-item strong,
.grsd-contact-item small {
    display: block;
}

.grsd-contact-item strong {
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1.3;
}

.grsd-contact-item small {
    font-size: 13px;
    line-height: 1.45;
    color: inherit;
    opacity: 0.9;
}

.grsd-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--grsd-accent, #0d6a7b) 12%, #ffffff 88%);
    color: var(--grsd-accent, #0d6a7b);
}

.grsd-icon svg,
.grsd-social-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.grsd-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    justify-content: center;
}

.grsd-social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: color-mix(in srgb, var(--grsd-accent, #0d6a7b) 12%, #ffffff 88%);
    color: var(--grsd-accent, #0d6a7b);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.grsd-social-link:hover,
.grsd-social-link:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.grsd-empty {
    grid-column: 1 / -1;
    padding: 16px;
    text-align: center;
    border-radius: 14px;
    background: rgba(255,255,255,.72);
    border: 1px dashed rgba(0,0,0,.14);
}

.widget .grsd-widget-card,
.elementor-widget-container .grsd-widget-card {
    margin-top: 0;
}

@media (max-width: 480px) {
    .grsd-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .grsd-section-title {
        margin-left: -12px;
        margin-right: -12px;
    }

    .grsd-doctor-grid {
        gap: 10px;
    }

    .grsd-doctor-card {
        padding: 8px;
    }

    .grsd-doctor-name {
        font-size: 15px;
    }
}


/* BUN Haber tema uyumu: üst boşluğu bu widget için kaldır */
.sidebar-widget-area .widget.widget_grsd_doctors_contact_widget {
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
}

.sidebar-widget-area .widget.widget_grsd_doctors_contact_widget .grsd-widget-card {
    margin-top: 0 !important;
}

@media (min-width: 577px) {
    .sidebar-widget-area.grsd-sidebar-first-widget-active {
        margin-top: 0 !important;
    }

    .sidebar-widget-area.grsd-sidebar-first-widget-active > .widget.widget_grsd_doctors_contact_widget:first-child {
        margin-top: 0 !important;
    }
}

@media (max-width: 576px) {
    .sidebar-widget-area .widget.widget_grsd_doctors_contact_widget {
        padding: 0 !important;
    }

    .sidebar-widget-area > .widget.widget_grsd_doctors_contact_widget:first-child {
        margin-top: 0 !important;
    }
}
