/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", "Arial", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 14px;
  background-color: #003257;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: #000;
  margin-bottom: 0;
}

p {
  margin-bottom: 1em;
  color: #666;
}

/* Section Headers */
.section-header {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.section-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: #000;
}

/* Common components */
.article-image-placeholder {
  width: 100%;
  height: 200px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  border: 1px dashed #ddd;
}

.no-posts {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.load-more-container {
  text-align: center;
  margin: 40px 0;
}

.load-more-btn {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px;
}

.load-more-btn:hover {
  background-color: #000;
}

.load-more-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.load-more-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Pagination */
.pagination-container {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 40px;
}

.page-numbers {
  display: inline-flex;
  gap: 10px;
}

.page-numbers .page-numbers,
.page-numbers .next,
.page-numbers .prev {
  padding: 10px 15px;
  background-color: #f0f0f0;
  color: #666;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.page-numbers .current {
  background-color: #333;
  color: #fff;
}

.page-numbers .page-numbers:hover,
.page-numbers .next:hover,
.page-numbers .prev:hover {
  background-color: #333;
  color: #fff;
}