/* Quarterly Reports: premium year-based document library. */
.hcb-quarterly-page {
    background: var(--hcb-bg-soft);
}

.hcb-quarterly-library {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2.75rem, 5vw, 5rem);
    background:
        radial-gradient(circle at 8% 12%, rgba(203, 153, 56, 0.11), transparent 26rem),
        linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.hcb-quarterly-library::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    inline-size: min(34vw, 31rem);
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(15, 49, 83, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 49, 83, 0.08) 1px, transparent 1px);
    background-size: 2.5rem 2.5rem;
    -webkit-mask-image: linear-gradient(270deg, #000, transparent);
    mask-image: linear-gradient(270deg, #000, transparent);
    pointer-events: none;
}

html[dir="rtl"] .hcb-quarterly-library::before {
    -webkit-mask-image: linear-gradient(90deg, #000, transparent);
    mask-image: linear-gradient(90deg, #000, transparent);
}

.hcb-quarterly-library > .hcb-container {
    position: relative;
    z-index: 1;
}

.hcb-quarterly-library__intro {
    max-inline-size: var(--hcb-content);
    margin-block-end: clamp(1.75rem, 3vw, 2.75rem);
}

.hcb-quarterly-library__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.hcb-quarterly-year {
    position: relative;
    min-inline-size: 0;
    overflow: hidden;
    border: 1px solid rgba(18, 48, 79, 0.11);
    border-radius: clamp(1rem, 2vw, 1.5rem);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 1.5rem 3.5rem rgba(17, 43, 71, 0.1);
}

.hcb-quarterly-year::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    block-size: 0.25rem;
    background: linear-gradient(90deg, var(--hcb-gold-500), #e7c36f);
}

html[dir="rtl"] .hcb-quarterly-year::before {
    background: linear-gradient(270deg, var(--hcb-gold-500), #e7c36f);
}

.hcb-quarterly-year__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-block-size: 6.75rem;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--hcb-white);
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.045), transparent 58%),
        var(--hcb-navy-900);
}

.hcb-quarterly-year__icon {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    inline-size: 3rem;
    block-size: 3rem;
    border: 1px solid rgba(230, 192, 105, 0.42);
    border-radius: 0.85rem;
    color: var(--hcb-gold-300);
    background: rgba(255, 255, 255, 0.065);
    font-size: 1.15rem;
}

.hcb-quarterly-year__title {
    min-inline-size: 0;
}

.hcb-quarterly-year__title :where(h2, h3) {
    margin: 0;
    color: inherit;
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    line-height: 1.25;
}

.hcb-quarterly-year__reports {
    padding: clamp(0.65rem, 1.5vw, 1rem);
}

.hcb-quarterly-year__reports :where(ul, ol) {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hcb-quarterly-year__reports li {
    margin: 0;
    padding: 0;
}

.hcb-quarterly-year__reports li::marker,
.hcb-quarterly-year__reports li::before {
    content: none;
}

.hcb-quarterly-year__reports a {
    position: relative;
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) 2rem;
    align-items: center;
    gap: 0.9rem;
    min-block-size: 4.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(18, 48, 79, 0.09);
    border-radius: 0.9rem;
    color: var(--hcb-navy-900);
    background: #f8fafc;
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.hcb-quarterly-year__reports a::before,
.hcb-quarterly-year__reports a::after {
    display: inline-grid;
    place-items: center;
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.hcb-quarterly-year__reports a::before {
    content: "\f1c1";
    inline-size: 2.75rem;
    block-size: 2.75rem;
    border-radius: 0.72rem;
    color: var(--hcb-gold-700);
    background: rgba(203, 153, 56, 0.12);
}

.hcb-quarterly-year__reports a::after {
    content: "\f35d";
    inline-size: 2rem;
    block-size: 2rem;
    color: var(--hcb-blue-700);
    font-size: 0.84rem;
}

@media (hover: hover) {
    .hcb-quarterly-year__reports a:hover,
    .hcb-quarterly-year__reports a:focus-visible {
        transform: translateY(-2px);
        border-color: rgba(203, 153, 56, 0.42);
        color: var(--hcb-blue-800);
        background: var(--hcb-white);
        box-shadow: 0 0.8rem 1.7rem rgba(15, 49, 83, 0.1);
    }
}

.hcb-quarterly-year__reports a:focus-visible {
    outline: 3px solid rgba(203, 153, 56, 0.38);
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .hcb-quarterly-library__grid {
        grid-template-columns: 1fr;
    }

    .hcb-quarterly-year__header {
        min-block-size: 5.75rem;
        padding: 1.15rem;
    }

    .hcb-quarterly-year__reports {
        padding: 0.65rem;
    }

    .hcb-quarterly-year__reports a {
        grid-template-columns: 2.5rem minmax(0, 1fr) 1.75rem;
        gap: 0.7rem;
        min-block-size: 4.5rem;
        padding: 0.75rem;
    }

    .hcb-quarterly-year__reports a::before {
        inline-size: 2.5rem;
        block-size: 2.5rem;
    }
}
