.single-hp_listing .hp-page__topbar,
.single-hp_listing .hp-page__sidebar {
    display: none !important;
}

.single-hp_listing .hp-page__content {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
}

.single-hp_listing .hp-page__columns {
    display: block !important;
}

.emgl-profile-page {
    background: #f6f3ee;
    padding: 40px 16px;
    min-height: 100vh;
}

.emgl-profile-shell {
    max-width: 1240px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 26px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 24px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 310px;
    gap: 28px;
}

.emgl-left-card {
    border: 1px solid #eee4d8;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    align-self: start;
    position: sticky;
    top: 24px;
}

.emgl-photo-box {
    position: relative;
    background: #eef0ef;
}

.emgl-profile-photo {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
}

.emgl-flag-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.emgl-top-verified {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #1fa76a;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 999px;
}

.emgl-card-body {
    padding: 20px;
}

.emgl-profile-name {
    font-size: 24px;
    line-height: 1.15;
    margin: 0 0 6px;
    color: #252525;
}

.emgl-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #20c978;
    color: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 13px;
    vertical-align: middle;
}

.emgl-profile-category {
    color: #373737;
    margin: 0 0 10px;
    font-weight: 600;
}

.emgl-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #c88717;
    margin-bottom: 16px;
    font-size: 14px;
}

.emgl-rating strong {
    color: #252525;
}

.emgl-rating small {
    color: #666666;
}

.emgl-mini-info {
    border-top: 1px solid #f0e9df;
    border-bottom: 1px solid #f0e9df;
    padding: 14px 0;
    margin-bottom: 16px;
}

.emgl-mini-info p {
    margin: 0 0 9px;
    color: #373737;
    font-size: 14px;
}

.emgl-mini-info p:last-child {
    margin-bottom: 0;
}

.emgl-primary-button {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    background: #c77a00;
    color: #ffffff !important;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.emgl-primary-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.emgl-secondary-button {
    width: 100%;
    min-height: 44px;
    background: #ffffff;
    border: 1px solid #eadfce;
    border-radius: 10px;
    margin-top: 10px;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.emgl-main-content {
    min-width: 0;
}

.emgl-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid #eadfce;
    margin-bottom: 24px;
    overflow-x: auto;
}

.emgl-tabs a {
    padding: 14px 0;
    color: #383838;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.emgl-tabs a:hover {
    color: #c77a00;
    border-bottom-color: #c77a00;
}

.emgl-section {
    margin-bottom: 34px;
}

.emgl-section h2 {
    font-size: 20px;
    margin: 0 0 14px;
    color: #242424;
}

.emgl-description {
    color: #333333;
    line-height: 1.7;
    font-size: 15px;
}

.emgl-description p {
    margin-top: 0;
}

.emgl-verified-box {
    margin-top: 22px;
    background: #f8f0e3;
    border: 1px solid #ead7b9;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.emgl-verified-box strong {
    color: #3d2d16;
}

.emgl-verified-box p {
    margin: 3px 0 0;
    color: #6b5b44;
    font-size: 14px;
}

.emgl-shield {
    font-size: 24px;
}

.emgl-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.emgl-bullet-list li {
    position: relative;
    padding-left: 28px;
    color: #333333;
    font-weight: 500;
}

.emgl-bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #b8862b;
    font-weight: 900;
}

.emgl-right-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-self: start;
    position: sticky;
    top: 24px;
}

.emgl-side-box {
    background: #fbfaf8;
    border: 1px solid #eee4d8;
    border-radius: 18px;
    padding: 20px;
}

.emgl-side-box h3 {
    margin: 0 0 16px;
    font-size: 18px;
    color: #242424;
}

.emgl-stat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee4d8;
    padding: 12px 0;
    gap: 12px;
}

.emgl-stat-item:last-child {
    border-bottom: 0;
}

.emgl-stat-item strong {
    font-size: 20px;
    color: #242424;
}

.emgl-stat-item span {
    color: #666666;
    font-size: 14px;
    text-align: right;
}

.emgl-consult-box {
    background: #fff8ec;
}

.emgl-consult-box p {
    color: #5f5549;
    margin-top: 0;
    line-height: 1.5;
}

.emgl-price {
    font-size: 22px;
    font-weight: 800;
    color: #242424;
    margin: 16px 0;
}

.emgl-faq details {
    border: 1px solid #eee4d8;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #ffffff;
}

.emgl-faq summary {
    cursor: pointer;
    font-weight: 700;
    color: #242424;
}

.emgl-faq p {
    color: #555555;
    line-height: 1.6;
}

.emgl-review-placeholder {
    background: #fbfaf8;
    border: 1px solid #eee4d8;
    border-radius: 14px;
    padding: 16px;
}

