/*
 * Астролошка Работилница — real site footer.
 * Loaded after site-overrides.css. Every rule is scoped to #ar-site-bottom.
 */

/* Disable every historical CSS-generated footer. */
html body::after {
    content: none !important;
    display: none !important;
}

html body footer#ar-site-bottom::before,
html body footer#ar-site-bottom::after {
    content: none !important;
    display: none !important;
}

html body footer#ar-site-bottom {
    position: relative !important;
    z-index: 2 !important;
    isolation: isolate !important;
    display: block !important;
    visibility: visible !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: clamp(58px, 6vw, 92px) 0 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    border: 0 !important;
    border-top: 4px solid #9b78a5 !important;
    border-radius: 0 !important;
    background:
        radial-gradient(circle at 15% 16%, rgba(155, 120, 165, 0.14), transparent 27%),
        radial-gradient(circle at 82% 18%, rgba(194, 162, 109, 0.10), transparent 26%),
        linear-gradient(135deg, #0c1b29 0%, #101923 53%, #17141e 100%) !important;
    color: #f5f1eb !important;
    -webkit-text-fill-color: currentColor !important;
    text-align: left !important;
    box-shadow: 0 -16px 40px rgba(7, 15, 24, 0.16) !important;
    box-sizing: border-box !important;
}

html body footer#ar-site-bottom,
html body footer#ar-site-bottom * {
    box-sizing: border-box !important;
}

html body footer#ar-site-bottom .ar-bottom-main {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: clamp(44px, 5vw, 70px) clamp(22px, 5vw, 72px) clamp(42px, 5vw, 64px) !important;
    opacity: 1 !important;
}

html body footer#ar-site-bottom .ar-bottom-grid {
    display: grid !important;
    visibility: visible !important;
    width: min(1380px, 100%) !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    grid-template-columns: 1.05fr 1.45fr 1.12fr 1.08fr !important;
    gap: clamp(28px, 3.4vw, 54px) !important;
    align-items: start !important;
    opacity: 1 !important;
}

html body footer#ar-site-bottom .ar-bottom-section {
    display: block !important;
    visibility: visible !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    color: #f5f1eb !important;
    -webkit-text-fill-color: #f5f1eb !important;
    background: transparent !important;
    border: 0 !important;
}

html body footer#ar-site-bottom h2 {
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-transform: none !important;
    opacity: 1 !important;
}

html body footer#ar-site-bottom .ar-bottom-accent {
    display: block !important;
    visibility: visible !important;
    width: 44px !important;
    height: 3px !important;
    min-height: 3px !important;
    max-height: 3px !important;
    margin: 13px 0 23px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #b58ebf, #c7a46c) !important;
    opacity: 1 !important;
}

html body footer#ar-site-bottom a {
    text-decoration: none !important;
    transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease !important;
}

/* Most viewed */
html body footer#ar-site-bottom .ar-bottom-popular-list {
    counter-reset: ar-popular !important;
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

html body footer#ar-site-bottom .ar-bottom-popular-list li {
    position: relative !important;
    display: block !important;
    visibility: visible !important;
    margin: 0 0 20px !important;
    padding: 0 0 0 31px !important;
    counter-increment: ar-popular !important;
    opacity: 1 !important;
}

html body footer#ar-site-bottom .ar-bottom-popular-list li:last-child {
    margin-bottom: 0 !important;
}

html body footer#ar-site-bottom .ar-bottom-popular-list li::before {
    content: counter(ar-popular, decimal-leading-zero) !important;
    position: absolute !important;
    top: 2px !important;
    left: 0 !important;
    display: block !important;
    color: #c8a8cf !important;
    -webkit-text-fill-color: #c8a8cf !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

html body footer#ar-site-bottom .ar-bottom-popular-list a {
    display: block !important;
    visibility: visible !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f6f2ed !important;
    -webkit-text-fill-color: #f6f2ed !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.48 !important;
    text-align: left !important;
    transform: none !important;
}

