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

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

body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #0a0a0a;
  background: #fafafa;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === Header & Navigation ============================================= */
header {
  background: #ffffff;
  padding: 0;
  box-shadow: none;
  border-bottom: 2px solid #0a0a0a;
  position: relative;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: left;
  border-bottom: none;
}

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

.logo {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  text-decoration: none;
  color: #0a0a0a;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.375rem;
  transition: all 0.3s ease;
  text-transform: none;
  font-style: italic;
}

.logo:hover {
  letter-spacing: 0.01em;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #888888;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  font-style: normal;
}

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

#top_menus li {
  margin: 0;
}

#top_menus li:last-child {
  margin-right: 0.5rem;
}

#top_menus .nav-link {
  display: block;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  color: #0a0a0a;
  padding: 0.5rem 0;
  margin: 0 0 0 3rem;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.01em;
  text-transform: none;
  border-bottom: 2px solid transparent;
}

#top_menus .nav-link:hover,
#top_menus .nav-link:focus {
  color: #0a0a0a;
  background: transparent;
  border-bottom: 2px solid #0a0a0a;
}

#top_menus .nav-link::after {
  display: none;
}

/* === Hero Section ================================================= */
.hero-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 3rem 5rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

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

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e5e5e5;
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.hero-image:hover img {
  opacity: 0.85;
}

.hero-content {
  padding: 0;
  text-align: left;
}

.hero-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a0a0a;
  padding: 0.25rem 0;
  background: transparent;
  border-radius: 0;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #0a0a0a;
}

.hero-content h1 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: #0a0a0a;
  font-style: normal;
}

.hero-content h1 a {
  color: #0a0a0a;
  text-decoration: none;
  transition: letter-spacing 0.3s ease;
}

.hero-content h1 a:hover {
  letter-spacing: -0.01em;
}

.hero-excerpt {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 100%;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  padding-top: 0;
  border-top: none;
}

.hero-date {
  font-size: 0.875rem;
  color: #888888;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-read-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0a0a0a;
  text-decoration: none;
  padding: 0;
  border: none;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
  text-transform: none;
  border-bottom: 2px solid #0a0a0a;
  padding-bottom: 0.125rem;
}

.hero-read-more:hover {
  background: transparent;
  color: #0a0a0a;
  letter-spacing: 0.03em;
}

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

.section-title {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  text-transform: none;
  font-style: italic;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #0a0a0a;
}

.section-title::after {
  display: none;
}

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

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

.post-item:hover {
  transform: translateY(0);
  box-shadow: none;
  border-color: #0a0a0a;
}

/* Featured Image */
.post-featured-image {
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
  box-shadow: none;
  border-bottom: 1px solid #e5e5e5;
}

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

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

/* Category Badge */
.post-category {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a0a0a;
  padding: 0;
  background: transparent;
  margin: 2rem 2rem 0.5rem;
  border-radius: 0;
}

/* Title */
.post-item h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 2rem 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-style: normal;
}

.post-item h3 a {
  color: #0a0a0a;
  text-decoration: none;
  transition: letter-spacing 0.3s ease;
}

.post-item h3 a:hover {
  letter-spacing: 0;
}

/* Post Date */
.post-item .post-date {
  margin: 0 2rem 1.5rem;
  font-size: 0.8125rem;
  color: #888888;
  font-weight: 400;
  letter-spacing: 0;
}

