/**************************
BLOG PAGE LAYOUT
**************************/
.blog-loop-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-blog .hero-slider-column .slide {
	background-position:top center;
}

.blog-sidebar {
  flex: 1;
  min-width: 260px;
}

.posts-main {
  flex: 3;
	margin-top:-180px;
}

@media (min-width: 1005px) {
    .page-blog .hero-slider-column {
        max-height: 600px !important;
    }
    .page-blog .hero-welcome-area {
        background-size: cover;
        background-position: center;
        display: flex;
        justify-content: center !important;  
        align-items: center !important;
        height: 100%;
		max-height: 650px;
        box-sizing: border-box;
    }
	.page-blog .hero-three-column-layout {
        max-height: 650px !important;
    }
    .page-blog .hero-three-column-layout {
        display: grid;
        grid-template-columns: 50% 1fr 290px;
        height: 80vh;
        min-height: 600px !important;
        position: relative;
        background: linear-gradient(to right, #021941, #465F8B);
    }

    .page-blog .hero-accent-image:after {
        content: '';
          width: 218px;
        height: 359px;
        position: absolute;
        left: -107px;
        bottom: -8rem;
        background-image: url(/wp-content/uploads/2025/11/icon-tree.webp);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 8000;
    }

    .page-blog  div.more_content_down_arrow {
        width: 30px;
        position: absolute;
        bottom: -130px;
        left: 6%;
        z-index: 19 !important;
    }
}

@media (min-width: 1005px) and (max-width: 1400px) {
    .page-blog .hero-three-column-layout {
        grid-template-columns: 50% 50% !important;
    }
}
@media (max-width: 1004px) {
    .page-blog .hero-slider-column {
        position: absolute;
        display: flex;
        flex-direction: column;
        height: 410px !important;
        overflow: hidden;
        bottom: 0px !important;
        left: 0px !important;
        right: 0px;
        border-top-left-radius: 120px;
        z-index: 500;
    }
	.blog-sidebar {display:none;}
}

/**************************
FEATURED POST
**** **********************/

.featured-post-wrap {
  margin: 40px 0 60px;
  position: relative;
  z-index: 1;
	margin-left:auto;
	margin-right:auto;
	max-width:1500px;
	margin-top:90px;
}

.featured-post {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  gap: 48px;
  min-height: 420px;
}

/* Image column */
.featured-media {
  position: relative;
  height: 100%;
}

.featured-media__img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  border-bottom-right-radius: 120px;
  overflow: hidden;
  position: relative;
}

/* Text side */
.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  color: #1E355E;
}

.featured-heading {
font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #1E355E;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.featured-title {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 44px;
  line-height:50px;
  font-weight: 700;
  color: #1E355E;
  text-decoration: none;
  border-bottom: 2px solid rgba(30, 53, 94, 0.25);
}

.featured-title:hover {
  border-bottom-color: rgba(30, 53, 94, 0.5);
	text-decoration:none;
	color:#96004B;
}

.featured-excerpt {
  font-size: 23px;
  line-height: 40px;
  margin: 0 0 28px;
}

.featured-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 34px;
  border-radius: 999px;
  background: #B8D87A;
  color: #0B1424;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.06s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.featured-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  background: #d95d14;
}

.flexible-two-column-row.newsletter_signup {
    max-width:1500px;
	margin-left:auto;
	margin-right:auto;
	padding:2rem;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .featured-post { gap: 36px; min-height: 380px; }
  .featured-heading { font-size: 38px; }
}

@media (max-width: 900px) {
  .featured-post { grid-template-columns: 1fr; min-height: auto; }
  .featured-media__img { border-bottom-right-radius: 120px; min-height: 360px; }
}

@media (max-width: 640px) {
  .featured-heading { font-size: 20px;
		padding-bottom:10px;
	}
  .featured-title { font-size: 28px; 
		padding-bottom:10px;
}
	.featured-content {
		padding-top:0px;
	}
  .featured-btn { font-size: 16px; padding: 16px 28px; }
}

/**************************
SIDEBAR STYLING
**************************/

.blog-category-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-category-buttons a {
  color: #1E355E;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.blog-category-buttons a:hover {
  color: #F36E21;
}

.blog-category-buttons .category-button.active {
  color: #F36E21;
  font-weight: 600;
}

