
.blog-grid .news-block-two .inner-box{
	margin-bottom: 0px;
}

.sidebar-page-container{
	position: relative;
}

.sidebar-page-container .news-block-one .inner-box{
	padding: 0px 50px;
}

.sidebar-page-container .news-block-one .inner-box .lower-content .post-info{
	display: block;
	padding-top: 0px;
	border-top: none;
	margin-bottom: 10px;
}

.sidebar-page-container .news-block-one .inner-box .lower-content .post-info li{
	float: left;
	margin-right: 40px;
}

.sidebar-page-container .news-block-one .inner-box .lower-content .post-info li:last-child{
	margin: 0px;
}

.sidebar-page-container .news-block-one .inner-box .lower-content .post-info li:before{
	position: absolute;
	content: '';
	background: #D9D9D9;
	width: 1px;
	height: 20px;
	top: 4px;
	right: -21px;
}

.sidebar-page-container .news-block-one .inner-box .lower-content .post-info li:last-child:before{
	display: none;
}

.sidebar-page-container .news-block-one .inner-box .lower-content h3{
	font-size: 28px;
	line-height: 38px;
}

.sidebar-page-container .news-block-one .inner-box .lower-content p{
	margin-bottom: 0px;
}

.sidebar-page-container .news-block-one .inner-box .lower-content{
	padding-bottom: 42px;
}

.sidebar-page-container .news-block-one .inner-box{
	margin-bottom: 70px;
}

.sidebar-page-container .news-block-one .inner-box:before{
	height: calc(100% - 230px);
}


.blog-sidebar{
	position: relative;
	display: block;
}

.blog-sidebar .sidebar-widget{
	position: relative;
	background: #FFFFFF;
	box-shadow: 0px 20px 80px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	margin-bottom: 70px;
	padding: 40px;
}

.blog-sidebar .sidebar-widget:last-child{
	margin-bottom: 0px;
}

.blog-sidebar .search-widget .form-group{
	position: relative;
	margin-bottom: 0px;
}

.blog-sidebar .search-widget .form-group input[type='search']{
	position: relative;
	display: block;
	width: 100%;
	height: 60px;
	border: 1px solid #e5e5e5;
	border-radius: 5px;
	font-size: 16px;
	color: #6E6E6E;
	padding: 10px 30px;
	padding-right: 60px;
	transition: all 500ms ease;
}

.blog-sidebar .search-widget .form-group button{
	position: absolute;
	top: 18px;
	right: 20px;
	font-size: 18px;
	color: #222;
	cursor: pointer;
	transition: all 500ms ease;
}

.blog-sidebar .search-widget .form-group input:focus{

}

.blog-sidebar .search-widget .form-group input:focus + button,
.blog-sidebar .search-widget .form-group button:hover{

}

.blog-sidebar .widget-title{
	position: relative;
	display: block;
	margin-bottom: 22px;
}

.blog-sidebar .widget-title h3{
	font-size: 24px;
	line-height: 34px;
	font-weight: 600;
}

.blog-sidebar .category-widget .category-list li{
	position: relative;
	display: block;
	padding: 12px 0px;
	border-bottom: 1px solid #e5e5e5;
}

.blog-sidebar .category-widget .category-list li:last-child{
	border-bottom: none;
}

.blog-sidebar .category-widget .category-list li a{
	position: relative;
	display: block;
	font-size: 16px;
	color: #222;
	font-weight: 500;
}

.blog-sidebar .category-widget .category-list li a:hover{

}

.blog-sidebar .category-widget .category-list li a:before{
	position: absolute;
	content: '\e92d';
	font-family: 'icomoon';
	font-size: 12px;
	top: 0px;
	right: 0px;
	font-weight: 400;
	opacity: 0;
	transition: all 500ms ease;
}

.blog-sidebar .category-widget .category-list li a:hover:before{
	opacity: 1;
}

.blog-sidebar .category-widget{
	padding-top: 32px;
	padding-bottom: 22px;
}

.blog-sidebar .category-widget .widget-title{
	margin-bottom: 13px;
}

.blog-sidebar .post-widget .post{
	position: relative;
	display: block;
	padding: 5px 0px 5px 110px;
	min-height: 90px;
	margin-bottom: 30px;
}

