/*
Theme Name: Appyn GameApkIndia Child
Template: appyn
Version: 1.0.65
Text Domain: appyn-gameapkindia
GAI_THEME_REVISION_69
*/

/* Static pages without sidebar should use the full .container width. */
body.page .app-p[style*="margin-right:0"],
body.page .app-p[style*="margin-right: 0"],
body.page:not(.sidg) .app-p {
  width: 100%;
  max-width: 100%;
}

:root {
  --gai-download: #ff0000;
  --gai-author-accent: #1bbc9b;
  --gai-author-icon: #6c5ce7;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
}

#subheader h1 {
  font-weight: 300;
}

.downloadAPK,
.buttond.downloadAPK {
  background-color: var(--gai-download);
}

/* Elementor in-content download buttons — match gameapkindia */
.elementor-widget-button .elementor-button {
  background-color: #ff0202 !important;
  color: #000 !important;
  fill: #000 !important;
  font-family: "Poppins", Sans-serif;
  font-weight: 500;
}

.elementor-widget-button .elementor-button svg,
.elementor-widget-button .elementor-button path {
  fill: #000 !important;
  color: #000 !important;
}

#descripcion .entry,
.app-p .entry {
  line-height: 1.75;
}

#descripcion .entry h2,
.app-p .entry h2 {
  margin-top: 28px;
  margin-bottom: 12px;
}

#descripcion .entry h3,
.app-p .entry h3 {
  margin-top: 22px;
  margin-bottom: 10px;
}

#descripcion .entry table,
.app-p .entry table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

#descripcion .entry th,
#descripcion .entry td,
.app-p .entry th,
.app-p .entry td {
  padding: 10px 12px;
  border: 1px solid rgba(127, 127, 127, 0.25);
  text-align: left;
}

.elementor-widget-container > :first-child {
  margin-top: 0;
}

.elementor-widget-container > :last-child {
  margin-bottom: 0;
}

/* Author box — match PublishPress Authors boxed layout */
.gai-xx9-author-box,
.pp-multiple-authors-layout-boxed {
  margin: 28px 0 12px;
  clear: both;
}

.gai-xx9-author-box .box-header-title,
.pp-multiple-authors-layout-boxed .box-header-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  color: #333;
}

.gai-xx9-author-box .pp-multiple-authors-boxes-ul,
.pp-multiple-authors-layout-boxed .pp-multiple-authors-boxes-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gai-xx9-author-box .pp-multiple-authors-boxes-li,
.pp-multiple-authors-layout-boxed .pp-multiple-authors-boxes-li {
  list-style: none;
  position: relative;
  min-height: 120px;
  border: 1px solid #999;
  padding: 1.5em;
  margin: 0 0 1em;
  overflow: hidden;
  background: #fff;
}

.gai-xx9-author-box .pp-author-boxes-avatar {
  float: left;
  margin: 0 18px 12px 0;
}

.gai-xx9-author-box .avatar,
.gai-xx9-author-box .avatar-image img,
.pp-multiple-authors-layout-boxed .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.gai-xx9-author-box .pp-author-boxes-avatar-details {
  overflow: hidden;
}

.gai-xx9-author-box .multiple-authors-name {
  margin: 0 0 10px;
}

.gai-xx9-author-box .multiple-authors-name a {
  color: var(--gai-author-accent);
  font-size: 1.2em;
  font-weight: 600;
  text-decoration: none;
}

.gai-xx9-author-box .multiple-authors-name a:hover {
  text-decoration: underline;
}

.gai-xx9-author-box .multiple-authors-description {
  margin: 0 0 16px;
  color: #666;
  line-height: 1.7;
}

.gai-xx9-author-box .multiple-authors-description p {
  margin: 0 0 12px;
}

.gai-xx9-author-box .multiple-authors-description p:last-child {
  margin-bottom: 0;
}

.gai-xx9-author-box .gai-xx9-author-links {
  margin-top: 14px;
}

.gai-xx9-author-box .gai-xx9-author-links a,
.gai-xx9-author-box a.ppma-author-field-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gai-author-icon);
  color: #fff !important;
  text-decoration: none;
  line-height: 1;
}

.gai-xx9-author-box .gai-xx9-author-links a i {
  font-size: 14px;
  color: #fff;
}

.gai-xx9-author-box .gai-xx9-author-links a:hover {
  opacity: 0.9;
}

