
/* -- Search filed -- */
.search-container {
    display: flex; 
    width: 100%;
    border: none; padding:10px;
    
} 
.search-input { 
    flex: 1; 
    padding: 15px 15px; 
    font-size: 16px; 
    border: none; 
    outline: none; 
    border-top-left-radius: 1.375rem; 
    border-bottom-left-radius: 1.375rem; 
    border: 2px solid #003455; 
    
} 
.search-input::placeholder { 
    color: #6c757d; 
    
} 
.search-button { 
    background-color: #003455; 
    color: #ffffff; 
    font-weight: bold; 
    padding: 10px 20px; 
    border: none; 
    border-top-right-radius: 0.375rem; 
    border-bottom-right-radius: 0.375rem; 
    font-size: 16px; 
    cursor: pointer; 
    transition: background-color 0.3s ease; 
} 
.search-button:hover { 
    background-color: #0056b3; 
    
}
/* ----view page center ads btn -- */

#defalultBtn1 {
    display: inline-block;
    padding: 10px 20px; 
    border: 1px solid #A62E2F;
    text-decoration: none; 
    border-radius: 15px;
    color: #A62E2F;;
    background-color:#EEEE;
    font-size: 16px;
    
}
#defalultBtn1:focus {
    border-color: blue;
    box-shadow: 0 0 5px blue; 
    outline: none; 
}
#defalultBtn2 {
    display: inline-block;
    padding: 10px 20px; 
    border: 1px solid green; 
    border-radius: 15px;
    color: green;
    text-decoration: none; 
    background-color:#EEE;
    font-size: 16px;
    
}
#defalultBtn2:focus {
    border-color: green; 
    box-shadow: 0 0 5px green; 
    outline: none; 
}
/* Style for social media share buttons */
.share-buttons {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
gap: 10px;
}
.share-button {
display: flex;
justify-content: center;
align-items: center;
height: 40px;
border: none;
border-radius: 4px;
color: #fff;
font-size: 20px;
text-decoration: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
.share-button:hover {
background-color: #0056b3;
}
.share-button i {
margin-right: 5px;
}

.card {
border: 1px solid #ccc;
border-radius: 5px;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
background-color: #fff;
}
/* ---- index page post card --- */
.index-main-section {
  display: flex;
  flex-wrap: wrap;
}

.post-box {
  width: 100%;
  padding: 0 1em .5em 1em;
  text-align: cener;
}
.card22 {
  width: 100%;
  height: 100%;
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
  border: 1px solid #0077a8;
  position: relative;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.card22:active {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.card22:focus-within {
    border: 2px solid green;
}

.card-img-top {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  object-fit: cover;
    width: 100%;
    height: 180px;
    position: relative;
}
.image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-top-right-radius: 8px;
}
.card22 h3 {
  font-size: 16px;
  color: #003455
  font-weight: bold;
  margin: 5px 5px;
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.action-btn {
    padding: 0px 10px;
    border: none; 
    background: none;
    cursor: pointer;
    font-size: 14px;
}

.views-btn {
    margin-left: 0;
}

.date-btn {
    margin-left: auto;
    margin-right: auto;
}

.telegram-btn {
    margin-left: auto;
}

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px; 
    background-color: #0088cc; 
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px; 
    height: 50px; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    font-size: 24px;
    text-decoration: none;
    transition: background-color 0.3s; 
}

.floating-button:hover {
    background-color: #0077a8;
}
.alink {
    color: #003455;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    }
/* -- category -- */
  .category-section ul {
    list-style: none;
    padding: 10px;
    margin: 0;
    
  }

  .category-section ul li {
    margin-bottom: 7px; 
  }

  .category-section ul li a {
    display: block; 
    width: 100%;
    padding: 10px;
    text-decoration: none;
    color: #003455;
    border-radius: 3px;
    background-color: #F6F6F1;
    border: 1px solid #003455;
    font-weight: bold;
    transition: background-color 0.3s;
  }

  .category-section ul li a:hover {
    background-color: green;
    color: #fff;
  }

/* -- footer copyright -- */
.copyright {
    background-color: #003455;
    color: #fff;
    padding: 20px 0;
    
    }
    .copyright p {
    margin: 0;
    text-align: center;
    }
    .dropdown-menu {
    background-color: #000;
    }
.footer {
background-color: #003455;
color: #fff;
padding: 10px 0;
margin-top:20px;
}

@media screen and (min-width: 768px) {
  .post-box {
    flex: 0 50%;
    max-width: 50%;
  }
  .floating-button {
        display: none;
    }
}
@media screen and (min-width: 992px) {
  
  .post-box {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
  
}
/* -- START VIEW PAGE DESIGN -- */
.container {
padding: 0px;
overflow: hidden;

}
.content-outer {
align-items: center;
width: auto;
/* width: 1100px; */
max-width: 100%;
margin: auto;
margin-top: 40px;
}
.main-content {
padding: 5px;
margin-bottom: 15px;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2, h3 {
   font-size:20px;
   
}
.view-title{
   font-size:20px; 
   margin: 6px; 
   line-height: 1.3;
}
.view-description {
  font-size: 16px;
  margin: 6px; 
  line-height: 1.5;
} 


@media (min-width: 720px) {
.main-content {
margin-right: 5px;
width: 68%;
max-width: 100%;
float: left;
margin-top:30px;
}
.sidebar {
margin-top:30px;
width: 30%;
max-width: 100%;
float: right;
}
}
.popular-post-box {
border: 1px solid #ddd;
margin-bottom: 10px;
display: flex;
align-items: center;
border-radius: 5px;
margin-left:7px;
margin-right:3px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.popular-post-image {
flex: 0 0 100px;
max-width: 100px;
margin-right: 10px;
}
.popular-post-image img {
width: 100%;
height: 75px;
border-radius: 5px 0 0 5px;
}
.popular-post-meta {
font-size: small;
color: #777;
margin-top: 5px;
}
.popular-post-title {
font-size: 14px;
margin: 0;
}
@media (min-width: 720px) {
.popular-post-image {
flex: 0 0 70px;
max-width: 70px;
margin-right: 10px;
}
.popular-post-image img {
width: 100%;
height: 50px;
border-radius: 5px 0 0 5px;
}
.popular-post-title {
font-size: 13px;
}
.sidebar .popular-post-meta {
display: none;
}
}

.video-container {
        position: relative;
        width: 100%;
        max-width: 640px;
        aspect-ratio: 16/9;
        background-color: #000;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .video-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: url('/img/play.png') no-repeat center center;
        background-size: 64px 64px;
        width: 64px;
        height: 64px;
        cursor: pointer;
    }
    .video-controls {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40px;
        background: rgba(0, 0, 0, 0.6);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 10px;
    }
    .progress-bar {
        flex-grow: 1;
        height: 5px;
        background: #555;
        margin: 0 10px;
        cursor: pointer;
    }
    .progress-bar-fill {
        width: 1%;
        height: 100%;
        background: #f00;
    }
    .control-button {
        width: 20px;
        height: 20px;
        background: #fff;
        border-radius: 50%;
        cursor: pointer;
    }
    .video-duration {
        color: #fff;
        font-size: 14px;
        padding-left: 10px;
    }
    .loading-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: none;
        justify-content: center;
        align-items: center;
    }
    .loading-spinner {
        border: 8px solid rgba(255, 255, 255, 0.3);
        border-top: 8px solid #fff;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        animation: spin 1s linear infinite;
    }
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }