@charset "utf-8";

/* ========================================
   SEO Enhancement Styles
   コレクションページ用セクション
   ======================================== */

/* ----------------------------------------
   共通: セクションタイトル
   ---------------------------------------- */
.seo-section-title {
  text-align: center;
  margin-bottom: 35px;
}

.seo-section-title h2 {
  font-family: 'Herr Von Muellerhoff', cursive;
  font-size: 42px;
  color: #333;
  font-weight: 400;
  margin-bottom: 5px;
  line-height: 1;
}

.seo-section-title .ja {
  font-size: 12px;
  color: #999;
  letter-spacing: 1px;
}

/* ----------------------------------------
   Heritage セクション
   ---------------------------------------- */
.seo-heritage-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-heritage-content {
  max-width: 1100px;
  margin: 0 auto;
}

.seo-heritage-text {
  margin-top: 40px;
}

.seo-heritage-text p {
  font-size: 15px;
  line-height: 2.2;
  color: #555;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 25px;
  text-align: left;
}

.seo-heritage-text p:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------
   Brands セクション
   ---------------------------------------- */
.seo-brands-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 50px auto 0;
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
}

.seo-brand-card {
  position: relative;
  background: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.3s ease;
}

.seo-brand-card:hover {
  background: #f9f9f9;
}

.seo-brand-card .brand-logo,
.seo-brand-card .seo-brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transition: all 0.3s ease;
}

.seo-brand-card .brand-logo img,
.seo-brand-card .seo-brand-logo img {
  max-height: 80px;
  max-width: 200px;
  width: auto;
  transition: all 0.3s ease;
}

.seo-brand-card:hover .brand-logo img,
.seo-brand-card:hover .seo-brand-logo img {
  transform: scale(1.05);
}

.seo-brand-card .brand-overlay,
.seo-brand-card .seo-brand-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(51, 51, 51, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  opacity: 0;
  transition: all 0.3s ease;
}

.seo-brand-card:hover .brand-overlay,
.seo-brand-card:hover .seo-brand-overlay {
  opacity: 1;
}

.seo-brand-card .brand-summary,
.seo-brand-card .seo-brand-content>p {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-align: center;
}

.seo-brand-card .brand-link,
.seo-brand-card .seo-brand-products span {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #BB6767;
  text-transform: uppercase;
  display: block;
}

/* ----------------------------------------
   Materials セクション
   ---------------------------------------- */
.seo-materials-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 100%;
  margin: 50px auto 0;
}

.seo-material-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

.seo-material-card .material-image,
.seo-material-card .seo-material-image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: #fafafa;
}

.seo-material-card .material-image img,
.seo-material-card .seo-material-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.seo-material-card:hover .material-image img,
.seo-material-card:hover .seo-material-image img {
  transform: scale(1.05);
}

.seo-material-card .material-content,
.seo-material-card .seo-material-content {
  padding: 25px;
  text-align: center;
}

.seo-material-card .material-label,
.seo-material-card .seo-material-type {
  font-family: 'Crimson Text', serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: #BB6767;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.seo-material-card h4,
.seo-material-card h3 {
  font-family: 'Crimson Text', serif;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  margin-bottom: 12px;
}

.seo-material-card p {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
}

/* ----------------------------------------
   Placement セクション
   ---------------------------------------- */
.seo-placement-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-placement-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  margin: 40px auto 0;
  align-items: stretch;
}

.seo-placement-card {
  flex: 1;
  max-width: 350px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.seo-placement-card .image-wrapper {
  position: relative;
  padding-top: 140%;
  overflow: hidden;
}

.seo-placement-card .seo-placement-image {
  position: relative;
  overflow: hidden;
  padding-top: 75%;
  width: 100%;
}

.seo-placement-card .image-wrapper img,
.seo-placement-card .seo-placement-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.seo-placement-card:hover .image-wrapper img,
.seo-placement-card:hover .seo-placement-image img {
  transform: scale(1.05);
}

.seo-placement-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.7) 100%);
  transition: background 0.3s ease;
}

.seo-placement-card:hover .overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.8) 100%);
}

.seo-placement-card .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px;
  color: #fff;
  text-align: center;
}

/* Fallback for generated HTML where content is placed under the image */
.seo-placement-card .seo-placement-content {
  padding: 20px 0;
  color: #333;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.seo-placement-grid.vertical-style .seo-placement-card .seo-placement-image {
  padding-top: 130%;
  /* Make images taller to match user preference on box page */
}

.seo-placement-card .en {
  font-family: 'Crimson Text', serif;
  font-size: 20px;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 8px;
}

