/* 
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 */
h1.entry-title {
    display: none;
}
body{font-family: "Poppins", Sans-serif !important;}
.owl-dots {
    text-align: center;
}
button.owl-dot {
    border: 1px solid #000 !important;
    width: 6px !IMPORTANT;
    height: 6px !IMPORTANT;
    margin: 1px;
    background: #5b5b5b ! IMPORTANT;
    border-radius: 100px;
}




    .forex-filters {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #D9D9D8;
        border: 1px solid #161616;
        padding: 10px 15px;
        border-radius: 8px;
        margin-bottom: 25px;
    }
    .filter-select {
    padding: 8px 20px;
    border-radius: 5px;
    border: 1px solid #231f1f;
    margin-right: 10px;
    font-size: 14px; font-weight:600;
}
.filter-right {
    display: flex;
}
    .apply-filter {
        background: #000;
        color: #fff;
        border: none;
        border-radius: 6px;
        padding: 8px 15px;
        cursor: pointer;
    }
    .forex-brokers-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .broker-card {
        border: 1px solid #535151;
        border-radius: 10px;
        background: #fff;
        padding: 20px;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        position: relative;
        transition: all 0.3s ease;font-weight: 500;
    }
    .broker-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    }
.broker-header-box {
    display: flex;
    align-items: center;    justify-content: space-between;
}
.broker-logo img {
    max-width: 200px;
    margin: 0 auto 10px;
    background: #d9d9d8;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #524f4f;
}

.broker-card h3.broker-title {
    display: none;
}
    .top-rated-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: #eaeaea;
        border: 1px solid #bbb;
        padding: 4px 8px;
        font-size: 12px;
        border-radius: 4px;
        font-weight: 600;
    }
    .broker-rating {
        margin: 8px 0 15px;
        font-size: 16px;
        color: #f5b300;
    }
    .star {
        font-size: 18px;
        color: #ccc;
    }
    .star.filled {
        color: #f5b300;
    }
    .review-count {
        font-size: 13px;
        color: #777;
        margin-left: 4px;
    }
    .broker-meta {
        border-radius: 6px;
        overflow: hidden;
        margin-bottom: 12px;
    }
    .meta-item {
        display: flex;
        justify-content: space-between;
        padding: 8px 12px;
            border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #2b2929 ! IMPORTANT;
        background: #D9D9D8;
        font-size: 14px;
    }

    .meta-item:last-child {
        border-bottom: none;
    }
    .regulated {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    text-align: left !important;
}
    .broker-buttons {
        display: flex;
        justify-content: space-between; text-transform:uppercase;
    }
    .btn {
        flex: 1;
        text-decoration: none;
        padding: 10px;
        border-radius: 5px;
        margin: 0 5px;
        font-weight: 600;
        transition: 0.3s; border: 1px solid #535151;
    }
    .btn.get-started {
        background: #D9D9D8; text-decoration:none;
        color: #000;
    }
    .btn.read-review {
        background: #000;
        color: #fff; text-decoration:none;
    }
    .btn:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .forex-brokers-grid {
    display: block !important;
  }
}



/***********************************************
 * Brokers Section Styling
 ***********************************************/
.brokers-box h3 {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.broker-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/*.broker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #383636;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    background: #d9d9d9;
    transition: all 0.3s 
ease;
}*/
.broker-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #383636;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    background: #d9d9d9;
    transition: all 0.3s 
ease; text-decoration:none; color: #000; font-weight:500;
}
.broker-item:hover {
    background: #eaf2ff;
    border-color: #87a8ff;
}

.broker-item img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

/***********************************************/


.forex-wrap img {
    background: #d9d9d8;
    border: 1px solid #000000;
    padding: 12px;
    border-radius: 10px;
}
.rating-wrap .elementor-widget-wrap.elementor-element-populated {
    background-color: #ebebeb;
    box-shadow: 0px 0px 12px #00000038;
    border-radius: 10px;    height: 150px;
}
.rating-wrap {
    align-items: center;
}
.xm-wrap a.elementor-button.elementor-button-link.elementor-size-sm {
    width: 100%;
}
a.elementor-button.elementor-button-link.elementor-size-sm {
    width: 100%;
}
.rank-text h6.elementor-heading-title.elementor-size-default {
    background-color: #000;
    padding: 12px 10px 12px;
    width: 45%;
    text-align: center;
    position: absolute;
    top: -58px;
    border-radius: 10px;
}
.forex-broker-wrap .elementor-widget-wrap.elementor-element-populated {
    background: #f1f1f1;
    border-radius: 16px;
    padding: 40px 20px 40px !important;
}
.bonus-btn {
    margin-top: 30px;
}
.bonus-btn a.btn {
    background: #000;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 20px;
    text-decoration: none;
}
.bonus-box a {
    text-decoration: none;
}
.during-wrap ul.list-style {
    margin: 10px 0 10px;
}
.meet-team h4 {
    margin: 7px 0 10px;
    font-size: 16px;
}

