.site-footer { display: none !important; }


.ev-playlist-widget {
    padding-top: 10px;
    margin-bottom: 40px;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    display: none;
}

/* Exclusive Block border bottom */
.bottom-border-exclusive {
	border-bottom: 1px solid #000;
  padding-bottom: 20px;
}

/* Most Read column vertical line */
.most-read-column {
    border-right: 1px solid #000 !important; /* right border */
    padding-right: 40px !important;         /* Space between content and border */
    margin-right: 0px !important;             /* Remove extra left margin if any */
}

@media (max-width: 768px) {
    .most-read-column {
        border-right: none !important;
        padding-right: 0 !important;
    }
}

/* Most Read Color */
.comment-content li, .entry-content li a {
    color: #000000 !important;
		text-decoration: none;
}

/* Most Read Color Hover */
.comment-content li, .entry-content li a:hover {
    color: #2659d7 !important;
		text-decoration: none;
}

/* Most Read + Latest Title padding */
.latest-news {
	border-bottom: 1px solid #000 !important;
  padding-bottom: 20px;
}

/* Most Read lines */
.wp-block-list li::after {
    content: '';
    display: block;
    border-bottom: 1px solid var(--color-stroke-quaternary, #DFDFDF);
    margin-top: 1rem;
    margin-bottom: 1rem;
    clear: both;
}

/* Latest News Tittle padding */
p.latest-news.has-black-color.has-text-color.has-link-color.has-large-font-size.wp-elements-b42012b6d5cb8e1508ae7f9781f84683 {
    padding-bottom: 20px;
}

/* Latest News Block Bottom Border */
.first-columns-line {
    border-bottom: 1px solid #000 !important;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

/* Home page test - gray line latest news */
.wp-block-latest-posts.wp-block-latest-posts__list li::after {
    content: '';
    display: block;
    border-bottom: 1px solid var(--color-stroke-quaternary, #DFDFDF);
    margin-top: 1rem;
    margin-bottom: 1rem;
    clear: both;
}

/* Remove Hover Latest News */
.entry-content p:hover {
    text-decoration: none;
}

/* Latest News Hover Color */
.wp-block-latest-posts.wp-block-latest-posts__list li a:hover {
    color: #2659d7;
}

/* Remove underline Latest News */
.entry-content ul[class^='wp-block']:not(.wp-block-list) a,
.entry-content ol[class^='wp-block']:not(.wp-block-list) a {
    text-decoration: none;
}

/* Bottom margin Latest News title */
.entry-content p {
    margin-block-end: var(--cp-spacing, 0.8rem);
}

/* Remove borders on mobile */
@media (max-width: 767px) {
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis] {
        border-right: none !important;
        padding-right: 0;
        margin-right: 0;
    }

    .separator-line {
        display: none;
    }
}

/* Remove firts post in "Latest News" */
.wp-block-latest-posts li:first-child {
    display: none;
}


/* Breadcrumb font */
.breadcrumb * {
  font-family: 'Open Sans';
	font-weight: 400;
}

/* Menu Line Position */
.navbar-border-holder {
  position: relative;
  border: none !important;
  height: auto;
  overflow: visible;
}

/* Elegant blue-white gradient sweep */
.navbar-border-holder::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #2659d7, white, #2659d7);
  background-size: 200% 100%;
  animation: blueWhiteSweep 3s ease-in-out infinite;
  opacity: 0.8;
  pointer-events: none;
}

@keyframes blueWhiteSweep {
  0% {
    background-position: 0% 0;
  }
  50% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0% 0;
  }
}

/* Remove dots > Search Bar */
.live-search-content:before {
	display: none;
}

/* Line between author and the date dots > Search Bar */
.meta-info-el:before {
    width: 0;
    height: 6px;
    padding-right: 4px;
    content: '';
    letter-spacing: 0;
    opacity: 1;
    border-left: 1px solid;
}

/* Underline author name on hover */
.meta-info-el.meta-info-author a:hover {
    text-decoration: underline;
}

/* Article Author Font Weight */
.meta-info-el a {
  font-weight: 400;
}

/* Article Date Font Weight */
abbr[title] {
  font-weight: 400;
}

/* Search Bar > Articles Date Size */
.p-list-4 .p-footer abbr.date.published {
	font-size: 12px;
}

/* Author and Date Font */
.wpnbha .entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-top: .3em;
	font-family: Open Sans, sans-serif;
	font-weight: 400;
}

/* Category Font */
.wpnbha .cat-links {
	display: flex;
	flex-wrap: wrap;
	font-size: .6em;
	font-weight: 400;
	font-family: Open Sans, sans-serif;
	padding-top: 0%;
	margin:0px !important;
}
.wpnbha .cat-links a {
  text-decoration: none;
  font-size: 14px;
	font-weight: 400;
}

/* Remover margin top footer do Raptive */
.adthrive-footer-message, .adthrive-privacy-preferences, .adthrive-ccpa-link {
text-align: center;
margin-top: 0px; !important
}

@media only screen and (min-width: 1200px) {
    .single-3 h1.single-title, .single-2 h1.single-title {
        font-size: 3rem;
        max-width: 1000px;
    }
}

