:root {
    --wc-navy: #13283f;
    --wc-blue: #1c3552;
    --wc-accent: #6fa8dc;
    --wc-sand: #f6f4ef;
    --wc-border: #d8e0ea;
    --wc-text: #253746;
    --wc-muted: #5b6875;
    --wc-white: #ffffff;
}

/*
    * Hero
    */
.construction-hero {
    padding: 4.5rem 0;
    color: var(--wc-white);
    background:
        linear-gradient(
            135deg,
            #13283f 0%,
            #1c3552 100%
        );
}

.construction-hero h1 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: clamp(
        2.3rem,
        5vw,
        4rem
    );
    font-weight: 700;
    line-height: 1.1;
}

.construction-hero p {
    max-width: 760px;
    margin: 0;
    color: #e4ebf2;
    font-size: 1.15rem;
    line-height: 1.7;
}


/*
    * Breadcrumb
    */
.construction-breadcrumb {
    margin: 0;
    padding: 1rem 0;
    border-radius: 0;
    background: transparent;
}

.construction-breadcrumb a {
    color: var(--wc-blue);
    text-decoration: underline;
}


/*
    * Main
    */
.construction-main {
    padding-top: 2rem;
    padding-bottom: 5rem;
}


.section-intro {
    max-width: 800px;
    margin-bottom: 2.25rem;
}

.section-intro h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--wc-navy);
    font-size: 2rem;
}

.section-intro p {
    margin: 0;
    color: var(--wc-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}


/*
    * Notice list
    */
.notice-list {
    display: grid;
    gap: 1.75rem;
}


/*
    * Notice card
    */
.notice-card {
    overflow: hidden;
    border: 1px solid var(--wc-border);
    border-radius: 8px;
    background: var(--wc-white);
    box-shadow:
        0 4px 18px
        rgba(19, 40, 63, 0.07);
}


.notice-card-inner {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr);
}


/*
    * Notices with an uploaded image use a
    * two-column layout on larger screens.
    */
.notice-card.has-image
.notice-card-inner {
    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(260px, .65fr);
}


/*
    * Notice content
    */
.notice-content {
    padding: 2rem;
}


.notice-meta {
    margin-bottom: 0.7rem;
    color: var(--wc-muted);
    font-size: 0.9rem;
    font-weight: 600;
}


.notice-title {
    margin: 0 0 1rem;
    color: var(--wc-navy);
    font-size: 1.65rem;
    line-height: 1.25;
}


/*
    * Rich text from CKEditor
    */
.notice-description {
    color: var(--wc-text);
    font-size: 1rem;
    line-height: 1.75;
}

.notice-description > :first-child {
    margin-top: 0;
}

.notice-description > :last-child {
    margin-bottom: 0;
}

.notice-description h2 {
    margin-top: 1.75rem;
    color: var(--wc-navy);
    font-size: 1.35rem;
}

.notice-description h3 {
    margin-top: 1.5rem;
    color: var(--wc-blue);
    font-size: 1.15rem;
}

.notice-description ul,
.notice-description ol {
    padding-left: 1.5rem;
}

.notice-description a {
    color: #155c91;
    text-decoration: underline;
    text-underline-offset: 2px;
}


/*
    * Document area
    */
.notice-document {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top:
        1px solid
        var(--wc-border);
}


.document-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 18px;
    border:
        2px solid
        var(--wc-blue);
    border-radius: 5px;
    color: var(--wc-blue);
    background: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition:
        background .15s ease,
        color .15s ease;
}

.document-button:hover,
.document-button:focus {
    color: #ffffff;
    background: var(--wc-blue);
    text-decoration: none;
}


.document-info {
    display: block;
    margin-top: 0.65rem;
    color: var(--wc-muted);
    font-size: 0.88rem;
    word-break: break-word;
}


/*
    * Uploaded image
    */
.notice-image-wrap {
    min-height: 100%;
    background: var(--wc-sand);
}


.notice-image-link {
    display: block;
    height: 100%;
}


.notice-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}


/*
    * Empty/error states
    */
.notice-message {
    padding: 2rem;
    border:
        1px solid
        var(--wc-border);
    border-radius: 8px;
    background: #ffffff;
}

.notice-message h2 {
    margin-top: 0;
    color: var(--wc-navy);
}


/*
    * Keyboard focus
    */
a:focus,
button:focus {
    outline: 3px solid #000000;
    outline-offset: 3px;
}


/*
    * Tablet
    */
@media screen and (max-width: 900px) {

    .notice-card.has-image
    .notice-card-inner {
        grid-template-columns: 1fr;
    }


    .notice-image-wrap {
        order: -1;
    }


    .notice-image {
        height: auto;
        min-height: 0;
        max-height: 500px;
        object-fit: contain;
    }

}


/*
    * Mobile
    */
@media screen and (max-width: 767px) {

    .construction-hero {
        padding: 3rem 0;
    }


    .construction-main {
        padding-top: 1.5rem;
    }


    .notice-content {
        padding: 1.5rem;
    }


    .notice-title {
        font-size: 1.45rem;
    }


    .document-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

}
