/*
Theme Name: Solidverse Theme
Theme URI: https://solidverse.co.jp
Author: Solidverse Inc.
Author URI: https://solidverse.co.jp
Description: 株式会社Solidverseのコーポレートサイト用WordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solidverse
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a365d;
  --secondary-color: #2d3748;
  --accent-color: #2c5282;
  --text-dark: #1a202c;
  --text-light: #4a5568;
  --bg-light: #f7fafc;
  --border-color: #e2e8f0;
  --sidebar-width: 320px;
}

body {
  font-family:
    'Inter',
    'Noto Sans JP',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  font-feature-settings: 'palt' 1;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

.layout-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, #1a365d 0%, #2d3748 100%);
  color: white;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  overflow-y: auto;
  z-index: 1000;
}

.sidebar-content {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ceo-photo-sidebar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid rgba(100, 180, 255, 0.5);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(100, 180, 255, 0.6),
    0 0 60px rgba(44, 82, 130, 0.4);
  transition: all 0.3s;
}

.ceo-photo-sidebar:hover {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(100, 180, 255, 0.8),
    0 0 80px rgba(44, 82, 130, 0.6);
  border-color: rgba(100, 180, 255, 0.8);
}

.company-logo {
  width: 100%;
  max-width: 240px;
  height: auto;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6))
    drop-shadow(0 0 40px rgba(100, 180, 255, 0.4));
  transition: all 0.3s;
}

.company-logo:hover {
  filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 50px rgba(100, 180, 255, 0.6));
}

.sidebar h1 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.4;
  display: none;
}

.ceo-name {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sidebar nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar nav a {
  color: white;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: all 0.3s;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  border-left: 3px solid transparent;
  letter-spacing: -0.01em;
}

.sidebar nav a:hover {
  background: rgba(100, 180, 255, 0.15);
  border-left-color: rgba(100, 180, 255, 0.9);
  transform: translateX(5px);
  box-shadow:
    0 0 20px rgba(100, 180, 255, 0.4),
    inset 0 0 20px rgba(100, 180, 255, 0.1);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Main Content */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  background: white;
}

.content-section {
  padding: 4rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-section:nth-child(even) {
  background: transparent;
}

.content-section > * {
  position: relative;
  z-index: 1;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1a365d 0%, #64b4ff 100%);
  box-shadow:
    0 0 15px rgba(100, 180, 255, 0.8),
    0 0 30px rgba(26, 54, 93, 0.6);
  animation:
    pulse 2s ease-in-out infinite,
    lineGrow 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow:
      0 0 15px rgba(100, 180, 255, 0.8),
      0 0 30px rgba(26, 54, 93, 0.6);
  }
  50% {
    box-shadow:
      0 0 20px rgba(100, 180, 255, 1),
      0 0 40px rgba(26, 54, 93, 0.8);
  }
}

@keyframes lineGrow {
  0%,
  100% {
    width: 60px;
  }
  50% {
    width: 80px;
  }
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Hero Section (About) */
.hero-section {
  background: white;
  padding: 5rem 3rem !important;
  text-align: center;
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  width: 280px;
  height: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 30px rgba(100, 180, 255, 0.5)) drop-shadow(0 0 60px rgba(26, 54, 93, 0.3));
  animation:
    logoFloat 6s ease-in-out infinite,
    logoPulse 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes logoPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 30px rgba(100, 180, 255, 0.5))
      drop-shadow(0 0 60px rgba(26, 54, 93, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(100, 180, 255, 0.8))
      drop-shadow(0 0 80px rgba(26, 54, 93, 0.5));
  }
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.hero-description p {
  margin-bottom: 1rem;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  min-width: 160px;
  transition: all 0.3s;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-mission {
  background: transparent;
  padding: 2.5rem;
  border-radius: 0;
  box-shadow: none;
  border-left: none;
}

.hero-mission h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-mission p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-light);
  text-align: left;
}

/* Services */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-item {
  background: transparent;
  padding: 1.75rem;
  border-radius: 0;
  border-left: none;
  box-shadow: none;
  transition: all 0.3s;
}

.service-item:hover {
  transform: translateX(4px);
}

.service-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.service-item p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* News */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.news-item {
  background: transparent;
  padding: 1.5rem;
  border-radius: 0;
  border-left: 3px solid var(--primary-color);
  transition: all 0.3s;
}

