@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap");

.scc-blog-section {
  --scc-heading-font: "Poppins", Arial, sans-serif;
  --scc-body-font: "Montserrat", Arial, sans-serif;
  --scc-blue: #0588b9;
  --scc-orange: #f5a20b;
  --scc-text: #22252d;
  --scc-line: #dfe5ea;
  --scc-card: #ffffff;

  width: 100%;
  background: #ffffff;
  color: var(--scc-text);
  font-family: var(--scc-body-font);
  padding: 36px 20px 28px;
}

.scc-blog-section,
.scc-blog-section * {
  box-sizing: border-box;
}

.scc-blog-container {
  width: 100%;
}

.scc-blog-header {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 28px;
}

.scc-eyebrow {
  display: block;
  color: var(--scc-blue);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.scc-blog-title {
  margin: 0;
  font-family: var(--scc-heading-font);
  color: #282a31;
  font-size: clamp(26px, 3vw, 30px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.scc-filter-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 13px;
  padding-bottom: 2px;
}

.scc-filter-btn {
    appearance: none;
    border: 1px solid #d3d9df;
    background: #fff;
    color: #2c3138;
    min-height: 30px;
    padding: 8px 18px;
    border-radius: 6px;
    font-family: var(--scc-body-font);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.22s ease;
}

.scc-filter-btn:hover,
.scc-filter-btn.is-active {
  border-color: var(--scc-blue);
  background: var(--scc-blue);
  color: #fff;
}

.scc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px 16px;
}

.scc-blog-card {
  overflow: hidden;
  background: var(--scc-card);
  border: 1px solid var(--scc-line);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(16, 28, 38, 0.035);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.scc-blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 136, 185, 0.38);
  box-shadow: 0 18px 36px rgba(16, 28, 38, 0.1);
}

.scc-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.scc-blog-card:focus-within {
  border-color: rgba(5, 136, 185, 0.65);
  box-shadow: 0 0 0 3px rgba(5, 136, 185, 0.12), 0 18px 36px rgba(16, 28, 38, 0.1);
}

.scc-card-link:focus {
  outline: none;
}

.scc-card-link:focus-visible {
  outline: 3px solid rgba(5, 136, 185, 0.35);
  outline-offset: 4px;
  border-radius: 12px;
}

.scc-card-image {
  position: relative;
  display: block;
  height: 220px;
  width: 100%;
  overflow: hidden;
  background: #eef3f7;
}

.scc-card-image--placeholder {
  background:
    radial-gradient(circle at 22% 24%, rgba(245, 162, 11, 0.22), transparent 30%),
    linear-gradient(135deg, #eaf7fb 0%, #d7eef6 42%, #ffffff 100%);
}

.scc-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.scc-blog-card:hover .scc-card-image img {
  transform: scale(1.045);
}

.scc-badge {
    position: absolute;
    top: 13px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(4, 111, 150, 0.76);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    backdrop-filter: blur(6px);
}

.scc-card-content {
  padding: 20px 18px;
}

.scc-card-date {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: #1e252c;
  font-size: 15px;
  font-weight: 400;
}

.scc-card-date svg {
  width: 15px;
  height: 15px;
  stroke: #222;
  stroke-width: 2;
}

.scc-card-title {
  margin: 0 0 11px;
  font-family: var(--scc-heading-font);
  min-height: 42px;
  color: #151820;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.scc-card-excerpt {
  margin: 0 0 14px;
  min-height: 58px;
  color: #4e5660;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
}

.scc-read-more {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #006fa3;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: gap 0.22s ease, color 0.22s ease;
}

.scc-read-more svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.scc-blog-card:hover .scc-read-more,
.scc-card-link:focus-visible .scc-read-more {
  gap: 15px;
  color: var(--scc-orange);
}

.scc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.scc-page-number,
.scc-page-btn,
.scc-page-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 38px;
  border-radius: 8px;
  font-family: var(--scc-body-font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.scc-page-number,
.scc-page-btn {
  border: 1px solid #d3d9df;
  background: #fff;
  color: #25313c;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.scc-page-btn {
  gap: 8px;
  padding: 0 15px;
}

.scc-page-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.scc-page-number:hover,
.scc-page-btn:hover,
.scc-page-number.is-active {
  transform: translateY(-2px);
  border-color: var(--scc-blue);
  background: var(--scc-blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(5, 136, 185, 0.18);
}

.scc-page-number.is-active {
  pointer-events: none;
}

.scc-page-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.scc-page-dots {
  color: #7a838c;
  min-width: 26px;
}

.scc-empty-state {
  border: 1px solid var(--scc-line);
  border-radius: 12px;
  padding: 28px 22px;
  background: #fff;
  text-align: center;
}

.scc-empty-state h3 {
  margin: 0 0 8px;
  font-family: var(--scc-heading-font);
  color: #151820;
  font-size: 20px;
}

.scc-empty-state p {
  margin: 0;
  color: #4e5660;
  font-size: 13px;
}

@media (max-width: 991px) {
  .scc-blog-section {
    padding: 34px 18px 26px;
  }

  .scc-blog-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .scc-filter-list {
    justify-content: flex-start;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .scc-blog-section {
    padding: 30px 15px 24px;
  }

  .scc-blog-title {
    font-size: 26px;
  }

  .scc-filter-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .scc-filter-btn {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .scc-blog-grid {
    gap: 18px;
  }

  .scc-pagination {
    gap: 6px;
    margin-top: 28px;
  }

  .scc-page-btn {
    width: 100%;
    max-width: 160px;
  }

  .scc-card-image {
    height: 190px;
  }

  .scc-card-title,
  .scc-card-excerpt {
    min-height: 0;
  }
}
