/* Circle Seven Ranch light refresh — July 2026 */
:root {
  --csr-ink: #2f2922;
  --csr-brown: #4a2f22;
  --csr-rust: #9a4f2d;
  --csr-sage: #66705a;
  --csr-parchment: #f4eddf;
  --csr-cream: #fffaf1;
}

body .entry-content {
  color: var(--csr-ink);
  line-height: 1.72;
}

body .entry-content h2,
body .entry-content h3 {
  color: var(--csr-brown);
  line-height: 1.2;
}

body .entry-content section {
  scroll-margin-top: 110px;
}

body .entry-content hr {
  border: 0 !important;
  border-top: 1px solid rgba(74,47,34,.18) !important;
  margin: 3rem 0 !important;
}

body .entry-content .csr-hero {
  background: linear-gradient(135deg, rgba(47,41,34,.96), rgba(74,47,34,.90));
  color: #fff;
  padding: clamp(2.25rem, 6vw, 5rem);
  margin: 0 0 3rem;
  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(47,41,34,.18);
}

body .entry-content .csr-hero h2 {
  color: #fff;
  max-width: 760px;
  font-size: clamp(2.15rem, 5vw, 4.4rem);
  margin: .25rem 0 1rem;
}

body .entry-content .csr-hero-copy {
  max-width: 720px;
  font-size: 1.14rem;
}

body .entry-content .csr-kicker {
  color: #d8b68c;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body .entry-content .csr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

body .entry-content .csr-button {
  display: inline-block;
  padding: .78rem 1.2rem;
  border: 2px solid var(--csr-rust);
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease;
}

body .entry-content .csr-button:hover {
  transform: translateY(-2px);
}

body .entry-content .csr-button-primary {
  background: var(--csr-rust);
  color: #fff !important;
}

body .entry-content .csr-button-secondary {
  border-color: #fff;
  color: #fff !important;
}

body .entry-content #core-programs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

body .entry-content #core-programs > h2 {
  grid-column: 1 / -1;
}

body .entry-content #core-programs .program,
body .entry-content #experience article {
  background: var(--csr-cream);
  border: 1px solid rgba(74,47,34,.14);
  border-top: 4px solid var(--csr-rust);
  padding: 1.5rem;
  border-radius: 3px;
}

body .entry-content #experience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.15rem;
}

body .entry-content #experience > h2 {
  grid-column: 1 / -1;
}

body .entry-content .csr-support {
  background: var(--csr-parchment);
  border-left: 6px solid var(--csr-rust);
  padding: clamp(2rem, 5vw, 3.5rem);
  margin-top: 3rem;
  text-align: center;
}

body .entry-content .csr-support p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

body .entry-content .csr-support .csr-kicker {
  color: var(--csr-rust);
}

@media (max-width: 700px) {
  body .entry-content #core-programs,
  body .entry-content #experience {
    grid-template-columns: 1fr;
  }

  body .entry-content .csr-hero {
    padding: 2rem 1.25rem;
  }
}

/* --- WPWriter addition --- */
/* Donation form refinement */
body .entry-content .csr-support-intro {
  margin-bottom: 0;
  padding-bottom: 1.5rem;
}

body .entry-content .csr-donation-form {
  background: var(--csr-parchment);
  border-left: 6px solid var(--csr-rust);
  padding: 0 clamp(2rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3.5rem);
  margin-top: 0;
}

body .entry-content .csr-donation-form h4 {
  color: var(--csr-brown);
  font-size: 1.25rem;
  margin-top: 1.5rem;
}

body .entry-content .csr-donation-form .donations__separator {
  border-top-color: rgba(74,47,34,.16) !important;
  margin: 1.5rem 0 !important;
}

body .entry-content .csr-donation-form button,
body .entry-content .csr-donation-form a {
  border-radius: 3px !important;
}

/* --- WPWriter addition --- */

/* Staff page cleanup and standardization — July 2026 */
body.page-id-180 .entry-content .csr-staff-intro {
  max-width: 820px;
  margin: 0 auto 3rem;
  text-align: center;
}

body.page-id-180 .entry-content .wp-block-spacer {
  height: 58px !important;
}

body.page-id-180 .entry-content .wp-block-image {
  max-width: 760px;
  margin: 0 auto !important;
}