.seo-placement-card .ja {
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.9;
}

.seo-placement-card .line {
  width: 30px;
  height: 1px;
  background: #BB6767;
  margin: 15px auto 0;
}

.seo-placement-card .seo-placement-location {
  font-family: 'Crimson Text', serif;
  font-size: 11px;
  color: #BB6767;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.seo-placement-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
}

.seo-placement-card p {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
  margin-top: auto;
}

/* ----------------------------------------
   Display Tips セクション
   ---------------------------------------- */
.seo-display-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-display-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 50px auto 0;
  align-items: stretch;
}

.seo-display-image {
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 100%;
}

.seo-display-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-display-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.seo-display-tip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 35px;
  background: #f9f9f9;
  border: 1px solid #eee;
  margin: -1px 0 0 -1px;
}

.seo-display-tip .num,
.seo-display-tip .seo-tip-number,
.seo-display-tip .seo-display-number {
  font-family: 'Crimson Text', serif;
  font-size: 28px;
  color: #BB6767;
  line-height: 1;
}

.seo-display-tip .tip-content h4,
.seo-display-tip .seo-tip-content h4,
.seo-display-tip .seo-display-tip-content h4 {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.seo-display-tip .text,
.seo-display-tip .seo-tip-content p,
.seo-display-tip .seo-display-tip-content p {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
}

/* ----------------------------------------
   FAQ セクション
   ---------------------------------------- */
.seo-faq-section {
  padding: 80px 20px;
  background: #fff;
}

.seo-faq-list {
  max-width: 1100px;
  margin: 40px auto 0;
}

.seo-faq-item {
  border: 1px solid #e5e5e5;
  margin-bottom: -1px;
}

.seo-faq-question {
  padding: 20px 50px 20px 25px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #f5f5f5;
  position: relative;
  transition: background 0.2s ease;
}

.seo-faq-question:hover {
  background: #ebebeb;
}

.seo-faq-question::before {
  content: 'Q';
  font-family: 'Crimson Text', serif;
  font-size: 18px;
  font-weight: 400;
  color: #BB6767;
  flex-shrink: 0;
}

.seo-faq-question::after {
  content: '';
  position: absolute;
  right: 25px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.seo-faq-item.open .seo-faq-question::after {
  transform: translateY(-30%) rotate(-135deg);
}

.seo-faq-answer {
  padding: 20px 25px 25px 25px;
  font-size: 14px;
  color: #666;
  line-height: 2;
  display: none;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  text-align: left;
}

.seo-faq-answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.seo-faq-answer-inner::before {
  content: 'A';
  font-family: 'Crimson Text', serif;
  font-size: 18px;
  font-weight: 400;
  color: #8b7355;
  flex-shrink: 0;
}

.seo-faq-item.open .seo-faq-answer {
  display: block;
}

/* ----------------------------------------
   Related Content セクション
   ---------------------------------------- */
.seo-related-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.seo-related-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.seo-related-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.seo-related-card-image {
  height: 180px;
  overflow: hidden;
}

.seo-related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.seo-related-card:hover .seo-related-card-image img {
  transform: scale(1.05);
}

.seo-related-card-content {
  padding: 25px;
  text-align: left;
}

.seo-related-card h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #333;
  font-family: 'Noto Serif JP', serif;
}

.seo-related-card p {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.7;
}

.seo-related-card .link-text {
  font-size: 11px;
  color: #BB6767;
  letter-spacing: 1px;
}

/* ----------------------------------------
   レスポンシブ対応
   Primary breakpoint: 767px (matches main site)
   ---------------------------------------- */

/* Tablet landscape */
@media (max-width: 1000px) {
  .seo-materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .seo-brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-display-layout {
    grid-template-columns: 1fr;
  }

  .seo-display-image {
    aspect-ratio: 16 / 9;
  }

  .seo-related-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile - Primary breakpoint (matches main site) */
@media (max-width: 767px) {
  /* 共通: セクションパディング縮小 */
  .seo-heritage-section,
  .seo-brands-section,
  .seo-materials-section,
  .seo-placement-section,
  .seo-display-section,
  .seo-faq-section,
  .seo-related-section {
    padding: 50px 15px;
  }

  /* セクションタイトル */
  .seo-section-title {
    margin-bottom: 25px;
  }

  .seo-section-title h2 {
    font-size: 32px;
  }

  .seo-section-title .ja {
    font-size: 11px;
  }

  /* Heritage */
  .seo-heritage-text {
    margin-top: 25px;
  }

  .seo-heritage-text p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 20px;
  }

  /* Brands */
  .seo-brands-grid {
    margin-top: 30px;
    gap: 0;
  }

  .seo-brand-card {
    aspect-ratio: 3 / 2;
  }

  .seo-brand-card .brand-logo,
  .seo-brand-card .seo-brand-logo {
    padding: 20px;
  }

  .seo-brand-card .brand-logo img,
  .seo-brand-card .seo-brand-logo img {
    max-height: 50px;
    max-width: 140px;
  }

  .seo-brand-card .brand-overlay,
  .seo-brand-card .seo-brand-overlay {
    padding: 15px;
  }

  .seo-brand-card .brand-summary,
  .seo-brand-card .seo-brand-content>p {
    font-size: 11px;
    line-height: 1.7;
  }

  /* Materials */
  .seo-materials-grid {
    gap: 15px;
    margin-top: 30px;
  }

  .seo-material-card .material-content,
  .seo-material-card .seo-material-content {
    padding: 20px 15px;
  }

  .seo-material-card h4,
  .seo-material-card h3 {
    font-size: 14px;
  }

  .seo-material-card p {
    font-size: 11px;
  }

  /* Placement */
  .seo-placement-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
  }

  .seo-placement-card {
    width: 100%;
    max-width: 100%;
  }

  .seo-placement-card .image-wrapper {
    padding-top: 75%;
  }

  .seo-placement-card .seo-placement-image {
    padding-top: 60%;
  }

  .seo-placement-card .content {
    padding: 20px 15px;
  }

  .seo-placement-card .en {
    font-size: 16px;
  }

  .seo-placement-card h3 {
    font-size: 14px;
  }

  /* Display Tips */
  .seo-display-layout {
    margin-top: 30px;
  }

  .seo-display-tips {
    grid-template-columns: 1fr;
  }

  .seo-display-tip {
    padding: 25px 20px;
  }

  .seo-display-tip .num,
  .seo-display-tip .seo-tip-number,
  .seo-display-tip .seo-display-number {
    font-size: 24px;
  }

  .seo-display-tip .tip-content h4,
  .seo-display-tip .seo-tip-content h4,
  .seo-display-tip .seo-display-tip-content h4 {
    font-size: 13px;
  }

  /* FAQ - タッチフレンドリー */
  .seo-faq-list {
    margin-top: 25px;
  }

  .seo-faq-question {
    padding: 18px 45px 18px 20px;
    font-size: 13px;
    min-height: 56px; /* タッチターゲット確保 */
  }

  .seo-faq-question::after {
    right: 18px;
    width: 10px;
    height: 10px;
  }

  .seo-faq-answer {
    padding: 18px 20px 20px;
    font-size: 13px;
    line-height: 1.9;
  }

  /* Related */
  .seo-related-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }

  .seo-related-card-image {
    height: 200px;
  }

  .seo-related-card-content {
    padding: 20px;
  }

  .seo-related-card h3 {
    font-size: 14px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  /* さらに小さい画面用 */
  .seo-heritage-section,
  .seo-brands-section,
  .seo-materials-section,
  .seo-placement-section,
  .seo-display-section,
  .seo-faq-section,
  .seo-related-section {
    padding: 40px 12px;
  }

  .seo-section-title h2 {
    font-size: 28px;
  }

  .seo-heritage-text p {
    font-size: 13px;
    line-height: 1.9;
  }

  /* Materials: 1カラム */
  .seo-materials-grid {
    grid-template-columns: 1fr;
  }

  /* Brands: 保持2カラム但し縮小 */
  .seo-brand-card .brand-logo img,
  .seo-brand-card .seo-brand-logo img {
    max-height: 35px;
    max-width: 100px;
  }

  .seo-brand-card .brand-summary,
  .seo-brand-card .seo-brand-content>p {
    font-size: 10px;
  }

  /* Display tip 更に縮小 */
  .seo-display-tip {
    padding: 20px 15px;
  }

  /* FAQ */
  .seo-faq-question {
    padding: 15px 40px 15px 15px;
    font-size: 12px;
  }

  .seo-faq-answer {
    padding: 15px;
    font-size: 12px;
  }

  /* Placement */
  .seo-placement-card .seo-placement-content {
    padding: 15px 0;
  }

  .seo-placement-card h3 {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .seo-placement-card p {
    font-size: 11px;
  }
}

/* ----------------------------------------
   Brands セクション - シングルブランド（ヒーロー型）
   1ブランドの場合に使用
   ---------------------------------------- */
.seo-brands-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 50px auto 0;
  border: 1px solid #e5e5e5;
}