.btn-f a:after { content: ''; background: #0062f6; width: 0; height: 100%; left: 0; position: absolute; top: 0; z-index: -2; transition: .3s all ease;    border-radius: 10px; }
.btn-f a { position: relative; z-index: 2;    border-radius: 10px; }
.btn-f a:hover:after { width: 100%; }
.btn-f a:hover { color: #fff !important; }
.broker-item:hover { transform: translate(0px, -6px); transition: .5s ease;}


.trading-wrap {
    margin: 0 auto;
    padding: 30px 60px 20px;
    position: relative;
    background-color: #fff;
}
  /* subtle vertical grid lines behind content */
  .trading-wrap::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:
      linear-gradient(transparent 0 49%, rgba(10,20,10,0.016) 50% 51%, transparent 52% 100%),
      linear-gradient(90deg, rgba(10,20,10,0.01) 1px, transparent 1px);
    background-size: 100% 120px, 120px 100%;
    pointer-events:none;
    z-index:0;
  }

  .trading-wrap .features{
    display:grid;
    grid-template-columns: 1fr 420px 1fr;
    align-items:center;
    gap: var(--gap);
    position:relative;
    z-index:1;
  }

  /* circle image */
  .trading-wrap .circle{
    width:420px;
    height:420px;
    border-radius:50%;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto;
    box-shadow: 0 30px 60px rgba(12,20,12,0.09);
    background:linear-gradient(180deg, #fff 0%, #f2fbf9 100%);
  }

  .trading-wrap .circle img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  /* column layouts */
  .trading-wrap .col{
    display:flex;
    flex-direction:column;
    gap:40px;
       align-items: start;
    padding:10px 0;
  }

 .trading-wrap .col.right {
     align-items: flex-start; 
    /* text-align: right; */
    margin: 0 0 0 70px;
}

  /* pill */
 .trading-wrap .pill {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 18px 26px;
    min-width: 240px;
    box-shadow: var(--shadow);
    font-weight: 600;
    color: #1f2b27;
    position: relative;
    background:#f0f0f0;
    border-radius: 50px;
}

 .trading-wrap .arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(6,12,8,0.25);
    color: #cfe6de;
    font-weight: 700;
    font-size: 16px;
    background-color: #000000;
}

  /* left column: arrow is on the right of the pill */
  .trading-wrap .col.left .item{
    display:flex;
    align-items:center;
    gap:12px;
  }
 .trading-wrap .col.left .pill {
    order: 1;
    background: #f0f0f0;
    border-radius: 50px;
}
  .trading-wrap .col.left .arrow{ order:2; }

  /* right column: arrow is on the left of the pill */
  .trading-wrap .col.right .item{
    display:flex;
    align-items:center;
    gap:12px;
  }
  .trading-wrap .col.right .arrow{ order:1; }
  .trading-wrap .col.right .pill{ order:2; }
  .trading-wrap .item.row-reverse { flex-direction: row-reverse;}
  /* smaller text style for subtitle / CTA under circle */
  .trading-wrap .cta{
    text-align:center;
    margin-top:26px;
    color:var(--muted);
    font-weight:500;
  }

  /* Responsive */
  @media (max-width:1100px){
    .trading-wrap .features{ grid-template-columns: 1fr 340px 1fr; }
    .trading-wrap .circle{ width:340px; height:340px; }
  }

  @media (max-width:820px){
    .trading-wrap .features{
      grid-template-columns: 1fr;
      row-gap:28px;
      justify-items:center;
    }
    .trading-wrap .col{ flex-direction:row; flex-wrap:wrap; justify-content:center; gap:14px; align-items:center; }
    .trading-wrap .col.left, .col.right{ align-items:center; }
    .trading-wrap .circle{ order:2; }
    .trading-wrap .col.left{ order:1; }
    .trading-wrap .col.right{ order:3; }
    .trading-wrap .pill{ min-width:200px; padding:14px 18px; font-size:14px; }
    .trading-wrap .arrow{ width:36px; height:36px; min-width:36px; font-size:14px; }
  }

  /* small arrow glyphs using CSS triangles (chevrons) */
  .trading-wrap .arrow::after{
    content: "»";
    transform: scaleX(1.0);
    font-size:14px;
    line-height:1;
    color: #d6efe4;
  }

  /* for left-column arrows show right chevron, for right-column arrows show left */
  .trading-wrap .col.right .arrow::after{ content:"❮"; color:#d6efe4; font-size:15px; }
  .trading-wrap .col.left .arrow::after{ content:"❯"; color:#d6efe4; font-size:15px; }


.table-wrap ul.list-style { padding: 0 0 0 20px;}
.forex-wrap .elementor-widget-wrap.elementor-element-populated:hover { transform: translate(0px, -6px); transition: .5s ease;}

.news-update h3.hfe-post-title a {
    text-decoration: none;
}
.news-update img.attachment-medium.size-medium.wp-post-image {
    height: 170px !important;
    object-fit: cover;
}

.forex-brokers-grid.promo-carousel
 {
    grid-template-columns: repeat(4, 1fr);
}
.promo-text
 {
    margin-bottom: 20px;
    font-weight: 400;
}
.broker-card.promo-card {
    text-align: left;
}
.promo-offer-title {
    font-weight: 400;
    font-size: 13px;
}
.promo-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}



	.broker-box {
	  background: #fff;
	  border: 1px solid #ccc;
	  margin: auto;
	  border-radius: 6px;
	  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	  overflow: hidden;
	}

	.broker-top {
		background: #000;
		color: #fff;
		display: flex;
		align-items: center;
		padding: 15px 20px;
		justify-content: space-around;
	}

	.rank {
		font-size: 14px;
		background: #ffffff;
		color: #000000;
		padding: 10px 20px 6px;
		border-radius: 4px;
		font-weight: bold;
		margin-right: 15px;
		position: absolute;
		top: -18px;
		left: 50px;
	}
	.button-bar a {
		text-decoration: none;
		background: #000;
		color: #000000;
		padding: 10px 25px;
		border-radius: 4px;
		font-weight: bold;
		transition: 0.3s;
		background-color: #ffffff;
	}

	.logo {
	  padding: 5px 10px;
	  border-radius: 5px;
	  margin-right: 15px;
	}

	.logo img {
		height: 60px;
		border-radius: 6px;
	}

	.broker-name {
	  font-size: 18px;
	  font-weight: bold;
	  color: #fff;
	}

	.rating-section {
	  text-align: center;
	  margin-right: 40px;
	}

	.rating-section h4 {
	  margin: 0;
	  font-size: 14px;
	  color: #bbb;
	  letter-spacing: 1px;
	}

	.stars {
	  color: gold;
	  font-size: 20px;
	  margin: 4px 0;
	}

	.rating-value {
	  font-weight: bold;
	  font-size: 14px;
	}

	.bonus-section {
	  text-align: center;
	  max-width: 250px;
	}

	.bonus-section h4 {
	  margin: 0;
	  font-size: 14px;
	  color: #bbb;
	}

	.bonus-section p {
    margin: 5px 0 0;
    font-size: 11px;
    line-height: 1.4;
}

	.button-bar {
	  gap: 15px;
	  padding: 15px;
	}

	.button-bar a {
		text-decoration: none;
		color: #000000;
		padding: 10px 25px;
		border-radius: 4px;
		font-weight: bold;
		transition: 0.3s;
		margin: 0 16px 0 0;
	}
.button-bar p {
    margin: 18px 0 0;
    font-size: 10px;
}

	.broker-details {
	  padding: 20px;
	}

	.broker-details h3 {
	  font-size: 15px;
	  font-weight: bold;
	  margin-bottom: 15px;
	  border-bottom: 2px solid #000;
	  display: inline-block;
	}

	.details-table {
	  width: 100%;
	  border-collapse: collapse;
	  font-size: 14px;
	  margin-top: 10px;
	}

	.details-table td {
	  border: 1px solid #ddd;
	  padding: 10px 12px;
	  vertical-align: top;
	}

	.details-table td:first-child {
	  font-weight: bold;
	  background: #f8f8f8;
	  width: 25%;
	}

	.details-table td:last-child {
	  color: #333;
	}

	/* --- PROS / CONS TABLE SECTION --- */
	.pros-cons {
	  background: #fff;
	  border: 1px solid #ccc;
	  margin: 0px 25px 50px;
	  border-radius: 6px;
	  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
	  overflow: hidden;
	}

	.pros-cons table {
	  width: 100%;
	  border-collapse: collapse;
	  font-size: 14px;
	}

	.pros-cons th {
	  background: #cfcfcf;
	  color: #000;
	  text-align: center;
	  padding: 10px;
	  font-weight: bold;
	  font-size: 15px;
	  border: 1px solid #bbb;
	}

	.pros-cons td {
	  border: 1px solid #ddd;
	  padding: 10px 15px;
	  vertical-align: top;
	}

	.pros-cons td:first-child {
	  width: 50%;
	}
	.during-wrap {
		padding: 0px 30px 20px;
	}




/* --- Forex Bonus Grid Layout (Display 4 posts per row) --- */
.forex-bonus-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns for desktop */
    gap: 20px; /* Space between the items */
    margin-bottom: 40px;
}

/* --- Individual Bonus Item Style --- */
.forex-bonus-item {
    border: 1px solid #818080;
    padding: 40px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    text-align: center;
    background: #f1f1f1;
}

.bonus-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    overflow: hidden; /* Crop if image is too big */
}

