/**
 * AMD EPYC storefront — layout fixes (packages subgrid, FAQ, lower sections).
 * Loaded only on pages/amd-epyc-sunucu.
 */
.dbd-epyc {
  --epyc-orange: #ff8c00;
  --epyc-orange-dark: #ea580c;
  --epyc-ink: #0f172a;
  --epyc-muted: #64748b;
  overflow-x: clip;
}

.dbd-epyc .dbd-epyc__hero-img {
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

@media (max-width: 767.98px) {
  .dbd-epyc .dbd-epyc__hero-img {
    max-width: 160px;
  }
}

/* ---------- Packages: horizontal server rows (not full-bleed hosting cards) ---------- */
.dbd-epyc .dbd-epyc-packages.vps-table-wrap {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(40px, 6vw, 72px);
  overflow: visible;
}

.dbd-epyc .dbd-epyc-packages .section-title {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.dbd-epyc .dbd-epyc-packages .vps-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.75rem;
}

.dbd-epyc .dbd-epyc-packages .vps-table-subhead {
  margin: 0 0 10px;
  padding: 0 4px;
}

.dbd-epyc .dbd-epyc-packages .vps-table-subhead span {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--epyc-orange-dark);
}

.dbd-epyc .dbd-epyc-packages .vps-table-head,
.dbd-epyc .dbd-epyc-packages .vps-table-body {
  min-width: 960px;
}

.dbd-epyc .dbd-epyc-packages .vps-table-head {
  border-radius: 12px;
  background: #f8faff;
}

.dbd-epyc .dbd-epyc-packages .vps-table-item {
  align-items: stretch;
  border-radius: 12px;
  margin-bottom: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dbd-epyc .dbd-epyc-packages .vps-table-item:hover {
  border-color: #fdba74;
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.08);
}

.dbd-epyc .dbd-epyc-packages .vps-table-item .cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 0;
  padding: 8px 6px;
}

.dbd-epyc .dbd-epyc-packages .vps-table-item .cell:first-child {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
}

.dbd-epyc .dbd-epyc-packages .vps-table-item .cell a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--epyc-orange);
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.dbd-epyc .dbd-epyc-packages .vps-table-item .cell a:hover {
  background: var(--epyc-orange-dark);
}

.dbd-epyc .dbd-epyc-packages .vps-table-item .cell .badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  font-size: 11px;
  font-weight: 800;
}

.dbd-epyc .dbd-epyc__compare {
  margin: 0.5rem 0 0;
  text-align: center;
}

.dbd-epyc .dbd-epyc__compare a {
  font-weight: 700;
  color: var(--epyc-orange-dark);
  text-decoration: none;
}

.dbd-epyc .dbd-epyc__compare a:hover {
  text-decoration: underline;
}

/* ---------- Trust / support ---------- */
.dbd-epyc .lh-trust-bar {
  padding: clamp(28px, 4vw, 48px) 0;
}