/* Fixed aspect ratio for all post thumbnails */
.wp-block-newspack-blocks-homepage-articles .post-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background-color: #f0f0f0; /* Fallback color */
}

.wp-block-newspack-blocks-homepage-articles .post-thumbnail img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important; /* Override the max-width: 100% */
    object-fit: cover;
    object-position: center;
}

/* Footer Raptive margin*/
.adthrive-footer-message, .adthrive-privacy-preferences, .adthrive-ccpa-link {
margin-top: 0px; !important
}

/* Footer Raptive Background color */
.adthrive-footer-message, .adthrive-privacy-preferences, .adthrive-ccpa-link {
background-color: #F0F0F0;
}

/* Footer Raptive Text */
.adthrive-footer-message span, .adthrive-privacy-preferences a, .adthrive-ccpa-link, .adthrive-ccpa-link span {
color: #000000;
font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
font-size: 13px;
}

/* Footer Copyright */
.copyright-inner {
    font-family: 'Open Sans';
    font-size: 17px;
    font-weight: 300;
    text-align: center;
}

/* Footer padding */
.top-footer-wrap .widget:last-child {
padding-bottom: 20px;
padding-top: 60px; 
background-color: #F0F0F0;
}

/* Footer Hover */
.has-open-sans-font-family:hover {
	text-decoration: underline;
}

/* Menu Text Hover Line */
.rb-menu a>span:before {
    height: 1px;
    opacity: 0.8 !important;
}

/* Article Title Color Hover */
.wpnbha .entry-title a:hover {
color: #2659d7;
}

/* Image Color Hover */
.wp-block-newspack-blocks-homepage-articles .post-thumbnail img:hover {	filter: brightness(50%) sepia(100%) saturate(600%) hue-rotate(190deg);
}

/* Menu Text Size and Padding */

.off-canvas-menu>li>a {
	font-family: Open Sans;
  font-size: 18px;
	padding-left: 20px;
	padding-right: 20px;
}

/* Menu Text Hover Line */
.rb-menu a>span:before {
    height: 1px;
    opacity: 0.8 !important;
}

/* Menu Text submenu size */
.off-canvas-menu .sub-menu {
    font-size: 18px;
}

.wp-block-button a {
        font-size: .85em;
        padding: 15px 25px;
        border-width: 1px !important;
    }

/* Menu Close Button X */
#off-canvas-close-btn {
    opacity: 1;
    background-color: #F0F0F0;
}
#off-canvas-close-btn:hover {
    background-color: #F0F0F0;
}
.btn-close:before {
    background-color: #000000;
}
	.btn-close:after {
    background-color: #000000;
}

@media only screen and (max-width: 479px) {
    .off-canvas-header {
        padding-top: 5px;
    }
	}

@media only screen and (max-width: 991px) {
    .wp-block-button a {
        font-size: .85em;
        padding: 15px 25px;
        border-width: 1px;
    }
		.widget.widget_nav_menu .menu-item a {
    font-family: Open Sans;
    font-size: 18px;
    padding-left: 40px;
			}
	.wp-block-image .alignleft, .wp-block-image .alignright {
        margin-left: 17px;
    }
	.boxzilla {
			padding: 0px 20px 20px 20px;}
	}


.widget_recent_comments .recentcomments>a:last-child, .widget_recent_entries li, .widget.w-sidebar.widget_block li {
    font-size: 1.5rem;
}

	.wp-block-social-links.has-huge-icon-size {
    font-size: 0px;
}

.off-canvas-menu>li>a {
			padding-left: 50px;
			padding-right: 40px;
			}
	.off-canvas-menu .sub-menu {
    padding-left: 70px;
	}


/* Menu Button Hover */

