/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Template: twentytwentyfive
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Tags: one-column,custom-colors,custom-menu,custom-logo,editor-style,featured-images,full-site-editing,block-patterns,rtl-language-support,sticky-post,threaded-comments,translation-ready,wide-blocks,block-styles,style-variations,accessibility-ready,blog,portfolio,news
Version: 1.2.1745622832
Updated: 2025-04-25 23:13:52


/* ===== Page Layout (Safe for Table) ===== */
.page-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto;
  gap: 30px;
  padding: 0 20px;
}

.content-area {
  flex: 2 1 0%;
  min-width: 0;
}

.sidebar-area {
  flex: 1 1 300px;
  max-width: 350px;
}

.sidebar-container {
  background: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 100%;
}

/* ===== Mobile Layout Adjustments ===== */
@media (max-width: 768px) {
  .page-wrapper {
    flex-direction: column;
  }

  .sidebar-area {
    max-width: 100%;
    margin-top: 30px;
  }
}

/* ===== Fix Header Squeeze on Mobile (Elementor) ===== */
.elementor-location-header,
.site-header,
.header,
.header-main,
#masthead {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0;
  box-sizing: border-box;
  background: #fff;
}

/* ===== Exchange Table (Responsive Fixed Layout) ===== */
.exchange-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.exchange-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 20px;
  text-align: center;
}

.exchange-table th,
.exchange-table td {
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exchange-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.exchange-table img {
  width: 24px;
  height: auto;
  vertical-align: middle;
}

@media (max-width: 480px) {
  .exchange-table th,
  .exchange-table td {
    font-size: 14px;
    padding: 6px;
  }
  .exchange-table img {
    width: 18px;
  }
}

/* ===== Hide Page Title if Needed ===== */
.page .entry-title {
  display: none;
}



/*css*/

.custom-logo {
  max-height: 40px;
  height: auto;
  width: auto;
}

.primary-menu-wrapper {
  display: flex !important;
  flex: 2;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

/* rest unchanged */
.primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.primary-menu li a {
  color: black !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.primary-menu li a:hover {
  color: #4E7DBD !important;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  margin-left: 10px;
}

.hamburger {
  width: 25px;
  height: 16px;
  position: relative;
  display: block;
}

.hamburger span {
  display: block;
  height: 2px;
  background: black;
  margin: 4px 0;
}

/* Responsive for tablets and mobiles */
@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
  }

  .primary-menu-wrapper {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .primary-menu-wrapper.active {
    display: flex !important;
  }

  .primary-menu {
    flex-direction: column;
    width: 100%;
    gap: 15px;
  }

  .primary-menu li a {
    width: 100%;
    color: black !important;
  }
}



/* Responsive Burger Menu Fix */
@media (max-width: 1024px) {
  .menu-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 10000;
    overflow-y: auto;
    padding: 40px 20px;
  }

  body.showing-menu-modal .menu-modal {
    display: block;
  }

  .nav-toggle {
    display: inline-block;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
  }

  .menu-modal .menu-modal-inner {
    max-width: 600px;
    margin: auto;
  }

  .menu-modal nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

/* Desktop Menu Alignment */
@media (min-width: 1025px) {
  .header-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
  }
}



/*phone*/

/* Mobile Menu Default State (Hidden) */
.primary-menu-wrapper {
  display: none !important; /* Hide the menu initially */
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.primary-menu-wrapper.active {
  display: flex !important; /* Show menu when 'active' is added */
}

/* Hamburger and Close Icon Styles */
.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger {
  width: 25px;
  height: 16px;
  position: relative;
  display: block;
}

.hamburger span {
  display: block;
  height: 2px;
  background: black;
  margin: 4px 0;
}

.close-icon {
  display: none;
  font-size: 24px;
  line-height: 1;
  position: absolute;
  top: 0;
  left: 0;
  color: black;
}

.nav-toggle.open .hamburger {
  display: none;
}

.nav-toggle.open .close-icon {
  display: block;
}

/* Mobile Menu Layout */
.primary-menu {
  flex-direction: column;
  gap: 15px;
}

.primary-menu li a {
  width: 100%;
  color: black !important;
}

/* Body & Menu Modal */
body.menu-open {
  overflow: hidden;
}



