/* ============================= */
/* Single Documentaries Template */
/* ============================= */

/* Make documentaries container fullwidth */
.single-documentaries .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

.single-documentaries .single-documentaries-wrapper {
    width: 100%;
    margin: 0 auto;
}

/* ✅ Hero section fullwidth background */
.single-documentaries-header {
    width: 100%;
    margin-top: 120px;
    background: #f9f9f9;
    padding: 50px 0;
    margin-bottom: 30px;
}

/* ✅ Inner container for box-width content */
.single-documentaries-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Heading with underline */
.single-documentaries-header .single-documentaries-title {
    font-size: 58px;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid #000;
    font-family: Helvetica, Arial, sans-serif;
    padding-bottom: 10px;
}

/* Subtitle / post content */
.single-documentaries-subtitle {
    font-size: 16px;
    color: #555;
    margin-top: 10px;
    line-height: 1.6;
    text-align: justify;
    font-family: Helvetica, Arial, sans-serif;
}

/* ============================= */
/* Documentary Video Section */
/* ============================= */

.success-story-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 24px 6px;
}

/* Video Grid */
.success-story-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 42px;
}

/* Video Box */
.success-story-item {
    width: 580px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
    background: #fff;
}

.success-story-thumb {
    position: relative;
    width: 100%;
    height: 260px; /* তোমার image ratio অনুযায়ী height দাও */
    overflow: hidden;
    border-radius: 8px;
}

/* image absolute so zoom won't affect parent */
.success-story-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.success-story-thumb:hover img {
    transform: scale(1.08);
}






/* Play Button Container */
.success-story-item .success-story-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: #ffffff; /* Default: Solid white */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    transition: all 0.3s ease;
    box-shadow: none;
}

/* Play Button Triangle (Default: Green) */
.success-story-item .success-story-play-btn span {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 16px solid #024707;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 3px;
    transition: all 0.3s ease;
}

/* Outer ring with white shade and border */
.success-story-item .success-story-play-btn::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: rgba(255, 255, 255, 0.5); /* Deeper white shade */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Very soft hard edge */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Blurry edge effect */
    border-radius: 50%;
    z-index: -1;
    transition: all 0.3s ease;
}

/* Hover State - Inner circle becomes green */
.success-story-item:hover .success-story-play-btn {
    background: #024707;
}

/* Hover State - Triangle becomes white */
.success-story-item:hover .success-story-play-btn span {
    border-left-color: #ffffff;
}

/* Hover State - Outer ring border becomes more opaque */
.success-story-item:hover .success-story-play-btn::before {
    border-color: rgba(255, 255, 255, 1);
}

/* Video Info (Title + Description) */
.success-story-info {
    padding: 15px 5px 10px 0;
}

.success-story-video-title {
    font-size: 18px;
    font-weight: bold;
    color: #0A7D4F;
    margin-bottom: 8px;
    line-height: 1.4;
    text-align: left;
}

.success-story-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    text-align: left;
}

/* Responsive */
@media (max-width: 1200px) {
    .success-story-item {
        width: 48%;
    }
}
@media (max-width: 768px) {
    .success-story-item {
        width: 100%;
        max-width: 90%;
    }
}