@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@250;400;600;700&display=swap');

.ofertas-list-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

.oferta-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 32px 40px;
    margin-bottom: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border: none;
    transition: transform 0.2s ease;

    /* Flex layout for two columns */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Vertically center the right column (button) */
    gap: 0;
    /* Gap handled by padding in columns */
}

.oferta-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.oferta-content-left {
    flex: 0 0 80%;
    max-width: 80%;
    padding-right: 15px;
    box-sizing: border-box;
}

.oferta-content-right {
    flex: 0 0 20%;
    max-width: 20%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 15px;
    box-sizing: border-box;
}

.oferta-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0;
}

.oferta-title a {
    color: #173B68;
    text-decoration: underline;
}

.oferta-title a:hover {
    color: #002244;
}

.oferta-meta {
    display: grid;
    grid-template-columns: 400px 400px;
    gap: 8px 32px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #555;
}

.meta-row {
    display: flex;
    align-items: baseline;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #173B68;
}

.meta-label {
    margin-right: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.meta-value {
    font-weight: 700;
}

.oferta-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #173B68;
}

.btn-ver-oferta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #173B68;
    text-decoration: underline;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.btn-ver-oferta .icon-eye svg {
    fill: #A05B2C;
}

.btn-ver-oferta:hover {
    color: #002244;
}

.btn-ver-oferta .icon-eye {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ofertas-load-more {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background-color: #d65a83;
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-load-more:hover {
    background-color: #be4d73;
}

@media (max-width: 900px) {

    /* Breakpoint for stacking */
    .oferta-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;

    }

    .oferta-content-left,
    .oferta-content-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }

    .oferta-content-right {
        width: 100%;
        justify-content: center;
        /* Center button on mobile and tablet */
    }

    .oferta-meta {
        grid-template-columns: 1fr;
    }

    .oferta-title {
        font-size: 22px;
    }
}

/* Intro Section Styles */
.ofertas-intro-section {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 100px;
    font-family: 'Montserrat', sans-serif;
}

.ofertas-intro-section::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #C6637B;
    margin: 100px auto 0;
}

.intro-content-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
}

.intro-text-column {
    flex: 1;
}

.intro-image-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.intro-title {
    font-size: 40px;
    font-weight: 250;
    color: #555;
    margin-bottom: 10px;
    line-height: 100%;
    letter-spacing: -0.02em;
}

.intro-title strong {
    font-weight: 600;
    color: #d65a83;
}

.intro-subtitle {
    font-size: 24px;
    font-weight: 300;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-description {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.5;
    position: relative;
}

.intro-description-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    transition: max-height 0.3s ease;
}

.intro-description-text.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.intro-read-more {
    background: none;
    border: none;
    color: #d65a83;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    margin-top: 5px;
    font-size: 14px;
    text-decoration: underline;
}

.intro-read-more:hover {
    color: white;
    background: none;
    text-decoration: underline;
    border: none;
}

.intro-read-more:focus {
    color: #d65a83;
    border: none;
    background: none;
    text-decoration: underline;
    outline: none;
}

.intro-cta-button {
    display: inline-block;
    background-color: #d65a83;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.intro-cta-button:hover {
    background-color: #be4d73;
    color: white;
}

@media (max-width: 900px) {

    .intro-content-wrapper {
        flex-direction: column-reverse;
        text-align: center;
    }

    .intro-text-column {
        width: 100%;
    }

    .intro-image-column {
        width: 100%;
        margin-bottom: 20px;
    }

    .oferta-content-right {
        width: 100%;
        justify-content: center
    }
}