/* Visual Polish Track 2. Geometry tokens stay in renewal-shell.css. */
/* Do not use 100vw — classic scrollbar overflow. Do not hide html/body overflow. */

#appeal.appeal,
body.home #appeal.appeal,
body.mh-renewal-catalog-surface #appeal.appeal,
body.mh-renewal-single-surface #appeal.appeal,
body.mh-renewal-page-surface #appeal.appeal,
#appeal.appeal.mh-appeal,
#appeal.appeal.appeal-area {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: clip;
}

#appeal.appeal .appeal-in,
#appeal.appeal .mh-appeal-image,
#appeal.appeal .appeal-content,
#appeal.appeal .mh-appeal-content {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.mh-renewal-shell-surface #appeal.appeal.mh-appeal,
body.mh-renewal-shell-surface #appeal.appeal.ba-fixed,
#appeal.appeal.mh-appeal,
#appeal.appeal.ba-fixed {
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
}

@media (max-width: 781px) {
    body.mh-renewal-shell-surface #appeal.appeal.mh-appeal,
    body.mh-renewal-shell-surface #appeal.appeal.ba-fixed,
    #appeal.appeal.mh-appeal,
    #appeal.appeal.ba-fixed {
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
    }
}

@media (min-width: 782px) {
    #appeal.appeal.mh-appeal .appeal-in,
    #appeal.appeal.ba-fixed .appeal-in {
        min-height: 0;
    }
}

#appeal.appeal .appeal-content.mh-appeal-content {
    width: calc(100% - 2rem);
    max-width: 610px;
    margin-inline: auto;
    text-align: center;
    box-sizing: border-box;
}

@media (min-width: 782px) {
    #appeal.appeal .appeal-content.mh-appeal-content {
        width: 100%;
        max-width: 610px;
    }
}

.mh-appeal-button,
#appeal.appeal .appeal-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.mh-appeal-button::after,
#appeal.appeal .appeal-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -55%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.48) 50%, transparent 100%);
    transform: skewX(-22deg) translateX(0);
    pointer-events: none;
    opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
    .mh-appeal-button:hover::after,
    .mh-appeal-button:focus-visible::after,
    #appeal.appeal .appeal-button:hover::after,
    #appeal.appeal .appeal-button:focus-visible::after {
        opacity: 1;
        animation: mh-cta-shine 0.65s ease;
    }
}

