/**
* Normalize
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

/**
* Remove margins
*/

body {
  margin: 0;
  padding: 0;
}

/**
* Common styles
*/

:root {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}



.container {
  width: 100%;
}

a {
  text-decoration: none;
}

.header {
  width: 100%;
  /* background-color: #04122c; */
  align-items: center;
  display: flex;
  height: 55px;
  padding-left: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.logo {
  display: block;
  height: 39px;
  position: relative;
  margin-left: 4px;
  /* width: 87px; */
}

/* .logo-overlap {
  height: 39px;
  left: -1px;
  position: absolute;
  top: -1px;
  width: 61px;
} */

.header-box {
  display: grid;
  grid-template-columns: 160px 1fr 40px 40px;
  align-items: center;
  gap: 1rem;
}

.header-price-box {
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  overflow-x: scroll;
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; 
  width: 100%;
  -ms-overflow-style: none; /* IE и Edge */
  scrollbar-width: none; /* Firefox */
  margin: 0 auto;
}

.header-price-box::-webkit-scrollbar {
  display: none; 
}

.header-price {
  color: #000;
  font-size: 13px;
  display: flex;
  justify-self: end;
  margin-right: 13px;
  scroll-snap-align: start; 
}

.header-price .header-price-coin {
  margin-right: 6px;
}

.header-price a {
  color: #000;
  font-weight: bold;
  display: flex;
}

.header-price a:hover {
  color:#666;
}

.header-price .header-price-price {
  font-weight: normal;
}

.header-price-change {
  margin-left: 5px;
}

.header-menu a {
  display: none;
}

.top-price {
 padding: 15px 20px;
  /* background: #FAFAFA; */
  margin: 0;
  min-height: 46px;
  border-bottom: 1px solid #f0f0f0;
}

.body-cluster .top-price {
  border-bottom: 1px solid #ddd;
}

.logo-yellow {
  align-items: center;
  /* background: linear-gradient(137.93deg, #FBFF2E 0%, #2EFBFF 159.55%); */
  display: inline-flex;
  height: 40px;
  width: 160px;
}

.logo-yellow-text {
  color: #000;
  font-family: monospace;
  font-size: 22px;
  font-weight: bold;
  position: relative;
  width: fit-content;
}

.logo-yellow-text span {
  color: #F0B90A;
  margin: 0 3px;
}

.metatop {
  width: 100%;
  background: rgba(46, 251, 255, 0.1);
  padding: 6vw 20px;
  font-size: 3vw;
  line-height: 120%;
}

.heading {
  margin: 0 15px 0 20px;
}

.home {
    margin-top: 5px;
    position: sticky;
    align-self: flex-start;
    top: 0px;
    transition: all 0.3s ease;
    padding-left: 15px;
    background: #fff;
    opacity: .95;
    z-index: 100;
}

.home a {
  color:#000;
  display: inline-block;
  padding: 8px;
  margin-left: -8px;
}

.home a:hover {
  background: #f3f3f3;
  border-radius: 15px;
}

.home svg {
  width: 30px;
}

.search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
}

.search-input:focus {
  border-color: #ffd700;
  box-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
}

.search-form {
  display: flex;
  width: 100%;
  gap: 8px;
}

