/*
Theme Name: Tradelize
Description: A cryptocurrency trading and information WordPress theme
Version: 1.0
Author: Your Name
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
 
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: #1e293b;
    color: white;
    padding: 1rem 0;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #10b981;
    text-decoration: none;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #10b981;
}

.cta-button {
    background-color: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #059669;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #2563eb, #06b6d4);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: #fbbf24;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #10b981;
    color: white;
}

.btn-primary:hover {
    background-color: #059669;
}

.btn-secondary {
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #2563eb;
}

/* Market Overview */
.market-overview {
    padding: 4rem 0;
    background-color: white;
}

.section-title{
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #2563eb;
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.stat-change {
    font-weight: 600;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

/* Tables */
.data-table {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 2rem 0;
}

.table-header {
    background-color: #2563eb;
    color: white;
    padding: 1rem;
}

.table-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    align-items: center;
    font-weight: 600;
}

.table-body .table-row {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-weight: normal;
}

.table-body .table-row:hover {
    background-color: #f9fafb;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-2px);
}

.card-icon {
    width: 4rem;
    height: 4rem;
    background-color: #dbeafe;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

/* Footer */
.site-footer {
    background-color: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-section ul {
     list-style: none;
    margin: 0px !important;
    padding: 0px;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom p {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #979797;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav {
        display: none;
    }
    
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}
.exchange-review-listing.container
{
    margin: 2rem auto;
}

/* menu header css */
/* General styles */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #1f2a44;
    padding: 10px 20px;
}

.logo {
    font-weight: bold;
    color: #00a26a;
    font-size: 24px;
    text-decoration: none;
}

/* Navigation menu styles */
.main-nav {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Search form styling */
.search-form {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hamburger toggle: hidden on desktop */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Mobile styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 0px;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #1f2a44;
        padding: 10px 0;
    }

    .main-nav.active {
        display: flex;
    }

    .search-form {
        width: 100%;
        margin-top: 10px;
    }

    .header-nav {
        align-items: flex-start;
    }
}
/* Heading styles */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0; /* Remove default top margin */
    margin-bottom: 0.75em; /* Space after each heading */
    font-family: 'Arial', sans-serif; /* Adjust font */
    font-weight: bold;
    line-height: 1.2;
}

/* Specific margins for each heading level */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1em;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1em;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75em;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75em;
}

h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5em;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.5em;
}

/* Paragraph styles */
p {
    margin-top: 0;
    margin-bottom: 1.25em; /* Standard spacing between paragraphs */
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    font-family: 'Arial', sans-serif;
}
/* List styles */
ul, ol {
    margin-top: 0;
    margin-bottom: 1.5em;
    padding-left: 2em; /* Default indent */
    list-style-position: outside;
}

ul {
    list-style-type: disc; /* Default bullet style */
}

ol {
    list-style-type: decimal; /* Default number style */
}

li {
    margin-bottom: 0.5em; /* Space between list items */
}
/* Nested list indentations */
ul ul, ol ol {
    margin-left: 1.5em; /* Add indentation for nested lists */
}

ul li ul, ol li ol {
    margin-top: 0.5em; /* Add margin between parent and nested lists */
}
/* Image styles */
img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
    display: block;
    margin: 0 auto ; /* Centered images with bottom margin */
}

/* Align left, center, right classes */
.alignleft {
    float: left;
    margin-right: 1.5em; /* Space between text and image */
    margin-bottom: 1.5em;
}

.aligncenter {
    display: block;
    margin: 0 auto 1.5em; /* Center with bottom margin */
}

.alignright {
    float: right;
    margin-left: 1.5em; /* Space between text and image */
    margin-bottom: 1.5em;
}

/* Full width images */
.alignfull {
    width: 100%;
    margin-bottom: 1.5em;
}

/* Wide images */
.alignwide {
    width: 80%;
    margin: 0 auto 1.5em;
}
/* Blockquote styles */
blockquote {
    margin: 0 0 1.5em 0;
    padding: 1em 1.5em;
    background-color: #f9f9f9;
    border-left: 4px solid #ddd;
    font-style: italic;
}

blockquote p {
    margin: 0;
}

