@font-face {
    font-family: "FcpRavi";
    src: url("../fonts/Ravi-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "FcpRavi";
    src: url("../fonts/Ravi-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.fcp-calendar .fcp-calendar-header {
    box-sizing: border-box;
    direction: rtl;
    font-family: "FcpRavi", Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    text-align: right;
    color: #111;
    background: #f0f1ff;
    padding: 0 14px 28px;
    margin: 0 0 24px;
    border: 0;
    border-radius: 0;
}

.fcp-calendar .fcp-calendar-header *,
.fcp-calendar .fcp-calendar-header *::before,
.fcp-calendar .fcp-calendar-header *::after {
    box-sizing: border-box;
}

.fcp-calendar .fcp-calendar-header__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 28px;
    padding: 0;
    color: #34343c;
    font-size: 12px;
    line-height: 22px;
}

.fcp-calendar .fcp-calendar-header__breadcrumbs a {
    color: #8b8b96 !important;
    text-decoration: none !important;
}

.fcp-calendar .fcp-calendar-header__breadcrumbs a:hover {
    color: #075397 !important;
}

.fcp-calendar .fcp-calendar-header__breadcrumbs a:focus-visible {
    outline: 2px solid #075397;
    outline-offset: 3px;
}

.fcp-calendar .fcp-calendar-header__breadcrumbs svg {
    flex: 0 0 12px;
    color: #8b8b96;
}

.fcp-calendar .fcp-calendar-header__body {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
}

.fcp-calendar .fcp-calendar-header__intro {
    min-width: 0;
}

.fcp-calendar .fcp-calendar-header__title {
    margin: 0 0 15px !important;
    padding: 0 !important;
    font-family: "FcpRavi", Tahoma, sans-serif !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    color: #080808 !important;
    letter-spacing: normal;
    border: 0;
}

.fcp-calendar .fcp-calendar-header__description {
    margin: 0 !important;
    padding: 0 !important;
    color: #85858c;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9 !important;
}

.fcp-calendar .fcp-calendar-header__updated {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    min-height: 39px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid #d9def3;
    border-radius: 2px;
    background: #f6f6ff;
    color: #85858c;
    font-size: 12px;
    line-height: 21px;
    white-space: nowrap;
}

.fcp-calendar .fcp-calendar-header__status-dot {
    display: block;
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00b56a;
}

/* Suppress the host's duplicate heading only when it contains this shortcode. */
.page-entry:has(.fcp-calendar) > .page-entry__header {
    display: none;
}

@media (max-width: 900px) {
    .fcp-calendar .fcp-calendar-header__body {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .fcp-calendar .fcp-calendar-header__updated {
        align-self: flex-end;
    }

    .fcp-calendar .fcp-calendar-header__line-break {
        display: none;
    }
}

@media (max-width: 480px) {
    .fcp-calendar .fcp-calendar-header {
        padding: 0 0 22px;
    }

    .fcp-calendar .fcp-calendar-header__breadcrumbs {
        margin-bottom: 20px;
    }

    .fcp-calendar .fcp-calendar-header__title {
        font-size: 28px !important;
        margin-bottom: 12px !important;
    }

    .fcp-calendar .fcp-calendar-header__description {
        font-size: 14px;
        line-height: 2 !important;
    }

    .fcp-calendar .fcp-calendar-header__updated {
        padding: 8px 10px;
        font-size: 11px;
        max-width: 100%;
        white-space: normal;
    }
}