.blog-sidebar .post-widget .post:last-child{
	margin-bottom: 0px;
}

.blog-sidebar .post-widget .post .post-thumb {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 90px;
    height: 90px;
    border-radius: 50%; /* This makes the container round */
    overflow: hidden; /* This hides the parts of the image that are outside the circle */
}

.blog-sidebar .post-widget .post .post-thumb img {
    width: 100%; /* Ensures the image fills the container */
    height: 100%; /* Ensures the image fills the container */
    object-fit: cover; /* This makes the image cover the area without distortion */
}

.blog-sidebar .post-widget .post h5{
	display: block;
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	margin-bottom: 4px;
}

.blog-sidebar .post-widget .post h5 a{
	display: inline-block;
	color: #222;
}

.blog-sidebar .post-widget .post h5 a:hover{

}

.blog-sidebar .post-widget .post .post-date{
	position: relative;
	display: block;
}

.blog-sidebar .tags-widget .tags-list{
	position: relative;
	margin: 0px -5px;
}

.blog-sidebar .tags-widget .tags-list li{
	position: relative;
	float: left;
	margin: 0px 5px 10px 5px;
}

.blog-sidebar .tags-widget .tags-list li a{
	position: relative;
	display: inline-block;
	font-size: 16px;
	color: #222;
	border: 1px solid #e5e5e5;
	font-weight: 500;
	border-radius: 30px;
	padding: 3px 13px;
	text-align: center;
}

.blog-sidebar .tags-widget .tags-list li a:hover{
	color: #fff;
}

.blog-sidebar .tags-widget{
	padding-bottom: 30px;
}

/** blog-details **/

.sidebar-page-container .news-block-one .inner-box .lower-content h2{
	display: block;
	font-size: 30px;
	line-height: 50px;
	font-weight: 600;
	margin-bottom: 30px;
}

.blog-details-content{
	position: relative;
	display: block;
}

.blog-details-content .news-block-one .inner-box .lower-content p{
	margin-bottom: 26px;
}

.blog-details-content .news-block-one .inner-box blockquote{
	position: relative;
	display: block;
	background: rgba(241, 241, 241, 0.5);
	border-radius: 10px;
	padding: 50px 50px 44px 50px;
	margin: 60px 0px;
}

.blog-details-content .news-block-one .inner-box blockquote .icon-box{
	position: relative;
	display: block;
	font-size: 24px;
	margin-bottom: 18px;
}

.blog-details-content .news-block-one .inner-box blockquote p{
	font-size: 18px;
	line-height: 28px;
	color: #222;
	font-weight: 500;
	margin-bottom: 12px;
}

.blog-details-content .news-block-one .inner-box blockquote h4{
	position: relative;
	display: block;
	font-size: 20px;
	line-height: 30px;
	font-weight: 600;
	padding-left: 68px;
}

.blog-details-content .news-block-one .inner-box blockquote h4:before{
	position: absolute;
	content: '';
	width: 50px;
	height: 2px;
	left: 0px;
	top: 10px;
}

.blog-details-content .news-block-one .inner-box .tags-list li{
	position: relative;
	display: inline-block;
	float: left;
	margin-right: 10px;
}

.blog-details-content .news-block-one .inner-box .tags-list li:last-child{
	margin: 0px;
}

.blog-details-content .news-block-one .inner-box .tags-list li{
  position: relative;
  display: inline-block;
  font-size: 16px;
  color: #222;
  font-weight: 500;
  border: 1px solid #e5e5e5;
  border-radius: 30px;
  padding: 3px 13px;
  text-align: center;
}

.blog-details-content .comment-form-area{
	position: relative;
	display: block;
	background: #FFFFFF;
	box-shadow: 0px 20px 80px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	padding: 42px 50px 50px 50px;
}

.blog-details-content .comment-form-area h3{
	display: block;
	font-size: 28px;
	line-height: 38px;
	font-weight: 600;
	margin-bottom: 32px;
}

.blog-details-content .comment-form-area .form-inner .form-group textarea{
	height: 150px;
}

.blog-details-content .comment-form-area .form-inner .form-group{
	margin-bottom: 30px;
}