html body footer#ar-site-bottom .ar-bottom-popular-list a:hover,
html body footer#ar-site-bottom .ar-bottom-popular-list a:focus-visible {
    color: #e8cbee !important;
    -webkit-text-fill-color: #e8cbee !important;
    background: transparent !important;
    transform: none !important;
    outline: none !important;
}

/* Last updated */
html body footer#ar-site-bottom .ar-bottom-updated-grid {
    display: grid !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 11px 14px !important;
}

html body footer#ar-site-bottom a.ar-bottom-update {
    display: grid !important;
    visibility: visible !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    grid-template-columns: 66px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f4f0eb !important;
    -webkit-text-fill-color: #f4f0eb !important;
    text-align: left !important;
    transform: none !important;
}

html body footer#ar-site-bottom a.ar-bottom-update:hover,
html body footer#ar-site-bottom a.ar-bottom-update:focus-visible {
    color: #e8cbee !important;
    -webkit-text-fill-color: #e8cbee !important;
    background: transparent !important;
    transform: translateY(-1px) !important;
    outline: none !important;
}

html body footer#ar-site-bottom .ar-bottom-update-media {
    display: block !important;
    visibility: visible !important;
    width: 66px !important;
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 5px !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

html body footer#ar-site-bottom .ar-bottom-update-media img {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    filter: saturate(0.84) contrast(1.04) !important;
    opacity: 1 !important;
}

html body footer#ar-site-bottom .ar-bottom-placeholder {
    display: grid !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #cfb2d5 !important;
    -webkit-text-fill-color: #cfb2d5 !important;
    font-size: 25px !important;
    background: linear-gradient(145deg, #172b3a, #261d2f) !important;
}

html body footer#ar-site-bottom .ar-bottom-update-copy,
html body footer#ar-site-bottom .ar-bottom-update-title,
html body footer#ar-site-bottom .ar-bottom-update time {
    display: block !important;
    visibility: visible !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
}

html body footer#ar-site-bottom .ar-bottom-update-title {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

html body footer#ar-site-bottom .ar-bottom-update time {
    margin-top: 5px !important;
    color: #aaa7a4 !important;
    -webkit-text-fill-color: #aaa7a4 !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

/* Tags */
html body footer#ar-site-bottom .ar-bottom-tag-list {
    display: flex !important;
    visibility: visible !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body footer#ar-site-bottom .ar-bottom-tag-list a {
    display: inline-flex !important;
    visibility: visible !important;
    width: auto !important;
    max-width: none !important;
    min-height: 32px !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    align-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.035) !important;
    color: #ece7e1 !important;
    -webkit-text-fill-color: #ece7e1 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    transform: none !important;
}

html body footer#ar-site-bottom .ar-bottom-tag-list a:hover,
html body footer#ar-site-bottom .ar-bottom-tag-list a:focus-visible {
    border-color: #b990c3 !important;
    background: rgba(179, 144, 195, 0.14) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: none !important;
    outline: none !important;
}

/* Follow */
html body footer#ar-site-bottom .ar-bottom-follow p {
    display: block !important;
    visibility: visible !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: #cac5bf !important;
    -webkit-text-fill-color: #cac5bf !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    text-align: left !important;
}

html body footer#ar-site-bottom .ar-bottom-contact-list {
    display: flex !important;
    visibility: visible !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body footer#ar-site-bottom a.ar-bottom-facebook,
html body footer#ar-site-bottom a.ar-bottom-email {
    display: inline-flex !important;
    visibility: visible !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    align-items: center !important;
    gap: 9px !important;
    text-align: left !important;
    opacity: 1 !important;
}

html body footer#ar-site-bottom a.ar-bottom-facebook {
    min-height: 41px !important;
    padding: 9px 17px !important;
    border: 1px solid #af89bb !important;
    border-radius: 4px !important;
    background: #9f70ad !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

html body footer#ar-site-bottom a.ar-bottom-facebook:hover,
html body footer#ar-site-bottom a.ar-bottom-facebook:focus-visible {
    border-color: #c89bd3 !important;
    background: #b17ebf !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-1px) !important;
    outline: none !important;
}

