*{-webkit-box-sizing:border-box;box-sizing:border-box}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}*,*:after,*::before{-webkit-box-sizing:border-box;box-sizing:border-box}.clear,.clearall{clear:both}.clearfix{zoom:1}em{font-style:italic}strong{font-weight:600}small{font-size:.8em}

::-webkit-selection,
::-moz-selection,
::selection {
  background: #6e5f4d;
  color: #cccccc;
  text-shadow: none; }

::-webkit-input-placeholder {
  font-size: .875em;
  line-height: 1.4; }

input:-moz-placeholder {
  font-size: .875em;
  line-height: 1.4; }

sub,
sup {
  font-size: 0.8em;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.25em; }

p {
  padding-bottom: 1em; }

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: rgb(244, 102, 36);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgb(244, 102, 36);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: -0.025em;
  font-size: 1.2rem;
    padding-bottom: 1rem;
}
a,
a:link,
a:visited,
a:hover,
a:active {
  color: rgb(244, 102, 36);
 text-decoration: none;
}
a:hover {
  color: rgb(156 163 175);
}
/* Image Optimization */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Selection */
::selection {
  background-color: rgb(244, 102, 36);
  color: white;
}

/* Focus States */
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgb(244, 102, 36);
  outline-offset: 2px;
}
.orange {
    color: rgb(244, 102, 36);
}
.bold {
  font-weight: 700;
}
/* Backdrop Blur Support */
@supports ((-webkit-backdrop-filter: blur(12px)) or (backdrop-filter: blur(12px))) {
  .backdrop-blur {
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.3); /* Slightly lighter if blur is applied */
  }
}

@view-transition {
  navigation: auto;
}


/* Button Hover Effects */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

/* Grid System */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}



/* Performance Optimizations */
.gpu-layer {
  transform: translateZ(0);
  will-change: transform;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  /* Optional dark mode styles */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header */
.wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header { 
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  position: fixed;
  height: 120px;
}
header.shrink {
  height:60px;
}
#headcontainer {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  justify-content: space-between;
  align-items: center;
  max-width: 1536px;
  height: 100%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}
