html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html,
body {
    font-family: var(--fontmef1);
    line-height: 1.8;
}

a {
    color: var(--primarycolor);
    text-decoration: none;
    font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--fontmef2);
    margin: 1rem 0;
    color: var(--primarycolor);
    text-transform: capitalize;
    line-height: 1.6;
}

embed,
iframe,
object {
    margin: 0.5rem auto;
    max-width: 100%;
    width: 100%;
    display: block;
}

input,
select,
textarea,
button {
    border: 1px solid #ccc;
    outline: none;
    width: auto;
    font-weight: bold;
}

button {
    background-color: var(--primarycolor);
    color: #fff;
}

textarea {
    overflow: auto;
}

select,
textarea {
    width: auto;
    height: auto;
    max-width: 100%;
    background: transparent
}

input[type="radio"] {
    cursor: pointer;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid currentColor;
    border-radius: 50%;
}

ul>li {
    list-style-type: square;
}

ul li::marker {
    color: var(--primarycolor);
}

ol>li {
    list-style: decimal;
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    table-layout: fixed;
    margin: 1em auto;
    overflow-x: auto;
    border-collapse: collapse;
}

table td,
table th {
    word-wrap: break-word;
    padding: 8px 16px;
}

table tr {
    border-bottom: 1px solid var(--primarycolor);
}

table td {
    vertical-align: top;
}

table th {
    color: white;
    background-color: var(--primarycolor);
    font-weight: 600;
    vertical-align: middle;
}

.post-content p,.post-content div{
    text-align: justify;
    word-spacing: 0.5px;
    letter-spacing: 0.5px;
}

.swiper {
    background-color: var(--primarycolor);
    padding: 16px !important;
}

.swiper-slide figure {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 80%;
    aspect-ratio: 1 / 1;
    background: #fff;
}

.swiper-slide figure img {
    width: 100px;     
    height: 100px;   
    object-fit: contain;
    display: block;
}

.swiper-button-next,
.swiper-button-prev {
    width: 32px !important;
    height: 32px !important;
    background: var(--primarycolor);
    border: 1px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    color: #fff;
    font-size: 20px !important;
    font-weight: bold;
}

@media print {
    * {
        overflow: hidden;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .container {
        max-width: 100%;
    }

    .container,
    .card,
    .card-body {
        margin: 0;
        padding: 0;
        border: none;
    }

    .main-sidebar,
    #bottom-nav,
    footer {
        display: none;
    }

    table,
    img,
    .card,
    .card-container,
    frame,
    embed,
    .widget {
        break-inside: avoid;
        display: block;
    }

    @page {
        size: A4;
        margin: 1in 0.5in;
    }
}