/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1761136895
Updated: 2025-10-22 12:41:35
*/

/* LAYOUT */
.justify-content-center {
    justify-content: center;
}
.hero-section {
  width: 100%;
  /* Use your image here */
  background-image: url('https://propelvic.adevsite.uk/wp-content/uploads/2025/11/blog-hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;

  /* height can be adjusted — using viewport height gives nice hero effect */
  min-height: 370px;
  padding: 60px 20px;
  box-sizing: border-box;
}

.hero-inner {
  max-width: 1605px;
  width: 100%;
  text-align: left;
  color: #fff;
}

.hero-content {
    max-width: 675px;
    width: 100%;
    text-align: left;
}

.hero-content h1 {
  font-size: 60px;
  line-height: 35px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-family: "League Spartan", sans-serif;
  font-size: 25px;
  line-height: 35px;
  max-width: 700px;
}

/* Responsive tweaks */
@media screen and (max-width: 1024px) {
  .hero-section {
    min-height: 50vh;
    padding: 50px 15px;
  }
  .hero-content h1 {
    font-size: 36px;
    line-height: 44px;
  }
  .hero-content p {
    font-size: 18px;
    line-height: 28px;
  }
}

@media screen and (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 40px 15px;
  }
  .hero-content h1 {
    font-size: 28px;
    line-height: 36px;
  }
  .hero-content p {
    font-size: 16px;
    line-height: 24px;
  }
}

.category-page-wrapper {
    display: flex;
    max-width: 1640px;
    margin: 0 auto;
    gap: 40px;
    padding: 40px 20px;
}

.category-sidebar {
    width: 24%;
}

.category-content {
    width: 66%;
    flex: 1;
}

 h2{
    font-family: "Regards", Sans-serif;
    font-size: 40px ;
    font-weight: 400;
    line-height: 48px;
    margin-bottom: 40px;
    color: var(--e-global-color-primary);
    padding-left: 35px;
}

.category-sidebar h2{
    font-family: "Regards", Sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 48px;
    color: var(--e-global-color-primary);
    padding-left: 0px !important;
}

.category-sidebar h3{
    font-family:"League Spartan", sans-serif;
    font-size: 18px !important;
    font-weight: 400;
    line-height: 24px;
    color: var(--e-global-color-primary);
}

/* SEARCH FORM */
.category-search-form {
    display: flex;
    gap: 28px;
    margin-bottom: 20px;
    margin-top: 53px;
    align-items: center;
}

.category-search-form .search-field {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #D8D8D8;
    background: #FFFFFF;
}

.category-search-form .search-submit {
    width: 40px;
    height: 40px;
    background: #EB6070;
    border: none;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.category-search-form .search-submit svg {
    width: 60%;
    height: 60%;
    fill: white; /* arrow color */
}

.category-search-form .search-submit:hover {
    background: #EB6070;
}

/* CATEGORY LIST */
.category-list li {
    list-style: none;
    margin: 0;
}

.category-list a {
    color: var(--e-global-color-primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 34px;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
    padding: 0;
}

.category-list a::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="%232D6272"><path d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"/></svg>');
    width: 15px;
    height: 15px;
    transition: all 0.3s ease-in-out;
}

.category-list a:hover{
    color: #EB6070;
}

.active-category a {
    font-weight: bold;
    color: #EB6070 !important;
}

.category-list a:hover::after,
.active-category a::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" fill="%23EB6070"><path d="M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"/></svg>');
}

/* POSTS GRID */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 90px;
    padding: 0 15px;
}

.post-card {
    overflow: hidden;
    background: #fff;
    padding: 0px 20px 10px 20px;
    display: flex;
    flex-direction: column;
}

.post-thumb img {
    width: 100%;
    height: 250px;
    max-height: 250px;
    object-fit: cover;
    display: inline;
}

 .post-card-content {
    height: 100%;
    padding: 20px 20px 40px 20px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    width: calc(100% - 40px);
    margin-top: -80px;
    margin-left: auto;
    margin-right: auto;
}

 .entry-title{
    font-size: 24px !important;
    line-height: 30px;
    text-align: left;
    margin: 0 0 5px 0; 
    font-weight: 600;
    padding-left: 0;
}

 .entry-title a {
    color: var(--e-global-color-primary);
    text-decoration: none;
}

 .post-card-content p{
    font-size: 18px;
    line-height: 24px;
    text-align: left;
    color: var(--e-global-color-primary);
    margin: 0;
}

/* READ MORE BUTTON */
.read-more-btn {
    text-decoration: none !important;
    background-color: var(--e-global-color-secondary);
    padding: 10px 16px;
    margin-top: 10px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: var(--e-global-color-cc4e58c);
    fill: var(--e-global-color-cc4e58c);
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    min-width: 123px;
    width: fit-content;
}

.read-more-btn:hover{
    background-color: var(--e-global-color-19fefb7);
    color: #ffffff;
    fill: #ffffff;
}

.read-more-btn svg{
    width: 1em;
    height: 1em;
}

ul.category-list {
    padding-left: 0;
}

.entry-meta {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 1.2em;
    font-family: "League Spartan", Sans-serif;
    /* font-family: "Spartan", sans-serif; */
    letter-spacing: 0px;
    text-align: left;
    color: #EB6070;
    opacity: 1;
    margin-bottom: 10px;
}

.entry-meta a {
    color: #EB6070;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-meta a:hover {
    color: #2D6272;
}