blockquote cite {
    display: block;
    text-align: right;
    font-size: 0.9em;
    color: #555;
}
.post-meta.single-exchange-review {
    background: #eee;
    padding: 10px;
    color: #6e6e6e;margin-bottom: 5px;
}
.toc li{
    list-style:none;
}
.toc li a {
    text-decoration: none;
    color: black;
    list-style: none;
}

table#exchange-reviews-table tbody tr td:first-child, table#broker-reviews-table tbody tr td:first-child, table#wallet-reviews-table td:first-child {
    display:flex;
}

.author-box {
    display: flex;
}
.feature-title span.dashicons.dashicons-archive {
    margin-right: 5px;
}
.single-resources h2 {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}
.author-box {
    background-color: #f5f7fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.author-box .author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-right: 1.5rem;
}
img.avatar.avatar-96.photo {
    border-radius : 40%;
}
.author-box h4.author-name {
    margin: 0px;
}

section.suggested-articles h3 a {
    font-size: 18px;
}
section.suggested-articles {
    margin-bottom: 2rem;
}
.author h3.entry-title {
    font-size: 18px;
}
.author a.thumb img {
    max-height: 200px;
}
.single-resources .disclaimer h3 
 {
    font-size: 1rem;
}
.broker-col.broker-name-col {
    font-weight: 700;
}

.single-head{
    display: flex;
    align-items: center;
    align-content: stretch;
    flex-wrap: wrap;
    margin: 0px 0px 1rem 0px;
}

.single-btn {
    background-color: rgb(0 211 149);
    padding: 10px 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-weight:bold;
}

.single-head h1  {
    margin: 0px;
}



.single-head {
    justify-content: space-between;
}
.single-btn a  {
    color: black;
    text-decoration:none !important;
}


/*new code add arbaz */

/* ✅ Mobile Optimization - Brokers Table */
@media (max-width: 768px) {
  .broker-comparison-wrapper {
    overflow-x: auto;   /* Enable horizontal scroll */
    display: block;
  }
  
  .broker-comparison-wrapper .broker-table {
    min-width: 1137px;   /* Keeps table readable */
  }
  
  #crypto-table_wrapper{
      overflow-x: auto;   /* Enable horizontal scroll */
    display: block;
  }
  
  .crypto-table-container {
       overflow-x: auto;   /* Enable horizontal scroll */
    display: block;
      /*min-width: 500px; */
  }
  
  .broker-table{
        overflow-x: auto;   /* Enable horizontal scroll */
    display: block;
      min-width: 950px; 
  }
}


/* ✅ Mobile Optimization */
@media (max-width: 768px) {
  .exchange-cards {
   
    justify-content: center; 
    /*text-align: center; */
  }
}



/* ✅ Wallets Section - Mobile Horizontal Scroll */
@media (max-width: 768px) {
  .wallet-grid {
     justify-content: center; 
  }

  .wallet-card {
  
    min-width: 322px;       /* Ensures cards don’t shrink too much */
  }

}


@media (max-width: 768px) {
 section.hero {
    height: 640px !important;
}
}

@media (max-width: 768px) {
  .hero .trust-stats {
    flex-direction: column;
    align-items: center;
  }

  .hero .trust-stat {
    width: 90%;
    max-width: 100%;
    margin-bottom: 15px; /* buttons ke beech space */
  }

  /* last button ke neeche extra space na aaye */
  .hero .trust-stat:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 1024px) {
    .review-card {
       margin-bottom: 40px;
        width: 94%;
    }
}
@media (max-width: 600px) {
    .review-card {
      margin-bottom: 40px;
        width: 94%;
    }
}

.review-card {
  
    margin-bottom: 20px;
}


/* mobile responsive */
@media (max-width: 768px) {
    .exchange-review {
        grid-template-columns: 1fr; /* ek hi column */
    }

    .exchange-review aside {
        grid-column: 1;
        grid-row: 1;  /* upar le aao */
        position: relative; /* sticky hata do mobile me */
        top: auto;
    }
}

.single-btn {
    background-color: rgb(0 211 149);
    padding: 10px 15px;
    border-radius: 5px;   /* corner round */
    display: inline-block; /* proper box banane ke liye */
    text-decoration: none; /* underline hata de */
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin:10px;
}