.news-item:hover {
  transform: translateX(4px);
  border-left-color: var(--accent-color);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.news-date {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.news-category {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 500;
}

.news-title {
  margin-bottom: 0.75rem;
}

.news-title a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.news-title a:hover {
  color: var(--primary-color);
}

.news-excerpt {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

.news-empty {
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
  font-size: 0.95rem;
}

.news-more {
  text-align: center;
  margin-top: 2rem;
}

.news-more-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
}

.news-more-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* News Card List (Top Page) */
.news-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-card-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 66.67%; /* 3:2 aspect ratio */
  overflow: hidden;
  background: var(--bg-light);
}

.news-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news-card:hover .news-card-image {
  transform: scale(1.05);
}

.news-card-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
  color: var(--text-light);
}

.news-card-content {
  padding: 1.25rem;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.news-card-date {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
}

.news-card-category {
  background: var(--primary-color);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 500;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.news-card:hover .news-card-title {
  color: var(--primary-color);
}

/* News Card Responsive */
@media (max-width: 968px) {
  .news-card-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .news-card {
    display: flex;
    flex-direction: row;
  }

  .news-card-link {
    display: flex;
    width: 100%;
  }

  .news-card-thumbnail {
    width: 120px;
    min-width: 120px;
    padding-top: 0;
    height: 90px;
  }

  .news-card-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .news-card-meta {
    margin-bottom: 0.5rem;
  }

  .news-card-title {
    font-size: 0.95rem;
  }
}

/* Archive Page News Items */
.archive-list {
  gap: 2.5rem;
}

.archive-news-item {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s;
}

.archive-news-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.news-thumbnail {
  flex-shrink: 0;
  width: 240px;
}

.news-thumb-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  transition: opacity 0.3s;
}

.news-thumb-image:hover {
  opacity: 0.85;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.archive-news-item .news-meta {
  margin-bottom: 1rem;
}

.archive-news-item .news-title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.archive-news-item .news-title a {
  font-size: 1.3rem;
}

.archive-news-item .news-excerpt {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
  align-self: flex-start;
}

.read-more:hover {
  color: var(--accent-color);
}

/* Responsive for Archive */
@media (max-width: 968px) {
  .archive-news-item {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .news-thumbnail {
    width: 100%;
  }

  .news-thumb-image {
    height: 200px;
  }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination a,
.pagination .current {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.pagination a:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination .current {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  font-weight: 600;
}

.pagination .dots {
  padding: 0.5rem;
  color: var(--text-light);
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  background: transparent;
  padding: 1.5rem;
  border-radius: 0;
  border-top: none;
  box-shadow: none;
  transition: all 0.3s;
}

.skill-category:hover {
  transform: translateY(-2px);
}

.skill-category h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: var(--bg-light);
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  font-size: 0.85rem;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

/* Profile Section */
.profile-content {
  background: transparent;
  padding: 2rem;
  border-radius: 0;
  box-shadow: none;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.ceo-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(100, 180, 255, 0.3);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    0 0 30px rgba(100, 180, 255, 0.4);
  flex-shrink: 0;
}

.profile-details h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.profile-info {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.profile-message {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.profile-message h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.profile-message p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.certifications {
  margin-top: 2rem;
  padding: 1.5rem;
  background: transparent;
  border-radius: 0;
}

.certifications h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cert-list {
  list-style: none;
}

.cert-item {
  padding: 0.5rem 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.cert-item::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 0.75rem;
}

/* Company Info */
.company-table {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.info-table {
  width: 100%;
}

.info-table tr {
  border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table th {
  text-align: left;
  padding: 1rem 1.5rem;
  background: var(--bg-light);
  width: 30%;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.info-table td {
  padding: 1rem 1.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* History */
.history-timeline {
  margin-top: 2rem;
  position: relative;
  padding-left: 2rem;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color) 0%, rgba(26, 54, 93, 0.3) 100%);
}

.history-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--primary-color);
}

.history-date {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.history-content {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* Contact */
.contact-content {
  text-align: center;
  padding: 2rem 1rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.contact-content p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.google-form-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 0 30px rgba(100, 180, 255, 0.1);
  overflow: hidden;
}

.google-form-container iframe {
  width: 100%;
  min-height: 800px;
  border: none;
  display: block;
}

/* Entry Content (Blog Posts) */
.entry-content {
  line-height: 1.9;
  color: var(--text-dark);
}

.entry-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.entry-content h2:first-child {
  margin-top: 0;
}

.entry-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.entry-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.entry-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-light);
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  color: var(--text-light);
}

.entry-content li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.entry-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  background: var(--bg-light);
  font-style: italic;
  color: var(--text-light);
}

.entry-content pre {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.6;
}

.entry-content code {
  background: var(--bg-light);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

.entry-content pre code {
  background: transparent;
  padding: 0;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 4px;
}

.entry-content a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s;
}

.entry-content a:hover {
  color: var(--accent-color);
}

.entry-content table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

.entry-content table th {
  background: var(--bg-light);
  font-weight: 600;
}

/* Single Post Styles */
.single-post {
  justify-content: flex-start;
  padding-top: 2rem;
}

.single-post-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '>';
  margin-left: 0.5rem;
  color: var(--text-light);
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-item a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.breadcrumb-current span {
  color: var(--text-light);
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

/* Entry Header */
.entry-header {
  margin-bottom: 2rem;
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.entry-date {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.entry-category {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 500;
}

.entry-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

/* Eyecatch Image - Fixed Aspect Ratio 3:2 */
.post-eyecatch {
  margin-bottom: 2.5rem;
}

.eyecatch-wrapper {
  position: relative;
  width: 100%;
  padding-top: 66.67%; /* 3:2 aspect ratio */
  overflow: hidden;
  border-radius: 8px;
  background: var(--bg-light);
}

.eyecatch-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Author Profile Section */
.author-profile {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.author-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-color);
}

.author-box {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.author-avatar {
  flex-shrink: 0;
}

.author-photo,
.author-avatar img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(100, 180, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-info {
  flex: 1;
  min-width: 0;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.author-description {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.author-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 82, 130, 0.4);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.author-posts-link {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.author-posts-link:hover {
  color: var(--accent-color);
}

/* Entry Footer */
.entry-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.back-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--accent-color);
}

/* Post Navigation - Card Style */
.post-navigation {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.nav-card {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.nav-empty {
  background: transparent;
  border: none;
  pointer-events: none;
}

.nav-card-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 66.67%; /* 3:2 aspect ratio */
  overflow: hidden;
  background: var(--bg-light);
}

.nav-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.nav-card:hover .nav-card-image {
  transform: scale(1.05);
}

.nav-card-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
}

.nav-card-content {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-card-label {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

.nav-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-previous .nav-card-label::before {
  content: '← ';
}

.nav-next .nav-card-label::after {
  content: ' →';
}

/* Responsive for Single Post */
@media (max-width: 968px) {
  .single-post {
    padding: 1.5rem;
  }

  .breadcrumb {
    margin-bottom: 1.5rem;
  }

  .breadcrumb-current span {
    max-width: 150px;
  }

  .entry-title {
    font-size: 1.5rem;
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-social {
    justify-content: center;
  }

  .author-posts-link {
    display: block;
  }

  .post-navigation {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  text-align: center;
  padding: 2rem;
}

footer p {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
  :root {
    --sidebar-width: 0;
  }

  .layout-wrapper {
    flex-direction: column;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
  }

  .sidebar-content {
    padding: 2rem 1.5rem;
  }

  .company-logo {
    max-width: 200px;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .sidebar h1 {
    font-size: 1.25rem;
  }

  .sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .sidebar nav a {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .main-content {
    margin-left: 0;
  }

  .content-section {
    padding: 3rem 1.5rem;
    min-height: auto;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-section {
    padding: 3rem 1.5rem !important;
    min-height: auto;
  }

  .hero-logo {
    width: 200px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }

  .hero-features {
    gap: 1.5rem;
  }

  .feature-item {
    min-width: 140px;
    padding: 1rem;
  }

  .feature-number {
    font-size: 2rem;
  }

  .hero-mission {
    padding: 1.5rem;
  }

  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .ceo-photo {
    width: 150px;
    height: 150px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .info-table th,
  .info-table td {
    padding: 0.75rem;
    font-size: 0.85rem;
  }

  .info-table th {
    width: 35%;
  }
}
