.quick-info-section {
    position: relative;
    overflow: visible;
    padding-bottom: 4.6rem;
    background:
        linear-gradient(
            180deg,
            #3730a3 0%,
            #3730a3 66%,
            rgba(55, 48, 163, 0.96) 74%,
            rgba(55, 48, 163, 0.86) 82%,
            rgba(55, 48, 163, 0.68) 89%,
            rgba(55, 48, 163, 0.42) 95%,
            rgba(55, 48, 163, 0.08) 100%
        );
    z-index: 1;
}

.quick-info-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -7.2rem;
    height: 10rem;
    pointer-events: none;
    z-index: 0;
    background:
        linear-gradient(
            180deg,
            rgba(55, 48, 163, 0.34) 0%,
            rgba(55, 48, 163, 0.21) 28%,
            rgba(55, 48, 163, 0.11) 52%,
            rgba(55, 48, 163, 0.04) 76%,
            rgba(255, 255, 255, 0) 100%
        );
    filter: blur(14px);
}

.quick-info-section .container {
    position: relative;
    z-index: 2;
}

.home-highlights-section {
    position: relative;
    z-index: 7;
    margin-top: -3.3rem;
    padding: 0 0 2.9rem;
    isolation: isolate;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.36) 26%,
            rgba(255, 255, 255, 0.76) 52%,
            #ffffff 82%,
            #ffffff 100%
        );
}

.home-highlights-section::before {
    content: "";
    position: absolute;
    top: -0.45rem;
    left: 0;
    right: 0;
    height: 13.5rem;
    z-index: 0;
    background:
        linear-gradient(
            180deg,
            rgba(55, 48, 163, 0.46) 0%,
            rgba(55, 48, 163, 0.34) 22%,
            rgba(55, 48, 163, 0.20) 43%,
            rgba(55, 48, 163, 0.10) 61%,
            rgba(55, 48, 163, 0.035) 78%,
            rgba(255, 255, 255, 0) 100%
        );
    filter: blur(10px);
    pointer-events: none;
}

.home-highlights-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.home-highlight-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(128px, 30%) 16px minmax(0, 1fr) 16px minmax(84px, 105px);
    gap: 0;
    align-items: stretch;
    height: clamp(160px, 12vw, 176px);
    min-height: 171px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow:
        0 24px 28px rgba(37, 34, 29, 0.20),
        0 10px 12px rgba(37, 34, 29, 0.13),
        0 2px 4px rgba(37, 34, 29, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    overflow: visible;
    isolation: isolate;
    --home-ticket-paper: linear-gradient(105deg, rgba(255, 255, 255, 0.995) 0%, rgba(255, 255, 255, 0.99) 56%, rgba(250, 248, 244, 0.995) 100%);
    --home-perforation-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 171' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cmask id='m' maskUnits='userSpaceOnUse'%3E%3Crect width='16' height='171' fill='white'/%3E%3Ccircle cx='8' cy='0' r='8.7' fill='black'/%3E%3Ccircle cx='8' cy='171' r='8.7' fill='black'/%3E%3Ccircle cx='8' cy='19' r='2.45' fill='black'/%3E%3Ccircle cx='8' cy='32' r='2.45' fill='black'/%3E%3Ccircle cx='8' cy='45' r='2.45' fill='black'/%3E%3Ccircle cx='8' cy='58' r='2.45' fill='black'/%3E%3Ccircle cx='8' cy='71' r='2.45' fill='black'/%3E%3Ccircle cx='8' cy='84' r='2.45' fill='black'/%3E%3Ccircle cx='8' cy='97' r='2.45' fill='black'/%3E%3Ccircle cx='8' cy='110' r='2.45' fill='black'/%3E%3Ccircle cx='8' cy='123' r='2.45' fill='black'/%3E%3Ccircle cx='8' cy='136' r='2.45' fill='black'/%3E%3Ccircle cx='8' cy='149' r='2.45' fill='black'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='16' height='171' fill='black' mask='url(%23m)'/%3E%3C/svg%3E");
    --home-ticket-hole-a: 31.4%;
    --home-ticket-hole-b: calc(100% - 113px);
}

