.familia-header-label {
    padding: 0 0 16px;
    max-width: 1440px;
    margin: 0 auto;
}

.familia-header-label__title {
    font-weight: 900;
    font-size: 17px;
}

.familia-header-label__subtitle {
    font-weight: 400;
    color: #707b7b;
    font-size: 14px;
}

.familia-main-container {
    width: 100%;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}



.familia-hero {
    background: #16201f;
    color: #fff;
}

.familia-hero>.container {
    padding-block: 46px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.familia-hero__icon {
    width: 104px;
    height: 104px;
    flex-shrink: 0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 28px;
    letter-spacing: .5px;
}

.familia-hero__content {
    flex: 1;
}

.familia-hero__kicker {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.familia-hero__title {
    margin: 10px 0 0;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.07;
}

.familia-hero__lead {
    margin: 14px 0 0;
    max-width: 780px;
    font-size: 17px;
    line-height: 1.6;
    color: #c6cdcb;
}

.familia-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
    text-align: right;
}

.familia-hero__stat-val {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 34px;
}

.familia-hero__stat-label {
    font-size: 13px;
    color: #9aa3a1;
}

.familia-section {
    padding: 52px 0 8px;
}

.familia-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: start;
}

.familia-section__title {
    margin: 0 0 16px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.familia-intro-grid p {
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: #3a3f3d;
}

.familia-intro-grid p:first-of-type {
    margin-top: 0;
}

.familia-tags {
    margin-top: 22px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.familia-tags__item {
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    padding: 7px 14px;
}

.familia-video-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #16201f;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.familia-video-bg {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, #1d2826 0 14px, #16201f 14px 28px);
    opacity: .6;
}

.familia-video-btn {
    position: relative;
    z-index: 2;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    cursor: pointer;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.familia-video-btn:focus-visible {
    outline: 3px solid #008a9c;
    outline-offset: 2px;
    border-radius: 6px;
}

.familia-video-wrapper iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
    z-index: 10;
}

.familia-video-hint {
    position: absolute;
    z-index: 2;
    bottom: 14px;
    left: 16px;
    font-family: 'Lato', monospace;
    font-size: 11px;
    color: #8fd6e6;
}

.familia-video-caption {
    margin: 12px 0 0;
    font-size: 13.5px;
    color: #707b7b;
}

.familia-faqs {
    margin-top: 40px;
}

.familia-faqs__title {
    margin: 0 0 18px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 22px;
}

.familia-faqs-list {
    border: 1px solid #e6e9e9;
    border-radius: 12px;
    overflow: hidden;
}

.familia-faq-item {
    border-bottom: 1px solid #eef1f1;
}

.familia-faq-item:last-child {
    border-bottom: none;
}

.familia-faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: #ffffff;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.familia-faq-btn:focus-visible {
    outline: 3px solid #008a9c;
    outline-offset: -3px;
}

.familia-faq-btn[aria-expanded="true"] {
    background: #f5fbfc;
}

.familia-faq-btn__q {
    font-weight: 700;
    font-size: 17px;
    color: #1b1c19;
}

.familia-faq-btn__icon {
    font-size: 22px;
    font-weight: 400;
    color: #008a9c;
    flex-shrink: 0;
    line-height: 1;
}

.familia-faq-content {
    padding: 0 24px 22px;
    font-size: 15px;
    line-height: 1.65;
    color: #3a3f3d;
    display: none;
}

.familia-faq-btn[aria-expanded="true"]+.familia-faq-content {
    display: block;
}

.familia-next-event {
    display: flex;
    border: 1px solid #e6e9e9;
    border-radius: 12px;
    overflow: hidden;
}

.familia-next-event__icon {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: .5px;
}

