/*
* Terms & Conditions page ("terms-page"), moved unchanged from its Code module.
 * The download button icon (was inline SVG) is drawn with ::before below.
 */
.terms-page {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem 3rem 1.5rem;
    line-height: 1.6;
  }

  .terms-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 2px solid #e2e6e5;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
  }

  .terms-header h1 {
    font-size: 1.9rem;
    margin: 0 0 0.4rem 0;
  }

  .terms-header .terms-meta {
    font-size: 0.9rem;
    margin: 0;
  }

  .download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #74A333;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 0.7rem 1.4rem;
    border-radius: 0;
    white-space: nowrap;
    transition: background 0.2s ease;
  }

  .download-button:hover {
    background: #5e8528;
  }

  .terms-page h2 {
    font-size: 1.15rem;
    margin: 2rem 0 0.75rem 0;
  }

  .terms-page h3 {
    font-size: 1.3rem;
    margin: 2.5rem 0 1rem 0;
    border-top: 1px solid #e2e6e5;
    padding-top: 2rem;
  }

  .terms-page p {
    margin: 0 0 1rem 0;
    font-size: 0.97rem;
  }

  .terms-page ul,
  .et_pb_text .terms-page ul { /* beats Divi's Text-module list padding */
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
  }

  .terms-page li {
    margin-bottom: 0.6rem;
    font-size: 0.97rem;
  }

  .seller-block {
    border-left: 4px solid #74A333;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
  }

  .seller-block p {
    margin: 0;
  }

.download-button::before {
	content: "";
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M14.17 5L19 9.83V19H5V5H14.17ZM14.17 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V9.83C21 9.3 20.79 8.79 20.41 8.42L15.58 3.59C15.21 3.21 14.7 3 14.17 3ZM7 15H17V17H7V15ZM7 11H17V13H7V11ZM7 7H14V9H7V7Z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* The download button sits in its own paragraph in the Text module; no extra space. */
.terms-header > p.terms-download {
	margin: 0;
	padding: 0;
}
