/* ==========================================================
   IGLESIA VIRTUAL DE FE
   COMPONENTES GENERALES
   ========================================================== */

.ivf-section-heading {
    max-width: 680px;
    margin: 0 auto 38px;
    text-align: center;
}

.ivf-section-kicker {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--ivf-blue);

    font-size: 0.78rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.13em;
}

.ivf-section-heading h2 {
    margin: 0;

    color: var(--ivf-text);

    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.15;

    font-weight: 800;
    letter-spacing: -0.035em;
}

.ivf-section-heading p {
    max-width: 590px;

    margin: 12px auto 0;

    color: var(--ivf-muted);

    font-size: 1rem;
    line-height: 1.65;
}


/* ==========================================================
   ACCESOS RÁPIDOS
   ========================================================== */

.ivf-quick-access {
    position: relative;
    z-index: 2;

    padding: 68px 0 76px;

    background: var(--ivf-bg-soft);
}

.ivf-access-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.ivf-access-card {
    position: relative;

    min-height: 150px;

    display: grid;

    grid-template-columns:
        58px minmax(0, 1fr) 24px;

    align-items: center;
    gap: 16px;

    padding: 24px 20px;

    overflow: hidden;

    background: var(--ivf-white);

    border: 1px solid var(--ivf-border);
    border-radius: var(--ivf-radius-md);

    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.045);

    transition:
        transform var(--ivf-transition),
        box-shadow var(--ivf-transition),
        border-color var(--ivf-transition);
}

.ivf-access-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 4px;

    background: var(--ivf-blue);

    opacity: 0;

    transition:
        opacity var(--ivf-transition);
}

.ivf-access-card:hover {
    transform: translateY(-4px);

    border-color: rgba(13, 110, 253, 0.28);

    box-shadow:
        0 15px 34px rgba(15, 23, 42, 0.09);
}

.ivf-access-card:hover::before {
    opacity: 1;
}

.ivf-access-card:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.28);
    outline-offset: 3px;
}

.ivf-access-icon {
    width: 58px;
    height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--ivf-blue);

    background:
        linear-gradient(
            145deg,
            #edf5ff,
            #f8fbff
        );

    border-radius: 16px;
}

.ivf-access-icon svg {
    width: 31px;
    height: 31px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ivf-access-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 6px;
}

.ivf-access-copy strong {
    color: var(--ivf-text);

    font-size: 1rem;
    line-height: 1.25;

    font-weight: 800;
}

.ivf-access-copy small {
    color: var(--ivf-muted);

    font-size: 0.85rem;
    line-height: 1.45;
}

.ivf-access-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #94a3b8;

    font-size: 1.35rem;
    font-weight: 500;

    transition:
        color var(--ivf-transition),
        transform var(--ivf-transition);
}

.ivf-access-card:hover .ivf-access-arrow {
    color: var(--ivf-blue);
    transform: translateX(3px);
}


/* ==========================================================
   IVF V1.0.4 YOUTUBE FOUNDATION
   ========================================================== */

.ivf-live-section {
    padding: 82px 0 88px;

    background: var(--ivf-white);
}

.ivf-live-heading {
    margin-bottom: 40px;
}

.ivf-live-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(320px, 0.75fr);

    overflow: hidden;

    background: var(--ivf-white);

    border: 1px solid var(--ivf-border);
    border-radius: var(--ivf-radius-lg);

    box-shadow: var(--ivf-shadow);
}

.ivf-live-media {
    position: relative;

    min-width: 0;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 72% 30%,
            rgba(56, 124, 199, 0.32),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #0d2037 0%,
            #173e67 55%,
            #091725 100%
        );
}

.ivf-live-frame {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}

.ivf-live-badge {
    position: absolute;

    top: 18px;
    left: 18px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 11px;

    color: #fff;

    background: #dc2626;

    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 850;

    letter-spacing: 0.08em;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.20);
}

.ivf-live-dot {
    width: 8px;
    height: 8px;

    background: #fff;

    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.18);
}

.ivf-live-offline {
    position: absolute;

    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 17px;

    color: #fff;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(7, 24, 43, 0.25),
            rgba(7, 24, 43, 0.58)
        );
}

