/*
Theme Name: Hello Elementor Child
Theme URI: https://aurbis.com
Description: Child theme for Hello Elementor
Author: Santhosh
Author URI: https://smrtpl.com
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

.custom-blog-container{
    max-width:1200px;
    margin:auto;
    padding:40px 20px;
}

.custom-blog-post{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
/*    box-shadow:0 5px 30px rgba(0,0,0,0.08); */
}

.featured-image img{
    width:100%;
    height:auto;
}

.custom-blog-post h1{
    color:#0B1F3A;
    font-size:42px;
    padding:30px 30px 10px;
}

.meta{
    color:#C1121F;
    padding:0 30px 20px;
}

.content{
    padding:0 30px 40px;
    line-height:1.8;
}
.blog-card{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    transition:0.3s;
    height:100%;
}

.blog-card:hover{
    transform:translateY(-5px);
}

.blog-image{
    width:100%;
    height:250px;
    object-fit:cover;
}

.blog-content{
    padding:25px;
}

.blog-date{
    color:#C1121F;
    font-size:14px;
    margin-bottom:10px;
}

.blog-title{
    font-size:24px;
    margin-bottom:15px;
}

.blog-title a{
    color:#0B1F3A;
    text-decoration:none;
}

.blog-title a:hover{
    color:#C1121F;
}

.blog-excerpt{
    color:#555;
    line-height:1.7;
    margin-bottom:20px;
}

.read-more{
    color:#C1121F;
    font-weight:600;
    text-decoration:none;
}

.read-more:hover{
    color:#0B1F3A;
}

.pagination-wrapper{
    margin-top:50px;
    text-align:center;
}
/* Container Styling */
.accordion-container {
    margin: 40px auto;
    padding: 0 20px;
}

/* Individual Accordion Item */
/* Container Box styling */
.accordion-container {
  margin: 2rem auto;
  font-family: system-ui, -apple-system, sans-serif;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

/* Individual Accordion Item Wrapper */
.accordion-item {
  border-bottom: 1px solid #e2e8f0;
}

.accordion-item:last-child {
  border-bottom: none;
}

/* Header & Toggle Clickable Region */
.accordion-header {
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  list-style: none; /* Hides default native arrow on Chrome/Firefox */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Fallback override to hide default native arrow on Safari */
.accordion-header::-webkit-details-marker {
  display: none;
}

/* Custom CSS Plus (+) Indicator */
.accordion-header::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1;
}

/* Change icon to Minus (-) when accordion is open */
.accordion-item[open] .accordion-header::after {
  content: "−"; /* Using a proper minus character for alignment */
}

/* 
   The Animation Engine: Uses CSS grid rows to transition from 
   0fr (collapsed) to 1fr (expanded) seamlessly. 
*/
.accordion-animate {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

/* Expand the grid row when the parent <details> is open */
.accordion-item[open] .accordion-animate {
  grid-template-rows: 1fr;
}

/* Inner content wrapper must have overflow hidden for the transition to work */
.accordion-content {
  overflow: hidden;
  background-color: #ffffff;
  color: #334155;
  line-height: 1.6;
}

/* Add padding inside the content block so padding doesn't break the 0px height collapse */
.accordion-content p {
  padding: 1rem 1.5rem;
  margin: 0;
}
.accordion-body { padding-left:20px; }
/* ========================================
   FORMINATOR POPUP
======================================== */
#forminator-popup {
    display: flex;
    position: fixed;

    /* Cover the entire browser screen */
    inset: 0;
    width: 100%;
    height: 100vh;

    /* Center popup horizontally and vertically */
    align-items: center;
    justify-content: center;

    /* Overlay background color */
    background-color: rgba(0, 0, 0, 0.65);

    /* Above other website elements */
    z-index: 999999;

    /* Initially hidden */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    padding: 20px;
    box-sizing: border-box;

    transition: opacity 0.3s ease,
                visibility 0.3s ease;
}


/* Show popup */
#forminator-popup.popup-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Actual popup box */
#forminator-popup .custom-popup-content {
    position: relative;

    width: 100%;
    max-width: 650px;
    max-height: 90vh;

    /* Popup background color */
    background-color: #ffffff;

    padding: 40px 30px 30px;

    border-radius: 12px;

    overflow-y: auto;

    box-sizing: border-box;

    box-shadow: 0 15px 50px
                rgba(0, 0, 0, 0.3);
}


/* Close button */
#forminator-popup .custom-popup-close {
    position: absolute;

    top: 10px;
    right: 15px;

    z-index: 10;

    border: none;
    background: transparent;

    font-size: 32px;
    line-height: 1;
	color: #000;
    cursor: pointer;
}


/* Prevent page scrolling while popup is open */
body.forminator-popup-active {
    overflow: hidden;
}


/* Mobile */
@media (max-width: 767px) {

    #forminator-popup {
        padding: 15px;
    }

    #forminator-popup .custom-popup-content {
        max-height: 90vh;
        padding: 40px 20px 20px;
    }

}
body.forminator-popup-active {
    overflow: hidden;
}
.wp-block-heading { padding-top:30px !important;}