.blog-details-content .comment-form-area .form-inner .form-group:last-child{
	margin-bottom: 0px;
}

.blog-details-content .comment-form-area .form-inner .theme-btn-one{
	padding: 13px 47px;
}

.pagination a.disabled { pointer-events: none; opacity: 0.5; }
























.animate-recent-articles:hover .widget-title h3 {
    color: red;
    transform: scale(1.05);
}

.animate-recent-articles .widget-title h3 {
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}



/* Sidebar Widget */
.sidebar-widget.contact-widget {
  text-align: center;
}

/* Title Styling */
.cta-title {
  font-size: 20.2px; /* Font size for desktop */
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
  letter-spacing: 0px;
  line-height: 1.3; /* Adjust line height for readability */
  text-transform: capitalize;
  text-align: center;
  word-wrap: break-word; /* Break long words correctly */
  max-width: 100%; /* Restrict heading width */
  margin-left: 0px;
  margin-right: 0px;
}

/* Dynamic Font Sizing - For responsive design */
@media (max-width: 768px) {
  .cta-title {
    font-size: 22px; /* Smaller font size on mobile */
  }
}

/* Description Styling */
.cta-description {
  font-size: 16px;
  color: #666; /* Slightly lighter gray for description text */
  margin-bottom: 25px;
  line-height: 1.6;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word; /* Break long words correctly */
}

/* Button Styling */
.cta-button {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #e74c3c; /* Red for CTA button */
  color: white;
  border-radius: 30px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Soft shadow for depth */
  position: relative; /* Ensure button stays on top of the circle */
  z-index: 1; /* Keep the button above the rotating circle */
}

/* Button Hover Effect */
.cta-button:hover {
  background: #c0392b; /* Darker red on hover */
  transform: translateY(-4px); /* Slight lift effect */
}

/* Button Active Effect */
.cta-button:active {
  transform: translateY(2px); /* Button press effect */
}

/* Hover effect on "About the Author" title */
.animate-author-box:hover .widget-title h3 {
transform: scale(1.05);
color: red;
}

/* Smooth transition for title */
.widget-title h3 {
transition: transform 0.3s ease, color 0.3s ease;
display: inline-block;
}

/* Apply glow to the outer container instead of the image */
.animate-author-box:hover .author-image {
box-shadow: 0 0 15px rgba(255, 0, 0, 0.3); /* Subtle red glow */
transition: box-shadow 0.3s ease;
}


/* Author name turns red on hover */
.animate-author-box:hover .author-name {
color: red;
}

/* Smooth transition for image and text */
.author-image img,
.author-name,
.author-designation {
transition: transform 0.3s ease, color 0.3s ease;
}

/* Shape + size of image */
.author-image {
border-radius: 50%;
overflow: hidden;
width: 90px;
height: 90px;
margin-right: 20px;
display: inline-block;
transition: box-shadow 0.3s ease; /* ← Added for glow animation */
}


/* Ensures image stays round */
.author-image img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}

/* Initial text colors */
.author-name {
color: #222;
}

.author-designation {
color: #666;
}

@keyframes rotateCircle {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.sidebar-widget.contact-widget:hover .cta-title {
  color: red;
  transform: scale(1.05); /* Slight zoom-in */
}

.cta-title {
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block; /* Needed for smooth scaling */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .sidebar-widget.contact-widget {
    padding: 25px 20px;
  }

  .cta-description {
    font-size: 14px;
  }

  .cta-button {
    padding: 8px 20px;
    font-size: 12px;
  }
}

/* General spacing for the blog title on all devices */
.custom-blog-title {
  text-align: center;
  margin-top: 50px; /* Adjust this for the desired space above the title on desktop */
  margin-bottom: -100px; /* Adjust this for the desired space below the title on desktop */
}

/* Override the margins specifically for mobile devices */
@media (max-width: 768px) {
  .custom-blog-title {
    margin-top: 50px; /* Smaller space above the title for mobile */
    margin-bottom: 0px; /* Smaller space below the title for mobile */
  }
}

/* Banner Image Start */
.page-title .bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-image: url(banner/blog.jpg);
}