@media (max-width: 1100px) {
    .emgl-profile-shell {
        grid-template-columns: 280px minmax(0, 1fr);
    }

    .emgl-right-panel {
        grid-column: 1 / -1;
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 780px) {
    .emgl-profile-page {
        padding: 20px 10px;
    }

    .emgl-profile-shell {
        grid-template-columns: 1fr;
        padding: 14px;
        border-radius: 18px;
    }

    .emgl-left-card,
    .emgl-right-panel {
        position: static;
    }

    .emgl-right-panel {
        display: flex;
    }

    .emgl-profile-photo {
        height: 360px;
    }
}


.emgl-advisor-link {
    display: inline-flex;
    margin: 0 0 12px;
    color: #7a5a23;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.emgl-advisor-link:hover {
    color: #c77a00;
}

.emgl-country-badge {
    max-width: 150px;
    width: auto;
    height: auto;
    min-height: 42px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    line-height: 1.15;
}

.emgl-buy-button {
    background: #10243f;
}

.emgl-buy-button:hover {
    background: #0b5cab;
}

.emgl-button-warning {
    background: #9b6a16 !important;
}

.emgl-secondary-link-button {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    background: #ffffff;
    border: 1px solid #eadfce;
    border-radius: 10px;
    margin-top: 10px;
    color: #333333 !important;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.emgl-secondary-link-button:hover {
    background: #fbfaf8;
    transform: translateY(-1px);
}

.emgl-service-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.emgl-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8f0e3;
    border: 1px solid #ead7b9;
    color: #5d4420;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
}

.emgl-advisor-card {
    background: #fbfaf8;
    border: 1px solid #eee4d8;
    border-radius: 16px;
    padding: 20px;
}

.emgl-advisor-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: #242424;
}

.emgl-advisor-card p {
    margin: 0 0 10px;
    color: #444444;
    line-height: 1.55;
}

.emgl-advisor-card p:last-child {
    margin-bottom: 0;
}

.emgl-buy-note {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.45;
    color: #6b5b44;
    text-align: center;
}

.emgl-marketplace-alert {
    margin-top: 22px;
    background: #fff4df;
    border: 1px solid #e8c57e;
    border-radius: 14px;
    padding: 16px;
}

.emgl-marketplace-alert strong {
    display: block;
    color: #6b4300;
    margin-bottom: 4px;
}

.emgl-marketplace-alert p {
    color: #6b5b44;
    margin: 0;
    line-height: 1.55;
}

.emgl-protection-box {
    background: #f7fbff;
    border-color: #dbeaf8;
}

.emgl-side-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.emgl-side-benefits li {
    position: relative;
    padding-left: 25px;
    color: #3d4b5c;
    font-size: 14px;
    line-height: 1.45;
}

.emgl-side-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0b5cab;
    font-weight: 900;
}

@media (max-width: 780px) {
    .emgl-service-pill-row {
        display: grid;
    }

    .emgl-country-badge {
        max-width: 130px;
    }
}



.emgl-stat-item {
    align-items: center;
}

.emgl-stat-item span {
    order: 1;
    text-align: left;
    color: #666666;
    font-size: 15px;
}

.emgl-stat-item strong {
    order: 2;
    text-align: right;
    font-size: 22px;
}


* ================================
   Panel de trámites EmigraLink
================================ */

.emgl-tramites-panel {
    max-width: 1180px;
    margin: 40px auto;
    padding: 0 18px;
}

