/* CSS for this specific page */




.category-list {
    justify-content: flex-start;
    padding-left: 0.5rem;
    padding-bottom: 3rem;
    padding-top: 1rem;
}


/* override and center the heading text */
h2.aprc-blog-title {
    text-align: center !important;
    margin: 0 auto !important;
    display: block; /* ensure block-level */
}


.category-item {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    display: inline-block;
    padding-bottom: 4px;
    cursor: pointer;
    border-bottom: 0.5px solid transparent;
    /* <-- prevents layout jump */
}

.category-item:hover,
.category-item.active {
    color: #007f72;
    border-bottom: 0.5px solid #007f72;
}



/* Ensure the active state is highly visible */
.category-item.active-filter {
    color: #007f72;
    border-bottom: 0.5px solid #007f72;
    opacity: 1 !important;
    transform: translateY(-2px);
}


.border-gradient {
    border: 2px solid transparent;
    border-image: linear-gradient(to right, #your-gradient-start, #your-gradient-end) 1;
}

.search-container input:focus {
    box-shadow: none;
    border-color: inherit; /* Keeps the gradient look on focus */
}

.modern-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 11px; /* Aligns with the bottom of the category text */
}

.modern-search-input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    /* This gradient adds a 'light reflection' to the top half */
    background: linear-gradient( 180deg, rgba(255, 255, 255, 0.7) 0%, rgba(240, 248, 255, 1) 50% /* aliceblue fallback */
    );
    background-color: aliceblue;
    border: 1px solid #d1d9e6; /* Slightly deeper border for contrast */
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    /* Inner shadow for depth */
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 2px 5px rgba(0, 0, 0, 0.05);
}

    .modern-search-input:hover {
        border-color: #b0c4de;
        /* Soft outer glow on hover */
        box-shadow: 0 0 10px rgba(240, 248, 255, 0.8), 0 5px 15px rgba(0, 0, 0, 0.05);
        background: #fff; /* Brighten on hover */
    }

    /* The 'Search Glow' effect when typing */
    .modern-search-input:focus {
        outline: none;
        background: #fff;
        border-color: transparent;
        /* This creates the 'Shine' on the edge using a gradient border trick */
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px aliceblue, 0 10px 20px rgba(0,0,0,0.06);
    }

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%); /* Perfectly centers the icon vertically */
    color: #999;
    font-size: 0.9rem;
}


.object-fit-cover {
    object-fit: cover;
    width: 100%;
    height: 123%;
}

.card {
    border-radius: 0.5rem;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-body {
    padding: 1.5rem !important;
    padding-top: 5rem !important;
    padding-bottom: 2.5rem !important;
}

.card-title {
    font-size: 1.35rem!important;/**/
    font-weight: 700;
    color: #222;
    padding-top: 0.7rem !important;
}

.card-text {
    font-size: 1.1rem!important;
    color: #555;
}

.hover-block {
    transition: color 0.2s ease;
}

.hover-block:hover h5,
.hover-block:hover p {
    color: #007f72;
}


/* TEXT ALIGNMENT — GLOBAL (saved content) */
.ql-align-center {
    text-align: center !important;
}

.ql-align-left {
    text-align: left !important;
}

.ql-align-right {
    text-align: right !important;
}

.ql-align-justify {
    text-align: justify !important;
}

/* IMAGE CENTERING */
.ql-align-center img {
    display: block !important;
    margin: auto !important;
}

.ql-align-center .ql-size-small {
    font-size: 1rem !important;
}
.half-width-img {
    width: 50%; /* half width */
    height: auto;
    object-fit: cover; /* fill the box */
    object-position: center center; /* center the image */
    display: block; /* removes inline spacing */
    margin: 0 auto; /* centers the image itself */
}

.dropcap::first-letter {
    font-size: 1.5em;
    float: left;
    line-height: 1;
    margin-right: 0px; /* space to the right */
    margin-left: 6px; /* space on the left */
}


