/*
Theme Name: الأطلس هوست (alatlasHost)
Theme URI: https://alatlashost.com
Author: فريق ثيم ستار
Author URI: https://alatlashost.com
Description: الأطلس هوست هو قالب ووردبريس مثالي للمدونات والمجلات الإخبارية، يتميز بتصميم عصري وسرعة وأداء عالي، مع دعم متكامل لإضافات مثل Elementor و Contact Form 7، بالإضافة إلى إمكانية استيراد وتصدير المحتوى التجريبي بسهولة.
Version: 13.0
Requires at least: 5.5
Tested up to: 6.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alatlashost
Tags: استضافة, تصميم متجاوب, ووردبريس, مدونة, مجلة إخبارية, دعم Elementor, دعم Contact Form 7, محتوى تجريبي, سرعة عالية, تحسين محركات البحث
*/

body{
    font-family: 'Intel Clear WArabic', sans-serif;
     direction: rtl; 
     text-align: right !important;
      box-sizing: border-box;
     line-height: 28px;
     color: #000;
     font-size: 15px
}
a{color: #000;}
a:hover{text-decoration: none;}
h3 > a, h1 >a, h2 > a, h4 > a, h5 > a, h6 > a{
    font-weight: bold;
}
nav ul li{
    padding: 0 10px;
    margin: 0 10px;
}
nav ul li a{
    color: #333;
    font-size: medium;
}
.custom-posts-widget .tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-posts-widget .tab {
    cursor: pointer;
    padding: 10px 20px;
    background: #f1f1f1;
    margin-right: 5px;
    border-radius: 3px;
    transition: background 0.3s;
}

.custom-posts-widget .tab:hover,
.custom-posts-widget .tab.active {
    background: #333;
    color: #fff;
}

.custom-posts-widget .category-content {
    display: none;
    margin-top: 20px;
    position: relative;
}

.custom-posts-widget .category-content:first-child {
    display: block; /* Ensure the first tab content is shown by default */
}

.owl-stage-outer{direction: ltr;overflow: hidden;position: relative;}
.owl-stage-outer .owl-stage{direction: ltr;}
.owl-stage-outer .owl-stage .owl-item{direction: ltr;float: right;}
.custom-posts-widget .thumbnail-widget img{width: 100%;height: auto;}
/* Custom styles for Owl Carousel navigation arrows and dots */
.category-content .owl-nav {
   position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}

.category-content .owl-nav button.owl-prev,
.category-content .owl-nav button.owl-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    margin: 0px;
    pointer-events: auto;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px; /* Adjust size as needed */
    position: absolute;
  right: 0px;
  width: 40px;
}
.category-content .owl-nav button.owl-next {
    left: 0px;
    right: auto;
    border-radius: 0;
    width: 40px;}
.category-content .owl-nav button.owl-prev:hover,
.category-content .owl-nav button.owl-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.owl-carousel .owl-dots .owl-dot.active,
.owl-carousel .owl-dots .owl-dot:hover {
    background-color: #666;
}

/* Container for each post item */
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
    display: block;clear: both;
  }

.post{overflow: hidden;}
.custom-blog-widget.design1 .posts .post{
    margin-bottom: 10px;
}
.custom-blog-widget.design2 .posts .post{
    margin-bottom: 30px;
}
.custom-blog-widget.design3 .posts .post{
    margin-bottom: 30px;
}
.custom-blog-widget.design4 .posts .post{
    margin-bottom: 10px;
}
.custom-blog-widget.design1 .post .post-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    overflow: hidden;
    position: relative;max-height: 400px;
}
.custom-blog-widget.design1 .post-image img{
    width: 100%;
}
.custom-blog-widget.design1 .post-image{
    position: relative;
}
.custom-blog-widget.design1 .post-image::after{
    content: "";
    background-color: transparent;
  background-image: linear-gradient(180deg,#FFFFFF00 0%,#000000C4 100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.custom-blog-widget.design1 .post-image:hover::after {
    background-image: linear-gradient(180deg, #FFFFFF00 0%, #000000FF 100%); /* Change gradient on hover */
    opacity: 0.6; /* Increased opacity on hover */
}

.custom-blog-widget.design1 .post-image img {
    transition: transform 1s ease-in-out; /* Smooth scaling effect */
}

.custom-blog-widget.design1 .post-image:hover img {
    transform: scale(1.05); /* Scale image on hover */
}

.custom-blog-widget.design1 .post-author, .custom-blog-widget.design1 .post-time, .custom-blog-widget.design1 .post-reading-time , .custom-blog-widget.design1 .post-view-count{display: inline-block;margin: 0 2px;display: inline-block;
    margin: 0 0 0 15px;
    padding: 4px 10px;
}
.custom-blog-widget .post-author i, 
.custom-blog-widget .post-time i, 
.custom-blog-widget .post-reading-time i, 
.custom-blog-widget .post-view-count i, 
.custom-posts-slider .post-content .post-author i, 
.custom-posts-slider .post-content .post-time i, 
.custom-posts-slider .post-content .post-date i,
.custom-posts-slider .post-content .post-reading-time i, 
.custom-posts-grid .post-content i, 
.custom-posts-slider .post-content .post-view-count i{
    top: 3px;
    position: relative;
    left: 3px;
}
.custom-blog-widget.design1 .post-author::before, .custom-blog-widget.design1 .post-time::before, .custom-blog-widget.design1 .post-reading-time::before ,.custom-blog-widget.design1 .post-view-count::before {
        display: inline-flex;
        content: '';
        width: .6em;
        height: .6em;
        background-color: red;
        border-radius: 50%;
        margin-left: 7px;
      }
.custom-blog-widget.design1 .post-content h2{margin-top: 10px;}
.design2 .post.post-large .post-image{max-height: 400px;}
.design2 .post-image{display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    overflow: hidden;
    position: relative;max-height: 300px;}
    .design2 .attachment-post-thumbnail{max-height: 100%;
    height: auto;
    width: 100%;
    display: block;
    margin: 0 auto;}
.design2 .post-author, .design2 .post-time, .design2 .post-reading-time , .design2 .post-view-count{display: inline-block;margin: 0 2px;}
.custom-blog-widget.design2 .post-author, .custom-blog-widget.design2 .post-time, .custom-blog-widget.design2 .post-reading-time , .custom-blog-widget.design2 .post-view-count{display: inline-block;margin: 0 2px;display: inline-block;
    margin: 0 0 10px 15px;
    background: #f7f7f7;
    padding: 4px 10px;
}
.custom-blog-widget.design2 .post-author::before, .custom-blog-widget.design2 .post-time::before, .custom-blog-widget.design2 .post-reading-time::before ,.custom-blog-widget.design2 .post-view-count::before {
    display: inline-flex;
    content: '';
    width: .6em;
    height: .6em;
    background-color: red;
    border-radius: 50%;
    margin-left: 7px;
  }
  .custom-blog-widget.design2 .post-image {
    display: grid;
    overflow: hidden;
    cursor: pointer;
    position: relative; /* Ensure the pseudo-elements are positioned correctly */
  }
  
  .custom-blog-widget.design2 .post-image img {
    grid-area: 1/1;
    transition: transform 0.4s ease; /* Smooth scale transition */
  }
  
  .custom-blog-widget.design2 .post-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--c, #0009);
    transition: clip-path 0.4s ease, background-color 0.4s ease;
    clip-path: inset(0 100% 0 0); /* Initial clip-path to hide the background */
    -webkit-mask: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    -webkit-mask-clip: text, padding-box;
  }
  
  .custom-blog-widget.design2 .post-image:hover::after {
    clip-path: inset(0 0 0 0); /* Reveal background on hover */
    background: var(--c, #0009); /* Change background color or gradient on hover */
  }
  
  .custom-blog-widget.design2 .post-image:hover img {
    transform: scale(1.2); /* Scale image on hover */
  }
  
  /* Fallback for browsers not supporting -webkit-mask-clip: text */
  @supports not (-webkit-mask-clip: text) {
    .custom-blog-widget.design2 .post-image::after {
      -webkit-mask: none;
      background-color: rgba(0, 0, 0, 0.6); /* Adjust color for fallback */
    }
  }
  
  .custom-blog-widget.design3 .post-author, .custom-blog-widget.design3 .post-time, .custom-blog-widget.design3 .post-reading-time , .custom-blog-widget.design3 .post-view-count{display: inline-block;margin: 0 2px;display: inline-block;
    margin: 0 0 10px 15px;
    background: #f7f7f7;
    padding: 4px 10px;
}
.custom-blog-widget.design3 .post-author::before, .custom-blog-widget.design3 .post-time::before, .custom-blog-widget.design3 .post-reading-time::before ,.custom-blog-widget.design3 .post-view-count::before {
    display: inline-flex;
    content: '';
    width: .6em;
    height: .6em;
    background-color: red;
    border-radius: 50%;
    margin-left: 7px;
  }
  
  .custom-blog-widget.design3 .post-image {
    transition: background-image 0.4s ease, transform 0.4s ease;
  }
  
  .custom-blog-widget.design3 .post-image img {
    transition: transform 0.4s ease;
  }
  
  .custom-blog-widget.design3 .post-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transition: background-image 0.4s ease;
  }
  
  .custom-blog-widget.design3 .post-image:hover::before {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  }
  
  .custom-blog-widget.design3 .post-image:hover img {
    transform: scale(1.06);
  }
  
  .custom-blog-widget.design3 .post-image {
    transition: background-image 0.4s ease, transform 0.4s ease;
  }
  
  .custom-blog-widget.design4 .post-author, .custom-blog-widget.design4 .post-time, .custom-blog-widget.design4 .post-reading-time , .custom-blog-widget.design4 .post-view-count{display: inline-block;margin: 0 2px;display: inline-block;
    margin: 0 0 10px 15px;
    padding: 4px 10px;
}
.custom-blog-widget.design4 .post-author::before, .custom-blog-widget.design4 .post-time::before, .custom-blog-widget.design4 .post-reading-time::before ,.custom-blog-widget.design4 .post-view-count::before {
    display: inline-flex;
    content: '';
    width: .6em;
    height: .6em;
    background-color: red;
    border-radius: 50%;
    margin-left: 7px;
  }
  .custom-blog-widget.design5 .post-author, .custom-blog-widget.design5 .post-time, .custom-blog-widget.design5 .post-reading-time , .custom-blog-widget.design5 .post-view-count{display: inline-block;margin: 0 2px;display: inline-block;
    margin: 0 0 10px 15px;
    padding: 4px 10px;
}
.custom-blog-widget.design5 .post-author::before, .custom-blog-widget.design5 .post-time::before, .custom-blog-widget.design5 .post-reading-time::before ,.custom-blog-widget.design5 .post-view-count::before {
    display: inline-flex;
    content: '';
    width: .6em;
    height: .6em;
    background-color: red;
    border-radius: 50%;
    margin-left: 7px;
  }
  .custom-blog-widget.design5 .post-image{overflow: hidden;}
  .custom-blog-widget.design5 .post-image img {-o-object-fit: cover;
    object-fit: cover;
    display: block;
    transition: transform 1s ease,opacity .5s ease;
    transform: scale(1.01);}
  .custom-blog-widget.design5 img:hover{transform: scale(1.051);transition: all .3s ease-in-out}
.custom-blog-widget.design3 .post-content{margin-top: 10px;}
.design2 .post{margin-bottom: 20px;}
.design2 .post-content{
    background: #fbfbfb;
    padding: 5px 10px;
}
.design2 .post-content .post-excerpt{
    text-align: justify;
    line-height: 30px;
}
.design2 .post-image img{
    position: relative;
}
.design2 .post-image img::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #fbfbfb;
    opacity: .8;
    z-index: 10;
    width: 100%;
    height: 100%;
}
.design3 .post-featured, .design3 .post-regular{
    z-index: 1;
}
.design3 .post-author, .design3 .post-time, .design3 .post-reading-time , .design3 .post-view-count{display: inline-block;margin: 0 2px;}
.design3 .post-image{display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    overflow: hidden;
    position: relative;max-height: 300px;}
