html, body {
    margin:0;
    font-family:'Open Sans';
    font-size:14px;
}
.site-header {
    min-height: 45px !important;
    background-color: #fff;
    padding: 10px 0;
    top:0;
}
#masthead.shadow, .site-header {
    z-index: 10;
}

.site-header {
    width: 100%;
    min-height: 60px;
    height: auto;
    font-size: 16px;
    /* margin: 20px auto; */
    z-index: 10000;
    position: fixed;
    padding: 1em 0;
    -webkit-transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    -moz-transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    -o-transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.site-branding {
    float: left;
    margin-left: 10px;
}
h1.site-title {
    font-size: 4rem;
    line-height: 4.1rem;
    text-transform: uppercase;
    margin: 0;
}
h1.site-title a {
    color: #333;
    text-decoration: none;
    font-family:Alata;
    font-weight:normal;
}
.site-description {
    position: relative;
    font-size: 23px;
    float: left;
    margin: 0;
    color: #777;
    clear: both;
    line-height: 34px;
    font-family: 'Open Sans';
    font-weight: 100;
    letter-spacing: -.8px;
}
@media (max-width: 7680px) {
    .main-navigation {
        padding-top: 0;
    }
}
main {
  margin-top:140px;
  padding:0 25px;
  min-height:1000px;
}
.main-navigation {
    float: right;
    max-width: 75%;
}
section[id] {
  scroll-margin-top: 125px;;
}
.menu-main-container {
    display: flex;
    justify-content: flex-end;
    top: 14px;
    position: relative;
}
.menu-main-container ul {
    display: inline-block;
}
.menu-main-container ul {
    list-style: none;
    margin: 1em 20px 0 0;
    padding-left: 0;
}
.menu-main-container li {
    float: left;
    position: relative;
}
.menu-main-container li {
    list-style: none;
}
.menu-main-container ul a {
    text-transform: uppercase;
    padding: 10px 25px;
    letter-spacing: -1px;
    font-size: 22px;
    color: #333;
    text-decoration:none;
    padding: 10px 18px;
    font-family:'Open Sans';
    font-weight:100;
}
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-block;
    float:right;
    color:#333;
    font-size:44px;
  }
  #primary-menu-container {
    display: none;
  }
  #primary-menu-container.active {
    display: flex;
    padding-bottom:40px;
  }

  #primary-menu-container.active #primary-menu {
    position: relative;
    top:40px;
    text-align:right;
    
  }
 #primary-menu-container.active #primary-menu li {
    float: none;       /* Remove float */
    width: 100%;       /* Full width items */
  }

  #primary-menu {
    display: block;
  }
  #primary-menu li {
    margin: 10px 0;
  }
}
@media (max-width: 480px) {
    h1.site-title {
        font-size:2rem;
     }
    .site-description {display:none;}
}

.bx-wrapper {
  max-height: 60%;
  overflow: hidden;
  background-color: transparent !important;
  top:125px;
  border:none !important;
  box-shadow:none !important;
}
div.bx-viewport {
    padding-bottom:10px;
}
.bxslider img {
  max-height: 60%;
  width: auto;
  height: 100%;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}
div.bxslider div.image-wrapper {
    box-shadow: 0 0 4px #000;
}
.image-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
}
.image-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  filter: blur(30px);
  transform: scale(1.1);
  z-index: 0;
}
.image-wrapper img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

#latest-posts, #reviews, #media {
    clear: both;
    position: relative;
    top: 50px;
    min-height: 378px;
    margin-bottom: 140px;
}
.media {padding-bottom:100px;}

section h2 {
margin: 0;
font-size: 3rem;
line-height: 4rem;
margin-bottom: 20px;
color: #c0c0c0;
font-family: alata;
text-align: center;
margin-top: 30px;
font-weight: 100;
padding-top: 1em;
text-transform: uppercase;
}

