/* === Google Fonts Import =========================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Lora:wght@500;600;700&display=swap');

/* === Base Settings ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.8;
  color: #1a1a1a;
  background: #ffffff;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Header & Navigation ============================================= */
header {
  background: #ffffff;
  padding: 0;
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.03);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.logo-container {
  flex: 0 0 auto;
}

.logo {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: #000000;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.5rem;
  transition: opacity 0.3s ease;
  text-transform: uppercase;
}

.logo:hover {
  opacity: 0.7;
}

.logo-tagline {
  font-size: 0.6875rem;
  color: #a0a0a0;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

#top_menus {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border-top: none;
}

#top_menus li {
  margin: 0;
}

#top_menus .nav-link {
  display: block;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.8125rem;
  color: #666666;
  padding: 1.25rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#top_menus .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: #000000;
  transition: width 0.3s ease;
}

#top_menus .nav-link:hover,
#top_menus .nav-link:focus {
  color: #000000;
  background: transparent;
}

#top_menus .nav-link:hover::after {
  width: 60%;
}

/* === Hero Section ================================================= */
.hero-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  background: #ffffff;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 21/10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.02);
}

.hero-content {
  padding: 2rem 0 0;
  text-align: center;
}

.hero-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666666;
  padding: 0;
  background: transparent;
  border-radius: 0;
  margin-bottom: 1.75rem;
}

.hero-content h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  color: #000000;
}