.design3 .post-image img{width: 100%}

.design4 .posts{gap: 20px;}
/* Default styles for desktop */
.design4 .post-large {
    width: 49%; /* Default width for larger screens (2 items per row) */
}

/* Styles for tablets and mobile devices */
@media (max-width: 992px) {
    .design4 .post-large {
        width: 47%; /* Two items per row on tablets and mobile devices */
        margin-right: 1%;
    }
}

@media (max-width: 767px) {
    .design4 .post-large {
        width: 100%; /* One item per row on smaller mobile devices */
        margin: 0; /* Remove margin for a full-width item */
    }
    .custom-blog-widget .post {
        padding: 12px !important;
      }
}

.design4 .post-large .post-image{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    overflow: hidden;
    position: relative;max-height: 300px;
}
.design4 .post-small{
    width: 100%;
  display: flex;
}
.design4 .post-small .post-image {
    height: 200px; /* Set the desired height */
    width: 300px; /* Set the desired width */
    overflow: hidden; /* Hide any overflow */
    max-width: 100%; /* Ensure the image container does not exceed its parent's width */
    margin-left: 10px; /* Optional: margin for spacing */
}

.design4 .post-small .post-image img {
    height: 100%; /* Make the image cover the height of the container */
    width: 100%; /* Make the image cover the width of the container */
    object-fit: cover; /* Ensure the image covers the container while maintaining its aspect ratio */
    object-position: center; /* Center the image within its container */
}
.design4 .post-excerpt{text-align: justify;line-height: 30px;padding: 0 10px;}
.post-excerpt{text-align: justify;line-height: 30px;padding: 0 10px;}
.design4 .post-author, .design4 .post-time, .design4 .post-reading-time , .design4 .post-view-count{display: inline-block;margin: 0 2px;}
.design5-class {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px
}

.design5-class .post-image, .design5-class .post-content {
    flex: 1; /* This will make both elements take up equal space */
}

.design5-class .post-image {
    flex: 0 0 50%; /* Set the width to 50% of the container */
    max-width: 50%; /* Ensure the image does not exceed 50% width */
}

.design5-class .post-content {
    flex: 0 0 50%; /* Set the width to 50% of the container */
    max-width: 50%; /* Ensure the content does not exceed 50% width */
    padding: 0 10px; /* Optional: add some padding */
}

.design5-class .post-image img {
    width: 100%; /* Make the image fill the container */
    height: auto; /* Maintain aspect ratio */
}

.design5-class .post-content h2, .design5-class .post-content p {
    margin: 0;
    padding: 5px 0; /* Optional: add some padding */
}

.design5-class .post-content .post-read-more {
    display: inline-block;
    margin-top: 10px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .design5-class {
        flex-direction: revert; /* Stack items vertically on small screens */
    }

    .design5-class .post-image {
        flex: 0 0 100%; /* Make the image take up full width */
        max-width: 100%; /* Ensure the image does not exceed 100% width */
    }

    .design5-class .post-content {
        flex: 0 0 100%; /* Make content take up full width */
        max-width: 100%; /* Ensure content does not exceed 100% width */
        padding: 10px; /* Optional: add padding on smaller screens */
    }
}

.design5 .post-author, .design5 .post-time, .design5 .post-reading-time , .design5 .post-view-count{display: inline-block;margin: 0 2px;}


.custom-posts-slider .post-thumbnail {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    overflow: hidden;
    position: relative;max-height: 200px;
}
.related-posts {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.related-posts h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

.related-posts-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.related-post {
    flex: 1 1 calc(33.333% - 20px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px;
    text-align: center;
}

.related-post a {
    text-decoration: none;
    color: #333;
}

.related-post img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.related-post h3 {
    font-size: 1.25em;
    margin: 0;
}

.related-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    justify-content: space-between;
}

.related-post-item {
    flex: 1 1 30%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.related-post-item img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .related-post-item {
        flex: 1 1 48%;
    }
}

@media (max-width: 480px) {
    .related-post-item {
        flex: 1 1 100%;
    }
}
/* Basic Mega Menu Styling */
/* Basic Mega Menu Styling */
.navbar-nav .nav-item {
    position: relative;
}

/* Footer Widget Styles */
.footer-widget {
    margin-bottom: 1rem;
}

.footer-widget-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
/* Archive Sidebar Styles */
.widget-area {
    padding: 20px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    margin-top: 20px;
}

.widget-title {
    font-size: 1.5rem;
    font-weight: bold;
}
.widget-title .heading-class{margin-bottom: 0}
footer {background: #e9ecef;}

footer .full-width {
    width: 100%;
}

footer .boxed {
    width: 60%; /* Or whatever boxed width you prefer */
    margin: 0 auto;
    padding: 40px 0px;
}
.archive-page , .page-layout {background: #f1f1f1;}

.archive-page .col-md-3 ,.page-layout .col-md-3 {font-size: small;}

.archive-page .col-md-9,
.archive-page .col-md-12,
.page-layout .col-md-9,
.page-layout .col-md-12  {font-size: small;}

.archive .fixed-sidebar.fixed , .page .fixed-sidebar.fixed {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

/* Sidebar Styles */
aside.widget-area {
    padding: 15px;
    background-color: #f5f5f5; /* Adjust as needed */
}

/* Fixed Sidebar */
.fixed-sidebar {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
}

/* Main Content */
.main {
    padding: 15px;
}

/* Entry Content */
.entry-content {
    margin-bottom: 30px;
}

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-size: 24px; /* Adjust as needed */
    margin-bottom: 15px;
    margin-top: 10px;
}

.entry-footer {
    margin-top: 20px;
}

/* Sidebar Alignment */
.left-sidebar .col-md-9 {
    order: 2; /* Ensure the main content is to the right of the sidebar */
}

.left-sidebar .col-md-3 {
    order: 1; /* Ensure the sidebar is to the left of the main content */
}

.right-sidebar .col-md-9 {
    order: 1; /* Ensure the main content is to the left of the sidebar */
}

.right-sidebar .col-md-3 {
    order: 2; /* Ensure the sidebar is to the right of the main content */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .col-md-9, .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0; /* Remove padding for smaller screens */
    }
    
    .fixed-sidebar {
        position: relative; /* Fixed sidebar may not work well on small screens */
        top: auto;
        border-left: none;
        box-shadow: none;
    }
}

/* Basic styling for sticky sidebar */
.fixed-sidebar .widget-area {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    /* Optional: Add border or shadow for visual separation */
    padding: 15px;
}

/* Additional styling when the sidebar is in sticky mode */
.fixed-sidebar.is-sticky .widget-area {
    /* Optional: Additional styling when sidebar is sticky */
    background: #fff; /* Background color for when it's sticky */
}
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 5px;
}
.blog .entry-thumbnail img{
    width: 100%;
}
.blog{
    margin-bottom: 30px;
}
.entry-meta span, .entry-meta > div{display: inline-block;margin: 0 0 0 10px;}


.single-post .entry-header {
    margin-bottom: 20px;
}

.single-post .entry-header .entry-meta {
    margin-bottom: 10px;
}

.single-post .entry-header .entry-meta .author,
.single-post .entry-header .entry-meta .posted-on,
.single-post .entry-header .entry-meta .reading-time,
.single-post .entry-header .entry-meta .post-views {
    display: inline-block;
    margin-right: 15px;
    font-size: 14px;
    color: #666;
}

.single-post .entry-header .social-share {
    margin-top: 10px;
}

.single-post .entry-header .social-share a {
    margin-right: 10px;
    color: #666;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    line-height: 45px
}

.single-post .entry-header .social-share a:hover {
    color: #000;
}

.single-post .entry-header .entry-thumbnail {
    margin-top: 20px;
}

.single-post .entry-header .entry-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.single-post .entry-content {
    margin-top: 20px;
}

.single-post .author-biography {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
}

.single-post .author-biography h2 {
    margin-top: 0;
    font-size: 20px;
}

.single-post .author-biography .author-info {
    display: flex;
    align-items: center;
}

.single-post .author-biography .author-info .author-description {
    margin-left: 15px;
}

.single .post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.single .nav-previous,
.single .nav-next {
    display: flex;
    align-items: center;
}

.single .nav-previous {
    justify-content: flex-end; /* Aligns content to the right */
}

.single .nav-next {
    justify-content: flex-start; /* Aligns content to the left */
}

.single .nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.single .thumbnail-wrapper {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%; /* Circular image */
    margin-right: 15px; /* Space between image and text */
    display: flex;
    justify-content: center;
    align-items: center;
}

.single .thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
}

.single .nav-content {
    display: flex;
    flex-direction: column;
}

.single .nav-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.single .post-title {
    font-size: 16px;
}
.single .nav-link .thumbnail-wrapper{order: 2;}
.single .avatar{border-radius: 100%;}
.single .entry-content{list-style: 35px;text-align: justify}
.single .post-navigation .nav-link{padding-right: 0;}
.single .post-navigation .thumbnail-wrapper{margin-right: 0;
    margin-left: 10px;}
.single .post-navigation .nav-content{order: 2;}
.post-navigation{margin-bottom: 30px;}
article{margin-bottom: 20px}

/* Default: Desktop logo display */
.logo-desktop {
    display: block;
}