/* Fallback for generated HTML that places a card directly inside the single-brand wrapper */
.seo-brands-single>.seo-brand-card {
  grid-column: 1 / -1;
  width: 100%;
  aspect-ratio: auto;
  border: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
}

.seo-brands-single .brand-logo,
.seo-brands-single .seo-brand-logo,
.seo-brands-single>.seo-brand-card .brand-logo,
.seo-brands-single>.seo-brand-card .seo-brand-logo {
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-right: 1px solid #e5e5e5;
}

.seo-brands-single .brand-logo img,
.seo-brands-single .seo-brand-logo img,
.seo-brands-single>.seo-brand-card .brand-logo img,
.seo-brands-single>.seo-brand-card .seo-brand-logo img {
  max-width: 250px;
  max-height: 120px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Explicitly target brand text fields to align them together on the right */
.seo-brands-single .brand-summary,
.seo-brands-single .seo-brand-content h3,
.seo-brands-single .seo-brand-content span,
.seo-brands-single .seo-brand-content p,
.seo-brands-single>.seo-brand-card .seo-brand-content>* {
  text-align: left;
  margin: 0;
  padding: 0;
}

.seo-brands-single .seo-brand-content>p {
  color: #555;
  font-size: 14px;
  line-height: 2;
}

.seo-brands-single .seo-brand-content,
.seo-brands-single>.seo-brand-card .seo-brand-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  padding: 50px;
  background: #fafafa;
}