.familia-next-event__body {
    flex: 1;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.familia-next-event__badge {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.familia-next-event__title {
    margin: 14px 0 0;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.familia-next-event__meta {
    margin-top: 10px;
    font-size: 16px;
    color: #707b7b;
}

.familia-next-event__actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.familia-next-event__btn {
    padding: 14px 30px;
    background: #008a9c;
    color: #ffffff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.familia-next-event__btn:hover {
    background: #007483;
}

.familia-next-event__countdown {
    text-align: center;
    flex-shrink: 0;
}

.familia-next-event__days {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: #16201f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 26px;
}

.familia-next-event__days-label {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #9aa3a1;
}

.familia-events-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 6px;
}

.familia-events-header__title {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.familia-events-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #707b7b;
    flex-shrink: 0;
}

.familia-events-sort select.familia-sort-select {
    font-weight: 700;
    color: #1b1c19;
    border: 1px solid #cfd6d6;
    border-radius: 8px;
    padding: 7px 12px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

.familia-events-sort select.familia-sort-select:focus {
    border-color: #008a9c;
}

.familia-events-desc {
    margin: 0 0 22px;
    font-size: 13.5px;
    color: #9aa3a1;
}

.familia-events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.familia-event-card {
    text-decoration: none;
    color: inherit;
    border: 1px solid #e6e9e9;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: block;
    transition: border-color 0.2s ease;
}

.familia-event-card:visited h3 {
    color: var(--color-ink);
}

.familia-event-card:hover {
    border-color: #37bad9;
}

.familia-event-card:focus-visible {
    outline: 3px solid #008a9c;
    outline-offset: 2px;
}

.familia-event-card__top {
    height: 8px;
}

.familia-event-card__body {
    padding: 16px 18px;
}

.familia-event-card__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .5px;
    padding: 4px 9px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.familia-event-card__year {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.familia-event-card__city {
    margin: 6px 0 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
}

.familia-event-card__country {
    font-size: 13px;
    color: #707b7b;
    margin-top: 2px;
}

.familia-orgs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.familia-org-item {
    height: 96px;
    border: 1px solid #e6e9e9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lato', monospace;
    font-size: 11px;
    color: #9aa3a1;
}

.familia-speakers-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
}

.familia-speakers-header__title {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 28px;
}

.familia-speakers-header__link {
    font-size: 14px;
    font-weight: 700;
    color: #008a9c;
    text-decoration: none;
}

.familia-speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.familia-speaker-card {
    border: 1px solid #e6e9e9;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
}

.familia-speaker-card__img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    margin: 0 auto;
    background: #e8ecec;
    position: relative;
    overflow: hidden;
}

.familia-speaker-card__img-head {
    position: absolute;
    left: 50%;
    top: 18%;
    transform: translateX(-50%);
    width: 30%;
    height: 30%;
    border-radius: 50%;
    background: #b7c1c0;
}

.familia-speaker-card__img-body {
    position: absolute;
    left: 50%;
    bottom: -9%;
    transform: translateX(-50%);
    width: 58%;
    height: 48%;
    border-radius: 50% 50% 0 0;
    background: #b7c1c0;
}

.familia-speaker-card__name {
    margin: 14px 0 0;
    font-weight: 700;
    font-size: 16px;
}

.familia-speaker-card__role {
    font-size: 13px;
    color: #707b7b;
    margin-top: 3px;
    line-height: 1.35;
}

.familia-notice {
    margin-top: 16px;
}

.familia-notice span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    color: #8a6d1a;
    background: #fbf3d6;
    border: 1px solid #ecdda8;
    border-radius: 20px;
    padding: 3px 9px;
}


@media (max-width: 1024px) {
    .familia-hero {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .familia-hero__stats {
        text-align: left;
        flex-direction: row;
        gap: 40px;
    }

    .familia-intro-grid {
        grid-template-columns: 1fr;
    }

    .familia-next-event {
        flex-direction: column;
    }

    .familia-next-event__icon {
        width: 100%;
        height: 120px;
    }

    .familia-next-event__body {
        flex-direction: column;
        align-items: flex-start;
    }

    .familia-events-grid,
    .familia-orgs-grid,
    .familia-speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .familia-events-grid,
    .familia-orgs-grid,
    .familia-speakers-grid {
        grid-template-columns: 1fr;
    }

    .familia-events-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .familia-speakers-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
@keyframes pulse-live-dot {
    0% { transform: scale(0.8); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
    100% { transform: scale(0.8); opacity: 1; }
}

.familia-next-event__days--live {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.familia-live-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    animation: pulse-live-dot 2s ease-in-out infinite;
}