/* Hide mobile logo on desktop */
.logo-mobile {
    display: none;
}
.post-item{text-align: right;box-shadow: 0 4px 20px #00000012;}
.owl-stage-outer{padding:  0 0 10px 0;}
.custom-posts-slider a, .custom-posts-grid a{color: #000;}
.custom-posts-grid .post-thumbnail, .custom-posts-slider .post-thumbnail{margin-bottom: 5px;}
.blog .blog-style-style1 main article header{position: relative;}
.blog .blog-style-style1 main article .entry-content .read-more {
    display: inline-block;
    border: 1px solid #333;
    text-align: center;
    padding: 5px;
    margin-top: 10px;
  }
  .blog .blog-style-style1 main article .entry-meta{background: #f9f8f4;
    padding-right: 10px;}
    .blog main article header{
   overflow: hidden;
    } 
    .blog .blog-style-style1 main article header:hover img{
        transform: scale(1.04);
        transition: all 1s ease-in-out;
    }
    .blog main article .entry-header{margin-bottom: 0;}
  .blog .blog-style-style2 main article header{position: relative;}
.blog .blog-style-style2 main article .entry-title a{
    color: #333;
    background: #fff;
    width: 100%;
}
.blog .blog-style-style2 main article header:hover  .entry-title {
    opacity: 1;
    transition: all .2s ease-in-out;
}
.blog .blog-style-style2 main article header:hover img{
    opacity: 0.7;
    transform: scale(1.01);
    transition: all .3s ease-in-out;
}
.blog .blog-style-style2 main article .entry-content .read-more{
    display: inline-block;
    padding: 5px;
    border: 1px solid #333;
}
.blog .blog-style-style3 main article .entry-content .read-more{
    display: block;
}
.blog .blog-style-style4 main article .entry-header , .blog .blog-style-style3 main article .entry-header{
    padding-top: 10px;
    position: relative;
}
.blog .blog-style-style4 main article header:hover img{
    background: #d0cdcd3d;
    opacity: 0.8;
    transition: all 1s ease-in-out;
}
.blog .blog-style-style4 main article header .thumbnail-cover::after{
    content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(59%, rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.8)));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 59%, rgba(0, 0, 0, 0.8) 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  transition: all 1s ease-in-out;
}
.blog  main article .heading-blog a, .archive  main article .entry-title a , .custom-posts-grid .post-title, 
.custom-blog-widget .post-content a, .custom-posts-slider .post-title, .related-post-item a h3{
    display: inline;
  padding-bottom: 4px;
  -webkit-transition: background-size 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: background-size 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-image: -webkit-gradient(linear, left top, left bottom, from(currentColor), color-stop(98%, currentColor));
  background-image: linear-gradient(to bottom, currentColor 0%, currentColor 98%);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: right 100%;
  font-weight: bold;
}
.blog  main article .heading-blog a:hover, .archive  main article .entry-title a:hover , .custom-posts-grid .post-title:hover,
.custom-blog-widget .post-content a:hover, .custom-posts-slider .post-title:hover,  .related-post-item a h3:hover
{
    background-size: 100% 2px;
}
.custom-posts-grid .post-content .post-title{margin-top: 10px;}
.blog .blog-style-style4 main article .read-more{display: inline-block; padding: 5px; border: 1px solid #000;}
.custom-posts-grid .post-item {
    padding: 5px;
    box-sizing: border-box; /* Ensures padding doesn't affect the layout */
}

.custom-posts-grid .post-item > .post-thumbnail {
    padding: 0; /* Remove padding from the .post-thumbnail */
}
.custom-posts-grid .post-date , .custom-posts-grid .post-author , .custom-posts-grid .post-views, .custom-posts-grid .post-reading-time{
    padding: 4px 10px;
    display: inline-block;
}
.custom-posts-grid .post-date::before , .custom-posts-grid .post-author::before , .custom-posts-grid .post-views::before, .custom-posts-grid .post-reading-time::before {
        display: inline-flex;
        content: '';
        width: .6em;
        height: .6em;
        background-color: red;
        border-radius: 50%;
        margin-left: 7px;
      }
.custom-posts-grid .post-item  .read-more{display: block;}
.custom-posts-grid .post-item .post-thumbnail {
    transition: transform 0.3s ease; /* Ensures smooth transition */
    overflow: hidden;
    position: relative;
}

.custom-posts-grid .post-item .post-thumbnail:hover img {
    -webkit-transform: scale(1.05) rotate(2deg);
    transform: scale(1.05) rotate(2deg);
    transition: transform 0.7s ease-in-out;
}

.custom-posts-grid .post-item .post-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(25,25,25);
    background: linear-gradient(113deg, rgba(25,25,25,0.23991603477328427) 0%, rgba(0,0,0,0.22030819163602944) 71%, rgba(0,0,0,0.16148466222426472) 100%); 
    z-index: 1;
    transition: background-image 0.4s ease;
  }
  .custom-posts-grid .post-item .post-thumbnail:hover::before {
    background: none;
    transition: background 1s ease-in-out;
}
.heading-class {
   height: 32px;
  line-height: 32px;
  padding: 0 15px;
  font-size: 12px;
  color: #fff;
  background: #304ffe;
  text-transform: uppercase;
  z-index: 10;
  position: relative;
  display: inline-block
}
.heading-class::before{
   width: 0;
  height: 0;
  border-top: 8px solid transparent;
    border-top-color: transparent;
  border-right: 9px solid #304ffe;
  border-bottom: 8px solid transparent;
    border-bottom-color: transparent;
  border-top-color: transparent !important;
  border-bottom-color: transparent !important;
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  margin-top: -8px;
  display: inline-block;
  }
 .custom-posts-slider .post-item .post-thumbnail{padding: 0;}
 .single-post article{box-shadow: none;}
 .custom-posts-slider .post-item .post-author,  .custom-posts-slider .post-item .post-time,  .custom-posts-slider .post-item .post-date,
.custom-posts-slider .post-item .post-reading-time ,  .custom-posts-slider .post-item .post-views,
 .custom-posts-slider .post-item .post-view-count{display: inline-block;margin: 0 2px;display: inline-block;
    margin: 0 0 10px 15px;
    background: #d0cdcd3d;
    padding: 4px 10px;
}
.custom-posts-slider .post-item .post-author::before,  .custom-posts-slider .post-item .post-time::before,.custom-posts-slider .post-item .post-views::before,
.custom-posts-slider .post-item .post-reading-time::before , .custom-posts-slider .post-item .post-view-count::before , .custom-posts-slider .post-item .post-date::before{
    display: inline-flex;
    content: '';
    width: .6em;
    height: .6em;
    background-color: red;
    border-radius: 50%;
    margin-left: 7px;
  }

/* Ensure the dots container is centered within .custom-posts-slider */
.custom-posts-slider .owl-dots {
    text-align: center;
    margin-top: 10px; /* Adjust as needed */
}

/* Style each dot within .custom-posts-slider */
.custom-posts-slider .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px; /* Adjust spacing between dots as needed */
    background: none;
  border: none;
}

.custom-posts-slider .owl-dots .owl-dot span {
    width: .6em;
    height: .6em;
    background-color: red; /* Change to your desired color */
    border-radius: 50%;
    display: block;
    opacity: 0.5; /* Optional: adjust dot opacity */
    transition: opacity 0.3s ease; /* Optional: smooth transition for active state */
}

/* Style for the active dot within .custom-posts-slider */
.custom-posts-slider .owl-dots .owl-dot.active span {
    opacity: 1; /* Fully opaque for the active dot */
}
/* Style for the breaking news ticker */
#breaking-news-ticker {
    background-color: #333; /* Background color for the ticker */
    color: #fff; /* Text color */
    padding: 10px 20px; /* Padding around the ticker */
    overflow: hidden; /* Hide overflow */
    white-space: nowrap; /* Keep content on one line */
    position: relative; /* Position relative for absolute positioning of content */
    font-size: 16px; /* Font size */
    border-bottom: 2px solid #fff; /* Optional border */
}

.ticker-content {
    display: inline-block;
    padding-left: 100%; /* Start content off-screen */
    animation: ticker 15s linear infinite; /* Adjust timing as needed */
}

@keyframes ticker {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Optional: Style the links in the ticker */
#breaking-news-ticker a {
    color: #fff; /* Link color */
    text-decoration: none; /* Remove underline */
    margin-right: 20px; /* Spacing between items */
}

#breaking-news-ticker a:hover {
    text-decoration: underline; /* Underline on hover */
}
/* Initial state of the navigation arrows */
.custom-posts-slider .owl-prev,
.custom-posts-slider .owl-next {
    opacity: 0.5; /* Partially visible */
    transition: opacity 1s ease-in-out; /* Smooth transition for opacity */
    visibility: hidden; /* Hide by default */
}

/* Show arrows when hovering over the post item */
.custom-posts-slider:hover .owl-prev,
.custom-posts-slider:hover .owl-next {
    opacity: 1; /* Fully visible */
    visibility: visible; /* Ensure they are visible */
}

/* Optionally style the navigation arrows */
.custom-posts-slider .owl-prev,
.custom-posts-slider .owl-next {
    background-color: rgba(0, 0, 0, 0.5); /* Example background color */
    color: white; /* Example arrow color */
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute; /* Position them absolutely */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust for center alignment */
}

/* Positioning the arrows */
.custom-posts-slider .owl-prev {
    left: 10px; /* Adjust as needed */
}

.custom-posts-slider .owl-next {
    right: 10px; /* Adjust as needed */
}
.custom-posts-slider .post-item{direction: rtl;}
.custom-posts-slider .post-item .post-thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(25,25,25);
    background: linear-gradient(113deg, rgba(25,25,25,0.23991603477328427) 0%, rgba(0,0,0,0.22030819163602944) 71%, rgba(0,0,0,0.16148466222426472) 100%); 
    z-index: 1;
    transition: background-image 0.4s ease;
  }
  .custom-posts-slider .post-item .post-thumbnail:hover::before {
    background: none;
    transition: background 1s ease-in-out;
}
.custom-posts-slider .post-item .post-thumbnail {
    transition: transform 0.3s ease; /* Ensures smooth transition */
    overflow: hidden;
    position: relative;
}

.custom-posts-slider .post-item .post-thumbnail:hover img {
    -webkit-transform: scale(1.05) rotate(2deg);
    transform: scale(1.05) rotate(2deg);
    transition: transform 0.7s ease-in-out;
}
.custom-posts-slider .post-link {
    display: block; /* Make the entire link area block-level */
    position: relative; /* Required for positioning child elements */
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
}

.custom-posts-slider .post-thumbnail {
    position: relative;
    overflow: hidden;
}