.search-button {
  padding: 8px 12px;
  background: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.search-button:hover {
  background: #e2e8e9;
}

  .language-dropdown .lang-menu a {
    /* font-weight: bold; */
  }

.date {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  color: #777777;
}

.date_heading {
  display: block;
  font-size: 13px;
  margin-bottom: 15px;
}

.date_cluster {
  font-size: 13px;
  /* display: flex; */
  /* flex-direction: row-reverse; */
  align-items: center;
  /* justify-content: space-between; */
  color: #555;
}

.cluster-coin-list-date:after
 {
    content: "\00b7";
    margin: 0 4px;
}

.event-type-name:after
 {
    content: "\00b7";
    margin: 0 4px;
}

.left-menu-container {
  display: none;
}

.title {
  margin: 20px 0;
  font-size: 24px;
  line-height: 125%;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #333;
}

.main_title {
  font-size: 24px;
  margin-left: 20px;
  margin-bottom: 10px;
}

.meta {
  margin-bottom: 5vw;
  padding: 5px 0;
  font-size: 11px;
  line-height: 17px;
  color: #5d6f7b;
}

.text {
  margin-bottom: 14px;
  color: #333;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  padding: 0 15px 0 20px;
}

.tg-box {
    background-color: #0492BF;
    color: #fff;
    padding: 20px 20px 20px 90px;
    margin-bottom: 25px;
    position: relative;
    line-height: 22px;
}

.tg-box p {
  margin: 0 0 3px 0;
}

.tg-box a {
  color: #fff;
  text-decoration: underline;
}

.tg-box svg {
    width: 61px;
    height: 100%;
    fill: #fff;
    position: absolute;
    top: 0px;
    left: 10px;
}

.image {
  margin-bottom: 5vw;
}

.fullVersionLink {
  display: block;
  margin: 10px 0;
  background: rgb(147, 255, 46);
  color: rgb(0, 0, 0);
  padding: 0 20px;
  text-align: center;
  font-size: 5vw;
  line-height: 3;
  text-decoration: none;
  margin-bottom: 5vw;
  border-radius: 2.5vw;
}

.footer {
  background-color: #F3F3F3;
  padding: 5vw;
  font-size: 3vw;
  overflow: hidden;
  color: #333;
  font-weight: 400;
  margin-top: 30px;
}

.coins {
  padding: 15px 15px 0 20px;
  margin-bottom: 25px;
  background: rgba(46, 251, 255, 0.1);
}

.coin-link-box {
  margin: 0 0 20px;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 15px;
}

/* .coin-link { */
  /* width: 100%; */
  /* display: flex; */
  /* justify-content: space-between; */
  /* align-items: center; */
  /* padding-bottom: 2.5vw; */
  /* border-bottom: 1px solid rgba(1, 15, 41, 0.05); */
  /* margin-bottom: 2.5vw; */
  /* color: black; */
/* } */

.coin-link .cluster-coin-name {
  font-weight: 700;
}

.coin-link .coin-link-name { 
    margin-left: 2px;
    margin-right: 5px;
    font-weight: 500;
}

.cluster-item .coin-link .coin-link-name { 
  margin-right: 0;
}

.name .cluster-coin-percent {
  font-size: 13px;
}

/* .name .cluster-coin-name {
  font-size: 13px;
  color: #555;
  font-weight: normal;
} */

.coin-link:last-child {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}

.coin-link-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 5vw;
}

.coin-link-box h5 {
    font-size: 15px;
    margin: 15px 0 10px;
}

.coin-photo {
  width: 15.625vw;
  height: 15.625vw;
  border-radius: 50%;
}

.photo-empty {
  width: 15.625vw;
  height: 15.625vw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.375vw;
  text-transform: uppercase;
  background: rgb(147, 255, 46);
  text-decoration: none;
}

