/* ==========================================================================
   GLOBAL.CSS — Core base styles, typography, layout, and responsive resets
   ParentingPatch (GeneratePress Child Theme)
   ========================================================================== */

/* ------------------------------
   Mediavine Sidebar Adjustments
--------------------------------*/
@media only screen and (min-width: 1200px) {
  .single-post #primary {
    max-width: calc(100% - 300px);
  }
  #right-sidebar {
    min-width: 300px;
  }
}

/* ------------------------------
   Base Typography & Elements
--------------------------------*/
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #111;
  line-height: 1.6;
}

a {
  color: #058d05;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover,
a:focus {
  color: #036e03;
  text-decoration: underline;
}

/* ------------------------------
   Hero + Page Titles
--------------------------------*/
.page-hero .entry-header {
  display: block !important;
}
.page-hero .entry-title,
.page-hero .post-meta {
  display: block !important;
  color: #555;
  font-size: 16px;
  text-align: center;
}

/* ------------------------------
   Featured Post / Archives Adjustments
--------------------------------*/
.featured-column.grid-100 {
  width: 100%;
}
.featured-column.grid-100:not(.has-post-thumbnail)
  .gb-grid-wrapper
  > .gb-grid-column:first-child {
  display: none;
}
.featured-navigation .gb-grid-column:empty {
  flex: 0 1;
}
@media (min-width: 769px) {
  .featured-navigation .gb-grid-column:not(:empty) {
    flex: 1 0;
  }
}
.generate-columns-container .post > .gb-container,
.generate-columns-container .post > .gb-container > .gb-inside-container,
.post-summary > .gb-inside-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: -30px;
}
.post-summary {
  flex: 1;
}
.post-summary > .gb-inside-container > *:last-child {
  margin-top: auto;
}
.generate-columns-container .dynamic-featured-image {
  border-radius: 4px;
}

/* ------------------------------
   Responsive Hero Images
--------------------------------*/
@media (max-width: 1024px) and (min-width: 769px) {
  .page-hero-block:before {
    background-size: cover;
  }
  .featured-column,
  .featured-column img.wp-post-image {
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  .page-hero-block:before {
    background: none;
  }
}

/* ------------------------------
   Navigation Menu
--------------------------------*/
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items {
  color: #000;
  font-weight: 800;
}

/* ------------------------------
   Headings / Section Titles
--------------------------------*/
.single-post .entry-content h2 {
  font-weight: 800;
  font-size: 36px;
  line-height: 1.3;
  border-bottom: 4px solid #90ee90 !important;
  border-top: 4px solid #90ee90 !important;
}

/* ------------------------------
   Shared Image Styles
--------------------------------*/
.wp-block-image img,
.wp-block-columns img,
.gb-image img {
  box-sizing: border-box;
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* ------------------------------
   Responsive Headline Tweaks
--------------------------------*/
@media (max-width: 768px) {
  p.gb-headline-d351f561 {
    font-size: 16px;
    font-weight: 600;
    margin: -40px 0 0;
  }
  p.gb-headline-3fc250ee {
    font-size: 12px;
    margin: -30px 0 0;
  }
  p.gb-headline-516b5993 {
    font-size: 14px;
    font-weight: 600;
    margin: -30px 0 0;
  }
  h1 {
    font-size: 25px;
  }
}

/* ------------------------------
   Smooth Scroll & Anchor Offsets
--------------------------------*/
:root {
  scroll-behavior: smooth;
}
[id] {
  scroll-margin-top: 80px;
}

/* ------------------------------
   Shared Utilities
--------------------------------*/
.text-center {
  text-align: center;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mt-0 {
  margin-top: 0 !important;
}

/* ------------------------------
   Responsive Utility Classes
--------------------------------*/
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
}
@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

/* ------------------------------
   Global Layout Containers
--------------------------------*/
.one-container.blog .post:not(:last-child):not(.is-loop-template-item),
.one-container.archive .post:not(:last-child):not(.is-loop-template-item) {
  padding-bottom: 0;
}

/* ------------------------------
   Accessibility Focus
--------------------------------*/
a:focus-visible {
  outline: 2px dashed #058d05;
  outline-offset: 2px;
}