.ivf-live-offline::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.ivf-live-offline::after {
    content: "";

    position: absolute;

    width: 245px;
    height: 245px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
}

.ivf-live-play {
    position: relative;
    z-index: 1;

    width: 78px;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: 5px;

    color: var(--ivf-blue);

    background: #fff;

    border-radius: 50%;

    font-size: 1.55rem;

    box-shadow:
        0 15px 36px rgba(0, 0, 0, 0.24);
}

.ivf-live-offline-label {
    position: relative;
    z-index: 1;

    font-size: 1.05rem;
    font-weight: 750;

    letter-spacing: 0.01em;
}

.ivf-live-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 38px 34px;
}

.ivf-live-status-row {
    margin-bottom: 17px;
}

.ivf-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 6px 10px;

    border-radius: 999px;

    font-size: 0.72rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.ivf-status-pill.is-offline {
    color: #526173;
    background: #eef2f6;
}

.ivf-status-pill.is-live {
    color: #b91c1c;
    background: #fee2e2;
}

.ivf-status-pill.is-live span {
    width: 7px;
    height: 7px;

    background: #dc2626;

    border-radius: 50%;
}

.ivf-live-info h3 {
    margin: 0;

    color: var(--ivf-text);

    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
    line-height: 1.15;

    font-weight: 820;
    letter-spacing: -0.03em;
}

.ivf-live-info > p {
    margin: 15px 0 0;

    color: var(--ivf-muted);

    font-size: 0.95rem;
    line-height: 1.7;
}

.ivf-live-actions {
    margin-top: 25px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.ivf-live-actions .ivf-button {
    font-size: 0.88rem;
}

.ivf-button-disabled {
    opacity: 0.55;

    cursor: default;
    pointer-events: none;
}

.ivf-button-disabled:hover {
    transform: none;
}

.ivf-live-note {
    margin-top: 26px;
    padding-top: 20px;

    display: flex;
    align-items: center;
    gap: 9px;

    color: #7c899a;

    border-top: 1px solid var(--ivf-border);

    font-size: 0.79rem;
    line-height: 1.4;
}

.ivf-live-note > span:first-child {
    color: var(--ivf-blue);

    font-size: 1.1rem;
}


/* ==========================================================
   IVF V1.0.5 PREDICACIONES FOUNDATION
   ========================================================== */

.ivf-sermons-section {
    padding: 82px 0 88px;

    background: var(--ivf-bg-soft);
}

.ivf-sermons-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}

.ivf-sermon-card {
    min-width: 0;

    overflow: hidden;

    background: var(--ivf-white);

    border: 1px solid var(--ivf-border);
    border-radius: var(--ivf-radius-md);

    box-shadow:
        0 8px 26px rgba(15, 23, 42, 0.055);

    transition:
        transform var(--ivf-transition),
        box-shadow var(--ivf-transition);
}

.ivf-sermon-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 34px rgba(15, 23, 42, 0.10);
}

.ivf-sermon-media {
    position: relative;

    display: block;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #10253d;
}

.ivf-sermon-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 300ms ease,
        opacity 300ms ease;
}

.ivf-sermon-card:hover .ivf-sermon-media img {
    transform: scale(1.035);
}

.ivf-sermon-play {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: 4px;

    color: var(--ivf-blue);

    background: rgba(255, 255, 255, 0.95);

    border-radius: 50%;

    transform: translate(-50%, -50%);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.22);

    transition:
        transform var(--ivf-transition);
}

.ivf-sermon-card:hover .ivf-sermon-play {
    transform:
        translate(-50%, -50%)
        scale(1.07);
}

.ivf-sermon-content {
    padding: 22px;
}

.ivf-sermon-meta {
    margin-bottom: 9px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px 14px;

    color: var(--ivf-muted);

    font-size: 0.76rem;
    font-weight: 650;
}

.ivf-sermon-content h3 {
    margin: 0;

    color: var(--ivf-text);

    font-size: 1.08rem;
    line-height: 1.35;

    font-weight: 800;
}

.ivf-sermon-content p {
    margin: 11px 0 0;

    color: var(--ivf-muted);

    font-size: 0.87rem;
    line-height: 1.6;
}

