/* ===================================
    Crafto - Blogger
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rufina:wght@400;700&display=swap');
/* variable */
:root {     
    --base-color: #B78057;
    --dark-gray: #242321;
    --medium-gray: #85827e;
    --light-medium-gray:#7C7C7C;
    --very-light-gray: #F7F2EF;
    --alt-font: 'Rufina', serif;
    --primary-font: 'Manrope', sans-serif;
}
.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-size: cover;
    background-position: center;
    border-radius: 6px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Podcast Page Specific Styling */
.podcast-video-container .video-item {
    flex: 1 1 22%; /* Adjust to 4 in a row */
}

/* Responsive adjustments (optional) */
@media (max-width: 1200px) {
    .podcast-video-container .video-item {
        flex: 1 1 30%; /* 3 in a row on smaller screens */
    }
}

@media (max-width: 768px) {
    .podcast-video-container .video-item {
        flex: 1 1 45%; /* 2 in a row on tablets */
    }
}

@media (max-width: 576px) {
    .podcast-video-container .video-item {
        flex: 1 1 100%; /* 1 in a row on mobile */
    }
}

.video-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 999;
}

.control-button {
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.control-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.reelVideo {
    position: absolute;
    top: 0px;
    background-color: black;
}

.like-count img {
    max-width: 43px;
}
.video-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
margin-top: 20px;
}

.video-item {
flex: 1 1 30%;
margin: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: #fff;
border-radius: 6px;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: space-between; /* Ensures content is spaced properly */
min-height: 450px; /* Ensure all items have the same height */
transition: box-shadow 0.3s ease;
}

.video-item:hover {
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 Aspect Ratio */
background-color: #e0e0e0; /* Placeholder color */
}

.video-thumbnail iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}

.category-label {
position: absolute;
top: 10px;
right: 10px;
background-color: rgba(0, 0, 0, 0.7);
color: #fff;
padding: 5px 10px;
font-size: 0.8em;
border-radius: 3px;
}

.video-content {
padding: 15px;
display: flex;
flex-direction: column;
flex-grow: 1; /* Allows the content to grow and fill space */
}

.video-title {
font-size: 1.2em;
font-weight: bold;
line-height: 22px;
color: #000;
margin-bottom: 10px;
margin-top: 0; /* Ensure no extra space at the top */
}

.video-description {
margin: 10px 0;
font-size: 0.9em;
color: #555;
flex-grow: 1; /* Makes the description take up available space */
color: #626262;
flex-grow: 1;
line-height: 24px;
}

.video-meta {
font-size: 0.8em;
color: #888;
display: flex;
justify-content: space-between;
margin-top: auto; /* Pushes the .video-meta to the bottom of the container */
}

.video-meta .fa-heart {
color: red;
margin-right: 5px;
}

.hidden {
visibility: hidden !important;
}