.is-style-outline a.wp-block-button__link:hover {
color: #aaaaaa !important;
	-webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.off-canvas-header:before {
    background-color: #F0F0F0;
}

/* Menu padding */
.off-canvas-header {
    padding: 60px 8px 0px !important;
}
/* Menu Bottom Padding */
.off-canvas-holder {
    padding-bottom: 0px;
}

.off-canvas-menu>li>a {
			padding-left: 50px;
			padding-right: 40px;
			}
	.off-canvas-menu .sub-menu {
    padding-left: 70px;
	}


/* Menu Button Hover */

.is-style-outline a.wp-block-button__link:hover {
color: #aaaaaa !important;
	-webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* Menu Padding */
.off-canvas-inner {
    padding: 0px 20px 20px 20px;
}

/* Author Page SoMe Icons Color */
.header-author-box .box-footer {
    color: #000000;
}

.header-author-box .box-job {
    color: #000000;
}

/* Article Page Author and Date Size */
.meta-info-author.meta-info-el {
    font-family: Open Sans;
    font-size: 15px;
}

.p-meta-info {
    font-size: 15px;
}

.meta-info-el:before {
    height: 15px;
}


/* Article Page Author Image Size */
.small-size.single-entry-meta img {
    width: 35px;
    height: 35px;
}

/* Author Page dots */
.header-author-box .box-header:after {
    display: none;
}

/* Author Page Text Block Width */
.header-author-box .box-description {
    font-size: .85rem;
    line-height: 1.7;
    max-width: 470px;
    margin-right: auto;
    margin-left: auto;
    color: #000000;
}

/* Author Page Background */
.header-author-box .box-feat {
    background-color: #f2f2f2;
}

/* Author Page Text Color */
.box-header h3 {
	color: #000000;
}
.box-header h3:hover {
	color: #000000;
}

/* Author Page Padding Between Author name and text */
.header-author-box .box-header {
    padding-bottom: 10px;
}

/* Author Page Articles Padding top */
.content-wrap {
    padding-top: 50px;
}



/* Remove dots Related Post */
.block-header-dot .block-title:before {
	display: none !important;
}

/* Remove grey line Related Posts */
.single-post-related {
	background-image: none !important;
	padding-top: 10px;
}

/* Padding between Related Posts and Author heaader */
.site-wrap .wrap {
margin-top: 20px;
margin-bottom: 35px;
}

@media screen and (max-width: 800px) {
  .site-wrap .wrap {
margin-top: 20px;
margin-bottom: 0px;
}
}

/* Padding top Social media icons left section */
.single-left-section {
padding-top: 50px;
}

/* Dots Social media icons left section */
.single-left-article:before {
display: none !important;
}

/* Padding top article text */
.single-content.has-left-section .entry-content {
padding-top: 45px;
}

@media screen and (max-width: 800px) {
.single-content.has-left-section .entry-content {
padding-top: 40px;
}
}

/* Remove excerpt related post block */
.p-wrap .entry-summary, .twitter-content.entry-summary, .author-description, .rssSummary, .rb-sdesc {
display: none;
}

/* Remove dots Author Header */
.author-header:after {
display: none !important;
}

/* Popup Beehiiv */
.boxzilla {
    position: fixed;
    z-index: 12000;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #f2f2f2;
    border-radius: 8px;
}

.boxzilla-close-icon {
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    -webkit-appearance: none;
    font-size: 28px;
    font-weight: 300;
    line-height: 20px;
    color: #000;
}

.header-wrap {
    position: static;
    display: block;
}
.wp-block-spacer, .entry-content .wp-block-spacer {
margin: 40px;
}


.single-content.has-left-section .entry-content {
    max-width: 728px;
    margin-left: auto;
}


.navbar-border-holder {
    border-bottom: 1px solid currentColor;
    margin-top: 5px;
		margin-bottom: 10px;
}

.mobile-nav-inner {
    height: 50px;
    margin-top: 10px,;
}

.navbar-wrap {
    position: relative;
    z-index: 999;
    display: block;
    padding: 20px 0px 20px 0px;
}

.wpnbha .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: .5em;
    font-family: 'open-sans',;
	font-size: 12px;
}

.wpnbha .cat-links {
    display: flex;
    flex-wrap: wrap;
    font-size: .6em;
    font-weight: 700;
    margin: 0 0 .5em;
	  font-family: 'open-sans',;
	font-size: 11px;
}

wpnbha .cat-links a {
    text-decoration: none;
    margin-top: 10px;
    font-size: 14px;
}

.mobile-js-menu.off-canvas-light .site-mask {
    background: rgb(0 0 0 / .6);
}

.off-canvas-inner {
    position: relative;
    display: flex;
    overflow-x: hidden;
    overflow-y: auto;
    flex-flow: column nowrap;
    padding: 20px;
    background-color: #F0F0F0;
}

/* Remove Dots Side Menu */
.off-canvas-holder:before {
display: none;
}

.off-canvas-header {
    position: relative;
    display: block;
    padding: 60px 20px 20px;
    text-align: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: F0F0F0;
}

.off-canvas-header:before {
    background-color: F0F0F0;
}

.jetpack-subscribe-modal open {
	display:none !important
		}

.site-wrap .wrap {
    margin-top: 0px !important;
}

/* === EV Newsletter Popup === */
#boxzilla-93076,
.boxzilla-93076 {
  background: #ffffff !important;
  border-radius: 0 !important;
  border: 0.5px solid #e5e5e5 !important;
  box-shadow: 0 24px 60px rgba(20, 30, 60, 0.18), 0 4px 12px rgba(20, 30, 60, 0.06) !important;
  padding: 0 !important;
  max-width: 540px !important;
  width: calc(100% - 32px) !important;
  position: relative !important;
  overflow: hidden !important;
}
#boxzilla-93076::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: #1a1a1a;
  z-index: 1;
  pointer-events: none;
}
#boxzilla-93076::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 88px;
  height: 3px;
  background: #2659d7;
  z-index: 2;
  pointer-events: none;
}
#boxzilla-93076 .boxzilla-close-icon {
  top: 12px !important;
  right: 16px !important;
  font-size: 22px !important;
  color: #999999 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 3 !important;
  cursor: pointer;
  opacity: 1 !important;
  transition: color 0.15s ease;
}
#boxzilla-93076 .boxzilla-close-icon:hover { color: #1a1a1a !important; }
.boxzilla-overlay {
  background: rgba(15, 20, 30, 0.55) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.ev-np {
  display: grid;
  grid-template-columns: 144px 1fr;
  gap: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #1a1a1a;
}
.ev-np-meta-col {
  padding: 36px 18px 28px 32px;
  border-right: 0.5px solid #e5e5e5;
  display: flex;
  flex-direction: column;
}
.ev-np-logo {
  width: 56px;
  height: auto;
  display: block;
  margin: 0 0 18px 0;
}
.ev-np-sublabel {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2659d7;
  line-height: 1.5;
  margin: 0;
}
.ev-np-schedule {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  color: #999999;
  letter-spacing: 0.04em;
  margin-top: 18px;
  line-height: 1.7;
}
.ev-np-free { color: #1a1a1a; font-weight: 600; }
.ev-np-content-col {
  padding: 36px 32px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ev-np-headline {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: #1a1a1a;
  margin: 0 0 22px 0;
}
.ev-np-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  margin: 0 0 10px 0;
}
.ev-np-input {
  background: #ffffff;
  border: 1px solid #cccccc;
  border-right: none;
  color: #1a1a1a;
  padding: 12px 13px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.ev-np-input:focus { border-color: #2659d7; }
.ev-np-input::placeholder { color: #999999; }
.ev-np-button {
  background: #2659d7;
  color: #ffffff;
  border: 1px solid #2659d7;
  padding: 12px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.ev-np-button:hover { background: #1a46b8; border-color: #1a46b8; }
.ev-np-fineprint {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  color: #999999;
  letter-spacing: 0.02em;
  margin: 0;
}
.ev-np-mobile-meta { display: none; }
@media (max-width: 600px) {
  .boxzilla-93076,
  #boxzilla-93076 {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 14px 14px 0 0 !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 2px solid #1a1a1a !important;
    box-shadow: 0 -12px 40px rgba(20, 30, 60, 0.22) !important;
    transform: none !important;
    animation: evNpSlideUp 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  #boxzilla-93076::before { height: 0; }
  #boxzilla-93076::after { width: 60px; height: 2px; top: 0; }
  .boxzilla-center-container,
  .boxzilla-bottom-container,
  .boxzilla-top-container {
    align-items: flex-end !important;
    justify-content: stretch !important;
  }
  .ev-np::before {
    content: "";
    display: block;
    grid-column: 1 / -1;
    width: 32px;
    height: 3px;
    background: #cccccc;
    border-radius: 2px;
    margin: 12px auto 14px;
  }
  .ev-np {
    grid-template-columns: 1fr;
    padding: 0 18px 20px;
  }
  .ev-np-meta-col {
    grid-row: auto;
    padding: 0 0 14px 0;
    border-right: none;
    border-bottom: 0.5px solid #e5e5e5;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }
  .ev-np-logo { width: 36px; margin: 0; }
  .ev-np-sublabel { font-size: 9px; margin: 0; }
  .ev-np-schedule { display: none; }
  .ev-np-mobile-meta {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    color: #6b6b6b;
    letter-spacing: 0.02em;
    margin: -14px 0 18px;
  }
  .ev-np-content-col { padding: 0; }
  .ev-np-headline { font-size: 18px; line-height: 1.25; margin-bottom: 6px; }
  .ev-np-form { grid-template-columns: 1fr; gap: 8px; margin-bottom: 10px; }
  .ev-np-input { border-right: 1px solid #cccccc; padding: 12px 13px; font-size: 14px; }
  .ev-np-button { padding: 13px; width: 100%; text-align: center; }
  .ev-np-fineprint { text-align: center; font-size: 10px; }
  #boxzilla-93076 .boxzilla-close-icon {
    top: 8px !important;
    right: 12px !important;
    font-size: 24px !important;
    width: 32px !important;
    height: 32px !important;
  }
}
@keyframes evNpSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .boxzilla-93076,
  #boxzilla-93076 { animation: none !important; }
  .boxzilla-overlay { backdrop-filter: none; }
}
/* === End EV Newsletter Popup === */

/* === EV Newsletter Popup Pixwell overrides === */
/* Pixwell theme applies rounded corners and full width to all buttons.
   We need higher specificity to win — chained class + form descendant. */
.ev-np .ev-np-form .ev-np-button,
.boxzilla .ev-np-form button.ev-np-button,
#boxzilla-93076 .ev-np-button {
  border-radius: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 12px 24px !important;
  height: auto !important;
  line-height: 1.2 !important;
}

.ev-np .ev-np-form .ev-np-input,
.boxzilla .ev-np-form input.ev-np-input,
#boxzilla-93076 .ev-np-input {
  border-radius: 0 !important;
  width: 100% !important;
  height: auto !important;
}

/* The form needs explicit grid behaviour reasserted on top of theme */
.ev-np .ev-np-form,
#boxzilla-93076 .ev-np-form {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 0 !important;
}

/* Mobile: full-width button in stacked layout */
@media (max-width: 600px) {
  .ev-np .ev-np-form .ev-np-button,
  .boxzilla .ev-np-form button.ev-np-button,
  #boxzilla-93076 .ev-np-button {
    width: 100% !important;
    padding: 13px !important;
  }
  .ev-np .ev-np-form,
  #boxzilla-93076 .ev-np-form {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
}
/* === End Pixwell overrides === */

/* =========================================================================
   EV — Latest Stories Rail (added via Claude, snippet #141539)
   v2: bumped specificity to beat theme .entry-content rules.
   ========================================================================= */

.ev-rail {
    border-left: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0 0 0 12px;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Hide the homepage hero column's hard black right border in favor of our softer .ev-rail border-left */
.most-read-column {
    border-right: none !important;
    padding-right: 24px !important;
}

.ev-rail .ev-rail__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 6px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.ev-rail .ev-rail__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 400;
    margin: 0;
    line-height: 1.1;
    color: #111;
}

.ev-rail .ev-rail__live {
    font-size: 11px;
    color: #888;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.02em;
}

.ev-rail .ev-rail__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2659d7;
    display: inline-block;
    animation: ev-rail-pulse 2s ease-in-out infinite;
}

@keyframes ev-rail-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
    .ev-rail .ev-rail__dot { animation: none; }
}

.ev-rail ul.ev-rail__list,
.ev-rail .ev-rail__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ev-rail .ev-rail__item {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: none !important;
}

.ev-rail .ev-rail__item::before,
.ev-rail .ev-rail__item::marker {
    display: none !important;
    content: none !important;
}

.ev-rail .ev-rail__item:last-child { border-bottom: none; }

.ev-rail .ev-rail__item {
    /* Item padding moved here since the wrapping link is gone */
}

.ev-rail .ev-rail__body {
    padding: 8px 0;
}

.ev-rail h3.ev-rail__headline,
.ev-rail .ev-rail__headline {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
    color: #111 !important;
    margin: 0 0 6px /* headline */ !important;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ev-rail .ev-rail__headline-link {
    color: #111 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.15s ease;
    border-bottom: none !important;
    box-shadow: none !important;
    background: none !important;
}

.ev-rail .ev-rail__headline-link:hover {
    color: #2659d7 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
}

.ev-rail .ev-rail__thumb {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0ec;
    flex-shrink: 0;
}

.ev-rail .ev-rail__img,
.ev-rail .ev-rail__thumb img {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    margin: 0 !important;
}

.ev-rail .ev-rail__thumb--placeholder {
    background: linear-gradient(135deg, #e5e5e0, #d4d4cf);
}

.ev-rail .ev-rail__body { min-width: 0; }

.ev-rail .ev-rail__cat,
.ev-rail a.ev-rail__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2659d7;
    margin: 0 0 4px;
    line-height: 1.2;
    text-decoration: none;
    border-bottom: none;
}

.ev-rail a.ev-rail__cat:hover {
    color: #1a46b8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* .ev-rail__headline rules merged into headline-link block above */

.ev-rail .ev-rail__meta {
    font-size: 11px;
    color: #999;
    margin: 0;
    line-height: 1.2;
}

.ev-rail .ev-rail__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 0;
    margin-top: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: #2659d7;
    text-decoration: none;
}

.ev-rail .ev-rail__more:hover {
    text-decoration: underline;
    color: #1a46b8;
}

.ev-rail .ev-rail__arrow {
    font-size: 16px;
    transition: transform 0.15s ease;
}

.ev-rail .ev-rail__more:hover .ev-rail__arrow { transform: translateX(3px); }

@media (max-width: 768px) {
    .ev-rail {
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.18);
        padding: 20px 0 0;
        margin-top: 20px;
    }
    .ev-rail .ev-rail__title { font-size: 22px !important; }
    .ev-rail h3.ev-rail__headline,
    .ev-rail .ev-rail__headline { font-size: 15px !important; }
    .ev-rail .ev-rail__cat { font-size: 10px; }
    .ev-rail .ev-rail__meta { font-size: 11px; }
}


/* Reclaim the column gap for the rail on the homepage.
   Original gap is 40px; with the hard divider removed it reads as empty space. */
.wp-block-columns.bottom-border-exclusive:has(.ev-rail) {
    gap: 10px !important;
}

/* Let the rail's column grow into the reclaimed ~20px */
.wp-block-columns.bottom-border-exclusive:has(.ev-rail) > .wp-block-column:has(.ev-rail) {
    flex-grow: 1.05 !important;
}


/* =========================================================================
   EV — Site-wide category label styling (matches the Latest rail brand tags)
   Applies to .cat-links which is used on every post card and post header.
   Excludes nav menus, breadcrumbs, page titles, author bylines.
   ========================================================================= */
.cat-links,
.cat-links a {
    text-transform: uppercase !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    color: #2659d7 !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
}

.cat-links a:hover {
    color: #1a46b8 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}


/* =========================================================================
   EV — Navigation restyling (NO font-size/weight changes on top nav items)
   ========================================================================= */

/* Desktop top-level nav: hover color only — keep theme's original font */
.main-menu-wrap > ul > li > a:hover,
.main-menu-wrap > ul > li:hover > a {
    color: #2659d7 !important;
}

/* Desktop sub-menu dropdowns: subtle border + soft hover bg */
.main-menu-wrap ul ul {
    border: 0.5px solid rgba(0,0,0,0.10) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06) !important;
    border-radius: 0 !important;
    padding: 6px 0 !important;
    background: #ffffff !important;
}

.main-menu-wrap ul ul li > a:hover,
.main-menu-wrap ul ul li:hover > a {
    background: #F4F7FE !important;
    color: #2659d7 !important;
}

/* Mobile slide-out drawer: blue hover, blue accent on sub-items */
#off-canvas-section a:hover {
    color: #2659d7 !important;
}