body.page-id-180 .entry-content .wp-block-image img {
  width: 100% !important;
  max-height: 620px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 4px !important;
  box-shadow: 0 12px 30px rgba(47,41,34,.14);
}

body.page-id-180 .entry-content .staff-member {
  max-width: 760px;
  margin: 1.25rem auto 0;
  padding: 1.7rem 1.8rem 1.9rem;
  background: var(--csr-cream);
  border: 1px solid rgba(74,47,34,.14);
  border-top: 4px solid var(--csr-rust);
  border-radius: 3px;
}

body.page-id-180 .entry-content .staff-member h2 {
  margin-bottom: .25rem;
}

body.page-id-180 .entry-content .staff-member h3 {
  margin: 0;
  font-size: 1.05rem;
}

body.page-id-180 .entry-content .staff-member .csr-role {
  margin: .3rem 0 1.25rem;
  color: var(--csr-sage);
  font-weight: 700;
  letter-spacing: .02em;
}

body.page-id-180 .entry-content .staff-member p:last-child {
  margin-bottom: 0;
}

body.page-id-180 .entry-content .wp-block-jetpack-donations {
  background: var(--csr-parchment);
  border-left: 6px solid var(--csr-rust);
  padding: 0 clamp(2rem,5vw,3.5rem) clamp(2rem,5vw,3.5rem);
}

@media (max-width: 700px) {
  body.page-id-180 .entry-content .staff-member {
    padding: 1.35rem 1.1rem 1.5rem;
  }

  body.page-id-180 .entry-content .wp-block-image img {
    max-height: 500px !important;
  }
}

/* --- WPWriter addition --- */

