/* 
 Theme Name:   Helllo Elementor Child TLE
 Theme URI:    
 Description:  
 Author:       Ben 
 Author URI:   https://wordpress-633120-3564170.cloudwaysapps.com
 Template:     hello-elementor
 Version:      1.4.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 /* == Add your own styles below this line ==
--------------------------------------------*/
.wm-page-heading h1{ font-size:15px; }
.wm-page-heading .wm-paragraph{ font-size:2.5rem; }



:root{
  --tmm-ink: #1a1a1a;          /* primary text */
  --tmm-muted: #8f8a86;        /* subtle text / dots */
  --tmm-border: #e7dfd8;       /* soft border */
  --tmm-btn: #ffffff;          /* button bg */
  --tmm-btn-hover: #f6efe9;    /* hover bg */
  --tmm-btn-active: #1a1a1a;   /* active fill */
  --tmm-btn-active-text: #ffffff;
}

.eael-post-list-posts-wrap.eael-post-appender {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; /* space between posts, adjust as you like */
}

/* Make each card stretch full height for consistent layout */
.eael-post-list-post {
  display: flex;
  flex-direction: column;
}

/* Thumbnail images full width */
.eael-post-list-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
ul.page-numbers svg {
    height: 30px;
    width: 30px;
}

ul.page-numbers {
    list-style: none;
    display: flex;
}

.eael-post-list-container.layout-advanced .eael-post-list-posts-wrap .eael-post-list-post .eael-post-list-post-inner {
    padding: 0 15px 0 15px;
    position: relative;
    z-index: 1;
    width: 100%;
}
.eael-post-list-container.layout-advanced .eael-post-list-wrap, .eael-post-list-container.layout-advanced .eael-post-list-post {
    padding: 0;
}

.eael-post-list-post {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0 10px 8px 0;
    -webkit-animation: eael-slide-in-up .5s linear;
    animation: eael-slide-in-up .5s linear;
}
.eael-post-list-container.layout-advanced .eael-post-list-posts-wrap .eael-post-list-post .eael-post-list-thumbnail {
    max-width: 100%;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 100%;
    flex: 0 1 100%;
    margin-right: 0;
    margin-bottom: 40px;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}
.eael-post-list-thumbnail {
    max-width: 30%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    overflow: hidden;
    margin-right: 15px;
}
.eael-post-list-container.layout-advanced .eael-post-list-posts-wrap .eael-post-list-post .eael-post-list-content {
    padding: 0 10px 25px 15px;
}
.eael-post-list-container.layout-advanced .eael-post-list-posts-wrap .eael-post-list-post:hover .eael-post-list-post-inner:after {
    -webkit-box-shadow: 0 8px 25px 0 rgba(0, 6, 55, .1);
    box-shadow: 0 8px 25px 0 rgba(0, 6, 55, .1);
}
.eael-post-list-container.layout-advanced .eael-post-list-posts-wrap .eael-post-list-post .eael-post-list-post-inner:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70%;
    content: "";
    background: #f8f8fe;
    z-index: -1;
    border-radius: 5px;
    -webkit-transition: all 300ms;
    transition: all 300ms;
}

