* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: #222;
  background: #fff;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

.intro-area.background-header {
  background: linear-gradient(180deg, #52bac9 0%, #2aa4b6 100%);
  position: relative;
}

.header-overlay {
  background: rgba(35, 165, 182, 0.7);
  position: relative;
}

.big-slider {
  padding: 68px 0 80px;
  position: relative;
}

.big-slider-content {
  max-width: 53%;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.big-slider-content h1 {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.15;
  font-weight: 700;
}

.big-slider-content p {
  margin: 0;
  font-size: 18px;
  opacity: 0.95;
}

.curse-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 40px;
  background: radial-gradient(120% 90px at 50% -30px, transparent 58%, #fff 60%);
}

.area-padding {
  padding: 32px 0 60px;
}

.filter-row {
  margin-bottom: 8px;
}
.filter-label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}
.member-category {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 10px;
}
.post-type-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  color: #23a5b6;
  background: #e8f6f7;
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 6px;
}

.filter-btn {
  border: 1px solid #d8ecef;
  background: #fff;
  color: #1f8ca0;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 2px;
  cursor: pointer;
}

.filter-btn.active {
  background: #23a5b6;
  color: #fff;
  border-color: #23a5b6;
}

.mobile-filter {
  display: none;
  margin: 8px 0 12px;
}

.mobile-filter label {
  display: block;
  margin-bottom: 6px;
  color: #555;
}

.mobile-filter select {
  width: 100%;
  padding: 10px;
  border: 1px solid #d5d5d5;
  background: #fff;
}

.post-result {
  padding: 18px 0 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(151, 151, 151, 0.15);
  color: #444;
  font-weight: 600;
}

.row.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.single-blog {
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.recent-news {
  border: 1px solid rgba(22, 137, 172, 0.1);
  box-shadow: 0.5px 2px 2px 0.5px rgba(87, 87, 86, 0.1);
  margin-bottom: 0;
  background: #fff;
}

.blog-image {
  overflow: hidden;
  display: block;
  background: #d9edf0;
}

.image-scale {
  position: relative;
  transform: scale(1.1);
  display: block;
  transition: 0.5s;
}

.image-scale::after {
  position: absolute;
  content: "";
  background: rgba(0, 46, 91, 0.1);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.single-blog:hover .image-scale {
  transform: scale(1);
}

.single-blog:hover .image-scale::after {
  background: rgba(0, 46, 91, 0);
}

.story-thumb {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.blog-content {
  padding: 24px 24px 20px;
}

.blog-title {
  min-height: 72px;
}

.blog-content a h3 {
  font-size: 22px;
  font-weight: 400;
  color: #0f0d0d;
  line-height: 24px;
  margin: 0;
}

.blog-meta {
  padding-top: 6px;
  color: #444;
  font-size: 14px;
}

.blog-link {
  position: relative;
  padding-top: 14px;
}

.read-more {
  font-size: 16px;
  color: #23a5b6;
  text-decoration: none;
  cursor: pointer;
}

.read-more::after {
  background: #23a5b6;
  height: 1px;
  content: "";
  width: 30px;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: all 0.5s ease 0s;
}

.blog-link:hover .read-more::after {
  width: 80px;
}

.list-actions {
  text-align: center;
  margin-top: 24px;
}

.btn-load-more {
  border: 1px solid #23a5b6;
  background: #23a5b6;
  color: #fff;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 600;
}

.story-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 18, 26, 0.64);
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.story-modal.open {
  display: flex;
}

.story-modal-inner {
  width: min(920px, 96vw);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  padding: 24px;
  position: relative;
}

.close-btn {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: #3a3a3a;
  cursor: pointer;
}

.detail-title {
  margin: 0 0 12px;
  color: #111;
}

.detail-meta {
  color: #5b5b5b;
  font-size: 14px;
  margin-bottom: 16px;
}

.detail-content {
  line-height: 1.75;
}

.detail-content iframe,
.detail-content img {
  max-width: 100%;
}

.tag-list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  border: 1px solid #dbedf1;
  padding: 4px 8px;
  color: #197f90;
}

@media (max-width: 960px) {
  .row.story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .big-slider-content {
    max-width: 75%;
  }
}

@media (max-width: 720px) {
  .row.story-grid {
    grid-template-columns: 1fr;
  }

  .big-slider-content {
    max-width: 94%;
  }

  .big-slider-content h1 {
    font-size: 32px;
  }

  .member-category {
    display: none;
  }

  .mobile-filter {
    display: block;
  }
}