#off-canvas-section ul ul li > a {
    border-left: 2px solid #E4EAF8 !important;
    padding-left: 14px !important;
}

#off-canvas-section ul ul li > a:hover {
    border-left-color: #2659d7 !important;
}

#off-canvas-section .menu > li {
    border-bottom: 0.5px solid rgba(0,0,0,0.06) !important;
}

#off-canvas-section .menu > li:last-child {
    border-bottom: none !important;
}

/* Subscribe button inside the drawer */
#off-canvas-section .wp-block-button__link,
#off-canvas-section a.wp-element-button {
    background: #2659d7 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
}

#off-canvas-section .wp-block-button__link:hover,
#off-canvas-section a.wp-element-button:hover {
    background: #1A46B8 !important;
}

/* Search icon hover turns blue */
.search-icon.nav-search-link:hover {
    color: #2659d7 !important;
}


/* Force category color in rail to brand blue (override theme generic a rule) */
.ev-rail .ev-rail__cat,
.ev-rail a.ev-rail__cat,
.ev-rail__item a.ev-rail__cat {
    color: #2659d7 !important;
    text-decoration: none !important;
}
.ev-rail .ev-rail__cat:hover,
.ev-rail a.ev-rail__cat:hover {
    color: #1a46b8 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}


/* Unify section dividers — match the rail's soft grey instead of harsh black */
.wp-block-columns.bottom-border-exclusive {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
}


/* =========================================================================
   EV — Single-post byline/date restyle (Open Sans, smaller, secondary grey)
   Goal: keep category as the editorial lead, byline/date as quiet metadata
   ========================================================================= */
.single-entry-meta,
.single-entry-meta .inner,
.single-entry-meta time,
.single-entry-meta .author,
.single-entry-meta a {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
}
.single-entry-meta {
    color: #6b7280 !important;
}
.single-entry-meta a {
    color: #2659d7 !important;
    text-decoration: none !important;
}
.single-entry-meta a:hover {
    color: #1a46b8 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}
.single-entry-meta time,
.single-entry-meta .entry-date {
    color: #6b7280 !important;
}
/* Light-text variant (hero overlay) keeps white on blue */
.single-header-overlay.is-light-text .single-entry-meta,
.single-header-overlay.is-light-text .single-entry-meta time,
.single-header-overlay.is-light-text .single-entry-meta a {
    color: rgba(255,255,255,0.9) !important;
}


/* =========================================================================
   EV — Newsletter Popup (Boxzilla #93076) fixes
   1) min-height on the Beehiiv form wrap so the popup never renders half-loaded
   2) force centered positioning on mobile so bottom-anchored ads can't overlap
   ========================================================================= */

/* Reserve space for the form while Beehiiv iframe loads */
.ev-np-beehiiv-wrap {
    min-height: 280px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    display: block !important;
}
.ev-np-beehiiv-wrap iframe {
    height: auto !important;
    min-height: 280px !important;
    max-height: none !important;
    width: 100% !important;
    border: 0 !important;
    display: block !important;
}

/* Force centered positioning on ALL viewports (desktop + mobile) */
.boxzilla-container.boxzilla-center-container {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    bottom: auto !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 48px) !important;
    z-index: 99999 !important;
}

.boxzilla.boxzilla-93076 {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    max-width: 540px !important;
    width: 100% !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25) !important;
}

