/* St. Basil Greek Orthodox Community Custom Stylesheet */
/* Color Palette: Deep Umber (#1C130D, #240C00), Warm Ochre Gold (#DBA860, #C4924B), Cream/Linen (#F6F4F2, #FAF8F5), Borders (#D3CFCB, #E5E1DC) */

/* Page height and footer alignment */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.body_wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}
.page_wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}
.page_content_wrap {
    flex: 1 0 auto;
    width: 100%;
    position: relative;
}
footer.footer_wrap {
    margin-top: auto;
    flex-shrink: 0;
}

/* Article layout and typography */
.stb-article-container {
    max-width: 1140px;
    margin: 60px auto 80px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 50px;
    align-items: start;
}
@media (max-width: 991px) {
    .stb-article-container {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 40px auto 60px;
    }
}
.stb-article-main {
    min-width: 0;
    font-family: "Nunito", sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #3b322e;
}
.stb-article-main p {
    margin-bottom: 24px;
}
.stb-article-main h2 {
    font-family: "Kumbh Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #240c00;
    line-height: 1.35;
    margin: 44px 0 18px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #ede9e4;
}
.stb-article-main h3 {
    font-family: "Kumbh Sans", sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #240c00;
    line-height: 1.4;
    margin: 32px 0 14px 0;
}
.stb-article-main ul, .stb-article-main ol {
    margin: 0 0 24px 20px;
    padding-left: 10px;
}
.stb-article-main li {
    margin-bottom: 10px;
}
.stb-article-main blockquote {
    background-color: #f8f6f3;
    border-left: 4px solid #dba860;
    margin: 30px 0;
    padding: 22px 28px;
    font-style: italic;
    color: #240c00;
    font-size: 18px;
    border-radius: 0 6px 6px 0;
}