.eael-post-list-container.layout-advanced .eael-post-list-posts-wrap .eael-post-list-post .eael-post-list-content .eael-post-list-title {
    margin-bottom: 15px;
}
.eael-post-list-content .eael-post-list-title, .eael-post-list-content .eael-post-list-title a {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.eael-post-list-content .eael-post-list-title, .eael-post-list-content .eael-post-list-title a {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.eael-post-list-content .meta {
    font-size: 12px;
    line-height: 1;
    margin: 5px 0;
}
.eael-post-list-content p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
}
.eael-post-elements-readmore-btn {
    font-size: 12px;
    font-weight: 500;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    display: inline-block;
}

.eael-post-list-header .post-categories a {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    display: inline-block;
    padding: 6px 10px;
    margin: 0 3px;
    -webkit-transition: all .3s;
    transition: all .3s;
    padding: 15px 16px 15px 16px;
    border-radius: 8px;
    text-transform: capitalize;
	color: #5a5a5a;
	    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
}
.eael-post-list-header .post-categories a:hover {
    background-color: var( --e-global-color-1fc8a38 );
    color: #fff !important;
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: var(--e-global-typography-text-font-weight);
}

.eael-post-list-container.layout-advanced .eael-post-list-header .post-categories a.active{
	background-color: var( --e-global-color-1fc8a38 );
    color: #fff !important;
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-weight: var(--e-global-typography-text-font-weight);
}

.eael-post-list-container.layout-advanced .eael-post-list-header .post-categories a {
    border-radius: 8px;
    text-transform: capitalize;
    color: #040054;
}
.eael-post-list-container.layout-advanced .eael-post-list-header {
    margin-bottom: 75px;
    -webkit-box-shadow: 0 10px 35px 8px rgba(0, 9, 78, .1);
    box-shadow: 0 10px 35px 8px rgba(0, 9, 78, .1);
    border-radius: 8px;
    background: #fff;
    border: 0 solid;
}
.eael-post-list-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-radius: 0;
    border-bottom: 2px solid #e23a47;
}


.post-list-pagination ul.page-numbers {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    height: auto;
	gap: 0;
}

.post-list-pagination .page-numbers li span {
    margin: 0;
}

.post-list-pagination ul.page-numbers li {margin: 0 5px;}

.post-list-pagination ul.page-numbers li svg {
    width: 14px;
    height: 14px;
}

.elementor-widget-eael-post-list .eael-post-list-content .eael-post-list-title, .elementor-widget-eael-post-list .eael-post-list-content .eael-post-list-title a {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
}

.tmm-post-list .elementor-background-overlay {
    display: none;
}


.post-list-pagination{
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}

.tmm-pagination{ width: 100%; }
.tmm-pagination .page-numbers{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tmm-pagination .page-numbers li{ display: inline-flex; }

/* base button */
.tmm-pagination .page-numbers a,
.tmm-pagination .page-numbers span{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--tmm-border);
  background: var(--tmm-btn);
  color: var(--tmm-ink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

/* hover / focus */
.tmm-pagination .page-numbers a:hover{
  background: var(--tmm-btn-hover);
  border-color: #ddd3cb;
}
.tmm-pagination .page-numbers a:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,26,26,.12);
}

/* active (current page) */
.tmm-pagination .page-numbers .current{
  background: var(--tmm-btn-active);
  color: var(--tmm-btn-active-text);
  border-color: var(--tmm-btn-active);
}

/* dots */
.tmm-pagination .page-numbers .dots{
  background: transparent;
  border: 0;
  min-width: auto;
  padding: 0 6px;
  color: var(--tmm-muted);
}

/* prev/next “icon” buttons */
.tmm-pagination .page-numbers .prev,
.tmm-pagination .page-numbers .next{
  min-width: 40px;
  padding: 0;
}

/* ensure SVG arrows inherit color & size */
.tmm-pagination .page-numbers svg{
  width: 12px;
  height: 12px;
  fill: currentColor;
  display: block;
}

/* Disabled look (when you render a span for disabled) */
.tmm-pagination .page-numbers .disabled,
.tmm-pagination .page-numbers .prev[aria-disabled="true"],
.tmm-pagination .page-numbers .next[aria-disabled="true"]{
  opacity: .45;
  cursor: not-allowed;
  background: #faf7f4;
}

/* responsive tweaks */
@media (max-width: 640px){
  .tmm-pagination .page-numbers a,
  .tmm-pagination .page-numbers span{
    min-width: 36px;
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
    border-radius: 5px;
  }
  .tmm-pagination .page-numbers{ gap: 6px; }
}
/* Responsive: 2 per row on tablets, 1 per row on mobile */
@media (max-width: 991px) {
  .eael-post-list-posts-wrap.eael-post-appender {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .eael-post-list-posts-wrap.eael-post-appender {
    grid-template-columns: 1fr;
  }
}