.emgl-tramites-head {
    background: linear-gradient(135deg, #10243f 0%, #0b5cab 100%);
    color: #ffffff;
    border-radius: 26px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 18px 48px rgba(16, 36, 63, 0.16);
}

.emgl-tramites-head span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.emgl-tramites-head h2 {
    color: #ffffff;
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
}

.emgl-tramites-head p {
    color: rgba(255,255,255,0.84);
    margin: 0;
    line-height: 1.55;
}

.emgl-tramites-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.emgl-tramite-card {
    background: #ffffff;
    border: 1px solid #eee4d8;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 38px rgba(16, 36, 63, 0.08);
}

.emgl-tramite-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.emgl-tramite-card-top strong {
    color: #6b7280;
}

.emgl-tramite-status {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0b5cab;
    font-size: 12px;
    font-weight: 900;
    text-transform: capitalize;
}

.emgl-status-pagado,
.emgl-status-finalizado {
    background: #e9f8ef;
    color: #127a43;
}

.emgl-status-pendiente_pago,
.emgl-status-en_espera {
    background: #fff5de;
    color: #9b6500;
}

.emgl-status-cancelado,
.emgl-status-reembolsado,
.emgl-status-pago_fallido {
    background: #ffecec;
    color: #b3261e;
}

.emgl-tramite-card h3 {
    margin: 0 0 16px;
    color: #10243f;
    font-size: 22px;
    line-height: 1.18;
}

.emgl-tramite-info {
    display: grid;
    gap: 8px;
}

.emgl-tramite-info p {
    margin: 0;
    color: #3d4b5c;
    line-height: 1.45;
}

.emgl-tramite-info strong {
    color: #10243f;
}

.emgl-tramite-info a {
    color: #0b5cab;
    font-weight: 800;
}

.emgl-tramite-notes {
    margin-top: 18px;
    border-top: 1px solid #eee4d8;
    padding-top: 16px;
}

.emgl-tramite-notes strong {
    display: block;
    color: #10243f;
    margin-bottom: 6px;
}

.emgl-tramite-notes p {
    margin: 0;
    color: #4b5563;
    line-height: 1.55;
}

.emgl-tramites-empty {
    background: #ffffff;
    border: 1px solid #eee4d8;
    border-radius: 18px;
    padding: 22px;
    color: #4b5563;
    box-shadow: 0 12px 34px rgba(16, 36, 63, 0.06);
}

@media (max-width: 780px) {
    .emgl-tramites-grid {
        grid-template-columns: 1fr;
    }
}









/* ================================
   Mejoras panel Mis trámites
================================ */

.emgl-tramites-head-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, #10243f 0%, #0b5cab 100%);
    color: #ffffff;
    border-radius: 28px;
    padding: 30px;
    margin-bottom: 26px;
    box-shadow: 0 22px 58px rgba(16, 36, 63, 0.16);
}

.emgl-tramites-head-premium span {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
}

