/* Theme: Bubastis_2026_PineGr
Modern responsive layer ^_^
Replaces the old Artisteer style.responsive.css */
/* Desktop remains controlled by style.css. */
/* Responsive-mode markers used by script.responsive.js. */
#art-resp,
#art-resp-m,
#art-resp-t,
#art-resp-tablet-landscape,
#art-resp-tablet-portrait,
#art-resp-phone-landscape,
#art-resp-phone-portrait {
    display: none;
}

.art-nav .art-menu-btn,
.art-nav .art-submenu-toggle,
.art-nav .art-search-toggle,
.art-nav .art-mobile-nav-controls,
.art-nav .art-mobile-search {
    display: none;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 999px) {
    #art-resp,
    #art-resp-t {
        display: block;
    }

    blockquote {
        margin: 1em 0.25em 1.2em;
        padding: 14px 16px 15px 17px;
    }

    body.search-no-results .art-content > p {
        margin: 0 !important;
        padding: 14px 16px 18px !important;
    }

    body.search-no-results .art-content > p .art-search-empty-title {
        font-size: 30px !important;
        line-height: 1.15 !important;
    }

    body.search-no-results .art-content > p .art-search-empty-text {
        font-size: 17px !important;
        line-height: 1.55 !important;
    }
}

@media (max-width: 480px) {
    #art-resp,
    #art-resp-m {
        display: block;
    }

    #art-resp-t {
        display: none;
    }
}

@media (min-width: 980px) and (max-width: 1199px) {
    #art-resp-tablet-landscape {
        display: block;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    #art-resp-tablet-portrait {
        display: block;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    #art-resp-phone-landscape {
        display: block;
    }
}

@media (max-width: 479px) {
    #art-resp-phone-portrait {
        display: block;
    }

    body.search-no-results .art-content > p {
        padding: 12px 14px 18px !important;
    }

    body.search-no-results .art-content > p .art-search-empty-title {
        font-size: 27px !important;
    }

    body.search-no-results .art-content > p .art-search-empty-text {
        font-size: 17px !important;
        line-height: 1.52 !important;
    }
}