/* Parish facts and information cards */
.stb-fact-card, .stb-info-box {
    background-color: #faf8f5;
    border: 1px solid #e5e1dc;
    border-top: 4px solid #dba860;
    border-radius: 6px;
    padding: 24px 28px;
    margin: 34px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.stb-fact-card h2, .stb-fact-card h3, .stb-info-box h3 {
    font-size: 20px;
    color: #240c00;
    margin: 0 0 16px 0;
    padding-bottom: 0;
    border-bottom: none;
}
.stb-fact-card dl {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px 20px;
    margin: 0;
}
@media (max-width: 575px) {
    .stb-fact-card dl {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
.stb-fact-card dt {
    font-weight: 700;
    color: #240c00;
    font-family: "Kumbh Sans", sans-serif;
    font-size: 15px;
}
.stb-fact-card dd {
    margin: 0;
    color: #554841;
    font-size: 15px;
}

/* Article images and captions */
.stb-featured-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.stb-featured-image img {
    width: 100%;
    aspect-ratio: 8 / 5;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}
.stb-featured-image img.stb-focus-upper {
    object-position: center 22%;
}

.stb-featured-caption {
    margin: 0;
    padding: 11px 16px;
    box-sizing: border-box;
    min-height: 62px;
    display: flex;
    align-items: center;
    background-color: #faf8f5;
    border-top: 1px solid #ede9e4;
    color: #6d625b;
    font-size: 13px;
    line-height: 1.5;
}

.stb-inline-figure {
    margin: 34px 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #faf8f5;
    border: 1px solid #e5e1dc;
}
.stb-inline-figure img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 420px;
    object-fit: cover;
}
.stb-inline-figure figcaption {
    padding: 12px 18px;
    font-size: 14px;
    color: #6d625b;
    font-style: italic;
    border-top: 1px solid #ede9e4;
}
.stb-source-figure {
    width: fit-content;
    max-width: 100%;
    margin: 34px auto;
}
.stb-source-figure img {
    width: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
}

/* Expandable article notes */
.stb-accordion {
    border: 1px solid #e5e1dc;
    border-radius: 6px;
    margin: 14px 0;
    background: #ffffff;
    transition: all 0.2s ease;
}
.stb-accordion[open] {
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    border-color: #dba860;
}
.stb-accordion summary {
    font-family: "Kumbh Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #240c00;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.stb-accordion summary::-webkit-details-marker {
    display: none;
}
.stb-accordion summary::after {
    content: "+";
    font-size: 20px;
    color: #dba860;
    font-weight: 700;
    transition: transform 0.2s ease;
}
.stb-accordion[open] summary::after {
    content: "\2212";
}
.stb-accordion .accordion-body {
    padding: 0 20px 18px;
    color: #554841;
    font-size: 15px;
    line-height: 1.7;
    border-top: 1px solid #f0ece8;
    margin-top: 4px;
    padding-top: 14px;
}

/* Tables */
.stb-table-wrap {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 6px;
    border: 1px solid #e5e1dc;
}
.stb-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    text-align: left;
}
.stb-table th {
    background-color: #240c00;
    color: #ffffff;
    padding: 14px 18px;
    font-family: "Kumbh Sans", sans-serif;
    font-weight: 600;
}
.stb-table td {
    padding: 12px 18px;
    border-bottom: 1px solid #ede9e4;
    color: #443833;
}
.stb-table tr:nth-child(even) {
    background-color: #faf8f5;
}
.stb-table tr:hover {
    background-color: #f4f0eb;
}

/* Article sidebar */
.stb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.stb-widget {
    background-color: #faf8f5;
    border: 1px solid #e5e1dc;
    border-radius: 6px;
    padding: 24px;
}
.stb-widget h4.widget-title {
    font-family: "Kumbh Sans", sans-serif;
    font-size: 18px;
    color: #240c00;
    font-weight: 700;
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #dba860;
}
.stb-widget-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.stb-widget-links li {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ede9e4;
}
.stb-widget-links li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.stb-widget-links a {
    color: #240c00;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.45;
    display: block;
    font-weight: 500;
    transition: color 0.2s ease;
}
.stb-widget-links a:hover, .stb-widget-links a.active {
    color: #c4924b;
}

/* Related article cards */
.stb-related-section {
    margin-top: 50px;
    padding-top: 36px;
    border-top: 2px solid #ede9e4;
}
.stb-related-section h3 {
    font-family: "Kumbh Sans", sans-serif;
    font-size: 24px;
    color: #240c00;
    margin-bottom: 22px;
}
.stb-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.stb-related-card {
    background: #faf8f5;
    border: 1px solid #e5e1dc;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stb-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.stb-related-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}
.stb-related-card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.stb-related-card-content h5 {
    font-family: "Kumbh Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #240c00;
    margin: 0 0 8px 0;
    line-height: 1.35;
}
.stb-related-card-content p {
    font-size: 13px;
    color: #665b55;
    line-height: 1.5;
    margin: 0 0 12px 0;
    flex: 1;
}
.stb-related-card-content span.read-more {
    font-size: 13px;
    font-weight: 700;
    color: #c4924b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sticky header */
.sc_layouts_row_fixed_on {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background-color: #1c130d !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* Context cards and article notes */
.stb-context-box, .stb-scope-note, .stb-record-card, .stb-food-note, .stb-archive-box,
.stb-catalog-card, .stb-calendar-card, .stb-update-note, .stb-bill-status,
.stb-conversation-card, .stb-conversation-example, .stb-observation-box,
.stb-data-card, .stb-source-card, .stb-plan-card, .stb-conservation-record, .stb-music-case {
    background: #faf8f5;
    border: 1px solid #e5e1dc;
    border-left: 4px solid #dba860;
    border-radius: 0 6px 6px 0;
    padding: 22px 26px;
    margin: 28px 0;
}
.stb-context-box h2, .stb-scope-note h2, .stb-record-card h2, .stb-food-note h2,
.stb-archive-box h2, .stb-catalog-card h2, .stb-calendar-card h2, .stb-update-note h2,
.stb-bill-status h2, .stb-conversation-card h2, .stb-conversation-example h2,
.stb-observation-box h2, .stb-data-card h2, .stb-source-card h2, .stb-plan-card h2 {
    margin-top: 0 !important;
    font-size: 20px !important;
    color: #240c00;
}
.stb-observation-box dl, .stb-data-card dl, .stb-source-card dl, .stb-plan-card dl {
    display: grid;
    grid-template-columns: minmax(140px, 210px) 1fr;
    gap: 10px 18px;
    margin: 14px 0 0 0;
}
.stb-observation-box dt, .stb-data-card dt, .stb-source-card dt, .stb-plan-card dt {
    font-weight: 700;
    color: #240c00;
}
.stb-observation-box dd, .stb-data-card dd, .stb-source-card dd, .stb-plan-card dd {
    margin: 0;
    color: #4a3f39;
}
@media (max-width: 600px) {
    .stb-observation-box dl, .stb-data-card dl, .stb-source-card dl, .stb-plan-card dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .stb-observation-box dd, .stb-data-card dd, .stb-source-card dd, .stb-plan-card dd {
        margin-bottom: 10px;
    }
}


/* Keep the home dropdown attached to its menu item. */
@media (min-width: 1201px) {
    body.home .top_panel .elementor-element-68df295 > .elementor-widget-wrap {
        flex-wrap: nowrap;
    }
    body.home .top_panel .elementor-element-ee5216d .sc_layouts_menu_nav {
        width: max-content;
    }
}
body.home .top_panel .sc_layouts_menu_nav > li > a {
    line-height: 21px;
    padding-top: 13.5px;
    padding-bottom: 13.5px;
    padding-left: 11px;
    padding-right: 11px;
}
body.home .top_panel .sc_layouts_menu_nav > li:not(.menu-collapse) > a {
    font-size: 15px;
}
body.home .top_panel .sc_layouts_menu_nav > li > .sub-menu {
    top: 100% !important;
    min-width: 260px !important;
}

/* Inner-page dropdown navigation */
.stb-main-header .menu_mobile_button {
    display: none;
}
@media (max-width: 1199px) {
    .stb-main-header nav.sc_layouts_menu,
    .stb-main-header a.sc_layouts_hide_on_mobile {
        display: none !important;
    }
    .stb-main-header .menu_mobile_button {
        display: block;
        flex: 0 0 auto;
    }
    .stb-main-header > div > a {
        flex: 0 1 auto;
        min-width: 0;
    }
    .stb-main-header > div > a img {
        max-width: min(243px, 70vw);
        height: auto !important;
        max-height: 52px;
    }
}
.stb-main-header .sc_layouts_menu_nav > li > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10000;
    list-style: none !important;
}
.stb-main-header .sc_layouts_menu_nav > li > a {
    color: #fff !important;
}
.stb-main-header .sc_layouts_menu_nav .sub-menu li {
    list-style: none !important;
}
.stb-main-header .sc_layouts_menu_nav .sub-menu a {
    color: #e2ddd8 !important;
    font-family: "Kumbh Sans", sans-serif !important;
    font-size: 14px !important;
}
.stb-main-header .sc_layouts_menu_nav .sub-menu a:hover,
.stb-main-header .sc_layouts_menu_nav .sub-menu a:focus-visible {
    color: #dba860 !important;
}
.sc_layouts_menu_nav > li:hover > .sub-menu,
.sc_layouts_menu_nav > li:focus-within > .sub-menu {
    display: block;
}
.stb-main-header .sc_layouts_menu_nav > li > a:focus-visible,
.stb-main-header .sc_layouts_menu_nav .sub-menu a:focus-visible {
    outline: 2px solid #dba860;
    outline-offset: 3px;
}
body:not(.home) .menu_mobile .menu_mobile_nav_area > ul.menu_mobile_nav > li > ul {
    display: block !important;
}
body:not(.home) .menu_mobile .menu_mobile_nav > li,
body:not(.home) .menu_mobile .menu_mobile_nav > li * {
    visibility: visible !important;
}


/* Article title and responsive content */
.stb-article-title { margin: 0 0 28px; color: #240c00; font-family: "Kumbh Sans", sans-serif; font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1.2; }
.stb-article-main img:not(.emoji) { display: block; max-width: 100%; height: auto; margin-right: auto; margin-left: auto; }
.stb-article-main table { width: 100%; border-collapse: collapse; }
.stb-article-main .stb-table-wrap,
.stb-article-main .era-grid { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.stb-article-main table th,
.stb-article-main table td { padding: 12px 16px; border-bottom: 1px solid #ede9e4; text-align: left; vertical-align: top; }
.stb-article-main table th { background: #240c00; color: #fff; font-family: "Kumbh Sans", sans-serif; font-weight: 600; }
.stb-article-main table tr:nth-child(even) { background: #faf8f5; }
.sc_layouts_menu_nav > li > .stb-menu-parent-label { color: #fff; font-family: "Kumbh Sans", sans-serif; font-size: 15px; font-weight: 600; line-height: 1.4; }
.stb-main-header .sc_layouts_menu_nav > li > .stb-menu-parent-label { display: flex; align-items: center; gap: 4px; }
.sc_layouts_menu_nav > li > .stb-menu-parent-label:focus-visible { outline: 2px solid #dba860; outline-offset: 4px; }
.stb-contact-form { display: grid; gap: 8px; margin-top: 14px; }
.stb-contact-form label { color: #3b322e; font-size: 14px; font-weight: 600; }
.stb-contact-form input,
.stb-contact-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #d3cfc8; border-radius: 4px; background: #fff; color: #3b322e; font: inherit; }
.stb-contact-form button,
.stb-static-action { display: inline-block; width: fit-content; margin-top: 8px; padding: 11px 18px; border: 0; border-radius: 4px; background: #c4924b; color: #fff; font-family: "Kumbh Sans", sans-serif; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.stb-contact-form button:hover,
.stb-static-action:hover { background: #a97b3d; color: #fff; }
.stb-contact-status { min-height: 1.5em; margin: 10px 0 0; color: #3b322e; font-size: 13px; }
.stb-contact-note,
.stb-contact-footnote,
.stb-static-note p { color: #554841; font-size: 13px; line-height: 1.6; }
.stb-contact-address,
.stb-contact-email { color: #554841; font-size: 14px; line-height: 1.6; }
.stb-contact-email a,
.stb-info-box a { color: #8a5d23; overflow-wrap: anywhere; }
.stb-static-note { max-width: 620px; margin: 18px auto; padding: 22px 24px; border: 1px solid #e5e1dc; border-top: 4px solid #dba860; border-radius: 6px; background: #faf8f5; }
.stb-contact-footnote { margin-top: 18px; padding-top: 12px; border-top: 1px solid #ede9e4; }
@media (max-width: 600px) {
    .stb-article-main table { min-width: 540px; }
    .sc_layouts_menu_nav > li > .stb-menu-parent-label { font-size: 14px; }
    .stb-orthodox-gambling .stb-table-wrap table {
        min-width: 0;
        table-layout: fixed;
    }
    .stb-orthodox-gambling .stb-table-wrap th:first-child {
        width: 37%;
    }
    .stb-orthodox-gambling .stb-table-wrap th,
    .stb-orthodox-gambling .stb-table-wrap td {
        padding: 10px;
    }
}


/* Home topic cards share one image frame. */
.home .elementor-element-449b3c91 .elementor-element-13362a3c img {
    display: block;
    width: 100%;
    height: auto;
}

.home .sc_services_unusual .sc_services_item_featured_top .sc_services_item_thumb {
    aspect-ratio: 890 / 664;
    overflow: hidden;
}
.home .sc_services_unusual .sc_services_item_featured_top .sc_services_item_thumb > img {
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    object-position: center;
}

.home .elementor-element-263edee1 .sc_blogger_item,
.home .elementor-element-263edee1 .sc_blogger_item * {
    cursor: pointer !important;
}

.home .elementor-element-263edee1 .sc_blogger_item_featured {
    aspect-ratio: 890 / 664;
    overflow: hidden;
}

.home .elementor-element-263edee1 .sc_blogger_item_featured img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.home:has(.elementor-element-263edee1 .sc_blogger_item:hover) .trx_addons_mouse_helper {
    display: none !important;
}