.site-title a {
  color: rgb(255 255 255);
  letter-spacing: 0.025em;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.75rem;
  text-transform: uppercase;
}
nav .nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.nav li a {
  transition: all 0.2s ease-in-out;
  color: rgb(200, 200, 200);
  letter-spacing: 0.025em;
  font-weight: 500;
  text-decoration: none;
  padding-left:1.5rem;
  display: block;
}
.nav li a:hover {
  transform: scale(1.05);
  color: rgb(244, 102, 36); 
}
/* Burger icon */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
/* Mobile styles */
@media (max-width: 800px) {
  nav .nav {
    flex-direction: column;
    align-items: center;
    background-color: rgba(0, 0, 0,.8);
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
-webkit-transform: translateY(-100%);
   -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
     -o-transform: translateY(-100%);
        transform: translateY(-100%);
-webkit-transition: -webkit-transform 0.3s ease-in-out;
   -moz-transition: -moz-transform 0.3s ease-in-out;
     -o-transition: -o-transform 0.3s ease-in-out;
        transition: transform 0.3s ease-in-out;
  }

  nav .nav.open {
-webkit-transform: translateY(0);
   -moz-transform: translateY(0);
    -ms-transform: translateY(0);
     -o-transform: translateY(0);
        transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .burger {
    display: block;
    position: relative;
    z-index: 1100;
    margin: 1rem;
  }
}
/* banner image */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
}
.banner_image {
  transform: none;
  inset: 0;
  position: absolute;
}
.home_banner {
  object-fit: cover;
  width: 100%;
  height: 100%;  
-webkit-transition: -webkit-transform 0.1s linear;
   -moz-transition: -moz-transform 0.1s linear;
     -o-transition: -o-transform 0.1s linear;
        transition: transform 0.1s linear;
}
.overlay {
  position: relative;
  background-color: rgba(0, 0, 0, 0.25);
  height: 100%;
  width: 100%;
  
}
.text_wrap {
  position: relative;
  display: flex;
  align-items: center;       
  justify-content: center;  
  text-align: center;
  z-index: 20;
  height: 100%;
}
.image_text {
  color: rgb(255, 255, 255);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 56rem;
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(75px);
  transition: opacity 0.7s ease;
}
.image_text h1,
.image_text h2 {
  font-size: 6rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.image_text h2 {
  font-size: 2rem;
}

/* fancy bits */

.fadescroll,
.titlescroll,
.image_text {
  opacity: 0;
  position: relative;
  transform: translateY(75px);
  transition: transform 0.7s ease, opacity 0.7s ease;
  will-change: transform, opacity;
}

.fadescroll.visible,
.titlescroll.visible,
.image_text.fl-visible {
  opacity: 1;
  transform: translateY(0);
}
/* main body */
.info {
  position: relative;
  display: flex;
  align-items: center;      
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.info_box {
  font-size: 1rem;
  line-height: 1.75rem;
  color: rgb(55 65 81);
  max-width: 56rem;
}
.info_box h3 {
  font-size: 2.5rem;
  line-height: 1;
  color: rgb(17 24 39);
  margin-bottom: 2rem;
}
.more {
width: 100%;
    text-align: center;
    padding-top: 2rem;
}
/* featured */
h4,
h4.span {
  font-size: 3.75rem;
  line-height: 1;
  text-align: center;
  margin-bottom: 4rem;
}
.featured {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: rgb(249 250 251)
}
.featured .galleries {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 0 auto;
  padding: 1rem;
}
.gallery-card {
  cursor: pointer;
  opacity: 0;
  -webkit-transform: translateY(80px);
   -moz-transform: translateY(80px);
    -ms-transform: translateY(80px);
     -o-transform: translateY(80px);
        transform: translateY(80px);
-webkit-transition: opacity 0.7s ease, -webkit-transform 0.7s ease;
   -moz-transition: opacity 0.7s ease, -moz-transform 0.7s ease;
     -o-transition: opacity 0.7s ease, -o-transform 0.7s ease;
        transition: opacity 0.7s ease, transform 0.7s ease;
}
.gallery-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.image-container {
  position: relative;
  overflow: hidden;
  height: 20rem;
}
.image-container img {
  display: block;
  width: 100%;
  height: 100%;
-webkit-transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
   -moz-transition: opacity 0.4s ease, -moz-transform 0.4s ease;
     -o-transition: opacity 0.4s ease, -o-transform 0.4s ease;
        transition: opacity 0.4s ease, transform 0.4s ease;
  object-fit: cover;
}
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  text-transform: uppercase;
  font-weight: 600;
}
.image-title {
  font-size: 1.5rem;
  line-height: 2rem;
}
.image-title, .image-caption {
  margin: 0.5rem 0 0;
  text-align: center;
  transition: color 0.3s ease;
}
.gallery-card:hover .image-container img {
  transform: scale(1.1);
  filter: brightness(75%);
}
.gallery-card:hover .overlay-text {
  opacity: 1;
}
.gallery-card:hover .image-title,
.gallery-card:hover .image-caption {

}
.latest_wrap {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.latest_content {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.latest_content h4 {

}
.latest_grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  display: grid;
}
.slide-fade {
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  will-change: transform, opacity;
  position: relative;
}
/* Start positions */
.left-slide {
  transform: translateX(-100px);
}
.right-slide {
  transform: translateX(100px);
}
/* Animate into place */
.slide-fade.visible {
  opacity: 1;
  transform: translateX(0);
}
.title-text {
  text-transform: uppercase;
  letter-spacing: 0.025em;
  font-weight: 600;
}
.latest_post h3 {
  font-size: 2.25rem;
  line-height: 2.5rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.latest_post h3 a {
    color: rgb(17 24 39);
}
.latest_post p{
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 2rem;
}
.read-more-button {
  transition:all 0.4s ease;
  color: rgb(255 255 255);
  background-color: rgb(17 24 39);
  font-weight: 600;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  transform: none;
  display: inline-block;
}
.read-more-button:hover {
  transform: scale(1.05);
  background-color: rgb(244, 102, 36);
}
.prevpost_box {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #999;
}
.prevposts {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-bottom: 1rem;
}
.prevpost_box h5 a {
  color: rgb(75 85 99);
  font-weight: 400;
  transform: none;
  transition: all 0.4s ease;
  display: block;
  padding-bottom: 0.75rem;
} 
.prevpost_box h5:last-of-type {
  padding-bottom: 1rem;
}
.prevpost_box h5 a:hover {
  transform: translateX(5px);
  color: rgb(244, 102, 36);
}
.cta_banner {
  overflow: hidden;
  position: relative;
  height: 70vh;
}
.cta_image {
  transform: none;
  inset: 0px;
  position: absolute;
}
.cta_background {
  object-fit: cover;
  width: 100%;
  height: 100%;  
  transition: transform 0.1s linear;
}
.cta_overlay {
  position: relative;
  background-color: rgba(0, 0, 0, 0.35);
  height: 70vh;
}
.cta_text_wrap {
  position: relative;
  display: flex;
  align-items: center;        /* vertical centering */
  justify-content: center;    /* horizontal centering */
  text-align: center;
  z-index: 20;
  height: 70vh;
}
a.button,
.more a.button,
.cta_image_text a.button {
  padding: 0.75rem 1.5em;
  background-color:rgb(244, 102, 36);
  border: 1px solid #fff;
  color: #fff;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  font-weight: 600;
}
.more a.button:hover,
.cta_image_text a.button:hover {
  background-color: #fff;
  border: 1px solid rgb(244, 102, 36);;
  color: rgb(244, 102, 36);;
}
.cta_head {
 font-size: 3.75rem;
    line-height: 1; 
    font-weight: 300;
    margin-bottom: 2rem;
    color: #fff;
}
.cta_text {
font-size: 1.5rem;
    line-height: 2rem;
    max-width: 48rem;
    font-weight: 300;
    margin-bottom: 3rem;
        color: #fff;
}
.cta_banner.sm,
.cta_overlay.sm,
.cta_text_wrap.sm {
  height: 60vh;
}

.two-col-wrap {
  width: 100%;
  padding: 2rem;
  background-color: rgb(249 250 251);
  display: flex;
  align-content: center;
  
}
/* Footer Styles */

footer {
  background-color: #000;
  color: rgb(156 163 175);
}
#footer_content {
  max-width: 1280px;
  padding-top: 5rem;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}
.footer_wrap {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  display: grid;
}
.footer_title {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 1rem;
}
.footer_title.sm {
    font-size: 1rem;
    color: rgb(250,250,250);
}
.footer_text p {
  line-height: 1.625;
}
#menu-footer li,
#menu-footer-2 li {
  padding-bottom: 1rem;
}
#menu-footer li a,
#menu-footer-2 li a {
  color: rgb(156 163 175);
  font-weight: 500;
  transform: none;
  transition: all 0.4s ease;
  display: block;
  padding-left:0;
}  
#menu-footer li a:hover,
#menu-footer-2 li a:hover {
  transform: translateX(5px);
  color: rgb(244, 102, 36);
}
.bottom_footer {
  border-top:1px solid rgb(31 41 55);
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  display: flex;
  padding-top: 2rem;
}  
.social {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.social a {
  color: rgb(156 163 175);
  transform: none;
  transition: all 0.4s ease;
  display: block;
}
.social a:hover {
    color: rgb(244, 102, 36);
}
.search-field {
padding:0.5rem;
color: #333;
border: 1px solid rgb(31 41 55);
}
.search-submit {
background: rgb(244, 102, 36);
color: rgb(31 41 55);
border: 1px solid rgb(31 41 55);
transition: all 0.5s ease-in-out;
padding: 0.5rem 0.75rem;
text-transform: uppercase;
}
.search-submit:hover {
color: rgb(244, 102, 36);
background-color: rgb(31 41 55);
border: 1px solid rgb(244, 102, 36);
}
/* Full-width stacked layout */

@media (max-width: 800px) {
#menu-footer li a,
#menu-footer-2 li a {
    padding-right:.5rem;
}
  .image-container {
    height: 15rem;
  }
  .gallery-grid,
  .latest_grid,
  .footer_wrap {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 1rem;
  }
  #menu-footer,
  #menu-footer-2 {
    display: flex;
  }
}