.custom-posts-slider .post-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Optional: dark overlay */
    color: #fff;
    padding: 10px;
    display: none; /* Hidden by default */
    opacity: 0; /* Start with opacity 0 */
    transition: opacity 0.3s ease; /* Smooth fade-in */
    flex-direction: column;
    justify-content: end;
  align-items: start;
  text-align: right;
    display: flex;
}

.custom-posts-slider .post-link:hover .post-content {
    display: flex;
    opacity: 1; /* Fade in content on hover */
}

.custom-posts-slider .post-content h4 {
    margin: 0; /* Remove default margin */
    font-size: 1.2em; /* Adjust size as needed */
    line-height: 1.2; /* Ensure it's in one line */
    margin-bottom: 10px; /* Space between title and author */
}

.custom-posts-slider .post-content .post-author {
    display: block; /* Ensures author is on a separate line */
    margin-top: 10px; /* Space between title and author */
}
.custom-posts-slider .post-content .post-description{
    text-align: justify;
}
.archive article{
    padding-top: 10px;
}
.archive article .post-thumbnail-container{overflow: hidden;}
.archive article header img {
    transition: transform 0.3s ease; /* Ensures smooth transition */
    overflow: hidden;
    position: relative;
}

.archive article header:hover img {
    -webkit-transform: scale(1.05) rotate(2deg);
    transform: scale(1.05) rotate(2deg);
    transition: transform 0.7s ease-in-out;
}
.archive .post-thumbnail-container {
    position: relative; /* Ensure positioning context for pseudo-elements */
    overflow: hidden;   /* Ensure background doesn't overflow */
}

.archive .post-thumbnail-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(25,25,25);
    background: linear-gradient(113deg, rgba(25,25,25,0.23991603477328427) 0%, rgba(0,0,0,0.22030819163602944) 71%, rgba(0,0,0,0.16148466222426472) 100%);
    z-index: 1; /* Ensure it sits above the image */
    pointer-events: none; /* Ensure it doesn't interfere with image interactions */
}

.archive .post-thumbnail-container img {
    position: relative;
    z-index: 0; /* Ensure the image is below the gradient */
}
.archive .post-thumbnail-container:hover::before {
    opacity: 1; /* Show gradient on hover */
}

.archive .post-thumbnail-container img {
    position: relative;
    z-index: 0; /* Ensure the image is below the gradient */
    transition: opacity 0.3s ease; /* Optional: smooth transition for image opacity */
}

.archive .post-thumbnail-container:hover img {
    opacity: 0.7; /* Optionally, fade the image a bit on hover */
}
/* Ensure this CSS only applies when layout2 is selected */
.archive .layout2 .post-thumbnail-container img , .archive .layout4 .post-thumbnail-container img {
    min-height: 450px;
    object-fit: cover; /* Ensure the image covers the area without distortion */
}
/*-----------------------------
	News Ticker
------------------------------*/
.acme-news-ticker {
    background: #fff;
    position: relative;
    height: 45px;
    border: 1px solid #1974d2;
    margin-top: 45px; }
    @media (min-width: 768px) {
      .acme-news-ticker {
        margin-top: 0; } }
    .acme-news-ticker-label {
      background: #1974d2;
      padding: 10px;
      width: auto;
      float: right;
      margin-left: 15px;
      line-height: normal;
      height: 100%;
      color: #fff; }
      @media (max-width: 575px) {
        .acme-news-ticker-label {
          position: absolute;
          top: -45px; } }
    .acme-news-ticker-box {
      height: 100%;
      padding-top: 10px;
      overflow: hidden; }
      @media (max-width: 575px) {
        .acme-news-ticker-box {
          padding-right: 10px;
          padding-left: 120px; } }
      .acme-news-ticker-box ul {
        width: 100%;
        list-style-type: none !important;
        padding: 0;
        margin: 0; }
        .acme-news-ticker-box ul li a {
          text-decoration: none; }
    .acme-news-ticker-controls {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      position: absolute;
      height: 100%;
      left: 0;
      top: 0; }
      .acme-news-ticker-controls button {
        height: 100%;
        background: #f6f6f6;
        padding: 0;
        width: 40px;
        border-color: #eeeeee;
        border-style: solid;
        border-width: 0 1px 0 0;
        cursor: pointer;
        display: inline-block; }
        .acme-news-ticker-controls button:hover {
          background: #eeeeee; }
        .acme-news-ticker-controls button.acme-news-ticker-arrow {
          margin: 0;
          display: inline-block;
          position: relative; }
          .acme-news-ticker-controls button.acme-news-ticker-arrow:after {
            border-color: #999;
            border-bottom-style: solid;
            border-bottom-width: 2px;
            border-left-style: solid;
            border-left-width: 2px;
            content: '';
            display: inline-block;
            height: 8px;
            right: 50%;
            position: absolute;
            top: 50%;
            width: 8px; }
        .acme-news-ticker-controls button.acme-news-ticker-pause {
          position: relative;
          display: inline-block; }
          .acme-news-ticker-controls button.acme-news-ticker-pause:before {
            position: absolute;
            content: "";
            width: 10px;
            height: 10px;
            border-color: #999;
            border-style: solid;
            border-width: 0 2px 0;
            -webkit-transform: translate(50%, -50%);
                -ms-transform: translate(50%, -50%);
                    transform: translate(50%, -50%);
            right: 50%;
            top: 50%; }
      .acme-news-ticker-controls.acme-news-ticker-horizontal-controls button.acme-news-ticker-prev:after {
        -webkit-transform: translate(50%, -50%) rotate(135deg);
            -ms-transform: translate(50%, -50%) rotate(135deg);
                transform: translate(50%, -50%) rotate(135deg); }
      .acme-news-ticker-controls.acme-news-ticker-horizontal-controls button.acme-news-ticker-next:after {
        -webkit-transform: translate(50%, -50%) rotate(315deg);
            -ms-transform: translate(50%, -50%) rotate(315deg);
                transform: translate(50%, -50%) rotate(315deg); }
      .acme-news-ticker-controls.acme-news-ticker-vertical-controls button.acme-news-ticker-prev:after {
        -webkit-transform: translate(50%, -50%) rotate(225deg);
            -ms-transform: translate(50%, -50%) rotate(225deg);
                transform: translate(50%, -50%) rotate(225deg); }
      .acme-news-ticker-controls.acme-news-ticker-vertical-controls button.acme-news-ticker-next:after {
        -webkit-transform: translate(50%, -50%) rotate(405deg);
            -ms-transform: translate(50%, -50%) rotate(405deg);
                transform: translate(50%, -50%) rotate(405deg); }
  
  /*# sourceMappingURL=style.css.map */
 .acme-news-ticker-time{float: right;
    line-height: 45px;}
.entry-author .avatar{border-radius: 50%;}
.single .author img{height: 35px !important;width: 35px !important;border-radius: 50%;}
.custom-blog-widget .post-content h2 {margin-bottom: 15px;margin-top: 10px;}
/* General Header Styling */
#header {
    background-color: #fff;
    border-bottom: none;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-desktop {
    max-height: 50px;
    display: block;
}

.logo-mobile {
    max-height: 30px;
    display: none;
}

.search-form {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0 20px;
}

.search-form input[type="search"] {
    padding: 10px;
    width: 100%;
    margin-right: 10px;
    position: relative;
    text-indent: 50px;
  }

  .search-form button {
    border: none;
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    position: absolute;
    width: 45px;
  height: 45px;
  margin-right: 15px;
  }

.search-form button i {
    font-size: 16px;
}

.search-form button:hover {
    background-color: #0056b3;
}

.navbar-icons {
    display: flex;
    align-items: center;
}

.navbar-icons .nav-link {
    text-decoration: none;
    color: #333;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

/* Navigation Menu Styles */
.navbar {
    flex: 1;
}

.navbar-nav {
    list-style: none;
    padding: 0;
}

.navbar-nav li {
    display: inline;
    margin: 0px 0px;
  padding: 0 10px;
}

.navbar-nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.navbar-toggler {
    border: none;
    background: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .search-form {
        margin: 10px 0;
        width: 100%;
    }
}
#navbarNav ul{margin: 0 !important;}
.social-media-icons {
    text-align: center; /* Or align as per your design */
    padding: 10px 0;
}

.social-media-icons a {
    text-decoration: none;
    margin: 0 5px;
    color: #333;
    font-size: 20px; /* Adjust size as needed */
}
.social-media-icons a:hover {
    color: #0073aa; /* Adjust hover color as needed */
}

/* Styles for layout2 */
/* Layout 2 */

/* Center the navigation bar */
.layout2 .navbar {
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* Adjust navbar-toggler button for mobile view */
.layout2 .navbar-toggler {
    margin-left: auto;
    margin-right: auto;
}

/* Center the logo within the header */
.layout2 .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

/* Position the logo in the center */
.layout2 .header-content .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
/* Layout 2 */

/* Center the navigation bar */
.layout2 .navbar {
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* Adjust navbar-toggler button for mobile view */
.layout2 .navbar-toggler {
    margin-left: auto;
    margin-right: auto;
}

/* Center the logo within the header */
.layout2 .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #000;
}

/* Position the logo in the center */
.layout2 .header-content .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Search popup styles */
.layout2 .search-popup, .layout1 .search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.layout2 .search-popup-form, .layout1 .search-popup-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layout2 .search-popup-form input[type="search"], .layout1 .search-popup-form input[type="search"] {
    width: 80%;
    padding: 10px;
    font-size: 24px;
    margin-bottom: 20px;
    border: none;
    outline: none;
}

.layout2 .search-popup-form button, .layout1 .search-popup-form button {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
}

.layout2 .close-search, .layout1 .close-search {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}
.layout2 .search-icon, .layout1 .search-icon{cursor: pointer;}
@media (min-width: 992px) {
    .layout2 .search-popup-form input[type="search"] , .layout1 .search-popup-form input[type="search"] {
        margin-top: 20%;
      }
}
@media (min-width: 767px) and (max-width: 992px) {
    .layout2 .search-popup-form input[type="search"], .layout1 .search-popup-form input[type="search"] {
        margin-top: 40%;
      }
}
@media (max-width: 767px) {
    .layout2 .search-popup-form input[type="search"], .layout1 .search-popup-form input[type="search"] {
        margin-top: 70%;
      }
}


/* Layout 3 */

/* Search form styling */
.layout3 .searchform {
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    border-radius: 40px;
}

@media (min-width: 992px) {
    .layout3 .searchform {
        width: 300px;
    }
}

.layout3 .searchform .form-control {
    width: calc(100% - 50px);
    border: none;
    background: #f7f7f7 !important;
    color: rgba(0, 0, 0, 0.7) !important;
    font-size: 14px;
}

.layout3 .searchform .form-control::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: rgba(0, 0, 0, 0.7) !important;
}

.layout3 .searchform .form-control::-moz-placeholder {
    /* Firefox 19+ */
    color: rgba(0, 0, 0, 0.7) !important;
}

.layout3 .searchform .form-control:-ms-input-placeholder {
    /* IE 10+ */
    color: rgba(0, 0, 0, 0.7) !important;
}

.layout3 .searchform .form-control:-moz-placeholder {
    /* Firefox 18- */
    color: rgba(0, 0, 0, 0.7) !important;
}

.layout3 .searchform .search {
    width: 50px;
    height: 50px;
    background: #ff0000 !important;
}

.layout3 .searchform .search span {
    font-size: 16px;
    color: #fff;
}

/* General form control styling */
.layout3 .form-control {
    height: 50px !important;
    background: #fff !important;
    color: #000 !important;
    font-size: 14px;
    border-radius: 0px;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.layout3 .form-control:focus, 
.layout3 .form-control:active {
    border-color: #000;
}


.layout2 #search-popup {
    visibility: hidden;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 200px 0;
    background: #fff;
    -webkit-box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.46);
    box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.46);
    z-index: 1100;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.layout2 #search-popup.show , .layout1 #search-popup.show {
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}
.layout2 #search-popup .search-field:focus , .layout1 #search-popup .search-field:focus {
    border-color: #0073aa; /* You can change this color to match your theme */
}

