

/*=============================
	01. Variable CSS
===============================*/
:root {
    --tg-body-font-family: 'Inter', sans-serif;
    --tg-heading-font-family: 'Manrope', sans-serif;
    --tg-primary-color: #F4796C;
    --tg-secondary-color: #283255;
    --tg-secondary-darker-color: #1b2337;
    --tg-body-font-color: #545E69;
    --tg-heading-font-color: #183354;
    --tg-paragraph-color: #545E69;
    --tg-icon-color: #6D757F;
    --tg-border-color: #DFDFDF;
    --tg-border-dark: #273341;
    --tg-body-font-size: 16px;
    --tg-body-font-weight: 400;
    --tg-heading-font-weight: 700;
    --tg-body-line-height: 1.75;
    --tg-heading-line-height: 1.2;
    --tg-white: #ffffff;
}

/*=============================
	Typography
===============================*/
p {
    text-transform: none;
}
h1, h2, h3, h4, h5, h6 {
    text-transform: none;
}

.widget-title .title {
    margin-bottom: 0;
    font-size: 22px;
    font-family: var(--tg-heading-font-family);
    color: var(--tg-heading-font-color);
    margin-top: 0px;
    font-style: normal;
    line-height: var(--tg-heading-line-height);
    font-weight: var(--tg-heading-font-weight);
}


.default-content h1 {
    font-size: 2rem;
}
.default-content h2 {
    font-size: 1.8rem;
}
.default-content h3 {
    font-size: 1.6rem;
}
.default-content h4 {
    font-size: 1.4rem;
}
.default-content h5 {
    font-size: 1.2rem;
}
.default-content h6 {
    font-size: 1rem;
}

.default-content a,
.slide-desc a {
    position: relative;
    text-decoration: none;
}

.default-content a::after,
.slide-desc a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.50s ease;
}

.default-content a:hover::after,
.default-content a:focus::after,
.slide-desc a:hover::after,
.slide-desc a:focus::after {
    transform: scaleX(1);
}

/*=============================
	Preload
===============================*/
.loader-inner #loader .preload-text {
    margin: 0 0;
    text-transform: inherit;
    font-size: 44px;
    font-weight: 700;
    line-height: 1;
    font-family: var(--tg-body-font-family);
}

/* Hidden h1 in home */
.r-h {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: .0625rem !important;
    margin: -.0625rem !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: .0625rem !important;
}

/*=============================
	Header
===============================*/
/* header-two */
.header-style-two {
    background: var(--tg-secondary-darker-color);
}
.hl-left-side-four .date,
.hl-left-side-four .date i {
    color: var(--tg-gray-two);
}

.hl-right-side .header-search-wrap form {
    width: 100%;
}

.navbar-wrap ul li a {
    font-size: 15px;
    text-transform: uppercase;
}

/*=============================
	Tags
===============================*/
.post-tag {
    color: var(--tg-white);
    background: var(--tg-secondary-color);
}
.post-tag:hover {
    background: var(--tg-primary-color);
}
.post-tag-two {
    color: var(--tg-white);
    background: var(--tg-secondary-color);
    border: none;
    font-size: 12px;
    padding: 5.5px 8px 4px 8px;
}

.post-tag-five {
    font-size: 13px;
    letter-spacing: 0.78px;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
    color: var(--tg-icon-color);
    border-radius: 3px;
    border: 1px solid #B8C1CD;
    padding: 4.5px 8px;
    margin-bottom: 8px;
    display: inline-block;
}
.post-tag-five:hover {
    border-color: var(--tg-primary-color);
    background: var(--tg-primary-color);
    color: var(--tg-white);
}

/*=============================
	Cards
===============================*/
.news-banner-post-wrap p {
    font-size: 15px;
}
.banner-post-content-six {
    text-align: left;
}
.blog-post-meta .list-wrap {
    justify-content: left;
}

.featured-post-thumb {
    position: relative;
}
.featured-post-content .post-tag {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -13px;
}
.featured-post-content .post-tag:hover {
    background: var(--tg-primary-color);
}
.featured-post-thumb {
     border-radius: 0;
 }


/* Dates */
.blog-post-meta .list-wrap li i {
    font-size: 14px;
}
.blog-post-meta .list-wrap li {
    font-size: 12px;
}

.weekly-post-thumb,
.blog-details-thumb {
    position: relative;
}

