.home .footer-bloom{
    margin-top: -3rem;
}

 input, optgroup, select, textarea{
    font-size: 1.2em!important;
}
.bloom-mobile-menu .bloom-menu-link{
    font-size: 1.3rem!important;
}
/* Bloom Theme Main Styles */
nav.navigation.pagination {
    margin-top: 50px;
}
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#mobile-menu-sidebar li.menu-item{
    margin: 0!important;
}

[x-cloak] {
    display: none !important;
}

@media (min-width: 1280px) {
    .bloom-menu-item-level-0:hover > .bloom-menu-link-wrap > .bloom-menu-chevron {
        transform: rotate(180deg);
        color: #274e23;
    }
}

@media (min-width: 1280px) {
    .bloom-submenu-root::before {
        content: "";
        position: absolute;
        top: -11px;
        left: 20px;
        width: 18px;
        height: 11px;
        background: #ffffff;
        clip-path: polygon(50% 0, 0 100%, 100% 100%);
        pointer-events: none;
    }

    .bloom-submenu-root::after {
        content: "";
        position: absolute;
        top: -14px;
        left: 0;
        right: 0;
        height: 14px;
    }

    .bloom-submenu-mega > .bloom-menu-item-level-1 + .bloom-menu-item-level-1 {
        border-top: 1px solid #f3f4f6;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
}

/* Swiper Navigation Styling */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev,
.heroSwiperMobile .swiper-button-next,
.heroSwiperMobile .swiper-button-prev {
    color: white;
    background: rgba(39, 78, 35, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover,
.heroSwiperMobile .swiper-button-next:hover,
.heroSwiperMobile .swiper-button-prev:hover {
    background: rgba(39, 78, 35, 0.9);
    transform: scale(1.1);
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after,
.heroSwiperMobile .swiper-button-next::after,
.heroSwiperMobile .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.heroSwiper .swiper-pagination,
.heroSwiperMobile .swiper-pagination {
    bottom: 20px;
}

.heroSwiper .swiper-pagination-bullet,
.heroSwiperMobile .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.heroSwiper .swiper-pagination-bullet-active,
.heroSwiperMobile .swiper-pagination-bullet-active {
    opacity: 1;
    background: #274e23;
    width: 30px;
    border-radius: 6px;
}

.newsSwiper .swiper-pagination,
.blogSwiper .swiper-pagination,
.doctorsSwiper .swiper-pagination,
.newsSwiper-wrapper .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 1rem;
}

.newsSwiper .swiper-pagination-bullet,
.blogSwiper .swiper-pagination-bullet,
.doctorsSwiper .swiper-pagination-bullet,
.newsSwiper-wrapper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #274e23;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.newsSwiper .swiper-pagination-bullet-active,
.blogSwiper .swiper-pagination-bullet-active,
.doctorsSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    background-color: #274e23;
    color: white;
    border-color: #274e23;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pagination .page-numbers.current {
    background-color: #274e23;
    color: white;
    border-color: #274e23;
    pointer-events: none;
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    pointer-events: none;
    color: #9ca3af;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    background-color: #e8f5e6;
    color: #274e23;
    border-color: #e8f5e6;
}

.pagination .page-numbers.prev svg,
.pagination .page-numbers.next svg {
    display: block;
    margin: 0;
    vertical-align: middle;
}

.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
    background-color: #274e23;
    color: white;
    border-color: #274e23;
}

/* Responsive Pagination */
@media (max-width: 640px) {
    .pagination .page-numbers {
        min-width: 2rem;
        height: 2rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .pagination .page-numbers.prev,
    .pagination .page-numbers.next {
        width: 2rem;
        height: 2rem;
    }
}

/* Widget Styles */
.widget {
    transition: all 0.3s ease;
}

.widget:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget ul li a:hover {
    color: #274e23;
    padding-left: 0.5rem;
}

.widget ul li a::before {
    content: "→";
    color: #274e23;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.widget ul li a:hover::before {
    opacity: 1;
}

/* Widget: Recent Posts */
.widget_recent_entries ul li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.widget_recent_entries .post-date {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Widget: Categories */
.widget_categories select,
.widget_archive select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
    background-color: white;
    cursor: pointer;
}

.widget_categories select:focus,
.widget_archive select:focus {
    outline: none;
    border-color: #274e23;
}

/* Widget: Tag Cloud */
.widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.widget_tag_cloud .tagcloud a {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: #e8f5e6;
    color: #274e23;
    border-radius: 9999px;
    font-size: 0.75rem !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.widget_tag_cloud .tagcloud a:hover {
    background-color: #274e23;
    color: white;
    transform: translateY(-2px);
}

/* Widget: Search */
.widget_search .search-form {
    position: relative;
}

.widget_search .search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.widget_search .search-field:focus {
    outline: none;
    border-color: #274e23;
}

.widget_search .search-submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #274e23;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.widget_search .search-submit:hover {
    background-color: #1e3a1a;
}

/* Widget: Calendar */
.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
}

.widget_calendar caption {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #274e23;
}

.widget_calendar th,
.widget_calendar td {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.widget_calendar th {
    font-weight: 600;
    color: #6b7280;
}

.widget_calendar td a {
    display: block;
    width: 100%;
    height: 100%;
    color: #274e23;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.widget_calendar td a:hover {
    background-color: #274e23;
    color: white;
}

/* Widget: RSS */
.widget_rss ul li {
    padding: 1rem 0;
}

.widget_rss .rsswidget {
    font-weight: 600;
    color: #274e23;
}

.widget_rss .rss-date {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.widget_rss cite {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Blog Content Typography */
.prose h2,
.single .entry-content h2,
article .entry-content h2 {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose h3,
.single .entry-content h3,
article .entry-content h3 {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.prose h4,
.single .entry-content h4,
article .entry-content h4 {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #374151;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.prose h5,
.single .entry-content h5,
article .entry-content h5 {
    font-family: 'IBM Plex Sans Thai', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #374151;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.prose ul,
.prose ol,
.single .entry-content ul,
.single .entry-content ol,
article .entry-content ul,
article .entry-content ol {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose ul,
.single .entry-content ul,
article .entry-content ul {
    list-style-type: disc;
}

.prose ol,
.single .entry-content ol,
article .entry-content ol {
    list-style-type: decimal;
}

.prose ul li,
.single .entry-content ul li,
article .entry-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
    display: list-item;
}

.prose p,
.single .entry-content p,
article .entry-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
}
