/* Colors of Mara Doro — dark gallery theme */
html {
  background-color: #131110;
}
body,
body.custom-background,
.ast-container,
.site-content,
.content-area,
.site-main {
  background-color: #131110;
  color: #f3ecdd;
}

/* Header */
.site-header,
.ast-primary-header-bar,
.main-header-bar,
.ast-header-break-point .main-header-bar {
  background-color: #131110;
  border-bottom: 1px solid #d9a441;
}
.site-title a,
.site-title {
  color: #f3ecdd;
}
.site-description {
  color: #c9bda6;
}
.main-header-menu a,
.ast-header-break-point .main-header-menu a {
  color: #f3ecdd;
}
.main-header-menu a:hover,
.main-header-menu .current-menu-item > a,
.main-header-menu .current_page_item > a {
  color: #d9a441;
}

/* Text and headings */
h1, h2, h3, h4, h5, h6,
.entry-title,
.entry-title a {
  color: #f3ecdd;
}
.entry-content,
.entry-content p,
p {
  color: #f3ecdd;
}
a {
  color: #d9a441;
}
a:hover,
a:focus {
  color: #f3ecdd;
}

/* Hide the redundant page title on the static front page */
body.home .entry-header {
  display: none;
}

/* Raised panels */
.wp-block-group.has-background {
  background-color: #1c1917;
}

/* Gold divider lines */
.wp-block-separator {
  border-color: #d9a441;
  background-color: #d9a441;
  color: #d9a441;
}
.wp-block-quote {
  border-left-color: #d9a441;
  color: #f3ecdd;
}
.wp-block-quote cite {
  color: #c9bda6;
}
.wp-block-image figcaption {
  color: #c9bda6;
}

/* Buttons */
.wp-block-button__link {
  border-radius: 2px;
}
.wp-block-button.is-style-outline .wp-block-button__link {
  border: 1px solid #d9a441;
  color: #d9a441;
  background-color: transparent;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #d9a441;
  color: #131110;
}

/* Footer */
.site-footer,
.ast-footer-copyright,
.site-footer .ast-footer-copyright {
  background-color: #131110;
  color: #c9bda6;
}
.site-footer a {
  color: #d9a441;
}

/* Header — stronger overrides (Astra header builder) */
.ast-primary-header-bar .site-title a,
.ast-site-title-wrap .site-title a,
.site-title a {
  color: #f3ecdd !important;
}
.ast-primary-header-bar .main-header-menu a,
.main-header-menu a {
  color: #f3ecdd !important;
}
.ast-primary-header-bar .main-header-menu a:hover,
.ast-primary-header-bar .main-header-menu .current-menu-item > a,
.ast-primary-header-bar .main-header-menu .current_page_item > a {
  color: #d9a441 !important;
}

/* Footer widget area and above-footer */
.site-footer,
.ast-footer,
.footer-widget-area,
.footer-adv,
.ast-footer-copyright,
.site-footer .ast-container {
  background-color: #131110 !important;
}

/* Scroll to top button */
.ast-scroll-top,
#ast-scroll-top {
  background-color: #d9a441 !important;
  color: #131110 !important;
}

/* Footer — catch-all for Astra footer areas */
footer,
#colophon,
.ast-above-footer,
.footer-adv-widgets,
.ast-footer-widgets,
.ast-small-footer,
.site-footer .site-footer-copyright {
  background-color: #131110 !important;
}

/* Astra footer builder rows */
.ast-below-footer,
.ast-primary-footer,
.ast-builder-grid-row,
.ast-builder-grid-row-container,
.site-below-footer,
.site-primary-footer,
.site-footer-section,
.ast-footer-row,
.ast-grid-row {
  background-color: #131110 !important;
}
/* Gallery page: paintings fill the panel width, shown whole, never cropped */
.page-id-172 .wp-block-image img {
  width: 100%;
  height: auto;
}
/* Gallery page (article hook): paintings fill the panel width */
.post-172 .wp-block-image img {
  width: 100%;
  height: auto;
}

/* Gallery page: figure and link fill the panel so paintings stretch full width */
.page-id-172 .wp-block-image,
.post-172 .wp-block-image {
  width: 100%;
}
.page-id-172 .wp-block-image a,
.post-172 .wp-block-image a {
  display: block;
}
/* Gallery page: work titles in cream so they read on the dark panels */
.page-id-172 h3,
.post-172 h3 {
  color: #f3ecdd;
}
/* "The High Priestess" — smaller, centered, responsive */
.page-id-172 .wp-block-image .wp-image-221 {
  width: 55% !important;
  max-width: 340px !important;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* Shop page: show only the custom sections  hide the default archive loop (result count, sorting, archive grid, pagination) */
.page-id-175 .woocommerce-result-count,
.page-id-175 .woocommerce-ordering,
.page-id-175 .woocommerce-pagination {
	display: none;
}
.page-id-175 ul.products:not(.page-description ul.products),
.page-id-175 header.woocommerce-products-header ~ ul.products {
	display: none;
}
/* Shop page: hide the default archive loop — corrected scoping to .woocommerce-shop */
.woocommerce-shop .woocommerce-result-count,
.woocommerce-shop .woocommerce-ordering,
.woocommerce-shop .woocommerce-pagination {
	display: none;
}
.woocommerce-shop ul.products:not(.page-description ul.products),
.woocommerce-shop header.woocommerce-products-header ~ ul.products {
	display: none;
}
/* Shop page: hide any stray article-style entry below the sections  the page must end after Pillow Covers */
.woocommerce-shop article:not(#post-175),
.woocommerce-shop #jp-relatedposts {
	display: none;
}
/* News page */
.news-intro { color: #c9bda6; font-size: 1.1rem; }
.news-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.news-card { background: #1c1917; border: 1px solid #2e2823; padding: 28px 30px; }
.news-card .news-date { color: #d9a441; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 10px; }
.news-card h3 { color: #d9a441; margin: 0 0 12px; font-size: 1.6rem; }
.news-card p { color: #f3ecdd; margin: 0 0 12px; }
.news-card p:last-child { margin-bottom: 0; }
.news-card a { color: #d9a441; }
@media (max-width: 700px) { .news-cards { grid-template-columns: 1fr; } }

/* Gallery page (ID 172): smaller images on desktop only  The High Priestess (.wp-image-221) is excluded, its own rule stays */
@media (min-width: 768px) {
  .page-id-172 .wp-block-image img:not(.wp-image-221),
	.post-172 .wp-block-image img:not(.wp-image-221) {
    width: 100%;
    max-width: 620px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