/* -- Blog Post Styles -- */

.hero-image {
  width: 100%;
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;

  background-attachment: scroll;
  overflow: hidden;
}
.hero-content {
  background: rgba(0, 0, 0, 0.2); /* optional overlay */
  padding: 2rem;
}
.hero-content h1,
.page_content h1 {
  font-size: 3rem;
  line-height: 1;
}
.page_content h1 {
  padding-bottom: 3rem;
}
.parallax-overlay {
  position: relative;
  inset: 0;
  background: rgba(0,0,0,0.3); /* transparent tint */
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateZ(0);
}
.page_content {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem; 
  position: relative;
  background: #fff;
  z-index: 2;
  flex: 1;
}
.post-title {
  padding-bottom: 0rem;
  border-bottom: 1px solid rgb(156 163 175);
}
.page_content .post-title h1 {
    padding-bottom: 2rem;
}
.post-title h1 a {
  font-size: 3rem;
  color: rgb(75 85 99);
  line-height: 1;
}
.post-body {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  padding-top: 2rem;
}

.page-body {
  padding-top: 2rem;
}
.blog_left {
  margin-right: 2rem;
  width: 25%;
}
.blog_right {
  width: 75%; 
}
.cats {
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  padding: 0.5rem 0; 
}
.blog-date {
  font-weight: 300;
  font-size: 0.85rem;
  color: rgb(75 85 99);
  padding-top: 1rem;
}
.meta,
.tags,
.date,
.meta-cats {
  font-weight: 300;
  font-size: 0.85rem;
  color: rgb(75 85 99);
  line-height: 2rem;
}
.tags,
.date,
.meta-cats {  
  padding-bottom: 1.5rem;
}
.meta a,
.tags a,
.meta-cats a {
    color: rgb(244, 102, 36);
}
.meta a:hover,
.tags a:hover,
.meta-cats a:hover {
  color: rgb(156 163 175);
}
.meta-title {
  font-weight: 500; 
  display: block;
  border-bottom: 1px solid rgb(156 163 175);
}
blockquote {
  background: rgba(156, 163, 175, 0.1);
  font-style: italic;
  padding: 1rem;
  margin-bottom: 1rem;
  margin-left: 2rem; 
}
blockquote p {
  padding-left: 0px!important;
}
.post-body h3,
.post-body h4 {
  padding-bottom: 1rem;
  font-size: 1.2rem; 
}
hr {
  margin-bottom: 1rem;
  background-color: rgb(156 163 175);
}
.blog-nav {
  margin: 1.5em auto; }

.nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin: 0 auto;
  padding: 1rem;
}
.nav-previous,
.nav-next {
  border: 1px solid rgb(209, 220, 237);
  margin: 10px 0;
  -webkit-align-self: center;
      -ms-flex-item-align: center;
          align-self: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center; 
}
a.prev,
a.next {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row; 
}
a.prev {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse; 
}
.nav-next {
  justify-content:flex-end;
}
h2.related {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgb(209, 220, 237);
  font-size: 3rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 300;
}
.related-grid {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row; }

.related-grid-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  background: #f0f0f0;
  margin-bottom: 3em;
  margin-right: 1em;
  padding: 1em; 
}
.related-grid-item:last-of-type {
  margin-right: 0px; 
}
a.post-link .featured-image {
  max-width: 100%;
  height: 180px;
  background: no-repeat center center;
  text-align: center;
  width: 100%;
  display: block;
  margin: auto;
  overflow: hidden;
  position: relative; 
}
a.post-link .featured-image .rel-overlay {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(244, 102, 36, 0.8);
  -webkit-transition: opacity 0.3s 0s ease-in-out;
  -o-transition: opacity 0.3s 0s ease-in-out;
  transition: opacity 0.3s 0s ease-in-out; 
}
a.post-link .featured-image:hover .rel-overlay {
  opacity: 1; 
}
a.post-link .featured-image .rel-icon {
  opacity: 0;
  position: absolute;
  top: 45%;
  left: 45%;
  margin: 0 auto;
  color: #fff;
  -webkit-transition: opacity 0.3s 0s ease-in-out;
  -o-transition: opacity 0.3s 0s ease-in-out;
  transition: opacity 0.3s 0s ease-in-out; 
}
a.post-link .featured-image h3 {
  opacity: 0;
  position: absolute;
  top: 48%;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  -webkit-transition: opacity 0.3s 0s ease-in-out;
  -o-transition: opacity 0.3s 0s ease-in-out;
  transition: opacity 0.3s 0s ease-in-out; 
}
a.post-link .featured-image:hover .rel-icon,
a.post-link .featured-image:hover h3 {
  opacity: 1;
  -webkit-transition-delay: 0.2s;
       -o-transition-delay: 0.2s;
          transition-delay: 0.2s; 
}
.main.blog {
  background: #f0f0f0;
  padding: 4em;
  -webkit-box-flex: 1;
  -webkit-flex: 1 0 auto;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto; 
}
.post-box-title {
  padding: 10px 0 0 0;
  border-bottom: 1px solid #e6e6e6;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: 1.3rem;
  line-height: 1.25; 
}
.post-box-title h2 {
  border-bottom: none;
  padding-bottom: 0; 
}
.post-excerpt {
  padding: 1rem 0 0; 
}
.post-body h2 {
  padding-bottom: 2rem;
  font-size: 1.5rem;
  line-height: 1.5rem;
  padding: 1rem 0; 
}
.post-header {
  padding: 0 0 0.5em 1em;
  margin-left: 3rem;
  max-width: 500px; 
}
.post-title h2 a {
  font-size: 1.1em;
  padding-bottom: 10px;
  color: rgb(75 85 99)
}
.snippet {
  padding: 0.5rem 0; 
}
a.read-more {
  text-transform: uppercase;
  font-size: 0.8rem; 
}
.page-nav {
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center; 
}
ul.page-numbers {
  position: relative;
  margin: 1rem auto; 
}
ul.page-numbers:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0; 
}
ul.page-numbers li 
{
  display: block;
  float: left;
  margin: 0 4px 4px 0;
  text-align: center; 
}
ul.page-numbers li a.page-numbers {
  padding: 5px 10px;
  line-height: 18px;
  text-decoration: none;
  font-weight: 400;
  cursor: pointer;
  color: #535251; 
}
ul.page-numbers li a.page-numbers:hover {
  color: #fff;
  background: #f46624; 
}
ul.page-numbers li span.current {
  padding: 5px 10px;
  color: #f46624; 
}
ul.page-numbers li span.current:hover {
  color: #f46624; 
}

