/* Sección del breadcrumb con fondo de imagen */
.dgr-breadcrumb-section {
    position: relative;
    background: url('../wp-content/uploads/2024/02/control.png') center/cover no-repeat;
    color: #ffffff;
    text-align: left;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-family: 'Poppins', sans-serif;
}

.dgr-breadcrumb-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 25, 49, 0.85);
    z-index: 0;
}

.dgr-breadcrumb-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #ffffff;
}

.dgr-breadcrumb-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
}

.dgr-breadcrumb-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 1.7em;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #eaeaea;
}

.dgr-breadcrumb-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.dgr-breadcrumb-nav a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.dgr-breadcrumb-nav a:hover {
    color: #0078ff;
    transform: translateY(-2px);
}

.dgr-breadcrumb-nav li {
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    transition: box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.dgr-breadcrumb-nav li:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.dgr-breadcrumb-nav .dgr-breadcrumb-separator {
    background: transparent;
    padding: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin: 0 15px;
}

.dgr-breadcrumb-nav .dgr-current-page {
    background: #ffffff;
    color: #444444;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dgr-breadcrumb-nav .dgr-current-page:hover {
    background: #f9f9f9;
    color: #333333;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Sección de Contenido */
.exclusiones-content-section {
    padding: 60px 20px;
    background: #f5f5f5;
}

.exclusiones-container {
    max-width: 1200px;
    margin: 0 auto;
}

.exclusiones-info-box {
    background: linear-gradient(135deg, #D1626D 0%, #a84f59 100%);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(209, 98, 109, 0.3);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.exclusiones-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.exclusiones-info-box h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 800;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.exclusiones-info-box p {
    color: #555;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Tarjetas de información */
.exclusiones-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* Centrar la última tarjeta si queda sola */
.exclusiones-card:nth-child(odd):last-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.exclusiones-card {
    background: white;
    padding: 40px 30px 30px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.exclusiones-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.exclusiones-card-icon {
    font-size: 48px;
    color: #D1626D;
    margin-bottom: 20px;
}

/* Badge de autorización */
.exclusiones-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white !important;
    font-size: 10px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 0 0 8px 0;
    box-shadow: 0 2px 6px rgba(74, 144, 226, 0.3);
    z-index: 10;
    line-height: 1.2;
}

.exclusiones-card h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.exclusiones-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Estilos adicionales para el contenido */
.exclusiones-subtitle {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 15px;
}

.exclusiones-card-content {
    text-align: left;
    margin-top: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.exclusiones-card-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.exclusiones-card-content ul {
    list-style: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.exclusiones-card-content ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.exclusiones-card-content a {
    color: #D1626D;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 13px;
    display: inline-block;
    line-height: 1.4;
}

.exclusiones-card-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Alertas y avisos */
.exclusiones-alert {
    background: #e8f4f8;
    border-left: 4px solid #0078ff;
    padding: 20px 25px;
    border-radius: 8px;
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.exclusiones-alert i {
    color: #0078ff;
    font-size: 24px;
    margin-top: 2px;
}

.exclusiones-alert p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.7;
}

.exclusiones-alert a {
    color: #0056b3;
    text-decoration: none;
    word-break: break-all;
}

.exclusiones-alert a:hover {
    text-decoration: underline;
}

/* Warning box dentro de las tarjetas */
.exclusiones-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-top: 15px;
    margin-bottom: 0;
    border-radius: 4px;
    font-size: 14px;
    color: #856404;
}

.exclusiones-warning + .exclusiones-btn {
    margin-top: 25px;
}

/* Botones de las tarjetas */
.exclusiones-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #D1626D, #a84f59);
    color: white !important;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(209, 98, 109, 0.4);
    border: none;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 220px;
}

.exclusiones-btn:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.5);
    color: white !important;
    text-decoration: none;
}

.exclusiones-btn i {
    font-size: 18px;
}

.exclusiones-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(209, 98, 109, 0.4);
}

/* Responsividad */
@media (max-width: 768px) {
    .dgr-breadcrumb-title {
        font-size: 28px;
    }

    .dgr-breadcrumb-description {
        font-size: 16px;
    }

    .exclusiones-info-box {
        padding: 30px 20px;
    }

    .exclusiones-info-box h2 {
        font-size: 26px;
    }

    .exclusiones-info-box p {
        font-size: 16px;
    }

    .exclusiones-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .exclusiones-card {
        padding: 30px 20px;
    }

    .dgr-breadcrumb-nav ul {
        flex-wrap: wrap;
    }

    .dgr-breadcrumb-nav li {
        font-size: 13px;
        padding: 8px 15px;
    }
}