.ivf-sermon-link {
    margin-top: 17px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--ivf-blue);

    font-size: 0.84rem;
    font-weight: 800;
}

.ivf-sermon-link span {
    transition:
        transform var(--ivf-transition);
}

.ivf-sermon-link:hover span {
    transform: translateX(3px);
}

.ivf-sermons-empty {
    max-width: 820px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        120px minmax(0, 1fr);

    align-items: center;

    gap: 28px;

    padding: 34px 38px;

    background: var(--ivf-white);

    border: 1px solid var(--ivf-border);
    border-radius: var(--ivf-radius-lg);

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.055);
}

.ivf-sermons-empty-icon {
    width: 112px;
    height: 112px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--ivf-blue);

    background:
        linear-gradient(
            145deg,
            #eaf4ff,
            #f7fbff
        );

    border-radius: 24px;
}

.ivf-sermons-empty-icon svg {
    width: 55px;
    height: 55px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ivf-sermons-empty-copy h3 {
    margin: 13px 0 0;

    color: var(--ivf-text);

    font-size: clamp(1.25rem, 2.3vw, 1.7rem);
    line-height: 1.25;

    font-weight: 800;
    letter-spacing: -0.025em;
}

.ivf-sermons-empty-copy p {
    margin: 10px 0 0;

    color: var(--ivf-muted);

    font-size: 0.94rem;
    line-height: 1.65;
}

.ivf-sermons-footer {
    margin-top: 32px;

    display: flex;
    justify-content: center;
}


/* ==========================================================
   IVF V1.0.6 RADIO FOUNDATION
   ========================================================== */

.ivf-radio-section {
    padding: 86px 0;

    background: var(--ivf-white);
}

.ivf-radio-shell {
    display: grid;

    grid-template-columns:
        minmax(300px, 0.85fr)
        minmax(0, 1.15fr);

    min-height: 420px;

    overflow: hidden;

    background: var(--ivf-white);

    border: 1px solid var(--ivf-border);
    border-radius: var(--ivf-radius-lg);

    box-shadow: var(--ivf-shadow);
}

.ivf-radio-visual {
    position: relative;

    min-height: 420px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: #fff;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(64, 143, 226, 0.55),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #081a2d 0%,
            #103d68 58%,
            #081725 100%
        );
}

.ivf-radio-rings {
    position: absolute;
    inset: 0;
}

.ivf-radio-rings span {
    position: absolute;

    left: 50%;
    top: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.09);

    border-radius: 50%;

    transform:
        translate(-50%, -50%);
}

.ivf-radio-rings span:nth-child(1) {
    width: 220px;
    height: 220px;
}

.ivf-radio-rings span:nth-child(2) {
    width: 330px;
    height: 330px;
}

.ivf-radio-rings span:nth-child(3) {
    width: 460px;
    height: 460px;
}

.ivf-radio-logo {
    position: relative;
    z-index: 2;

    width: 120px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    background:
        rgba(255, 255, 255, 0.11);

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 50%;

    backdrop-filter: blur(8px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.20);
}

.ivf-radio-logo svg {
    width: 64px;
    height: 64px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ivf-radio-visual-label {
    position: relative;
    z-index: 2;

    margin-top: 22px;

    font-size: 0.8rem;
    font-weight: 750;

    text-transform: uppercase;
    letter-spacing: 0.13em;

    opacity: 0.85;
}

.ivf-radio-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 48px;
}

.ivf-radio-title-row {
    margin-top: 4px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 13px;
}

.ivf-radio-title-row h2 {
    margin: 0;

    color: var(--ivf-text);

    font-size:
        clamp(1.9rem, 3vw, 2.65rem);

    line-height: 1.12;

    font-weight: 820;
    letter-spacing: -0.04em;
}

.ivf-radio-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 6px 10px;

    color: #b91c1c;
    background: #fee2e2;

    border-radius: 999px;

    font-size: 0.7rem;
    font-weight: 850;

    letter-spacing: 0.08em;
}

.ivf-radio-live-pill span {
    width: 7px;
    height: 7px;

    background: #dc2626;

    border-radius: 50%;
}