.home-highlight-card::before {
    content: "";
    position: absolute;
    inset: -14px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.86;
    filter: blur(5px);
    background:
        radial-gradient(14px 14px at var(--home-ticket-hole-a) 14px, rgba(37, 34, 29, 0.22), transparent 72%),
        radial-gradient(14px 14px at var(--home-ticket-hole-a) calc(100% - 14px), rgba(37, 34, 29, 0.22), transparent 72%),
        radial-gradient(14px 14px at var(--home-ticket-hole-b) 14px, rgba(37, 34, 29, 0.22), transparent 72%),
        radial-gradient(14px 14px at var(--home-ticket-hole-b) calc(100% - 14px), rgba(37, 34, 29, 0.22), transparent 72%);
    background-repeat: no-repeat;
}

.home-highlight-card::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: -22px;
    height: 36px;
    border-radius: 999px;
    background: rgba(27, 25, 22, 0.28);
    filter: blur(18px);
    z-index: -2;
    pointer-events: none;
}

.home-highlight-card > * {
    min-width: 0;
    min-height: 0;
}

.home-highlight-card--verse {
    --home-ticket-hole-a: 30.7%;
}

.home-highlight-card__media {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow: visible;
    padding: 7px;
    border-radius: 18px 0 0 18px;
    background: var(--home-ticket-paper);
    box-shadow: none;
}

.home-highlight-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 13px;
}

.home-highlight-card__perforation {
    position: relative;
    display: block;
    align-self: stretch;
    width: 100%;
    z-index: 5;
    pointer-events: none;
    background:
        radial-gradient(18px 13px at center calc(100% + 1px), rgba(27, 25, 22, 0.40), rgba(27, 25, 22, 0.22) 42%, transparent 74%),
        linear-gradient(
            180deg,
            rgba(55, 48, 163, 0.52) 0%,
            rgba(55, 48, 163, 0.18) 11%,
            rgba(255, 255, 255, 0) 34%,
            rgba(255, 255, 255, 0) 72%,
            rgba(27, 25, 22, 0.16) 100%
        );
    overflow: visible;
}

.home-highlight-card__perforation::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--home-ticket-paper);
    -webkit-mask-image: var(--home-perforation-mask);
    mask-image: var(--home-perforation-mask);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.home-highlight-card__perforation::after {
    content: "";
    position: absolute;
    inset: -1px 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(circle at center top, transparent 0 7.3px, rgba(37, 34, 29, 0.22) 7.6px, rgba(255, 255, 255, 0.42) 8.6px, transparent 10.2px),
        radial-gradient(circle at center bottom, transparent 0 7.3px, rgba(37, 34, 29, 0.24) 7.6px, rgba(255, 255, 255, 0.36) 8.6px, transparent 10.2px),
        radial-gradient(circle, transparent 0 2.05px, rgba(37, 34, 29, 0.18) 2.22px, rgba(255, 255, 255, 0.34) 2.72px, transparent 3.42px) center 19px / 10px 13px repeat-y;
}

.home-highlight-card__perforation--violet {
    --ticket-fallback-dot-color: rgba(77, 69, 212, 0.5);
}

.home-highlight-card__perforation--sand {
    --ticket-fallback-dot-color: rgba(145, 134, 122, 0.38);
}