.emgl-tramites-head-premium h2 {
    color: #ffffff;
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.emgl-tramites-head-premium p {
    color: rgba(255, 255, 255, 0.86);
    margin: 0;
    max-width: 680px;
    line-height: 1.55;
}

.emgl-tramites-head-icon {
    width: 76px;
    height: 76px;
    min-width: 76px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.emgl-tramite-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e7edf5;
}

.emgl-tramite-action,
.emgl-tramite-actions a,
.emgl-tramite-actions .emgl-tramite-chat {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border-radius: 13px;
    padding: 11px 14px;
    border: 0;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.1;
    cursor: pointer;
    transition: 0.2s ease;
}

.emgl-tramite-chat,
.emgl-tramite-actions .emgl-tramite-chat {
    background: #10243f !important;
    color: #ffffff !important;
}

.emgl-tramite-chat:hover {
    background: #0b5cab !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.emgl-tramite-call {
    background: #e9f8ef !important;
    color: #127a43 !important;
}

.emgl-tramite-call:hover {
    background: #d7f3e2 !important;
    color: #0f6538 !important;
    transform: translateY(-1px);
}

.emgl-tramite-call::before {
    content: "☎";
    margin-right: 7px;
}

.emgl-tramite-chat::before,
.emgl-tramite-actions .emgl-tramite-chat::before {
    content: "💬";
    margin-right: 7px;
}

@media (max-width: 780px) {
    .emgl-tramites-head-premium {
        align-items: flex-start;
    }

    .emgl-tramites-head-icon {
        display: none;
    }

    .emgl-tramite-actions {
        grid-template-columns: 1fr;
    }
}

/* ================================
   EmigraLink - Ver trámite
================================ */

.emgl-tramite-detail {
    max-width: 1180px;
    margin: 40px auto;
    padding: 0 18px;
}

.emgl-tramite-alert {
    padding: 16px 18px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 800;
}

.emgl-tramite-alert-ok {
    background: #e9f8ef;
    color: #127a43;
    border: 1px solid #bde8ce;
}

.emgl-tramite-alert-error {
    background: #ffecec;
    color: #b3261e;
    border: 1px solid #ffc7c7;
}

.emgl-tramite-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 24px;
    align-items: stretch;
    background: linear-gradient(135deg, #10243f 0%, #0b5cab 100%);
    color: #ffffff;
    border-radius: 30px;
    padding: 34px;
    margin-bottom: 26px;
    box-shadow: 0 24px 60px rgba(16, 36, 63, 0.18);
}

.emgl-tramite-detail-badge {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 14px;
}

.emgl-tramite-detail-hero h1 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.emgl-tramite-detail-hero p {
    margin: 0;
    color: rgba(255,255,255,0.86);
    font-size: 16px;
}

.emgl-tramite-detail-total {
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 22px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.emgl-tramite-detail-total span {
    color: rgba(255,255,255,0.76);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
}

.emgl-tramite-detail-total strong {
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
}

.emgl-tramite-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
    align-items: start;
}

.emgl-detail-box {
    background: #ffffff;
    border: 1px solid #eee4d8;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 14px 38px rgba(16, 36, 63, 0.08);
}

.emgl-detail-box h2 {
    margin: 0 0 18px;
    color: #10243f;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.emgl-detail-info-grid,
.emgl-detail-people-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.emgl-detail-info-grid div,
.emgl-detail-person {
    background: #f8fafc;
    border: 1px solid #e5ebf2;
    border-radius: 16px;
    padding: 15px;
}

.emgl-detail-info-grid span,
.emgl-detail-person span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.04em;
}

.emgl-detail-info-grid strong,
.emgl-detail-person strong {
    color: #10243f;
    font-size: 16px;
    font-weight: 900;
}

.emgl-detail-person p {
    margin: 6px 0 0;
    color: #526173;
}

.emgl-detail-note {
    margin-top: 18px;
    background: #fff8ec;
    border: 1px solid #ead7b9;
    border-radius: 16px;
    padding: 16px;
}

.emgl-detail-note strong {
    display: block;
    color: #10243f;
    margin-bottom: 6px;
}

.emgl-detail-note p {
    margin: 0;
    color: #3d4b5c;
    line-height: 1.6;
}

.emgl-tramite-detail-side {
    position: sticky;
    top: 24px;
}

.emgl-detail-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.emgl-detail-action,
.emgl-detail-contact-actions a,
.emgl-detail-contact-actions .emgl-tramite-chat {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    border: 0 !important;
    border-radius: 16px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none !important;
    cursor: pointer;
    transition: 0.2s ease;
    box-shadow: none !important;
}

.emgl-detail-action:hover {
    transform: translateY(-1px);
}

.emgl-detail-contact-actions .emgl-tramite-chat {
    background: #10243f !important;
    color: #ffffff !important;
}

.emgl-detail-call {
    background: #e9f8ef !important;
    color: #127a43 !important;
}

.emgl-detail-start {
    background: #eef6ff !important;
    color: #0b5cab !important;
}

.emgl-detail-complete {
    background: #e9f8ef !important;
    color: #127a43 !important;
}

.emgl-detail-cancel {
    background: #ffecec !important;
    color: #b3261e !important;
}

.emgl-detail-problem {
    background: #fff5de !important;
    color: #9b6500 !important;
}

.emgl-action-section {
    border-top: 1px solid #eee4d8;
    padding-top: 18px;
    margin-top: 18px;
}

.emgl-action-section h3 {
    margin: 0 0 8px;
    color: #10243f;
    font-size: 19px;
}

.emgl-action-section p {
    margin: 0 0 12px;
    color: #526173;
    font-size: 14px;
    line-height: 1.55;
}

.emgl-action-ok {
    background: #e9f8ef;
    border: 1px solid #bde8ce;
    border-radius: 16px;
    padding: 16px;
}

.emgl-detail-action-form {
    display: grid;
    gap: 12px;
}

.emgl-detail-action-form textarea {
    width: 100%;
    min-height: 96px;
    border: 1px solid #d9e1ec;
    border-radius: 16px;
    padding: 14px 16px;
    color: #10243f;
    font-size: 15px;
    line-height: 1.55;
    outline: none;
    resize: vertical;
    box-shadow: none;
}

.emgl-detail-action-form textarea:focus {
    border-color: #0b5cab;
    box-shadow: 0 0 0 4px rgba(11, 92, 171, 0.12);
}

.emgl-detail-history {
    display: grid;
    gap: 12px;
}

.emgl-detail-history-item {
    background: #f8fafc;
    border: 1px solid #e5ebf2;
    border-radius: 16px;
    padding: 15px;
}

.emgl-detail-history-item strong {
    display: block;
    color: #10243f;
    margin-bottom: 4px;
}

.emgl-detail-history-item span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 6px;
}

.emgl-detail-history-item p {
    margin: 0;
    color: #3d4b5c;
    line-height: 1.5;
}

.emgl-tramite-detail-empty {
    max-width: 900px;
    margin: 40px auto;
    padding: 22px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #eee4d8;
    color: #3d4b5c;
    box-shadow: 0 12px 34px rgba(16, 36, 63, 0.06);
}

@media (max-width: 980px) {
    .emgl-tramite-detail-hero,
    .emgl-tramite-detail-grid {
        grid-template-columns: 1fr;
    }

    .emgl-tramite-detail-side {
        position: static;
    }
}

@media (max-width: 680px) {
    .emgl-detail-info-grid,
    .emgl-detail-people-grid,
    .emgl-detail-contact-actions {
        grid-template-columns: 1fr;
    }

    .emgl-tramite-detail-hero,
    .emgl-detail-box {
        padding: 20px;
        border-radius: 22px;
    }
}