.blog-sidebar h3,
.blog-sidebar h2,
.blog-sidebar strong {
  font-size: 24px;
  color: #1E355E;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-search-form {
  background: linear-gradient(to right, #001A45, #47608A);
  padding: 20px 22px;
}

.blog-search-form form {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: nowrap;
}

.blog-search-form .search-field {
  width: 100%;
  max-width: 540px;
  height: 35px;
  background: #fff;
  border: none;
  padding: 0 18px;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1E355E;
}

.blog-search-form .search-field::placeholder {
  color: #6c6c6c;
}

.blog-search-form button {
  background: #fff;
  border: none;
  height: 35px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/**************************
BLOG HEADER
**************************/
@media (min-width: 380px) {
    .blog #content, .blog > aside {
        padding: 0;
    }
}

#blog-header h2 {
  font-size: 40px;
  font-weight: 700;
  color: #1E355E;
  margin-bottom: 0px;
}

#blog-header h2 em {
  color: #96004B;
  font-style: normal;
}
.blog .simple-hero {
	background-size:cover;
	min-height:45vh;
}

/**************************
POSTS GRID
**************************/

.blog-loop-layout {
	margin-top:250px !important;
	margin-bottom:0;
	margin-left:auto;
	margin-right:auto;
	max-width:1500px;
	padding:30px;
}

#breadcrumbs {
	margin-left:auto;
	margin-right:auto;
	max-width:1500px;
}

@media (max-width: 640px) {
#breadcrumbs {
	padding:0px 30px;
	}
}
.archive .blog-loop-layout {
	margin-top:150px !important;
	margin-bottom:7%;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 25px;
  row-gap: 55px;
}

.blog .posts-grid article.post {
	padding-bottom:30px;
}


.posts-grid article,
.posts-grid .hentry {
  margin: 0 !important;
  padding: 0;
  display: block;
}

.posts-grid .article-header,
.posts-grid .article-footer,
.posts-grid h1,
.posts-grid h2,
.posts-grid h3,
.posts-grid h4,
.posts-grid p {
  margin: 0;
  padding: 0;
}
.posts-grid h2.page-title {
	margin-top:22px ;
}

.article-header { display: block; }
.blog_cat_box { margin-top: 8px; }
.page-title { margin-top: 4px; }
.excerpt-read-more { margin-top: 8px; }

.blog_post_img {
  width: 100%;
  aspect-ratio: 16 / 12;
  overflow: hidden;
	box-shadow:.5px 1px 4px #aeaeae;
}

.blog_post_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.blog_post_img:hover img { transform: scale(1.03); }



.posts-grid .article-header {
  display: grid;
}

.posts-grid .article-header > a:first-child,
.posts-grid .blog_cat_box {
  grid-row: 1;
  grid-column: 1;
}

.posts-grid .blog_cat_box {
  align-self: end;
  z-index: 1;
}


.blog_cat_box .footer-category {
	line-height:22px;
	padding:6px 10px;
	margin-top:20px;
	margin-bottom:0px;
	background-color:rgba(255,255,255, .8);
	box-shadow:.5px 1px 4px #aeaeae;
}
.footer-category {
	font-weight:400;
	font-size: 16px;
}

.footer-category a {
	font-style:italic;
	font-weight:400 !important;
	color:#F36E21 !important;
}

.page-title {
  font-size: 18px;
  line-height: 1.35;
  color: #1E355E;
  font-weight: 600;
}

.page-title a,
.article-header a {
  text-decoration: none;
  color: inherit;
}

.excerpt-read-more {
  font-size: 14px;
	font-weight:bold;
  color: #536077 !important;
  text-decoration: none;
  display: block;
  text-align: right;
}

.excerpt-read-more:hover { color: #F36E21; }

.posts-grid .entry-content { 
	display:none; 
}
.posts-grid .article-footer { display: none; }

/**************************
BLOG BREAKPOINTS
**************************/

@media (max-width: 1200px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 16px;
  }
}

@media (max-width: 820px) {
  .blog-loop-layout { flex-direction: column; }
  .blog-sidebar { order: 2; width: 100%; }
  .posts-main { order: 1; width: 100%; }

  .posts-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 16px;
  }

  #blog-header h2 { font-size: 32px; }
}