.ivf-radio-description {
    max-width: 610px;

    margin: 17px 0 0;

    color: var(--ivf-muted);

    font-size: 0.98rem;
    line-height: 1.7;
}

.ivf-radio-player {
    margin-top: 27px;

    display: grid;

    grid-template-columns:
        58px minmax(0, 1fr) auto;

    align-items: center;

    gap: 15px;

    padding: 14px 17px;

    background: var(--ivf-bg-soft);

    border: 1px solid var(--ivf-border);
    border-radius: 16px;
}

.ivf-radio-play {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 0 0 3px;

    color: #fff;
    background: var(--ivf-blue);

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    font-size: 1rem;

    box-shadow:
        0 8px 20px rgba(13, 110, 253, 0.25);
}

.ivf-radio-player-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.ivf-radio-player-copy strong {
    color: var(--ivf-text);

    font-size: 0.92rem;
}

.ivf-radio-player-copy small {
    color: var(--ivf-muted);

    font-size: 0.76rem;
}

.ivf-radio-bars {
    height: 30px;

    display: flex;
    align-items: center;

    gap: 3px;
}

.ivf-radio-bars span {
    width: 3px;
    height: 8px;

    background: #a9b7c7;

    border-radius: 999px;
}

.ivf-radio-player.is-playing
.ivf-radio-bars span:nth-child(1) {
    height: 14px;
}

.ivf-radio-player.is-playing
.ivf-radio-bars span:nth-child(2) {
    height: 25px;
}

.ivf-radio-player.is-playing
.ivf-radio-bars span:nth-child(3) {
    height: 18px;
}

.ivf-radio-player.is-playing
.ivf-radio-bars span:nth-child(4) {
    height: 28px;
}

.ivf-radio-player.is-playing
.ivf-radio-bars span:nth-child(5) {
    height: 12px;
}

.ivf-radio-offline {
    margin-top: 27px;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 17px;

    background: var(--ivf-bg-soft);

    border: 1px solid var(--ivf-border);
    border-radius: 16px;
}

.ivf-radio-offline-icon {
    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--ivf-blue);

    background: #eaf4ff;

    border-radius: 14px;

    font-size: 1.45rem;
}

.ivf-radio-offline > div:last-child {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.ivf-radio-offline strong {
    color: var(--ivf-text);

    font-size: 0.88rem;
}

.ivf-radio-offline span {
    color: var(--ivf-muted);

    font-size: 0.78rem;
}

.ivf-radio-actions {
    margin-top: 24px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


/* ==========================================================
   IVF V1.0.7 DONATIONS FOUNDATION
   ========================================================== */

.ivf-donations-section {
    position: relative;

    padding: 88px 0;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #071a2d 0%,
            #0d3459 58%,
            #081725 100%
        );
}

.ivf-donations-section::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    left: -220px;
    top: -250px;

    background:
        radial-gradient(
            circle,
            rgba(45, 129, 218, 0.22),
            transparent 68%
        );

    pointer-events: none;
}

.ivf-donations-intro {
    position: relative;
    z-index: 1;

    max-width: 720px;

    margin: 0 auto 42px;

    text-align: center;
}

.ivf-donations-intro
.ivf-section-kicker {
    color: #79b8ff;
}

.ivf-donations-intro h2 {
    margin: 0;

    color: #fff;

    font-size:
        clamp(2rem, 3.5vw, 2.8rem);

    line-height: 1.12;

    font-weight: 820;
    letter-spacing: -0.04em;
}

.ivf-donations-intro p {
    max-width: 640px;

    margin: 15px auto 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.98rem;
    line-height: 1.7;
}

.ivf-donation-grid {
    position: relative;
    z-index: 1;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;
}

.ivf-donation-method {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 19px;

    padding: 24px;

    background:
        rgba(255, 255, 255, 0.075);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 18px;

    backdrop-filter: blur(7px);

    transition:
        transform var(--ivf-transition),
        background var(--ivf-transition),
        border-color var(--ivf-transition);
}

.ivf-donation-method:hover {
    transform: translateY(-4px);

    background:
        rgba(255, 255, 255, 0.105);

    border-color:
        rgba(255, 255, 255, 0.20);
}

