/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
#page.grid-container {
  max-width: 100% !important;
  padding-top: 40px;
  padding-bottom: 40px;
}

.separate-containers.no-sidebar .site-main,
.separate-containers .site-main,
.inside-right-sidebar {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body,
#page,
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.one-container .container,
.separate-containers .paging-navigation,
.inside-page-header {
  background: #ffffff;
}

.separate-containers .inside-article {
  padding: 0;
}

.entry-content,
.entry-content:not(:first-child) {
  margin-top: 0;
}

header.entry-header {
  display: none;
}
.hfe-flyout-wrapper .hfe-side {
    display: none;
    position: fixed;
    z-index: 999999;
    padding: 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    -webkit-backface-visibility: hidden;
}
.hfe-nav-menu__layout-horizontal, .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
    -js-display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}
ul.hfe-nav-menu, .hfe-nav-menu li, .hfe-nav-menu ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.newscanvass-container,
#content {
  max-width: 1280px !important;
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.text-white {
  color: #fff !important;
}

header#masthead {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0
}

body, ul, li, ol, p, span,
h1, h2, h3, h4, h5, h6, a {
	font-family: 'Kanit', sans-serif!important;
}

h2, h3 {
	font-weight: 700!important;
}

	p {
    	font-size: 16px;
    	color: #333;
    	letter-spacing: 1.1px;
    	line-height: 25px;
	}

.first-post-wrapper h4 {
	font-weight: 600!important
}

/*desktop slider*/
.slick-initialized .slick-slide {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
}

.slider-card {
  width: 100%;
  /* Initial width for the first two cards */
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  height: 400px;
  flex-basis: 48%;
  border-radius: 20px;
  margin-bottom: 50px;
}

.slider-card:nth-child(n+3) {
  width: 100;
  /* Width for the remaining cards */
  height: 250px;
  flex-basis: 31.33%;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0px 0px 20px 20px;
  background: rgba(0, 0, 0, 0.60);
  padding: 15px;
  text-align: center;
  color: #fff;
}

/*Mob Slider*/

.slider-mob .slider-card {
  width: 100%;
  /* Initial width for the first two cards */
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  height: 300px;
  flex-basis: 100%;
  border-radius: 20px;
}

.slick-prev:before,
.slick-next:before {
  color: #000;
}

.slick-prev:before {
  content: '<';
}

.slick-next:before {
  content: '>';
}

.slick-dots li button {
  width: 12px;
  height: 12px;
  background: #000;
  border-radius: 50%
}

/*category post design*/
.recent-posts-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between
}

/*.recent-posts-container img{
			border-radius: 20px;    
			width: 100%;
			height: auto;
			margin-bottom: 15px;    
			-webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
			box-shadow: 0 0 10px 0 rgba(0,0,0,.15);
		}*/