/* Excerpt */
.post-item p {
  margin: 0 2rem 2rem;
  color: #4a4a4a;
  flex: 1 0 auto;
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Read More Button */
.post-item .read-more-link {
  display: inline-block;
  margin: 0 2rem 2.5rem;
  color: #0a0a0a;
  text-decoration: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
  text-transform: none;
  border-bottom: 2px solid #0a0a0a;
  padding-bottom: 0.125rem;
}

.post-item .read-more-link:hover {
  background: transparent;
  color: #0a0a0a;
  letter-spacing: 0.03em;
}

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

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

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

.pagination .page-numbers {
  display: inline-block;
  padding: 0.625rem 1rem;
  border: 2px solid #e5e5e5;
  border-radius: 0;
  text-decoration: none;
  color: #0a0a0a;
  transition: all 0.3s ease;
  min-width: 42px;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
}

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

.pagination .page-numbers:hover {
  background: transparent;
  color: #0a0a0a;
  border-color: #0a0a0a;
}

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

.pagination .next.page-numbers,
.pagination .prev.page-numbers {
  border-color: #e5e5e5;
  color: #0a0a0a;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.875rem;
  padding: 0.625rem 1.5rem;
}

.pagination .next.page-numbers:hover,
.pagination .prev.page-numbers:hover {
  background: transparent;
  color: #0a0a0a;
  border-color: #0a0a0a;
}

/* === Breadcrumbs ================================================== */
.breadcrumbs {
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 0 3rem;
  font-size: 0.875rem;
  color: #888888;
  letter-spacing: 0;
}

.breadcrumbs a {
  color: #0a0a0a;
  text-decoration: none;
  transition: letter-spacing 0.3s ease;
  border-bottom: 1px solid transparent;
}

.breadcrumbs a:hover {
  color: #0a0a0a;
  border-bottom: 1px solid #0a0a0a;
}

.breadcrumbs span {
  color: #888888;
}

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

/* Page Featured Image */
.page-content .post-featured-image {
  margin-bottom: 3rem;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e5e5e5;
}

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

/* Page Title */
.page-content h1 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  line-height: 1.2;
  color: #0a0a0a;
  text-align: left;
  letter-spacing: -0.02em;
  font-style: normal;
}

/* Post Meta */
.page-content .post-meta {
  text-align: left;
  margin: 0 0 3rem !important;
  padding-bottom: 2rem;
  border-bottom: 2px solid #0a0a0a;
  color: #888888 !important;
  font-size: 0.875rem;
  letter-spacing: 0;
}

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

.page-content .content p {
  margin-bottom: 1.75rem;
  color: #2a2a2a;
  font-size: 1.0625rem;
  line-height: 1.8;
  font-weight: 400;
}

.page-content .content h2 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem;
  color: #0a0a0a;
  letter-spacing: -0.01em;
  font-style: normal;
}

.page-content .content h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin: 2.5rem 0 1.25rem;
  color: #0a0a0a;
  letter-spacing: -0.01em;
  font-style: normal;
}

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

.page-content .content li {
  margin-bottom: 0.875rem;
  font-weight: 400;
}

.page-content .content a {
  color: #0a0a0a;
  text-decoration: none;
  border-bottom: 2px solid #0a0a0a;
  padding-bottom: 0.05em;
  transition: all 0.3s ease;
}

.page-content .content a:hover {
  letter-spacing: 0.01em;
  border-color: #0a0a0a;
}

.page-content .content blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 0 1.5rem 2rem;
  border-left: 3px solid #0a0a0a;
  color: #4a4a4a;
  font-style: italic;
  font-size: 1.1875rem;
  font-weight: 400;
  font-family: 'Crimson Pro', Georgia, serif;
}

.page-content .content img {
  max-width: 100%;
  height: auto;
  margin: 2.5rem 0;
  display: block;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #e5e5e5;
}

/* === Footer ====================================================== */
footer {
  background: #ffffff;
  color: #4a4a4a;
  text-align: center;
  padding: 4rem 3rem 3rem;
  font-size: 0.875rem;
  line-height: 1.7;
  border-top: 2px solid #0a0a0a;
  margin-top: 6rem;
}

/* Footer Links */
footer a {
  color: #0a0a0a;
  text-decoration: none;
  transition: letter-spacing 0.3s ease;
  border-bottom: 1px solid transparent;
}

footer a:hover {
  letter-spacing: 0.01em;
  border-bottom: 1px solid #0a0a0a;
}

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

.footer-menu a {
  font-size: 0.9375rem;
  color: #0a0a0a;
  text-decoration: none;
  transition: letter-spacing 0.3s ease;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 1px solid transparent;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: #0a0a0a;
  letter-spacing: 0.01em;
  border-bottom: 1px solid #0a0a0a;
}

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

.contact-footer p {
  margin: 0.625rem 0;
  color: #4a4a4a;
}

.contact-footer strong {
  font-weight: 600;
  color: #0a0a0a;
  margin-right: 0.5rem;
}

footer > p {
  color: #888888;
  font-size: 0.8125rem;
  margin-top: 2.5rem;
  letter-spacing: 0;
}

/* === Active Menu Item ============================================= */
#top_menus .current-menu-item .nav-link,
#top_menus .current_page_item .nav-link {
  color: #0a0a0a;
  cursor: default;
  border-bottom: 2px solid #0a0a0a;
}

