.simple-page-main {
  width: 100%;
  padding-top: 91px;
  background: #fff;
}

.simple-hero {
  width: min(100%, var(--hdsf-max));
  margin: 0 auto;
  padding: 96px 0 64px;
  color: var(--hdsf-navy);
  text-align: center;
}

.simple-hero span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--hdsf-red);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.simple-hero h1 {
  max-width: 920px;
  margin: 0 auto 16px;
  color: var(--hdsf-black);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.simple-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: #525252;
  font-size: 18px;
  line-height: 1.6;
}

.legal-shell,
.blog-article {
  width: min(100%, var(--hdsf-max));
  margin: 0 auto;
}

.faq-shell {
  width: 100%;
  padding: 64px 370px 150px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-sizing: border-box;
  background: #fff;
}

.faq-shell-title {
  margin: 0;
  color: #0a0d09;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
}

.faq-groups {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.faq-group {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.faq-item:last-child {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  color: #111827;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23111827' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.faq-item[open] summary i {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14' stroke='%23111827' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.faq-item p {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.16px;
}

.contact-shell {
  width: 100%;
  padding: 64px 370px 150px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: #fff;
  box-sizing: border-box;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-title {
  margin: 0;
  color: #0a0d09;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
}

.contact-description {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.4;
}

.contact-description p {
  margin: 0 0 16px;
}

.contact-description p:last-child {
  margin-bottom: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field label {
  color: #4b5563;
  font-size: 14px;
  font-weight: 400;
}

.contact-required {
  color: red;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  padding: 16px;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 12px;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-submit {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: #ff0000;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.4;
}

.legal-shell {
  max-width: 996px;
  padding: 16px 0 120px;
}

.legal-shell article {
  padding: 32px 0;
  border-top: 1px solid var(--hdsf-border);
}

.legal-shell article:last-child {
  border-bottom: 1px solid var(--hdsf-border);
}

.legal-shell h2 {
  margin: 0 0 12px;
  color: var(--hdsf-black);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.legal-shell p {
  margin: 0;
  color: #525252;
  font-size: 18px;
  line-height: 1.75;
}

/* ── Blog page hero ─────────────────────────────── */
.blog-page-hero {
  width: min(100%, var(--hdsf-max));
  margin: 0 auto;
  padding: 64px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.blog-page-title {
  margin: 0;
  color: var(--hdsf-black);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
}

.blog-sort-form {
  display: flex;
  align-items: center;
}

.blog-sort-select {
  padding: 8px 44px 8px 16px;
  border: none;
  border-radius: 0;
  background: #f9f7f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%2328303F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 10px center/24px no-repeat;
  color: #4b5563;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.48px;
  line-height: 1.4;
  appearance: none;
  cursor: pointer;
  width: 300px;
  height: 40px;
  outline: none;
}

/* ── Blog listing grid ──────────────────────────── */
.blog-listing-grid {
  width: min(100%, var(--hdsf-max));
  margin: 0 auto;
  padding: 40px 0 120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-listing-card {
  overflow: hidden;
  border: 1px solid var(--hdsf-border);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.blog-listing-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.blog-listing-media {
  display: block;
  position: relative;
  height: 209px;
  overflow: hidden;
  background: #efefef;
}

.blog-listing-media img,
.blog-article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-listing-card time,
.blog-article-header time {
  display: block;
  color: #4b5563;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.14px;
}

.blog-listing-card h2 {
  margin: 8px 0 0;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-listing-card h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-listing-card h2 a:hover {
  text-decoration: underline;
}

.blog-listing-card p {
  margin: 8px 0 0;
  color: #4b5563;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.14px;
  flex: 1;
}

.blog-article-content p {
  color: #525252;
  font-size: 16px;
  line-height: 1.7;
}

.read-more-link,
.read-more-link:visited {
  display: inline-block;
  margin-top: 16px;
  color: var(--hdsf-red) !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16px;
  text-decoration: underline;
  text-decoration-color: var(--hdsf-red);
  text-underline-offset: 3px;
}

.read-more-link:hover {
  opacity: 0.8;
}


/* ── Blog pagination ────────────────────────────── */
.blog-pagination {
  width: min(100%, var(--hdsf-max));
  margin: 40px auto 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.blog-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid var(--hdsf-border);
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.blog-page-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.blog-page-btn.is-active {
  background: var(--hdsf-red);
  border-color: var(--hdsf-red);
  color: #fff;
}

/* ── Blog detail page ───────────────────────────── */
.blog-detail-shell {
  width: 100%;
  padding: 64px 370px 150px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-sizing: border-box;
}

.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.4;
}

.blog-breadcrumb a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-breadcrumb svg {
  flex: 0 0 auto;
  color: #9ca3af;
}

.blog-breadcrumb span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.blog-detail-title {
  margin: 0;
  color: #111827;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
}

.blog-detail-hero {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #efefef;
}

.blog-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-detail-content p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.16px;
}

.blog-detail-content h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.blog-detail-content h3 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.blog-detail-content h4 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.blog-detail-content strong,
.blog-detail-content b {
  font-weight: 700;
  color: #111827;
}

.blog-detail-content em,
.blog-detail-content i {
  font-style: italic;
}

body.hdsf-home .blog-detail-content a,
body.hdsf-home .blog-detail-content a:visited,
body.hdsf-home .blog-detail-content a:link,
body.hdsf-home .blog-detail-content a *,
body.hdsf-home .blog-detail-content a:visited * {
  color: #2563eb !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

body.hdsf-home .blog-detail-content a:hover,
body.hdsf-home .blog-detail-content a:hover * {
  color: #1d4ed8 !important;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin: 0;
  padding-left: 24px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.4;
}

.blog-detail-content li {
  margin-bottom: 8px;
}

.blog-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.blog-detail-content figure {
  margin: 0;
}

.blog-detail-content figcaption {
  margin-top: 8px;
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.blog-article-content p {
  margin: 0 0 24px;
  font-size: 18px;
}

@media (max-width: 1100px) {
  .simple-hero,
  .legal-shell,
  .blog-page-hero,
  .blog-listing-grid,
  .blog-pagination {
    width: auto;
    margin-left: 40px;
    margin-right: 40px;
  }

  .faq-shell,
  .contact-shell,
  .blog-detail-shell {
    padding-left: 80px;
    padding-right: 80px;
  }

  .blog-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .simple-page-main {
    padding-top: 56px;
  }

  .simple-hero {
    margin-left: 16px;
    margin-right: 16px;
    padding: 56px 0 40px;
    text-align: left;
  }

  .simple-hero h1 {
    font-size: 36px;
    line-height: 1.16;
  }

  .blog-detail-title {
    font-size: 20px;
  }

  .blog-detail-content p,
  .blog-detail-content ul,
  .blog-detail-content ol {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .blog-detail-content h2 {
    font-size: 18px;
  }

  .blog-detail-content h3 {
    font-size: 16px;
  }

  .blog-detail-content h4 {
    font-size: 15px;
  }

  .blog-breadcrumb {
    font-size: 12px;
  }

  .simple-hero p {
    font-size: 16px;
  }

  .legal-shell,
  .blog-page-hero,
  .blog-listing-grid,
  .blog-pagination {
    margin-left: 16px;
    margin-right: 16px;
  }

  .blog-detail-shell {
    padding: 32px 16px 80px;
    gap: 16px;
  }

  .faq-shell {
    padding: 32px 16px 120px;
    gap: 24px;
  }

  .faq-shell-title {
    font-size: 24px;
  }

  .faq-groups {
    gap: 64px;
  }

  .faq-item summary {
    font-size: 16px;
    padding: 16px 0;
  }

  .faq-item p {
    font-size: 14px;
    letter-spacing: 0.14px;
    margin-bottom: 16px;
  }

  .legal-shell {
    padding-bottom: 64px;
  }

  .blog-page-hero {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .blog-page-title {
    font-size: 20px;
  }

  .blog-sort-select {
    width: 160px;
    font-size: 16px;
    letter-spacing: -0.48px;
    padding: 8px 44px 8px 16px;
  }

  .blog-pagination {
    margin-bottom: 80px;
  }

  .blog-listing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 24px;
    padding-bottom: 80px;
  }

  .contact-shell {
    padding: 32px 16px 80px;
    gap: 32px;
  }

  .contact-title {
    font-size: 24px;
  }

  .contact-description {
    font-size: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px 16px;
  }

  .contact-form textarea {
    height: 100px;
  }

  .contact-submit {
    font-size: 14px;
  }

  .legal-shell article {
    padding: 24px 0;
  }

  .legal-shell h2 {
    font-size: 22px;
  }

  .legal-shell p {
    font-size: 16px;
  }


}
