/**
Theme Name: Raj Sandesh Child
Author: Raj Sandesh
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: raj-sandesh-child
Template: astra
*/
/*
Theme Name: Raj Sandesh Child
Template: astra
Version: 1.0
*/

/* =====================================
GLOBAL RESET
===================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
background:#f5f5f5;
font-family:Arial,sans-serif;
overflow-x:hidden;
color:#111;
}

img{
max-width:100%;
height:auto;
display:block;
}

a{
text-decoration:none;
color:inherit;
}

ul{
list-style:none;
}

/* =====================================
ASTRA LAYOUT FIX
===================================== */

.ast-container,
.site-content .ast-container,
.ast-page-builder-template .site-content,
.ast-page-builder-template .entry-content,
.site-primary-footer-wrap{
max-width:100% !important;
width:100% !important;
padding-left:0 !important;
padding-right:0 !important;
}

.site-content{
padding:0 !important;
}

.entry-content{
margin:0 !important;
}

main#main{
padding:0 !important;
margin:0 !important;
}

body .is-layout-constrained{
max-width:100% !important;
}

body .wp-block-group{
max-width:100% !important;
}

/* =====================================
HEADER
===================================== */

.site-header{
background:#fff;
border-bottom:1px solid #eee;
}

.ast-site-title-wrap{
padding:10px 0;
}

.site-title{
font-size:52px !important;
font-weight:900 !important;
line-height:1;
}

.main-header-menu .menu-link{
font-size:15px;
font-weight:600;
}

/* =====================================
BREAKING NEWS TICKER
===================================== */

.rsn-ticker{
width:100%;
height:48px;
background:#000;
display:flex;
align-items:center;
overflow:hidden;
position:relative;
z-index:999;
}

.rsn-ticker-label{
height:48px;
background:#c40000;
color:#fff;
display:flex;
align-items:center;
padding:0 20px;
font-size:14px;
font-weight:700;
flex-shrink:0;
}

.rsn-ticker-move{
white-space:nowrap;
display:inline-block;
padding-left:100%;
animation:rsnTicker 28s linear infinite;
font-size:14px;
color:#fff;
}

.rsn-live{
color:#ff3b3b;
font-weight:700;
margin-right:20px;
}

@keyframes rsnTicker{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-100%);
}

}

/* =====================================
TOP HEADLINES
===================================== */

.rsn-top-headlines{
width:100%;
max-width:1600px;
margin:50px auto;
padding:0 25px;
}

.rsn-section-title{
font-size:48px;
font-weight:900;
margin-bottom:35px;
line-height:1.2;
position:relative;
padding-left:20px;
color:#111;
}

.rsn-section-title::before{
content:'';
position:absolute;
left:0;
top:6px;
width:7px;
height:48px;
background:#c40000;
border-radius:20px;
}

.rsn-headline-layout{
display:grid;
grid-template-columns:2fr 1fr;
gap:30px;
align-items:start;
}

/* MAIN HERO */

.rsn-main-headline{
position:relative;
height:700px;
overflow:hidden;
border-radius:18px;
background:#000;
}

.rsn-main-headline img{
width:100%;
height:100%;
object-fit:cover;
transition:0.4s ease;
}

.rsn-main-headline:hover img{
transform:scale(1.04);
}

.rsn-main-content{
position:absolute;
left:0;
bottom:0;
width:100%;
padding:45px;
background:linear-gradient(
to top,
rgba(0,0,0,0.92),
rgba(0,0,0,0)
);
}

.rsn-headline-category{
display:inline-block;
background:#c40000;
color:#fff;
padding:6px 12px;
font-size:12px;
font-weight:700;
border-radius:4px;
margin-bottom:15px;
}

.rsn-main-content h2{
font-size:60px;
line-height:1.15;
font-weight:900;
color:#fff;
margin-bottom:15px;
max-width:90%;
}

.rsn-headline-date{
font-size:15px;
color:#ddd;
}

/* SIDE NEWS */

.rsn-side-headlines{
display:flex;
flex-direction:column;
gap:20px;
}

.rsn-side-news{
background:#fff;
border-radius:14px;
padding:14px;
box-shadow:0 3px 12px rgba(0,0,0,0.06);
transition:0.3s ease;
}

.rsn-side-news:hover{
transform:translateY(-3px);
}

.rsn-side-news a{
display:flex;
gap:15px;
align-items:center;
}

.rsn-side-thumb{
width:180px;
flex-shrink:0;
}

.rsn-side-thumb img{
width:100%;
height:120px;
object-fit:cover;
border-radius:10px;
}

.rsn-side-content h4{
font-size:24px;
line-height:1.35;
font-weight:800;
color:#111;
}

/* =====================================
PUBLIC PROBLEMS
===================================== */

.rsn-public-problems-wrap{
width:100%;
max-width:1500px;
margin:70px auto;
padding:0 25px;
}

.rsn-public-title{
font-size:42px;
font-weight:900;
margin-bottom:35px;
padding-left:20px;
position:relative;
}

.rsn-public-title::before{
content:'';
position:absolute;
left:0;
top:5px;
width:7px;
height:44px;
background:#c40000;
border-radius:20px;
}

.rsn-public-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:28px;
}

.rsn-public-card{
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 4px 15px rgba(0,0,0,0.07);
transition:0.3s ease;
}

.rsn-public-card:hover{
transform:translateY(-4px);
}

.rsn-public-card img{
width:100%;
height:260px;
object-fit:cover;
}

.rsn-public-content{
padding:20px;
}

.rsn-public-content h3{
font-size:24px;
line-height:1.4;
margin-bottom:15px;
font-weight:800;
}

.rsn-public-meta{
font-size:14px;
color:#666;
margin-bottom:18px;
}

