/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.13.0.1777153189
Updated: 2026-04-25 21:39:49

*/


/* =========================
   1. Base / Mobile
   ========================= */

.archive-page-wrap {
    padding-top: 20px;
    padding-bottom: 20px;
}

.archive-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

.archive-sidebar {
    position: static;
}

.archive-page-title {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.2;
}

.archive-months-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.archive-month-item {
    margin: 0;
    padding: 0;
}

.archive-month-link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    text-decoration: none;
    color: #000;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.archive-month-link:hover,
.archive-month-link:focus {
    background: #f3f6ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    text-decoration: none;
    color: #000;
}

.archive-month-link .month-name {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    font-size: clamp(22px, 2.4vw, 28px); /* 22px на мобиле, 28px на десктопе */
    font-weight: 500;
    line-height: 1.15;
    color: #000;
}

.archive-month-link .open-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 10px 16px;
    background: #050ced;
    color: #fff;
    border-radius: 8px;
    font-size: 16px; /* размер шрифта месяца на кнопке */
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.archive-month-link:hover .open-btn,
.archive-month-link:focus .open-btn {
    background: #0308b8;
    color: #fff;
}

.archive-month-link.is-active {
    background: #dfe7ff;
    box-shadow: 0 4px 14px rgba(5, 12, 237, 0.18);
    outline: 2px solid #050ced;
    outline-offset: 0;
}

.archive-month-link.is-active .open-btn {
    background: #050ced;
}

.archive-content-title {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.2;
}

.archive-cards {
    display: grid;
    gap: 12px;
}

