/*
Theme Name: 24KaratMarketer
Theme URI: https://24karatmarketer.com
Author: Michelle Hoffmann
Author URI: https://24karatmarketer.com
Description: Custom gold and jade theme for The 24KaratMarketer Ezine.
Version: 1.0
Text Domain: 24karatmarketer
*/

:root {
  --24k-gold: #d4af37;
  --24k-gold-soft: #f3d97a;
  --24k-green: #0b5d3b;
  --bg-main: #000;
  --bg-wrapper: rgba(215,235,225,0.5);
  --bg-alt: rgba(5,6,7,0.92);
  --accent-teal: #355a50;
  --text-main: #f7f7fb;
  --text-muted: #a6abb8;
  --border-subtle: #262a34;
  --error: #e63946;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-main);
  background: #000 url("http://24karatmarketer.com/images/noisebackground.png") repeat;
  background-size: 300px;
  background-blend-mode: overlay;
  min-height: 100vh;
  padding: 20px;
  font-size: 18px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-wrapper {
  background: rgba(90,120,110,0.25);
  border-radius: 26px;
  padding: 12px 30px;
  backdrop-filter: blur(10px) brightness(1) saturate(0.95);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28), 0 0 28px rgba(212,175,55,0.5);
  max-width: 1500px;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 20px;
  background: rgba(5, 6, 7, 0.9);
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  position: sticky;
  top: 12px;
  z-index: 10;
  backdrop-filter: blur(10px);
  margin-bottom: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0, var(--24k-gold-soft) 0, var(--24k-gold) 35%, var(--24k-green) 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.brand-text-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text-tagline {
  font-size: 1rem;
  color: var(--24k-gold-soft);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  list-style: none;
  display: inline-block;
}

.main-nav li a {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 6px;
  background: linear-gradient(135deg, #f8e28f, #d4af37);
  color: #1a1300 !important;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  border: 1px solid #b9951c;
  box-shadow:
    0 4px 10px rgba(0,0,0,0.35),
    inset 0 1px 1px rgba(255,255,255,0.35);
  transition: all .18s ease-out;
  text-decoration: none;
}

.main-nav li a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #fff2b0, #e6c556);
  box-shadow:
    0 6px 18px rgba(0,0,0,0.5),
    inset 0 1px 1px rgba(255,255,255,0.45);
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.18s ease-out;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--24k-gold), #f8e28f);
  color: #1a1300;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--24k-gold-soft);
  border-color: var(--24k-gold);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
}

.content-sidebar-wrap {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.content-area {
  flex: 1;
}

.content-area h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.content-area .meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.post-content {
  font-size: 1rem;
  line-height: 1.7;
}

.sidebar {
  width: 300px;
  padding: 10px;
}

.sidebar .widget {
  background: rgba(17, 19, 24, 0.92);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.sidebar .widget-title,
.sidebar h2,
.sidebar h3 {
  color: var(--24k-gold-soft);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.sidebar .widget ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sidebar .widget ul li {
  margin-bottom: 10px;
}

.sidebar .widget ul li a {
  color: var(--text-main);
  transition: color 0.2s ease-out;
}

.sidebar .widget ul li a:hover {
  color: var(--24k-gold-soft);
}

.sidebar .widget input[type="search"] {
  width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(5,6,7,0.7);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--text-main);
}

.sidebar select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(5,6,7,0.7);
  border: 1px solid rgba(212,175,55,0.45);
  color: var(--text-main);
}

.sidebar .widget_calendar table,
.sidebar #wp-calendar {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  background: rgba(5, 6, 7, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 18px;
  overflow: hidden;
  color: var(--text-main);
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  padding: 8px;
}

.sidebar .widget_calendar caption,
.sidebar #wp-calendar caption {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--24k-gold-soft);
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.sidebar .widget_calendar thead th,
.sidebar #wp-calendar thead th {
  color: var(--24k-gold-soft);
  padding: 6px 0;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  text-align: center;
}

.sidebar .widget_calendar tbody td,
.sidebar #wp-calendar tbody td {
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.sidebar .widget_calendar tbody tr:last-child td,
.sidebar #wp-calendar tbody tr:last-child td {
  border-bottom: none;
}

.sidebar .widget_calendar tbody td a,
.sidebar #wp-calendar tbody td a {
  color: var(--24k-gold-soft);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar .widget_calendar tbody td a:hover,
.sidebar #wp-calendar tbody td a:hover {
  color: #fff1a8;
}

.sidebar .widget_calendar tbody td#today,
.sidebar #wp-calendar tbody td#today {
  background: radial-gradient(circle at 30% 0,
      var(--24k-gold-soft) 0,
      var(--24k-gold) 45%,
      var(--24k-green) 100%);
  color: #000;
  border-radius: 6px;
  font-weight: 700;
}

.sidebar .widget_calendar tfoot a,
.sidebar #wp-calendar tfoot a {
  color: var(--24k-gold-soft);
  font-weight: 600;
}

.sidebar .widget_calendar tfoot a:hover,
.sidebar #wp-calendar tfoot a:hover {
  color: #fff1a8;
}

.card a,
.feature-box a,
.box a,
.about-box a,
.info-box a {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none !important;
  color: #000 !important;
  background: linear-gradient(90deg,#d2a63c 0%,#f7e28c 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all .25s ease-in-out;
  position: relative;
  overflow: hidden;
}

.card a::before,
.feature-box a::before,
.box a::before,
.info-box a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
}

.card a:hover,
.feature-box a:hover,
.box a:hover,
.info-box a:hover {
  background: linear-gradient(90deg,#e0b94f 0%,#fff1a8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.site-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--24k-gold-soft);
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
  }

  .content-sidebar-wrap {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-wrapper {
    padding-inline: 14px;
  }

  .site-header {
    padding-inline: 14px;
  }
}