.layout2 #search-popup .search-submit, .layout1 #search-popup .search-submit {
    font-size: 18px;
    color: #fff;
    background-color: #0073aa; /* Match this with your theme's primary color */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.layout2 #search-popup .search-submit:hover, .layout1 #search-popup .search-submit:hover {
    background-color: #005f8d; /* Slightly darker shade for hover effect */
}

.layout2 #search-popup .close-search-popup , .layout1 #search-popup .close-search-popup {
    position: absolute;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
    left: 10px;
    right: auto;
    top: 30px;
}

.layout2 #search-popup .close-search-popup:hover, .layout1 #search-popup .close-search-popup:hover {
    color: #0073aa; /* Color change on hover */
}
.layout2 #search-popup .search-popup-content, .layout1 #search-popup .search-popup-content {
    width: 80%;
    max-width: 800px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
  }
/* Make the search input field 100% width */
.layout2 #search-popup .search-field , .layout1 #search-popup .search-field {
    width: 100%;
    padding: 12px 15px;
    font-size: 18px;
    border: none;
    border-radius: 4px 0 0 4px; /* Rounded corners only on the left */
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Hover state for the search button */
.layout2 #search-popup .search-submit:hover, .layout1 #search-popup .search-submit:hover {
    background-color: #005f8d; /* Slightly darker shade for hover effect */
}

/* Responsive styling for mobile devices */
@media screen and (max-width: 767px) {
    .layout2 #search-popup .search-popup-content, .layout1 #search-popup .search-popup-content {
        width: 90%;
        padding: 15px;
    }
    
    .layout2 #search-popup .search-field, .layout1 #search-popup .search-field {
        font-size: 16px;
    }
    
    .layout2 #search-popup .search-submit, .layout1 #search-popup .search-submit {
        font-size: 16px;
    }
}
.layout2#header .search-popup i{
    border: none;
    padding: 0;
}

/* General Header Styling */
#header.layout4 {
    padding: 20px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0px 25px 80px rgba(0, 0, 0, 0.15);
}

#header.layout4 .site-logo img {
    max-height: 50px; /* Adjust logo height */
}

#header.layout4 .navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

#header.layout4 .navbar-nav .nav-item {
    margin-left: 20px;
    margin-right: 20px;
}

#header.layout4 .navbar-icons {
    display: flex;
    align-items: center;
}

#header.layout4 .navbar-icons a {
    color: #000;
    font-size: 20px;
    margin-left: 15px;
    transition: color 0.3s ease;
}

#header.layout4 .navbar-icons a:hover {
    color: #0073aa; /* Match theme's primary color */
}

#header.layout4 .social-media-icons {
    display: flex;
    align-items: center;
}

#header.layout4 .social-media-icons a {
    font-size: 18px;
    color: #000;
    transition: color 0.3s ease;
}

#header.layout4 .social-media-icons a:hover {
    color: #0073aa; /* Match theme's primary color */
}

/* Responsive Styling */
@media screen and (max-width: 767px) {
    #header.layout4 .site-logo img {
        max-height: 40px; /* Adjust logo height for mobile */
    }

    #header.layout4 .navbar-nav .nav-item {
        margin-left: 10px;
        margin-right: 10px;
    }

    #header.layout4 .navbar-icons {
        justify-content: space-between;
    }
}

.layout4 #search-popup {
    visibility: hidden;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 200px 0;
    background: #fff;
    -webkit-box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.46);
    box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.46);
    z-index: 1100;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.layout4 #search-popup.show {
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

.layout4 #search-popup .close-search-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
    left: 10px;
  right: auto;
  top: 30px;
}

.layout4 #search-popup .close-search-popup:hover {
    color: #0073aa; /* Color change on hover */
}
.layout4 #search-popup .search-popup-content {
    width: 80%;
    max-width: 800px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
  }
/* Make the search input field 100% width */
.layout4 #search-popup .search-field {
    width: 100%;
    padding: 12px 15px;
    font-size: 18px;
    border: none;
    border-radius: 4px 0 0 4px; /* Rounded corners only on the left */
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}
.breadcrumbs , .footer-copyright-block{
    padding: 24px 0;
    background: rgba(107, 114, 128, 0.1);
    text-align: center;
  }
  .footer-copyright-block{
    border-top: 2px solid #ddd;
  }
  .single .social-share, .single .entry-meta{display: inline-block;}
  /* Ensures that the custom block and menu are aligned correctly */
.layout3 .static-html-block {
    display: flex;
    align-items: center; /* Vertically center align if needed */
}

.layout3 .navbar-nav {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .layout3 .static-html-block {
        margin-bottom: 15px; /* Adjust as needed for mobile views */
    }
}
.layout3 ul.navbar-nav li{
    margin-right: 0;
    padding-right: 0;
}
/* Ensure alignment and spacing */
.layout2  .static-html-block {
    display: flex;
    align-items: center; /* Center vertically */
}

.layout2  .navbar-nav {
    display: flex;
    align-items: center;
}

@media (max-width: 992px) {
    .layout2 .bottom.container {
        flex-direction: column;
        align-items: flex-start;
    }
    .layout2  .navbar-nav {
        margin-top: 10px;
    }
}
.layout2 ul.navbar-nav li, .layout1 ul.navbar-nav li{
    margin-right: 0;
    padding-right: 0;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    display: none; /* Hide by default, will be shown via JavaScript */
  }
  .dropdown-menu.less-than-5-items li{
    width: 100%;
    display: block;
    padding: 0;
  }
  /* Ensure the custom styles only apply on mobile */
  @media (min-width: 992px) {
     /* Styles applied when dropdown menu has 5 or fewer items */
  .dropdown-menu.less-than-5-items {
    width: 120px; /* Custom width */
    position: absolute;
    left: auto;
    right: auto;
    display: block; /* Show in mobile view */
  }
  }
  #ftco-navbar{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
  }
  .layout2 .nav-link i{border: none;}
nav .navbar-nav li:hover{
    background: red;
}
nav .navbar-nav li:hover a, nav .navbar-nav li:hover i{
    color: floralwhite;
}
nav .navbar-nav li:hover .sub-menu a{
    color: #000;
}
aside .post-image img{
    height: 100px !important;
    width: 100px !important;
    border-radius: 100%;
}
aside .post {
    box-shadow: none !important;
  }
  aside .post-image{
    display: contents;
  }
aside .post-content a{
    font-size: 15px;
}
aside > aside{
    background:  none !important;
    border: none !important;
    box-shadow: none !important;
}

.layout1 /* Initial hidden state */
.search-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

/* Show the popup when 'show' class is added */
.layout1 .search-popup.show {
    display: flex;
}

.layout1 .search-popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 100%;
    position: relative;
}

.layout1 .close-search-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.layout1 .search-field {
    width: calc(100% - 40px);
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.layout1 .search-submit {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}


.layout1 .search-popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 100%;
    position: relative;
}

/* Close icon positioned at the top right of the content container */
.layout1 .close-search-popup {
    position: absolute;
    top: -10px;  /* Adjust this value to move the icon as needed */
    right: -10px;  /* Adjust this value to move the icon as needed */
    cursor: pointer;
    background: #fff;
    padding: 5px;
    border-radius: 50%;
    font-size: 16px;
}

.layout1 .search-field {
    width: calc(100% - 40px);
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.layout1 .search-submit {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* Position the close icon absolutely within the input form */
#search-popup .search-form {
    position: relative;
}

#search-popup .close-search-popup {
    position: absolute;
    top: 50%;
    left: 10px; /* Adjust as needed */
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #333;
    z-index: 1000;
}

#search-popup .search-field {
    width: calc(100% - 80px); /* Adjusted width to accommodate the close icon and search button */
    padding-left: 40px; /* Space for the close icon */
    padding-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#search-popup .search-submit {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px; /* Optional: space between input and button */
}