.seo-brands-single .brand-image {
  position: relative;
  overflow: hidden;
}

.seo-brands-single .brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}



.seo-brands-single .brand-logo {
  margin-bottom: 25px;
}

.seo-brands-single .brand-logo img {
  max-height: 60px;
  max-width: 200px;
  width: auto;
}

.seo-brands-single .brand-description {
  font-size: 14px;
  line-height: 2;
  color: #555;
  margin-bottom: 25px;
}

.seo-brands-single .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #BB6767;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.seo-brands-single .brand-link:hover::after {
  transform: translateX(4px);
}

.seo-brands-single .brand-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

/* ----------------------------------------
   Brands セクション - マルチブランド（グリッド型）
   2〜6ブランドの場合に使用
   ---------------------------------------- */
.seo-brands-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 550px;
}

.seo-brands-grid.cols-2 .seo-brand-card {
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none;
}

.seo-brands-grid.cols-2 .seo-brand-card .brand-logo img,
.seo-brands-grid.cols-2 .seo-brand-card .seo-brand-logo img {
  max-width: 200px;
  max-height: 80px;
}

.seo-brands-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 825px;
}

/* cols-4 はデフォルト（既存CSS: repeat(4, 1fr)） */

.seo-brands-grid.cols-5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 825px;
  border: none;
}

.seo-brands-grid.cols-5 .seo-brand-card {
  width: calc(33.333% - 1px);
  border: 1px solid #e5e5e5;
  margin: -0.5px;
}

.seo-brands-grid.cols-6 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 825px;
}

/* ----------------------------------------
   Brands セクション - レスポンシブ追加
   ---------------------------------------- */
@media (max-width: 767px) {
  .seo-brands-single,
  .seo-brands-single>.seo-brand-card {
    grid-template-columns: 1fr;
  }

  .seo-brands-single .brand-logo,
  .seo-brands-single .seo-brand-logo,
  .seo-brands-single>.seo-brand-card .brand-logo,
  .seo-brands-single>.seo-brand-card .seo-brand-logo {
    padding: 30px 20px;
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
  }

  .seo-brands-single .brand-content,
  .seo-brands-single .seo-brand-content,
  .seo-brands-single>.seo-brand-card .seo-brand-content {
    padding: 25px 20px;
  }

  .seo-brands-single .seo-brand-content>p {
    font-size: 13px;
    line-height: 1.9;
  }

  .seo-brands-single .brand-description {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 20px;
  }

  .seo-brands-grid.cols-2,
  .seo-brands-grid.cols-3,
  .seo-brands-grid.cols-5,
  .seo-brands-grid.cols-6 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .seo-brands-grid.cols-5 {
    display: grid;
  }

  .seo-brands-grid.cols-5 .seo-brand-card {
    width: auto;
  }
}

@media (max-width: 480px) {
  .seo-brands-single .brand-content,
  .seo-brands-single .seo-brand-content,
  .seo-brands-single>.seo-brand-card .seo-brand-content {
    padding: 20px 15px;
  }

  .seo-brands-single .seo-brand-content>p,
  .seo-brands-single .brand-description {
    font-size: 12px;
  }

  .seo-brands-single .brand-logo img,
  .seo-brands-single .seo-brand-logo img {
    max-width: 180px;
    max-height: 80px;
  }
}