/*
Theme Name: Fortrise

*/

.bloglist img, .blogslider img{height: auto;width:100%;}
.single-post .single-thumb img{width:100%;height: auto;margin-bottom: 20px;}
.blogdetail h2{font-size:28px;line-height: 30px;font-weight: 100;margin:30px 0px 15px;}.blogdetail p{margin-bottom:15px;}
.post-content a{color:var(--pink);}
.evencols .owl-nav {
    display: flex !important;
    gap: 12px;
    margin-top: 40px;
}
.imgh{position:relative;overflow:hidden;}.evencols .owl-nav button:hover {
    background: var(--pink) !important;
}
.hblogs p{color:#626262;}.filter-category span::before{display:none;}

.bgrid2{display: grid;
    grid-template-columns: repeat(2, 1fr);}
.bullet2 strong{color:#000;}
@media (max-width:991px){
   .bgrid2{grid-template-columns: repeat(1, 1fr);}
}
@media (max-width:767px){
        .blogdetail h2{
        font-size: 24px;
        line-height: 26px;
    }
}
@media (max-width:480px){
        .cpage .snavh {
        margin: 5px auto 25px;
    }
}.fg-btn input{padding:9px 20px 9px 20px !important;}
/* ---------- Added for the rebuilt blog / career templates ---------- */
.screen-reader-text{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;}
.blog-search input{width:100%;}
.blog-empty{padding:40px 0;}
.blog-pagination{margin-top:50px;}
.blog-pagination .nav-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;}
.blog-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border-radius:8px;border:1px solid #E3ECFF;color:#194B80;font-weight:500;}
.blog-pagination .page-numbers.current,.blog-pagination a.page-numbers:hover{background:#194B80;border-color:#194B80;color:#fff;}
.post-nav{display:flex;justify-content:space-between;gap:20px;margin-top:40px;padding-top:20px;border-top:1px solid #E3ECFF;}
.post-nav a{color:#0A79C9;font-weight:500;}
.post-tags{margin-top:25px;}
.post-content img{max-width:100%;height:auto;border-radius:10px;}
.post-content ul,.post-content ol{padding-left:22px;margin-bottom:15px;}
.post-content ul{list-style:disc;}.post-content ol{list-style:decimal;}
.post-content h2,.post-content h3{margin:30px 0 15px;}

.hp-field{position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden;}
.form-notice{padding:14px 18px;border-radius:10px;margin-bottom:25px;font-weight:500;}
.form-notice.success{background:#ECFDF3;color:#05603A;border:1px solid #A6F4C5;}
.form-notice.error{background:#FEF3F2;color:#B42318;border:1px solid #FECDCA;}
#form input[type="file"]{padding:9px 12px;}

.job-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:50px;align-items:start;}
.job-card{position:sticky;top:110px;padding:30px;border-radius:15px;border:1px solid #E3ECFF;background:#F5F9FF;}
.job-card dl{display:grid;grid-template-columns:auto 1fr;gap:10px 16px;margin-bottom:25px;}
.job-card dt{font-weight:600;color:#0C1E21;}
.job-card dd{margin:0;}
.job-card .enbtn{display:inline-block;padding:12px 28px;border-radius:8px;background:#194B80;color:#fff;font-weight:500;}
.career-header{cursor:pointer;}
.career-header:focus-visible{outline:2px solid #509FE0;outline-offset:4px;border-radius:8px;}
@media (max-width:991px){
    .job-grid{grid-template-columns:100%;}
    .job-card{position:static;}
}

/* Cards are visible without JavaScript; a short staggered fade-in on load */
.bloglist .blog-item{opacity:1;transform:none;animation:frCardIn 0.5s ease both;}
.bloglist .blog-item:nth-child(2){animation-delay:0.06s;}
.bloglist .blog-item:nth-child(3){animation-delay:0.12s;}
.bloglist .blog-item:nth-child(4){animation-delay:0.18s;}
.bloglist .blog-item:nth-child(5){animation-delay:0.24s;}
.bloglist .blog-item:nth-child(n+6){animation-delay:0.3s;}
@keyframes frCardIn{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:reduce){.bloglist .blog-item{animation:none;}}
.awach .owl-nav{display:none !important;}
.job-body h2{margin-top:35px;}.job-body h2:first-child{margin-top:0;}
.career-content ul,.career-content ol{padding-left:22px;margin-bottom:20px;}
.career-content ul{list-style:disc;}.career-content ol{list-style:decimal;}
.career-content h4{margin-top:20px;}.career-content h4:first-child{margin-top:0;}

/* ---------- Responsive layout for blog / post pages ---------- */
.sub-banner .breadcrumb li:last-child{max-width:min(520px,55vw);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
@media (max-width:991px){
    .blogrow,.bdgrid{grid-template-columns:100%;gap:40px;}
    .blogcol{order:-1;padding:25px 20px;}
    .blore{max-width:100%;}
}
@media (max-width:767px){
    .bloglist{grid-template-columns:100% !important;}
    .post-nav{flex-direction:column;}
    .sub-banner .breadcrumb li:last-child{display:none;}
}
/* the main stylesheet hides ".swiper a" on phones (hero slider arrows); keep the recent-blog links visible */
@media (max-width:767px){ .blogslider.swiper a{display:block;} }

/* ---------- News & Events (cards: .ncard in the main style.css) ---------- */
.news-topics{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:40px;}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;align-items:stretch;}
.news-more-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;}

/* article */
.newsdetail .news-article{width:80%;max-width:100%;margin:0 auto;}
@media (max-width:767px){ .newsdetail .news-article{width:100%;} }
.news-article .single-thumb{margin:0 0 36px;}
.news-article .single-thumb img{width:100%;max-height:560px;object-fit:cover;border-radius:18px;display:block;}
.news-head{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding-bottom:28px;margin-bottom:32px;border-bottom:1px solid #E3ECFF;}
.news-head h1{margin:0;font-size:40px;line-height:1.2;}
.news-head .ncard-meta{font-size:15px;}
.news-article .post-content{font-size:17px;line-height:1.75;}
.news-article .post-content > * + *{margin-top:0;}
.news-article .post-content p,.news-article .post-content ul,.news-article .post-content ol{margin-bottom:20px;}
.news-article .post-content h2{margin:40px 0 14px;font-size:28px;line-height:1.3;}
.news-article .post-content h3{margin:28px 0 10px;font-size:21px;line-height:1.35;font-weight:500;}
.news-article .post-content li{margin-bottom:8px;}
.news-article .post-nav{margin-top:48px;padding-top:24px;}
.news-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:32px 0 0;}
.news-gallery figure{margin:0;}
.news-gallery img{width:100%;height:100%;aspect-ratio:3/2;object-fit:cover;border-radius:14px;display:block;}
.rnews.pt0{padding-top:0;}
@media (max-width:991px){ .news-grid{grid-template-columns:repeat(2,minmax(0,1fr));} .news-head h1{font-size:32px;} }
@media (max-width:767px){ .news-article .single-thumb img{max-height:300px;}.news-grid,.news-gallery{grid-template-columns:100%;} }

/* ---------- Previous / next article ---------- */
.pnav{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:48px;}
.pnav-link{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1px solid #E3ECFF;border-radius:14px;background:#fff;color:#0C1E21;transition:border-color 0.3s ease,box-shadow 0.3s ease,transform 0.3s ease;}
.pnav-link:hover{border-color:#509FE0;box-shadow:0 10px 26px rgba(12,30,33,0.08);transform:translateY(-2px);}
.pnav-next{flex-direction:row-reverse;text-align:right;}
.pnav-icon{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#EFF6FF;color:#0A79C9;transition:background 0.3s ease,color 0.3s ease;}
.pnav-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform 0.3s ease;}
.pnav-prev .pnav-icon svg{transform:rotate(180deg);}
.pnav-link:hover .pnav-icon{background:#194B80;color:#fff;}
.pnav-prev:hover .pnav-icon svg{transform:rotate(180deg) translateX(3px);}
.pnav-next:hover .pnav-icon svg{transform:translateX(3px);}
.pnav-text{display:flex;flex-direction:column;gap:4px;min-width:0;}
.pnav-text small{font-size:12px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:#6A7282;}
.pnav-text strong{font-size:15px;font-weight:500;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
@media (max-width:767px){ .pnav{grid-template-columns:100%;} .pnav-spacer{display:none;} }

/* Blog post body: headings were the site's thin 300 weight - bolder for readability */
.post-content h2{font-weight:600;}
.post-content h3{font-weight:600;}
.post-content strong,.post-content b{font-weight:700;}
/* links in post body used var(--pink), which this site doesn't define, so they looked like plain text */
.post-content a{color:var(--lblue,#509FE0);font-weight:500;text-decoration:underline;text-underline-offset:3px;}
.post-content a:hover{color:#2B7FFF;}
