/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* .document{
    padding: 50px clamp(20px, 8%, 8%);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    width: 100%;
    gap: 30px;
}
.document header,
.document section,
.document footer{
    padding: 0;
    margin: 0;
}
.document header > *,
.document section > *,
.document footer > *{
    margin: 10px 0;
}
.document h1{
    font-size: 30px;
}
.document img{
    margin: auto;
    max-width: 500px;
    width: 100%;
}
.document ul,
.document ol{
    margin-left: 30px;
}
.document hr{
    width: 100%;
}
.document a{
    color: #b74c00;
}
    
.document table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.document table th, .document table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.document table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.document table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.document table tr:hover {
    background-color: #f1f1f1;
} */


/* Container for the entire document */
section.document{
    padding: 50px 50px;
    margin: 50px clamp(20px, 8%, 8%);
    background-color: #fff;
    border-radius: 8px;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
} 
.document {
    line-height: 1.6;
    color: #434356;
    padding: 20px;
}

.document header {
    position: relative;
    padding: 200px 30px 5px 30px;
    margin: 0 0 20px 0;
    color: #ffffff !important;
    background: -webkit-gradient(linear, left bottom, left top, from(#000000), to(#00000000));
    background: -o-linear-gradient(bottom, #000000, #00000000);
    background: linear-gradient(0deg, #000000, #00000000);
    border-radius: 8px;
}

.document header h1{
    color: #ffffff !important;
}

.document header img {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    -o-object-fit: cover;
       object-fit: cover;
    z-index: -1;
    margin: 0;
}

.document section {
    padding: 20px 0 20px 0;
    margin: 0;
}

.document footer {
    margin: 20px 0 0 0;
    background-color: #f4f4f4;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-top: 2rem;
    border-radius: 8px;
}

.document hr{
    border: 0;
    border-top: 2px solid #ddd;
}

/* Title Styles */
.document h1,
.document h2,
.document h3,
.document h4,
.document h5,
.document h6 {
    color: #334162;
}

.document h1 {
    color: #213564;
    font-size: 2.7rem;
    line-height: 3.7rem;
    margin-top: 0;
}

.document h2 {
    font-size: 2rem;
    margin-top: 1.5rem;
}

.document h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

/* Paragraph Styles */
.document p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    text-align: justify;
}
.document footer p{
    margin-bottom: 0;
}

/* List Styles */
.document ul,
.document ol {
    margin: 1rem 0;
    padding-left: 20px;
}

.document ul li,
.document ol li {
    margin-bottom: 0.8rem;
}

/* Blockquote Styles */
.document blockquote {
    font-style: italic;
    color: #666;
    background-color: #f9f9f9;
    border-left: 4px solid #ddd;
    padding: 10px 20px;
    margin: 1.5rem 0;
}

.document blockquote p {
    margin: 0;
}

/* Image Styles */
.document img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
    border-radius: 8px;
}

/* Table Styling for Legal Documents */
.document table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.document table th,
.document table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.document table th {
    background-color: #f9f9f9;
    color: #213564;
    font-weight: bold;
}

.document table tr:hover {
    background-color: #f1f1f1;
}

/* Code Block Styles */
.document pre {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: auto;
    white-space: pre-wrap;
}

.document code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f4f4f4;
    padding: 2px 5px;
    border-radius: 3px;
}

/* Video Embeds */
.document iframe {
    width: 100%;
    height: 400px;
    border: none;
    margin: 1.5rem 0;
    border-radius: 8px;
}

/* Link Styling */
.document a {
    color: #007bff;
    text-decoration: none;
}

.document a:hover {
    text-decoration: underline;
}


@media (max-width: 600px) {
    .document header {
        position: relative;
        padding: 0;
        margin: 0 0 20px 0;
        color: #213564 !important;
        background: 0;
        border-radius: 0px;
        border-bottom: 2px solid #ddd;
    }
    
    .document header h1{
        color: #213564  !important;
    }
    
    .document header img {
        max-height: 150px;
        position: relative;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    /* Further fine-tune for very small devices (phones) */
    .document {
      width: 100%;
      padding: 10px;
    }

    .document h1 {
      font-size: 1.75rem;
      line-height: 2.55rem;;
    }

    .document h2 {
      font-size: 1.5rem;
    }

    .document h3 {
      font-size: 1.2rem;
    }

    .document p {
      font-size: 0.9rem;
    }

    .document footer {
      font-size: 0.7rem;
      padding: 6px;
    }

    .document iframe {
      height: 200px;
    }
  }