.ivf-donation-icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8fc5ff;

    background:
        rgba(255, 255, 255, 0.09);

    border:
        1px solid
        rgba(255, 255, 255, 0.11);

    border-radius: 16px;
}

.ivf-donation-icon svg {
    width: 31px;
    height: 31px;

    fill: none;
    stroke: currentColor;

    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ivf-donation-method-copy {
    min-width: 0;
}

.ivf-donation-name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;
}

.ivf-donation-name-row h3 {
    margin: 0;

    color: #fff;

    font-size: 1.08rem;
    font-weight: 800;
}

.ivf-donation-method
.ivf-status-pill.is-offline {
    color: rgba(255, 255, 255, 0.70);

    background:
        rgba(255, 255, 255, 0.09);
}

.ivf-donation-ready {
    padding: 5px 8px;

    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.15);

    border-radius: 999px;

    font-size: 0.66rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ivf-donation-method-copy > p {
    margin: 8px 0 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.82rem;
    line-height: 1.5;
}

.ivf-donation-pending {
    margin-top: 18px;

    display: inline-block;

    color: rgba(255, 255, 255, 0.45);

    font-size: 0.75rem;
    font-weight: 650;
}

.ivf-donation-link {
    margin-top: 17px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #9dccff;

    font-size: 0.82rem;
    font-weight: 800;
}

.ivf-donation-link span {
    transition:
        transform var(--ivf-transition);
}

.ivf-donation-link:hover span {
    transform: translateX(3px);
}

.ivf-zelle-details {
    margin-top: 16px;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.ivf-zelle-details span,
.ivf-zelle-details small {
    color: rgba(255, 255, 255, 0.55);

    font-size: 0.72rem;
}

.ivf-zelle-details strong {
    color: #fff;

    font-size: 0.87rem;

    overflow-wrap: anywhere;
}

.ivf-donation-message {
    position: relative;
    z-index: 1;

    max-width: 760px;

    margin: 34px auto 0;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 18px 22px;

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid
        rgba(255, 255, 255, 0.10);

    border-radius: 16px;
}

.ivf-donation-heart {
    flex: 0 0 auto;

    color: #8fc5ff;

    font-size: 2rem;
}

.ivf-donation-message strong {
    color: #fff;

    font-size: 0.9rem;
}

.ivf-donation-message p {
    margin: 3px 0 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.78rem;
    line-height: 1.5;
}


/* ==========================================================
   IVF.V1.0.11H.2 — INLINE PREDICACION PLAYER
   ========================================================== */

.ivf-sermon-media[data-player-active="1"] {
    cursor: default;
}

.ivf-sermon-media[data-player-active="1"]:hover {
    transform: none;
}

.ivf-sermon-iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;

    background: #000;
}

.ivf-sermon-actions {
    margin-top: 17px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px 18px;
}

.ivf-sermon-actions .ivf-sermon-link {
    margin-top: 0;
}

.ivf-sermon-youtube-link {
    display: inline-flex;
    align-items: center;

    gap: 6px;

    color: var(--ivf-muted);

    font-size: 0.78rem;
    font-weight: 700;
}

.ivf-sermon-youtube-link:hover {
    color: var(--ivf-blue);
}


/* ==========================================================
   IVF.V1.0.11I.2 — OFFLINE SONAR PULSE
   ========================================================== */

/*
 * Los dos anillos ya forman parte del estado offline.
 * Aquí solamente les damos movimiento.
 *
 * Cuando existe una transmisión real, .ivf-live-offline
 * no se renderiza y estas animaciones desaparecen
 * automáticamente.
 */

.ivf-live-card.is-offline .ivf-live-offline::before {
    animation:
        ivf-live-sonar-outer 3.4s ease-out infinite;

    will-change:
        transform,
        opacity;
}

.ivf-live-card.is-offline .ivf-live-offline::after {
    animation:
        ivf-live-sonar-inner 3.4s ease-out 1.05s infinite;

    will-change:
        transform,
        opacity;
}

.ivf-live-card.is-offline .ivf-live-play {
    animation:
        ivf-live-play-breathe 3.4s ease-in-out infinite;

    will-change:
        transform,
        box-shadow;
}

