/* Privacy/legal "policy" content styles for the movieads.io storefront.
   Ported verbatim from the retired WordPress site (Elementor custom CSS
   on the Privacy Policy page, post-1452). Uses native CSS nesting.
   Pair with a .policy-container wrapper; loaded via @push('head'). */
.policy-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    @media (max-width: 600px) {
      padding: 24px 16px 60px;
    }

    /* Base typography the old WordPress theme provided as defaults but
       Tailwind's preflight reset strips: paragraph rhythm, list markers,
       link color, heading weight. Scoped restore so legal pages match
       the old site. */
    p {
      margin: 0 0 16px;
    }

    a {
      color: #252525;
      text-decoration: underline;

      &:hover {
        text-decoration: underline;
      }
    }

    ol {
      list-style: decimal;
    }

    ul {
      list-style: disc;
    }

    h2,
    h3 {
      font-weight: 700;
      color: #252525;
    }

    h4 {
      font-size: 1.2rem;
      font-weight: 700;
      color: #D17300;
      margin: 24px 0 8px;
    }

    .toc {
      margin-top: 32px;
    }

    .toc {
      background-color: #F5F6FA;
      border: 1px solid #DEE2E6;
      border-radius: 8px;
      padding: 24px 32px;
      margin-bottom: 40px;

      h2 {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 12px;
        border-bottom: 0;
        padding-bottom: 0;
      }

      ol {
        padding-left: 20px;
      }

      li {
        margin-bottom: 6px;
      }

      a {
        text-decoration: none;
        font-size: 0.95rem;

        &:hover {
          text-decoration: underline;
        }
      }
    }

    section {
      margin-bottom: 36px;

      h2 {
        font-size: 1.5rem;
        margin-bottom: 16px;
        padding-top: 12px;
        border-bottom: 3px solid #FE8C00;
        padding-bottom: 8px;
      }

      h3 {
        font-size: 1.15rem;
        margin: 20px 0 10px;
      }

      ul,
      ol {
        margin: 10px 0 16px 24px;
      }

      li {
        margin-bottom: 6px;
      }

      table {
        width: 100%;
        border-collapse: collapse;
        margin: 16px 0 24px;
        font-size: 0.93rem;

        th,
        td {
          border: 1px solid #DEE2E6;
          padding: 12px 14px;
          text-align: left;
        }

        th {
          background: #FE8C00;
          font-weight: 600;
          color: #fff;
        }
      }

      .highlight-box {
        background-color: #F5F6FA;
        border-left: 5px solid #FE8C00;
        padding: 16px 20px;
        margin: 20px 0;
        border-radius: 0 6px 6px 0;
        font-size: 0.95rem;
      }

      .contact-box {
        background-color: #F5F6FA;
        border: 1px solid #DEE2E6;
        border-radius: 8px;
        padding: 24px;
        margin-top: 20px;

        p {
          margin-bottom: 4px;
        }
      }

      .back-to-top {
        display: inline-block;
        font-size: 0.85rem;
        color: #888888;
        text-decoration: none;
        margin-top: 8px;

        &:hover {
          color: #252525;
        }
      }
    }
  }
}
