/*
Theme Name: Editor News
Theme URI: https://themearile.com/editor-news-theme/
Template: newsexo
Author: ThemeArile
Author URI: https://themearile.com
Description: Editor News is a professional and modern WordPress theme that is perfect for any Blog/Magazine, news, and even for all variants of publishers' websites.
Version: 1.2
Text Domain: editor-news
*/

/*--------------------------------------------------
=>> Body Custom Background Css
--------------------------------------------------*/
body.custom-background .theme-bg-dark,
body.custom-background .theme-bg-default, 
body.custom-background .theme-blog.theme-bg-grey {
    background-color: transparent !important;
}

/*--------------------------------------------------
=>> Wrapper Background Css
--------------------------------------------------*/
#wrapper {
    background-color: #f0f1f3;
}

/*--------------------------------------------------
=>> Typography Css
--------------------------------------------------*/
h3 {
    font-weight: 900 !important;
}

/*--------------------------------------------------------------
=>> Site Header
--------------------------------------------------------------*/
.site-header {
    background: #012761 !important;
    transition: all 0.3s ease;
}
.head-contact-info li, 
.site-header .custom-social-icons .followus {
    color: #ffffff !important;
}
.custom-social-icons .followus:before, 
.custom-social-icons .followus:after {
    background: #ffffff !important;
}
.site-header .custom-social-icons li > a {
    color: #ffffff !important;
}

/*--------------------------------------------------------------
=>> Site Branding & Advertisement
--------------------------------------------------------------*/
.site-branding .site-title a, 
.site-branding .site-description {
	color: #fff;
}
.site-branding .site-title a:hover, 
.site-branding .site-title a:focus, 
.site-branding .site-description:hover, 
.site-branding .site-description:focus {
	color: #fff;
}
.logo-banner-overlay::before {
    background: #013079 !important;
}

/*--------------------------------------------------------------
=>> Responsive Header Fixes
--------------------------------------------------------------*/
@media (max-width: 767px) {
  /* Make logo align left instead of centered */
  .site-header .site-branding {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100%;
    padding-left: 15px;
  }

  .site-header .site-branding img {
    max-height: 45px;
    height: auto;
    width: auto;
  }

  /* Reduce header height */
  .site-header {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    min-height: 25px !important;
  }

  /* Navigation spacing */
  .site-header .main-navigation {
    margin-top: 0 !important;
    padding: 0 10px;
  }

  /* Adjust mobile menu icon alignment */
  .main-navigation .menu-toggle {
    position: absolute;
    right: 15px;
    top: 15px;
  }

  /* Remove excessive gaps */
  .site-header + .site-content,
  .header-area + .content-area {
    margin-top: 0 !important;
  }
}

/*--------------------------------------------------------------
=>> Trending News Section
--------------------------------------------------------------*/
.trending-news-col h6 {
    color: #012761;
}

/*--------------------------------------------------------------
=>> Big News Section - Featured News
--------------------------------------------------------------*/
.big-news-section .overlay-news-area.vrsn-five {
	background-color: #fff;
	padding: 0.625rem;
	border-radius: 25px;
    border-bottom: 5px solid #012761 !important;
    border: 2px solid #012761;
	position: relative;
}
.big-news-section .overlay-news-area.vrsn-five .post-thumbnail {
	border-radius: 20px;
}
.big-news-section .overlay-news-area.vrsn-five .post-thumbnail:after {
    content: "";
    position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(1, 39, 97, 0.15);
    transform: translate(-50%, -50%) rotate(-45deg);
}
.big-news-section .overlay-news-area.vrsn-five .post-thumbnail:hover:after {
	height: 250%;
	transition: all 800ms linear;
	background-color: transparent;
}
.big-news-section .overlay-news-area.vrsn-five img {
	width: 100%;
	transition: all 0.4s ease-in-out;	
}
.big-news-section .overlay-news-area.vrsn-five:hover img {
	transform: scale(1.1) rotate(2deg);
}

/*--------------------------------------------------------------
=>> Featured News Section
--------------------------------------------------------------*/
.featured-news-section .overlay-news-area.vrsn-five {
	background-color: #fff;
	padding: 0.625rem;
	border-radius: 25px;
    border-bottom: 5px solid #012761 !important;
    border: 2px solid #012761;
	position: relative;
}
.featured-news-section .overlay-news-area.vrsn-five img {
	width: 100%;
	transition: all 0.4s ease-in-out;	
}
.featured-news-section .overlay-news-area.vrsn-five:hover img {
	transform: scale(1.1) rotate(2deg);
}

/*--------------------------------------------------------------
=>> Grid View News Section
--------------------------------------------------------------*/
.grid-view-news-area.vrsn-five {
	background-color: #fff;
	padding: 1.25rem;
	border-radius: 25px;
	border-bottom: 5px solid #012761 !important;
    border: 2px solid #012761;
	position: relative;	
    transition: 0.4s;
}
.grid-view-news-area.vrsn-five:hover {
	transform: translateY(-3px);
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

/*--------------------------------------------------------------
=>> Blog List Section
--------------------------------------------------------------*/
.list-view-news-area .post.vrsn-five {
	background-color: #fff;
	padding: 1.25rem;
	border-radius: 25px;
	border-bottom: 5px solid #012761 !important;
    border: 2px solid #012761;
	position: relative;	
    transition: 0.4s;
}
.list-view-news-area .post.vrsn-five:hover {
	transform: translateY(-3px);
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

/*--------------------------------------------------------------
=>> Sidebar & Widgets
--------------------------------------------------------------*/
.sidebar.vrsn-five .widget {
	background-color: #fff;
	padding: 1.25rem;
	border-radius: 25px;
	border-bottom: 5px solid #012761 !important;
    border: 2px solid #012761;
	position: relative;
	box-shadow: 2px 5px 20px rgb(0 0 0 / 7%);
    transition: 0.4s;
}
.sidebar.vrsn-five .widget:hover {
	transform: translateY(-3px);
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

/*--------------------------------------------------------------
=>> Footer
--------------------------------------------------------------*/
.site-footer-overlay::before {
    background: #012761;
}
.footer-sidebar .widget ul li a {
	color: #e0e0e0;
}

/*--------------------------------------------------------------
=>> Mobile Layout Optimizations
--------------------------------------------------------------*/
@media (max-width: 767px) {
  /* Single-column posts */
  .blog-list-view-post .col-lg-8,
  .blog-list-view-post .col-md-6,
  .blog-list-view-post .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Sidebar below content */
  .sidebar {
    margin-top: 30px;
  }

  /* Improve readability */
  .entry-title {
    font-size: 1.1rem !important;
    line-height: 1.4;
  }

  .entry-meta {
    font-size: 13px;
  }
}