@supports not ((-webkit-mask-image: radial-gradient(circle, #000 50%, transparent 51%)) or (mask-image: radial-gradient(circle, #000 50%, transparent 51%))) {
    .home-highlight-card__perforation::before {
        -webkit-mask-image: none;
        mask-image: none;
        background:
            radial-gradient(circle, transparent 0 2.05px, rgba(255, 255, 255, 0.98) 2.35px) center 19px / 10px 13px repeat-y;
    }

    .home-highlight-card__perforation::after {
        background:
            radial-gradient(circle at center top, transparent 0 7.3px, rgba(37, 34, 29, 0.18) 7.6px, transparent 10.2px),
            radial-gradient(circle at center bottom, transparent 0 7.3px, rgba(37, 34, 29, 0.20) 7.6px, transparent 10.2px),
            radial-gradient(circle, var(--ticket-fallback-dot-color) 0 1px, transparent 1.6px) center 19px / 10px 13px repeat-y;
    }
}

.home-highlight-card__content,
.home-highlight-card__date {
    position: relative;
    background: var(--home-ticket-paper);
}

.home-highlight-card__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.44rem;
    padding: 12px 8px 10px 7px;
}

.home-highlight-card__eyebrow {
    margin: 0;
    color: #918a7e;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(0.66rem, 0.74vw, 0.88rem);
    letter-spacing: 0.072em;
    text-transform: none;
    font-weight: 600;
    line-height: 1.12;
    white-space: nowrap;
}

.home-highlight-card__eyebrow-label {
    font-weight: 500;
}

.home-highlight-card__eyebrow-strong {
    color: #6f675d;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.04em;
}

.home-highlight-card__stack,
.home-highlight-card__stack--compact {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.home-highlight-card__event {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.home-highlight-card__title {
    margin: 0;
    font-family: 'Lora', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.28rem, 1.52vw, 1.72rem);
    line-height: 0.94;
    letter-spacing: -0.045em;
    font-style: italic;
    font-weight: 500;
    color: #28292c;
    transform: scaleX(0.96);
    transform-origin: left center;
}

.home-highlight-card--verse .home-highlight-card__title {
    font-size: clamp(1.3rem, 1.48vw, 1.7rem);
    margin-bottom: 0.05rem;
}

.home-highlight-card__time {
    margin: 0;
    color: #777064;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(0.74rem, 0.82vw, 0.94rem);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.08em;
    line-height: 1.06;
}

.home-highlight-card__verse-copy {
    margin: 0;
    max-width: 36ch;
    color: #303236;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(0.72rem, 0.84vw, 0.94rem);
    font-style: italic;
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -0.012em;
}

.home-highlight-card__verse-reference {
    display: inline;
    color: #2e3033;
    font-weight: 800;
}

.home-highlight-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px 5px 4px;
    color: #23242a;
    text-align: center;
    border-radius: 0 18px 18px 0;
}

.home-highlight-card__month {
    display: block;
    margin-bottom: 4px;
    font-family: 'Lora', 'Playfair Display', Georgia, serif;
    font-size: clamp(1.12rem, 1.32vw, 1.5rem);
    font-style: italic;
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: capitalize;
    color: #303135;
}

.home-highlight-card__day {
    display: block;
    font-family: 'Playfair Display', 'Lora', Georgia, serif;
    font-size: clamp(4.35rem, 5.25vw, 5.7rem);
    font-weight: 500;
    line-height: 0.74;
    letter-spacing: -0.085em;
    color: #202126;
}

.home-highlight-card__year {
    display: block;
    margin-top: 9px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(0.72rem, 0.78vw, 0.94rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    color: #2d2e31;
}

.home-highlight-card--verse .home-highlight-card__content {
    padding-left: 8px;
    padding-right: 6px;
}

@media (max-width: 1320px) {
    .home-highlights-grid {
        gap: 1.35rem;
    }

    .home-highlight-card {
        grid-template-columns: minmax(118px, 28.5%) 14px minmax(0, 1fr) 14px minmax(76px, 92px);
        height: clamp(154px, 11.7vw, 162px);
        min-height: 160px;
        --home-ticket-hole-b: calc(100% - 99px);
    }

    .home-highlight-card__title {
        font-size: clamp(1.14rem, 1.38vw, 1.54rem);
    }

    .home-highlight-card--verse .home-highlight-card__title {
        font-size: clamp(1.16rem, 1.35vw, 1.5rem);
    }

    .home-highlight-card__verse-copy {
        font-size: clamp(0.68rem, 0.76vw, 0.84rem);
    }

    .home-highlight-card__day {
        font-size: clamp(3.9rem, 4.9vw, 5rem);
    }
}

@media (max-width: 1080px) {
    .quick-info-section {
        padding-bottom: 4.1rem;
    }

    .home-highlights-section {
        margin-top: -2.95rem;
        padding-bottom: 2.55rem;
    }

    .home-highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .home-highlight-card {
        width: min(100%, 760px);
        margin: 0 auto;
        grid-template-columns: minmax(156px, 30%) 16px minmax(0, 1fr) 16px minmax(84px, 105px);
        height: clamp(160px, 16vw, 176px);
        min-height: 171px;
        --home-ticket-hole-b: calc(100% - 113px);
    }
}

@media (max-width: 820px) {
    .quick-info-section {
        padding-bottom: 3.45rem;
    }

    .home-highlights-section {
        margin-top: -2.45rem;
        padding-bottom: 2rem;
    }

    .home-highlights-section::before {
        height: 6.25rem;
    }

    .home-highlight-card {
        grid-template-columns: minmax(126px, 28%) 14px minmax(0, 1fr) 14px minmax(74px, 88px);
        height: clamp(156px, 21vw, 168px);
        min-height: 158px;
        --home-ticket-hole-a: 29.2%;
        --home-ticket-hole-b: calc(100% - 95px);
    }

    .home-highlight-card__media {
        padding: 6px;
    }

    .home-highlight-card__eyebrow {
        font-size: 0.66rem;
        letter-spacing: 0.08em;
    }

    .home-highlight-card__title {
        font-size: clamp(1.1rem, 2.65vw, 1.42rem);
    }

    .home-highlight-card__time,
    .home-highlight-card__verse-copy {
        font-size: 0.74rem;
    }

    .home-highlight-card__day {
        font-size: clamp(3.45rem, 8.6vw, 4.35rem);
    }
}

@media (max-width: 640px) {
    .quick-info-section {
        padding-bottom: 2.95rem;
    }

    .home-highlights-section {
        margin-top: -1.9rem;
        padding-bottom: 1.85rem;
    }

    .home-highlights-section::before {
        height: 4.8rem;
    }

    .home-highlights-grid {
        gap: 1.05rem;
    }

    .home-highlight-card {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        height: auto;
        min-height: 0;
        padding: 0.72rem;
        border-radius: 1.18rem;
    }

    .home-highlight-card::before {
        display: none;
    }

    .home-highlight-card::after {
        left: 10%;
        right: 10%;
        bottom: -16px;
        height: 24px;
        filter: blur(14px);
        opacity: 0.55;
    }

    .home-highlight-card__media {
        padding: 0;
        border-radius: 0.86rem;
        overflow: hidden;
    }

    .home-highlight-card__media img {
        min-height: 178px;
        max-height: 212px;
        border-radius: 0.86rem;
    }

    .home-highlight-card__perforation {
        display: none;
    }

    .home-highlight-card__content {
        padding: 0;
        gap: 0.45rem;
    }

    .home-highlight-card__eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
        white-space: normal;
    }

    .home-highlight-card__title,
    .home-highlight-card--verse .home-highlight-card__title {
        font-size: clamp(1.45rem, 7vw, 1.92rem);
        transform: none;
    }

    .home-highlight-card__time,
    .home-highlight-card__verse-copy {
        font-size: 0.88rem;
    }

    .home-highlight-card__verse-copy {
        max-width: none;
    }

    .home-highlight-card__date {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
        gap: 0.75rem;
        margin-top: 0.15rem;
        padding-top: 0.95rem;
    }

    .home-highlight-card__date::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 10px;
        background-image: radial-gradient(circle, rgba(197, 184, 168, 0.9) 0 2.05px, transparent 2.35px);
        background-size: 16px 10px;
        background-repeat: repeat-x;
    }

    .home-highlight-card__month {
        margin-bottom: 0;
        font-size: 0.92rem;
    }

    .home-highlight-card__day {
        font-size: clamp(3.15rem, 14vw, 4.1rem);
        line-height: 0.88;
        letter-spacing: -0.05em;
    }

    .home-highlight-card__year {
        margin-top: 0;
        font-size: 0.76rem;
    }
}