.aligncenter {
  text-align: center; }

.nav-post-title {
  padding: 0 10px 0 5px; }

.nav-previous a,
.nav-next a {
  padding: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #322b23; 
  transition: all 0.4s ease;
}
.nav-previous a:hover,
.nav-next a:hover {
   color:rgb(244, 102, 36);
}
.nav-next a span.next-post-box.meta-nav,
.nav-previous a span.prev-post-box.meta-nav {
  font-weight: 700; 
}
.next-post-box.meta-nav,
.prev-post-box.meta-nav {
  padding-left: 0.5rem;
  padding-right: 0.5rem; 
}
.captions {
  padding-top: 0.75rem;
    text-align: center; }

.captions h2 {
  padding-bottom: 0.5em; 
font-size: 1.5rem;}

.captions a {
  color: #535251; }

.captions a:hover {
  color: rgb(244, 102, 36); }


@media (max-width: 800px) {
  .post-body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column; }

  .blog_left,
  .blog_right {
    margin-left: 0;
    margin-right: 0;
    width: 100%; }

  .blog_left {
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: 1px solid #e6e6e6; } 
    .main.blog {
        padding:2em;
    }
    .related-grid {
        -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
        flex-direction:column;
    }
}

/* grid template */

.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin: 0 auto;
  padding: 2rem;
  max-width: 1280px;
}
.no-banner {
  padding-top: 10rem;
}

/* Blog */
.blog-grid {

  margin: 0 auto;

}
.post-box {
  background-color: #f1f1f1;
  padding: 1rem;
}

.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.image-wrapper img {
  width: 100%;
  display: block;
  height: auto;
  transition: transform 0.3s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}