.gai-xx9-author-box .gai-xx9-author-links a svg {
  display: block;
  width: 14px;
  height: 14px;
}

.gai-xx9-author-box .gai-xx9-author-clear {
  clear: both;
  height: 0;
}

@media (max-width: 768px) {
  #descripcion .entry,
  .app-p .entry {
    line-height: 1.65;
  }

  #descripcion .entry table,
  .app-p .entry table {
    display: block;
    white-space: normal;
  }

  .gai-xx9-author-box .pp-author-boxes-avatar {
    float: none;
    margin: 0 0 12px;
  }
}

@media (max-width: 500px) {
  #subheader {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}


/* Hide orphaned PublishPress icons; keep ours */
.entry a.ppma-author-field-meta,
.app-p a.ppma-author-field-meta,
.blog-p a.ppma-author-field-meta {
  display: none !important;
}
.gai-xx9-author-links a.ppma-author-field-meta {
  display: inline-flex !important;
}

/* xx9: right sidebar next to game/blog article */
.gai-xx9.sidg #main-site .container {
  display: flex;
  align-items: flex-start;
}

.gai-xx9 #sidebar.gai-xx9-sidebar {
  width: 300px;
  margin-left: 20px;
  flex: none;
}

.gai-xx9-sidebar .widget {
  background: #fff;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 2px;
  box-shadow: 2px 2px 2px 0 #e3e3e3;
}

.gai-xx9-sidebar .widget-title {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px;
  margin: -10px -10px 10px;
  border-bottom: 1px solid #f2f2f2;
}

.gai-xx9-sidebar .widget-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gai-xx9-sidebar .widget-content li {
  margin: 0;
  padding: 0;
}

.gai-xx9-sidebar .widget_categories li a,
.gai-xx9-sidebar .gai-xx9-side-posts a {
  display: block;
  padding: 8px 2px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f2f2f2;
}

.gai-xx9-sidebar .widget_categories li:last-child a,
.gai-xx9-sidebar .gai-xx9-side-posts li:last-child a {
  border-bottom: 0;
}

.gai-xx9-sidebar .widget_categories li a:hover,
.gai-xx9-sidebar .gai-xx9-side-posts a:hover,
.gai-xx9-sidebar .gai-xx9-side-app:hover {
  color: #1bbc9b;
  text-decoration: none;
}

.gai-xx9-sidebar .gai-xx9-side-app {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f2f2f2;
}

.gai-xx9-sidebar .gai-xx9-side-apps li:last-child .gai-xx9-side-app {
  border-bottom: 0;
}

.gai-xx9-sidebar .gai-xx9-side-app img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
}

.gai-xx9-sidebar .gai-xx9-side-app-title {
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .gai-xx9.sidg #main-site .container {
    flex-direction: column;
  }

  .gai-xx9 #sidebar.gai-xx9-sidebar {
    width: 100%;
    margin: 0 auto 20px;
  }
}

.gai-xx9-hub-title {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

.gai-xx9-hub p,
.gai-xx9-similar p {
  line-height: 1.7;
  margin: 0 0 12px;
}

.gai-xx9-hub-label {
  font-weight: 700;
  margin: 16px 0 8px;
}

.gai-xx9-hub-games,
.gai-xx9-hub-links,
.gai-xx9-similar-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.gai-xx9-hub-games li,
.gai-xx9-hub-links li,
.gai-xx9-similar-list li {
  margin: 0 0 8px;
}

.gai-xx9-hub-games a,
.gai-xx9-hub-links a,
.gai-xx9-similar-list a {
  color: #1bbc9b;
  font-weight: 600;
  text-decoration: none;
}

.gai-xx9-hub-games a:hover,
.gai-xx9-hub-links a:hover,
.gai-xx9-similar-list a:hover {
  text-decoration: underline;
}

.gai-xx9-similar {
  margin-top: 0;
}

.logo img {
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.logo .gai-text-logo,
.logo a .gai-text-logo {
  display: inline-block;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: #111;
  line-height: 1;
  padding: 6px 0;
}

/* xx9: hide Appyn Telegram chrome (header icon + DOWNLOAD-adjacent button) */
body.gai-xx9 a.telegram,
body.gai-xx9 a.buttond.t,
body.gai-xx9 li:has(> a.telegram) {
  display: none !important;
}