.layout2 .navbar-collapse.collapse.show, .layout2 .navbar-collapse.collapsing,
.layout4 .navbar-collapse.collapse.show, .layout4 .navbar-collapse.collapsing,
.layout1 .navbar-collapse.collapse.show, .layout1 .navbar-collapse.collapsing,
.layout3 .navbar-collapse.collapse.show, .layout3 .navbar-collapse.collapsing
{position: absolute;
    top: 100%;
    width: 100vw;
    background: rgb(255, 255, 255);
    z-index: 1000;
    left: 0;
    right: 0;
    padding: 0 10px;
    box-shadow: 0 4px 20px #00000012;
}
@media (max-width: 767px) {
  .layout3 .ftco-section .col-md-4.d-flex {
    display: initial !important;
  }   
  .layout2 nav{
    width: 100%;
    justify-content: inherit !important; 
  }
  .layout2 nav .navbar-toggler{
    margin: 0;
  }
}
.navbar-toggler{
  border-radius: 0;
}
.navbar-toggler span{
    height: auto;
}
.navbar-toggler i{
    line-height: 38px;
}
.sub-menu li a{color: #000;}
/* Default order for larger screens */
.left-sidebar .col-md-9 {
    order: 2;
}

.left-sidebar .col-md-3 {
    order: 1;
}


/* Mobile styles */
@media (max-width: 767px) {
    .left-sidebar .col-md-9 {
      order: 1; /* Primary element on mobile */
    }
  
    .left-sidebar .col-md-3 {
      order: 2; /* Secondary element on mobile */
    }
  }
  blockquote{
    font-size: 1.4em;
    margin:50px auto;
    color: #555555;
    padding:1.2em 75px 1.2em 30px;
    border-right:8px solid #78C0A8 ;
    line-height:1.6;
    position: relative;
    background:#EDEDED;
  }
  
  blockquote::before{
    content: "\201C";
    color:#78C0A8;
    font-size:4em;
    position: absolute;
    right: 10px;
    top:-10px;
  }
  
  blockquote::after{
    content: '';
  }
  
  blockquote span{
    display:block;
    color:#333333;
    font-style: normal;
    font-weight: bold;
    margin-top:1em;
  }
  .suggested-post-item{
    margin-bottom: 15px;
  }
  .suggested-posts-grid .suggested-post-thumbnail img{
    height: 40px;
    width: 40px;
    border-radius: 100%;
  }
  .suggested-posts-grid .suggested-post-thumbnail,   .suggested-posts-grid .suggested-post-title{
    display: inline-block;
  }
  .suggested-posts-grid .suggested-post-title{
    margin-right: 8px;
  }

  /* Firefox (uncomment to work in Firefox, although other properties will not work!)  */
/** {
  scrollbar-width: thin;
  scrollbar-color: #397524 #DFE9EB;
}*/

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
    height: 10px;
    width: 10px;
  }
  *::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #DFE9EB;
  }
  
  *::-webkit-scrollbar-track:hover {
    background-color: #B8C0C2;
  }
  
  *::-webkit-scrollbar-track:active {
    background-color: #B8C0C2;
  }
  
  *::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #397524;
  }
  
  *::-webkit-scrollbar-thumb:hover {
    background-color: #62A34B;
  }
  
  *::-webkit-scrollbar-thumb:active {
    background-color: #62A34B;
  }
  .search-results-container {
    padding: 20px;
    background-color: #f9f9f9;
}

.search-result-item {
    margin-bottom: 30px;
    text-align: center; /* Center align the text and image */
}

.search-result-image img {
    margin-bottom: 15px;
    max-width: 100%; /* Ensures the image does not overflow the column */
    height: auto; /* Maintains aspect ratio */
}

.search-result-title {
    font-size: 1.5em;
    margin: 10px 0;
}

.search-result-excerpt {
    color: #555;
}
.pagination{
    display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  
}
.custom-pagination {
    text-align: center;
    margin-top: 20px;
}

.custom-pagination .pagination {
    display: inline-block;
    padding-left: 0;
    margin: 0;
    border-radius: 4px;
}

.custom-pagination .pagination li {
    margin: 0 2px;
    display: inline-block;
}

.custom-pagination .pagination li a {
    color: #007bff;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.custom-pagination .pagination li a:hover {
    background-color: #007bff;
    color: white;
    text-decoration: none;
}

.custom-pagination .pagination li.active a {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}





.tabbed-posts-widget .row {
    display: flex;
    flex-wrap: wrap;
}

.tabbed-posts-widget .first-post img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.tabbed-posts-widget .first-post h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.tabbed-posts-widget .first-post p {
    font-size: 14px;
    color: #666;
}

.tabbed-posts-widget .first-post .post-date {
    font-size: 12px;
    color: #999;
}

.tabbed-posts-widget .media {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.tabbed-posts-widget .media img {
    width: 64px;
    height: 64px;
    object-fit: cover;
}

.tabbed-posts-widget .media-body {
    margin-right: 10px;
}

.tabbed-posts-widget .media-body h5 {
    font-size: 14px;
    margin-bottom: 3px;
}

.tabbed-posts-widget .media-body small {
    font-size: 12px;
    color: #999;
}
.newsletter-form-container {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
}
.newsletter-form input[type="email"] {
    padding: 10px;
    width: 70%;
    margin-right: 10px;
}
.newsletter-form button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}
.newsletter-form button:hover {
    background-color: #005177;
}

/* Container for the entire widget */
.two-column-widget {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* Space between the two columns */
    margin-top: 20px;
}

/* Styles for the first column (larger for the latest post) */
.two-column-widget .first-column {
    flex: 2; /* Takes more space than the second column */
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between items in the column */
}

/* Styles for the posts in the first column */
.two-column-widget .first-column .post {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.two-column-widget .first-column .post h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    width: 100%;
  text-align: right;
}
.two-column-widget .first-column .post .post-thumbnail{width: 100%;}
.two-column-widget .first-column .post img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    width: 100%;
}

.two-column-widget .first-column .post p {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 5px;
    padding: 0;
}

/* Styles for the second column (grid for other posts) */
.two-column-widget .second-column {
    flex: 1; /* Takes less space than the first column */
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for the grid layout */
    gap: 10px; /* Space between grid items */
}

/* Styles for the posts in the second column */
.two-column-widget .second-column .post {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.two-column-widget .second-column .post h3 {
    font-size: 1.2em;
    margin-bottom: 5px;
    width: 100%;
  text-align: right;
}

.two-column-widget .second-column .post img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.two-column-widget .second-column .post p {
    font-size: 0.8em;
    color: #555;
    margin-bottom: 3px;
    display: inline;
    margin-left: 8px;
}

/* "Read More" link styles */
.two-column-widget .post a {
    display: inline-block;
    margin-top: 5px;
    text-decoration: none;
    font-weight: bold;
    text-align: right;
    line-height: 25px;
    font-size: 17px;
}

.two-column-widget .post a:hover {
    color: #005177; /* Hover effect for links */
}
.two-column-widget .second-column .post-thumbnail{width: 100%;}
/* Media queries for responsiveness */
@media (max-width: 768px) {
    .two-column-widget {
        flex-direction: column; /* Stack columns vertically on smaller screens */
    }
    
    .two-column-widget .first-column,
    .two-column-widget .second-column {
        flex: 1; /* Full width for each column when stacked */
        padding-right: 0;
        padding-left: 0;
    }

    .two-column-widget .second-column {
        grid-template-columns: 1fr; /* Single column grid on smaller screens */
    }
}
.two-column-widget .second-column .excerpt{
    display: none;
}

.first-column .post p{
    display: inline-block;
}
.two-column-widget .first-column p,
.two-column-widget .second-column p,
.two-column-widget .first-column .post-meta,
.two-column-widget .second-column .post-meta {
    text-align: right; /* Aligns text to the right */
}
.second-column .post-meta{
    width: 100%;
}
.two-column-widget .post-more{display: block !important;}
.first-column .post-meta{width: 100%;}
.first-column .post-meta p{
    display: initial;
  margin-left: 10px;
}
.custom-newsletter-subscription {
    padding: 50px 0;
    background: rgba(107, 114, 128, 0.1);
}
.custom-newsletter-subscription #newsletter-email{
    max-width: 80%;
  width: 100%;
  background: #fff;
  border: none;
  height: 40px;
  border-radius: 5px;
  box-shadow: 0px 25px 80px rgba(0, 0, 0, 0.15);
}
.custom-newsletter-subscription #sendnewsletter{
    border: none;
    padding: 7px;
    box-shadow: 0px 25px 80px rgba(0, 0, 0, 0.15);
    color: #fff;
}
.custom-newsletter-subscription label{
    font-weight: bold;
}
.single-post .suggested-posts{
    background: rgba(219, 219, 219, 0.1);
    padding: 50px 20px;
}
.single-post .suggested-posts h3{
    margin-bottom: 20px;
    font-weight: bold;
}
footer.comment-meta{
    background: rgba(107, 114, 128, 0.1);
  padding: 30px;
}
article .comment-content{
    padding: 20px;
    background: #fcfcfc;
}
#respond .form-submit #submit {
    border: none;
    padding: 10px;
    box-shadow: 0px 25px 80px rgba(0, 0, 0, 0.15);
    color: #fff;
}
#commentform > p input, #commentform > p textarea{
  width: 100%;
}
#commentform .form-submit input{
    width: inherit
}
#commentform .comment-form-cookies-consent input{
    width: inherit;
}
@media (max-width: 767px){
.tabbed-posts-widget .list-unstyled {
    padding-right: 0;
  margin-top: 10px;
}
.archive article{
    padding: 25px;
}
}
@media (max-width: 550px) {
.navbar-icons{
    margin: auto;
}
}
.acme-news-ticker-time{
    padding: 0 10px;
}
.design5{padding: 10px;}
.acme-news-ticker-label,
nav .navbar-nav li:hover,
#search-popup .search-submit,
.heading-class,
.custom-blog-widget.design4 .post-author::before, 
.custom-blog-widget.design4 .post-time::before, 
.custom-blog-widget.design4 .post-reading-time::before, 
.custom-blog-widget.design4 .post-view-count::before,
.custom-pagination .pagination li.active a,
.custom-pagination .pagination li a:hover,
.custom-blog-widget.design2 .post-author::before, .custom-blog-widget.design2 .post-time::before, 
.custom-blog-widget.design2 .post-reading-time::before, .custom-blog-widget.design2 .post-view-count::before,
.custom-blog-widget.design5 .post-author::before, .custom-blog-widget.design5 .post-time::before, 
.custom-blog-widget.design5 .post-reading-time::before, .custom-blog-widget.design5 .post-view-count::before,
.custom-posts-slider .post-item .post-author::before, .custom-posts-slider .post-item .post-time::before, 
.custom-posts-slider .post-item .post-views::before, .custom-posts-slider .post-item .post-reading-time::before, 
.custom-posts-slider .post-item .post-view-count::before,
.custom-posts-slider .post-item .post-date::before,
.custom-posts-slider .owl-dots .owl-dot span{
    background-color: #3F51B5;
}




.acme-news-ticker, .custom-pagination .pagination li.active a{
    border-color: #3F51B5
}
.breadcrumbs a, .entry-meta i,a:hover, i,
#header.layout4 .social-media-icons a:hover i,
.lni, .read-more
{
    color: #CDDC39
}
#sendnewsletter, .form-submit #submit{
     background-color: #CDDC39;
}
.post-description{text-align: justify;}
.first-column .post-excerpt{text-align: justify !important;
    display: block !important;}
@media (max-width: 500px) {
    .design4 .post-small {
        display: block;
      }   
      .design4 .post-small .post-image {
        height: auto;
        width: auto;}
}
@media (max-width: 1190px) {
    .page-template:not(.home) .custom-posts-widget .custom-posts-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}
.page .content-area{
        padding: 0 10px;
}