.first-post-wrapper,
.recent-posts-container .post-thumbnail {
  /*padding-bottom: calc(0.66 * 100%);*/
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 20px;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
}

} 
.recent-posts-container img {
  height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: calc(50% + 1px);
  left: calc(50% + 1px);
  -webkit-transform: scale(1.01) translate(-50%, -50%);
  -ms-transform: scale(1.01) translate(-50%, -50%);
  transform: scale(1.01) translate(-50%, -50%);
  display: block;
  width: 100%;
  max-height: none;
  max-width: none;
  -webkit-transition: -webkit-filter .3s;
  transition: -webkit-filter .3s;
  -o-transition: filter .3s;
  transition: filter .3s;
  transition: filter .3s, -webkit-filter .3s;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.first-post {
  flex-basis: 48%;
  /* Adjust the width as needed */
}

.other-posts-wrapper {
  flex-basis: 48%;
}

.other-posts {
  margin-bottom: 20px;
  /* Adjust the spacing between the other posts */
  display: flex;
  align-items: center;
}

.post-thumbnail {
  flex-basis: 30%;
  margin-right: 10px;
  /*padding-bottom: calc(0.22 * 100%) !important;*/
}

.other-posts .post-thumbnail img {
  margin-bottom: 0
}

.post-title {
  flex-basis: 70%;
  /* Adjust the width as needed */
}

/*single post*/
body:not(.page) .post-container,
body:not(.page) .inside-article,
body:not(.page) .entry-content-sidebar .related-post {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

body:not(.page) .entry-content {
  flex: 0 0 calc(70% - 20px);
  /* Three equal-width posts with a 20px margin in between */
  margin-bottom: 20px;
	width: calc(70% - 20px);
}

body:not(.page) .entry-content a {
  font-weight: bold;
  color: #fcb900
}

body:not(.page) .entry-content-sidebar {
  flex: 0 0 calc(30% - 20px);
  /* Three equal-width posts with a 20px margin in between */
  margin-bottom: 20px;
	width: calc(30% - 20px);
}

body:not(.page) .sidebar-content {
  position: -webkit-sticky;
  position: sticky;
  top: 125px;
}

body:not(.page) .entry-content-sidebar .related-post {
  flex: 0 0 100%;
  /* Three equal-width posts with a 20px margin in between */
  margin-bottom: 20px;
}

body:not(.page) .entry-content-sidebar .related-post img {
  flex: 0 0 calc(40% - 20px);
  /* Three equal-width posts with a 20px margin in between */
  margin-bottom: 20px;
  width: calc(40% - 20px) !important;
  height: auto !important;
}

body:not(.page) .entry-content-sidebar .related-post .post-title {
  flex: 0 0 calc(60% - 20px);
  /* Three equal-width posts with a 20px margin in between */
  margin-bottom: 20px;
}

.related-post {
  flex: 0 0 calc(33.33% - 20px);
  /* Three equal-width posts with a 20px margin in between */
  margin-bottom: 20px;
}

.related-post-weather {
  border-radius: 20px;
  height: 81px;
  padding: 25px 30px;
  flex: 0 0 calc(16.6667% - 20px);
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  text-align: center;
  color: #FFF;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
}

.post-img-thumbnail,
.post-feat-img {
  border-radius: 20px;
  margin: 0 auto 20px;
}

.post-img-thumbnail {
  width: auto;
  height: 250px;
}

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

.related-post .post-feat-img {
  width: 100% !important;
  height: auto !important
}

.post-title h5,
.post-title p {
  margin: 0;
}

@media (max-width:1280px) {

  .newscanvass-container,
  #content {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1024px) {

  body:not(.page) .related-post,
  body:not(.page) .entry-content,
  body:not(.page) .entry-content-sidebar,
  body:not(.page) .entry-content-sidebar .related-post .post-title,
  body:not(.page) .entry-content-sidebar .related-post img {
    flex: 0 0 100%;
    /* Full width on smaller screens */
    width: 100% !important
  }

  .related-post-weather {
    flex: 0 0 calc(33.33% - 20px)
  }

  .recent-posts-container,
  .other-posts {
    flex-direction: column;
  }

  .first-post,
  .other-posts-wrapper,
  .post-thumbnail,
  .post-title {
    flex-basis: 100%;
  }

  .first-post,
  .other-posts {
    margin-bottom: 20px;
  }

  .post-thumbnail {
    margin-right: 0;
    margin-bottom: 10px !important;
    width: 100% !important;
    /*padding-bottom: calc(0.66 * 100%) !important*/
  }

  .recent-posts-container h4,
  .recent-posts-container h6 {
    font-weight: 500 !important;
    font-size: 18px !important;
    line-height: 28px !important;
  }
}

/* Media Query for screens below a certain width (adjust as needed) */
@media (max-width: 767px) {

  .newscanvass-container,
  #content {
    padding-left: 10px;
    padding-right: 10px;
  }

  body,
  ul,
  li,
  ol,
  p {
    font-size: 14px;
    line-height: 22px;
  }

  h1 {
    font-size: 24px;
    line-height: 32px;
  }

  h2 {
    font-size: 22px;
    line-height: 30px;
  }

  h3 {
    font-size: 20px;
    line-height: 28px;
  }

  h4 {
    font-size: 18px;
    line-height: 26px;
  }

  h5 {
    font-size: 17px;
    line-height: 25px;
  }

  h6 {
    font-size: 16px;
    line-height: 24px;
  }
}

.today-gold-rate-gm-wrapper {
	position: relative;
}
.carat-gold-price-head {
	color: #000;
	font-size: 24px;
	font-weight: 600;
	text-transform: capitalize;
}
.gold-rate-per-gm-table {
	border: 1px solid #000!important;
	border-collapse: collapse;
}
.gold-rate-per-gm-table tr.first {
	background: #FFDBA6;
}
.gold-rate-per-gm-table tr td{
	width: 25%;
	padding: 20px 10px;
	color: #000;
	text-align: center;
}
.gold-rate-per-gm-table tr.first .heading {
	background: #FFDBA6;
	font-size: 20px;
	font-weight: 700;
}
.gold-rate-per-gm-table tr.odd_row {
	background-color: #ddd;
}
td.gold-gm-weight {
	font-size: 18px;
	font-weight: 500;
}
td.gold-gm-rate {
	color: #000;
	font-size: 24px;
	font-weight: 600;
}
td.gold-rate-lose-gain,
td .gold-rate-lose-gain{
	font-size: 24px;
	font-weight: 600;
}
td.gold-rate-lose-gain.loss,
td .gold-rate-lose-gain.lose {
	color: #E42A3C;
}
td.gold-rate-lose-gain.gain,
td .gold-rate-lose-gain.gain {
	color: green;
}
td.gold-rate-date {
	font-size: 18px;
	font-weight: 500;
}

.gold-rate-card-wrapper{
	border-radius: 25px;
	background: url('/wp-content/uploads/2024/01/gold-rates-feat-img.png'), lightgray 0px 0px / 100% 169.014% no-repeat;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	min-height: 500px;
}
.dflex{
	display:flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
}
.gold-rate-card-head {
	padding: 12px 16px;
	border-radius: 25px 25px 0px 0px;
	background: rgba(0, 0, 0, 0.50);
	margin-bottom: 10px;
}
.gold-rate-card-body  {
	padding-left: 40px;	
	padding-right: 40px;	
	position: relative;
}
.gold-icon {   
	position: absolute;
    left: 20px;
    top: 20px;
    bottom: 0;
    margin-top: auto;
    margin-bottom: auto;
}
.city-name {
	margin-bottom: 10px;
	display: block;
	color: #FFF;
	font-size: 48px;
	font-weight: 600;
	line-height: normal;
	text-transform: uppercase;
}
.date-wrapper {    
	color: #FFF;
	font-size: 24px;
	font-weight: 600;
	line-height: normal;
	text-transform: capitalize;
}
.city-dropdown {
	position: relative;
}
.city-wrapper {
	display: inline-block;
	position: relative
}
.city-dropdown {
	padding: 10px 15px;
	cursor: pointer;
	border:0;
	border-radius: 10px;
	background: #FFF;
	color: #A2A2A2;
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	text-transform: capitalize;
	min-width: 288px;
	width: 100%;
}
.city-names {
	display: none;
	position: absolute;
	background-color: #FFF;  
	min-width: 160px;
	max-height: 200px; /* Set the max height for the dropdown */
	overflow-y: auto; /* Enable vertical scrollbar */
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	width: 100%;
	z-index: 999;
}
.city-names.open {
	display: block;
}
.city-names div {
	padding: 12px;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
}
.city-names div:last-child {
	border-bottom: none;
}

.today-gold-rate-wrapper {
	border-radius: 15px;
	border: 2px solid #000;
	background: #FFF;
	width: calc(49% - 20px);
	padding: 10px;
	margin: 20px;
	text-align: center;
	position: relative;
}
.ten-gm-gold-rate {
	color: #000;
	font-size: 18px;
	font-weight: 400;
}
.ten-gm-gold-rate span {
	font-weight: 700;
}
.today-gold-rate {
	color: #000;
	font-size: 30px;
	font-weight: 500;
}
@media screen and (max-width:767px) {
	.gold-rate-card-head,
	.gold-rate-card-body {
		flex-wrap: wrap;
	}
	.gold-rate-card-body {
		padding-left: 20px;
		padding-right: 20px;
	}
	.today-gold-rate-wrapper {
		width: 100%;
		margin-left:0;
		margin-right:0;
	}
	.city-name {
		font-size: 28px;
	}
	.date-wrapper {
		font-size: 16px;
	}
	.city-dropdown {    
		font-size: 18px;    
		min-width: auto;
		margin-top:15px;
	}
	.carat-gold-price-head,
	.today-gold-rate {
		font-size: 20px;
	}
	.gold-rate-per-gm-table tr.first .heading,
	td.gold-gm-weight,
	td.gold-gm-rate,
	td.gold-rate-lose-gain, td .gold-rate-lose-gain,
	td.gold-rate-date {
		font-size: 14px;
	}
	.gold-rate-per-gm-table tr td {
		padding: 8px;
	}
	.related-post-weather {
    	flex: 0 0 calc(50% - 20px)
  	}
}

	/* slider */
	.slider-container {
		width: 100%;
		overflow: hidden;
		position: relative; /* Needed for dot positioning */
		margin-top: 50px;
	}
	#hero-sllider .slider-container {
		margin-top: 20px;
	}
	.slider {
		display: flex;
		transition: transform 0.3s ease-in; /* Slide animation */
	}
	#hero-sllider .slide,
	.slide {
		display: flex;
		flex-direction: column;
		flex: 0 0 100%;
		align-items: center;
		flex-wrap: wrap;
	}	
	#hero-sllider .first-post,
	.slide .first-post {
		display: flex;	
		flex: 0 0 auto;
		margin: 10px 10px;
		align-items: center
	}	
	#hero-sllider .first-post-wrapper,
	.slide .first-post-wrapper { 
		width: 100px;
		height: 100px;
		flex: 1 0 100px;	
		margin-bottom: 0;
		margin-right: 20px;
		background-size: cover;
		background-repeat: no-repeat;
		background-position: center;
	}
	#hero-sllider .first-post-title,
	.slide .first-post-title {
		width: calc(100% - 100px);
		flex: 1 0 calc(100% - 100px);
		height: auto;
	}
	.slide .first-post:nth-child(2),
	#hero-sllider .slide .first-post:nth-child(2){
		padding-top: 0;
	}

	/* Style for slider dots */
	.slider-dots {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		display: flex;
		margin-top: 10px;
	}

	.slider-dot {
		width: 10px;
		height: 10px;
		background-color: #bbb;
		border-radius: 50%;
		margin: 0 5px;
		cursor: pointer;
	}

	.slider-dot.active {
		background-color: #333;
	}
	@media screen and (min-width:768px) {
		.slide {	  
			flex-direction: row;
			align-items: flex-start;
		}
		.slide .first-post {
			flex: 0 0 calc(33.33% - 20px);
			margin: 0 10px;
			display: block;
		}
		.slide .first-post:nth-child(2) {   
			padding-top: 10%;
		}
		.slide .first-post-wrapper {
			height: 250px;
			width: calc(100% - 20px);
			margin-bottom: 20px;
		}
		.slide .first-post-title {
			width: 100%;
			flex: 100%;
			height: 100%;
		}
	}

