

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Hero Section */
/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #24543C, #2D6A4F);
    padding: 2rem 0;
    margin-bottom: 3rem;
    color: white;
}

.hero-section h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.review-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.review-title-row .broker-logo {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: -12px;
}

.review-title-row .broker-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 3px;
}

.rating-badges {
    display: flex;
    gap: 1rem;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 1.125rem;
}

.rating-badge i {
    color: #FFB100;
}
/* cta */


.cta-container {
   margin: 30px auto;
   display: flex;
   gap: 20px;
   justify-content: center;
   max-width: 600px;
}

.cta-button {
   padding: 14px 28px;
   text-align: center;
   text-decoration: none;
   font-weight: bold;
   border-radius: 4px;
   transition: all 0.3s ease;
}





.cta-button {
    display: inline-block;
    background: #FFB100;
    color: #1F2937;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    align-self: flex-end;
    margin-top: 1rem;
}

.cta-button:hover {
    background: #F59E0B;
    transform: translateY(-1px);
}






/* Author Box */
.author-box-inner {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.content-section .author-box-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4B5563;
}

.author-info i {
    color: #2D6A4F;
}

.author-info a {
    color: #2D6A4F;
    text-decoration: none;
    font-weight: 600;
}

.author-info a:hover {
    text-decoration: underline;
}

.last-updated {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4B5563;
    margin-left: auto;
}

.last-updated svg {
    color: #2D6A4F;
}

.fact-check-wrapper {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.fact-check-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4B5563;
    cursor: pointer;
    padding: 0.25rem 0;
    border-bottom: 1px dashed #9CA3AF;
}

.fact-check-info svg {
    color: #2D6A4F;
}

.fact-check-tooltip {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 320px;
    z-index: 200;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #4B5563;
}

.fact-check-tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 10px;
    height: 10px;
    background: white;
    border-left: 1px solid #E5E7EB;
    border-top: 1px solid #E5E7EB;
    transform: rotate(45deg);
}

.fact-check-tooltip a {
    color: #2D6A4F;
    font-weight: 600;
    text-decoration: none;
}

.fact-check-tooltip a:hover {
    text-decoration: underline;
}

.fact-check-wrapper:hover .fact-check-tooltip {
    display: block;
}

@media (max-width: 768px) {
    .author-box-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 0 0.75rem;
        align-items: center;
        font-size: 16px;
    }

    .author-info {
        grid-column: 1;
        grid-row: 1;
    }

    .fact-check-wrapper {
        grid-column: 1;
        grid-row: 2;
        position: static;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .last-updated {
        grid-column: 2;
        grid-row: 1 / 3;
        margin-left: 0;
        text-align: right;
    }

    .author-box-inner .author-info,
    .author-box-inner .author-info span,
    .author-box-inner .author-info a,
    .author-box-inner .fact-check-info,
    .author-box-inner .fact-check-info span,
    .author-box-inner .last-updated,
    .author-box-inner .last-updated span,
    .author-box-inner .fact-check-tooltip p,
    .author-box-inner .fact-check-tooltip a {
        font-size: 16px !important;
    }

    .fact-check-wrapper:hover .fact-check-tooltip {
        display: none;
    }

    .fact-check-wrapper.active .fact-check-tooltip {
        display: block;
    }

    .fact-check-tooltip {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        margin-top: 0.5rem;
        box-shadow: none;
        border: 1px solid #E5E7EB;
        font-size: 0.8rem;
        grid-column: 1 / -1;
    }

    .fact-check-tooltip::before {
        display: none;
    }
}

/* Quick Navigation - Mobile */
.quick-nav {
    background: white;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0.75rem 0;
    margin-top: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.quick-nav:before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: calc(100% + 1px);
    background: white;
    z-index: -1;
}

.quick-nav .container {
    position: relative;
    padding: 0 40px;
}

.quick-nav ul {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 0.25rem 0;
}

.quick-nav ul::-webkit-scrollbar {
    display: none;
}

.quick-nav li {
    flex: 0 0 auto;
}

.quick-nav a {
    display: block;
    padding: 0.5rem 1rem;
    background: #F3F4F6;
    color: #1F2937;
    text-decoration: none;
    border-radius: 100px;
    white-space: nowrap;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.quick-nav a:hover,
.quick-nav a.active {
    background: #2D6A4F;
    color: white;
}

.nav-scroll-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #2D6A4F;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.nav-scroll-left {
    left: 8px;
}

.nav-scroll-right {
    right: 8px;
}

/* Hide desktop navigation on mobile */
.quick-nav-desktop {
    display: none;
}

/* Content Sections */
.content-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #E5E7EB;
}



/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}






.advantages h3,
.disadvantages h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.advantages h3::before,
.disadvantages h3::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 8px;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.advantages h3::before {
    background-color: #40916C;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M19 11h-6V5h-2v6H5v2h6v6h2v-6h6z'/%3E%3C/svg%3E");
}

.disadvantages h3::before {
    background-color: #DC2626;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M19 13H5v-2h14z'/%3E%3C/svg%3E");
}












.advantages h3 {
    color: #059669;
}

.disadvantages h3 {
    color: #DC2626;
}

.advantages ul,
.disadvantages ul {
    list-style: none;
}

.advantages li,
.disadvantages li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.advantages li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #059669;
}

.disadvantages li:before {
    content: "×";
    position: absolute;
    left: 0;
    color: #DC2626;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: #F3F4F6;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.feature-card i {
    font-size: 2rem;
    color: #2D6A4F;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}


/* Platform Details */
.platform-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.platform-info h3 {
    color: #2D6A4F;
    margin-bottom: 1rem;
}

.platform-info ul {
    list-style: none;
}

.platform-info li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.platform-info li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2D6A4F;
}

