@charset "utf-8";

/* Homepage Advisor Login control.
   Authentication remains owned by /opentok/login/index.php. */
.pc-main-hero-title-wrap {
    position: relative;
    width: fit-content;
    max-width: calc(100% - 86px);
    margin: 0 auto;
}

.pc-main-advisor-login {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: calc(100% + clamp(6px, 0.8vw, 10px));
    display: block;
    width: clamp(36px, 4.5vw, 52px);
    height: clamp(36px, 4.5vw, 52px);
    transform: translateY(-50%);
}

.pc-main-advisor-login-img {
    display: block;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 999px;
    transition: border-color 160ms ease, filter 160ms ease;
}

.pc-main-advisor-login:hover .pc-main-advisor-login-img,
.pc-main-advisor-login:focus-visible .pc-main-advisor-login-img {
    border-color: #fff;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
}

.pc-main-advisor-login:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 999px;
}


/* Homepage reader gallery */
ul.columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 4vw, 55px);
    align-items: start;
}

ul.columns > li {
    display: flex;
    justify-content: center;
    min-width: 0;
}

.goldbar_wrap2nd {
    padding-top: 100px;
}

/* Homepage lower information section */
.aside_blurb_container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 60px);
    align-items: start;
    width: 100%;
    margin-top: 1.5em;
}

.asideAside,
.figureFigure {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.blurb_container1,
.blurb_container2 {
    width: 100%;
}

.asideAside {
    display: block;
}

.figureFigure {
    position: static;
    display: block;
    text-align: center;
}

.asideAside h1,
.needhelp_text {
    color: #ecaa20;
    font-size: 1.9em;
    font-weight: bold;
}

.needhelp_text,
.figureFigure > h1 {
    margin-bottom: 0;
    text-align: center;
}

.tarot_h1 {
    margin: 1vh 0 0;
    color: #ecaa20;
    font-size: 1.6em;
    font-weight: bold;
    text-align: left;
}

aside {
    color: #ecaa20;
    font-size: 1.3em;
    font-weight: bold;
}

.tarot_blurb {
    margin-top: 0;
    text-align: justify;
}

.img_crystalgirl_wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

figcaption,
.figcaption2 {
    display: inline-block;
    width: 100%;
    color: #ffd2ff;
    font-size: 1.5em;
    text-align: center;
}

.figcaption2 {
    width: 90%;
}

.tele_directions {
    font-family: Oxygen, sans-serif;
    font-size: 0.7em;
    text-align: justify;
}

.tele_cartouche,
.cartouche {
    position: relative;
    border: 6px double #66186d;
    border-radius: 30px;
    background: #ecaa20;
    font-weight: bold;
    text-align: center;
}

.tele_cartouche {
    padding: 2px 10px;
    font-size: 1.6em;
}

.cartouche {
    height: 26px;
    padding: 0 12px 12px 8px;
    font-size: 1.6em;
}

.tele_cartouche::after,
.cartouche_bar {
    content: '';
    position: absolute;
    top: -7px;
    right: -6px;
    width: 0;
    height: calc(100% + 14px);
    border-right: 4px solid #ecaa20;
    border-radius: 4px;
}

.cartouche_bar {
    top: -4px;
    right: -7px;
    height: calc(100% + 8px);
}

@media (max-width: 800px) {
    ul.columns {
        gap: 12px;
    }

    .aside_blurb_container {
        grid-template-columns: 1fr;
    }

    .figureFigure {
        width: 100%;
    }
}

@media (max-width: 680px) {

    .pc-main-hero-title-wrap {
        max-width: calc(100% - 70px);
    }

    .pc-main-advisor-login {
        width: 38px;
        height: 38px;
        left: calc(100% + 6px);
    }

    ul.columns {
        grid-template-columns: 1fr;
    }

    .tarot_h1 {
        font-size: 1.7em;
    }

    .tele_directions {
        font-size: 0.9em;
    }

    header .logo_wrap {
        left: -120px;
        right: -120px;
    }

    .needhelp_text {
        padding-top: 0;
    }

    .figcaption2 {
        width: 100%;
    }
}
