@charset "UTF-8";

/* Category bar */
.category-bar {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    white-space: nowrap;
    border-bottom: 1px solid #ccc;
}
@media (min-width: 900px) {
    .category-bar {
      justify-content: center;  
    }
} 
.category-bar a {
    padding: 6px 12px;
    border-radius: 6px;
    background: #eee;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}
.category-bar a.active {
    background: #3e2723;
    color: #fff;
}

/* Card grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px 10px;
}

/* Responsive breakpoints */
@media (min-width: 700px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }
}
@media (min-width: 1100px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 30px;
    }
}

/* Blog card */
.blog-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}
.blog-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}
.blog-card h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
}
.blog-card .date {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

/* Load more button */
.load-more {
    padding: 5px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.editor h2, .editor .twocol h3, .editor h3 {
    font-family: 'BenchNine', sans-serif;
    color: #3e2723;
    font-size: 1.8rem;
    line-height: 1.8rem;
    padding-bottom: 20px;
    font-weight: 400;
}
.editor p, .editor li {
  font-size: 1.1rem;
  line-height: 1.5rem;
  padding-bottom: 10px;
  font-weight: 400;
}
.editor ul {
    margin: 0 0 15px 40px;
}
.blogbutton {
  padding: 0 15px;
  text-decoration: none;
  font-family: 'BenchNine', sans-serif;
  color: #fff;
  border: 1px solid #444;
  cursor: pointer;
  border-radius: 6px;
  width: 100px;
  font-size: 1.2rem;
}
.blogbutton:hover {
  background: #dd4058;
}
.article-container {
    margin: 0 3% 30px 3%;
    padding-top: 10px;
}
.article-img {
    max-width: 100%;
 max-width: 1000px;
    max-height: 600px;
    text-align: center;
    margin: 0 auto 30px auto;
    position: relative;
}
.article-img img {
    max-width: 100%;
        max-height: 600px;
}
.article-img a {
    text-decoration: none;
    color: #fff;
}
.article-img a:hover div {
  background: #dd4058;
}
.article-img div {
    background: rgba(98, 78, 111, 0.6);
    position: absolute;
    top: 20px;
    margin: 0 auto;
    padding: 5px 15px;
    border-radius: 0 10px 10px 0;
}


.editor .flexarea {
    display: grid;
    gap: 30px;
}
@media (max-width: 800px) {
    .editor .flexarea {
       grid-template: rows;
    }
    .editor .flexarea div {
        width: 100%;
    }
}
@media (min-width: 801px) {
    .editor .flexarea {
       grid-template-columns: 40% 58%;
    }
}
@media (min-width: 1200px) {
    .editor .flexarea div {
        width: auto;
    }
}

.editor .video-wrap {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.editor .video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.blogslider-wrap {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

/* Slides move horizontally */
.blogslider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
}
.blogslider::-webkit-scrollbar { display: none; }

/* Each slide is full width of the container */
.blogslide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blogslide img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

/* Arrows */
.blognav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: 0;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 4px;
}

.blogslider-wrap .prev { left: 0.5rem; }
.blogslider-wrap .next { right: 0.5rem; }

.blognav:hover {
  background: rgba(0,0,0,0.6);
}

/* Optional: hide arrows on mobile if you want */
@media (max-width: 640px) {
  .blognav { display: none; }
}

.editor .mainblogimg {
    max-height: 500px;
    text-align: center;
    position: relative;
}
.editor .mainblogimg img {
    max-height: 500px;
    max-width: 100%;
}
.editor a {
  text-decoration: none;
  color: #0056B3;
  border-bottom: 1px dotted #0056B3;
}
.editor a:hover {
  color: #dd4058
}