@media screen and (max-width:767px) {
	.home-gold-rate {
		flex-wrap: wrap;
	}
	.slide .first-post-title h4 {
		font-size: 14px;
		line-height: 20px;
		margin-bottom: 0 !important;
	}
	#hero-sllider .first-post-wrapper,
	.slide .first-post-wrapper { 
		width: 75px;
		height: 75px;
		flex: 1 0 75px;	
	}
	#hero-sllider .first-post-title,
	.slide .first-post-title {
		width: calc(100% - 75px);
		flex: 0 1 calc(100% - 75px);
		height: auto;
	}
}

/* home page new */
.block-title {
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
}
.block-title .elementor-heading-title {
	display: inline-block;
	position: relative;
	z-index:1;
}
.block-title .elementor-heading-title:after {
    content: "";
    position: absolute;
    width: 80%;
    height: 8px;
    bottom: -5px;
    left: 0;
    z-index: -1;
    margin: auto;
    background: #ff914d;
}

.post-container .post-img-block {    
	width: 100px;
    height: 100px;
}

.post-container .post-img {
	width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 4px;
}

.post-container .post-cat,
.post-container .post-author{    
	color: #FF914D;
    font-weight: 600;
    margin-bottom: 5px;
    display: inline-block;
}

.post-container .post-date {
	font-size: 14px;
    color: #828282;
}

