/* Custom CSS following the design specifications */
:root {
    --primary-blue: #2271b6;
    --primary-gold: #c7a930;
    --black: #000000;
    --white: #ffffff;
}

* {
    line-height: 1.5 !important;
}
.deep-blue-bg {
    background-color: #010b26;
    color: white;
}
.deep-blue {
    color: #010b26;
}
.gold-bg {
    background-color: #c7a930;
}
.gold-bg-40 {
    background-color: #c7a930;
    height: 40px;
}
.gold-bg-style {
    display: flex; /* Make it a flex container */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically (if content is taller than 100px) */
}
.gold-border {
    border-left: 3px solid #c7a930;
    padding-left: 10px;
}
.f-48,
.f-46 {
    font-size: 24px;
}
.f-34 {
    font-size: 34px !important;
}
.logo {
    width: 100px;
    height: 60px;
}
.card-padding {
    padding: 20px 24px;
}
.pt-54 {
    padding-top: 54px;
}
.p-54 {
    padding: 54px 20px;
}
.f-16 {
    font-size: 16px;
}
@media screen and (max-width: 768px) {
    .mobile-top-100 {
        margin-top: 100px;
    }
    .f-34 {
        font-size: 24px !important;
    }
    .p-mobile-52 {
        padding-right: 52px;
    }
    .form-section:has(textarea) {
        max-height: 158px;
    }
    .home-yt {
        height: 300px; /* Adjust height for smaller screens */
    }
    .gold-bg-style {
        max-height: 116px;
        margin: 100px 0px; /* Vertical margin only */
    }
    .px-80 {
        padding-left: 20px;
        padding-right: 20px;
    }
    .py-40 {
        margin: 20px 0px;
    }

    .card-home {
        max-height: 154px;
    }

    .px-200 {
        padding: 20px 20px 10px;
    }
}
.p-0 {
    padding: 0px !important;
}
@media screen and (min-width: 1020px) {
    .form-section:has(textarea) {
        max-height: 158px;
    }
    .pr-48 {
        padding-right: 48px !important;
    }
    .f-48 {
        font-size: 48px;
    }
    .f-46 {
        font-size: 46px;
    }
    .f-18 {
        font-size: 18px;
    }
    .home-yt {
        /* width: 800px; */
        /* width: 940px; */
        height: 512px; /* Further adjust height for extra small screens */
        z-index: 2;
    }
    .gold-bg-style {
        max-height: 274px;
        margin: 100px 0px; /* Vertical margin only */
    }
    .px-80 {
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
    .py-40 {
        padding: 40px !important;
    }
    .pb-40 {
        padding-bottom: 20px;
    }
    .my-40 {
        margin: 20px !important;
    }
    .px-200 {
        padding: 40px 200px;
    }
    .accordion-button {
        font-size: 22px !important;
    }
}
.grey1 {
    color: #ededed;
}
.grey1-bg {
    background-color: #ededed;
}
.dull-white-bg {
    background-color: #f3f3f3;
}
.footer-links a {
    color: white;
    text-decoration: none;
    padding: 20px 0px;
}
.footer-divider {
    /* border-top: 2px solid #ffffff; */
    width: 100%;
    color: #ffffff;
    opacity: 1;
    margin: 20px 0;
}
.blue-bg {
    background-color: #2271b6 !important;
    color: white;
}
.hover-blue {
    color: inherit; /* Default text color when not hovered */
}

.blue,
.hover-blue:hover {
    color: #2271b6 !important;
}
.border-radius-15 {
    border-radius: 15px;
}
.border-radius-10 {
    border-radius: 10px;
}
.icon-bg {
    background-color: #e9f1f8;
}
.f-22 {
    font-size: 22px;
}
.f-14 {
    font-size: 14px;
}
.f-12 {
    font-size: 12px;
}
.card-home {
    --bs-card-spacer-x: 0.5rem;
}
body {
    font-family: "Avenir" !important;
    /* , Arial, sans-serif */
    font-size: 14px;
    color: var(--black);
    margin: 0;
    padding: 0;
}

h2 {
    font-family: "Congenial", sans-serif;
    font-size: 2em;
}

.title {
    font-family: "Congenial Black", "Ubuntu", sans-serif;
    font-weight: 900;
    font-size: 24px;
}

.heading-1 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 18px;
}