@keyframes mh-cta-shine {
    from {
        transform: skewX(-22deg) translateX(0);
    }
    to {
        transform: skewX(-22deg) translateX(280%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mh-appeal-button::after,
    #appeal.appeal .appeal-button::after {
        animation: none !important;
        opacity: 0 !important;
    }
}

.mh-top-catalog-above,
.mh-top-catalog-above .mh-side-widget,
.mh-top-catalog-above .widget,
.mh-top-catalog-above .widget_block,
.mh-top-catalog-above .wp-block-group,
.mh-top-catalog-above .wp-block-paragraph,
.mh-top-catalog-above p {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.mh-top-catalog-above {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 0.75rem;
}

.mh-top-catalog-above .mh-affiliate-tag,
.mh-top-catalog-above a:has(img),
.mh-top-catalog-above a:has(iframe) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.mh-top-catalog-above img,
.mh-top-catalog-above iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.mh-top-catalog-above .wp-block-separator,
.mh-top-catalog-above hr,
.mh-top-catalog-above p:empty,
.mh-top-catalog-above a:empty {
    display: none !important;
}

.mh-side .mh-side-widget,
.mh-side .widget {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}

.mh-side .mh-side-title,
.mh-side .widget-title,
.mh-side .widgettitle {
    margin: 0 0 8px;
    padding: 8px 8px 0;
}

.mh-side .widget img,
.mh-side .mh-side-widget img,
.mh-side .widget iframe,
.mh-side .mh-side-widget iframe,
.mh-side a img,
.mh-affiliate-tag img,
.mh-affiliate-tag iframe {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-inline: auto;
}

.mh-side .widget iframe,
.mh-side .mh-side-widget iframe,
.mh-affiliate-tag iframe {
    width: 100%;
    max-width: 100%;
}

body.mh-renewal-shell-surface a,
.mh-site-header a,
.mh-site-footer a,
.mh-side a,
.mh-footer-nav a,
.navi-footer a,
.mh-card-title a,
a.mh-card-title,
.mh-card-body a,
.blogcard-title a,
a.mh-brand,
a.mh-brand .mh-brand-text,
a.mh-brand .mh-brand-mark {
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    a.mh-brand,
    .mh-site-header .mh-nav a,
    .mh-site-header .mh-nav-list a,
    .mh-footer-nav a,
    .navi-footer a,
    .mh-side a:not(:has(img)),
    .mh-footer-col a:not(:has(img)),
    .mh-card-title a,
    a.mh-card-title,
    .mh-card-body a,
    body.mh-renewal-shell-surface .mh-content a,
    body.mh-renewal-shell-surface .entry-content a,
    body.mh-renewal-shell-surface .article a,
    .blogcard-title a {
        display: inline-block;
    }

    a.mh-brand:hover,
    a.mh-brand:focus-visible,
    .mh-site-header a:hover,
    .mh-site-header a:focus-visible,
    .mh-site-footer a:hover,
    .mh-site-footer a:focus-visible,
    .mh-side a:not(:has(img)):hover,
    .mh-side a:not(:has(img)):focus-visible,
    .mh-footer-col a:not(:has(img)):hover,
    .mh-footer-nav a:hover,
    .navi-footer a:hover,
    .mh-card-title a:hover,
    .mh-card-title > a:hover,
    .mh-card-title a:focus-visible,
    a.mh-card-title:hover,
    .mh-section--featured .mh-card-title a:hover,
    .mh-newest-rail .mh-card-title a:hover,
    .mh-catalog-grid .mh-card-title a:hover,
    .mh-side a.widget-entry-card-title:hover,
    .mh-card-body a:hover,
    body.mh-renewal-shell-surface .mh-content a:hover,
    body.mh-renewal-shell-surface .entry-content a:hover,
    body.mh-renewal-shell-surface .article a:hover,
    .blogcard-title a:hover,
    .blogcard-title a:focus-visible {
        color: var(--mh-pink-deep, #a93669);
        opacity: 0.9;
        transform: translateY(-1px);
        text-shadow: 0 1px 8px rgba(169, 54, 105, 0.18);
    }

    a.mh-brand:hover .mh-brand-text,
    a.mh-brand:focus-visible .mh-brand-text {
        color: var(--mh-pink-deep, #a93669);
    }

    a.mh-brand:hover .mh-brand-mark,
    a.mh-brand:focus-visible .mh-brand-mark {
        opacity: 0.92;
    }
}

.mh-card-category,
.mh-card-category:hover,
.mh-card-category:focus-visible,
a.mh-card-media .mh-card-category:hover,
.mh-single-category,
.mh-single-category:hover,
#wpadminbar a,
#wpadminbar a:hover,
.mh-appeal-button,
#appeal.appeal .appeal-button,
button a,
.button,
input[type="submit"],
input[type="button"] {
    transform: none;
    text-shadow: none;
    opacity: 1;
}

.mh-banner-hover,
.mh-affiliate-tag,
.mh-top-catalog-above .mh-affiliate-tag,
.mh-side .mh-affiliate-tag,
.mh-footer-col .mh-affiliate-tag {
    display: block;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
    .mh-side a:has(img),
    .mh-footer-col a:has(img),
    .mh-top-catalog-above a:has(img),
    .mh-side .widget > a,
    .mh-footer-col .widget > a,
    .mh-affiliate-tag,
    .mh-top-catalog-above .mh-affiliate-tag,
    .mh-side .mh-affiliate-tag,
    .mh-footer-col .mh-affiliate-tag,
    .mh-banner-hover {
        transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
    }

    .mh-side a:has(img):hover,
    .mh-side a:has(img):focus-visible,
    .mh-footer-col a:has(img):hover,
    .mh-footer-col a:has(img):focus-visible,
    .mh-top-catalog-above a:has(img):hover,
    .mh-top-catalog-above a:has(img):focus-visible,
    .mh-side .widget > a:hover,
    .mh-footer-col .widget > a:hover,
    .mh-affiliate-tag:hover,
    .mh-affiliate-tag:focus-within,
    .mh-banner-hover:hover {
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 4px 12px rgba(52, 37, 44, 0.12);
    }

    .mh-affiliate-tag iframe,
    .mh-side iframe,
    .mh-footer-col iframe {
        transform: none;
    }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
    body.mh-renewal-shell-surface a,
    .mh-site-header a,
    .mh-site-footer a,
    .mh-side a,
    a.mh-brand,
    .mh-affiliate-tag,
    .mh-banner-hover {
        transform: none !important;
        text-shadow: none;
        opacity: 1;
        transition: color 0.2s ease, opacity 0.2s ease;
    }
}

.mh-site-footer[data-mh-footer-v2="1"] {
    background: var(--mh-footer-bg, #3a2a31);
    color: #f3e6ec;
    margin-top: 36px;
    padding: 36px 20px 28px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.mh-site-footer[data-mh-footer-v2="1"] a {
    color: #f6eef2;
}

.mh-site-footer[data-mh-footer-v2="1"] .mh-footer-inner {
    width: min(1100px, 100%);
    max-width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    min-width: 0;
}

.mh-site-footer[data-mh-footer-v2="1"] .mh-footer-widgets {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
    gap: 28px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (min-width: 901px) {
    .mh-site-footer[data-mh-footer-v2="1"] .mh-footer-widgets:has(> :nth-child(2)) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.mh-site-footer .mh-cocoon-main-bottom,
.mh-site-footer .mh-footer-mobile {
    display: none !important;
}

.mh-site-footer[data-mh-footer-v2="1"] .mh-footer-widgets > .mh-footer-col,
.mh-site-footer[data-mh-footer-v2="1"] .mh-footer-col,
.mh-site-footer[data-mh-footer-v2="1"] .mh-footer-col .widget,
.mh-site-footer[data-mh-footer-v2="1"] .mh-footer-col .mh-side-widget {
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto;
    min-height: 0;
    height: auto;
    padding: 0;
    margin: 0 0 18px;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    background: transparent;
    color: #f3e6ec;
}

.mh-site-footer[data-mh-footer-v2="1"] .widget-title,
.mh-site-footer[data-mh-footer-v2="1"] .widgettitle,
.mh-site-footer[data-mh-footer-v2="1"] .mh-side-title {
    color: var(--mh-pink, #d85f93);
    background: transparent;
    margin: 0 0 10px;
    padding: 0;
}

.mh-site-footer[data-mh-footer-v2="1"] .widget-entry-cards,
.mh-site-footer[data-mh-footer-v2="1"] .popular-entry-cards,
.mh-site-footer[data-mh-footer-v2="1"] .new-entry-cards,
.mh-site-footer[data-mh-footer-v2="1"] .widget-entry-card,
.mh-site-footer[data-mh-footer-v2="1"] .popular-entry-card,
.mh-site-footer[data-mh-footer-v2="1"] .card-content,
.mh-site-footer[data-mh-footer-v2="1"] .search-box,
.mh-site-footer[data-mh-footer-v2="1"] .search-form,
.mh-site-footer[data-mh-footer-v2="1"] .wp-block-search {
    background: #fff;
    color: #34252c;
    border-radius: 8px;
}

.mh-site-footer[data-mh-footer-v2="1"] .widget-entry-cards a,
.mh-site-footer[data-mh-footer-v2="1"] .popular-entry-card a,
.mh-site-footer[data-mh-footer-v2="1"] .widget-entry-card a,
.mh-site-footer[data-mh-footer-v2="1"] .card-content a,
.mh-site-footer[data-mh-footer-v2="1"] .search-box,
.mh-site-footer[data-mh-footer-v2="1"] .search-form,
.mh-site-footer[data-mh-footer-v2="1"] input,
.mh-site-footer[data-mh-footer-v2="1"] textarea,
.mh-site-footer[data-mh-footer-v2="1"] select {
    color: #34252c;
}

.mh-site-footer[data-mh-footer-v2="1"] form.search-form,
.mh-site-footer[data-mh-footer-v2="1"] form.search-box,
.mh-site-footer[data-mh-footer-v2="1"] .search-box,
.mh-site-footer[data-mh-footer-v2="1"] .wp-block-search,
.mh-site-footer[data-mh-footer-v2="1"] .wp-block-search__inside-wrapper,
.mh-site-footer[data-mh-footer-v2="1"] form[role="search"] {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 8px;
}

.mh-site-footer[data-mh-footer-v2="1"] .search-form label,
.mh-site-footer[data-mh-footer-v2="1"] .search-box label {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.mh-site-footer[data-mh-footer-v2="1"] input[type="search"],
.mh-site-footer[data-mh-footer-v2="1"] input[type="text"],
.mh-site-footer[data-mh-footer-v2="1"] .search-field,
.mh-site-footer[data-mh-footer-v2="1"] .search-edit,
.mh-site-footer[data-mh-footer-v2="1"] .wp-block-search__input {
    flex: 1 1 auto;
    min-width: 0 !important;
    width: auto !important;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #e4c9d4;
    border-radius: 8px;
    background: #fff !important;
    color: #34252c !important;
    box-sizing: border-box;
}

.mh-site-footer[data-mh-footer-v2="1"] button,
.mh-site-footer[data-mh-footer-v2="1"] input[type="submit"],
.mh-site-footer[data-mh-footer-v2="1"] .search-submit,
.mh-site-footer[data-mh-footer-v2="1"] .wp-block-search__button {
    flex: 0 0 auto;
    height: 44px;
    min-width: 72px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--mh-pink, #d85f93);
    color: #fff !important;
    cursor: pointer;
}

.mh-site-footer[data-mh-footer-v2="1"] button:hover,
.mh-site-footer[data-mh-footer-v2="1"] input[type="submit"]:hover,
.mh-site-footer[data-mh-footer-v2="1"] .search-submit:hover {
    background: var(--mh-pink-deep, #a93669);
}

.mh-site-footer[data-mh-footer-v2="1"] img,
.mh-site-footer[data-mh-footer-v2="1"] iframe,
.mh-site-footer[data-mh-footer-v2="1"] form,
.mh-site-footer[data-mh-footer-v2="1"] input,
.mh-site-footer[data-mh-footer-v2="1"] select,
.mh-site-footer[data-mh-footer-v2="1"] textarea,
.mh-site-footer[data-mh-footer-v2="1"] table {
    max-width: 100% !important;
    box-sizing: border-box;
}

.mh-site-footer[data-mh-footer-v2="1"] img,
.mh-site-footer[data-mh-footer-v2="1"] iframe {
    display: block;
    height: auto;
    margin-inline: auto;
}

.mh-site-footer[data-mh-footer-v2="1"] .widget_archive ul,
.mh-site-footer[data-mh-footer-v2="1"] .widget_categories ul,
.mh-site-footer[data-mh-footer-v2="1"] .widget {
    min-height: 0;
    height: auto;
}

.mh-footer-nav {
    margin: 28px 0 16px;
}

.mh-footer-nav .menu,
.mh-footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mh-footer-identity {
    text-align: center;
    padding-top: 8px;
    color: #f6eef2;
}

.mh-footer-sitename,
.mh-footer-copy {
    margin: 0 0 6px;
    color: #f6eef2;
}

@media (max-width: 900px) {
    .mh-site-footer[data-mh-footer-v2="1"] .mh-footer-widgets,
    .mh-site-footer[data-mh-footer-v2="1"] .mh-footer-widgets:has(> :nth-child(2)) {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .mh-site-footer[data-mh-footer-v2="1"] form.search-form,
    .mh-site-footer[data-mh-footer-v2="1"] .search-box,
    .mh-site-footer[data-mh-footer-v2="1"] .wp-block-search__inside-wrapper,
    .mh-site-footer[data-mh-footer-v2="1"] form[role="search"] {
        flex-wrap: wrap;
    }

    .mh-site-footer[data-mh-footer-v2="1"] {
        padding: 28px 16px 24px;
    }
}
