body {
    word-break: break-word;
}

/* Comments Section Layout */
.wp-comment-section {
    background-color: #f8fafc;
}

.wp-comment-section .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
    background-color: #ffffff;
}

.comment-wrapper {
    padding: 10px;
}

.comment-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.comment-header h3 {
    color: #022855;
    font-size: 1.75rem;
}

/* Comment Form styling */
.comment-form-box {
    background-color: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.comment-form-box h5 {
    color: #022855;
}

.comment-form-box .form-control,
.reply-form-box .form-control {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;

    background-color: #ffffff;
}

.comment-form-box .form-control:focus,
.reply-form-box .form-control:focus {
    border-color: #022855;
    box-shadow: 0 0 0 4px rgba(2, 40, 85, 0.1);
    outline: none;
}

.comment-form-box button[type="submit"],
.reply-form-box button[type="submit"] {
    background-color: #022855;
    border-color: #022855;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.comment-form-box button[type="submit"]:hover,
.reply-form-box button[type="submit"]:hover {
    background-color: #0c427e;
    border-color: #0c427e;
    transform: translateY(-1px);
}

/* Comments List styling */
.comments-area {
    margin-top: 30px;
}

.single-comment {
    margin-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 24px;
}

.single-comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.comment-body {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #022855;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(2, 40, 85, 0.1);
}

.comment-content {
    flex-grow: 1;
}

.comment-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.comment-author {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0;
}

.comment-date {
    font-size: 0.85rem;
    color: #64748b;
}

.comment-text {
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.6;
}

.comment-text p {
    margin-bottom: 10px;
}

.comment-text p:last-child {
    margin-bottom: 0;
}

/* Reply Button styling */
.reply-btn {
    background: none;
    border: none;
    color: #022855;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease-in-out;
    margin-top: 4px;
}

.reply-btn:hover {
    color: #0c427e;
    text-decoration: underline;
}

.reply-btn::before {
    content: "\f3e5";
    /* FontAwesome reply icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

/* Reply Form Box */
.reply-form-box {
    display: none;
    margin-top: 20px;
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

/* Nested Replies styling */
.comment-replies {
    margin-top: 20px;
    padding-left: 20px;
    border-left: 3px solid #e2e8f0;
}

.child-comment {
    margin-bottom: 20px;
    border-bottom: none;
    padding-bottom: 0;
}

.child-comment:last-child {
    margin-bottom: 0;
}

.child-comment .comment-avatar {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    background-color: #475569;
}

figure img {
    object-fit: contain;
}

#videoModal video {
    object-fit: contain !important;
}

.form-check-input:checked {
    background-color: var(--pink);
    border-color: var(--pink);
    box-shadow: none !important;
}

.form-check-input:focus {
    box-shadow: none !important;
    border-color: var(--pink);
}

.form-check-label[for="remember"] {
    margin-top: 4px;
    cursor: pointer;
}

.text-primary {
    color: var(--pink) !important;
}



/* Basic Table Design for custom contenet on CMS Page */
/*figure.table{
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}

figure.table th{
    font-weight: 600;
}
figure.table th,figure.table td{
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    min-width: 220px;
}
figure.table tr:nth-child(even){
    background-color: #f2f2f2;
}
figure.table tr td img{
max-width: 150px;
height: auto;
}
figure.table tr td iframe{
max-width: 450px;
height: auto;
}

figure.table table{
    width: 100% !important;
    border-collapse: collapse;
}*/





/* Custom Work For Template */

.singlepage p {
    margin-bottom: 13px !important;
}

.singlepage table {
    width: 100%;
    line-height: 1.5;
}

.singlepage table td,
.singlepage table th {
    border: solid 1px #D4DDED;
    padding: 10px;
    vertical-align: top;
    word-break: normal;
}

.singlepage table th {
    color: #000;
    background-color: #EEF2F8;
    font-size: 13px;
    text-transform: uppercase;
    white-space: nowrap;
}

.singlepage figure.table {
    overflow: auto;
    max-width: 100%;
}

.singlepage figcaption {
    margin: 10px 0;
}

@media screen and (min-width: 992px) {
    .singlepage table tbody tr td:first-child {
        white-space: nowrap;
    }
}



.sameinputheight i {
    width: 40px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 1px;
    left: auto;
    right: 0;
    border-left: solid 1px #E8ECF2;
}


.one-video {
    display: none;
}

.sameinputheight .form-control {
    padding-left: 14px;
    padding-right: 45px;
}

/* Video Section */
.one-video-section {
    justify-content: center;
}

.one-video-section .col {
    width: 100%;
    max-width: 1000px;
}

.one-video-section .one-video {
    display: block;
    position: relative;
    border-radius: 24px;
    overflow: hidden; 
}


.one-video-section .how-card-thumb {
    display: none;
}

.one-video-section .how-card:hover .how-card-body,
.one-video-section .how-card:focus-visible .how-card-body {
    box-shadow: none;
    transform: translateY(0px);
}

.one-video-section .how-card-body {
    padding: 25px 0 0 0;
    border: 0;
    background-color: transparent;
}

.one-video-section .how-card {}

.one-video-section video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 22px;
    
    max-height: 560px; display:block; border: solid 1px var(--cardborder);
}
.one-video-section .how-card-body{ text-align: center;}

/* One Video Center Play/Pause Button */
.one-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    /* border: 10px solid rgba(0, 0, 0, 0.5); */
    color: var(--pink);
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 0px 0 18px rgba(0, 0, 0, 0.5);
}

.one-video-play-btn:hover {
    /* background: rgba(15, 23, 42, 0.95);
    border-color: #ffffff; */
    transform: translate(-50%, -50%) scale(1.08);
    /* color: #ffffff; */
}

.one-video-play-btn i.fa-play {
    margin-left: 3px;
}

@media screen and (max-width:991px)
{
    .one-video-play-btn{ width: 60px;
    height: 60px; font-size: 30px; box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.5);}
}

/* Hide button when video is playing */
.one-video.is-playing .one-video-play-btn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Show button on hover when video is playing */
.one-video.is-playing:hover .one-video-play-btn {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}