/* Modo ultracompacto para telas de relógio: mantém culto e versículo,
   mas transforma os cards em resumos leves e legíveis. */
@media (max-width: 240px) and (max-height: 240px) {
    .quick-info-section {
        padding-bottom: 0.5rem;
        background: #3730a3;
    }

    .quick-info-section::after,
    .home-highlights-section::before {
        display: none;
    }

    .home-highlights-section {
        margin-top: 0;
        padding: 0.42rem 0 0.6rem;
        background: #ffffff;
    }

    .home-highlights-grid {
        grid-template-columns: 1fr;
        gap: 0.42rem;
    }

    .home-highlight-card {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.28rem;
        height: auto;
        min-height: 0;
        padding: 0.42rem;
        border-radius: 0.55rem;
        box-shadow: 0 0.36rem 0.7rem rgba(15, 23, 42, 0.11);
    }

    .home-highlight-card::after,
    .home-highlight-card::before,
    .home-highlight-card__media,
    .home-highlight-card__perforation {
        display: none;
    }

    .home-highlight-card__content {
        gap: 0.2rem;
        padding: 0;
    }

    .home-highlight-card__eyebrow {
        font-size: 0.38rem;
        letter-spacing: 0.05em;
    }

    .home-highlight-card__stack,
    .home-highlight-card__stack--compact {
        gap: 0.24rem;
    }

    .home-highlight-card__event {
        gap: 0.12rem;
    }

    .home-highlight-card__title,
    .home-highlight-card--verse .home-highlight-card__title {
        font-size: 0.56rem;
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .home-highlight-card__time {
        font-size: 0.36rem;
        letter-spacing: 0.04em;
    }

    .home-highlight-card__verse-copy {
        max-width: 14ch;
        font-size: 0.34rem;
        line-height: 1.28;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

    .home-highlight-card__date {
        min-width: 1.55rem;
        align-self: center;
        gap: 0;
        padding: 0 0 0 0.18rem;
    }

    .home-highlight-card__date::before {
        display: none;
    }

    .home-highlight-card__month {
        margin-bottom: 0;
        font-size: 0.34rem;
    }

    .home-highlight-card__day {
        font-size: 0.92rem;
        line-height: 0.9;
    }

    .home-highlight-card__year {
        margin-top: 0;
        font-size: 0.28rem;
    }
}

body.dark-mode .home-highlights-section::before {
    background:
        linear-gradient(
            180deg,
            rgba(49, 46, 129, 0.46) 0%,
            rgba(49, 46, 129, 0.34) 22%,
            rgba(49, 46, 129, 0.20) 43%,
            rgba(49, 46, 129, 0.10) 61%,
            rgba(49, 46, 129, 0.035) 78%,
            rgba(255, 255, 255, 0) 100%
        );
}

body.dark-mode .home-highlight-card {
    background: transparent;
    --home-ticket-paper: linear-gradient(105deg, rgba(255, 255, 255, 0.985) 0%, rgba(255, 255, 255, 0.965) 56%, rgba(247, 244, 239, 0.975) 100%);
    box-shadow:
        0 24px 32px rgba(2, 6, 23, 0.36),
        0 10px 16px rgba(15, 23, 42, 0.18),
        0 1px 0 rgba(255, 255, 255, 0.84) inset;
}

body.dark-mode .home-highlight-card__eyebrow,
body.dark-mode .home-highlight-card__time,
body.dark-mode .home-highlight-card__month,
body.dark-mode .home-highlight-card__year {
    color: #6f675d;
}

body.dark-mode .home-highlight-card__eyebrow-strong,
body.dark-mode .home-highlight-card__title,
body.dark-mode .home-highlight-card__day,
body.dark-mode .home-highlight-card__verse-copy,
body.dark-mode .home-highlight-card__verse-reference {
    color: #202126;
}

body.dark-mode .home-highlight-card__perforation--violet {
    --ticket-dot-color: #5b52dc;
    --ticket-notch-color: #312e81;
}

body.dark-mode .home-highlight-card__perforation--sand {
    --ticket-dot-color: #bfb3a4;
    --ticket-notch-color: #ebe5da;
}