.name {
  color: var(--Dark, #04122c);
  font-size: 15px;
  font-style: normal;
  line-height: 150%;
  letter-spacing: 0.28px;
}

.category {
  color: #333;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-top: 5px;
}

.news-title {
  color: #333;
  line-height: 150%;
  margin-bottom: 5px;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  /* text-transform: uppercase; */
  padding-left: 20px;
}

.news-item {
  display: flex;
  padding: 10px 15px 10px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  align-self: stretch;
  background: #fff;
  box-shadow: 0 1px 3px 0 rgba(21, 46, 93, 0.05);
  margin-bottom: 10px;
}

.cluster-item {
  display: flex;
  padding: 10px 15px 10px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
  background: #fff;
  margin-bottom: 5px;
  border-bottom: 1px solid #ecebeb;
}

.cluster-item-top-news {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;
  background: #fff;
  margin-bottom: 10px;
  background: linear-gradient(137.93deg, #FBFF2E 0%, #2EFBFF 159.55%);
  padding: 15px 20px;
}

.cluster-item-top-news .card-title {
  font-size: 20px;
}

.search-form {
  display: none;
}

.news-item .card-title {
  font-size: 15px;
}

.cluster-item-top-news .cluster-coin-list-item {
  background: #fcff6b;
  border: 1px solid #e4ff72;
}


.card-title {
  color: #000;
  font-size: 16px;
  font-style: normal;
  line-height: 24px
}

.cluster-item .card-title {
  margin-bottom: 5px;
  font-weight: 500;
} 

.link-summary {
  font-size: 15px;
  line-height: 23px;
  color: #555;
  margin-top: -10px;
}

.coin-link {
  color: #000;
}

.cluster-coin-list-item {
  display: inline-block; 
  font-size: 12px;
  padding: 3px 8px;
  background-color: #F5F5F5;
  margin-right: 4px;
  margin-bottom: 5px;
}

.cluster-coin-list-meta-inner .cluster-coin-list-item {
  font-size: 13px;
  margin-bottom: 7px;
}

.cluster-coin-list-footer {
  /* display: grid; */
  display: none;
  grid-template-columns: 110px 75px;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

.cluster-coin-list-meta {
  width: 100%;
}

.cluster-coin-list-meta-inner {
  padding: 5px 10px 0px 20px;
}

.coin-link img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.cluster-coin-list {
  grid-area: list;
}

.cluster-coin-list-source {
    font-size: 13px;
    color: #666666;
    justify-self: left;
}

.cluster-coin-list-source:after {
    content: "\00b7";
    margin: 0 4px;
}

.cluster-coin-list-trend { 
  font-size: 13px;
  justify-self: left; 
  margin-right: 10px;
  color: #666666;
}

.cluster-coin-percent {
  margin-left: 5px;
}

.trend-positive {
  color: #00c883;
}
.trend-negative {
  color: #f44;
}
.trend-neutral {
  color: #717474;
}

.card-bottom {
  /* width: 100%; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 2.5vw;
}

.source-logo {
  width: 5vw;
  height: 5vw;
  border-radius: 50%;
}

.source-link {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.name-of-source {
  font-size: 12px;
  font-style: normal;
  color: var(--Link, #13acd3);
  line-height: normal;
}

.date-published-of-source {
  color: #777777;
  text-align: right;
  font-size: 11px;
  font-style: normal;
  line-height: normal;
}

.load_more_news_btn {
  align-items: center;
  width: 100%;
  height: 50px;
  align-self: stretch;
  background: #F5F5F5;
  color: var(--Dark, #04122C);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  /* letter-spacing: 0.075vw; */
  /* text-transform: uppercase; */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
}

.language-menu {
  position: relative;
  display: inline-block;
}

.language-menu summary {
  list-style: none;
  color: #000;
  cursor: pointer;
  font-size: 16px;
}

.header-lang {
  margin-right: 15px;
}

.header-lang a {
  color: #333;
  font-size: 16px;
  display: inline-block;
  justify-self: end;
  padding: 10px 30px 10px 30px;
}

/* Hide default marker */
.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: -10px;
  background-color: #fff;
  border: 1px solid #F0F0F0;
  padding: 0;
  margin: 0;
  list-style: none;
  z-index: 101;
}

.language-dropdown li {
  margin: 0;
  border-bottom: 1px solid #F0F0F0;
}

.language-dropdown li:hover {
  background: #ecebeb;
}

.language-dropdown li:last-child {
  border-bottom: none;
}

.page_main .cluster-item:last-child {
  border-bottom: none;
}

/* New styles for trand lists */
.trand-list {
  list-style: none;
  padding: 0;
  margin: 5px 0;
}

.trand-item {
  padding: 7px 10px;
  border-radius: 4px;
  font-size: 14px;
  border-bottom: 1px solid #fff;
  display: grid;
  grid-template-columns: 10px 1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
}

/* .trand-list li:nth-child(n+4) {
  display: none;
} */

.trand-item span {
  text-align: left;
}

.trand-item span:nth-child(3) {
  text-align: right;
}

.trand-item span:last-child {
  text-align: right;
}

/* New styles for layout container and right sidebar */
.layout-container {
  display: block; /* was flex */
  margin: 0 auto;
  max-width: 704px;
}

/* Default .trands: full width below content */
.aside-container {
  /* width: 100%; */
  box-shadow: none;
}

.aside-container .rba {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Default inner trands container: one row for mobile (<768px) */
.trands-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 2px;
  border-top: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
}

.page_main .trands-container {
  border-top: none;
}

/* .cluster-trand-coin {
  height: 330px;
} */

.trands-section {
  padding: 10px 10px 0;
}

.trands-section b {
  margin-left: 8px;
}

.top-today {
  margin: 40px 0 0;
}

.top-today .cluster-item {
  gap: 8px;
}

.top-today .card-title {
  /* font-weight: 500; */
  font-size: 16px;
  line-height: 24px;
}

.top-today .cluster-item:last-child {
  border-bottom: none;
}

.hamburger-mobile {
  display: inline;
  font-size: 30px;
}
.hamburger-desktop {
  display: none;
}

.tech-analylis {
    background: rgba(46, 251, 255, 0.1);
    padding: 10px 20px;
    margin-bottom: 15px;
}

.tech-analylis h2 {
  font-size: 15px;
}

.tech-analylis .date {
  font-size: 13px;
  display: block;
}

.tech-analylis .summary {
    color: rgba(1, 15, 41, 0.8);
    font-size: 15px;
    font-style: normal;
    line-height: 24px;
    font-weight: 400;
    margin-top: 10px;
}


.search-open-btn {
    background: #fff;
    border: none;
    /* border-radius: 4px; */
    /* padding: 6px 10px; */
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: background 0.15s;
    /* margin-top: 1px; */
}

.search-open-btn svg {
    color: #000;
    width: 22px;
    height: 22px;
}

.search-popup {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: flex-start;
}

.search-popup-content {
  background: #fff;
  width: 95vw;
  max-width: 500px;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 24px 16px 16px 16px;
  position: relative;
}

.search-form-mobile {
  display: flex;
  gap: 8px;
}

.search-popup-close {
  background: none;
  border: none;
  font-size: 32px;
  color: #888;
  position: absolute;
  right: 12px;
  top: 8px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.layout-container .events-upcoming {
  padding: 0 15px 0 20px;
  /* width: 260px; */
}

.events-upcoming {
  margin-top: 28px;
  margin-bottom: 20px;
}

.events-upcoming .events-upcoming-box {
  padding: 0 10px;
  line-height: 20px;
}

.layout-container .events-upcoming .events-upcoming-box {
  line-height: 22px;
}

.events-upcoming h5 {
  margin: 0 0 5px 0;
  font-size: 17px;
}

.events-upcoming .events-upcoming-date {
  padding: 0 0 5px 0;
  color: #c70d0d;
  font-size: 13px;
}

.events-upcoming .events-upcoming-box {
  padding: 7px 0 7px 0;
  border-bottom: 1px solid #f1f1f1;
}

.events-upcoming .events-upcoming-box .coin-name {
  /* color: #3861fb; */
}

.events-upcoming .events-upcoming-box:last-child {
  border-bottom: none;
}

.events-upcoming .events-upcoming-box a {
  color: #111;
  font-size: 14px;
}

/* Desctop */
@media screen and (min-width: 768px) {

.header-price-box {
  /* max-width: 704px; */
}

.header-box {
  grid-template-columns: 180px 1fr 50px 100px;
  padding: 0 20px;
}

.container {
    /* max-width: 704px; */
    margin-left: auto;
    margin-right: auto;
}

.header-search {
  width: 40px;
  position: relative;
}

.header-price {
  margin-right: 20px;
}

.hamburger-mobile {
  display: none;
}
.hamburger-desktop {
  display: inline;
}

/* .header-menu {
  display: block;
} */

.header-menu a {
  display: inline;
  color: #fff;
  margin-right: 10px;
  font-family: monospace;
  font-size: 15px;
}

.header-menu-pt a, .header-menu-es a {
  margin-right: 7px;
  font-size: 14px;
}

.header-menu a:hover {
  color: #4affc1;
}

.title {
  margin-bottom: 25px;
  font-size: 26px;
  margin: 20px 0;
  line-height: 140%;
}

.main_title {
  font-size: 24px;
  margin-left: 20px;
  margin-bottom: 10px;
}

.page_main {
    width: 100%;
    /* margin-bottom: 48px; */
}

.cluster-item {
  gap: 8px;
  padding: 10px 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  align-self: stretch;
  flex-direction: column;
  position: relative;
  width: 100%;
  background: #FFF;
}

.cluster-coin-list-item {
  font-size: 13px;
}

.cluster-coin-list-meta-inner .cluster-coin-list-item {
  font-size: 14px;
}

.cluster-coin-list-trend {
  font-size: 13px;
}

.cluster-coin-list-source {
  font-size: 13px;
}

.cluster-trend {
  font-size: 13px;
}

.card-title {
  font-size: 18px;
  margin-bottom: 5px;
}

.top-today .card-title {
  font-size: 18px;
  line-height: 24px;
}

.cluster-item-top-news .card-title {
  font-size: 22px;
}

.cluster-item .card-title {
  margin-bottom: 5px;
  font-weight: normal;
  line-height: 26px;
}

.link-summary {
  font-size: 15px;
  line-height: 22px;
  margin-top: -10px;
}

.date_cluster {
  font-size: 12px;
}

.load_more_news_btn {
  height: 40px;
  font-size: 15px;
  cursor: pointer;
}

.metatop {
  padding: 1vw 20px;
  font-size: 1vw;
}

.text {
  font-size: 17px;
  margin-bottom: 30px;
  line-height: 28px;
}

.category {
  font-size: 16px;
  line-height: 26px;
}


.news-item {
  margin-bottom: 10px;
  gap: 5px;
  padding: 15px 25px;
}

.name-of-source {
  font-size: 13px;
}

.date-published-of-source {
  font-size: 12px;
}

.date_heading {
  display: block;
  font-size: 14px;
  margin-bottom: 15px;
}

.source-logo {
  width: 1vw; 
  height: 1vw; 
}

.card-bottom {
  column-gap: 0.7vw;
}

.coins {
  margin-bottom: 35px;
}


.coin-link-box {
  margin: 0 15px 20px;
}

.coin-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: inherit;
  padding-top: 2px; 
}

.coin-link .name {
  font-size: 15px;
  margin-bottom: 10px;
}

.coin-link .category {
  font-size: 15px;
  line-height: 22px;
  margin-top: 10px;
}

.footer {
  font-size: 1vw;
}

.cluster-trand-coin {
  height: 170px;
  border-bottom: none;
}

  .trands-container {
      flex-direction: row;
      margin: 15px 2px 5px;
      padding-bottom: 10px;
  }

.trands-section {
  width: 100%;
  border: 1px solid #ece9e9;
  border-radius: 10px;
}

.search-form-desktop {
  position: absolute;
  left: -320px;
  top: -12px;
  z-index: 20;
  background: #fff;
  border-radius: 6px;
  /* box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); */
  padding: 5px 8px 0px 12px;
  display: flex;
  align-items: center;
  min-width: 320px;
  max-width: 600px;
  width: 400px;
  transition: transform 0.2s cubic-bezier(.4,0,.2,1), opacity 0.2s;
  transform: translateX(-30px);
  opacity: 1;
}

.search-form-desktop {
  display: flex;
}

.search-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #888;
  margin-left: 8px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  display: none;
}

.search-open-btn:hover {
  background: #e2e8e9;
}

}

/* Desctop */
@media screen and (min-width: 960px) {
  .layout-container {
    display: flex;
    flex-direction: row;
    max-width: 1240px;
    /* margin-top: 20px; */
  }

  .main-content {
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
  }

  .left-menu-container {
    display: block;
  }

  .container {
    /* max-width: 990px; */
  }

  .top-price {
  padding: 15px 20px 15px 40px;
  }

  .home {
    margin-top: 20px;
  }

  .header-price-box {
    /* max-width: 990px; */
    padding-left: 20px;
  }

  .left-menu-container{
    width: 220px;
    position: sticky;
    align-self: flex-start;
    top: 10px;
    transition: all 0.3s ease;
  }
  
  .left-menu-container ul {
    padding: 0px 10px;
    width: 200px;
    list-style: none;
  }

  .left-menu-container ul li {
    padding: 10px 20px 15px 20px
  }

  .left-menu-container ul li svg {
    color: var(--color-PrimaryText);
    display: inline-block;
    width: 24px !important;
    height: 24px !important;
    margin-right: 15px;
}

  .left-menu-container ul li a {
    color:#000;
    font-size: 20px;
    display: flex;
  }

  .left-menu-container ul li a:hover {
    color:#666;
  }

  .aside-container {
    width: 400px;
    margin-left: 15px;
  }

  .layout-container .events-upcoming {
    padding: 0 15px;
    width: 260px;
  }

  .aside-container .rba {
    position: sticky;
    top: 30px;
    /* z-index: 2;  // опционально, если нужно перекрытие */
  }

  .language-dropdown .drop-menu {
    display: none;
  }

  .trands-container {
    flex-direction: column;
    margin: 15px 2px 0 2px;
    border-top: none;
    border-bottom: none;
  }


  .trand-item {
    margin-bottom: 5px;
  }

  .trand-list {
    margin: 10px 0;
  }

  .trand-list li:nth-child(n+4) {
    display: grid;
  }

  .cluster-trand-coin {
    height: 0;
    display: none;
  }

}



/* Hide desktop search on mobile, show popup only */
@media (max-width: 767px) {
  .search-form-desktop {
    display: none !important;
  }
  .search-popup {
    display: none;
    flex-direction: column;
  }
  .search-popup[style*="display: flex"] {
    display: flex !important;
  }
}

/* Hide popup on desktop, show desktop search only */
@media (min-width: 768px) {
  .search-popup {
    display: none !important;
  }
}

/* ===== Footer styles moved from footer.html ===== */

.footer {
  background: #F3F3F3;
  color: #333;
  padding: 10px 0 0 0;
  font-size: 15px;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 10px;
  min-width: 180px;
  margin-left: 30px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
  letter-spacing: 1px;
}

.footer-col ul,
.footer-col .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li,
.footer-col .footer-menu a {
  margin-bottom: 8px;
  display: block;
}

.footer-col a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #4affc1;
}

.footer-logo {
  padding-top: 12px;
}

.footer-logo .logo {
  margin-left: 0;
}

.footer-logo .logo-yellow-text {
  color: #333;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  color: #fff;
  font-size: 14px;
  background: #04122c;
  padding: 10px 0;
}

@media (max-width: 700px) {
  .footer .container {
    flex-direction: column;
    gap: 0px;
  }
  .footer-col {
    min-width: 0;
  }
}

@media screen and (min-width: 768px) {
  .footer {
    padding: 30px 0 0 0;
  }
  .footer-col {
    margin-left: 0px;
    flex: 1 1 200px;
  }
  .footer-logo .logo {
    margin-left: 30px;
  }
}

/* ===== End footer styles ===== */