.gallery-overlay-text {
  color: white;
  font-size: 1.2rem;
  text-align: center;
  padding: 1rem;
  text-transform: uppercase;
  pointer-events: none;
  font-weight: 600;
}
.gallery-item:hover .gallery-overlay {
  opacity: 0;
}
.gallery-item:hover img {
  transform: scale(1.03);
}

/* Gallery */

.portfolio-wrapper {
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}
.masonry-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1.5rem; /* Match gutter spacing */
  width: 100%;
}
.masonry-item {
  width: calc(33% - 1.5rem); /* Adjust for new gutter */
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.masonry-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Base styling for the image */
.masonry-grid {
  display: flex;
  flex-wrap: wrap;
}

/* Smooth transitions for all images */
.masonry-item img {
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
  width: 100%;
  height: auto;
}

/* Darken all non-hovered items only when one is hovered */
.masonry-grid:hover .masonry-item:not(:hover) img {
  filter: brightness(60%);
}

/* Zoom and brighten hovered image */
.masonry-item:hover img {
  filter: brightness(100%);
  transform: scale(1.05);
  z-index: 2;
  overflow: hidden;
}


/* Responsive Breakpoints */


@media (max-width: 1200px) {
  .masonry-item {
    width: calc(50% - 1.5rem);
  }
}

@media (max-width: 800px) {
  .container {
    padding: 0 16px;
  }
  
  h1 {
    font-size: 2.5rem !important;
  }
  
  h2 {
    font-size: 2rem !important;
  }
  .grid-2-col {
    grid-template-columns: 1fr;
  }
  .masonry-item {
    width: 100%;
    margin-left: 0;
  }
  .masonry-grid {
    margin-left: 0;
  }
  .masonry-item img {
    transform: none !important;
    filter: none !important;
  }
}

/* Magnific Popup CSS */
.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:rgba(255,255,255,.8);opacity:.8}.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:none!important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;-webkit-box-sizing:border-box;box-sizing:border-box}.mfp-container:before{content:'';display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{color:#CCC;position:absolute;top:50%;width:auto;text-align:center;margin-top:-.8em;left:8px;right:8px;z-index:1044}.mfp-preloader a{color:#CCC}.mfp-preloader a:hover{color:#FFF}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.mfp-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1046;-webkit-box-shadow:none;box-shadow:none;-ms-touch-action:manipulation;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;right:0;top:0;text-decoration:none;text-align:center;opacity:.65;padding:0 0 18px 10px;color:#FFF;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:hover,.mfp-close:focus{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#232221}.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close{color:#232221;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#232221;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:hover,.mfp-arrow:focus{opacity:1}.mfp-arrow:before,.mfp-arrow:after{content:'';display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #FFF;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3F3F3F}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #FFF;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3F3F3F}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;-webkit-box-shadow:0 0 8px rgba(0,0,0,.6);box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;-webkit-box-sizing:border-box;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.mfp-figure{line-height:0}.mfp-figure:after{content:'';position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;-webkit-box-shadow:0 0 8px rgba(0,0,0,.6);box-shadow:0 0 8px rgba(0,0,0,.6);background:#444}.mfp-figure small{color:#BDBDBD;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#232221;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}.mfp-with-zoom .mfp-container,.mfp-with-zoom.mfp-bg{opacity:0;-webkit-backface-visibility:hidden;-webkit-transition:all 0.3s ease-out;-o-transition:all 0.3s ease-out;transition:all 0.3s ease-out}.mfp-with-zoom.mfp-ready .mfp-container{opacity:1}.mfp-with-zoom.mfp-ready.mfp-bg{opacity:.8}.mfp-with-zoom.mfp-removing .mfp-container,.mfp-with-zoom.mfp-removing.mfp-bg{opacity:0}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0,0,0,.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;-webkit-box-sizing:border-box;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0,0,0,.6);position:fixed;text-align:center;padding:0}}@media all and (max-width:900px){.mfp-arrow{-webkit-transform:scale(.75);-ms-transform:scale(.75);transform:scale(.75)}.mfp-arrow-left{-webkit-transform-origin:0;-ms-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;-ms-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}