/*
Theme Name: Pixwell child
Template: pixwell
Theme URI: https://www.eliteacadmey.com/blog
Author: Elite Academy
Description: Elite Academy header, menu, and colors on the Pixwell blog.
Version: 1.1
Text Domain: pixwell-child
*/

@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap");

body,
.site-wrap,
.entry-content,
.single-post-content,
h1,
h2,
h3,
.p-wrap {
  font-family: Tajawal, "Segoe UI", sans-serif;
}

body {
  background: #fff;
}

#site-header,
.header-wrap,
.topline-wrap,
.topbar-wrap,
.topsite-wrap,
.footer-wrap,
.top-footer-wrap,
.sticky-holder,
#header-sticky {
  display: none !important;
}

.ea-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
  box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.85);
}

body.admin-bar .ea-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .ea-header {
    top: 46px;
  }
}

.ea-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 80rem;
  margin: 0 auto;
  min-height: 4.25rem;
  padding: 0 1.25rem;
}

.ea-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.ea-logo img {
  height: 3.5rem;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 8px 18px rgba(201, 162, 39, 0.25));
}

.ea-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.ea-nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}

.ea-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.ea-nav a:hover,
.ea-nav a.is-current {
  color: #fff;
}

.ea-nav a.is-current::after,
.ea-drop > a:hover::after {
  content: "";
  position: absolute;
  right: 8px;
  left: 8px;
  bottom: 2px;
  height: 2px;
  background: #c9a227;
}

.ea-drop {
  position: relative;
}

.ea-menu {
  display: none;
  position: absolute;
  top: 100%;
  inset-inline-end: 0;
  z-index: 250;
  min-width: 220px;
  max-height: 60vh;
  overflow: auto;
  padding-top: 4px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.ea-drop:hover .ea-menu,
.ea-drop:focus-within .ea-menu {
  display: block;
}

.ea-menu a {
  display: block;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.75);
  white-space: normal;
}

.ea-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.ea-menu a::after {
  display: none;
}

.ea-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.ea-lang {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.ea-lang:hover {
  color: #fff;
}

.ea-register {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid rgba(126, 94, 5, 0.35);
  background: linear-gradient(180deg, #e4c86a 0%, #c9a227 52%, #a88219 100%);
  color: #050505 !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px -12px rgba(126, 94, 5, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ea-register:hover {
  color: #050505 !important;
  transform: translateY(-1px);
}

.ea-ticker {
  height: 72px;
  overflow: hidden;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  background: #000;
}

.ea-ticker iframe {
  display: block;
  width: 100%;
  height: 72px;
  border: 0;
}

.ea-footer {
  background: #000;
  color: #fff;
  padding: 40px 16px;
}

.ea-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  max-width: 80rem;
  margin: 0 auto;
}

.ea-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
}

.ea-footer a:hover,
.ea-footer a.is-current {
  color: #c9a227;
}

.ea-footer p {
  margin: 24px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.entry-title a,
.single-title,
h1.entry-title {
  color: #111;
}

a,
.p-url,
.entry-content a {
  color: #8f6f10;
}

.p-category a,
.p-cat a,
.entry-cat a {
  background: #c9a227 !important;
  color: #111 !important;
}

@media (max-width: 1100px) {
  .ea-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ea-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: 70vh;
    overflow: auto;
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px 16px;
  }

  .ea-nav.is-open {
    display: block;
  }

  .ea-nav a,
  .ea-menu a {
    display: block;
    padding: 12px 4px;
    white-space: normal;
  }

  .ea-menu {
    position: static;
    display: block;
    max-height: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding-inline-start: 12px;
  }

  .ea-bar {
    position: relative;
    min-height: 3.5rem;
  }

  .ea-logo img {
    height: 2.75rem;
  }
}
