@import url("../font/poppins/poppins.css");

:root {
    --a1-readable-font: "Poppins", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

html,
body,
button,
input,
textarea,
select,
p,
a,
li,
span,
div,
td,
th,
label,
.copyright,
.copyright-p,
.footer-widget,
.footer-widget p,
.footer-widget a,
.address-content,
.address-content p,
.address-content a,
.newsletter-wrapper,
.newsletter-wrapper p,
.contact-info,
.contact-info p,
.contact-info a,
.card-title,
.card-subtitle,
.blog-list-item,
.blog-list-item h4,
.blog-date,
.article-body,
.article-body p,
.meta-info {
    font-family: var(--a1-readable-font) !important;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
p,
li,
.footer-widget p,
.address-content p,
.newsletter-wrapper p,
.article-body p {
    font-weight: 400;
    line-height: 1.65;
}

.footer-widget p,
.footer-widget a,
.address-content p,
.address-content a,
.newsletter-wrapper p,
.contact-info p,
.contact-info a {
    font-size: 16px;
    line-height: 1.7;
}

body,
p,
li,
.article-body p,
.card-subtitle,
.blog-list-item h4,
.meta-info {
    font-size: 16px;
}

.copyright-p,
.blog-date,
small {
    font-size: 14px;
}

.main-menu ul li a,
.mean-container .mean-nav ul li a {
    font-family: var(--a1-readable-font) !important;
    font-weight: 700;
    letter-spacing: 0;
}

.header-area .row {
    align-items: center;
}

.header-area .col-lg-2:last-of-type {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.slider-area .single-slider {
    height: min(41.666vw, 620px) !important;
    min-height: 320px;
    background-size: cover;
    background-position: center center;
}

@media (max-width: 767px) {
    .slider-area .single-slider {
        height: min(56vw, 360px) !important;
        min-height: 200px;
    }
}

/* Blog listing */
.blog-area .row.g-4 {
    row-gap: 42px;
}

.blog-area .row.g-4 > [class*="col-"] {
    display: flex;
}

.blog-area .row.g-4 > [class*="col-"] > a {
    display: flex;
    width: 100%;
    color: inherit;
}

.blog-area .row.g-4 > [class*="col-"] > a:hover {
    text-decoration: none;
}

.blog-area .product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(31, 39, 51, 0.08);
}

.blog-area .card-img-section {
    padding: 10px;
}

.blog-area .building-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    overflow: hidden;
    border-radius: 2px;
    background: #f7f7f7;
}

.blog-area .building-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.blog-area .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 22px 28px;
}

.blog-area .card-title {
    margin-bottom: 10px;
    color: #202734;
    font-size: 22px;
    line-height: 1.32;
}

.blog-area .card-subtitle {
    margin-bottom: 0;
    color: #5f6673;
    line-height: 1.55;
}

@supports (-webkit-line-clamp: 1) {
    .blog-area .card-title,
    .blog-area .card-subtitle {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
    }

    .blog-area .card-title {
        -webkit-line-clamp: 3;
    }

    .blog-area .card-subtitle {
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 767px) {
    .blog-area .row.g-4 {
        row-gap: 28px;
    }

    .blog-area .card-body {
        padding: 20px 18px 24px;
    }

    .blog-area .card-title {
        font-size: 20px;
    }
}

.custom-switch {
    box-sizing: border-box;
    width: 60px !important;
    height: 20px !important;
    line-height: 18px !important;
    padding: 0 4px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    vertical-align: middle;
}

.custom-switch .font16,
.custom-switch .switch-core {
    font-family: var(--a1-readable-font) !important;
    font-size: 12px !important;
    line-height: 18px !important;
    font-weight: 500;
}

.custom-switch .switch-core {
    top: 0 !important;
    right: 0 !important;
    width: 32px !important;
    height: 18px !important;
    display: block;
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title h2,
.article-title,
.widget-title {
    font-family: var(--a1-readable-font) !important;
    font-weight: 700;
    letter-spacing: 0;
}

[class^="ti-"],
[class*=" ti-"],
[class^="pe-7s-"],
[class*=" pe-7s-"],
[class^="icon-"],
[class*=" icon-"],
.fa,
.fas,
.far,
.fab {
    font-family: inherit;
}

[class^="ti-"],
[class*=" ti-"] {
    font-family: "themify" !important;
}

[class^="pe-7s-"],
[class*=" pe-7s-"] {
    font-family: "Pe-icon-7-stroke" !important;
}

[class^="icon-"],
[class*=" icon-"] {
    font-family: "simple-line-icons" !important;
}

/* Contact details */
.footer-area .single-address-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-area .address-content {
    flex: 1;
    min-width: 0;
}

.footer-area .address-content p,
.co-p + .col-2b p,
.co-p + .col-2b + .col-2b p {
    position: relative;
    margin-bottom: 12px !important;
    padding-left: 38px;
    color: #2f3742 !important;
}

.footer-area .address-content p::before,
.co-p + .col-2b p::before,
.co-p + .col-2b + .col-2b p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(249, 53, 73, 0.1);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px 15px;
}

.footer-area .single-address-info:nth-child(1) .address-content p::before,
.co-p + .col-2b p:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h16v12H4V6Z' stroke='%23F93549' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='m4 7 8 6 8-6' stroke='%23F93549' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.footer-area .single-address-info:nth-child(2) .address-content p::before,
.co-p + .col-2b p:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23F93549' stroke-width='2'/%3E%3Cpath d='M3 12h18M12 3c2.2 2.4 3.3 5.4 3.3 9S14.2 18.6 12 21M12 3C9.8 5.4 8.7 8.4 8.7 12S9.8 18.6 12 21' stroke='%23F93549' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

.footer-area .single-address-info:nth-child(3) .address-content p::before,
.co-p + .col-2b p:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.5 4.5 6 7c.6 5.7 5.3 10.4 11 11l2.5-2.5-4-3-2 2c-2.2-1-4-2.8-5-5l2-2-3-4Z' stroke='%23F93549' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.footer-area .single-address-info:nth-child(4) .address-content p::before,
.co-p + .col-2b + .col-2b p::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 1 0-14 0c0 5.6 7 11 7 11Z' stroke='%23F93549' stroke-width='2' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='10' r='2.5' stroke='%23F93549' stroke-width='2'/%3E%3C/svg%3E");
}

.footer-area .address-content p a,
.co-p + .col-2b p a,
.co-p + .col-2b + .col-2b p a {
    color: #2f3742 !important;
}

.footer-area .address-content p a:hover,
.co-p + .col-2b p a:hover,
.co-p + .col-2b + .col-2b p a:hover {
    color: #F93549 !important;
}

.co-p {
    margin-top: 22px;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2733;
}

.co-p + .col-2b,
.co-p + .col-2b + .col-2b {
    padding-top: 18px !important;
}