/* === Recommended Articles Section ================================= */
.recommended-articles {
  max-width: 1400px;
  margin: 6rem auto 0;
  padding: 0 3rem;
}

.recommended-articles h2 {
  font-family: 'Crimson Pro', Georgia, serif;
  text-align: left;
  margin-bottom: 3rem;
  font-size: 2.25rem;
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: -0.01em;
  text-transform: none;
  font-style: italic;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #0a0a0a;
  display: inline-block;
}

/* === Responsive Design =========================================== */
/* Tablets */
@media (max-width: 992px) {
  .post-list {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 2rem;
  }
  
  .header-container {
    padding: 2.5rem 2rem 1.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  #top_menus {
    justify-content: flex-start;
    margin: 0;
  }
  
  #top_menus .nav-link {
    margin: 0 2rem 0 0;
    padding: 0.375rem 0;
  }
  
  .page-content {
    padding: 0 2rem;
  }
  
  .page-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-section {
    padding: 3rem 2rem 4rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .section-title-wrapper {
    padding: 0 2rem;
  }
  
  .recommended-articles {
    padding: 0 2rem;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .header-container {
    padding: 2rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  
  .logo {
    font-size: 1.875rem;
  }
  
  .logo-tagline {
    font-size: 0.6875rem;
  }
  
  #top_menus {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-top: none;
    width: 100%;
  }
  
  #top_menus .nav-link {
    padding: 0.375rem 0;
    margin: 0 1.5rem 0.5rem 0;
    font-size: 0.8125rem;
  }
  
  .hero-section {
    padding: 2.5rem 1.5rem 3.5rem;
  }
  
  .hero-container {
    gap: 2rem;
  }
  
  .hero-image img {
    aspect-ratio: 4/3;
  }
  
  .hero-content {
    padding: 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-excerpt {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .section-title-wrapper {
    margin: 4rem auto 0;
    padding: 0 1.5rem;
  }
  
  .section-title {
    font-size: 1.625rem;
  }
  
  .post-list {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
    margin: 3rem auto;
    gap: 2.5rem;
  }
  
  .page-content {
    margin: 2.5rem auto 4.5rem;
    padding: 0 1.5rem;
  }
  
  .page-content h1 {
    font-size: 2.25rem;
    margin: 0 0 1.25rem;
  }
  
  .page-content .post-meta {
    margin: 0 0 2.5rem !important;
  }
  
  .page-content .content {
    padding: 0;
  }
  
  .page-content .content p {
    font-size: 1rem;
  }
  
  .page-content .content h2 {
    font-size: 1.75rem;
  }
  
  .page-content .content h3 {
    font-size: 1.5rem;
  }
  
  .breadcrumbs {
    padding: 0 1.5rem;
    margin: 2.5rem auto 0;
  }
  
  .footer-menu {
    gap: 1.75rem;
    margin-bottom: 2.5rem;
    flex-direction: column;
  }
  
  footer {
    padding: 3.5rem 1.5rem 2.5rem;
  }
  
  .recommended-articles {
    margin: 4.5rem auto 0;
    padding: 0 1.5rem;
  }
  
  .recommended-articles h2 {
    font-size: 1.625rem;
    margin-bottom: 2.5rem;
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  .header-container {
    padding: 1.75rem 1.25rem 1.25rem;
  }
  
  .breadcrumbs {
    font-size: 0.8125rem;
    padding: 0 1.25rem;
  }
  
  .page-content {
    padding: 0 1.25rem;
  }
  
  .page-content h1 {
    font-size: 1.875rem;
  }
  
  .post-item h3 {
    font-size: 1.5rem;
  }
  
  .logo {
    font-size: 1.625rem;
  }
  
  .hero-section {
    padding: 2rem 1.25rem 3rem;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-title-wrapper {
    padding: 0 1.25rem;
  }
  
  .post-list {
    padding: 0 1.25rem;
  }
  
  .recommended-articles {
    padding: 0 1.25rem;
  }
  
  .recommended-articles h2 {
    font-size: 1.5rem;
  }
  
  footer {
    padding: 3rem 1.25rem 2.25rem;
  }
  
  .hero-image img {
    aspect-ratio: 1/1;
  }
}