/***********************************************************************************************************
********************************* New style  ***************************************************************
***********************************************************************************************************/
#header.layout4{padding: 0}
.layout4 #search-icon{
  position: absolute;
  left: 10px;
  top: 10px;
}
.layout4 .top-bar, .layout4 .sticky-wrapper, #ftco-navbar, .layout2 .bottom, .layout2 .top-bar, .layout1 .top-bar, .layout1 .bottom {
  border-bottom: 1px solid #000;
  color: #333
}
.layout4 .container.meduim-bar {
    display: flex;
    justify-content: space-between; /* Ensures logo is on the right and ads on the left */
    align-items: center; /* Vertically aligns items */
    gap: 10px; /* Adds spacing between items */
    padding: 10px 0;
}

.layout4 .logo {
    order: 1; /* Moves logo to the right */
    flex: 1; /* Ensures logo is smaller compared to ads */
    text-align: right; /* Aligns logo content to the right */
}

.layout4 .ads {
    order: 2; /* Moves ads to the left */
    flex: 2; /* Makes ads section larger than logo */
    text-align: left; /* Aligns ads content to the left */
    font-size: 1.2em; /* Makes ads text slightly larger */
    padding-left: 0px;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .layout4 .container.meduim-bar {
        flex-direction: column; /* Stacks logo and ads vertically */
        align-items: center; /* Centers items on smaller screens */
    }

    .layout4 .logo, .layout4 .ads {
        order: 0; /* Resets order for a natural vertical flow */
        text-align: center; /* Centers content on mobile */
    }

    .layout4 .ads {
        margin-top: 10px; /* Adds spacing between logo and ads */
    }
}
.layout4 .menu-top nav, .layout4 .menu-top nav ul li{padding: 0}
.layout4 .menu-top{
   position: relative
}
.layout4 .top-bar .container .row > div{
    padding-left: 0;
    padding-right: 0;
}
/* Hide .col-auto .tricker-header on mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .layout4 .col-auto.tricker-header, .layout4 .ads {
        display: none;
    }
    .layout2 .top-bar, .layout2 .navbar-icons{display: none}
    .layout2 .navbar-toggler{padding: 0}
    .layout1 .navbar-icons {
	    margin: initial;
	  }
    .top-search{display: none}
}
@media (min-width: 768px){
  .menu-search{
    display: none
  }
}
.acme-news-ticker, .custom-pagination .pagination li.active a {
  border: none;
}
header.layout4 {
  padding: 0px;
}

.layout4 .social-media-icons a {
  font-size: 18px;
  color: #000;
  margin-right: 4px;
  transition: color 0.3s ease;
  margin-left: 0;
}
.social-media-icons .social-icon{
  height: 30px;
  width: 30px;
  line-height: 30px;
   margin-left: 0;
   display: inline-block
}
.social-media-icons .social-icon i{
    color: #333
}
.layout2 .bottom .container{
   padding: 0 
}
.layout2 .navbar-icons .social-media-icons a{
  border-radius: 0;
}
.layout2 #search-icon {
   height: 30px;
  width: 30px;
  background: #f2f3f5;
  text-align: center;
  line-height: 34px;
}
.layout1 .top.header-content{padding: 15px 0}
.layout1 .searchform {
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.layout1 .searchform .form-control {
   width: calc(100% - 20px);
  border: none;
  background: #fff !important;
  color: rgba(0, 0, 0, 0.7) !important;
  font-size: 14px;
  height: 40px;
  margin-top: 5px;
  border-radius: 0;
  position: relative;
}
.layout1 #navbarNav .searchform input{border: 1px solid #ddd;}
.layout1 .searchform .form-control::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: rgba(0, 0, 0, 0.7) !important;
}

.layout1 .searchform .form-control::-moz-placeholder {
    /* Firefox 19+ */
    color: rgba(0, 0, 0, 0.7) !important;
}

.layout1 .searchform .form-control:-ms-input-placeholder {
    /* IE 10+ */
    color: rgba(0, 0, 0, 0.7) !important;
}

.layout1 .searchform .form-control:-moz-placeholder {
    /* Firefox 18- */
    color: rgba(0, 0, 0, 0.7) !important;
}

.layout1 .searchform .search {
  width: 38px;
  height: 38px;
  background: #ddd !important;
  border-radius: 0;
  margin-right: 2px;
  position: absolute;
  left: 38px;
  margin-top: 6px;
}

.layout1 .searchform .search span {
    font-size: 16px;
    color: #fff;
}
/* Secondary Menu Styling */
.secondary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 5px; /* Space between menu items */
    line-height: 45px;
}

.secondary-menu li {
    display: inline-block;
    margin: 0
}

.secondary-menu li a {
    text-decoration: none;
    color: #333; /* Default link color */
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 12px
}

.secondary-menu li a:hover {
    color: #0073e6; /* Hover color */
}

