@font-face {
    font-family: 'D-DIN Exp';
    src: url('../fonts/D-DINExp-Bold.eot');
    src: url('../fonts/D-DINExp-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/D-DINExp-Bold.woff2') format('woff2'),
        url('../fonts/D-DINExp-Bold.woff') format('woff'),
        url('../fonts/D-DINExp-Bold.ttf') format('truetype'),
        url('../fonts/D-DINExp-Bold.svg#D-DINExp-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN Condensed';
    src: url('../fonts/D-DINCondensed-Bold.eot');
    src: url('../fonts/D-DINCondensed-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/D-DINCondensed-Bold.woff2') format('woff2'),
        url('../fonts/D-DINCondensed-Bold.woff') format('woff'),
        url('../fonts/D-DINCondensed-Bold.ttf') format('truetype'),
        url('../fonts/D-DINCondensed-Bold.svg#D-DINCondensed-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN Exp';
    src: url('../fonts/D-DINExp-Italic.eot');
    src: url('../fonts/D-DINExp-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/D-DINExp-Italic.woff2') format('woff2'),
        url('../fonts/D-DINExp-Italic.woff') format('woff'),
        url('../fonts/D-DINExp-Italic.ttf') format('truetype'),
        url('../fonts/D-DINExp-Italic.svg#D-DINExp-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN Exp';
    src: url('../fonts/D-DINExp.eot');
    src: url('../fonts/D-DINExp.eot?#iefix') format('embedded-opentype'),
        url('../fonts/D-DINExp.woff2') format('woff2'),
        url('../fonts/D-DINExp.woff') format('woff'),
        url('../fonts/D-DINExp.ttf') format('truetype'),
        url('../fonts/D-DINExp.svg#D-DINExp') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN Condensed';
    src: url('../fonts/D-DINCondensed.eot');
    src: url('../fonts/D-DINCondensed.eot?#iefix') format('embedded-opentype'),
        url('../fonts/D-DINCondensed.woff2') format('woff2'),
        url('../fonts/D-DINCondensed.woff') format('woff'),
        url('../fonts/D-DINCondensed.ttf') format('truetype'),
        url('../fonts/D-DINCondensed.svg#D-DINCondensed') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN';
    src: url('../fonts/D-DIN-Bold.eot');
    src: url('../fonts/D-DIN-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/D-DIN-Bold.woff2') format('woff2'),
        url('../fonts/D-DIN-Bold.woff') format('woff'),
        url('../fonts/D-DIN-Bold.ttf') format('truetype'),
        url('../fonts/D-DIN-Bold.svg#D-DIN-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN';
    src: url('../fonts/D-DIN-Italic.eot');
    src: url('../fonts/D-DIN-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/D-DIN-Italic.woff2') format('woff2'),
        url('../fonts/D-DIN-Italic.woff') format('woff'),
        url('../fonts/D-DIN-Italic.ttf') format('truetype'),
        url('../fonts/D-DIN-Italic.svg#D-DIN-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'D-DIN';
    src: url('../fonts/D-DIN.eot');
    src: url('../fonts/D-DIN.eot?#iefix') format('embedded-opentype'),
        url('../fonts/D-DIN.woff2') format('woff2'),
        url('../fonts/D-DIN.woff') format('woff'),
        url('../fonts/D-DIN.ttf') format('truetype'),
        url('../fonts/D-DIN.svg#D-DIN') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #EEEEEE;
  padding: 0 !important;
  margin: 0;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  font-family: 'D-DIN';
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: normal;
}

img,
a,
input,
nav,
textarea,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

a {
  display: inline-block;
  color: #000;
  text-decoration: none;
  background-color: transparent;
  transition: all 0.3s ease;
}

a:hover {
  color: $secondary;
}

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

.container {
  max-width: 1310px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}
/* General Styles */
.journal-section {
  text-align: center;
  position: relative;
}

.journal-content{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	max-width: 618px;
	text-align: center;
	width: 100%;
	padding: 0 15px;
}

.journal-title {
  font-size: 46px;
line-height: 58px;
  font-family: "Marcellus", serif;
  color: #fff;
  margin-bottom: 25px;
  width: 100%;
  z-index: 2;
}

.journal-description {
  font-size: 18px;
	line-height: 23px;
  color: #fff;
  z-index: 2;
}

/* Image Styles */
.journal-banner {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.blog-main{
	padding-top: 60px;
	padding-bottom: 60px;
}

.tab-head{
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 50px;
}

.journal-tabs {
    display: flex;
    gap: 25px;
	overflow-x: auto;
}
.tab {
    padding: 0;
	background: transparent;
	border: none;
	outline: none;
    cursor: pointer;
	position: relative;
	color: #8E8E93;
	font-size: 18px;
	line-height: 23px;
	margin-bottom: 4px;
	white-space: nowrap;
}
.tab.active{
	color: #000;
}
.tab::after {
    content: '';
    width: 100%;
    height: 1px;
    background: transparent;
    bottom: -4px;
    position: absolute;
    left: 0;
    right: 0;
}
.tab.active::after {
   background: #000;
}
.search-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
	margin-left: auto;
}
.search-wrapper .search-btn{
		background: transparent;
	width: 40px;
	height: 40px;
	border: 1px solid #8E8E93;
	padding: 0;
	outline: none;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.search-wrapper .search-input{
	border: 1px solid #8E8E93;
    border-radius: 40px;
    background: #fff;
    padding: 8px 18px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    color: #000;
    outline: none;
}

.top-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.grid-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.blog-main .top-card,
.blog-main .grid-card{
	margin-bottom: 60px;
}

.blog-main .content {
    margin-bottom: 20px;
	color: #000;
	padding-top: 10px;
	/*border-top: 1px solid #8E8E93;*/
}

.blog-main .content .date{
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	margin-bottom: 30px;
    display: block;
    border-bottom: 1px solid #8E8E93;
    padding-bottom: 20px;
    margin-top: 10px;
}

.blog-main .content .post-author{
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 30px;
    display: block;
}

.blog-main .content h2,
.blog-main .content h2 a{
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	margin-bottom: 20px;
	display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.blog-main .content h2 a{
	margin-bottom: 0;
}

.blog-main .content a{
	font-size: 15px;
	font-weight: 500;
	line-height: normal;	
	color: #000;
	transition: all .3s ease;
}

.blog-main .content a:hover{
	color: #D87B1E;
}

.blog-main .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius: 8px;
	position: absolute;
    inset: 0;
}

.blog-main .image{
	display: flex;	
	position: relative;
}
.blog-main .top-card .image{
	padding-bottom: 55%;
	overflow: hidden;
    border-radius: 8px;
}
.blog-main .grid-card .image{
	padding-bottom: 64%;
	overflow: hidden;
    border-radius: 8px;
}
.blog-main .image a img {
    transition: all .3s ease;
}
.blog-main .image a:hover img {
    transform: scale(1.1);
}
.journal-wrapper .custom-pagination{
    display: flex;
    justify-content: space-between;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    gap: 10px;
}

.journal-wrapper .custom-pagination .page-info{
	font-size: 18px;
	line-height: normal;
	font-weight: 400;
}

.journal-wrapper .custom-pagination .page-arrow{
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: #000000;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
}

.journal-wrapper .custom-pagination .page-arrow.disabled{
	background-color: #8E8E93;
	cursor: not-allowed;
	pointer-events: none;
}

#search-form {
    display: none;
    transition: all 0.3s ease;
}

.blog-detail-hero{
	background: linear-gradient(180deg, #4E2C0F 0%, #000000 100%);
	padding: 110px 0 60px;
}

.blog-detail-hero .back-link{
	display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    line-height: 28px;
    color: #ffffff;
    margin-bottom: 32px;
    text-decoration: none;
}

.blog-detail-hero .blog-detail-title{
	font-size: 46px;
	line-height: 58px;
    color: #fff;
	max-width: 900px;
	display: -webkit-box;
  	/* -webkit-line-clamp: 3; */
  	-webkit-box-orient: vertical;  
  	overflow: hidden;
	margin-bottom: 16px;
}

.blog-detail-hero .blog-hero-bottom{
	display: flex;
    align-items: center;
    gap: 10px;
}

.blog-detail-hero .blog-hero-bottom .post-meta{
	color: #fff;
}

.blog-detail-hero .blog-hero-bottom .post-category{
	background: rgba(255,255,255,.8);
    color: #000000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
	pointer-events: none;
}
.blog-detail-hero .blog-hero-bottom .post-category a{
    color: #000000;
}
.blog-detail-content{
	padding-top: 60px;
	padding-bottom: 60px;
}
.blog-detail-content .post-image{
	margin-bottom: 30px;
}
.blog-detail-content .post-image img{
	width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.blog-detail-content .post-content p{
	font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #000;
    margin-bottom: 16px;
}
.blog-detail-content .post-content h2,
.blog-detail-content .post-content h3{
	font-family: "Marcellus", serif;
	font-size: 32px;
	line-height: normal;
    color: #000;
	margin-bottom: 8px;
}
.blog-detail-content .post-content ul{
	list-style: disc;
    padding-left: 24px;
}
.blog-detail-content .post-content ul li{
	font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #000;
    margin-bottom: 16px;
}
.blog-detail-content .post-content ul li::marker{
	color: #000;
}

.blog-detail-content .post-content a{
	color: #D87B1E;
	text-decoration: underline;
}
.blog-detail-footer{
    display: flex;
    align-items: center;
	justify-content: space-between;
    gap: 16px;
	margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgb(142 142 147 / 50%);
}
.post-social{
	display: flex;
    align-items: center;
	justify-content: space-between;
    gap: 16px;
}
.post-social p{
	font-size: 16px;
    font-weight: 500;
    color: #000;
}
.post-social .addtoany_list a span{
	display: block !important;
}
.latest-posts h2{
	font-size: 36px;
	line-height: normal;
	color: #000;
	font-family: "Marcellus", serif;
	margin-bottom: 20px;
}
.latest-posts .grid-card{
	margin: 0;
}

/* General Responsive Styles */
@media (max-width: 1200px) {
    .grid-posts {
        grid-template-columns: repeat(2, 1fr);
    }
/* 	--- */
	.blog-detail-hero .blog-detail-title {
        font-size: 36px;
        line-height: 48px;
    }

    .blog-detail-content .post-image img {
        height: 300px;
    }
	.blog-main .grid-card .image {
		padding-bottom: 55%;
	}
	.latest-posts .grid-card{
		margin-bottom: 30px;
	}
}

@media (max-width: 991px) {
	.tab{
		font-size: 16px;
		line-height: 20px;
	}

    .journal-title {
        font-size: 36px;
        line-height: 48px;
    }

    .journal-description {
        font-size: 16px;
        line-height: 20px;
    }

    .blog-main .content h2,
	.blog-main .content h2 a{
        font-size: 20px;
        -webkit-line-clamp: 2;
    }

    .blog-main .content .date {
        font-size: 16px;
		margin-bottom: 20px;
    }
	.blog-main .top-card, .blog-main .grid-card {
		margin-bottom: 30px;
	}
/* 	---- */
	.blog-detail-hero .blog-detail-title {
        font-size: 30px;
        line-height: 40px;
    }

    .blog-detail-hero .blog-hero-bottom {
        gap: 15px;
    }

    .blog-detail-content .post-image img {
        height: 250px;
    }

    .blog-detail-content .post-content h2,
    .blog-detail-content .post-content h3 {
        font-size: 24px;
    }

    .blog-detail-footer {
        padding-top: 24px;
		margin-top: 24px;
    }

    .latest-posts h2 {
        font-size: 28px;
    }
	.blog-detail-hero .back-link{
		margin-bottom: 10px;
	}
}
@media (max-width: 767px){
	.blog-main,
	.blog-detail-content,
	.blog-detail-hero{
		padding-top: 40px;
		padding-bottom: 40px;
	}
	.blog-detail-hero{
		padding-top: 100px;
	}
	.top-posts {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .grid-posts {
        grid-template-columns: 1fr;
        gap: 20px;
    }
	.journal-banner {
        min-height: 250px;
    }
	.tab-head{
		margin-bottom: 30px;
	}
	.blog-detail-hero .back-link{
		font-size: 16px;
	    line-height: normal;
	}
	.blog-main .grid-card .image,
	.blog-main .top-card .image {
		padding-bottom: 65%;
	}
}
@media (max-width: 480px) {
    .journal-title {
        font-size: 28px;
        line-height: 38px;
    }

    .journal-description {
        font-size: 14px;
        line-height: 18px;
    }    

    .top-posts {
        gap: 15px;
    }

    .grid-posts {
        gap: 15px;
    }
/* 	---- */
	.blog-detail-hero .blog-detail-title {
        font-size: 24px;
        line-height: 32px;
    }

    .blog-detail-hero .blog-hero-bottom {
        gap: 10px;
    }

    .blog-detail-content .post-image img {
        height: 200px;
    }

    .blog-detail-content .post-content h2,
    .blog-detail-content .post-content h3 {
        font-size: 22px;
    }

    .blog-detail-footer {
        padding-top: 16px;
		margin-top: 16px;
		flex-wrap: wrap;
    }

    .latest-posts h2 {
        font-size: 24px;
    }
}

