/*
Theme Name: Natural Medical
Theme URI: https://naturalmedical.health/
Author: Muhammad Razu Ahamed 
Author URI: https://naturalmedical.health/
Description: Natural Medical is a health-focused website providing information on health, medicine, nutrition, and healthy lifestyles. It offers reliable health advice, disease prevention tips, fitness guidance, and wellness-related detailed content. The theme features a responsive design, customizable homepage sections, featured images, and social menus, ensuring a beautiful display on any device and easy navigation for users.
Version: 1.0
License: GNU General Public License v2
Text Domain: Natural Medical
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
This theme, like WordPress, is licensed under the GPL.
*/

/* ==================== Base CSS ==================== */
@font-face {
    font-family: 'SolaimanLipiNormal';
    src: url('assets/fonts/solaiman-lipi.eot');
    src: url('assets/fonts/solaiman-lipi.eot') format('embedded-opentype'),
         url('assets/fonts/solaiman-lipi.woff') format('woff'),
         url('assets/fonts/solaiman-lipi.ttf') format('truetype'),
         url('assets/fonts/solaiman-lipi.svg#SolaimanLipiNormal') format('svg');
    font-weight: normal;
    font-style: normal;
}

html, body { height: 100%; }
body { font-size: 16px; line-height: 24px; color: #444; font-weight: 400; }
@media (max-width: 768px) { body { font-size: 14px; line-height: 22px; } }

a:hover { text-decoration: none; }
a:focus, input:focus, textarea:focus, button:focus { outline: none; }
img { max-width: 100%; height: auto; }

.alignleft { float: left; margin-right: 15px; }
.alignright { float: right; margin-left: 15px; }
.aligncenter { display: block; margin: 0 auto 15px; }

/* Remove Chrome input autofill yellow background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

/* ==================== Top Header ==================== */
.scroll { margin-bottom: 3px; }
.scroll_02 a { color: #fff; }

/* ==================== Social Icons ==================== */
.social_icons ul { margin: 0; padding: 0; list-style: none; }
.social_icons li { display: inline-block; }
.social_icons li i { color: #fff; font-size: 16px; border-left: 1px solid #fff; padding: 0 10px; }
.social_icons li:hover { opacity: 0.9; }

/* ==================== Search Box ==================== */
.search ul { margin: 0; padding: 0; list-style: none; }
.search ul li { display: inline-block; }

.search_box .btn-primary {
    color: #fff;
    background-color: #1A85B0;
    border-color: #2e6da4;
}
.search_box .btn-primary:hover { background-color: #F11514; }

.search_box .btn {
    height: 31px;
    position: absolute;
    right: 15px;
    top: -1px;
    border-radius: 1px;
    border: 1px solid #E6EAE9;
}

.search_box .search-icon-holder { text-align: right; }
.search_box .search-icon i {
    color: #fff;
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.8s;
    padding-right: 5px;
}
.search_box .search-icon-holder .close i {
    font-size: 25px;
    color: #ff7200;
}
.search_box .search-icon-holder .modal-header {
    padding: 10px 15px;
    border-bottom-color: #F1F6F8;
}

/* ==================== Header ==================== */
.affix { width: 100%; z-index: 999; top: 0; }
.photo-gellary { margin-bottom: 10px; }
.logo img, .banner img { width: 100%; height: auto; }

/* ==================== Menu Section ==================== */
.date { font-size: 18px; }
.date ul { list-style: none; padding: 0; margin: 0; }
.date ul li {
    display: inline-block;
    padding-right: 14px;
    border-right: 1px solid #ddd;
    margin-right: 10px;
}
.date ul li a { color: #fff; text-decoration: none; }
.date ul li:last-child { border: none; }

/* ==================== Carousel ==================== */
.owl-carousel .owl-nav div { position: absolute; top: 40%; transition: 0.4s; }
.owl-carousel .owl-nav div.owl-prev {
    left: 0; background: #000; padding: 15px;
    opacity: 0.8; border-radius: 0; font-size: 20px; color: #fff;
}
.owl-carousel .owl-nav div.owl-next {
    right: 0; background: #000; padding: 15px;
    opacity: 0.8; border-radius: 0; font-size: 20px; color: #fff;
}
.owl-carousel .owl-nav div.owl-prev:hover,
.owl-carousel .owl-nav div.owl-next:hover { opacity: 0.5; background: #005689; }

/* ==================== Photo Gallery ==================== */
.photo-gallery, .photo-gellary img { margin-bottom: 10px; width: 100%; height: auto; }
.pcaption {
    padding: 0 20px;
    font-size: 22px;
    color: gray;
    margin-bottom: -10px;
}
.pcaption a {
    background: rgba(0, 0, 0, 0.5);
    display: block;
    color: #fff;
    padding: 15px;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
}

/* ==================== News ==================== */
.lead-news { position: relative; margin-bottom: 20px; }
.lead-news img { width: 100%; height: auto; }
.lead-news .content {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    color: #f1f1f1;
    width: 100%;
    padding: 5px 8px;
}

.image-title { border-bottom: 1px solid #ddd; padding: 5px 0; overflow: hidden; }
.image-title img {
    float: left;
    width: 30%;
    height: auto;
    margin-right: 6px;
    border: 1px solid #F7F7F7;
}
.image-title img:hover { opacity: 0.9; }

.latest-news {
    border: 1px solid #eee;
    padding: 5px;
    height: 280px;
    overflow-y: scroll;
    margin-bottom: 10px;
}

/* ==================== Headings ==================== */
h1 { font-size: 36px; line-height: 44px; color: #111; font-weight: 700; }
@media (max-width: 768px) { h1 { font-size: 28px; line-height: 34px; } }

h2 { font-size: 28px; line-height: 36px; color: #222; font-weight: 600; }
@media (max-width: 768px) { h2 { font-size: 22px; line-height: 30px; } }

h3 { font-size: 22px; line-height: 30px; color: #333; font-weight: 500; }
@media (max-width: 768px) { h3 { font-size: 18px; line-height: 26px; } }

/* ==================== Single Page ==================== */
.singlepage { margin: 60px 0; }
.single_section { margin: 20px 0; }
.single_title { color: #2e3d8e; font-size: 26px; line-height: 30px; font-weight: 400; margin: 20px 0 15px; }
.single_images img { width: 100%; height: auto; }
.single-ditails p { text-align: justify; line-height: 1.6; }
.single_info span {
    padding: 10px 15px;
    background: #F5F5F5;
    color: #A94442;
    margin: 10px 0;
    overflow: hidden;
    display: block;
}
.single_info span a { font-size: 18px; color: #A94442; }
.single_info li { display: inline-block; }

/* ==================== Reporter & Social ==================== */
.reportar_view_social_sec {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    text-align: center;
}

.reporter_image img {
    border-radius: 50%;
    width: 100%;
    max-width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.social_Share_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 0;
    margin: 10px 0 0 0;
    list-style: none;
}

.social_Share_icon li { display: inline-block; float: none; }
.social_Share_icon li a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    border: 2px solid #ddd;
    color: #555;
    font-size: 18px;
    transition: all 0.3s ease;
}
.social_Share_icon li a:hover {
    background-color: #1877f2;
    color: #fff;
    border-color: #1877f2;
}
.social_Share_icon li a i { line-height: 40px; }

.social_Share_icon li a[href*="facebook.com"] { border-color: #1877f2; color: #1877f2; }
.social_Share_icon li a[href*="twitter.com"] { border-color: #1da1f2; color: #1da1f2; }
.social_Share_icon li a[href*="linkedin.com"] { border-color: #0a66c2; color: #0a66c2; }
.social_Share_icon li a[href*="pinterest.com"] { border-color: #e60023; color: #e60023; }

/* ==================== Archive Page ==================== */
.archive_post_sec, .archive_post_sec_again {
    background: #f2f2f2;
    box-shadow: 0 0 2px #c1c0c0;
    margin-bottom: 15px;
}
.archive_post_sec_again { padding: 15px 10px 10px; }
.archive_img_again img,
.archive_img img:hover { opacity: 0.9; background: #F09642; }
.archive_dtails { text-align: justify; padding: 10px 0; }
.archive_padding { padding: 10px 7px; height: 80px; overflow: hidden; }
.archive_post_height { padding: 15px 8px; height: 158px; overflow: hidden; }

/* ==================== Slider Caption ==================== */
.slider-caption, .slider-caption h2, .slider-caption h3, .slider-caption p {
    font-size: 14px !important; 
    line-height: 1.4em;
}

/* ==================== Related Posts ==================== */
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin-top: 25px;
}
.related-post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.related-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 5px 14px rgba(0,0,0,0.18);
}
.related-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: all 0.3s ease;
}
.related-post-card:hover .related-thumb img { filter: brightness(0.85); }
.related-info { padding: 12px 15px; }
.related-title {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    margin-bottom: 6px;
}
.related-title:hover { color: #0a7c86; }
.related-date { display: block; font-size: 13px; color: #666; }
@media (max-width: 768px) {
    .related-thumb img { height: 140px; }
    .related-info { padding: 10px 12px; }
    .related-title { font-size: 15px; }
}