.post-container .post-box-title{	
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.hero-left h4,
.hero-right h5,
.two-large h4,
.one-large h5{
	font-size: 18px;
	line-height: 22px;
	font-weight: 500;
	margin-bottom:5px;    
}

/*hero left*/
.hero-left .post-box,
.two-large .post-box,
.one-large .post-box,
.finshala .post-box,
.personalities .post-box:nth-child(1),
.personalities .post-box:nth-child(2){    
	display: flex;
    align-items: flex-start;
	margin-bottom:30px
}
.finshala .post-box,
.personalities .post-box:nth-child(1),
.personalities .post-box:nth-child(2){
	flex-direction: row-reverse;
}
.hero-left .post-img-block,
.two-large .post-img-block,
.one-large .post-img-block{	
  margin-right: 15px;
}
.finshala .post-img-block,
.personalities .post-box:nth-child(1) .post-img-block,
.personalities .post-box:nth-child(2) .post-img-block{
    margin-left: 15px;
}
.hero-left .post-content-block,
.two-large .post-content-block,
.one-large .post-content-block,
.finshala .post-content-block{
    width: calc(100% - 115px);
}

/*hero right*/
.hero-right .post-box,
.two-large .post-box:nth-child(1),
.two-large .post-box:nth-child(2),
.one-large .post-box:nth-child(1) {
	margin-bottom:20px;
	display: flex;
	flex-direction: column
}
.hero-right .post-box:nth-child(2){
	display: none;
}
.hero-right .post-img-block {
    margin-bottom: 10px;
	width: 100%;
	height: 130px;
}

/** hero center **/
.hero-center .post-box:not(:first-child) {
	display: none;
}
.hero-center .post-img-block {
    margin-bottom: 10px;
	width: 100%;
	height: 320px;
}

.two-large {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.two-large .post-box {
	width: calc(49% - 10px)
}
/*.two-large .post-author {
	display: none;
}*/
.one-large .post-box:nth-child(1) .post-img-block,
.two-large .post-box:nth-child(1) .post-img-block,
.two-large .post-box:nth-child(2) .post-img-block {
	height: 210px;
	width: 100%;
	margin-right: 0;
	margin-bottom: 10px
}
.one-large .post-box:nth-child(1) .post-img-block {
	height: 180px;	
}
.one-large .post-box:nth-child(1) .post-content-block,
.two-large .post-box:nth-child(1) .post-content-block,
.two-large .post-box:nth-child(2) .post-content-block {
	width: 100%;
}
.two-large .post-box:nth-child(1) .post-content-block h4,
.two-large .post-box:nth-child(2) .post-content-block h4,
.one-large .post-box:nth-child(1) .post-content-block h5{
	font-size: 18px;
	line-height: 22px;
	font-weight: 500;
}
.two-large .post-box:nth-child(1) .post-author,
.two-large .post-box:nth-child(2) .post-author{
	display: inline-block;
}

/** Gold rate home **/
.home-gold-rate-new .today-gold-rate-wrapper{
    border-radius: 0;
    border: 0;
    background: transparent;
    padding: 50px 0 0 50px;
    text-align: left;
    background-image: url(/wp-content/uploads/2024/08/gold-rate-bg.png);
    background-position: center;
    background-size: contain;
    height: 284px;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
}
.home-gold-rate-new .ten-gm-gold-rate {
    font-size: 24px;
}
.home-gold-rate-new .ten-gm-gold-rate span {
    font-weight: 600;
    font-size: 28px;
}
.home-gold-rate-new .today-gold-rate {
    font-size: 36px;
    font-weight: 600;
}

.personalities {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.personalities .post-box {
	width: 31%;
}
.personalities .post-box .post-img-block{
	width: 100%;
	height:250px;
	margin-bottom:10px;
}
.personalities .post-box:nth-child(1),
.personalities .post-box:nth-child(2) {
	width: 48%;	
}
.personalities .post-box:nth-child(1) .post-img-block,
.personalities .post-box:nth-child(2) .post-img-block,
.personalities .post-box:nth-child(1) .post-content-block,
.personalities .post-box:nth-child(2) .post-content-block{
	width: 49%;
}
.personalities .post-box:nth-child(1) .post-img-block,
.personalities .post-box:nth-child(2) .post-img-block {
	height:200px;
	margin-bottom:0;
}
.personalities .post-box:nth-child(1) .post-img,
.personalities .post-box:nth-child(2) .post-img {
	background-size:contain;
}
.personalities .post-box .post-img {
	background-position: top;
}

.home-weather-today  {    
	background-image: url(/wp-content/uploads/2024/08/weather-today-bg.png);
    background-size: cover;
    background-position: center;
    height: 146px;
}
.home-weather-today-temperature {
	margin-bottom:5px
}
.home-weather-today-city {
	text-transform: capitalize;
	margin:0;
	padding:0;
}
.home-weather-today-wrapper-left {
    padding-left: 20px;
    padding-top: 40px;	
}
.home-weather-today-wrapper-right {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-end;
	padding-right:20px;
}
.home-weather-today-wrapper-right img {
	height: 80px;
	width:auto;
}
.home-weather-today-forecast {
	width: 100%;
	text-align: center;
}
@media screen and (max-width:1024px)  {
	.home-gold-rate-new .today-gold-rate-wrapper {  
		width: 100%;
    	height: 120px;
		height: 190px;
		padding: 15px 0 0 10px;
		background-size: cover;
	}
	.home-gold-rate-new .ten-gm-gold-rate {
		font-size: 16px;
		margin-bottom: 5px;
	}
	.home-gold-rate-new .ten-gm-gold-rate span {
		font-size: 18px;
	}
	.home-gold-rate-new .today-gold-rate {
    font-size: 20px;
    margin-bottom: 0;
	}
}
@media screen and (max-width:840px) {
	.home-gold-rate-new .today-gold-rate-wrapper {  
		height: 120px;
	}
	.two-large .post-box,
	.personalities .post-box,
	.personalities .post-box .post-img-block, 
	.personalities .post-box .post-content-block{
		width: 100%!important;
	}
	.personalities .post-box {    
		flex-wrap: wrap;
		flex-direction: column;
		margin-bottom: 30px;
	}
	.home-weather-today {
		height: auto;
	}
}
.loader {
	border: 4px solid #f3f3f3; /* Light grey */
	border-top: 4px solid #3498db; /* Blue */
	border-radius: 50%;
	width: 30px;
	height: 30px;
	animation: spin 1s linear infinite; /* Apply animation */
	margin: 0 auto; /* Center loader horizontally */
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.related-post-weather {
	background-size: contain !important;
}
.pagination {
    display: flex;
    justify-content: center;	
}
.pagination .page-numbers {
    padding: 0 10px;
    font-size: 16px;	
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	font-size: 16px;
	color: #FF914D;
	text-decoration: underline;
}
.category-banner + .post-container {
	margin-top:450px
}
.category-banner {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 400px;
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
	text-align: center;
	display: flex;
	align-items: center;
}
.finance-post-container .related-post{
	border-radius: 15px;
	background: #FFFCE9;
	padding: 20px 25px;
	border: 0.5px solid #000000;
	box-shadow: 0px 4px 4px 0px #00000026;
	flex: 0 0 calc(25% - 20px);
}
.finance-post-container .related-post img {
	margin-left: auto;
	margin-right: auto;
	display: block;
}
.finance-post-container .post-title {
	font-size: 16px;
	font-weight: 500;
	line-height: 23.92px;
	text-align: left;
}
.finance-post-container .post-rm {    
	background: #000;
	border-radius: 10px;
	color: #FFFCE9;
	padding: 5px 8px;
	display: inline-block;
	font-weight:500;
	font-size: 12px;
	line-height: 18px;
}
@media screen and (max-width:840px) {
	.category-banner {
		height: 300px;
	}
	.category-banner + .post-container {
		margin-top:350px
	}
}
@media screen and (max-width:540px) {
	.category-banner {
		height: 250px;
	}
	.category-banner + .post-container {
		margin-top:250px
	}
}

/*biography*/
.bio-page-header {
  position: absolute;
  height: 400px;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  align-items: center;
  background-image: url("https://newscanvass.com/wp-content/uploads/2024/10/Famous-Personalities-2.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.bio-page-header-title {
  max-width: 1280px !important;
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
}
.bio-page-header-title h2,
.bio-page-header-title p {
  color: #fff !important;
}
.bio-page-content {
  margin-top: 420px;
  padding-top: 50px;
}
.bio-section {
  margin-bottom: 20px;
}
.bio-posts-section {
  border: 2px solid #0b314c;
  padding: 6px 4px 6px 4px;
  box-shadow: 0px 4px 4px 0px #00000040;
  max-width: 340px;
  width: 100%;
  margin-bottom: 30px;
}
.bio-post-section-title {
  background: #0b314c;
  padding: 7px 10px 7px 10px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 500 !important;
  line-height: 48px !important;
  text-align: center;
  margin: 0 !important;
}
.bio-posts-container {
  display: flex;
  flex-wrap: wrap;
}
.bio-posts-wrapper {
  width: calc(20% - 20px);
  margin-bottom: 20px;
  margin-left: 10px;
  margin-right: 10px;
}
.bio-posts {
  display: block;
}
.bio-posts-see-more .bio-post-thumbnail{
	display: flex;
    justify-content: center;
    align-items: center;
} 
.bio-posts-see-more img{
	width: 40px;
	height: 40px;
}
.bio-post-thumbnail {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 200px;
  height: 200px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1000px;
  margin-bottom: 20px;
}
.bio-post-title {
  box-shadow: 0px 3px 2px 0px #00000040;
  background: #fffce9;
  padding: 5px 10px;
}
.bio-post-title h4 {
  font-size: 24px;
  font-weight: 400;
  line-height: 36px !important;
  text-align: center;
  color: #000000;
  margin: 0 !important;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
}
.bio-post-excerpt {
  height: 0px;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  bottom: 0;
  box-shadow: 0px 3px 2px 0px #00000040;
  background: #fffce9;
  padding: 5px 10px;
}
.bio-posts:hover .bio-post-excerpt {
  height: 100%;
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 1279px) {
  .bio-posts-wrapper {
    width: calc(25% - 20px);
  }
}
@media screen and (max-width: 1024px) {
  .bio-page-header-title {
    padding-left: 40px;
    padding-right: 40px;
  }
  .bio-posts-wrapper {
    width: calc(33% - 20px);
  }
}
@media screen and (max-width: 767px) {
  .bio-page-header {
    height: 250px;
  }
  .bio-page-content {
    margin-top: 250px;
  }
  .bio-page-header-title {
    padding-left: 10px;
    padding-right: 10px;
  }
  .bio-posts-wrapper {
    width: calc(50% - 20px);
  }
  .bio-post-title h4 {
    font-size: 18px;
    line-height: 26px !important;
  }
}
@media screen and (max-width: 480px) {
  .bio-posts-wrapper {
    width: calc(50% - 20px);
  }
  .bio-post-thumbnail {
    height: 130px;
    width: 130px;
  }
}
/* Single bio */
.single-biography .slider-container {
  padding-bottom: 30px;
}
.single-biography .slide {
  background-repeat: no-repeat;
  background-position: 10% 82%;
  background-size: 15%;
}
.single-biography .slide_inner_wrapper {
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  padding: 40px;
  height: 600px;
}
.single-biography .slide_inner_block {
  width: 400px;
  margin-left: 40px;
}
.single-biography .celebrity-details-title {
  margin-bottom: 5px;
  text-transform: uppercase;
}
.single-biography .slide:nth-child(1) {
  background-color: #fffef1;
}
.single-biography .slide:nth-child(2) {
  background-color: #fff1fd;
}
.single-biography .slide:nth-child(3) {
  background-color: #f7fff1;
}
.single-biography .slide:nth-child(4) {
  background-color: #fff1f1;
}
.single-biography .slider-subtitle {
  position: absolute;
  bottom: 50px;
  margin-left: 50px;
}
.single-biography .slider-subtitle span {
  height: 3px;
  background: #000;
  width: 70px;
  display: inline-block;
  padding-left: 50px;
  padding-right: 50px;
  vertical-align: middle;
}
.single-biography .slide_img_wrapper {
  display: none;
}
@media screen and (max-width: 767px) {
  .single-biography .slide_inner_block {
    width: 90%;
    margin-left: 20px;
  }
  .single-biography .slide_img_wrapper {
    display: block;
    text-align: center;
  }
  .single-biography .slide_img_wrapper img {
    width: auto;
    height: 400px;
  }
  .single-biography .slide_inner_wrapper {
    height: auto;
    background: none !important;
  }
  .single-biography .celebrity-details-title,
  .single-biography .celebrity-details-description {
    display: inline-block;
  }
}