@media (max-width: 640px) {
  .page-title { font-size: 16px; }
  .excerpt-read-more { font-size: 13px; }
}

/**************************
BLOG PAGE CATEGORIES
**************************/

.archive .simple-hero {
	background-size:cover;
	min-height:45vh;
}

.blog-category-buttons { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.mobile-category-dropdown { display: none;}

.category-button,
.category-button:link,
.category-button:visited {
  display: inline-block;
  margin: 0 10px;
  padding: .5rem 1.75rem;
  text-transform: initial !important;
  text-decoration: none;
  color: #1E355E;
  transition: background-color .25s ease, color .25s ease;
}
.category-button:hover,
.category-button.active {
  background: #1E355E;
  color: #fff !important;
}

#mobile-category-select,
#archive-mobile-category-select {
  width: 90%;
  padding: 12px 16px;
  border-radius: 4px;
  border: 2px solid #1E355E;
  background: #fff;
  font: 700 16px/1.1 sans-serif;
  color: #1E355E;
  text-transform: uppercase;
  appearance: none;
  margin: 0 30px;
}
.mobile-category-dropdown { position: relative; 
	margin-top:30px;
	margin-bottom:30px;
}
.mobile-category-dropdown::after {
  content: '▼';
  position: absolute;
  right: 10%;
  top: 76%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: #1E355E;
}

@media (max-width: 1004px) {
  .blog-category-buttons { display: none; }
  .mobile-category-dropdown { display: block; margin-bottom: 20px; }
}

/**************************
SINGLE POST STYLES
**************************/

/* Hero Section */
.blog .simple-hero,
.single .simple-hero,
.archive .simple-hero {
  position: relative;
  background-size: cover;
  background-position: center 8%;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.blog .simple-hero::after,
.single .simple-hero::after,
.archive .simple-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.blog .hero-content,
.single .hero-content,
.archive .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

.single .hero-content h3 {
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #B8D87A;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.blog .hero-content h1 em,
.archive .hero-content h1 em {
  font-size: 18px;
  font-weight: 600;
  color: #B8D87A;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.blog .hero-content h1,
.single .hero-content h1,
.archive .hero-content h1 {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

@media (max-width: 768px) {
  .single .hero-content h1 {
    font-size: 34px;
  }
  .single .hero-content h3 {
    font-size: 15px;
  }
}

/* Breadcrumbs */
.blog #breadcrumbs,
.single #breadcrumbs,
.archive #breadcrumbs {
  font-size: 15px;
  color: #1E355E;
  margin: 25px auto 0px;
  text-align: left;
}
.single #breadcrumbs {
  text-align: center;
}

.blog #breadcrumbs a,
.single #breadcrumbs a,
.archive #breadcrumbs a {
  color: #F36E21;
  text-decoration: none;
}

.blog #breadcrumbs a:hover,
.single #breadcrumbs a:hover,
.archive #breadcrumbs a:hover{
  text-decoration: underline;
}

/* Post Content */
.single article {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.single .entry-content {
  color: #1D1733;
  font-size: 19px;
  line-height: 34px;
}

.single .entry-content img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 8px;
  display: block;
}

.single .entry-content h2,
.single .entry-content h3 {
  color: #1E355E;
  margin-top: 2em;
  margin-bottom: 0.75em;
  font-weight: 700;
}

.single .entry-content a {
  color: #F36E21;
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 110, 33, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.single .entry-content a:hover {
  color: #d95d14;
  border-color: rgba(243, 110, 33, 0.5);
}

.single .article-footer {
  margin-top: 60px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
  font-size: 15px;
  color: #555;
}

.single .article-footer a {
  color: #1E355E;
  font-weight: 600;
  text-decoration: none;
}

.single .article-footer a:hover {
  color: #F36E21;
}

.publish_date p {
  text-transform: uppercase;
  font-size: 15px;
  color: #1E355E;
  letter-spacing: 0.05em;
}

.single #comments {
  margin-top: 60px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}
.single .related-posts-section,
.archive .related-posts-section {
	max-width:1500px;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:15px;
}
.single #blog-header h2 {
	margin-bottom:30px;
}
#blog-header {
	padding:5% 0 30px !important;
}