/*
Theme Name: Finglobe Theme
Author: Finglobe
Version: 1.0
*/

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #222;
}

a {
  text-decoration: none;
  color: #0f9d58;
}

.container {
  width: 90%;
  margin: auto;
}

.header {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  color: #0f9d58;
}

.nav a {
  margin: 0 10px;
  color: #333;
}

.nav a:hover {
  color: #0f9d58;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin: 15px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}

.green { color: #0f9d58; }
.red { color: #d93025; }

.footer {
  background: #111;
  color: #fff;
  padding: 20px 0;
  margin-top: 30px;
  text-align: center;
}

.adsense {
  background: #f5f5f5;
  padding: 20px;
  text-align: center;
  margin: 20px 0;
}

@media(max-width:768px){
  .grid { grid-template-columns: repeat(2,1fr); }
}
/* HEADER */
.main-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 999;
  border-bottom: 1px solid #eee;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #0f9d58;
}

/* MENU */
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li {
  position: relative;
}

.menu li a {
  color: #333;
  font-weight: 500;
}

.menu li a:hover {
  color: #0f9d58;
}

/* DROPDOWN */
.menu li ul {
  position: absolute;
  top: 40px;
  left: 0;
  background: #fff;
  display: none;
  list-style: none;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.menu li:hover ul {
  display: block;
}

/* TICKER BAR */
.ticker-bar {
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
}

/* MOBILE */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

@media(max-width:768px){
  .menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    padding: 10px;
  }

  .menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}