/*
|--------------------------------------------------------------------------
| Word Intelligence blog empty state
|--------------------------------------------------------------------------
*/

.wi-blog-empty-state,
.wi-blog-empty-state * {
    box-sizing: border-box;
}

.wi-blog-empty-state {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(190px, 270px);

    width: 100%;
    min-height: 440px;

    overflow: hidden;

    
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 12% 13%,
            rgba(223, 250, 223),
            transparent 35%
        ),
        radial-gradient(
            circle at 88% 82%,
            rgba(255, 181, 52, 0),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #f8fff5 0%,
            #f1f1f1 55%,
            #f3f3f3 100%
        );

    color: var(--text-color);

   
}

/*
|--------------------------------------------------------------------------
| Dark mode
|--------------------------------------------------------------------------
*/

body.dark-mode .wi-blog-empty-state {
    

    background:
        radial-gradient(
            circle at 12% 13%,
            rgb(29, 36, 27),
            transparent 35%
        ),
        radial-gradient(
            circle at 88% 82%,
            rgba(255, 181, 52, 0),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #171b16 0%,
            #111111 55%,
            #000000 100%
        );

    
}

/*
|--------------------------------------------------------------------------
| Main content
|--------------------------------------------------------------------------
*/

.wi-blog-empty-state__content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        clamp(42px, 6vw, 74px)
        clamp(30px, 6vw, 78px);
}

.wi-blog-empty-state__eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;

    margin: 0 0 20px;

    color: #5d675f;

    font-family: "Inter", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

body.dark-mode
.wi-blog-empty-state__eyebrow {
    color: #9da69f;
}

.wi-blog-empty-state__eyebrow span {
    display: inline-block;
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: var(--accent-color);

    box-shadow:
        0 0 0 6px
        rgba(255, 181, 52, 0.16);
}