@keyframes ivf-live-sonar-outer {
    0% {
        transform: scale(0.78);
        opacity: 0;
        border-color:
            rgba(96, 165, 250, 0.34);
    }

    18% {
        opacity: 0.75;
    }

    72% {
        opacity: 0.18;
    }

    100% {
        transform: scale(1.18);
        opacity: 0;
        border-color:
            rgba(96, 165, 250, 0.06);
    }
}

@keyframes ivf-live-sonar-inner {
    0% {
        transform: scale(0.72);
        opacity: 0;
        border-color:
            rgba(147, 197, 253, 0.42);
    }

    20% {
        opacity: 0.85;
    }

    72% {
        opacity: 0.20;
    }

    100% {
        transform: scale(1.28);
        opacity: 0;
        border-color:
            rgba(147, 197, 253, 0.06);
    }
}

@keyframes ivf-live-play-breathe {
    0%,
    100% {
        transform: scale(1);

        box-shadow:
            0 15px 36px rgba(0, 0, 0, 0.24),
            0 0 0 0 rgba(59, 130, 246, 0);
    }

    50% {
        transform: scale(1.045);

        box-shadow:
            0 15px 36px rgba(0, 0, 0, 0.24),
            0 0 0 10px rgba(59, 130, 246, 0.08);
    }
}

/*
 * Accesibilidad:
 * si el visitante solicita movimiento reducido,
 * conservamos los círculos pero sin animación.
 */

@media (prefers-reduced-motion: reduce) {
    .ivf-live-card.is-offline .ivf-live-offline::before,
    .ivf-live-card.is-offline .ivf-live-offline::after,
    .ivf-live-card.is-offline .ivf-live-play {
        animation: none !important;
    }
}


/* ==========================================================
   IVF.V1.0.12D — DYNAMIC ALBUM ART + NOW PLAYING
   ========================================================== */

.ivf-radio-visual {
    isolation: isolate;
}

.ivf-radio-artwork {
    position: relative;
    z-index: 3;

    width: min(250px, 58%);
    aspect-ratio: 1 / 1;

    margin: 0 auto 18px;

    border-radius: 20px;
    overflow: hidden;

    background: rgba(255,255,255,.08);

    box-shadow:
        0 18px 42px rgba(0,0,0,.28),
        0 0 0 1px rgba(255,255,255,.12);
}

.ivf-radio-artwork[hidden],
.ivf-radio-nowplaying-copy[hidden] {
    display: none !important;
}

.ivf-radio-artwork img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.ivf-radio-nowplaying-copy {
    position: relative;
    z-index: 4;

    width: min(330px, 82%);

    margin: 0 auto;

    text-align: center;
}

.ivf-radio-nowplaying-kicker {
    display: block;

    margin-bottom: 7px;

    color: #93c5fd;

    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.ivf-radio-nowplaying-title {
    display: block;

    color: #fff;

    font-size: clamp(
        1rem,
        1.7vw,
        1.28rem
    );

    line-height: 1.2;
}

.ivf-radio-nowplaying-artist {
    display: block;

    margin-top: 5px;

    color: rgba(255,255,255,.72);

    font-size: .86rem;
    line-height: 1.3;
}

/*
 * Cuando tenemos portada, ocultamos el icono
 * central original para que no compita con ella.
 */

.ivf-radio-visual.has-artwork
.ivf-radio-icon {
    display: none;
}

/*
 * Conservamos el tagline institucional.
 */

.ivf-radio-visual.has-nowplaying
.ivf-radio-visual-label {
    margin-top: 17px;
}

@media (max-width: 640px) {
    .ivf-radio-artwork {
        width: min(220px, 62%);
        margin-bottom: 15px;
        border-radius: 18px;
    }

    .ivf-radio-nowplaying-copy {
        width: min(300px, 84%);
    }

    .ivf-radio-nowplaying-title {
        font-size: 1rem;
    }

    .ivf-radio-nowplaying-artist {
        font-size: .8rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .ivf-radio-artwork {
        animation:
            ivf-radio-artwork-enter
            .45s ease both;
    }

    @keyframes ivf-radio-artwork-enter {
        from {
            opacity: 0;
            transform:
                translateY(5px)
                scale(.98);
        }

        to {
            opacity: 1;
            transform:
                translateY(0)
                scale(1);
        }
    }
}


/* ==========================================================
   IVF_SOCIAL_WIDGET_13B
   Floating social widget
   ========================================================== */

.ivf-social-widget {
    position: fixed;
    right: 0;
    top: 52%;
    z-index: 96;

    display: flex;
    align-items: center;

    transform: translateY(-50%);
}

.ivf-social-toggle {
    min-width: 54px;
    min-height: 122px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 9px;
    padding: 15px 10px;

    color: #fff;
    background:
        linear-gradient(
            180deg,
            #0d6efd 0%,
            #0758cf 100%
        );

    border: 0;
    border-radius: 18px 0 0 18px;

    cursor: pointer;

    box-shadow:
        -8px 8px 28px rgba(15, 23, 42, 0.18);

    transition:
        transform 180ms ease,
        background 180ms ease;
}

.ivf-social-toggle:hover {
    background:
        linear-gradient(
            180deg,
            #1976ff 0%,
            #064faf 100%
        );
}

.ivf-social-toggle:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.25);
    outline-offset: 3px;
}