.ytp-chrome-top {
display: none!important;
}

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.pagination-button,
.pagination-arrow {
    margin: 0 5px;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.about-logo {
    max-height: 100px;
}

.pagination-button:hover,
.pagination-arrow:hover {
    color: #b78057;
}

.pagination-button:focus,
.pagination-arrow:focus {
    outline: none;
}

.pagination-button:active {
    color: #b78057!important;
}

.pagination-button.active {
    color: #fff;
    background-color: #b78057 !important;
}

.pagination-arrow.disabled,
.pagination-button.disabled {
    color: #ccc;
    cursor: not-allowed;
}
 
/* body */
html {  
    position: relative;
    overflow-x: hidden;
}
body{
    line-height: 30px;
    overflow-x: hidden;
}
/* box layout */
.box-layout {
    padding: 0 175px; 
}
section {
    padding-top: 100px;
    padding-bottom: 100px;
}
/* header */
header .disable-fixed {
    width: calc(100% - 350px);
    left: 175px;
    right: 175px;
}
header .header-top-bar {
    border-radius: 0 0 5px 5px;
}
header .navbar-brand {
    padding:27px 0;
}
header .navbar-brand img {
    max-height: 41px;
}
header .container-fluid {
    padding-left: 0;
    padding-right: 0;
}
.navbar .navbar-nav .nav-link {
    font-size: 17px;
    line-height: 22px; 
    padding: 10px 20px;
    font-weight: 600;
}
header .header-top-bar .header-icon .header-social-icon a {
    font-size: 14px;
}
header .header-top-bar .header-icon .header-social-icon i {
    margin-right: 5px;
}
/* btn */ 
.btn { 
    font-family: var(--primary-font);
    font-weight: 600;
    text-transform: inherit;
}
.btn.btn-extra-large {
    font-size: 17px;
    padding: 20px 40px;
}
.btn.btn-large {
    font-size: 16px;
    padding: 16px 32px;
}
.btn.btn-medium {
    font-size: 15px;
    padding: 14px 28px;
}
.btn.btn-small {
    font-size: 14px;
    padding: 12px 24px;
}
.btn.btn-very-small {
    font-size: 13px;
    padding: 10px 20px;
}
.btn-hover-animation.text-transform-none .btn-icon i:before {
    vertical-align: -5px;
}
.btn.btn-link {
    padding: 0 0 2px;
}
/* border color */ 
.border-color-transparent-base-color {
    border-color: rgba(183,128,87,.5) !important;
}
/* border color */ 
.categories-btn {
    font-size: 13px;
    line-height: 21px;
}
.categories-style-03 .categories-box .category-title {
    padding: 30px 40px;
}
/* social icon style */ 
.social-icon-style-03 .small-icon li {
    margin: 0 15px;
}
/* left right bottom top class */ 
.left-minus-300px {
    left: -300px;
}
.left-minus-15 {
    left: -15%;
}
.left-minus-30 {
    left: -30%;
}
.left-50 {
    left: 50%;
}
.right-minus-250px {
    right: -250px;
}
.right-minus-15 {
    right: -15%;
}
.right-minus-25 {
    right: -25%;
}
.bottom-10 {
    bottom: 10%;
}
.top-25 {
    top: 25%;
}
/* page title */ 
.page-title-large h1 {
    font-size: 4.375rem;
    line-height: 4.375rem;
}
/* word break normal */ 
.word-break-normal {
    word-break: normal;
}
.categories-btn {
    font-size: 12px;
}
.pagination-style-01 .page-item.active .page-link, .pagination-style-01 .page-item .page-link:hover {
    background: var(--dark-gray);
    color: var(--white);
}
.pagination-style-01 .page-item:first-child .page-link, .pagination-style-01 .page-item:last-child .page-link {
    background: transparent;
    box-shadow: none !important;
    color: var(--medium-gray);
}
.pagination-style-01 .page-item:first-child .page-link:hover, .pagination-style-01 .page-item:last-child .page-link:hover {
    color: var(--dark-gray);
}
/* footer */
footer .footer-logo img {
    max-height: 70px;
}
footer ul li {
    margin-bottom: 0;
}
.terms-condition .box:before {
    background-color: var(--white);
}
.input-medium, .textarea-medium, .select-medium {
    padding: 10px 28px;
}
.newsletter-style-02 .btn i {
    top: -2px;
}
.newsletter-style-02 input {
    padding-right: 55px !important;
}
/* media query responsive */
@media (max-width: 1799px) {
    .box-layout {
        padding: 0 100px;
    }
    header .disable-fixed {
        width: calc(100% - 200px);
        left: 100px;
        right: 100px;;
    }
}
@media (max-width: 1600px) {
    .box-layout {
        padding: 0 80px;
    }
    header .disable-fixed {
        width: calc(100% - 160px);
        left: 80px;
        right: 80px;;
    }
}
@media (max-width: 1399px) {
    header .disable-fixed {
        width: calc(100% - 160px);
        left: 80px;
        right: 80px;;
    }
    .categories-style-03 .categories-box .category-title {
        padding: 20px 20px;
    }
}
@media (max-width: 1199px) {
    .box-layout {
        padding: 0 30px;
    }
    header .disable-fixed {
        width: calc(100% - 60px);
        left: 30px;
        right: 30px;
    }
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
        line-height: 22px;
        padding: 10px 15px;
    }
}
@media (max-width: 991px) {
    section {
        padding-top: 75px;
        padding-bottom: 75px;
    }
    .right-minus-25 {
        right: -40%;
    }
    .left-minus-30 {
        left: -50%;
    }
    header .disable-fixed {
        width: calc(100% - 60px);
        left: 30px;
        right: 30px;
    } 
    .blog-side-image .blog-box .blog-image {
        min-height: 500px;
    }
}
@media (max-width: 767px) {
    .box-layout {
        padding: 0 15px;
    }
    section {
        padding-top: 50px;
        padding-bottom: 50px;
    } 
    header .disable-fixed {
        width: calc(100% - 0px);
        left: 0px;
        right: 0;
    } 
}

@media only screen and (max-width: 767px) {
    .video-item {
        display: block;
        width: 100%!important;
        flex: 1 100%;
    }

    .video-item:first-child {
        display: block;
    }
    .mob-line {
        max-width: 50px;
    }
}