section.news-detail-section{
    padding: 55px 0;
}
.news-featured-image img{
    display: block;
    object-fit: cover;
    width: 100%;
    max-height: 450px;
}
.news-detail-text h1{
    font-size: 40px!important;
    line-height: 48px!important;
    letter-spacing: 0px;
    font-weight: 400;
    color: #2D6272;
    font-family: "Regards", Sans-serif;
    margin: 56px 0 10px 0;
}
.news-detail-text .category-text{
    margin: 0 0 22px 0;
    display: block;
    letter-spacing: 0px;
    font-weight: 400;
    color: #EB6070;
    font-size: 18px!important;
    line-height: 24px!important;
    font-family: "League Spartan", Sans-serif;
}
.news-detail-text ul,
.news-detail-text ol {
    margin-bottom: 20px;
}
.news-detail-text ul li,
.news-detail-text ol li,
.news-detail-text p,.news-detail-text h3{
    color: #2D6272;
    letter-spacing: 0px;
    font-size: 18px!important;
    line-height: 24px!important;
    font-weight: 400;
    margin: 0 0 20px 0;
    font-family: "League Spartan", Sans-serif;
}
.news-detail-text ul li,
.news-detail-text ol li{
    margin: 0;
}
.news-detail-text h2{
    color: #2D6272;
    letter-spacing: 0px;
    font-size: 24px!important;
    line-height: 30px!important;
    font-weight: 600;
    margin: 0 0 22px 0;
    font-family: "League Spartan", Sans-serif;
}
.news-detail-text h3{
    font-weight: 600;
}
.news-detail-text h5{
    color: #2D6272;
}
.news-detail-text a{
    color: #EB6070;
    text-decoration: none;
    font-weight: 400;
    font-family: "League Spartan", Sans-serif;
}
.news-detail-text u{
    text-decoration: none;
}
.news-detail-parent{
    max-width: 812px;
    width: 100%;
    margin: 0 auto;
}
select.wpcf7-form-control.wpcf7-select.form-select {
    border-right: 12px solid transparent;
}
.wpcf7-list-item{margin: 0;}

.d-flex{
    display:flex !important;
}
.post-navigation a {
    color: #EB6070 !important;
    font-weight: 600;
    text-decoration: none;
}
.post-navigation a:hover{
     text-decoration: none !important;
     color: #00AA9E !important;
}
.post-navigation a:hover svg{
     fill: #00AA9E !important;
}
.post-navigation .nav-btn.disabled {
    color: #666;
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.7;
    font-size: 18px;
}

.post-navigation {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    margin-top: 15px;
    justify-content: center;
}

.post-navigation .nav-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-navigation .nav-btn.active {
    color: #f58220;
    font-size: 18px;
}

.post-navigation .nav-btn.disabled {
    color: #d8d8d8;
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.8;
}


.post-content .uagb-ifb-left-title-image{
    display: flex;
    flex-wrap: wrap;
}
.post-content .uagb-ifb-title-wrap{
    width: calc(100% - 20px);
    padding: 0 0 0 10px;
}
.post-content .uagb-ifb-icon-wrap svg{
    width: 20px;
    fill: #2D6272;
}



@media (max-width: 767px){
    .news-featured-image img{
        min-width: 150px;
    }
    section.news-detail-section{
    padding: 50px 0;
    }
}

/* MEDIA QUERIES */

/* 1024px and below: single card, sidebar on top */
@media screen and (max-width: 1024px) {
    .category-page-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 30px 20px;
    }

    .category-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }

    .category-content {
        width: 100%;
    }

    .posts-grid {
        grid-template-columns: 1fr; /* single card per row */
        gap: 30px 0;
        padding: 0;
    }

     /* h2 {
        font-size: 36px !important;
        padding-left: 10px;
    } */

    .category-search-form {
        flex-direction: row;
        gap: 20px;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .category-search-form .search-field {
        font-size: 15px;
        padding: 10px 14px;
    }

    .category-search-form .search-submit {
        width: 38px;
        height: 38px;
    }

    .post-card {
        width: 100%;
        padding: 0;
        overflow: visible;
    }

    .post-card .post-card-content {
        padding: 18px;
    }

    .post-thumb img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: cover;
    }

     .entry-title {
        font-size: 22px !important;
        line-height: 1.2em;
        padding-left: 0;
        padding-bottom: 10px;
    }

     .post-card-content p {
        font-size: 16px;
        line-height: 1.4em;
    }
}
@media screen and (max-width: 991px) {
    .news-detail-text h1{
        font-size: 35px!important;
        line-height: 40px!important;
        margin-top: 40px;
    }

}
/* 767px and below (mobile) */
@media screen and (max-width: 767px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }

    .post-card {
        padding: 0;
    }

    .category-page-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 20px 30px;
    }

    .category-sidebar {
        width: 100%;
        margin-bottom: 20px;
    }

    .category-content {
        width: 100%;
    }

    .post-card .post-card-content {
        padding: 20px;
    }

    .post-thumb img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: cover;
    }

     /* h2 {
        padding-left: 16px;
    } */


    .news-detail-text h1{
        font-size: 30px!important;
        line-height: 38px!important;
        margin-top: 30px;
    }
    .news-detail-text h2{
        font-size: 20px!important;
        line-height: 25px!important;
    }
    .news-detail-text .category-text,
    .news-detail-text ul li, .news-detail-text ol li, .news-detail-text p, .news-detail-text h3{
        font-size: 16px !important;
    }
}

/* 525px and below (small mobile) */
@media screen and (max-width: 525px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 30px 0;
    }
}