.wi-blog-empty-state h1 {
    max-width: 720px;

    margin: 0;

    color: var(--text-color);

    font-family:
        "PTSerifPro Demi",
        "PT Serif",
        Georgia,
        serif;

    font-size:
        clamp(2.7rem, 5.2vw, 5rem);

    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.wi-blog-empty-state__description {
    max-width: 670px;

    margin: 25px 0 0;

    color: #68706a;

    font-family: "Inter", sans-serif;
    font-size: 0.96rem;
    line-height: 1.8;
}

body.dark-mode
.wi-blog-empty-state__description {
    color: #a8ada9;
}

/*
|--------------------------------------------------------------------------
| Selected date
|--------------------------------------------------------------------------
*/

.wi-blog-empty-state__selected-date {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 23px;
    padding: 10px 14px;
    border-radius: 999px;

    background: rgb(223, 250, 223);
    color: var(--text-color);

    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
}

.wi-blog-empty-state__selected-date i {
    color: #3c7037;
}

.wi-blog-empty-state__selected-date span {
    color: #68706a;
}

.wi-blog-empty-state__selected-date strong {
    font-weight: 700;
}

body.dark-mode
.wi-blog-empty-state__selected-date {
    background: rgb(29, 36, 27);
}

body.dark-mode
.wi-blog-empty-state__selected-date span {
    color: #9da69f;
}

/*
|--------------------------------------------------------------------------
| Scripture
|--------------------------------------------------------------------------
*/

.wi-blog-empty-state__scripture {
    max-width: 570px;

    margin: 30px 0 0;
    padding: 1px 0 1px 19px;

    border-left: 3px solid var(--accent-color);
}

.wi-blog-empty-state__scripture p {
    margin: 0 0 5px;

    color: var(--text-color);

    font-family:
        "PTSerifPro Italics",
        "PT Serif",
        Georgia,
        serif;

    font-size: 1rem;
    font-style: italic;
    line-height: 1.55;
}

.wi-blog-empty-state__scripture cite {
    color: #747b76;

    font-family: "Inter", sans-serif;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

body.dark-mode
.wi-blog-empty-state__scripture cite {
    color: #979d98;
}

/*
|--------------------------------------------------------------------------
| Actions
|--------------------------------------------------------------------------
*/

.wi-blog-empty-state__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 32px;
}

.wi-blog-empty-state__button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 24px;

    padding: 11px 17px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-family: "Inter", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;

    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.wi-blog-empty-state__button i {
    font-size: 0.72rem;
}

.wi-blog-empty-state__button--primary {
    border-color: #151715;

    background: #151715;
    color: #ffffff;
}

.wi-blog-empty-state__button--primary:hover {
    border-color: var(--accent-color);

    background: var(--accent-color);
    color: #151515;

    transform: translateY(-2px);
}

.wi-blog-empty-state__button--secondary {
    border-color: #c7ccc8;

    background: rgba(255, 255, 255, 0.58);
    color: #333a35;
}

.wi-blog-empty-state__button--secondary:hover {
    border-color: #347444;

    background: #edf7ec;
    color: #285f35;

    transform: translateY(-2px);
}

body.dark-mode
.wi-blog-empty-state__button--primary {
    border-color: #f1f2ee;

    background: #f1f2ee;
    color: #111111;
}

body.dark-mode
.wi-blog-empty-state__button--primary:hover {
    border-color: var(--accent-color);

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

body.dark-mode
.wi-blog-empty-state__button--secondary {
    border-color: #404640;

    background: rgba(255, 255, 255, 0.025);
    color: #d8ddd8;
}

body.dark-mode
.wi-blog-empty-state__button--secondary:hover {
    border-color: #6d976f;

    background: #1d2a1e;
    color: #dff3df;
}

.wi-blog-empty-state__button:focus-visible {
    outline:
        3px solid
        rgba(255, 181, 52, 0.42);

    outline-offset: 3px;
}

.wi-blog-empty-state__hint {
    display: flex;
    align-items: center;
    gap: 8px;

    margin: 18px 0 0;

    color: #7a817c;

    font-family: "Inter", sans-serif;
    font-size: 0.69rem;
    line-height: 1.5;
}

body.dark-mode
.wi-blog-empty-state__hint {
    color: #909791;
}

/*
|--------------------------------------------------------------------------
| Decorative visual panel
|--------------------------------------------------------------------------
*/

.wi-blog-empty-state__visual {
    position: relative;
    z-index: 1;

    display: grid;
    min-height: 100%;
    place-items: center;

    overflow: hidden;

    border-left: 1px solid
        rgba(52, 116, 68, 0.12);

    background:
        linear-gradient(
            160deg,
            rgba(223, 250, 223),
            rgba(255, 242, 204, 0)
        );
}

body.dark-mode
.wi-blog-empty-state__visual {
    border-left-color: #2f2f2f;

    background:
        linear-gradient(
            160deg,
            rgb(29, 36, 27),
            rgba(49, 40, 24, 0)
        );
}

.wi-blog-empty-state__orbit {
    position: absolute;

    display: block;

    border: 1px solid
        rgba(52, 116, 68, 0.13);
    border-radius: 50%;
}

.wi-blog-empty-state__orbit--one {
    top: -70px;
    right: -80px;

    width: 230px;
    height: 230px;
}

.wi-blog-empty-state__orbit--two {
    bottom: -90px;
    left: -95px;

    width: 245px;
    height: 245px;

    border-color:
        rgba(255, 181, 52, 0.24);
}

/*
|--------------------------------------------------------------------------
| Calendar visual
|--------------------------------------------------------------------------
*/

.wi-blog-empty-state__calendar {
    position: relative;
    z-index: 2;

    display: flex;
    width: 150px;
    min-height: 185px;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 21px;

    background: rgba(255, 255, 255, 0.84);

    backdrop-filter: blur(8px);
}

body.dark-mode
.wi-blog-empty-state__calendar {

    background: #1f1f1f;

}

.wi-blog-empty-state__calendar::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 9px;

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

.wi-blog-empty-state__calendar-month {
    color: #347444;

    font-family: "Inter", sans-serif;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.wi-blog-empty-state__calendar strong {
    margin: 10px 0 2px;

    color: var(--text-color);

    font-family:
        "PTSerifPro Bold",
        "PT Serif",
        Georgia,
        serif;

    font-size: 4.5rem;
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.wi-blog-empty-state__calendar-year {
    color: #767e78;

    font-family: "Inter", sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

/*
|--------------------------------------------------------------------------
| Completely empty blog visual
|--------------------------------------------------------------------------
*/

.wi-blog-empty-state__bible {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
}

.wi-blog-empty-state__bible > span {
    display: inline-flex;
    width: 122px;
    height: 122px;
    align-items: center;
    justify-content: center;

    border: 1px solid
        rgba(52, 116, 68, 0.13);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.82);
    color: #347444;

    box-shadow:
        0 21px 48px
        rgba(43, 63, 47, 0.13);

    font-size: 2.7rem;
}

body.dark-mode
.wi-blog-empty-state__bible > span {
    border-color: #3a443b;

    background: rgba(26, 30, 26, 0.9);
    color: #99d98d;
}

.wi-blog-empty-state__bible small {
    color: #5f6861;

    font-family: "Inter", sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.17em;
}

body.dark-mode
.wi-blog-empty-state__bible small {
    color: #a9afa9;
}

/*
|--------------------------------------------------------------------------
| Responsive layout
|--------------------------------------------------------------------------
*/

@media (max-width: 920px) {
    .wi-blog-empty-state {
        grid-template-columns:
            minmax(0, 1fr)
            200px;
    }

    .wi-blog-empty-state__content {
        padding:
            48px
            36px;
    }
}

@media (max-width: 700px) {
    .wi-blog-empty-state {
        grid-template-columns: 1fr;

        min-height: 0;

        border-radius: 18px;
    }

    .wi-blog-empty-state__content {
        padding:
            39px
            25px
            35px;
    }

    .wi-blog-empty-state h1 {
        font-size:
            clamp(2.65rem, 13vw, 4.1rem);
    }

    .wi-blog-empty-state__description {
        font-size: 0.87rem;
    }

    .wi-blog-empty-state__visual {
        min-height: 210px;

        border-top: 1px solid
            rgba(52, 116, 68, 0.12);
        border-left: 0;
    }

    body.dark-mode
    .wi-blog-empty-state__visual {
        border-top-color: #2c332d;
    }

    .wi-blog-empty-state__calendar {
        width: 132px;
        min-height: 158px;
    }

    .wi-blog-empty-state__calendar strong {
        font-size: 3.8rem;
    }

    .wi-blog-empty-state__bible > span {
        width: 105px;
        height: 105px;

        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .wi-blog-empty-state__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .wi-blog-empty-state__button {
        width: 100%;
    }

    .wi-blog-empty-state__selected-date {
        align-items: flex-start;
        flex-direction: column;

        border-radius: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wi-blog-empty-state *,
    .wi-blog-empty-state *::before,
    .wi-blog-empty-state *::after {
        transition: none !important;
    }
}