main {
    align-items: start;
    gap: 20px;
}

.oma-content-yt {
    display: flex;
    gap: 20px;
    align-items: center;
    align-self: center;
    width: 100%;
    justify-content: center;
    position: relative;
}

.custom-yt-wrapper {
    position: relative;
    width: auto;
    aspect-ratio: 16 / 9;
    background-color: #000;
    overflow: hidden;
    height: 60vh;
    align-self: center;
    max-width: 100%;
    max-height: 50vh;
}

.custom-yt-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.custom-yt-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.custom-yt-play-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s ease;
}

.custom-yt-play-btn svg {
    margin-left: 4px;
}

.custom-yt-placeholder:hover .custom-yt-play-btn {
    transform: scale(1.1);
    background: #ffffff;
    color: var(--oma-accent);
}

.oma-course-navigation {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;
    border-top: 1px solid #eaeaea; 
    box-shadow: 0px 0px 7px #e9e9e9;
}

.oma-progress-module {
    margin-bottom: 40px;
}
.oma-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}
.oma-progress-cheer {
    font-weight: 600;
    color: #111111;
}
.oma-progress-stats {
    color: #888888;
}
.oma-progress-bar-bg {
    height: 3px; /* Muy fina */
    background: #f0f0f0;
    border-radius: 10px; /* Sin bordes redondeados */
    overflow: hidden;
}
.oma-progress-bar-fill {
    height: 100%;
    width: 0; 
    background: var(--oma-accent);
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.oma-up-next-wrapper {
    margin-bottom: 40px;
}
.oma-up-next-label {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666666;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.oma-up-next-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eaeaea;
}

.oma-next-card {
    display: flex;
    background: #ffffff;
    border: 1px solid #eaeaea;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.oma-next-card:hover {
    border-color: #111111;
}

.oma-next-card-thumb {
    width: 280px;
    max-width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    border-right: 1px solid #eaeaea;
}

.oma-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
}

.oma-badge-type, .oma-badge-duration {
    background: #111111b0;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 25px;
}

.oma-next-card-info {
    padding: 24px 12px 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.481) 50%, rgb(0 0 0 / 70%) 100%);
}

.oma-next-card-info h4 {
    font-size: 1.4rem;
    font-weight: 400;
}

.oma-next-card-info p {
    font-size: 0.95rem;
}

.oma-btn-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111111;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}
.oma-next-card:hover .oma-btn-play {
    color: #a68c35;
}

.oma-course-completed {
    text-align: center;
    padding: 3rem;
    background: #fafafa;
    border: 1px solid #eaeaea;
    margin-bottom: 3rem;
}
.oma-course-completed h3 {
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.oma-back-to-program {
    text-align: center;
    padding-bottom: 40px;
}
.oma-btn-elegant {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2.5rem;
    background: transparent;
    border: 1px solid #111111;
    color: #111111;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.oma-btn-elegant:hover {
    background: var(--oma-accent);
    border-color: var(--oma-accent);
    color: #111111;
}

@media (max-width: 640px) {
    .oma-course-navigation {
        padding: 20px;
    }
    .oma-next-card {
        flex-direction: column;
    }
    .oma-next-card-thumb {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }
    .oma-next-card-info {
        padding: 1.5rem;
    }

    .custom-yt-wrapper {
        border-radius: 0;
        width: 100%;
        height: 100%;
    }
}

.oma-audio-section {
    padding: 120px 20px;
    position: relative;
    background-size: cover;
    background-position: center;
}
.oma-audio-whatsapp-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.oma-audio-whatsapp-container {
    background-color: #ffffff;
    border-radius: 50px;
    padding: 10px 24px 10px 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    gap: 16px;
}

/* Botón Play/Pause */
.oma-audio-play-pause {
    background-color: #ffe17e;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #000000;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.oma-audio-play-pause:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 225, 126, 0.4);
}

/* Línea de tiempo */
.oma-audio-timeline {
    flex-grow: 1;
    position: relative;
    height: 6px;
    background: #e8e8e8;
    border-radius: 4px;
    display: flex;
    align-items: center;
}
.oma-audio-slider {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    position: absolute;
    z-index: 2;
    cursor: pointer;
    height: 200%;
    margin: 0;
}
/* Bolita del Slider */
.oma-audio-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: #000000;
    cursor: pointer;
    transition: transform 0.1s ease;
}
.oma-audio-slider::-webkit-slider-thumb:active {
    transform: scale(1.3);
}
.oma-audio-slider::-moz-range-thumb {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: #000000;
    cursor: pointer;
    border: none;
}

.oma-audio-slider-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #000000;
    border-radius: 4px;
    z-index: 1;
    pointer-events: none;
}

.oma-audio-time {
    font-size: 13px;
    color: #000000;
    font-weight: 600;
    flex-shrink: 0;
    min-width: 80px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.rank-math-breadcrumb {
    padding-bottom: 20px;
}

.oma-pdf-card {
    display: flex;
    align-items: center;
    position: relative;
}

.oma-pdf-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.oma-content-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.oma-content-center {
    align-self: center;
}

.oma-content-content > * {
    flex: 1 1 0;
}

.oma-content-content > a {
    flex: 0 0 35px;
}

.oma-pdf-info-img > img {
    max-width: 300px;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.oma-pdf-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 0;
    width: 100%;
    max-width: 300px;
}

.oma-pdf-actions > a {
    background-color: hsla(0, 0%, 100%, 0.66);
    border: 1px solid var(--bricks-color-grey-900);
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 303px;
    flex: 1;
}

.oma-pdf-actions > a > svg {
    height: 20px;
}

.oma-fixed-btn-container {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
    width: auto;
    max-width: 90%;
}

.oma-fixed-btn-container.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.oma-pdf-section {
    position: relative;
}

.oma-pdf-locked {
    position: absolute;
    bottom: 0px;
    left: 50%;
    background: #eaeaeae5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #000000;
    padding: 20px;
    text-align: center;
    width: calc(100% - 110px);
    transform: translateX(-50%);
}

.oma-locked-overlay {
    position: absolute;
    background: rgb(255 255 255 / 76%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000000;
    bottom: 0;
    padding: 10px 20px;
    border-radius: 20px 20px 0 0;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 667px) {
  .oma-three-columns {
    grid-template-columns: 6fr 1fr 3fr;
  }
}


.oma-ebook-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
}

@media (min-width: 1100px) {
    .oma-ebook-container {
        flex-direction: row;
    }
}

@media (max-width: 1100px) {
    .oma-pdf-locked {
        width: 100%;
    }
}
