/* The original header/footer and article typography remain under theme control. */
body main.rgc-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  width: calc(100% - 48px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 0 68px;
  align-items: start;
}
body main.rgc-blog-layout.rgc-blog-has-sidebar {
  grid-template-columns: minmax(0, 1fr) 288px;
}
.rgc-blog-main,
.rgc-blog-main article,
.rgc-blog-sidebar { min-width: 0; }
.rgc-blog-main .page-header { margin-bottom: 22px; }
.rgc-blog-main .page-header h1 { margin-top: 0; }
.rgc-blog-featured { margin: 0 0 30px; }
.rgc-blog-featured img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.rgc-blog-main .page-content img { max-width: 100%; height: auto; }
.rgc-blog-main .page-content { overflow-wrap: anywhere; }
.rgc-blog-main .elementor-location-archive { max-width: 100%; }
.rgc-blog-main .elementor-location-archive > .elementor-element { padding-top: 0; }
.rgc-blog-main .elementor-posts-container.elementor-posts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rgc-blog-main .elementor-posts-container .elementor-post__thumbnail {
  padding-bottom: 0 !important;
  height: auto !important;
}
.rgc-blog-main .elementor-posts-container .elementor-post__thumbnail img {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
}
.rgc-blog-fallback-posts { display: grid; gap: 32px; }
.rgc-blog-sidebar { padding-top: 4px; }
.rgc-blog-widget {
  margin: 0 0 22px;
  padding: 23px;
  color: #294a52;
  background: #f5faf9;
  border: 1px solid #dce9e6;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.rgc-blog-widget h2.rgc-blog-widget-title {
  margin: 0 0 16px;
  color: #103f48;
  font-size: 19px;
  line-height: 1.4;
}
.rgc-blog-widget ul { margin: 0; padding-left: 19px; }
.rgc-blog-widget li { margin-bottom: 12px; font-size: 15px; line-height: 1.6; }
.rgc-blog-widget li:last-child { margin-bottom: 0; }
.rgc-blog-widget a { color: #087775; }
.rgc-blog-widget a:hover { text-decoration: underline; }
.rgc-blog-widget .search-form { display: grid; gap: 10px; }
.rgc-blog-widget .search-field,
.rgc-blog-widget input[type="search"],
.rgc-blog-widget select { width: 100%; max-width: 100%; }
.rgc-blog-widget .search-submit,
.rgc-blog-widget input[type="submit"],
.rgc-blog-widget button[type="submit"] {
  width: 100%;
  padding: 10px 12px;
  color: #fff;
  background: #008f8a;
  border: 0;
  border-radius: 4px;
}
.rgc-blog-widget :focus-visible { outline: 2px solid #008f8a; outline-offset: 3px; }
@media (max-width: 960px) {
  body main.rgc-blog-layout.rgc-blog-has-sidebar { grid-template-columns: minmax(0, 1fr); }
  .rgc-blog-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .rgc-blog-widget { margin: 0; }
}
@media (max-width: 600px) {
  body main.rgc-blog-layout { width: calc(100% - 32px); padding-top: 24px; gap: 32px; }
  .rgc-blog-main .elementor-posts-container.elementor-posts,
  .rgc-blog-sidebar { grid-template-columns: minmax(0, 1fr); }
}