.bonus-image {
    max-width: 75% !important;
    max-height: 100%;
    height: auto;
    object-fit: contain; /* Ensures the image is contained without cropping */
}

.forex-bonus-item h3 {
    font-size: 18px;
    margin: 30px 0 15px;
}
.bonus-short-info {
    color: #666;
    margin-bottom: 15px !important;
    overflow: hidden;
}

.bonus-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #000;
    color: white;
    text-decoration: none !important;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.bonus-button:hover {
    background-color: #0056b3; color: #fff !important;
}

/* --- Basic Pagination Styling --- */
.custom-pagination {
    text-align: center;
    margin-top: 20px;
}

.custom-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 5px;
}

.custom-pagination li {
    display: inline-block;
}

.custom-pagination a,
.custom-pagination .current {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.custom-pagination .current {
    background-color: #000;
    color: white;
    border-color: #000;
    font-weight: bold;
}

.custom-pagination a:hover {
    background-color: #f0f0f0;
}

.pip-box button, .ps-box button {
    background: #000 !important;
}

.custom-posts ul.post-carousel-categories
 {
    position: relative;
    bottom: 0;
    order: 2;
    visibility: visible !important;
    opacity: 1 !important;
    border-bottom: 1px solid #ccc;    background: #f2f2f2;
}
.custom-posts .eael-entry-media
 {
    display: grid;
}
.custom-posts .eael-entry-thumbnail {
    order: 1;
}
.custom-posts ul.post-carousel-categories li
 {
    color: #000;
}
.custom-posts ul.post-carousel-categories li a
 {
    color: #000;
}
.form-group.col-sm-6 {
    float: left;
    width: 50%;
    padding: 0 20px;
}
.form-group.col-sm-12 {
    padding: 0 20px;
}
button.rmi-btn {
    background: #000 !important;
    border-color: #000;
    color: #fff;
    width: 100%;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .forex-bonus-list {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for medium screens */
    }
}

@media (max-width: 768px) {
    .forex-bonus-list {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 480px) {
    .forex-bonus-list {
        grid-template-columns: 1fr; /* 1 column for mobile */
    }
}


.single-post h1.entry-title {
    display: block !important;
    max-width: 1340px;
}

#sidebar-bonus
 {
    height: fit-content;
}
.single-post main#content {
    border-top: 1px solid;
    max-width: 1340px;
    padding: 20px 10px 40px;
}
.single-post img.featured-image.wp-post-image
 {
    margin-bottom: 25px;
}

textarea.form-control {
    height: 100px;
}
.form-group
 {
    margin-bottom: 10px;
}
.broker-buttons a {
    text-align: center;
}
@media (max-width: 767px) {
    .broker-list { display: block !important; }
    .broker-item { justify-content: center; text-align: center; }
	
}

@media (min-width: 320px) and (max-width: 767px){
   html, body { overflow-x: hidden;}
	.rank-text h6.elementor-heading-title.elementor-size-default { top: -36px;}
	.broker-top {
    display: block !important;
    text-align: center;
}
.bonus-section p {
    margin: 10px 0 10px;
}
.broker-box .button-bar p {
    margin: 20px 0 0;
    line-height: 24px;
}
.broker-box .logo {
    margin-right: 0;
}
.broker-box .rating-section {
    margin-right: 0;
}
.button-bar {
    line-height: 54px;
}	
.broker-box .broker-top {
    padding: 45px 20px;
}
.broker-box .rank {
    left: 0;
    right: 0;
    margin: auto;
    width: 40%;
    text-align: center;
}	
.broker-item img {
    width: 25px !important;
    height: 25px;
    border-radius: 0;
    margin-right: 5px;
}
.broker-item a span {
    font-size: 13px !important;
}	
.hfe-posts-grid {
    gap: 20px !important;
}	
.review-wrap {
    display: block !important;
}	
.review-wrap .review-box {
    margin: 0 0 60px;
}	
.apply-filter { padding: 6px 10px !important;font-size: 12px;}
.trading-wrap {padding: 30px 10px 20px !important;}
.trading-wrap .col.right {margin: 0 0 0 0px !important;}	
.home-type-icon { text-align: center; margin: 0 auto ! IMPORTANT;}	
.home-type-icon .elementor-image-box-wrapper { display: flex; align-items: center; text-align: center;}	
	
.trading-wrap .circle { width: 200px; height: 200px;}	
	
.forex-filters { display: block; }	
.filter-right { display: block;    margin-top: 10px;}	
button.apply-filter { width: 100%; margin-top: 10px;}	
.broker-buttons a { font-size: 12px;}	
.form-group.col-sm-6, .form-group.col-sm-12 { width: 100%; padding: 0 5px;}

	
	
}