.ivf-social-toggle svg {
    width: 24px;
    height: 24px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ivf-social-toggle-close {
    display: none;
}

.ivf-social-widget.is-open
.ivf-social-toggle-share {
    display: none;
}

.ivf-social-widget.is-open
.ivf-social-toggle-close {
    display: block;
}

.ivf-social-toggle-text {
    font-size: 0.70rem;
    line-height: 1;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.ivf-social-panel {
    width: 220px;

    margin-right: 10px;
    padding: 16px;

    background: rgba(255, 255, 255, 0.98);

    border: 1px solid var(--ivf-border);
    border-radius: 18px;

    box-shadow:
        0 18px 48px rgba(15, 23, 42, 0.18);
}

.ivf-social-panel[hidden] {
    display: none !important;
}

.ivf-social-panel-head {
    margin-bottom: 13px;
}

.ivf-social-panel-head strong {
    display: block;

    color: var(--ivf-text);

    font-size: 0.96rem;
    font-weight: 850;
}

.ivf-social-panel-head span {
    display: block;

    margin-top: 3px;

    color: var(--ivf-muted);

    font-size: 0.73rem;
    line-height: 1.4;
}

.ivf-social-links {
    display: grid;
    gap: 8px;
}

.ivf-social-link {
    min-height: 48px;

    display: flex;
    align-items: center;

    gap: 11px;
    padding: 8px 11px;

    color: var(--ivf-text);
    background: #f8fafc;

    border: 1px solid #e8edf4;
    border-radius: 13px;

    font-size: 0.82rem;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
}

.ivf-social-link:hover {
    transform: translateX(-2px);

    background: #fff;
    border-color: rgba(13, 110, 253, 0.22);
}

.ivf-social-icon {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;
}

.ivf-social-icon svg {
    width: 20px;
    height: 20px;
}

.ivf-social-youtube
.ivf-social-icon {
    color: #fff;
    background: #ff0033;
}

.ivf-social-youtube
.ivf-social-icon svg {
    fill: currentColor;
}

.ivf-social-youtube
.ivf-social-icon-cut {
    fill: #ff0033;
}

.ivf-social-instagram
.ivf-social-icon {
    color: #fff;

    background:
        linear-gradient(
            145deg,
            #833ab4,
            #fd1d1d 58%,
            #fcb045
        );
}

.ivf-social-instagram
.ivf-social-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.ivf-social-instagram
.ivf-social-icon-dot {
    fill: currentColor;
    stroke: none;
}

.ivf-social-whatsapp
.ivf-social-icon {
    color: #fff;
    background: #20bd5a;
}

.ivf-social-whatsapp
.ivf-social-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.ivf-social-whatsapp
.ivf-social-icon-line {
    stroke-width: 1.45;
}


/* ==========================================================
   IVF_SERMON_CAROUSEL_13B
   Controls hidden by default / desktop unchanged
   ========================================================== */

.ivf-sermons-carousel-controls {
    display: none;
}