.heading-2 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    font-size: 22px;
}
.fw-500 {
    font-weight: 500 !important;
}
.fw-600 {
    font-weight: 600 !important;
}
.fw-700 {
    font-weight: 700 !important;
}
.color-4 {
    color: #4b4b4b !important;
}
.ubuntu-color-5 {
    color: #353535 !important;
    font-family: "UbuntuBold", sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-align: left;
}
.color-3 {
    color: #353535 !important;
}

.accordion .accordion-button,
/* .accordion .accordion-button:not(.collapsed), */
.accordion .accordion-button:focus,
.accordion .accordion-button:hover {
    background-color: white !important;
    box-shadow: none !important;
    outline: none !important;
    border: none !important; /* optional */
}
.accordion-flush .accordion-button,
.accordion-flush .accordion-button:hover,
.accordion-flush .accordion-body,
.accordion-flush .accordion-button:focus {
    background-color: #ededed !important;
}
.accordion-flush p {
    padding-bottom: 10px;
}
/* .accordion2 {
    background-color: white;
} */
.accordion-button {
    /* color: #4b4b4b !important; */
    color: #404040 !important;
}
/* .accordion2 h2 button {
    color: black !important;
} */
.accordion-item {
    border: none !important;

    margin: 2px;
}
.accordion-item {
    border-bottom: 1px solid #c7c7c7 !important;
    text-align: justify;
}
#faq .accordion-item {
    border-bottom: 1px solid #7f7f7f !important;
}
/* .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='blue' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); */
/* transform: rotate(180deg); Rotate as needed */
/* } */
/* .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232271b6' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5l6.5 6 6.5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.7rem;
    transform: none !important;
    filter: none !important;
} */
.accordion-button::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232271b6' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5l6.5 6 6.5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

/* Rotate arrow when accordion is open */
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232271b6' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5l6.5 6 6.5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    transform: rotate(180deg);
}

/* .accordion-body { */
/* padding: 0px 10px; */
/* } */
.accordion-collapse,
.accordion-collapse.collapse.show {
    padding: 0px !important;
}
.nav-link {
    font-weight: 900;
    color: #202020;
}
.navbar-bg {
    background-color: #fbfbfb;
}
.social-links {
    font-size: 1.25rem;
}
.social-links a {
    color: white;
    margin-left: 1rem;
    transition: color 0.3s;
}
.social-links a:hover {
    color: #adb5bd;
}
.fw-900 {
    font-weight: 900 !important;
}
.border-none {
    border: none !important;
}
.form-control::placeholder {
    font-size: 10px; /* or use 'smaller', '1rem', etc. */
}

.p-10 {
    padding: 10px 0px 0px 0px;
}
.py-10 {
    padding: 10px 0px;
}
.form-section {
    max-height: 41px;
    /* background-color: red; */
}

.ps-20 {
    padding-left: 20px;
}
.padding-10 {
    padding: 10px 0px;
}
.list-style-type-disc {
    list-style-type: disc;
    list-style-position: inside;
}

.hero-section {
    height: 360px;
    background-image: url("../images/delon-health-blog-banner.png");
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section .overlay-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(34, 113, 182, 0.5), rgba(0, 0, 0, 0.6));
    z-index: 0;
}

.hero-section h1 {
    z-index: 1;
    font-size: 3rem;
}
.word-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.5em * 3); /* ensures exactly 3 lines */
}

/* Ensure image fits and blog page code cropped */
.card-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.calendar-icon {
    width: 18px;
    height: 18px;
}
.calendar-line {
    line-height: 1.4;
    min-height: 24px;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.blog-content {
    flex-grow: 1;
}

/* Title wrapper is dynamically resized by JS */
.blog-title-wrapper {
    margin-bottom: 10px; /* default spacing */
}

/* Description limited to 3 lines */
.blog-description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-content {
    flex-grow: 1;
}

.small-footer {
    margin-top: auto;
    /* padding-top: 10px; */
}
.foundation-white {
    background-color: #fbfbfb;
}
.my-40 {
    margin: 40px;
}
.pb-40 {
    padding-bottom: 40px;
}