html body footer#ar-site-bottom .ar-bottom-social-icon {
    display: inline-grid !important;
    visibility: visible !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    padding: 0 !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #7b4d88 !important;
    -webkit-text-fill-color: #7b4d88 !important;
    font-family: Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

html body footer#ar-site-bottom a.ar-bottom-email {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #e1dcd5 !important;
    -webkit-text-fill-color: #e1dcd5 !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
    transform: none !important;
}

html body footer#ar-site-bottom a.ar-bottom-email:hover,
html body footer#ar-site-bottom a.ar-bottom-email:focus-visible {
    color: #e8cbee !important;
    -webkit-text-fill-color: #e8cbee !important;
    background: transparent !important;
    transform: none !important;
    outline: none !important;
}

html body footer#ar-site-bottom .ar-bottom-mail-icon {
    display: inline-block !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #c9a96e !important;
    -webkit-text-fill-color: #c9a96e !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

/* Bottom bar */
html body footer#ar-site-bottom .ar-bottom-bar {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
    background: rgba(4, 9, 15, 0.44) !important;
    opacity: 1 !important;
}

html body footer#ar-site-bottom .ar-bottom-bar-inner {
    display: flex !important;
    visibility: visible !important;
    width: min(1380px, 100%) !important;
    min-height: 66px !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    padding: 17px clamp(22px, 5vw, 72px) !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    opacity: 1 !important;
}

html body footer#ar-site-bottom .ar-bottom-bar p {
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #c8c3bd !important;
    -webkit-text-fill-color: #c8c3bd !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

html body footer#ar-site-bottom .ar-bottom-nav {
    display: flex !important;
    visibility: visible !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body footer#ar-site-bottom .ar-bottom-nav a {
    display: inline-block !important;
    visibility: visible !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #f2eee9 !important;
    -webkit-text-fill-color: #f2eee9 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    transform: none !important;
}

html body footer#ar-site-bottom .ar-bottom-nav a:hover,
html body footer#ar-site-bottom .ar-bottom-nav a:focus-visible {
    color: #e8cbee !important;
    -webkit-text-fill-color: #e8cbee !important;
    background: transparent !important;
    transform: none !important;
    outline: none !important;
}

html body footer#ar-site-bottom .ar-bottom-empty {
    display: block !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #c9c5c0 !important;
    -webkit-text-fill-color: #c9c5c0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

@media (max-width: 1080px) {
    html body footer#ar-site-bottom .ar-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 42px 36px !important;
    }
}

@media (max-width: 700px) {
    html body footer#ar-site-bottom {
        margin-top: 48px !important;
    }

    html body footer#ar-site-bottom .ar-bottom-main {
        padding: 39px 18px 38px !important;
    }

    html body footer#ar-site-bottom .ar-bottom-grid {
        grid-template-columns: 1fr !important;
        gap: 38px !important;
    }

    html body footer#ar-site-bottom h2,
    html body footer#ar-site-bottom .ar-bottom-follow p {
        text-align: left !important;
    }

    html body footer#ar-site-bottom .ar-bottom-updated-grid {
        grid-template-columns: 1fr !important;
        gap: 13px !important;
    }

    html body footer#ar-site-bottom a.ar-bottom-update {
        width: 100% !important;
        max-width: none !important;
        grid-template-columns: 82px minmax(0, 1fr) !important;
    }

    html body footer#ar-site-bottom .ar-bottom-update-media {
        width: 82px !important;
        height: 64px !important;
        min-height: 64px !important;
        max-height: 64px !important;
    }

    html body footer#ar-site-bottom .ar-bottom-contact-list {
        align-items: flex-start !important;
    }

    html body footer#ar-site-bottom a.ar-bottom-facebook,
    html body footer#ar-site-bottom a.ar-bottom-email {
        width: auto !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    html body footer#ar-site-bottom .ar-bottom-bar-inner {
        min-height: 0 !important;
        padding: 22px 18px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 14px !important;
    }

    html body footer#ar-site-bottom .ar-bottom-nav {
        gap: 16px !important;
    }
}