/* Markets Grid */
.markets-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.market-type {
    background: #F3F4F6;
    padding: 1.5rem;
    border-radius: 8px;
}

.market-type h3 {
    color: #2D6A4F;
    margin-bottom: 0.5rem;
}

.market-type p {
    margin-bottom: 1rem;
    color: #4B5563;
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .review-layout {
        display: grid;
        grid-template-columns: 1fr 300px;
        gap: 2rem;
        align-items: start;
    }

    /* Hide mobile navigation */
    .quick-nav {
        display: none;
    }

    /* Show desktop navigation */
    .quick-nav-desktop {
        display: block;
        position: sticky;
        top: 20px;
        background: white;
        border-radius: 12px;
        border: 1px solid #E5E7EB;
        padding: 1.5rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .quick-nav-desktop h2 {
        color: #2D6A4F;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .quick-nav-desktop ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .quick-nav-desktop a {
        display: block;
        padding: 0.5rem 1rem;
        color: #1F2937;
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .quick-nav-desktop a:hover,
    .quick-nav-desktop a.active {
        background: #F3F4F6;
        color: #2D6A4F;
    }

    .overview-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .platform-details {
        grid-template-columns: 1fr 1fr;
    }

    .markets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .rating-badges {
        flex-direction: column;
    }

    .content-section {
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 1rem;
    }

    .broker-gallery{
        
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .container {
        padding: 0;
    }

    .hero-section .container {
        padding: 0 1rem;
    }
}

/* Print Styles */
@media print {
    .quick-nav,
    .quick-nav-desktop {
        display: none;
    }

    .content-section {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}


/* Overview Grid */


.advantages li {
    color: #2D6A4F;
}

.disadvantages li {
    color: #DC2626;
}


.specialUl ul{
    display: grid;
    gap: 5px;
    max-width: 32rem;
    margin-left: 40px;
    margin-bottom: 17px;
    margin-top: 21px;
}

.specialUl ul li {
    padding: 6px 14px;
    /* background: linear-gradient(to right, rgb(254 255 254), rgb(240, 253, 244)); */
    border-radius: 0.25rem;
    border-left: 4px solid rgb(5, 150, 105);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: rgb(55, 65, 81);
    font-size: 0.875rem;
    list-style: none;
    background: #fdfdfd;
  
}

/* info-table */ 
.info-table {
    width: 100%;
    max-width: 800px;
    border-spacing: 0;
    margin: 1rem 0;
}

.info-table th {
    text-align: left;
    padding: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    width: 180px;
    vertical-align: top;
    border-bottom: 1px solid rgb(229, 231, 235);
}

.info-table td {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid rgb(229, 231, 235);
    color: rgb(55, 65, 81);
    line-height: 1.5;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.info-table tr:hover {
    background: rgb(249, 250, 251);
}


/* rating */ 

.rating-box {
   background: #f8f9fa;
   border-radius: 8px;
   padding: 25px;
  
}

.rating-summary {
   text-align: center;
   margin-bottom: 30px;
}

.rating-summary h3 {
   margin: 0 0 10px 0;
   color: #333;
}

.score {
   font-size: 48px;
   font-weight: bold;
   color: #FFB100;
   line-height: 1;
   display: inline-block;
}

.score-max {
   font-size: 24px;
   color: #666;
   display: inline-block;
}

.rating-details {
   max-width: 600px;
   margin: 0 auto;
}

.rating-row {
   display: grid;
   grid-template-columns: 180px 1fr 60px 50px;
   align-items: center;
   margin-bottom: 15px;
   gap: 15px;
}

.rating-header {
   display: grid;
   grid-template-columns: 180px 1fr 60px 50px;
   gap: 15px;
   margin-bottom: 5px;
}

.rating-weight-header {
   font-size: 12px;
   color: #888;
   text-align: right;
}

.rating-weight {
   font-size: 13px;
   color: #888;
   text-align: right;
}

.rating-label {
   font-weight: 500;
   color: #444;
}

.rating-bar {
   height: 8px;
   background: #e9ecef;
   border-radius: 4px;
   overflow: hidden;
}

.rating-fill {
   height: 100%;
   background: var(--primary-color);
   border-radius: 4px;
   transition: width 1s ease-in-out;
}

.rating-value {
   color: #666;
   font-size: 14px;
   text-align: right;
}

.content-section .author-box-inner span{
    font-size: 17px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    
    .content-section .author-box-inner {
  
    gap: 1px 2rem;
  
}
    .rating-row {
    display: block;

}
.rating-value {
    font-size: 15px;
    display: inline-block;
}
.rating-weight {
    font-size: 13px;
    float: right;
    margin-top: -34px;
}
.rating-header {
    display: none;
}
    
    .rating-badge {

    font-size: 19px;
}
.quick-nav a{
    font-size: 18px;
}
p, ul, li, strong, span, a{
  font-size: 18px;
}
    .hero-section {
        padding: 1.5rem 0;
        margin-bottom: 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-top {
        flex-direction: column;
    }

    .rating-badges {
        flex-direction: column;
    }

    .cta-button {
        align-self: stretch;
        text-align: center;
        margin-top: 1.5rem;
      
        width: 100%;
    }
    
     section .cta-button {
      
        margin-bottom: 1.5rem;
        
    }
}


.rating-methodology{
   padding-top: 15px;
    margin-bottom: 8px;
}