/* Wrapper for the secondary menu */
.secondary-nav-container {
    text-align: left; /* Align the menu to the left */
}
.layout1 #navbarNav .searchform{
  border-radius: 0;
  margin: 30px;
}
.layout1 #menu-secondary-menu{margin-right: 16px;}
.prayer-times-widget {
    text-align: center;
    background: linear-gradient(135deg, #6ab7f5, #5472d3);
    color: #fff;
    border-radius: 15px;
    padding: 20px;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.prayer-times-header {
    margin-bottom: 20px;
}

.prayer-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.prayer-date,
.prayer-location {
    font-size: 14px;
    margin: 5px 0;
}

.prayer-times {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    font-family: 'Intel Clear WArabic';
}

.prayer-time {
    width: 30%;
    margin-bottom: 10px;
    text-align: center;
    font-size: 16px;
}

.prayer-label {
    display: block;
    font-weight: bold;
}

.prayer-value {
    font-size: 18px;
    margin-top: 5px;
}

.video-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.video-item img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s;
}

.video-icon {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
}
.video-wrapper {
    position: relative;
    margin: 0 auto;
}

.video-wrapper video, 
.video-wrapper iframe {
    width: 100%;
    border: 0;
}

.entry-title {
    text-align: right;
    margin-bottom: 20px;
}

.entry-content {
    font-size: 14px;
  line-height: 30px;
}

.menu-item-image {
    width: 20px; /* Adjust size as needed */
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

  .navbar-expand-lg .navbar-nav .nav-link {
    display: inline-block;
  }
.tabbed-posts-widget .tab-title{
  border-bottom: 2px solid blue;
}
.tabbed-posts-widget .nav-link.active{
  position: relative
}
.tabbed-posts-widget .nav-link.active:after {
width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid transparent;
  border-bottom: 9px solid #304ffe;
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 65%;
  margin-top: 0;
  display: inline-block;
}

/* Sidebar Menu Styles */
.menu-sidebar {
    position: fixed;
    top: 0;
    right: -350px; /* Hidden by default */
    width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
}

/* Open Menu State */
.menu-sidebar.menu-open {
    right: 0;
}

/* Close Button Styles */
.menu-sidebar .close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* Hamburger Menu Styles */
.hamburger-menu {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.hamburger-menu .bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Optional: Overlay */
.menu-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.menu-sidebar.menu-open + .menu-sidebar-overlay {
    display: block;
}
.menu-sidebar #menu-sidebar-menu{margin-top: 10%}
#menu-sidebar-menu li{list-style: none;margin-bottom: 15px;}
#menu-sidebar-menu  .menu-item-image{margin-right: 0;margin-left: 15px}
#menu-sidebar .social-media-icons{background-color: #f2f3f5}
.menu-seconday .hamburger-menu, .menu-seconday .secondary-nav-container{display: inline-block}
.menu-seconday .hamburger-menu{position: relative;
  top: 8px;
}
.layout1 #primary-menu .menu-item-image{
  margin-left: 10px;
}
.tabbed-posts-widget .nav-link.active{
  color: #304ffe
}

.more-menu > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.more-menu .dropdown-menu {
    min-width: 200px;
    padding: 10px;
}
.layout1 #navbarNav.collapse.show .searchform .search {
  left: 66px;
}

.next-post-section {
                position: relative;
                padding: 30px;
                background-size: cover;
                background-position: center;
                color: #fff;
                margin-top: 50px;
                text-align: right;
            }
            .next-post-section .overlay {
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: rgba(0, 0, 0, 0.5);
                z-index: 1;
            }
            .next-post-content {
                position: relative;
                z-index: 2;
            }
            .next-post-meta {
                font-size: 14px;
                margin-bottom: 10px;
            }
            .next-post-meta .category {
                background: #e63946;
                padding: 3px 8px;
                margin-right: 5px;
                display: inline-block;
                border-radius: 3px;
                font-weight: bold;
            }
            .next-post-title a {
                color: #fff;
                font-size: 24px;
                font-weight: bold;
                text-decoration: none;
            }
            .next-post-title a:hover {
                text-decoration: underline;
            }
            .next-post-excerpt {
                margin: 15px 0;
            }
            .next-post-link a {
                color: #fff;
                font-weight: bold;
                text-decoration: none;
                padding: 8px 15px;
                background: #1d3557;
                border-radius: 5px;
            }
            .next-post-link a:hover {
                background: #457b9d;
            }
 .next-post-slider { position: relative; min-height: 300px}
            .slider-item {
                position: absolute;
                top: 0; left: 0; width: 100%; height: 100%;
                background-size: cover; background-position: center;
                display: none;
                color: white;
                text-align: right;
            }
            .slider-item.active { display: block; }
            .overlay {
                position: absolute; top: 0; left: 0; width: 100%; height: 100%;
                background: rgba(0, 0, 0, 0.5);
            }
            .content { position: relative; z-index: 2; padding: 20px;margin-top: 30px;line-height: 42px; }
            .content .title a{color: #fff}
            .countdown {
                position: absolute; top: 20px; left: 20px; background: #e63946;
                color: white; padding: 10px; border-radius: 50%; font-size: 18px;height: 45px; width: 45px;text-align: center;
            }
            .slider-controls { position: relative; text-align: center; margin-top: 10px; display: none }
            .slider-controls button { background: #1d3557; color: white; border: none; padding: 10px 20px; cursor: pointer; display: none }
            .slider-controls button:hover { background: #457b9d; display: none}
       
 .share{display: inline-block}
 .share .share-links a { 
    color: #ffffff;
    position:relative;
    top: 18px
  } 
  

  .share-links a { 
    display: inline-block; 
    margin: 2px; 
    height: 40px; 
    overflow: hidden; 
    position: relative; 
    transition: 0.3s; 
    border-radius: 2px; 
    width: 40px;
    text-align: center;
    line-height: 45px;
  } 

  .share-links a { 
    background-color: #444;
  } 

  a.large-share-button  { 
    width: auto;
  } 

  a.facebook-share-btn  { 
    background: #4080FF;
  } 

  .share-links a, .share-links a::before { 
    background-color: #444;
  } 

  a.facebook-share-btn , .share-links a.facebook-share-btn::before { 
    background: #4080FF;
  } 

  a:active,a:hover { 
    outline-width: 0;
  } 

  a:hover { 
    color: var(--brand-color);
  } 

  .share-links a:hover { 
    opacity: 0.8; 
    color: #fff;
  } 

  a.twitter-share-btn  { 
    background: #000;
  } 

  a.twitter-share-btn , .share-links a.twitter-share-btn::before { 
    background: #000;
  } 

  a.linkedin-share-btn  { 
    background: #238cc8;
  } 

  a.linkedin-share-btn , .share-links a.linkedin-share-btn::before { 
    background: #238cc8;
  } 

  a.tumblr-share-btn  { 
    background: #35465c;
  } 

  a.tumblr-share-btn , .share-links a.tumblr-share-btn::before { 
    background: #35465c;
  } 

  a.pinterest-share-btn  { 
    background: #e13138;
  } 

  a.pinterest-share-btn , .share-links a.pinterest-share-btn::before { 
    background: #e13138;
  } 

  a.reddit-share-btn  { 
    background: #ff4500;
  } 

  a.reddit-share-btn , .share-links a.reddit-share-btn::before { 
    background: #ff4500;
  } 

  a.vk-share-btn  { 
    background: #45668e;
  } 

  a.vk-share-btn , .share-links a.vk-share-btn::before { 
    background: #45668e;
  } 

  a.odnoklassniki-share-btn  { 
    background: #ee8208;
  } 

  a.odnoklassniki-share-btn , .share-links a.odnoklassniki-share-btn::before { 
    background: #ee8208;
  } 

  a.pocket-share-btn  { 
    background: #ef4056;
  } 

  a.pocket-share-btn , .share-links a.pocket-share-btn::before { 
    background: #ef4056;
  } 

  .share-links a.facebook-share-btn, .share-links a.facebook-share-btn::before { 
    background: #4080FF;
  } 

  .share-btn-icon  { 
    font-size: 15px;
  } 

  a .share-btn-icon  { 
    width: 40px; 
    height: 40px; 
    float: left; 
    display: block; 
    text-align: center; 
    line-height: 40px;
  } 
     

a .share-btn-icon  { 
    float: right;
} 


  a .social-text  { 
    border: 0 solid rgba(255,255,255,0.3); 
    border-left-width: 1px; 
    padding-left: 15px; 
    height: 20px; 
    float: left; 
    margin-top: 10px; 
    padding-right: 25px; 
    font-size: 12px; 
    line-height: 20px; 
    font-family: "open sans", sans-serif;
  } 


a .social-text  { 
    float: right; 
    border-right-width: 1px; 
    border-left-width: 0; 
    padding-right: 15px; 
    padding-left: 25px;
} 

@media all{ 
  .share-links a.twitter-share-btn, .share-links a.twitter-share-btn::before { 
    background: #000;
  } 

  .share-links a.linkedin-share-btn, .share-links a.linkedin-share-btn::before { 
    background: #238cc8;
    text-align: center;
    line-height: 45px;
  } 

  .screen-reader-text { 
    border: 0; 
    clip: rect(1px,1px,1px,1px); 
    clip-path: inset(50%); 
    height: 1px; 
    margin: -1px; 
    overflow: hidden; 
    padding: 0; 
    position: absolute; 
    width: 1px; 
    word-wrap: normal!important;
  } 

  .screen-reader-text { 
    clip: rect(1px, 1px, 1px, 1px); 
    position: absolute !important; 
    height: 1px; 
    width: 1px; 
    overflow: hidden;
  } 

  .screen-reader-text { 
    clip: rect(1px,1px,1px,1px); 
    word-wrap: normal!important; 
    border: 0; 
    clip-path: inset(50%); 
    height: 1px; 
    margin: -1px; 
    overflow: hidden; 
    overflow-wrap: normal!important; 
    padding: 0; 
    position: absolute!important; 
    width: 1px;
  } 

  .share-links a.tumblr-share-btn, .share-links a.tumblr-share-btn::before { 
    background: #35465c;
  } 

  .share-links a.pinterest-share-btn, .share-links a.pinterest-share-btn::before { 
    background: #e13138;
  } 

  .share-links a.reddit-share-btn, .share-links a.reddit-share-btn::before { 
    background: #ff4500;
  } 

  .share-links a.vk-share-btn, .share-links a.vk-share-btn::before { 
    background: #45668e;
  } 

  .share-links a.odnoklassniki-share-btn, .share-links a.odnoklassniki-share-btn::before { 
    background: #ee8208;
  } 

  .share-links a.pocket-share-btn, .share-links a.pocket-share-btn::before { 
    background: #ef4056;
  } 
}     
.breadcrumbs{text-align: right;
  background: #fff;
  margin-right: 20px;
  }

header .navbar{padding: 0; position: relative}

.mega-menu .dropdown-menu {
    width: 100%;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
}

.mega-menu-content .row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  flex-direction: row;
}

.mega-menu-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.mega-menu-item h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.mega-menu-item .post-date {
    font-size: 0.85rem;
    color: #999;
}
 #navbarNav #primary-menu .mega-menu-content{
  width: 100%;
  left: 0;
  right: 0;
}
@media (min-width: 992px) {
   #navbarNav #primary-menu .mega-menu-post, #ftco-nav #primary-menu .mega-menu-post {
    width: 20%;
    padding: 0 10px;
    float: right;
  }
}
  .menu-item.mega-menu.dropdown{position: inherit}
 /* Hide mega menu content on mobile */
.mega-menu-content {
    display: none; /* Hidden by default */
}

/* Show mega menu content when hovering or on mobile click */
@media (max-width: 991px) {
    .mega-menu:hover .mega-menu-content {
        display: none !important;
    }
}

.mega-menu .mega-menu-content {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

/* Display the mega menu content on hover */
.mega-menu:hover .mega-menu-content {
    display: block;
}
.mega-menu .menu-builder .mega-menu-post h5 a{
   text-align: right;
   color: #333
}
.mega-menu .menu-builder .mega-menu-item{
    text-align: right;
}

/* Hide mega menu content on mobile */
@media (max-width: 991px) {
    .mega-menu .mega-menu-content {
        display: none !important; /* Ensure it's hidden on mobile */
    }
}

/* Disable mega menu content on mobile */
@media (max-width: 991px) {
    .mega-menu .mega-menu-content {
        display: none !important; /* Hide mega menu on mobile */
    }

    /* Ensure submenus are visible */
    .menu-item-has-children > .sub-menu {
        display: block; /* Keep regular submenus functional */
    }

    /* Add proper spacing for mobile menus */
    .menu-item-has-children > a {
        display: inline-block;
        width: 100%; /* Make the links clickable across the width */
    }
}
/* Submenu styles for mobile */
@media (max-width: 991px) {
    .menu-item-has-children > .sub-menu {
        position: relative;
        background: #f9f9f9;
        padding: 10px;
        border: 1px solid #ddd;
    }

    .menu-item-has-children > a {
        font-weight: bold;
    }
}
.menu-item {
    position: relative;
}

/* Style for the 'More ...' dropdown */
.menu-item.more {
    position: relative;
}

.menu-item.more .dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    list-style: none;
    z-index: 1000;
    width: 200px; /* Adjust width as needed */
}

.menu-item.more .dropdown-menu li {
    padding: 5px 15px;
    white-space: nowrap;
}

.menu-item.more .dropdown-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 14px;
    text-align: right
}

.menu-item.more .dropdown-menu li a:hover {
    background-color: inherit;
  color: #fff;
}

/* Show the dropdown menu when the parent has the 'open' class */
.menu-item.more.open .dropdown-menu {
    display: block;
}
/* Hide the submenu by default */
.sub-menu {
    display: none;
    overflow: visible;
    max-height: 500px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

/* Style for showing the submenu */
.menu-item-has-children.open .sub-menu {
    display: block;
    max-height: 500px; /* Adjust based on your submenu content */
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Optional: Style the arrow */
.menu-item-has-children > a::after {
    content: '▾'; /* Down arrow symbol */
    float: left; /* Adjust for your theme's alignment */
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Rotate arrow when open */
.menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

  .menu-sidebar-menu-container .menu-item-has-children > .sub-menu {
    position: relative;
    background: #fff;
    padding: 10px;
    border: 1px solid #fff;
    display: none;
  }
@media(max-width: 767px){
  .dropdown-menu.less-than-5-items.show{width: 100%;text-align: right;left: 10px;box-shadow: none;
  border: none;}
  #primary-menu .menu-item {width: 100%; text-align: right}
  #ftco-nav #primary-menu{width: 100%}
  .layout2 .dropdown-menu.show, .layout1 .dropdown-menu.show {width: 100%;
  left: 0;
  right: 0;
  box-shadow: none;
  border: none;}
}
.layout2 .navbar-toggler{margin-right: 20px !important}
.layout4 header .navbar{position: inherit}
.video-item{position: relative;}
.related-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns */
    gap: 20px; /* Space between grid items */
    margin-top: 15px;
}

.related-video-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.related-video-item a {
    display: block;
    text-decoration: none;
    color: #333;
}

.related-video-item img {
    width: 100%;
    height: 260px; /* Set a fixed height for consistency */
    object-fit: cover; /* Ensures the image covers the container without distortion */
    border-radius: 8px 8px 0 0;
}

.related-video-item h4 {
    font-size: 16px;
    margin: 10px;
    padding: 5px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .related-videos-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on tablets */
    }
}

@media (max-width: 768px) {
    .related-videos-grid {
        grid-template-columns: repeat(1, 1fr); /* Single column on mobile */
    }
}
.video-widget-grid .video-item img{height: 190px;
  max-width: 100%;
  object-fit: cover;}
.acme-news-ticker-label{line-height: 25px;}
@media (max-width: 767px){
    .two-column-widget .second-column .post {
  display: flex;
  flex-direction: inherit;
  align-items: center;
  text-align: center;
}
.two-column-widget .post a {
  font-size: 15px;
  margin-right: 10px;
}
.post-navigation a .wp-post-image{
    height: 60px;
    width: 100px;
    border-radius: 50%;
}
.video-widget-grid .video-item img{height: auto;margin-bottom: 10px;}
}
.tabbed-content-widget .tabbed-content ul{padding: 0;
  list-style: none;}
.tabbed-content-widget .tabbed-nav{
    display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.tabbed-content-widget .tabbed-nav li {
  width: 100%;
  text-align: center;
}
.wp-block-categories-list{    padding: 0;
    list-style: none;}
     .footer-widget ul{padding: 0;}
