/* =========================================================
   HOME — WORDPRESS EDITORIAL STYLE
========================================================= */

.home-page {
    width: 100%;
}

.home-hero {
    margin-bottom: 30px;
}

.home-hero-label {
    position: absolute;
    top: 28px;
    left: 50%;
    z-index: 2;

    padding: 7px 13px;

    color: rgba(255,255,255,.94);
    background: rgba(18,24,31,.58);

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;

    transform: translateX(-50%);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    align-items: start;
    gap: 24px;
}

.home-main-column {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.home-story-card {
    padding: 30px 32px;
}

.home-key-dates {
    padding: 24px 26px;
}

.home-story-content {
    color: #30373e;
}

.home-story-content h3 {
    margin: 26px 0 12px;

    font-size: 1.12rem;
}

.home-story-content p {
    margin-bottom: 18px;

    color: #30373e;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.78;

    text-align: justify;
    text-justify: inter-word;
}

.home-story-lead {
    color: #30373e;

    font-size: 15px;
    font-weight: 400;
    line-height: 1.78;

    text-align: justify;
    text-justify: inter-word;
}

.home-story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 26px;
    padding-top: 22px;

    border-top: 1px solid var(--color-border);
}

/* =========================================================
   SECTION HEADINGS
========================================================= */

.home-story-card > .home-section-heading,
.home-key-dates > .home-section-heading,
.home-direct-access > .home-section-heading {
    position: static;

    min-height: auto;
    padding: 0;

    color: inherit;
    background: transparent;

    border: 0;
    box-shadow: none;
}

.home-section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

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

    color: var(--color-text);
}

.home-section-heading .home-eyebrow {
    margin: 0 0 4px;
}

.home-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 48px;
    height: 48px;

    border-radius: 12px;

    font-size: 22px;
    line-height: 1;
}

.home-section-icon.is-blue {
    background: #edf4ff;
}

.home-story-card .home-section-heading {
    padding-bottom: 18px;

    border-bottom: 1px solid var(--color-border);
}

.home-key-dates .home-section-heading {
    padding-bottom: 16px;

    border-bottom: 1px solid var(--color-border);
}

.direct-access-heading {
    padding: 0;

    background: transparent;
}

/* =========================================================
   SIDEBAR
========================================================= */

.home-sidebar {
    position: sticky;
    top: 88px;

    display: grid;
    gap: 16px;
}

.home-info-card,
.home-bond-card {
    padding: 20px;

    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 14px;

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

.home-info-card.is-separation {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fff4f4 100%
        );

    border-color: #f1cccc;
}

.home-info-card.is-age {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f2f7ff 100%
        );

    border-color: #d4e2f6;
}

.home-info-card.is-last-day {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fff8ee 100%
        );

    border-color: #f1dfbf;
}

.home-info-label {
    display: block;

    margin-bottom: 14px;

    color: #5f6f84;

    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.home-info-card.is-separation .home-info-label {
    color: #bc3838;
}

.home-info-card.is-age .home-info-label {
    color: #3b65ba;
}

.home-info-card.is-last-day .home-info-label {
    color: #b56900;
}

.home-info-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-bottom: 10px;
}

.home-info-value {
    color: #20272e;

    font-size: 1.25rem;
    font-weight: 850;
    line-height: 1.18;
}

.home-info-card.is-separation .home-info-value {
    color: #c43a3a;

    font-size: 2.35rem;
}

.home-info-card.is-age .home-info-value {
    color: #2f67d3;

    font-size: 1.65rem;
}

.home-info-card.is-last-day .home-info-value {
    color: #bc6a00;
}

.home-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    color: #516172;
    background: rgba(255, 255, 255, 0.74);

    font-size: 20px;
    line-height: 1;
}

.home-info-description {
    margin: 0;

    color: #616a73;

    font-size: 12px;
    line-height: 1.45;
}

.home-bond-card {
    min-height: 205px;
}

.home-bond-card h3 {
    display: flex;
    align-items: center;
    gap: 9px;

    margin: 0 0 18px;

    font-size: 15px;
}

.home-bond-card h3 span {
    font-size: 24px;
    line-height: 1;
}

.home-bond-card p {
    color: #606971;

    font-size: 13px;
    line-height: 1.7;
}

