/* =========================================================
   DREVOSPOJ.SK — GLOBÁLNY OBSAHOVÝ ŠTÝL
   Použitie: blogové články aj spodné produktové popisy
   ========================================================= */

.ds-article {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  color: #303030;
  line-height: 1.7;
  font-size: 16px;
}

.ds-article *,
.ds-article *::before,
.ds-article *::after {
  box-sizing: border-box;
}

.ds-article h1,
.ds-article h2,
.ds-article h3 {
  color: #1f1f1f;
  line-height: 1.25;
  margin-top: 34px;
  margin-bottom: 14px;
}

.ds-article h1 {
  font-size: 36px;
}

.ds-article h2 {
  font-size: 28px;
  border-bottom: 2px solid #f2f2f2;
  padding-bottom: 8px;
}

.ds-article h3 {
  font-size: 22px;
}

.ds-article p {
  margin: 0 0 18px;
}

.ds-article ul,
.ds-article ol {
  margin: 0 0 18px 22px;
  padding: 0;
}

.ds-article li {
  margin-bottom: 10px;
}

.ds-article a,
.ds-article a:visited,
.ds-article a:hover {
  color: #FF7C24;
}

.ds-article .ds-lead {
  font-size: 18px;
  color: #4f4f4f;
}

.ds-article .ds-box {
  background: #faf7f3;
  border-left: 5px solid #FF7C24;
  padding: 18px 20px;
  margin: 24px 0;
}

.ds-article .ds-box h3 {
  margin-top: 0;
}

.ds-article .ds-box p:last-child {
  margin-bottom: 0;
}

.ds-article .ds-note {
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
  padding: 16px 18px;
  margin: 22px 0;
}

.ds-article .ds-note p:last-child,
.ds-article p.ds-note {
  margin-bottom: 22px;
}

.ds-article .ds-cta {
  background: linear-gradient(135deg, #fff7f0 0%, #fff 100%);
  border: 1px solid #ffd9bf;
  padding: 24px;
  margin: 34px 0 10px;
}

.ds-article .ds-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}

.ds-article table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.ds-article th,
.ds-article td {
  border: 1px solid #d9d9d9;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.ds-article th {
  background: #f4f4f4;
  font-weight: 700;
}

.ds-article .ds-center {
  text-align: center;
}

.ds-article .ds-mini {
  font-size: 14px;
  color: #666;
}

.ds-article .ds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}

.ds-article .ds-toc {
  background: #f8f8f8;
  border: 1px solid #ececec;
  padding: 18px 20px;
  margin: 24px 0;
}

.ds-article .ds-toc ul {
  margin-bottom: 0;
}

.ds-article .ds-decision-box {
  background: #fff7f0;
  border: 2px solid #FF7C24;
  padding: 22px;
  margin: 28px 0;
}

.ds-article .ds-decision-box h3 {
  margin-top: 0;
}

.ds-article .ds-schema {
  margin: 28px 0;
  padding: 18px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.ds-article .ds-image {
  margin: 28px 0;
}

.ds-article .ds-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.ds-article .ds-image figcaption {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-top: 8px;
}

.ds-article .btn {
  display: inline-block;
  padding: 10px 14px;
  background: #FF7C24;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  margin: 0 8px 8px 0;
}

.ds-article .btn:hover {
  background: #e96d12;
  text-decoration: none;
}

.ds-article .ds-secondary-links {
  margin-top: 14px;
  font-size: 14px;
  color: #666;
}

.ds-article .ds-faq {
  margin: 28px 0;
}

.ds-article .ds-faq details {
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.ds-article .ds-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 18px;
  font-weight: 700;
  color: #1f1f1f;
  background: #fafafa;
  position: relative;
}

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

.ds-article .ds-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
  color: #FF7C24;
}

.ds-article .ds-faq details[open] summary::after {
  content: "−";
}

.ds-article .ds-faq .ds-faq-answer {
  padding: 16px 18px 18px;
  background: #fff;
}

.ds-article .ds-faq .ds-faq-answer p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   ROZŠÍRENIA PRE PRODUKTOVÉ POPISY
   ========================================================= */

.ds-product-description .ds-kicker {
  display: inline-block;
  margin-bottom: 4px;
  padding: 5px 10px;
  border-radius: 5px;
  background: #303030;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.ds-product-description .ds-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ds-product-description .ds-card {
  padding: 20px;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
}

.ds-product-description .ds-card h3 {
  margin-top: 0;
}

.ds-product-description .ds-card p:last-child,
.ds-product-description .ds-card ul:last-child {
  margin-bottom: 0;
}

.ds-product-description .ds-card--yes {
  border-top: 5px solid #37875b;
}

.ds-product-description .ds-card--no {
  border-top: 5px solid #FF7C24;
}

.ds-product-description .ds-formula {
  margin: 24px 0;
  padding: 20px;
  border-radius: 6px;
  background: #303030;
  color: #fff;
  font-size: 18px;
  text-align: center;
}

.ds-product-description .ds-formula strong {
  color: #ff9a55;
}

.ds-product-description .ds-product-table table {
  min-width: 680px;
}

@media (max-width: 768px) {
  .ds-article .ds-grid,
  .ds-product-description .ds-grid {
    grid-template-columns: 1fr;
  }

  .ds-article h1 {
    font-size: 30px;
  }

  .ds-article h2 {
    font-size: 24px;
  }

  .ds-article h3 {
    font-size: 20px;
  }

  .ds-article {
    font-size: 15px;
  }

  .ds-product-description .ds-formula {
    font-size: 16px;
    text-align: left;
  }
}
