/* *************Reset CSS*************** */
/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* *************Reset CSS*************** */

@font-face {
    font-family: 'TitleFont'; /* Name you will use for the font */
    src: url('./fonts/TypoGroteskThin-Zh1hi15D.woff') format('woff'); /* Path to the font file */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'TitleFont-Regular'; /* Name you will use for the font */
    src: url('./fonts/TypoGrotesk-Yk_LQked.woff') format('woff'); /* Path to the font file */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'TitleFont-Bold'; /* Name you will use for the font */
    src: url('./fonts/TypoGroteskBold-6_VEDeBl.woff') format('woff'); /* Path to the font file */
    font-weight: normal;
    font-style: normal;
}

html{
    font-size: 16px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
}
.title-font{
    font-family: "TitleFont-Regular", sans-serif;
}
.title-font_bold{
    font-family: "TitleFont-Bold", sans-serif;
}
header{
    padding:20px 0;
    box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 1px 0px;
}
.logo{
    height: 40px;
}
.main-menu{
    display: flex;
    gap: 25px;
}
.header-actions{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: wrap;
}
.header-search .search-form{
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-search .search-field{
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
}
.header-search .main-button{
    padding: 8px 16px;
    font-size: 14px;
}
.main-menu a{
    color: #000;
    text-decoration: none;
}
.main-button{
    background-color: #c94f4f;
    font-size: 16px;
    padding:12px 24px;
    display: inline-block;
    text-decoration: none;
    color:#fff;
   font-family: "TitleFont-Regular", sans-serif;
   letter-spacing: 0.5px;
   border-radius: 8px;
   transition: all 0.1s ease-in-out;
}
.main-button:hover{
    transform: scale(1.05);
}
.blog-date{
    font-size:16px;
    font-weight: 600;
    opacity: 0.65;
}
.blog-title{
    font-size: 18px;
    color:#000;
    font-family: "TitleFont-Bold", sans-serif;
    margin-bottom: 25px;
    margin-top:10px;
    line-height: 1.25;
}
.blog-title a{
    color:#000;
    text-decoration: none;
    line-height: 1.25;
    display: inline-block;
}
.blog-hero{
    height: calc(100vh - 80px);
    display: block;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid #eaeaea;
}
.blog-hero .blog-title{
    font-size: 48px;
    line-height: 1;
}
.blog-image{
    aspect-ratio: 1/1;
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;

}
.blog-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.15s ease-in-out;
}
.section{
    padding:40px 0;
}
.blog-content{
    padding:15px 0;
}
.blog-card .blog-title a{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card .blog-title a:hover{
    text-decoration: underline;
}
.blog-card .blog-image {
    aspect-ratio: 4 / 3;
}
.blog-card .blog-image:hover img{
    transform: scale(1.05);
}
.blog-card .blog-date{
    font-size: 13px;
}
.bg-alternative{
    background-color: #f5f5f5;
}
.text-link{
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.section-title{
    font-family: "TitleFont-Bold", sans-serif;
    font-size: 24px;
}
.swiper-buttons{
    position: absolute;
    top:0;
    right:0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:5px;
}
.swiper-buttons span{
    display: inline-flex;
    aspect-ratio: 1/1;
    align-items: center;
    justify-content: center;
    width: 30px;
    border: 1px solid #131313;
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
}
.swiper-buttons span:hover{
    cursor: pointer;
    background-color: #c94f4f;
    color:#fff;
    border-color: #c94f4f;
}
.position-relative{
    position: relative;
}
.swiper-pagination-bullet-active{
    background-color: #c94f4f;
}
.category{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-top:15px;
    gap:5px;
    flex-wrap: wrap;
}
.category li{
    flex-shrink: 0;
}
.category li a{
    display: inline-block;
    padding:8px 16px;
    border: 2px solid #cacaca;
    border-radius: 50px;
    text-decoration: none;
    color:#000;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.15s ease-in-out;
}
.category li a:hover{
    background-color: #ececec;
}
.category li .active{
    background-color: #c94f4f;
    color:#fff;
}
.pagination{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.pagination li a,
.pagination li span{
    text-decoration: none;
    color: #000;
    font-family: "TitleFont-Bold", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    width: 38px;
    border: 1px solid #e2e2e2;
    border-radius: 999px;
    background-color: #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.pagination li .prev, .pagination li .next{
    background-color: #f8f8f8;
    border-radius: 999px;
}
.pagination li .prev:hover, .pagination li .next:hover{
    color:#fff;
    background-color: #131313;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
}
.pagination li .prev{
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}
.pagination li .next{
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}
.pagination li .current{
    background-color: #c94f4f;
    color:#fff;
    border-color: #c94f4f;
    box-shadow: 0 10px 24px rgba(201, 79, 79, 0.35);
}
.pagination li .dotts{
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #777;
    width: 28px;
    cursor: default;
}
.pagination li .pages:not(.current):hover{
    background-color: #f2f2f2;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.blog-content .blog-header, .blog-content .blog-share, .blog-content .blog-writeup{
    padding:0 25px;
}
.blog-content .blog-header h1{
    font-size: 36px;
    font-family: "TitleFont-Bold", sans-serif;
    white-space: pre-line;
    line-height: 1.25;
    margin-bottom: 15px;
}
.blog-content .blog-header .blog-meta{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap:15px;
    font-family: "TitleFont-Bold", sans-serif;
    margin-bottom: 15px;
}
.blog-content .blog-header .blog-meta li{
    position: relative;
}
.blog-content .blog-header .blog-meta li p{
    font-size: 16px;
}
.blog-content .blog-header .blog-meta li:before{
    content:'';
    position: absolute;
    top:50%;
    transform: translateY(-50%) scaleY(1.0000001);
    right:-7px;
    width: 1px;
    height: 75%;
    background-color: #131313;
    opacity: 0.45;
}
.blog-content .blog-header .blog-meta li .categorys{
    gap:10px;
    display: flex;
    align-items: center;
}
.blog-content .blog-header .blog-meta li .categorys a{
    display: inline-block;
    position: relative;
    color: #000;
}
.blog-content .blog-header .blog-meta li .categorys a:after{
    content:',';
    padding-left:5px;
}
.blog-content .blog-header .blog-meta li .categorys a:last-of-type::after{
    content:'';
}
.blog-content .blog-share{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-family: "TitleFont-Regular", sans-serif;
    margin-top: 25px;
}
.blog-content .blog-share ul{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-left: 15px;
    gap:30px;
}
.blog-content .blog-share ul li a{
    color: #000;
    text-decoration: none;
    font-size: 24px;
}
.blog-content .blog-share ul li a:hover{
    color: #c94f4f;
}
.blog-content .blog-banner{
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
    margin:25px 0;
    border-radius: 24px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}
.blog-content .blog-banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.blog-content .blog-writeup{
    padding:5px 0 30px 0;
}
.blog-content .blog-writeup h2{
    font-size: 24px;
    font-family: "TitleFont-bold", sans-serif;
    margin-bottom: 15px;
    margin-top: 45px;
}
.blog-content .blog-writeup h3{
    font-size: 20px;
    font-family: "TitleFont-bold", sans-serif;
    margin-bottom: 15px;
    margin-top: 45px;
}
.blog-content .blog-writeup h4{
    font-size: 18px;
    font-family: "TitleFont-bold", sans-serif;
    margin-bottom: 15px;
    margin-top: 45px;
}
.blog-content .blog-writeup h5, .blog-content .blog-writeup h6{
    font-size: 16px;
    font-family: "TitleFont-bold", sans-serif;
    margin-bottom: 15px;
}
.blog-content .blog-writeup > p{
    margin-bottom: 25px;
    font-size: 18px;
}
.blog-content .blog-writeup p{
    font-size: 18px;
    line-height: 1.8;
}
.blog-content .blog-writeup ul{
    list-style-type: disc;
    margin-bottom: 25px;
    padding-left: 40px;
    line-height: 1.8;
    font-size: 18px;
}
.blog-content .blog-writeup ol{
    list-style-type: decimal;
    margin-bottom: 25px;
    padding-left: 40px;
    line-height: 1.8;
    font-size: 18px;
}
.blog-footer{
    padding:24px 0;
}
.blog-footer p:first-of-type{
    font-family: "TitleFont-bold", sans-serif;
    margin-bottom: 15px;
}
.blog-footer p:last-of-type{
    line-height: 1.8;
    font-size: 14px;
}
footer{
    text-align: center;
    background-color: #c94f4f;
    color: #fff;
    padding: 15px 0;
}

@media only screen and (max-width:1025px){
    .blog-hero .blog-title{
        font-size: 24px;
        line-height: 1;
    }
    .blog-hero{
        height: auto;
        padding:40px 0;
    }
}