/* Mobile (≤ 600px): single-column stacked layout, centered, no bottom-anchor */
@media (max-width: 600px) {
    .boxzilla-container.boxzilla-center-container {
        max-width: calc(100vw - 16px) !important;
        max-height: calc(100vh - 32px) !important;
    }
    .boxzilla.boxzilla-93076 {
        max-width: 100% !important;
        width: calc(100vw - 16px) !important;
    }
    .ev-np {
        grid-template-columns: 1fr !important;
    }
    .ev-np-meta-col {
        border-right: none !important;
        border-bottom: 0.5px solid #e5e5e5 !important;
        padding: 20px 20px 16px 20px !important;
    }
    .ev-np-beehiiv-wrap {
        padding: 16px 20px 20px !important;
    }
    .ev-np-headline {
        font-size: 18px !important;
    }
}


/* Override Boxzilla's overflow:hidden so the form isn't clipped */
.boxzilla.boxzilla-93076,
.boxzilla.boxzilla-93076 .boxzilla-content {
    overflow: visible !important;
    height: auto !important;
    min-height: 280px !important;
}


/* =========================================================================
   EV — Mobile homepage redesign (≤600px only)
   Goals: edge-to-edge hero, tighter stack, compact rail, stronger hierarchy,
   editorial density above the fold.
   ========================================================================= */