.archive-service-card {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.archive-service-inner {
    margin: 0;
    padding: 0;
    text-align: center;
}

.archive-service-title {
    margin: 0;
    text-align: center;
    color: var(--ast-global-color-8, #000);
    font-size: 1.375rem;
    line-height: 1.45;
}

.archive-service-buttons {
    display: flex;
    justify-content: center;
    padding-top: 18px;
    padding-bottom: 18px;
}

.archive-service-buttons .wp-block-buttons {
    margin: 0;
    justify-content: center;
}

.archive-service-buttons .wp-block-button {
    margin: 0;
}

.archive-play-button,
.archive-service-buttons .wp-block-button__link {
    display: inline-block;
    padding: 12px 28px;
    background-color: #050ced !important;
    color: #fff !important;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 0;
    border: 0;
}

.archive-play-button:hover,
.archive-play-button:focus,
.archive-service-buttons .wp-block-button__link:hover,
.archive-service-buttons .wp-block-button__link:focus {
    background-color: #0308b8 !important;
    color: #fff !important;
}

.archive-empty {
    padding: 20px 0 40px;
}

/* =========================
   2. Tablet
   min-width: 768px
   ========================= */

@media (min-width: 768px) {
    .archive-page-title {
        font-size: 30px;
    }

    .archive-content-title {
        font-size: 30px;
    }

    .archive-cards {
        gap: 16px;
    }

    .archive-service-title {
        font-size: 1.5rem;
    }

    .archive-service-buttons {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* =========================
   3. Mobile tweak
   max-width: 767px
   ========================= */

@media (max-width: 767px) {
    .archive-months-list {
        gap: 10px;
    }

    .archive-month-link {
        gap: 10px;
        padding: 12px 12px;
    }

    .archive-month-link .month-name {
        font-size: clamp(20px, 5.5vw, 24px);
    }

    .archive-month-link .open-btn {
        min-width: 82px;
        padding: 9px 12px;
        font-size: 14px; /* размер шрифта месяца на кнопке */
    }
}

/* =========================
   4. Desktop
   min-width: 1024px
   ========================= */

@media (min-width: 1024px) {
    .archive-layout {
        grid-template-columns: minmax(0, 1fr) 380px; /*Регулировка ширины сайдбара: 240px стандарт, 320px шире*/
        grid-template-areas: "content sidebar";
    }

    .archive-content {
        grid-area: content;
    }

    .archive-sidebar {
        grid-area: sidebar;
        position: sticky;
        top: 24px;
    }
}

/* ========================================
   Upcoming Funerals shortcode — compact
   Replace old .smc-upcoming-funerals styles
   ======================================== */

.smc-upcoming-funerals {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.smc-upcoming-funerals,
.smc-upcoming-funerals * {
    box-sizing: border-box;
}

/* Reset inner spacing from theme / Gutenberg */
.smc-upcoming-funerals__item > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.smc-upcoming-funerals__title {
    margin: 0 0 14px;
    text-align: center;
    line-height: 1.2;
}

.smc-upcoming-funerals__list {
    display: grid;
    gap: 10px !important;
}

.smc-upcoming-funerals__item {
    padding: 16px 18px !important;
    background: #f9f9f9;
    border-radius: 12px;
}

.smc-upcoming-funerals__name {
    margin: 0 0 8px !important;
    text-align: center;
    font-size: clamp(26px, 3.2vw, 34px);
    line-height: 1.25 !important;
    font-weight: 600;
    color: #000;
}

.smc-upcoming-funerals__location {
    margin: 0 0 10px !important;
    text-align: center;
    font-size: clamp(20px, 3vw, 28px);
    line-height: 1.15 !important;
    font-weight: 400;
    color: #000;
}

.smc-upcoming-funerals__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.smc-upcoming-funerals__button,
.smc-upcoming-funerals__actions a.smc-upcoming-funerals__button,
.smc-upcoming-funerals__actions span.smc-upcoming-funerals__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px !important;
    padding: 8px 20px !important;
    background-color: #050ced;
    color: #fff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.1 !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    white-space: nowrap;
}

.smc-upcoming-funerals__button:hover,
.smc-upcoming-funerals__button:focus,
.smc-upcoming-funerals__actions a.smc-upcoming-funerals__button:hover,
.smc-upcoming-funerals__actions a.smc-upcoming-funerals__button:focus {
    background-color: #0308b8;
    color: #fff !important;
    text-decoration: none !important;
}

.smc-upcoming-funerals__button.is-disabled,
.smc-upcoming-funerals__actions span.smc-upcoming-funerals__button.is-disabled {
    background-color: #9aa0a6;
    color: #fff !important;
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 767px) {
    .smc-upcoming-funerals__item {
        padding: 12px !important;
    }

    .smc-upcoming-funerals__name {
        font-size: clamp(20px, 6vw, 26px);
    }

    .smc-upcoming-funerals__location {
        font-size: clamp(18px, 5.5vw, 24px);
    }

    .smc-upcoming-funerals__button,
    .smc-upcoming-funerals__actions a.smc-upcoming-funerals__button,
    .smc-upcoming-funerals__actions span.smc-upcoming-funerals__button {
        width: 100%;
        max-width: 320px;
        white-space: normal;
        text-align: center;
    }
}

/* ========================================
   Archive hub — centered sidebar widget
   ======================================== */
.smc-archive-hub-page {
    width: 100%;
}

.smc-archive-hub-entry {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

.smc-archive-hub-content {
    max-width: 760px;
    margin: 0 auto 20px;
    text-align: center;
}

.smc-archive-hub-content > *:last-child {
    margin-bottom: 0;
}

.smc-archive-hub-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.smc-archive-hub-widget {
    width: 100%;
    max-width: 460px;
    margin: 0;
    padding: 22px 22px 18px;
    background: #f9f9f9;
    border-radius: 12px;
    box-sizing: border-box;
}

.smc-archive-hub-list,
.smc-archive-hub-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.smc-archive-hub-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.smc-archive-hub-list li {
    margin: 0;
    padding: 0;
}

.smc-archive-hub-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 16px;
    text-decoration: none;
    color: #000;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

.smc-archive-hub-list a:hover,
.smc-archive-hub-list a:focus {
    background: #f3f6ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    text-decoration: none;
}

.smc-archive-hub-list .month-name {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 500;
    line-height: 1.15;
    color: #000;
}

.smc-archive-hub-list .open-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 10px 16px;
    background: #050ced;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.smc-archive-hub-list a:hover .open-btn,
.smc-archive-hub-list a:focus .open-btn {
    background: #0308b8;
    color: #fff;
}

@media (max-width: 767px) {
    .smc-archive-hub-entry {
        padding: 18px 12px 28px;
    }

    .smc-archive-hub-widget {
        max-width: 100%;
        padding: 18px 16px 14px;
    }

    .smc-archive-hub-list {
        gap: 10px;
    }

    .smc-archive-hub-list a {
        gap: 10px;
        padding: 12px 12px;
    }

    .smc-archive-hub-list .month-name {
        font-size: clamp(20px, 5.5vw, 24px);
    }

    .smc-archive-hub-list .open-btn {
        min-width: 82px;
        padding: 9px 12px;
        font-size: 14px;
    }
}