/* page-header shared (disclaimer, privacy) */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid #e7062b;
}

.page-header h1 {
    color: #3a3a3a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Disclaimer page */
.disclaimer-article {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.disclaimer-article h2 {
    color: #3a3a3a;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e7062b;
}

.disclaimer-article h3 {
    color: #3a3a3a;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.disclaimer-article p {
    line-height: 1.8;
    color: #5a6268;
    margin-bottom: 1rem;
}

.disclaimer-article ul,
.disclaimer-article ol {
    line-height: 1.8;
    color: #5a6268;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.disclaimer-article li {
    margin-bottom: 0.5rem;
}

.disclaimer-article strong {
    color: #3a3a3a;
}

.disclaimer-article a {
    color: #e7062b;
    text-decoration: none;
}

.disclaimer-article a:hover {
    text-decoration: underline;
}

.disclaimer-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.disclaimer-notice p {
    margin-bottom: 0;
    color: #856404;
}

@media (max-width: 767px) {
    .disclaimer-article {
        padding: 1.5rem;
    }
}

/* Privacy page */
.privacy-article {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.privacy-article h2 {
    color: #3a3a3a;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e7062b;
}

.privacy-article h3 {
    color: #3a3a3a;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-article p {
    line-height: 1.8;
    color: #5a6268;
    margin-bottom: 1rem;
}

.privacy-article ul,
.privacy-article ol {
    line-height: 1.8;
    color: #5a6268;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.privacy-article li {
    margin-bottom: 0.5rem;
}

.privacy-article strong {
    color: #3a3a3a;
}

.privacy-article a {
    color: #e7062b;
    text-decoration: none;
}

.privacy-article a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .privacy-article {
        padding: 1.5rem;
    }
}

/* Category case page */
.case-item {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  height: 100%;
}

.case-item:hover {
  background-color: #f8f9fa;
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-img {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
}

.case-img img {
  transition: transform 0.3s ease;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-item:hover .case-img img {
  transform: scale(1.05);
}

.entry-title a {
  color: #3a3a3a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.entry-title a:hover {
  color: #e7062b;
}

@media (max-width: 767px) {
  .case-item {
    flex-direction: column;
  }

  .case-img {
    width: 100%;
    margin-bottom: 1rem;
  }

  .case-img img {
    width: 100% !important;
    height: auto !important;
  }
}

/* Product banner (index.php) */
.product-banner {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.product-banner .banner-item {
  position: relative;
  overflow: hidden;
}

.product-banner img {
  display: block;
  border: none;
  outline: none;
  box-shadow: none;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .product-banner {
    margin-top: 70px;
  }
}