@media (max-width: 600px) {

    /* 1) Edge-to-edge hero image — strategy: remove .site-content gutter for hero figure */
    /* Body has overflow:clip, so 100vw breakout fails. Instead, kill the gutter only around the hero. */
    .home .site-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Re-add 20px gutter on everything inside .site-content EXCEPT the first hero figure */
    .home .site-content > * {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    /* The columns row containing the hero: zero its lateral padding so figure goes edge-to-edge */
    .home .wp-block-columns.bottom-border-exclusive {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* But the columns' text content needs 20px gutter back so headlines don't touch edges */
    .home .wp-block-columns.bottom-border-exclusive > .wp-block-column {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    /* Critical: the hero figure breaks out of column padding via negative margins */
    .home .wpnbha article:first-of-type .post-thumbnail {
        margin-left: -20px !important;
        margin-right: -20px !important;
        margin-bottom: 14px !important;
        width: calc(100% + 40px) !important;
        max-width: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        position: relative !important;
        height: 0 !important;
        padding-bottom: 56.25% !important;
        overflow: hidden !important;
    }
    .home .wpnbha article:first-of-type .post-thumbnail a,
    .home .wpnbha article:first-of-type .post-thumbnail img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 0 !important;
    }

    /* 2) Tighter hero stack: less gap between category, title, byline */
    .home article.post-has-image:first-of-type .cat-links {
        margin-bottom: 6px !important;
        font-size: 11px !important;
        letter-spacing: 0.08em !important;
    }

    .home article.post-has-image:first-of-type h2.entry-title,
    .home article.post-has-image:first-of-type h1.entry-title {
        font-size: 28px !important;
        line-height: 1.15 !important;
        margin-bottom: 10px !important;
        letter-spacing: -0.01em !important;
    }

    .home article.post-has-image:first-of-type .entry-meta {
        margin-bottom: 12px !important;
        font-size: 13px !important;
        color: #6b7280 !important;
    }

    /* Section divider tighter on mobile (the soft grey we set earlier) */
    .home .wp-block-columns.bottom-border-exclusive {
        margin-bottom: 18px !important;
        padding-bottom: 18px !important;
    }

    /* 3) Compact rail: tighter padding, smaller headlines, no left rail border */
    .ev-rail {
        padding: 14px 0 0 0 !important;
        border-left: none !important;
        border-top: 1px solid rgba(0, 0, 0, 0.12) !important;
        margin-top: 6px !important;
    }

    .ev-rail__head {
        padding-bottom: 6px !important;
        margin-bottom: 0 !important;
    }

    .ev-rail__title {
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .ev-rail__updated {
        font-size: 11px !important;
    }

    .ev-rail__body {
        padding: 10px 0 !important;
    }

    .ev-rail__cat {
        font-size: 10px !important;
        margin-bottom: 4px !important;
    }

    .ev-rail__headline,
    .ev-rail h3.ev-rail__headline {
        font-size: 15px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }

    .ev-rail__meta {
        font-size: 11px !important;
    }

    /* 4) Stronger "Latest" treatment: tighter divider, blue accent on the title */
    .ev-rail__title::before {
        content: "" !important;
        display: inline-block !important;
        width: 3px !important;
        height: 18px !important;
        background: #2659d7 !important;
        margin-right: 8px !important;
        vertical-align: -3px !important;
    }

    /* 5) Mobile story cards below the hero — horizontal compact layout */
    .home .wp-block-columns:not(:has(.ev-rail)) article.post-has-image {
        display: grid !important;
        grid-template-columns: 100px 1fr !important;
        gap: 12px !important;
        align-items: start !important;
        margin-bottom: 18px !important;
        padding-bottom: 18px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }

    .home .wp-block-columns:not(:has(.ev-rail)) article.post-has-image .post-thumbnail {
        margin: 0 !important;
        padding-bottom: 0 !important;
        height: 75px !important;
        overflow: hidden !important;
    }

    .home .wp-block-columns:not(:has(.ev-rail)) article.post-has-image .post-thumbnail img,
    .home .wp-block-columns:not(:has(.ev-rail)) article.post-has-image .post-thumbnail a {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }

    .home .wp-block-columns:not(:has(.ev-rail)) article.post-has-image .entry-content-wrap,
    .home .wp-block-columns:not(:has(.ev-rail)) article.post-has-image .post-content {
        padding: 0 !important;
    }

    .home .wp-block-columns:not(:has(.ev-rail)) article.post-has-image h2.entry-title,
    .home .wp-block-columns:not(:has(.ev-rail)) article.post-has-image h3.entry-title {
        font-size: 15px !important;
        line-height: 1.25 !important;
        margin: 4px 0 6px !important;
        letter-spacing: -0.005em !important;
    }

    .home .wp-block-columns:not(:has(.ev-rail)) article.post-has-image .cat-links {
        font-size: 10px !important;
        margin-bottom: 2px !important;
        letter-spacing: 0.08em !important;
    }

    .home .wp-block-columns:not(:has(.ev-rail)) article.post-has-image .entry-meta {
        font-size: 11px !important;
        color: #6b7280 !important;
    }

    /* Stack columns vertically on mobile (default WP behavior, just enforcing) */
    .home .wp-block-columns {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .home .wp-block-columns .wp-block-column {
        width: 100% !important;
        flex-basis: 100% !important;
        padding: 0 !important;
    }
}


/* =========================================================================
   EV — Inline meta line: category + byline + time on ONE row
   Uses flexbox order to move byline up next to category.
   ========================================================================= */
.wpnbha article .entry-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}
.wpnbha article .entry-wrapper .cat-links {
    order: 1 !important;
    margin-bottom: 0 !important;
}
.wpnbha article .entry-wrapper .entry-meta {
    order: 2 !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    font-size: 13px !important;
    color: #6b7280 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.wpnbha article .entry-wrapper h2.entry-title,
.wpnbha article .entry-wrapper .entry-title {
    order: 3 !important;
    margin-top: 0 !important;
}


/* Insert a middot separator between byline and time */
.wpnbha article .entry-meta time.entry-date.published::before,
.wpnbha article .entry-meta time.published::before {
    content: " · " !important;
    color: #9ca3af !important;
    margin: 0 2px !important;
}


/* Override theme's overflow:clip on .rbc-wrap so 100vw hero can break out on mobile */
@media (max-width: 600px) {
    .home .rbc-wrap,
    .home .site-wrap,
    .home .site-content,
    .home .wp-block-columns,
    .home .wp-block-column,
    .home .single-content-wrap,
    .home .entry-content {
        overflow: visible !important;
        overflow-x: visible !important;
    }
    /* Also remove .site-content horizontal padding for the hero figure's parent */
    .home .wpnbha article:first-of-type .post-thumbnail {
        overflow: hidden !important; /* keep image cropping inside the figure */
    }
}


/* Additional mobile fixes: kill EVERY container's padding around the hero, only re-add on text content */
@media (max-width: 600px) {
    .home .wpnbha,
    .home .wpnbha > div,
    .home .wp-block-newspack-blocks-homepage-articles,
    .home .wp-block-newspack-blocks-homepage-articles > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Force the article itself to negative margin out */
    .home .wpnbha article:first-of-type {
        margin-left: -20px !important;
        margin-right: -20px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* But put the text content inside the article back at 20px gutter */
    .home .wpnbha article:first-of-type .entry-wrapper {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    /* Override the previous rule: thumb stretches full width, no more negative margins on figure */
    .home .wpnbha article:first-of-type .post-thumbnail {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: none !important;
        height: 0 !important;
        padding-bottom: 56.25% !important;
        position: relative !important;
        overflow: hidden !important;
        border-radius: 0 !important;
        margin-bottom: 14px !important;
    }
}


/* SLEDGEHAMMER: Force edge-to-edge hero on mobile by zeroing EVERY container's lateral padding/margin */
@media (max-width: 600px) {
    /* Override theme's centering of the page article */
    body.page-template-default article.page,
    body.page article.page,
    article#post-3979,
    article.page {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    /* Site-content and all its outer wrappers: zero padding */
    .home .site-content,
    .home .site-content.rb-p20-gutter,
    .home .rbc-fw-section,
    .home .site-main,
    .home .rbc-content,
    .home .rbc-wrap,
    .home .wrap.pageh-fullwide,
    .home .site-wrap,
    .home .site-outer,
    .home .site,
    .home .single-content-wrap,
    .home .entry-content,
    .home .wp-block-columns,
    .home .wp-block-columns > .wp-block-column,
    .home .wp-block-column.most-read-column,
    .home .wp-block-newspack-blocks-homepage-articles,
    .home .wpnbha {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }
    /* The hero article itself: full width, no padding */
    .home .wpnbha article:first-of-type,
    .home .wp-block-newspack-blocks-homepage-articles article:first-of-type {
        margin: 0 0 18px 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    /* The figure inside: span exactly 100% of the article (which now equals viewport) */
    .home .wpnbha article:first-of-type .post-thumbnail {
        margin: 0 0 14px 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 0 !important;
        padding-bottom: 56.25% !important;
        position: relative !important;
        overflow: hidden !important;
        border-radius: 0 !important;
    }
    .home .wpnbha article:first-of-type .post-thumbnail a,
    .home .wpnbha article:first-of-type .post-thumbnail img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    /* Re-add 20px gutter to the TEXT content only (.entry-wrapper) */
    .home .wpnbha article:first-of-type .entry-wrapper {
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Re-add 20px to other site content text (rail, other sections) */
    .home .ev-rail,
    .home .wp-block-columns:not(:first-of-type),
    .home .wp-block-column:not(.most-read-column) > * {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    /* Re-add 20px gutter to the rest of the homepage articles after the hero */
    .home .wpnbha article:not(:first-of-type) {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}


/* Pixwell theme adds 20px gutter via .rb-p20-gutter class — kill it on mobile home */
@media (max-width: 600px) {
    .home .rb-p20-gutter,
    .home.page-template-default .rb-p20-gutter,
    body.home .rb-p20-gutter {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


/* TRULY edge-to-edge hero on mobile — the gutter comes from .site-content.rb-p20-gutter which has padding:15px under (max-width: 767px) media. Beat it with a more specific selector + !important. */
@media (max-width: 767px) {
    .home .site-content.rb-p20-gutter,
    .home .site-content.rbc-container.rb-p20-gutter,
    body.home .site-content.rb-p20-gutter.rbc-fw-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}
@media (max-width: 600px) {
    /* Belt and braces: also remove on home page articles row */
    .home .site-content,
    .home .rbc-container,
    body.home .site-content,
    body.home .rbc-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }
}
