/* Privacy policy & terms section of the home page (aqar_website/home.blade.php).
   Loaded through brandedCss(), so #2B6370 becomes the Branding Settings primary color. */
#legal { padding: 70px 0; background: #f7f8fa; }
#legal .heading-title span:after { background-color: #2B6370; opacity: .25; height: 4px; bottom: -8px; }
#legal .legal-card { background: #fff; border-radius: 16px; padding: 28px; height: calc(100% - 64px); display: flex; flex-direction: column;
    box-shadow: 0 6px 24px rgba(16, 24, 40, .06); border: 1px solid rgba(16, 24, 40, .04); }
.legal-icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: #2B6370; color: #fff; font-size: 18px; }
#legal .legal-card h5 { color: #1f2937; }
#legal .legal-excerpt { color: #6b7280; line-height: 2; font-size: 15px; margin-bottom: 24px; flex: 1; max-height: 6em; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent); mask-image: linear-gradient(to bottom, #000 45%, transparent); }
.legal-btn { background: #2B6370; color: #fff; border-radius: 10px; padding: 10px 26px; font-weight: 700; align-self: flex-start; }
.legal-btn:hover, .legal-btn:focus { background: #2B6370; color: #fff; filter: brightness(.9); }
.legal-modal .modal-content { border: 0; border-radius: 16px; }
.legal-modal .modal-header { border-bottom: 1px solid #eef0f3; padding: 18px 24px; }
.legal-modal .modal-body { padding: 24px 28px; }
.legal-modal .modal-footer { border-top: 1px solid #eef0f3; }
.legal-content { color: #374151; line-height: 1.95; font-size: 15.5px; }
.legal-content h1, .legal-content h2, .legal-content h3, .legal-content h4 { color: #2B6370; font-weight: 700; margin: 26px 0 10px; }
.legal-content h1 { font-size: 1.5rem; } .legal-content h2 { font-size: 1.2rem; } .legal-content h3, .legal-content h4 { font-size: 1.05rem; }
.legal-content > :first-child { margin-top: 0; }
.legal-content p { margin-bottom: 12px; }
.legal-content ul, .legal-content ol { padding-inline-start: 22px; margin-bottom: 14px; }
.legal-content ul { list-style: disc; } .legal-content ol { list-style: decimal; }
.legal-content li { line-height: 1.9; }
.legal-content li { margin-bottom: 6px; }
.legal-content li::marker { color: #2B6370; }
.legal-content a { color: #2B6370; text-decoration: underline; }
.legal-content blockquote { border-inline-start: 4px solid #2B6370; background: #f7f8fa; padding: 10px 16px; border-radius: 8px; margin: 12px 0; }
.legal-content .ql-align-center { text-align: center; } .legal-content .ql-align-right { text-align: right; }
.legal-content .ql-align-left { text-align: left; } .legal-content .ql-align-justify { text-align: justify; }
.legal-content .ql-direction-rtl { direction: rtl; } .legal-content .ql-indent-1 { padding-inline-start: 2em; }
.legal-content .ql-indent-2 { padding-inline-start: 4em; } .legal-content .ql-indent-3 { padding-inline-start: 6em; }
@media (max-width: 575px) {
    #legal { padding: 48px 0; }
    #legal .legal-card { padding: 22px; }
    .legal-modal .modal-body { padding: 18px; }
}