/* Staff portrait correction: preserve full heads and natural framing */
body.page-id-180 .entry-content .wp-block-image img {
  width: 100% !important;
  max-width: 768px !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center top !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-180 .entry-content .wp-block-image {
  overflow: visible !important;
}


/* --- WPWriter addition --- */

/* Trailblazer Artist Guild mobile repair — July 2026 */
body.page-id-1240,
body.page-id-1240 .site,
body.page-id-1240 .site-content,
body.page-id-1240 .content-area,
body.page-id-1240 .entry-content {
  overflow-x: hidden !important;
}

body.page-id-1240 .entry-content > div:first-child {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

body.page-id-1240 .entry-content img {
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 700px) {
  body.page-id-1240 .entry-content > div:first-child {
    padding-bottom: 2rem !important;
  }

  body.page-id-1240 .entry-content > div:first-child > div {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }

  body.page-id-1240 .entry-content > div:first-child > div:first-child {
    padding-top: 1.5rem !important;
    padding-bottom: 2rem !important;
    margin-bottom: 2rem !important;
  }

  body.page-id-1240 .entry-content > div:first-child > div:first-child img {
    width: 100% !important;
    max-width: 560px !important;
    margin-bottom: 1.25rem !important;
  }

  body.page-id-1240 .entry-content h2 {
    font-size: 1.65rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }

  body.page-id-1240 .entry-content p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }

  body.page-id-1240 .entry-content div[style*="grid-template-columns:repeat(2"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  body.page-id-1240 .entry-content div[style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem !important;
  }

  body.page-id-1240 .entry-content figure img {
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
  }

  body.page-id-1240 .entry-content div[style*="background: #0f172a"] {
    padding: 2.25rem 1rem !important;
    border-radius: 8px !important;
  }

  body.page-id-1240 .entry-content div[style*="display: flex"][style*="flex-wrap: wrap"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  body.page-id-1240 .entry-content div[style*="display: flex"][style*="flex-wrap: wrap"] a {
    display: block !important;
    width: 100% !important;
    padding: .85rem 1rem !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }
}

@media (max-width: 380px) {
  body.page-id-1240 .entry-content > div:first-child > div {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
  }

  body.page-id-1240 .entry-content h2 {
    font-size: 1.45rem !important;
  }
}


/* --- WPWriter addition --- */

/* Site-wide mobile responsiveness guard — July 27, 2026 */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body *,
body *::before,
body *::after {
  box-sizing: border-box;
}

body .site,
body .site-content,
body .content-area,
body .site-main,
body article,
body .entry-content,
body .entry-content > * {
  min-width: 0;
  max-width: 100%;
}

body .entry-content img,
body .entry-content video,
body .entry-content canvas,
body .entry-content svg,
body .entry-content iframe,
body .wp-block-image img,
body .wp-block-cover img {
  max-width: 100% !important;
  height: auto;
}

body .entry-content iframe {
  width: 100% !important;
}

body .entry-content table {
  max-width: 100%;
}

body .entry-content .wp-block-table,
body .entry-content .wp-block-embed,
body .entry-content pre {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body .entry-content p,
body .entry-content li,
body .entry-content h1,
body .entry-content h2,
body .entry-content h3,
body .entry-content h4,
body .entry-content a {
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 782px) {
  body .site-content,
  body .content-area,
  body .site-main,
  body article,
  body .entry-content {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body .entry-content > div[style*="100vw"],
  body .entry-content > section[style*="100vw"],
  body .entry-content [style*="margin-left: calc(50% - 50vw)"],
  body .entry-content [style*="margin-right: calc(50% - 50vw)"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body .entry-content .wp-block-columns,
  body .entry-content .wp-block-media-text,
  body .entry-content [style*="display:grid"],
  body .entry-content [style*="display: grid"] {
    min-width: 0;
  }

  body .entry-content .wp-block-columns:not(.is-not-stacked-on-mobile) {
    flex-wrap: wrap !important;
  }

  body .entry-content .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  body .entry-content .wp-block-media-text {
    grid-template-columns: 1fr !important;
  }

  body .entry-content .wp-block-media-text .wp-block-media-text__media,
  body .entry-content .wp-block-media-text .wp-block-media-text__content {
    grid-column: 1 !important;
  }

  body .entry-content .wp-block-media-text .wp-block-media-text__content {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .entry-content [style*="grid-template-columns:repeat(2"],
  body .entry-content [style*="grid-template-columns: repeat(2"],
  body .entry-content [style*="grid-template-columns:repeat(3"],
  body .entry-content [style*="grid-template-columns: repeat(3"],
  body .entry-content [style*="grid-template-columns:repeat(4"],
  body .entry-content [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  body .entry-content [style*="padding: 0 2rem"],
  body .entry-content [style*="padding:0 2rem"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  body .entry-content h1 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
  }

  body .entry-content h2 {
    font-size: clamp(1.55rem, 7vw, 2.15rem) !important;
  }

  body .entry-content a[style*="display:inline-block"],
  body .entry-content a[style*="display: inline-block"],
  body .entry-content .wp-block-button,
  body .entry-content .wp-block-button__link {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  body .entry-content > * {
    min-width: 0 !important;
  }

  body .entry-content .wp-block-button,
  body .entry-content .wp-block-button__link {
    width: 100%;
    text-align: center;
  }

  body .entry-content ul,
  body .entry-content ol {
    padding-left: 1.25rem;
  }
}


/* --- WPWriter addition --- */

/* Footer alignment and mobile correction — July 27, 2026 */
body footer,
body .site-footer,
body #colophon {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
}

body .site-footer .wrap,
body .site-footer .container,
body .site-footer .site-info,
body #colophon .wrap,
body #colophon .container,
body #colophon .site-info,
body .footer-widgets,
body .footer-widget-area {
  width: min(100% - 2rem, 1200px) !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body .footer-widgets,
body .footer-widget-area,
body .site-footer .widget-area {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.5rem !important;
  align-items: start !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body .site-footer .widget,
body #colophon .widget {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .site-footer p,
body .site-footer li,
body .site-footer a,
body #colophon p,
body #colophon li,
body #colophon a {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}

body .site-footer ul,
body #colophon ul {
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

body .site-footer .site-info,
body #colophon .site-info {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: .45rem 1rem !important;
  text-align: center !important;
  padding: 1.25rem 1rem !important;
}

@media (max-width: 782px) {
  body .footer-widgets,
  body .footer-widget-area,
  body .site-footer .widget-area {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    text-align: center !important;
  }

  body .site-footer .widget,
  body #colophon .widget {
    width: 100% !important;
    text-align: center !important;
  }

  body .site-footer .site-info,
  body #colophon .site-info {
    display: block !important;
    width: 100% !important;
    padding: 1rem !important;
    line-height: 1.65 !important;
  }

  body .site-footer .site-info > *,
  body #colophon .site-info > * {
    display: block !important;
    margin: .25rem auto !important;
  }
}


/* --- WPWriter addition --- */

/* Mobile navigation repair — July 27, 2026 */
@media (max-width: 782px) {
  body .main-navigation,
  body .main-navigation .menu,
  body .main-navigation .nav-menu,
  body .mobile-navigation,
  body .mobile-menu,
  body .menu-modal,
  body .menu-modal-inner,
  body .menu-wrapper,
  body .wp-block-navigation__responsive-container,
  body .wp-block-navigation__responsive-container-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .main-navigation ul,
  body .mobile-navigation ul,
  body .mobile-menu ul,
  body .menu-modal ul,
  body .wp-block-navigation__responsive-container ul {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }

  body .main-navigation li,
  body .mobile-navigation li,
  body .mobile-menu li,
  body .menu-modal li,
  body .wp-block-navigation__responsive-container li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body .main-navigation a,
  body .mobile-navigation a,
  body .mobile-menu a,
  body .menu-modal a,
  body .wp-block-navigation__responsive-container a {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: .8rem 1.25rem !important;
    font-size: 1.08rem !important;
    line-height: 1.35 !important;
    text-align: left !important;
    white-space: normal !important;
    border-bottom: 1px solid rgba(74,47,34,.12) !important;
  }

  body .main-navigation .sub-menu,
  body .mobile-navigation .sub-menu,
  body .mobile-menu .sub-menu,
  body .menu-modal .sub-menu,
  body .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 0 .75rem !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  body .main-navigation .sub-menu a,
  body .mobile-navigation .sub-menu a,
  body .mobile-menu .sub-menu a,
  body .menu-modal .sub-menu a,
  body .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container a {
    padding: .65rem 1.25rem !important;
    font-size: .98rem !important;
  }

  body .wp-block-navigation__responsive-container.is-menu-open,
  body .menu-modal.active,
  body .mobile-menu.is-open {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}


/* --- WPWriter addition --- */

/* Definitive mobile navigation repair — July 2026 */
@media (max-width: 782px) {
  body .wp-block-navigation__responsive-container.is-menu-open {
    padding: 1rem 1.15rem 2rem !important;
    overflow-y: auto !important;
  }

  body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
  body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch !important;
  }

  body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    margin: 3.25rem 0 0 !important;
    padding: 0 !important;
  }

  body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    align-items: flex-start !important;
  }

  body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: block !important;
    width: 100% !important;
    padding: .72rem .15rem !important;
    margin: 0 !important;
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
    text-align: left !important;
    white-space: normal !important;
  }

  body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 0 0 1rem !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  body .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    font-size: 1rem !important;
  }

  body .wp-block-navigation__responsive-container-close {
    top: 1rem !important;
    right: 1rem !important;
  }
}


/* --- WPWriter addition --- */

/* FINAL MOBILE NAV RESET — Cultivate theme, July 2026 */
@media (max-width: 900px) {
  body nav,
  body nav * {
    box-sizing: border-box !important;
  }

  body nav ul,
  body nav .menu,
  body nav .menu-wrapper,
  body nav .menu-container,
  body nav .primary-menu,
  body nav .sub-menu,
  body .main-navigation ul,
  body .main-navigation .menu,
  body .main-navigation .sub-menu,
  body .site-navigation ul,
  body .site-navigation .menu,
  body .site-navigation .sub-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  body nav li,
  body .main-navigation li,
  body .site-navigation li {
    position: static !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  body nav li > a,
  body .main-navigation li > a,
  body .site-navigation li > a {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: .72rem 1.25rem !important;
    text-align: left !important;
    line-height: 1.3 !important;
    white-space: normal !important;
  }

  body nav .sub-menu li > a,
  body .main-navigation .sub-menu li > a,
  body .site-navigation .sub-menu li > a {
    padding-left: 2.25rem !important;
    font-size: .94em !important;
  }

  body nav .sub-menu .sub-menu li > a,
  body .main-navigation .sub-menu .sub-menu li > a,
  body .site-navigation .sub-menu .sub-menu li > a {
    padding-left: 3.25rem !important;
    font-size: .9em !important;
  }

  body nav .menu-item-has-children,
  body .main-navigation .menu-item-has-children,
  body .site-navigation .menu-item-has-children {
    height: auto !important;
    min-height: 0 !important;
  }

  body nav .sub-menu,
  body .main-navigation .sub-menu,
  body .site-navigation .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
  }
}


/* --- WPWriter addition --- */


/* Homefront article photo layout — August 2026 */
body.postid-1204 .wp-block-post-featured-image {
  display: none !important;
}

body.postid-1204 .entry-content {
  --homefront-photo-width: 760px;
}

body.postid-1204 .entry-content figure:not(.wp-block-table) {
  width: min(100%, var(--homefront-photo-width)) !important;
  max-width: var(--homefront-photo-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.postid-1204 .entry-content figure img {
  display: block !important;
  width: 100% !important;
  max-width: var(--homefront-photo-width) !important;
  height: auto !important;
}

body.postid-1204 .entry-content figcaption {
  max-width: 68ch;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 820px) {
  body.postid-1204 .entry-content {
    --homefront-photo-width: 100%;
  }

  body.postid-1204 .entry-content figure:not(.wp-block-table) {
    margin-bottom: 2.25rem !important;
  }
}

/* --- WPWriter addition --- */


/* Keep tall archival photos from dominating the reading flow */
body.postid-1204 .entry-content figure img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  object-fit: contain !important;
}

@media (max-width: 820px) {
  body.postid-1204 .entry-content figure img {
    max-height: 72vh !important;
  }
}

/* --- WPWriter addition --- */
/* Texas beef investigation reading layout — August 2026 */
body.postid-1444 .entry-content {
  --watchpost-reading-width: 760px;
  --watchpost-image-width: 920px;
}

body.postid-1444 .entry-content > p,
body.postid-1444 .entry-content > h2,
body.postid-1444 .entry-content > ul,
body.postid-1444 .entry-content > blockquote {
  width: min(100%, var(--watchpost-reading-width)) !important;
  max-width: var(--watchpost-reading-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.postid-1444 .entry-content > p,
body.postid-1444 .entry-content > ul {
  font-size: 1.08rem;
  line-height: 1.78;
}

body.postid-1444 .entry-content .watchpost-article-kicker {
  margin-top: 0 !important;
  margin-bottom: .7rem !important;
  color: #9a4f2d;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.postid-1444 .entry-content .watchpost-article-kicker a {
  color: inherit;
  text-decoration: none;
}

body.postid-1444 .entry-content .watchpost-article-deck {
  margin-top: 0 !important;
  margin-bottom: 2.5rem !important;
  padding: 1.3rem 1.5rem;
  background: #fffaf1;
  border-left: 5px solid #9a4f2d;
  color: #3a3129;
  font-size: 1.16rem;
  line-height: 1.7;
}

body.postid-1444 .entry-content > h2 {
  margin-top: 4rem !important;
  margin-bottom: 1.25rem !important;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(74,47,34,.2);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.18;
}

body.postid-1444 .entry-content > figure.wp-block-image {
  width: min(100%, var(--watchpost-image-width)) !important;
  max-width: var(--watchpost-image-width) !important;
  margin: 2.75rem auto !important;
  text-align: center;
}

body.postid-1444 .entry-content > figure.wp-block-image img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 760px !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

body.postid-1444 .entry-content > figure.wp-block-image.aligncenter {
  width: min(100%, 520px) !important;
  max-width: 520px !important;
}

body.postid-1444 .entry-content > figure.wp-block-image.aligncenter img {
  width: 100% !important;
  max-height: 720px !important;
}

body.postid-1444 .entry-content a {
  text-underline-offset: .14em;
}

body.postid-1444 .entry-content > ul {
  padding-left: 1.4rem;
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 820px) {
  body.postid-1444 .entry-content {
    --watchpost-reading-width: 100%;
    --watchpost-image-width: 100%;
  }

  body.postid-1444 .entry-content > p,
  body.postid-1444 .entry-content > ul {
    font-size: 1rem;
    line-height: 1.72;
  }

  body.postid-1444 .entry-content .watchpost-article-deck {
    padding: 1.1rem 1rem;
    font-size: 1.05rem;
    line-height: 1.62;
  }

  body.postid-1444 .entry-content > h2 {
    margin-top: 3rem !important;
    font-size: 1.65rem !important;
  }

  body.postid-1444 .entry-content > figure.wp-block-image {
    margin-top: 2rem !important;
    margin-bottom: 2.25rem !important;
  }

  body.postid-1444 .entry-content > figure.wp-block-image img {
    max-height: 72vh !important;
  }
}

/* --- WPWriter addition --- */
/* Texas AI boom investigation reading layout — August 2026 */
body.postid-1424 .entry-content {
  --watchpost-reading-width: 760px;
  --watchpost-image-width: 920px;
}

body.postid-1424 .entry-content > p,
body.postid-1424 .entry-content > h2,
body.postid-1424 .entry-content > ul,
body.postid-1424 .entry-content > blockquote,
body.postid-1424 .entry-content > hr {
  width: min(100%, var(--watchpost-reading-width)) !important;
  max-width: var(--watchpost-reading-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.postid-1424 .entry-content > p,
body.postid-1424 .entry-content > ul {
  font-size: 1.08rem;
  line-height: 1.78;
}

body.postid-1424 .entry-content .watchpost-article-kicker {
  margin-top: 0 !important;
  margin-bottom: .7rem !important;
  color: #9a4f2d;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.postid-1424 .entry-content .watchpost-article-kicker a {
  color: inherit;
  text-decoration: none;
}

body.postid-1424 .entry-content .watchpost-article-deck {
  margin-top: 0 !important;
  margin-bottom: .85rem !important;
  padding: 1.3rem 1.5rem;
  background: #fffaf1;
  border-left: 5px solid #9a4f2d;
  color: #3a3129;
  font-size: 1.16rem;
  line-height: 1.7;
}

body.postid-1424 .entry-content .watchpost-article-byline {
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
  color: #66705a;
  font-size: .92rem;
  font-weight: 700;
}

body.postid-1424 .entry-content > hr {
  margin-top: 0 !important;
  margin-bottom: 2.5rem !important;
}

body.postid-1424 .entry-content > blockquote {
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
  padding: 1.15rem 1.4rem;
  background: rgba(244,237,223,.7);
  border-left: 4px solid #66705a;
  color: #3a3129;
  font-size: 1.06rem;
  line-height: 1.7;
}

body.postid-1424 .entry-content > blockquote p {
  margin: 0;
}

body.postid-1424 .entry-content > h2 {
  margin-top: 4rem !important;
  margin-bottom: 1.25rem !important;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(74,47,34,.2);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.18;
}

body.postid-1424 .entry-content > figure.wp-block-image {
  width: min(100%, var(--watchpost-image-width)) !important;
  max-width: var(--watchpost-image-width) !important;
  margin: 2.75rem auto !important;
  text-align: center;
}

body.postid-1424 .entry-content > figure.wp-block-image img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 760px !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

body.postid-1424 .entry-content > figure.wp-block-image figcaption {
  max-width: 72ch;
  margin: .75rem auto 0 !important;
  color: #66705a;
  font-size: .88rem;
  line-height: 1.5;
  text-align: left;
}

body.postid-1424 .entry-content a {
  text-underline-offset: .14em;
}

@media (max-width: 820px) {
  body.postid-1424 .entry-content {
    --watchpost-reading-width: 100%;
    --watchpost-image-width: 100%;
  }

  body.postid-1424 .entry-content > p,
  body.postid-1424 .entry-content > ul {
    font-size: 1rem;
    line-height: 1.72;
  }

  body.postid-1424 .entry-content .watchpost-article-deck {
    padding: 1.1rem 1rem;
    font-size: 1.05rem;
    line-height: 1.62;
  }

  body.postid-1424 .entry-content > blockquote {
    padding: 1rem;
    font-size: 1rem;
  }

  body.postid-1424 .entry-content > h2 {
    margin-top: 3rem !important;
    font-size: 1.65rem !important;
  }

  body.postid-1424 .entry-content > figure.wp-block-image {
    margin-top: 2rem !important;
    margin-bottom: 2.25rem !important;
  }

  body.postid-1424 .entry-content > figure.wp-block-image img {
    max-height: 72vh !important;
  }
}

/* --- WPWriter addition --- */
/* Prevent duplicate lead image on the Texas AI boom article */
body.postid-1424 .wp-block-post-featured-image {
  display: none !important;
}