.blog-details-thumb img {
    height: auto;
}
.blog-details-thumb .copyright-text {
    display: block;
    margin-top: 5px;
    text-align: right;
    padding-right: 10px;
}
.copyright-text {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/*=============================
	Video/slideshow picto on thumbs
===============================*/
.editor-post-thumb-three img {
    height: 180px;
}
.play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--tg-white);
    font-size: 18px;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    background: rgba(75, 74, 74, 0.6) !important;
    backdrop-filter: blur(2px) !important;
}
.play-btn i {
    color: #fff !important;
}
.blog-details-thumb a:hover .play-btn,
.banner-post-thumb-five a:hover .play-btn,
.featured-post-thumb a:hover .play-btn,
.editor-post-thumb-three a:hover .play-btn,
.video-post-thumb a:hover .play-btn {
    background: var(--tg-primary-color) !important;
}
.play-btn:hover {
    background: var(--tg-primary-color) !important;
}

/*=============================
	Aside
===============================*/
.list-category:last-child {
    border-bottom: 1px solid rgb(0 0 0 / 10%);
}
.list-category {
    position: relative;
    display: block;
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
}
.list-category li {
    position: relative;
    display: block;
    border-top: 1px solid rgb(0 0 0 / 10%);
}
.list-category li > a {
    position: relative;
    display: block;
    line-height: 24px;
    padding: 10px 60px 10px 25px;
    font-size: 16px;
    font-weight: 700;
    color: var(--tg-heading-font-color);
    text-transform: capitalize;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    border: none;
    font-family: var(--tg-heading-font-family);
}
.list-category li > a:hover {
    color: var(--tg-primary-color);
}

.list-category > li:first-child {
    border-top: 0;
}


.sidebar-widget .hot-post-content .post-title {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.3;
}
.sidebar-widget .post-tag-five {
    font-size: 11px;
}



/*=============================
	Slideshow player
===============================*/
.mySlideshow {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.mySlideshow .swiper-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.mySlideshowThumbs {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.mySlideshow .swiper-button-next,
.mySlideshow .swiper-button-prev {
    width: 40px;
    height: 40px;
    background-color: var(--tg-white);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.mySlideshow .swiper-button-next:after,
.mySlideshow .swiper-button-prev:after {
    font-size: 16px;
    font-weight: bold;
    color: var(--tg-icon-color);
}
.mySlideshow .swiper-button-next:hover,
.mySlideshow .swiper-button-prev:hover {
    background-color: #f5f5f5;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}
.mySlideshow .swiper-button-next:hover:after,
.mySlideshow .swiper-button-prev:hover:after {
    color: var(--tg-heading-font-color);
}
.mySlideshow .slide-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--tg-heading-font-color);
}
.mySlideshow .slide-desc {
    font-weight: 400;
    font-size: 1rem;
    color: var(--tg-body-font-color);
    line-height: 1.6;
}

.mySlideshowThumbs .swiper-slide {
    opacity: 0.5;
    transition: opacity 0.3s;
    cursor: pointer !important;
}
.mySlideshowThumbs .swiper-slide:hover {
    opacity: 1;
}
.mySlideshowThumbs .swiper-slide.swiper-slide-thumb-active {
    opacity: 1;
}
.mySlideshowThumbs .swiper-slide img {
    height: 80px;
    display: block;
    cursor: pointer !important;
}

/*=============================
	Misc.
===============================*/
.button-list-wrap .list-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.button-list-wrap .list-wrap li {
    list-style: none;
}
.button-list-wrap .list-wrap li a {
    display: flex;
    align-items: center;
    background: var(--tg-teal);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--tg-secondary-color);
    gap: 10px;
    border-radius: 4px;
    padding: 10px 20px;
    min-width: 162px;
    justify-content: center;
}
.button-list-wrap .list-wrap li a:hover {
    background: var(--tg-primary-color);
    color: var(--tg-white);
}

.page-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
}


/*=============================
	Footer
===============================*/
.footer-top-two {
    padding: 40px 0;
}
.footer-social .list-wrap {
    gap: 20px 40px;
}
.footer-social .list-wrap li a {
    font-size: 15px;
}
footer {
    .fw-logo {
        img {
            max-height: 50px;
        }
    }
}

/*=============================
	Images & Video in content
===============================*/

figure.image {
    margin: 1rem 0 !important;
}
figure.image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}
figure.image {
    /* Optional: image alignment */
}
figure.image.align-left {
    float: left;
    margin-right: 1em;
}
figure.image.align-right {
    float: right;
    margin-left: 1em;
}
figure {
    /* Videos responsive wrapper */
}
figure.media {
    border-radius: 8px;
    display: block; /* ensures proper rendering in Safari */
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 1rem 0 !important;
    max-width: 100%; /* prevents container from shrinking in Safari */
    /* Iframe inside the video wrapper */
}
figure.media iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%; /* Safari fix */
    border: 0;
    display: block; /* Safari fix */
}