.hero-content h1 a {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.hero-content h1 a:hover {
  opacity: 0.7;
}

.hero-excerpt {
  font-size: 1rem;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

.hero-date {
  font-size: 0.8125rem;
  color: #a0a0a0;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.hero-read-more {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  padding: 0.75rem 2rem;
  border: 1px solid #000000;
  transition: all 0.3s ease;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-read-more:hover {
  background: #000000;
  color: #ffffff;
}

/* === Section Title ================================================ */
.section-title-wrapper {
  max-width: 1200px;
  margin: 5rem auto 0;
  padding: 0 2rem;
  text-align: center;
}

.section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: #000000;
}

/* === Post List ===================================================== */
.post-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 3rem;
  max-width: 1200px;
  margin: 4.5rem auto;
  padding: 0 2rem;
}

/* === Post Card ==================================================== */
.post-item {
  background: #ffffff;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.post-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Featured Image */
.post-featured-image {
  overflow: hidden;
  background: #f8f8f8;
  position: relative;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.post-item:hover .post-featured-image img {
  transform: scale(1.03);
  opacity: 0.9;
}

/* Category Badge */
.post-category {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666666;
  padding: 0;
  background: transparent;
  margin: 2rem 0 0.75rem;
  border-radius: 0;
}

/* Title */
.post-item h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.post-item h3 a {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.post-item h3 a:hover {
  opacity: 0.7;
}

/* Post Date */
.post-item .post-date {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  color: #a0a0a0;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* Excerpt */
.post-item p {
  margin: 0 0 1.75rem;
  color: #666666;
  flex: 1 0 auto;
  font-size: 0.875rem;
  line-height: 1.75;
  font-weight: 300;
}

/* Read More Button */
.post-item .read-more-link {
  display: inline-block;
  margin: 0 0 0;
  color: #000000;
  text-decoration: none;
  padding: 0.625rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #000000;
  transition: all 0.3s ease;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-item .read-more-link:hover {
  background: #000000;
  color: #ffffff;
}

/* === Pagination =================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5rem 0 7rem;
  font-weight: 400;
}

.pagination ul.page-numbers {
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.pagination ul.page-numbers li {
  margin: 0;
  display: inline-block;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  text-decoration: none;
  color: #666666;
  transition: all 0.3s ease;
  min-width: 44px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 400;
}

.pagination .page-numbers.current {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.pagination .page-numbers:hover {
  background: #f8f8f8;
  color: #000000;
  border-color: #c0c0c0;
}

.pagination .page-numbers.current:hover {
  background: #000000;
  border-color: #000000;
}

.pagination .next.page-numbers,
.pagination .prev.page-numbers {
  border-color: #e0e0e0;
  color: #666666;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.pagination .next.page-numbers:hover,
.pagination .prev.page-numbers:hover {
  background: #f8f8f8;
  color: #000000;
  border-color: #c0c0c0;
}

/* === Breadcrumbs ================================================== */
.breadcrumbs {
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 0 2rem;
  font-size: 0.75rem;
  color: #a0a0a0;
  letter-spacing: 0.05em;
}

.breadcrumbs a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #000000;
}

.breadcrumbs span {
  color: #666666;
}

/* === Page Content (Single Post) ================================================= */
.page-content {
  max-width: 800px;
  margin: 3rem auto 7rem;
  padding: 0;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

/* Page Featured Image */
.page-content .post-featured-image {
  margin-bottom: 4rem;
  overflow: hidden;
  background: #f8f8f8;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.page-content .post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* Page Title */
.page-content h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 2rem;
  line-height: 1.3;
  color: #000000;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Post Meta */
.page-content .post-meta {
  text-align: center;
  margin: 0 0 3.5rem !important;
  padding-bottom: 3rem;
  border-bottom: 1px solid #f0f0f0;
  color: #a0a0a0 !important;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

/* Page Content */
.page-content .content {
  padding: 0;
}

.page-content .content p {
  margin-bottom: 2rem;
  color: #333333;
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 300;
}

.page-content .content h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin: 3.5rem 0 1.5rem;
  color: #000000;
  letter-spacing: -0.01em;
}

.page-content .content h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 3rem 0 1.25rem;
  color: #000000;
  letter-spacing: 0;
}

.page-content .content ul,
.page-content .content ol {
  margin: 2.25rem 0;
  padding-left: 2rem;
  color: #333333;
  line-height: 1.9;
}

.page-content .content li {
  margin-bottom: 1rem;
  font-weight: 300;
}

.page-content .content a {
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid #000000;
  padding-bottom: 0.1em;
  transition: all 0.3s ease;
}

.page-content .content a:hover {
  opacity: 0.7;
  border-color: transparent;
}

.page-content .content blockquote {
  margin: 3rem 0;
  padding: 2rem 0 2rem 2.5rem;
  border-left: 2px solid #e0e0e0;
  color: #666666;
  font-style: italic;
  font-size: 1.125rem;
  font-weight: 300;
}

.page-content .content img {
  max-width: 100%;
  height: auto;
  margin: 3rem 0;
  display: block;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* === Footer ====================================================== */
footer {
  background: #ffffff;
  color: #666666;
  text-align: center;
  padding: 5rem 2rem 3.5rem;
  font-size: 0.8125rem;
  line-height: 1.75;
  border-top: 1px solid #f0f0f0;
  margin-top: 8rem;
}

/* Footer Links */
footer a {
  color: #000000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.7;
}

/* Footer Menu */
.footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  list-style: none;
  margin: 0 0 3.5rem;
  padding: 0;
}

.footer-menu a {
  font-size: 0.8125rem;
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: #000000;
}

.contact-footer {
  margin-bottom: 3rem;
}

.contact-footer p {
  margin: 0.75rem 0;
  color: #666666;
}

.contact-footer strong {
  font-weight: 500;
  color: #000000;
  margin-right: 0.5rem;
}

footer > p {
  color: #a0a0a0;
  font-size: 0.75rem;
  margin-top: 3rem;
  letter-spacing: 0.05em;
}

/* === Active Menu Item ============================================= */
#top_menus .current-menu-item .nav-link,
#top_menus .current_page_item .nav-link {
  color: #000000;
  cursor: default;
}

#top_menus .current-menu-item .nav-link::after,
#top_menus .current_page_item .nav-link::after {
  width: 60%;
}

/* === Recommended Articles Section ================================= */
.recommended-articles {
  max-width: 1200px;
  margin: 7rem auto 0;
  padding: 0 2rem;
}

.recommended-articles h2 {
  font-family: 'Lora', Georgia, serif;
  text-align: center;
  margin-bottom: 4rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* === Responsive Design =========================================== */
/* Tablets */
@media (max-width: 992px) {
  .post-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2.5rem;
  }
  
  .header-container {
    padding: 2rem 1.5rem 1.75rem;
  }
  
  .page-content h1 {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 4rem 2rem 5rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .header-container {
    padding: 1.75rem 1rem 1.5rem;
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  .logo-tagline {
    font-size: 0.625rem;
  }
  
  #top_menus {
    flex-direction: column;
    border-top: none;
  }
  
  #top_menus .nav-link {
    padding: 1rem;
    width: 100%;
  }
  
  .hero-section {
    padding: 3rem 1rem 4rem;
  }
  
  .hero-container {
    gap: 2rem;
  }
  
  .hero-content {
    padding: 1.5rem 0 0;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-excerpt {
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  
  .hero-read-more {
    padding: 0.625rem 1.5rem;
    font-size: 0.75rem;
  }
  
  .section-title-wrapper {
    margin: 3.5rem auto 0;
  }
  
  .section-title {
    font-size: 1.375rem;
  }
  
  .post-list {
    grid-template-columns: 1fr;
    padding: 0 1rem;
    margin: 3.5rem auto;
    gap: 3rem;
  }
  
  .page-content {
    margin: 2.5rem auto 5rem;
    padding: 0 1rem;
  }
  
  .page-content h1 {
    font-size: 1.75rem;
    margin: 0 0 1.5rem;
  }
  
  .page-content .post-meta {
    margin: 0 0 2.5rem !important;
  }
  
  .page-content .content {
    padding: 0;
  }
  
  .page-content .content p {
    font-size: 0.9375rem;
  }
  
  .page-content .content h2 {
    font-size: 1.5rem;
  }
  
  .page-content .content h3 {
    font-size: 1.25rem;
  }
  
  .breadcrumbs {
    padding: 0 1rem;
    margin: 2.5rem auto 0;
  }
  
  .footer-menu {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  
  footer {
    padding: 4rem 1rem 3rem;
  }
  
  .recommended-articles {
    margin: 5rem auto 0;
  }
  
  .recommended-articles h2 {
    font-size: 1.375rem;
    margin-bottom: 3rem;
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  .breadcrumbs {
    font-size: 0.6875rem;
  }
  
  .page-content h1 {
    font-size: 1.5rem;
  }
  
  .post-item h3 {
    font-size: 1.125rem;
  }
  
  .logo {
    font-size: 1.125rem;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.25rem;
  }
  
  .recommended-articles h2 {
    font-size: 1.25rem;
  }
  
  footer {
    padding: 3.5rem 1rem 2.5rem;
  }
  
  .hero-image img {
    aspect-ratio: 16/9;
  }
}