.dbd-epyc .lh-support-bar {
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Why / features (containment) ---------- */
.dbd-epyc .dodo-web-why,
.dbd-epyc .dodo-web-features,
.dbd-epyc .lh-solutions,
.dbd-epyc .lh-other-products,
.dbd-epyc .faq-wrapper,
.dbd-epyc .page-blog {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.dbd-epyc .dodo-web-features__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.dbd-epyc .dodo-web-features__cards {
  margin-bottom: 0;
}

/* Use-cases: no mock visual → single column (avoid empty half-grid) */
.dbd-epyc .lh-solutions {
  padding: clamp(48px, 6vw, 72px) 0;
}

.dbd-epyc .lh-solutions__head {
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 28px;
}

.dbd-epyc .lh-perf {
  display: block !important;
  grid-template-columns: none !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}

.dbd-epyc .lh-perf__content {
  max-width: 920px !important;
  margin: 0 auto;
}

.dbd-epyc .lh-perf__features {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

@media (min-width: 768px) {
  .dbd-epyc .lh-perf__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dbd-epyc .lh-perf__feature {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 14px;
  min-width: 0;
}

.dbd-epyc .lh-perf__feature p {
  margin: 6px 0 0;
}

/* Related products */
.dbd-epyc .lh-op-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .dbd-epyc .lh-op-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .dbd-epyc .lh-op-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dbd-epyc .lh-op-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 14px;
  padding: 18px 16px;
  min-width: 0;
  height: 100%;
}

.dbd-epyc .lh-op-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.dbd-epyc .lh-op-card h3 a {
  color: var(--epyc-ink);
  text-decoration: none;
}

.dbd-epyc .lh-op-card h3 a:hover {
  color: var(--epyc-orange-dark);
}

.dbd-epyc .lh-op-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--epyc-muted);
}

/* ---------- FAQ (was scoped only to .linux-hosting-page) ---------- */
.dbd-epyc .faq-wrapper {
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(180deg, #fff 0%, #f8faff 50%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.dbd-epyc .faq-wrapper .section-title {
  margin-bottom: 28px;
}

.dbd-epyc .faq-wrapper .section-title span {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--epyc-orange-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.dbd-epyc .faq-wrapper .section-title .title {
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  font-weight: 800;
  color: #1e3c72;
  line-height: 1.25;
  margin: 0 0 12px;
}

.dbd-epyc .faq-wrapper .section-title p {
  color: #4b5674;
  line-height: 1.65;
  margin-bottom: 16px;
}

.dbd-epyc .faq-wrapper .section-title a {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--epyc-orange-dark);
  text-decoration: none;
}

.dbd-epyc .faq-wrapper .section-title a:hover {
  text-decoration: underline;
}

.dbd-epyc .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dbd-epyc .faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dbd-epyc .faq-item:hover,
.dbd-epyc .faq-item.active {
  border-color: #fdba74;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.08);
}

.dbd-epyc .faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
}

.dbd-epyc .faq-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--epyc-ink);
  line-height: 1.4;
}

.dbd-epyc .faq-head span {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  position: relative;
}

.dbd-epyc .faq-head span::before,
.dbd-epyc .faq-head span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--epyc-orange-dark);
  transform: translate(-50%, -50%);
}

.dbd-epyc .faq-head span::before {
  width: 12px;
  height: 2px;
}

.dbd-epyc .faq-head span::after {
  width: 2px;
  height: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dbd-epyc .faq-item.active .faq-head span::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.dbd-epyc .faq-body {
  display: none;
  padding: 0 18px 16px;
  color: #475569;
  line-height: 1.65;
  font-size: 0.95rem;
}

.dbd-epyc .faq-item.active .faq-body {
  display: block;
}

.dbd-epyc .faq-body p {
  margin: 0;
}

.dbd-epyc .faq-body a {
  color: var(--epyc-orange-dark);
  font-weight: 600;
}

/* ---------- SEO guide ---------- */
.dbd-epyc .page-blog.dodo-web-info {
  padding: clamp(40px, 6vw, 72px) 0;
  background: #fff;
}

.dbd-epyc .page-blog .blog-text {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: clamp(22px, 3vw, 36px);
}

.dbd-epyc .page-blog .blog-text span {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--epyc-orange-dark);
  margin-bottom: 10px;
}

.dbd-epyc .page-blog .blog-text h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--epyc-ink);
  line-height: 1.3;
}

.dbd-epyc .page-blog .blog-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #475569;
}

.dbd-epyc .page-blog .blog-text a {
  color: var(--epyc-orange-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Internal links hub */
.dbd-epyc + .dodo-seo-hub,
.dbd-epyc .dodo-seo-hub {
  margin-top: 0;
}

@media (max-width: 767.98px) {
  .dbd-epyc .faq-wrapper .section-title .title {
    font-size: 1.4rem;
  }
}