/* CSS for Mobile View (active on screens up to 767px wide) */
@media (max-width: 767px) {
  .page-title .bg-layer {
    background-image: url(banner/blog-m.jpg);
    background-position: center;
    background-size: cover;
  }
}
/* Banner Image End*/

/* Blog Title Start*/
  .custom-blog-title h1 {
    max-width: 70%; /* Adjust this value to force wrapping */
    margin-left: auto;
    margin-right: auto;
  }
/* Blog Title End*/

/* Bullet Point Start*/
ui,li{
	margin: 10px;
}

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

ul.custom-bullets li {
  position: relative;
  padding-left: 28px;       /* reserve space for the icon */
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* icon locked to first line, not vertically centered */
ul.custom-bullets li::before {
  content: "\f00c";             /* Font Awesome checkmark */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 4px;                     /* small offset from the top, adjust as needed */
  width: 16px;
  height: 16px;
  font-size: 9px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
/* Bullet Point End*/

/* Tags Start*/
.blog-details-content p {
  text-align: justify;
  text-justify: inter-word;
}

.blog-details-content .tags-list {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 10px;   /* space between buttons */
    padding: 0;
    margin-top: 20px; /* optional spacing above */
}

.blog-details-content .tags-list li {
    float: none;   /* remove float */
    margin: 0;     /* reset margins */
    list-style: none;
}

/* General styles for blog content */
.blog-details-content p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Tags list container */
.blog-details-content .tags-list {
    display: flex;
    flex-wrap: wrap;       /* allow wrapping on small screens */
    justify-content: flex-start;  /* left aligned */
    align-items: center;
    gap: 10px;             /* space between buttons/tags */
    padding: 0;
    margin-top: 20px;
}

/* Tags list items */
.blog-details-content .tags-list li {
    list-style: none;
    margin: 0;
}

/* Optional: Tag styling */
.blog-details-content .tags-list li{
    display: inline-block;
    padding: 6px 12px;
    background: #f0f0f0;    /* light gray background */
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s, color 0.3s;
}

.blog-details-content .tags-list li:hover{
    background: #e60012;     /* brand red */
    color: #fff;
}

/* --- Responsive Media Queries --- */

/* Tablets (~768px - 1024px) */
@media (max-width: 1024px) {
    .blog-details-content p {
        font-size: 0.95rem;  /* slightly smaller for tablets */
    }

    .blog-details-content .tags-list li{
        font-size: 0.85rem;
        padding: 5px 10px;
    }
}

/* Small tablets / large phones (~600px - 767px) */
@media (max-width: 767px) {
    .blog-details-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .blog-details-content .tags-list {
        justify-content: flex-start;
        gap: 8px;
    }

    .blog-details-content .tags-list li{
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}

/* Mobile phones (<600px) */
@media (max-width: 599px) {
    .blog-details-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .blog-details-content .tags-list {
        flex-direction: column;  /* stack tags vertically */
        align-items: flex-start;
        gap: 6px;
    }

    .blog-details-content .tags-list li{
        font-size: 0.8rem;
        padding: 4px 8px;
        width: 100%;            /* make tags full width */
        text-align: center;      /* center text in full width tag */
    }
}
/* Tags End*/

/* Add space between Author and Footer in Responsive Start*/
@media (max-width: 991px) and (min-width: 768px) {
    .blog-sidebar .sidebar-widget.tags-widget.animate-author-box {
        margin-bottom: 70px;
    }
}
/* Add space between Author and Footer in Responsive End*/

/* Blog page Circle Effect Start*/
.lower-content .sec-title a h2 {
  color: #222; /* default color */
  transition: color 0.3s ease; /* smooth transition */
}

.lower-content .sec-title a:hover h2 {
  color: #d10000; /* your red shade */
}
/* Blog page Circle Effect End*/


/* Blog Detail page Banner Heading Start*/
.banner-heading {
    position: relative;
    display: block;
    font-size: 60px;
    line-height: 70px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 22px;
}
/* Blog Detail page Banner Heading End*/

/* Header Social Media Icone Center Start*/
.social-links {
    /* Ensures the individual social icons are aligned and spaced correctly */
    align-items: center;
}
/* Header Social Media Icone Center End*/