.mnmh-overview,
.mnmh-horoscope,
.mnmh-partner {
    box-sizing: border-box;
    width: min(100%, 860px);
    max-width: 860px !important;
    margin: 0 auto;
    color: #4a4a4a;
    font-family: "Arial Narrow", Arial, sans-serif;
}

.wp-block-post-content > .mnmh-overview,
.wp-block-post-content > .mnmh-horoscope,
.wp-block-post-content > .mnmh-partner {
    max-width: 860px !important;
}

.mnmh-generated-page .wp-block-post-title {
    display: none;
}

.mnmh-generated-page #wp--skip-link--target {
    margin-top: 0 !important;
}

.mnmh-generated-page #wp--skip-link--target > .wp-block-group {
    padding-top: 3rem !important;
    padding-bottom: 5rem !important;
}

.mnmh-generated-page .entry-content {
    margin-top: 0;
}

.mnmh-overview *,
.mnmh-horoscope *,
.mnmh-partner * {
    box-sizing: border-box;
}

.mnmh-overview h1,
.mnmh-partner .horoscope__title {
    width: 100%;
    margin: 0 0 .8rem;
    padding-bottom: .35rem;
    border-bottom: 1px solid #aaa;
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.15;
}

.mnmh-subtitle {
    margin: 0 0 1.5rem;
    color: #333;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
}

.mnmh-horoscope .detail__title--sign,
.mnmh-overview .sign__name {
    color: #654ea3;
}

.mnmh-overview .thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.1rem 1.25rem;
    width: 100%;
    margin: 1.6rem auto 2.8rem;
}

.mnmh-overview .thumbnail {
    width: 100%;
    margin: 0;
    text-align: center;
}

.mnmh-overview .thumbnail a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.mnmh-overview .sign__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6.4rem;
    height: 6.4rem;
    margin: 0 auto .28rem;
}

.mnmh-overview .sign__icon img {
    display: block;
    width: 5.75rem;
    height: 5.75rem;
    object-fit: contain;
}

.mnmh-overview .sign__period {
    width: 100%;
    padding-bottom: .28rem;
    border-bottom: 1px solid #aaa;
    color: #8a8a8a;
    font-size: 1.1rem;
    line-height: 1.1;
    white-space: nowrap;
}

.mnmh-overview .cont {
    padding-top: .15rem;
}

.mnmh-overview .sign__name,
.mnmh-overview .sign__comp {
    font-size: 1.1rem;
    line-height: 1.1;
}

.mnmh-overview .sign__comp {
    color: #777;
}

.mnmh-sign-hero {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 2.2rem auto 3.8rem;
}

.mnmh-sign-hero img {
    display: block;
    width: 9.6rem;
    height: 9.6rem;
    object-fit: contain;
}

.mnmh-horoscope .detail__title {
    display: block;
    width: 100%;
    margin: 0;
    padding-bottom: .45rem;
    border-bottom: 1px solid #aaa;
    color: #333;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.15;
}

.mnmh-horoscope .current-day {
    padding: .7rem 0;
    border-bottom: 1px solid #aaa;
    color: #555;
    font-size: 1.2rem;
    line-height: 1.25;
}

.mnmh-horoscope .article {
    margin-top: 1.3rem;
}

.mnmh-horoscope .article__title {
    margin: 0 0 .75rem;
    padding-bottom: .45rem;
    border-bottom: 1px solid #aaa;
    color: #333;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.15;
}

.mnmh-horoscope .article__txt,
.mnmh-partner .article__txt,
.mnmh-empty,
.mnmh-meta {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.55;
}

.mnmh-horoscope .article__txt p,
.mnmh-partner .article__txt p {
    margin: 0 0 .85rem;
}

.mnmh-empty {
    margin: .5rem 0 0;
    color: #888;
}

.mnmh-cta {
    margin: 1.25rem 0 0;
    text-align: center;
}

.mnmh-links-extra-cont {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 2.5rem;
    width: 100%;
    margin: 2.8rem 0 0;
}

.mnmh-links-extra-cont .links-extra a {
    display: block;
    padding: .75rem .4rem;
    border-top: 1px solid #aaa;
    color: #8164ad;
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.mnmh-date {
    color: #654ea3;
}

.mnmh-partner-selected {
    margin: 0 0 1.6rem;
    color: #555;
    font-size: 1.15rem;
    line-height: 1.35;
}

.mnmh-partner-pair {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.25rem;
    width: min(100%, 560px);
    margin: 2rem auto 2.2rem;
}

.mnmh-partner-sign-card {
    display: grid;
    justify-items: center;
    gap: .35rem;
    text-align: center;
}

.mnmh-partner-sign-card img {
    display: block;
    width: 7rem;
    height: 7rem;
    object-fit: contain;
}

.mnmh-partner-sign-card span {
    color: #777;
    font-size: 1.1rem;
    line-height: 1.2;
}

.mnmh-partner-sign-card strong {
    color: #654ea3;
    font-size: 1.35rem;
    line-height: 1.1;
}

.mnmh-partner-plus {
    color: #654ea3;
    font-size: 2rem;
    font-weight: 700;
}

.mnmh-links-extra-cont .links-extra a:last-child {
    border-bottom: 1px solid #aaa;
}

.mnmh-form {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    width: 100%;
    margin: 1rem 0 1.5rem;
}

.mnmh-form label {
    display: grid;
    gap: .35rem;
}

.mnmh-form select,
.mnmh-form button {
    min-height: 2.5rem;
    padding: .5rem;
    border: 1px solid #aaa;
    background: white;
    font: inherit;
}

.mnmh-form button {
    align-self: end;
    border-color: #654ea3;
    background-color: #654ea3;
    color: white;
    cursor: pointer;
}

@media screen and (min-width: 520px) {
    .mnmh-overview .thumbnail-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (min-width: 820px) {
    .mnmh-overview .thumbnail-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .mnmh-links-extra-cont {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 560px) {
    .mnmh-overview,
    .mnmh-horoscope,
    .mnmh-partner {
        width: 100%;
        padding-inline: 1rem;
    }

    .mnmh-overview h1,
    .mnmh-partner .horoscope__title,
    .mnmh-horoscope .detail__title {
        font-size: 1.55rem;
    }

    .mnmh-subtitle,
    .mnmh-horoscope .current-day {
        font-size: 1.1rem;
    }

    .mnmh-sign-hero {
        margin: 1.5rem auto 2.4rem;
    }

    .mnmh-sign-hero img {
        width: 7.5rem;
        height: 7.5rem;
    }

    .mnmh-partner-pair {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .mnmh-partner-plus {
        font-size: 1.5rem;
    }
}