.news-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0;
  list-style: none;
  justify-content: center;
}
.news-item {
  box-shadow: 0 0 4px #999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width:330px;
  background:#fff;
}
.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
.summary {
  padding: 1rem;
  color: #333;
  background-color: #fff;
  text-align:center;
}
.summary h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.summary p {
    margin: 0;
    font-size: 1rem;
    text-align: center;
}
.swiper-wrapper {
    margin-bottom:50px;
}
.swiper {
    padding:10px;
}
#reviews {}
.review-item {
    background-color: #2F333F !important;
    padding: 20px !important;
    color:#fff;
    box-shadow: 0 0 4px #000;
}
.review-item h3 {
    font-size: 2rem !important;
    line-height: 30px !important;
    text-transform: none;
    text-align: center;
    letter-spacing: -2px !important;
    font-weight: 600 !important;
    font-style: italic !important;
    padding: 0;
    margin: 0;
    color: #fff !important;
    font-family: "Open Sans" !important;
}
.review-source {
    font-style:italic;
}
.media-play {
  position: absolute;
  top: 50%; left: 50%;
  width: 48px; height: 48px;
  background: rgba(0,0,0,0.4) url('https://cdn.jsdelivr.net/npm/bootstrap-icons/icons/play-circle.svg') center/70% no-repeat;
  pointer-events: none;
  transform: translate(-50%,-50%);
  display: block;
}
.gallery-grid {
  /* Masonry uses normal positioning, not grid */
}
.gallery-grid {
    margin-bottom: 140px;
}
.gallery-grid .skeleton {
  display: none !important;
}

.gallery-grid a img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}
.gallery-grid a {
  width: calc(20%);
}
.media-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  pointer-events: none; /* Let clicks pass through */
  opacity: 0.85;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Play icon (triangle) */
.media-play {
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><polygon points="16,12 52,32 16,52" /></svg>');
}

/* Magnify glass icon */
.media-magnify {
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><circle cx="27" cy="27" r="16" stroke="white" stroke-width="4" fill="none"/><line x1="41" y1="41" x2="56" y2="56" stroke="white" stroke-width="4" stroke-linecap="round"/></svg>');
}

.resume-header {
    display: flex;
    justify-content: space-between;
}
main {
  max-width:1200px;
  margin: 125px auto;
}
.main ul {
  list-style-type:none;
  padding:0;
}
.main .left {
    float: left;
    padding: 40px 0;
}
.main .right {
    float: rightß;
    padding: 40px 0;
    text-align:right;
}
.main {
    position: relative;
    margin: 125px auto;
    max-width: 1200px;
    padding:40px;
}
table {
  width:100%;
  margin-bottom:50px;
}
.main h2 {
  text-transform:uppercase;
}
main h2 {
  margin-bottom:0;
}
main p {
  margin-bottom:50px;
}
td {width:33%;}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
/* Left column (first td) */
table tbody tr td:nth-child(1) {
  /* example styles */
  text-align: left;
  padding-left: 15px;
  /* Add more styles as needed */
}

/* Center column (second td) */
table tbody tr td:nth-child(2) {
  /* example styles */
  text-align: center;
  color: #333;
  /* Add more styles as needed */
}

/* Right column (third td) */
table tbody tr td:nth-child(3) {
  /* example styles */
  text-align: right;
  padding-right: 15px;
  font-style: italic;
  /* Add more styles as needed */
}

footer {
    clear: both;
    bottom: 0;
    background-color: #333;
    color: #fff;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer .left, footer .right {
  padding:20px;
}
footer .right {text-align:center;}

@media (max-width: 768px) {
  .gallery-grid a {
    width: 50%; /* 2 columns on tablets */
  }
}

@media (max-width: 480px) {
  .gallery-grid a {
    width: 100%; /* 1 column on mobile */
  }
  footer .right {
    display:none;
  }
  ul.menu.nav-menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    margin: 0;
  }
  ul.menu.nav-menu li.menu-item {
    width: 100%;
    box-sizing: border-box;
  }
  ul.menu.nav-menu li.menu-item a {
    display: block;
    width: 100%;
    padding: 1em;
    box-sizing: border-box;
    white-space: normal;
    clear:both;
  }
}

.menu-toggle {
  position: relative; /* if not already */
  z-index: 10001;     /* higher than header/menu */
  padding: 0.2em 0.5em;
  cursor: pointer;
}

.menu-toggle svg, /* if using SVG or icon font */
.menu-toggle::before, /* pseudo element for icon */
.menu-toggle::after {
  pointer-events: none; /* pass clicks to button */
}

#masthead, .site-header {
  position: fixed;  /* already set in your CSS */
  z-index: 10000;   /* less than menu-toggle's z-index */
}

.menu-main-container {
  position: relative;
  z-index: 9999; /* less than toggle */
}

/* Remove floats on mobile so button expands naturally */
@media (max-width: 768px) {
  .menu-toggle {
        float: right;
        display: block !important;
        width: 40px;
        height: 40px;
        right: 40px;
    }

}
