/*
Theme Name:   Hello Elementor Child
Theme URI:    https://elementor.com/hello-theme/
Description:  Hello Elementor Child Theme
Author:       Pankaj
Author URI:   https://elementor.com/
Template:     hello-elementor
Version:      1.0.19
License:      GNU General Public License v3 or later.
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  hello-elementor-child
*/

/* --- Global Container --- */
/* .hrsa_container_wrap {
background-color: #F9F7F4 !important;
} */
 
.hrsa-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
    
}
.res-header {
    background: #112E51;
    color: white;
    padding: 64px 20px;
}
.res-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.res-header h1 {
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.8px;
}
.res-header p {
    font-size: 20px;
    max-width: 700px;
    line-height: 1.5;
    margin: 0;
    color: #ffffffcf;
}
/* --- Archive Grid --- */
.hrsa-archive-header {
    text-align: center;
    margin-bottom: 40px;
}
.hrsa-page-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    
    
}
.hrsa-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}
.hrsa-video-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}
.hrsa-video-card:hover {
    transform: translateY(-5px);
}
.hrsa-card-link {
    text-decoration: none;
    color: inherit;
}
.hrsa-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}
.hrsa-thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hrsa-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.hrsa-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}
.hrsa-video-card:hover .hrsa-play-icon {
    color: #ff0000; /* YouTube Red on hover */
}
.hrsa-card-content {
    padding: 15px;
}
.hrsa-card-title {
    font-size: 1.1rem !important;
    margin: 0;
    color: #333;
    line-height: 1.4;
}

/* --- Single Video Page --- */
.hrsa-single-video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.hrsa-breadcrumbs {
    margin-bottom: 20px;
}
.hrsa-breadcrumbs a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}
.hrsa-single-title {
    font-size: 2rem !important;
    border-bottom: 1px solid #e4e4e4;
    padding-bottom: 20px;
    color: #222;
    margin-bottom: 35px;
}
.hrsa-video-frame-container {
    
}
.hrsa-responsive-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.hrsa-responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hrsa-gated-message {
    padding: 60px 20px;
    text-align: center;
    background: #fff3cd;
    color: #856404;
    max-width: 600px;
    
    margin: 100px auto;
    border: 1px solid #f3b800;
    border-radius: 10px;
}
.hrsa-gated-message h3 {
    display: flex;
    align-items: center;
    gap:9px;
    justify-content: center;
    font-size: 20px;
    color:#3D1D5A;
}
.hrsa-gated-message p {
    font-size: 16px;
    color: #4b4b4b;
}
.hrsa-gated-message label {
    font-size: 14px;
    color:#3D1D5A;
    margin-bottom: 6px;
}
.hrsa-gated-message input[type="text"], .hrsa-gated-message input[type="password"]{
    border-radius: 8px;
    border:1px solid #e0e0e0;
}
.hrsa-gated-message input[type="text"]:focus, .hrsa-gated-message input[type="password"]:focus{
    outline:none;
    box-shadow: none;
}
.hrsa-gated-message input[type="checkbox"] {
    margin-right:6px;
}
.login-remember {
    margin-top: 20px;
}
.hrsa-gated-message input#wp-submit {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
}
.hrsa-login-form {
    max-width: 320px;
    margin: 20px auto 0;
    text-align: left;
}
/* --- Modal (Pop-up) Overlay Styles --- */
.hrsa-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.8) !important; /* Dark background overlay */
    z-index: 999999 !important; /* Sabse upar dikhane ke liye */
    display: flex; 
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(5px);
}

/* --- Modal Box Styles --- */
.hrsa-modal-content {
    background-color: #ffffff !important;
    padding: 30px !important;
    border-radius: 10px !important;
    max-width: 450px !important;
    width: 90% !important;
    position: relative !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3) !important;
    text-align: left;
}

/* --- Close Button (X) --- */
.hrsa-close-modal {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    font-size: 30px !important;
    line-height: 1 !important;
    color: #888888 !important;
    cursor: pointer !important;
}

.hrsa-close-modal:hover {
    color: #ff0000 !important; /* Hover par red */
}

/* --- Modal Text & Form Styling --- */
.hrsa-modal-header {
    text-align: center !important;
    margin-bottom: 25px !important;
}

.hrsa-modal-header h3 {
    color: #721c24 !important;
    margin-top: 10px !important;
    font-size: 24px !important;
}

.hrsa-modal-header p {
    color: #555555 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

/* Form Inputs */
.hrsa-modal-form label {
    display: block !important;
    margin-bottom: 5px !important;
    font-weight: bold !important;
    color: #333 !important;
}

.hrsa-modal-form input[type="text"],
.hrsa-modal-form input[type="password"] {
    width: 100% !important;
    padding: 12px !important;
    margin-bottom: 20px !important;
    border: 1px solid #cccccc !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
}

/* Submit Button */
.hrsa-modal-form input[type="submit"] {
    width: 100% !important;
    background-color: #3f1a5c !important; /* Aapki theme se match karta color */
    color: #ffffff !important;
    padding: 14px !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

.hrsa-modal-form input[type="submit"]:hover {
    background-color: #2a113d !important;
}
@media (max-width:768px){
    .hrsa-gated-message {
        margin: 30px auto;
    }
}