/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


div#filterable-post-list p {margin: 0;}
.post-loader {border: 5px solid #f3f3f3; border-top: 5px solid #a8b800; border-radius: 50%; width: 30px; height: 30px; margin: auto; animation: spin 1s linear infinite; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 9999; display: none;}
@keyframes spin {0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);}}
.filter-block {    margin: 0 0 20px 0;
    border-bottom: 1px solid #20202033;
    padding: 0 0 20px 0;
    display: flex
;
    align-items: baseline;
    justify-content: space-between;}
.filter-list {display: flex; flex-wrap: wrap; gap: 20px 30px; list-style: none; padding: 0; margin: 0; align-items: center;}
.post-list-container {margin: 50px 0 0 0;}
div#acf-taxonomy-filter .filter-list {gap: 10px;}
.filter-link {background: #fff; color: #202020; text-decoration: none; transition: all 0.3s; display: block; font-family: "Inter", Sans-serif; font-size: 16px; font-weight: 400; line-height: 1.2em;}
:focus-visible {outline: none;}
.filter-list.category-filter-list a.cat-filter.filter-link.active {text-decoration: underline;}
input::placeholder {opacity: 1 !important;}
.filter-list.category-filter-list input#post-title-search {background: #2020201A; border: none; border-radius: 50px; font-family: "Inter", Sans-serif; font-size: 16px; color: #20202066; background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><g clip-path="url(%23clip0_1731_6451)"><path d="M0.333252 7.00016C0.333252 8.76827 1.03563 10.464 2.28587 11.7142C3.53612 12.9645 5.23181 13.6668 6.99992 13.6668C8.76803 13.6668 10.4637 12.9645 11.714 11.7142C12.9642 10.464 13.6666 8.76827 13.6666 7.00016C13.6666 5.23205 12.9642 3.53636 11.714 2.28612C10.4637 1.03588 8.76803 0.333496 6.99992 0.333496C5.23181 0.333496 3.53612 1.03588 2.28587 2.28612C1.03563 3.53636 0.333252 5.23205 0.333252 7.00016Z" stroke="%23202020" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.6668 15.6665L11.7141 11.7139" stroke="%23202020" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_1731_6451"><rect width="16" height="16" fill="white"/></clipPath></defs></svg>'); background-size: unset; background-repeat: no-repeat; background-position: 10px 11px; padding: 6px 31px; max-width: 200px;}
.filter-link .count {color: #20202066; font-size: 12px; margin: -3px 0 0 0;}
.filter-list.category-filter-list a {display: flex; gap: 2px;}
div#acf-taxonomy-filter ul.filter-list a{padding: 5px 20px; border: 1px solid #20202066; white-space: nowrap;}
div#acf-taxonomy-filter ul.filter-list a:hover {border-color: #B5BD00;}
div#acf-taxonomy-filter ul.filter-list a.filter-link.active {background: #B5BD00; color: #fff; border-color: #B5BD00;}
.magazine-top-section {display: flex; gap: 20px; font-family: "Inter", Sans-serif;}
.magazine-featured {display: flex; flex-direction: column; position: relative; height: fit-content; width: 50%;}
.magazine-featured .magazine-meta {position: absolute; bottom: 20px; flex-direction: column; left: 20px;}
.magazine-meta-author-row {display: flex; align-items: center; gap: 10px; }
.magazine-featured .post-author-avatar {width: 40px; height: 40px; border-radius: 50px;}
.magazine-side-list {display: flex; flex-direction: column; gap: 18px; width: 50%;}
.magazine-side {display: flex; overflow: hidden; gap: 20px; align-items: center;}
.magazine-featured .magazine-cat-label {background: #B5BD00; color: #fff; font-size: 14px; line-height: 1.2em; padding: 3px 10px; border-radius: 50px; width: fit-content; position: absolute; top: 20px; left: 17px;}
.magazine-featured p.magazine-read-title {color: #fff; font-size: 16px;}
.magazine-featured span.magazine-date {color: #fff; font-size: 16px; margin: 0 0 0 5px;}
.magazine.read {display: flex; align-items: center;}
.magazine-main_title, .magazine-read-title, .magazine-date {font-size: 14px;}
p.magazine-read-title {
    font-weight: 400;
	    color: #202020B2;
	    font-size: 14px;
}
.magazine-main_title {color: #202020B2;}
.magazine-thumbnail {width: 100%; object-fit: cover;}
.magazine-featured .magazine-thumbnail.wp-post-image {height: 631px;}
.magazine-featured a { display: flex;   }
.magazine-side-left a { display: flex; width: 100%;}
.magazine-grid-item a {  display: flex; }
.magazine-meta {display: flex; gap: 10px; flex-direction: column;}
.magazine-read-date-min {display: flex;}
.magazine-meta .magazine-title {font-size: 25px; font-weight: 500; color: #fff; line-height: 1.2em;}
.magazine-meta .magazine-title a{ color: #fff; }
.magazine-date {color: #202020B2;     margin: 0 0 0 5px;}
.magazine-title {font-weight: 600; margin: 0; color: #202020; font-size: 25px; line-height: 1.2em;}
.magazine-title a{color: #202020; }
.magazine-read-title {color: #202020B2; font-size: 1rem; font-weight: 500; margin-bottom: 6px;}
.post-author {font-size: 16px; color: #FFFFFF; margin-top: 0;}
.magazine-featured:before {content: ""; position: absolute; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50.08%, rgba(0, 0, 0, 0.7) 100%); width: 100%; height: 100%; left: 0; top: 0;}
.magazine-side-list .magazine-cat-label {background: #B5BD00; color: #fff; font-size: 14px; line-height: 1.2em; padding: 3px 10px; border-radius: 50px; width: fit-content;}
.post-author-info {display: flex; align-items: center; gap: 10px;}
.post-author-info .post-author-avatar {width: 40px; height: 40px; border-radius: 50px;margin: 0;}
.post-author-info .post-author-name {color: #202020B2;}
.magazine-side-left img {width: 197px; max-width: 197px; height: 198px;}
.magazine-side-right {display: flex; flex-direction: column; gap: 10px;}
.magazine-side-left {display: flex;}
.magazine-grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; font-family: "Inter", Sans-serif;     margin: 50px 0 0 0;}
.magazine-grid-item {display: flex; flex-direction: column; overflow: hidden;}
.magazine-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 30px 0 0 0;
    font-family: "Inter", Sans-serif;
}
.mag-page-link {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    background: #fff;
    color: #202020;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    font-size: 16px;
    transition: background 0.25s, color 0.25s;
}
.mag-page-link.current, .mag-page-link.active {background: #b8c800; color: #fff;}
.mag-page-link:hover:not(.current):not(.active) {background: #e7efbb; color: #202020;}
.magazine-pagination .dots {color: #999; padding: 0 10px; font-weight: 400; background: none; border: none;}
.magazine-main_title {
    padding: 0 5px 0 0;
}
.magazine-grid-item .magazine-title {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 0;
}
.magazine-grid-item img {
    height: 305px;
    margin: 0 0 20px 0;
}
.magazine-cat {
    background: #B5BD00;
    color: #fff;
    font-size: 14px;
    line-height: 1.2em;
    padding: 3px 10px;
    border-radius: 50px;
    width: fit-content;
}
span.magazine-cat-label.mobile{
  display: none;
}






.filter-mobile-wrapper {
    display: none;
}

a.next.mag-page-link {
    font-size: 0;
}
a.next.mag-page-link,a.prev.mag-page-link {
    font-size: 0;
    justify-content: center;
    display: flex;
    align-items: center;
}
a.prev.mag-page-link:before {
    content: "";
    position: relative;
    background: url(https://infini.phytoquant.mc/blog/wp-content/uploads/2025/10/Vector10.svg);
    width: 9px;
    height: 15px;
    display: flex;
}

a.next.mag-page-link:before {
    content: "";
    position: relative;
    background: url(https://infini.phytoquant.mc/blog/wp-content/uploads/2025/10/Vector9.svg);
    width: 9px;
    height: 15px;
    display: flex;
}

















@media (max-width: 1024px) {
  div#acf-taxonomy-filter ul.filter-list {
      flex-wrap: nowrap;
      overflow: scroll;
  }
  div#acf-taxonomy-filter{
    margin: 0 -50px 20px 0;
}
  .magazine-top-section {
    flex-direction: column;
}
.magazine-featured {
    width: 100%;
}
.magazine-side-list {
    width: 100%;
    flex-direction: row;
    gap: 20px;
            flex-wrap: wrap;
}
.magazine-featured .magazine-thumbnail.wp-post-image {
    height: 475px;
}
.magazine-side {
    flex-direction: column;
    width: 48.5%;
        gap: 10px;
}
.magazine-side-left {
    display: flex;
    width: 100%;
}
.magazine-side-left img {
    width: 100%;
    max-width:100%;
    height: 324px;
}
.magazine-title {
    font-size: 16px;
}
.magazine-side-right {
    width: 100%;
}
.magazine-grid {
    margin: 20px 0 0 0;
    grid-template-columns: repeat(2, 1fr);
}
.post-list-container {
    margin: 20px 0 0 0;
}
.filter-block .elementor.elementor-432 {
    display: none;
}
}

@media (max-width: 767px) {
  div#acf-taxonomy-filter {
    margin: 0 -10px 0 0;
}
.magazine-featured .magazine-thumbnail.wp-post-image {
    height: 250px;
}
.magazine-side {
    flex-direction: column;
    width: 100%;
    gap: 10px;
}
.magazine-side-left img {
    width: 100%;
    max-width: 100%;
    height: 250px;
}
.magazine-grid {
    margin: 10px 0 0 0;
    grid-template-columns: repeat(1, 1fr);
	    gap: 10px;

}
.magazine-pagination {
    margin: 10px 0 0 0;
}
span.magazine-cat-label.mobile {
    display: flex;
    position: unset;
}
.magazine-featured .magazine-cat-label,.magazine-featured:before{
    display:none;
}
.magazine-featured p.magazine-read-title {
    color: #202020B2
}
.magazine-featured span.magazine-date {
    color: #202020B2;
}
.magazine-meta .magazine-title a {
    color: #202020;
}
.magazine-meta .magazine-title {
    font-size: 16px;
}
.post-author {
    color: #202020B2;
}
.magazine-featured .magazine-meta {
    position: unset;
            margin: 10px 0 0 0;
}
ul.filter-list.category-filter-list input#post-title-search-mobile {
    display: none;
}
.filter-mobile-wrapper {
    display: block;
    width: 100%;
    padding: 0;
    background: #fff;
    margin-bottom: 0;
}
.filter-mobile-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #20202033;
    padding: 0 0 10px 0;
}

.filter-mobile-header button:focus {
    background: transparent;
    color: #202020;
}
.accordion-toggle {
    width: fit-content;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    font-family: "Inter", Sans-serif;
    padding: 0;
    text-align: justify;
    color: #202020;
}
.accordion-panel {
    background: transparent;
    margin-top:10px;
}
#acf-taxonomy-filter, #category-filter {
    display: none !important;
}
#post-title-search-mobile {
    width: 100%;
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 16px;
    border: 1px solid #dedede;
    margin: 12px 0;
    background: #ededed;
}
div#category-accordion {
    width: 67%;
}
div#followus-accordion {
    width: 33%;
    text-align: end;
}
.accordion-panel ul.filter-list {
    border: 1px solid #20202033;
	gap: 0;
}
ul.filter-list.category-filter-list {
    border: none;
    margin: 10px 0 0 0;
    gap: 20px;
}
ul.filter-list li {
    width: 100%;
}
	ul.filter-list a.acf-filter.filter-link {
    width: 100%;
    padding: 15px 10px;
}
	ul.filter-list a.acf-filter.filter-link.active {
    background: #B5BD00;
    color: #fff;
}
	.mobile-search-container input#post-title-search-mobile-always {
    background: #2020201A;
    border: none;
    border-radius: 50px;
    font-family: "Inter", Sans-serif;
    font-size: 16px;
    color: #20202066;
    background-repeat: no-repeat;
    background-position: 10px 16px;
    padding: 12px 31px;
    max-width: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><g clip-path="url(%23clip0_1731_6451)"><path d="M0.333252 7.00016C0.333252 8.76827 1.03563 10.464 2.28587 11.7142C3.53612 12.9645 5.23181 13.6668 6.99992 13.6668C8.76803 13.6668 10.4637 12.9645 11.714 11.7142C12.9642 10.464 13.6666 8.76827 13.6666 7.00016C13.6666 5.23205 12.9642 3.53636 11.714 2.28612C10.4637 1.03588 8.76803 0.333496 6.99992 0.333496C5.23181 0.333496 3.53612 1.03588 2.28587 2.28612C1.03563 3.53636 0.333252 5.23205 0.333252 7.00016Z" stroke="%23202020" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.6668 15.6665L11.7141 11.7139" stroke="%23202020" stroke-linecap="round" stroke-linejoin="round"/></g><defs><clipPath id="clip0_1731_6451"><rect width="16" height="16" fill="white"/></clipPath></defs></svg>');
    margin: 10px 0 0 0;
}
	.post-list-container {
    margin: 10px 0 0 0;
}
	.magazine-side-list {
    gap: 10px;
}
	.accordion-toggle[type=button]:hover {
    background: transparent;
    color: #202020;
}
}