.home-bond-closing {
    margin-top: 26px;
}

/* =========================================================
   TIMELINE
========================================================= */

.home-timeline {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-timeline::before {
    content: "";

    position: absolute;
    top: 23px;
    left: 8%;
    right: 8%;

    height: 2px;

    background: #e4e7ea;
}

.home-timeline-item {
    position: relative;
    z-index: 1;

    text-align: center;
}

.home-timeline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;
    margin-bottom: 12px;

    border-radius: 50%;

    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}

.home-timeline-item.is-green .home-timeline-icon {
    color: #3a8650;
    background: #e6f5e9;
}

.home-timeline-item.is-orange .home-timeline-icon {
    color: #b66900;
    background: #fff1df;
}

.home-timeline-item.is-red .home-timeline-icon {
    color: #c83c3c;
    background: #ffe8e8;
}

.home-timeline-item.is-purple .home-timeline-icon {
    color: #6a4cad;
    background: #efe8fb;
}

.home-timeline-item time {
    display: block;

    margin-bottom: 7px;

    color: #29313a;

    font-size: 12px;
    font-weight: 800;
}

.home-timeline-item p {
    margin: 0 auto;

    color: #6a727a;

    font-size: 11px;
    line-height: 1.45;
}

/* =========================================================
   DIRECT ACCESS
========================================================= */

.home-direct-access {
    margin-top: 30px;
}

.home-section-divider {
    width: 100%;
    height: 1px;
    margin: 0 0 24px;

    background: var(--color-border);
}

.home-access-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-access-card {
    position: relative;

    display: flex;
    align-items: flex-end;

    min-height: 280px;
    padding: 22px;

    overflow: hidden;

    color: #ffffff;
    background: #1f2933;

    border-radius: 14px;

    box-shadow: var(--shadow-sm);

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

.home-access-card:hover {
    color: #ffffff;

    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.home-access-card img,
.home-access-overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.home-access-card img {
    object-fit: cover;

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

.home-access-card:hover img {
    transform: scale(1.045);
}

.home-access-overlay {
    background:
        linear-gradient(
            to top,
            rgba(8, 14, 22, 0.95) 0%,
            rgba(8, 14, 22, 0.58) 52%,
            rgba(8, 14, 22, 0.12) 100%
        );
}

.home-access-content {
    position: relative;
    z-index: 2;
}

.home-access-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    margin-bottom: 18px;

    border-radius: 50%;

    font-size: 21px;
    font-weight: 800;
    line-height: 1;
}

.home-access-icon.is-green {
    color: #ffffff;
    background: rgba(76, 175, 80, 0.86);
}

.home-access-icon.is-purple {
    color: #6b4fa1;
    background: rgba(245, 237, 255, 0.94);
}

.home-access-icon.is-red {
    color: #d43e3e;
    background: rgba(255, 235, 235, 0.94);
}

.home-access-card h3 {
    margin: 0;

    color: #ffffff;

    font-size: 1.5rem;
}

.home-access-card p {
    margin: 9px 0 16px;

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

    font-size: 13px;
    line-height: 1.55;
}

.home-access-link {
    display: inline-flex;
    align-items: center;

    min-height: 36px;
    padding: 8px 12px;

    color: #ffffff;
    background: rgba(16, 24, 32, 0.46);

    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;

    font-size: 12px;
    font-weight: 750;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
    .home-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
    }

    .home-access-grid {
        gap: 16px;
    }
}

@media (max-width: 900px) {
    .home-layout {
        grid-template-columns: 1fr;
    }

    .home-sidebar {
        position: static;

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

    .home-bond-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 780px) {
    .home-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        row-gap: 26px;
    }

    .home-timeline::before {
        display: none;
    }

    .home-access-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
.home-story-card {
        padding: 24px 20px;
    }

    .home-key-dates {
        padding: 20px;
    }

    .home-sidebar,
    .home-timeline {
        grid-template-columns: 1fr;
    }

    .home-bond-card {
        grid-column: auto;
    }

    .home-section-heading {
        align-items: flex-start;
    }

    .home-section-icon {
        width: 46px;
        height: 46px;

        font-size: 20px;
    }

    .home-story-content p {
        text-align: justify;
        text-justify: inter-word;
    }

}