@media (max-width: 999px) {
    html,
    body {
        width: 100%;
        min-width: 0 !important;
        overflow-x: hidden;
    }

    body {
        margin: 0;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    #art-main {
        width: 100%;
        min-height: 100vh;
        overflow-x: hidden;

        /* * On desktop page-base.jpeg starts 168px above the dark sand strip,
         * exactly behind the 168px header. The responsive header becomes
         * shorter, so move both page backgrounds upward by the same amount.
         * This keeps the darker sand transition directly below the header. */
        background-position: center calc(16.7665vw - 168px),
            center calc(1623px + 16.7665vw) !important;
    }

    .art-sheet {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        border-radius: 0;
    }

    /* Keep the complete 1002 x 168 header visible instead of cropping it. */
    .art-header,
    .custom-responsive .art-header,
    .default-responsive .art-header,
    .default-responsive #art-header-bg {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1002 / 168;
        background-image: url('images/header.jpg') !important;
        background-size: 100% 100% !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
    }

    .art-header::before,
    .art-header::after {
        display: none;
    }

    .art-shapes {
        position: absolute !important;
        inset: 0 !important;
    }

    .art-header-home {
        position: absolute !important;
        inset: 0 !important;
    }

    /* Mobile navigation */
    nav.art-nav,
    .art-nav {
        position: relative !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 8px 12px !important;
        box-sizing: border-box;
        text-align: center !important;
        z-index: 500;
    }

    .art-nav .art-mobile-nav-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .art-nav .art-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-width: 124px;
        min-height: 42px;
        margin: 0;
        padding: 8px 16px;
        border: 1px solid #6B310F;
        border-radius: 5px;
        background: linear-gradient(to bottom, #8A4518 0%, #4B230C 100%);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.28);
        color: #FDCF72;
        font: 700 16px/1.2 'Trebuchet MS', Arial, Helvetica, sans-serif;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        cursor: pointer;
    }

    .art-nav .art-menu-btn::before {
        content: "";
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        background: url('images/blockheadericon.png') center / contain no-repeat;
    }

    .art-nav .art-menu-btn::after {
        content: "▾";
        font-size: 15px;
        line-height: 1;
        transition: transform 0.18s ease;
    }

    .art-nav .art-menu-btn.is-open::after {
        transform: rotate(180deg);
    }

    .art-nav .art-search-toggle {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 46px;
        width: 46px;
        height: 42px;
        margin: 0;
        padding: 0;
        border: 1px solid #6B310F;
        border-radius: 5px;
        background: linear-gradient(to bottom, #8A4518 0%, #4B230C 100%);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.28);
        color: #FDCF72;
        cursor: pointer;
    }

    .art-nav .art-search-toggle::before {
        content: "";
        width: 14px;
        height: 14px;
        box-sizing: border-box;
        border: 3px solid currentColor;
        border-radius: 50%;
        transform: translate(-2px, -2px);
    }

    .art-nav .art-search-toggle::after {
        content: "";
        position: absolute;
        width: 10px;
        height: 3px;
        border-radius: 2px;
        background: currentColor;
        transform: translate(7px, 7px) rotate(45deg);
        transform-origin: center;
    }

    .art-nav .art-search-toggle.is-open {
        background: linear-gradient(to bottom, #A95A20 0%, #5A290D 100%);
    }

    .art-nav .art-mobile-search {
        width: min(680px, 100%);
        margin: 8px auto 0;
        padding: 8px;
        box-sizing: border-box;
        border: 1px solid rgba(76, 35, 12, 0.78);
        border-radius: 6px;
        background: rgba(67, 31, 10, 0.96);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    }

    .art-nav .art-mobile-search.visible {
        display: block;
    }

    .art-nav .art-mobile-search-form {
        display: flex;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .art-nav .art-mobile-search-field {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        height: 44px;
        margin: 0 !important;
        padding: 8px 12px !important;
        box-sizing: border-box;
        border: 1px solid rgba(253, 207, 114, 0.48) !important;
        border-radius: 4px !important;
        background: #FFF9EE !important;
        box-shadow: none !important;
        color: #271902 !important;
        font: 400 17px/1.2 Calibri, Arial, sans-serif !important;
        text-align: left !important;
    }

    .art-nav .art-mobile-search-field::placeholder {
        color: #725744;
        opacity: 1;
    }

    .art-nav .art-mobile-search-submit {
        flex: 0 0 auto;
        min-width: 72px;
        height: 44px;
        margin: 0;
        padding: 0 14px;
        border: 1px solid #6B310F;
        border-radius: 4px;
        background: linear-gradient(to bottom, #F5A10F 0%, #B57508 100%);
        color: #2B1604;
        font: 700 16px/1.2 Calibri, Arial, sans-serif;
        cursor: pointer;
    }

    .art-nav .art-menu-btn:focus-visible,
    .art-nav .art-search-toggle:focus-visible,
    .art-nav .art-mobile-search-field:focus-visible,
    .art-nav .art-mobile-search-submit:focus-visible,
    .art-nav a:focus-visible,
    .art-nav .art-submenu-toggle:focus-visible {
        outline: 3px solid rgba(253, 207, 114, 0.85);
        outline-offset: 2px;
    }

    .art-nav ul.art-hmenu {
        display: none;
        width: min(680px, 100%);
        max-height: 72vh;
        margin: 8px auto 0 !important;
        padding: 6px !important;
        overflow-y: auto;
        float: none !important;
        box-sizing: border-box;
        border: 1px solid rgba(76, 35, 12, 0.78);
        border-radius: 6px;
        background: rgba(67, 31, 10, 0.96);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
        text-align: left !important;
    }

    .art-nav ul.art-hmenu.visible {
        display: block;
    }

    .art-nav ul.art-hmenu li,
    .art-nav ul.art-hmenu > li {
        position: relative;
        display: block;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .art-nav ul.art-hmenu li::before,
    .art-nav ul.art-hmenu > li::before {
        display: none !important;
    }

    .art-nav ul.art-hmenu a,
    .art-nav ul.art-hmenu a:link,
    .art-nav ul.art-hmenu a:visited,
    .art-nav ul.art-hmenu a:hover,
    .art-nav ul.art-hmenu > li > a,
    .art-nav ul.art-hmenu > li > a:hover {
        display: block;
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 44px;
        margin: 0 !important;
        padding: 11px 46px 11px 14px !important;
        box-sizing: border-box;
        border: 0;
        border-bottom: 1px solid rgba(253, 207, 114, 0.22);
        border-radius: 0;
        background: transparent !important;
        color: #F8E0B1 !important;
        font: 700 17px/1.35 Calibri, Arial, sans-serif !important;
        text-align: left !important;
        text-decoration: none !important;
        text-transform: none !important;
        white-space: normal !important;
    }

    .art-nav ul.art-hmenu > li:last-child > a {
        border-bottom: 0;
    }

    .art-nav ul.art-hmenu a:hover,
    .art-nav ul.art-hmenu a.active,
    .art-nav ul.art-hmenu li.current-menu-item > a,
    .art-nav ul.art-hmenu li.current-menu-ancestor > a {
        background: rgba(245, 159, 10, 0.18) !important;
        color: #FFD784 !important;
    }

    .art-nav .art-submenu-toggle {
        display: block;
        position: absolute;
        top: 4px;
        right: 4px;
        z-index: 20;
        width: 38px;
        height: 36px;
        padding: 0;
        border: 0;
        border-radius: 4px;
        background: rgba(255, 255, 255, 0.08);
        color: #FDCF72;
        font: 700 18px/1 Arial, sans-serif;
        cursor: pointer;
    }

    .art-nav .art-submenu-toggle::before {
        content: "+";
    }

    .art-nav li.submenu-open > .art-submenu-toggle::before {
        content: "−";
    }

    .art-nav ul.art-hmenu ul,
    .art-nav ul.art-hmenu > li > ul,
    .art-nav ul.art-hmenu ul ul {
        position: static !important;
        display: none !important;
        visibility: visible !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 0 4px 12px !important;
        box-sizing: border-box;
        background: rgba(250, 230, 190, 0.08) !important;
        box-shadow: none !important;
    }

    .art-nav ul.art-hmenu li.submenu-open > ul {
        display: block !important;
    }

    .art-nav ul.art-hmenu ul::before,
    .art-nav ul.art-hmenu > li > ul::before,
    .art-nav ul.art-hmenu > li > ul > li:first-child::after {
        display: none !important;
    }

    .art-nav ul.art-hmenu ul li a,
    .art-nav ul.art-hmenu ul a,
    .art-nav ul.art-hmenu ul a:link,
    .art-nav ul.art-hmenu ul a:visited,
    .art-nav ul.art-hmenu ul a:hover {
        min-height: 40px;
        padding: 9px 42px 9px 12px !important;
        background: transparent !important;
        color: #F2D6A1 !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 1.35 !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(253, 207, 114, 0.14);
    }

    .art-nav ul.art-hmenu ul li:last-child > a {
        border-bottom: 0;
    }

    /* Main layout: article first, sidebars afterwards. */
    .art-content-layout,
    .art-content-layout-row,
    .art-layout-cell {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
    }

    .art-content-layout-row {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
    }

    .art-content-layout .art-content {
        order: 1;
        width: 100% !important;
    }

    .art-content-layout .art-sidebar1 {
        order: 2;
        display: block !important;
        width: 100% !important;
        padding: 140px 0 24px !important;
    }

    /* Keep the complete first sidebar after the article on every small screen. */
    .art-content-layout .art-sidebar1 > .art-sidebar1-parchment {
        margin: 0 auto 24px !important;
    }

    .art-content-layout .art-sidebar2 {
        order: 3;
        width: 100% !important;
    }

    .art-post {
        margin: 0 !important;
        padding: 14px 16px 18px !important;
    }

    .art-postheader,
    .art-postheader a {
        font-size: 27px !important;
        line-height: 1.18 !important;
        overflow-wrap: anywhere;
    }

    .art-postcontent,
    .art-postcontent li,
    .art-postcontent table,
    .art-postcontent a,
    .art-postcontent a:link,
    .art-postcontent a:visited,
    .art-postcontent a:hover {
        font-size: 17px !important;
        line-height: 1.55 !important;
    }

    .art-postcontent h1,
    .art-postcontent h1 a {
        margin: 0 0 0.45em !important;
        font-size: 30px !important;
        line-height: 1.15 !important;
        overflow-wrap: anywhere;
    }

    .art-postcontent h2,
    .art-postcontent h2 a {
        margin: 0.9em 0 0.4em !important;
        font-size: 26px !important;
        line-height: 1.2 !important;
        overflow-wrap: anywhere;
    }

    .art-postcontent h3,
    .art-postcontent h3 a {
        font-size: 23px !important;
        line-height: 1.25 !important;
    }

    .art-postcontent h4,
    .art-postcontent h4 a {
        font-size: 21px !important;
    }

    .art-postcontent img,
    .art-postcontent video,
    .art-postcontent iframe,
    .art-content-layout img,
    .art-content-layout video {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
    }

    .art-postcontent table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
    }

    .art-sidebar2 {
        padding: 12px 16px 24px !important;
    }

    .art-sidebar2 .widget {
        width: 100%;
        max-width: 680px;
        margin: 0 auto 16px !important;
    }

    .art-footer {
        padding: 14px 16px !important;
    }
}

@media (max-width: 767px) {
    .art-postcontent .alignleft,
    .art-postcontent img.alignleft,
    .art-postcontent figure.alignleft,
    .art-postcontent .alignright,
    .art-postcontent img.alignright,
    .art-postcontent figure.alignright {
        float: none !important;
        display: block !important;
        margin: 10px auto 16px !important;
    }

    .art-postcontent .wp-caption {
        width: auto !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 479px) {
    nav.art-nav,
    .art-nav {
        padding: 7px 10px !important;
    }

    .art-nav ul.art-hmenu {
        width: 100%;
        max-height: 68vh;
    }

    .art-post {
        padding: 12px 14px 18px !important;
    }

    .art-postheader,
    .art-postheader a {
        font-size: 24px !important;
    }

    .art-postcontent h1,
    .art-postcontent h1 a {
        font-size: 27px !important;
    }

    .art-postcontent h2,
    .art-postcontent h2 a {
        font-size: 24px !important;
    }

    .art-postcontent h3,
    .art-postcontent h3 a {
        font-size: 21px !important;
    }

    .art-postcontent,
    .art-postcontent li,
    .art-postcontent table,
    .art-postcontent a,
    .art-postcontent a:link,
    .art-postcontent a:visited,
    .art-postcontent a:hover {
        font-size: 17px !important;
        line-height: 1.52 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .art-nav .art-menu-btn::after {
        transition: none;
    }
}

@media (max-width: 999px) {
    .art-content-top-widget-area {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 479px) {
    .art-content-top-widget-area {
        padding-left: 14px;
        padding-right: 14px;
    }

    .art-content-top-widget-area .rank-math-breadcrumb,
    .art-content-top-widget-area .rank-math-breadcrumb a {
        font-size: 13px;
    }
}