.rsn-public-btn{
display:inline-block;
background:#c40000;
color:#fff;
padding:10px 16px;
border-radius:5px;
font-size:14px;
font-weight:600;
}

/* =====================================
FLOATING BUTTON FIX
===================================== */

.join-now-btn,
.problem-btn,
.scroll-top{
z-index:9999;
}

.problem-btn{
bottom:90px !important;
}

.scroll-top{
bottom:20px !important;
right:20px !important;
}

.join-now-btn{
bottom:160px !important;
}

/* =====================================
APP STYLE MOBILE MENU BASE
===================================== */

.rsn-mobile-bottom-space{
height:80px;
}

/* =====================================
MOBILE RESPONSIVE
===================================== */

@media(max-width:1200px){

.rsn-main-content h2{
font-size:42px;
}

.rsn-side-content h4{
font-size:20px;
}

}

/* TABLET */

@media(max-width:991px){

.site-title{
font-size:42px !important;
}

.rsn-headline-layout{
grid-template-columns:1fr;
}

.rsn-main-headline{
height:500px;
}

.rsn-main-content h2{
font-size:38px;
max-width:100%;
}

.rsn-public-grid{
grid-template-columns:repeat(2,1fr);
}

}

/* MOBILE */

@media(max-width:768px){

body{
background:#fff;
}

/* HEADER */

.site-title{
font-size:34px !important;
}

/* BREAKING */

.rsn-ticker{
height:42px;
}

.rsn-ticker-label{
height:42px;
font-size:11px;
padding:0 12px;
}

.rsn-ticker-move{
font-size:12px;
}

/* HERO */

.rsn-top-headlines{
padding:0 15px;
margin-top:35px;
}

.rsn-section-title{
font-size:30px;
margin-bottom:25px;
}

.rsn-section-title::before{
height:34px;
}

.rsn-main-headline{
height:auto;
border-radius:12px;
}

.rsn-main-headline img{
height:260px;
}

.rsn-main-content{
position:relative;
background:#fff;
padding:15px 0 5px;
}

.rsn-main-content h2{
font-size:28px;
line-height:1.35;
color:#111;
margin-bottom:12px;
}

.rsn-headline-date{
color:#777;
}

.rsn-headline-layout{
gap:20px;
}

.rsn-side-news{
padding:0;
background:none;
box-shadow:none;
border-radius:0;
}

.rsn-side-news a{
flex-direction:column;
align-items:flex-start;
gap:10px;
}

.rsn-side-thumb{
width:100%;
}

.rsn-side-thumb img{
width:100%;
height:220px;
border-radius:10px;
}

.rsn-side-content h4{
font-size:24px;
line-height:1.4;
}

/* PUBLIC PROBLEMS */

.rsn-public-problems-wrap{
padding:0 15px;
margin-top:50px;
}

.rsn-public-title{
font-size:30px;
}

.rsn-public-grid{
grid-template-columns:1fr;
gap:25px;
}

.rsn-public-card img{
height:220px;
}

.rsn-public-content{
padding:16px;
}

.rsn-public-content h3{
font-size:22px;
}

/* FLOAT BUTTONS */

.problem-btn{
bottom:90px !important;
left:15px !important;
}

.join-now-btn{
bottom:150px !important;
right:15px !important;
}

.scroll-top{
right:15px !important;
bottom:20px !important;
}

}

/* =====================================
RSN SPECTRA CONTAINER FIX
===================================== */

.home .wp-block-uagb-container,
.home .uagb-container-inner-blocks-wrap,
.home .uagb-is-root-container,
.home .alignfull{
width:100% !important;
max-width:100% !important;
padding-left:0 !important;
padding-right:0 !important;
margin-left:auto !important;
margin-right:auto !important;
}

/* Remove Spectra Inner Constraints */

.home .uagb-container-inner-blocks-wrap{
display:block !important;
}

/* Full Width Homepage */

.home .entry-content{
width:100% !important;
max-width:100% !important;
}

/* Hero Width */

.home .rsn-top-headlines{
width:100% !important;
max-width:1750px !important;
margin:40px auto !important;
padding-left:35px !important;
padding-right:35px !important;
}

/* Hero Grid */

.home .rsn-headline-layout{
display:grid !important;
grid-template-columns:2.2fr 1fr !important;
gap:35px !important;
align-items:start !important;
}

/* Side Column */

.home .rsn-side-headlines{
display:flex !important;
flex-direction:column !important;
gap:20px !important;
}

/* Mobile */

@media(max-width:768px){

.home .rsn-top-headlines{
padding-left:15px !important;
padding-right:15px !important;
}

.home .rsn-headline-layout{
grid-template-columns:1fr !important;
}

}

/* =====================================
WORKING AUTO SLIDER
===================================== */

.rsn-banner-slider{
width:100%;
max-width:970px;
margin:15px auto;
overflow:hidden;
border-radius:12px;
box-shadow:0 4px 14px rgba(0,0,0,0.08);
position:relative;
}

.rsn-banner-slides{
display:flex;
width:300%;
animation:rsnSlide 12s infinite;
}

.rsn-banner-slides img{
width:100%;
max-width:970px;
flex-shrink:0;
display:block;
}

/* ANIMATION */

@keyframes rsnSlide{

0%{
transform:translateX(0%);
}

30%{
transform:translateX(0%);
}

33%{
transform:translateX(-33.333%);
}

63%{
transform:translateX(-33.333%);
}

66%{
transform:translateX(-66.666%);
}

100%{
transform:translateX(-66.666%);
}

}

/* MOBILE */

@media(max-width:768px){

.rsn-banner-slider{
width:95%;
margin:10px auto;
border-radius:8px;
}

}