/* ==========================================================================
   TOPINFOZ CLEAN EXTENSION STYLES
   Supplements generatepress and generateblocks without overriding core layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&display=swap');

:root {
  --accent: #3839af;
  --contrast: #000000;
  --contrast-2: #424248;
  --contrast-3: #888889;
  --base-3: #ffffff;
}

body {
  font-family: 'Mukta', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #ffffff;
  color: var(--contrast);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Mobile Header Refinements */
@media only screen and (max-width: 600px) {
  .main-navigation .inside-navigation {
    grid-template-columns: 44px 1fr 44px !important;
    grid-column-gap: 10px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .mobile-header-navigation .site-logo img {
    max-width: 160px !important;
    height: auto !important;
  }
}

/* Ensure grid container max-width */
.grid-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Smooth Image transitions */
.stc-thumb--zoom img {
  transition: transform 0.35s ease;
}
.stc-thumb--zoom:hover img {
  transform: scale(1.05);
}

/* Load More Button */
.pagination-wrapper {
  text-align: center;
  margin: 35px 0 20px 0;
}

.load-more-btn {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px 36px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.load-more-btn:hover {
  background-color: #2b2c94;
  transform: translateY(-1px);
}


/* Search Modal */
.gp-search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999999;
  justify-content: center;
  padding-top: 10vh;
}

.gp-search-modal.active {
  display: flex;
}

.gp-search-box {
  background: #ffffff;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  overflow: hidden;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.gp-search-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
  gap: 12px;
}

.gp-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 18px;
  color: #222;
}

.gp-search-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}

.gp-search-results {
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gp-search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
}

.gp-search-item:hover {
  background: #f8fafc;
}

.gp-search-item img {
  width: 64px;
  height: 44px;
  border-radius: 4px;
  object-fit: cover;
}

.gp-search-item h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

.gp-search-item span {
  font-size: 12px;
  color: #888;
}

/* Offside Mobile Navigation Drawer */
.slideout-navigation {
  background: #ffffff;
}

.slideout-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99998;
}

.slideout-overlay.active {
  display: block;
}

/* ==========================================================================
   SINGLE POST PAGE SPECIFICS (100% Exact to topinfoz.com)
   ========================================================================== */

.single div#page {
  max-width: 888px;
  margin: 0 auto;
}

.stcode-single-article {
  font-family: 'Poppins', 'Mukta', sans-serif;
  width: 100%;
}

h2.gb-headline-0225e326 {
  width: 100%;
  max-width: 890px;
  font-size: 50px;
  font-weight: 700;
  text-align: left;
  line-height: 1.15;
  margin-top: 25px;
  margin-bottom: 25px;
  color: var(--contrast);
}

@media (max-width: 1024px) {
  h2.gb-headline-0225e326 {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .single div#page {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  h2.gb-headline-0225e326 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 26px !important;
    line-height: 1.25 !important;
    text-align: left !important;
    margin-top: 15px !important;
    margin-bottom: 20px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
}

.stc--post-content {
  font-size: 18px;
  line-height: 1.8;
  color: #333333;
}

.stc--post-content p {
  margin-bottom: 1.6em;
}

.stc--post-content h2 {
  font-weight: 700;
  font-size: 25px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--contrast);
}

.stc--post-content h3 {
  font-weight: 700;
  font-size: 20px;
  margin-top: 25px;
  margin-bottom: 15px;
  color: var(--contrast);
}

.stc--post-content h3:before {
  content: "";
  display: block;
  width: 30px;
  height: 5px;
  margin-bottom: .5em;
  background: var(--accent);
}

.stc--post-content h4 {
  font-weight: 700;
  font-size: 15px;
  margin-top: 20px;
  color: var(--contrast);
}

.stc--post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1.5em 0;
}

/* App Card styling within articles */
.app-card-sc-wrapper {
  display: flex;
  justify-content: center;
  padding: 30px 0;
  margin: 20px 0;
}

.app-card-sc {
  background-color: #f0f0f0;
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.app-card-sc-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.app-card-sc-info {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 60%;
}

.app-card-sc-icon {
  flex-shrink: 0;
  margin-right: 20px;
}

.app-card-sc-icon img {
  width: 90px;
  height: 90px;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}

.app-card-sc-details {
  flex-grow: 1;
}

.app-card-sc-name {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #000;
  line-height: 1.2;
}

.app-card-sc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.app-card-sc-rating, .app-card-sc-downloads {
  display: flex;
  flex-direction: column;
}

.app-card-sc-rating-value, .app-card-sc-downloads-count {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
}

.app-card-sc-rating-value i {
  color: #ffc107;
  margin-left: 4px;
  font-size: 16px;
}

.app-card-sc-rating-count, .app-card-sc-downloads-label {
  font-size: 14px;
  color: #666;
  margin-top: 2px;
}

.app-card-sc-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 300px;
  flex-shrink: 0;
}

.app-card-sc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  color: white !important;
  transition: all 0.3s ease;
  width: 100%;
  white-space: nowrap;
  box-sizing: border-box;
}

.app-card-sc-btn i {
  margin-right: 8px;
  font-size: 18px;
}

.app-card-sc-btn-google {
  background-color: #01875f;
}

.app-card-sc-btn-google:hover {
  background-color: #095943;
}

@media (max-width: 768px) {
  .app-card-sc-container {
    flex-direction: column;
    align-items: stretch;
  }
  .app-card-sc {
    padding: 15px;
  }
  .app-card-sc-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin: 0 auto 20px auto;
  }
  .app-card-sc-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .app-card-sc-details {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .app-card-sc-stats {
    justify-content: center;
  }
  .app-card-sc-buttons {
    width: 100%;
  }
  .app-card-sc-btn {
    padding: 16px 20px;
    font-size: 18px;
  }
}

@keyframes app-card-sc-pulse2 {
  0% { box-shadow: 0 0 0 0 rgba(1, 135, 95, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(1, 135, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(1, 135, 95, 0); }
}

.app-card-sc-pulse2 {
  animation: app-card-sc-pulse2 2s infinite;
}

/* Author Box Styling */
.stcode-container-autor {
  border: 1px solid #eee;
  padding: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.stcode-autor-flex {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  align-items: center;
}

.stcode-autor-image {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.stcode-title-autor {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: .2px;
  margin: 0 0 8px 0;
  color: var(--contrast);
}

.stcode-about-autor {
  font-family: 'Open Sans', 'Mukta', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #505050;
}

@media (max-width: 600px) {
  .stcode-autor-flex {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

/* Recommended Section Styling */
.gb-container-01d65c8a {
  max-width: 1200px;
  padding-top: 2.5em;
  margin-top: 3em;
  margin-right: auto;
  margin-left: auto;
  border-top: 1px solid #e6e6e6;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.gb-container-5f6f173c {
  width: 100%;
}

.stc--title-recomendado {
  display: flex;
  align-items: center;
  column-gap: 8px;
  margin-bottom: 30px;
}

.stc--title-recomendado h2 {
  position: relative;
  font-size: 25px;
  font-weight: 700;
  margin: 0;
  color: var(--contrast);
}

.stc--title-recomendado h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 37px;
  height: 3px;
  background: var(--accent);
}

.gb-grid-wrapper.recomendado-loop-post {
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  margin-left: -15px;
  margin-right: -15px;
}

.gb-grid-wrapper.recomendado-loop-post > .gb-grid-column {
  width: 25% !important;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
}

.gb-container-744066e4 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.stc--item-blog:not(.stc-item-lasts) .stc-thumb--zoom {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  padding-bottom: 64%;
  width: 100%;
}

.stc--item-blog:not(.stc-item-lasts) .stc-thumb--zoom .gb-block-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

.stc--item-blog:not(.stc-item-lasts) .stc-thumb--zoom a {
  display: block;
  width: 100%;
  height: 100%;
}

.stc--item-blog:not(.stc-item-lasts) .stc-thumb--zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.stc--item-blog:not(.stc-item-lasts):hover .stc-thumb--zoom img {
  transform: scale(1.08);
}

/* Últimas Atualizações Row Layout (100% Identical to topinfoz.com) */
.stc-item-lasts {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  column-gap: 1.5em !important;
  row-gap: 1.2em !important;
  margin-bottom: 2em !important;
  width: 100% !important;
}

.stc-item-lasts .stc-thumb--zoom {
  width: calc(100% - 57%) !important;
  max-width: 43% !important;
  padding-bottom: 25% !important;
  flex-shrink: 0 !important;
  position: relative !important;
  border-radius: 5px !important;
  overflow: hidden !important;
}

.stc-item-lasts .stc-thumb--zoom .gb-block-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.stc-item-lasts .stc-thumb--zoom a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.stc-item-lasts .stc-thumb--zoom img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.35s ease;
  display: block !important;
}

.stc-item-lasts:hover .stc-thumb--zoom img {
  transform: scale(1.08);
}

.stc-item-lasts div:not(.stc-thumb--zoom) {
  width: 57% !important;
  flex: 1 1 57% !important;
}

@media only screen and (max-width: 768px) {
  .stc-item-lasts {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .stc-item-lasts .stc-thumb--zoom {
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 56.25% !important;
  }
  .stc-item-lasts div:not(.stc-thumb--zoom) {
    width: 100% !important;
  }
}

.gb-headline-45e9f7ba {
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
  margin-bottom: 5px;
}

.gb-headline-f7dfa1f8 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 8px 0;
}

.gb-headline-f7dfa1f8 a {
  color: var(--contrast);
  text-decoration: none;
}

.gb-headline-f7dfa1f8 a:hover {
  color: var(--accent);
}

.gb-headline-44a0d6f6 {
  font-size: 14px;
  line-height: 1.5;
  color: #676767;
}

.gb-headline-5b41e94f {
  font-size: 16px;
  font-weight: 600;
  margin-top: 14px;
  margin-bottom: 0px;
}

.gb-headline-5b41e94f a {
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .gb-grid-wrapper.recomendado-loop-post > .gb-grid-column {
    width: 50% !important;
  }
}

@media (max-width: 600px) {
  .gb-grid-wrapper.recomendado-loop-post > .gb-grid-column {
    width: 100% !important;
  }
}

/* ==========================================================================
   AD INTEGRATION & PRELOADER STYLES (100% Exact to topinfoz.com)
   ========================================================================== */

.revidia-ad-block {
  text-align: center;
  margin: 30px auto;
  display: block;
  clear: both;
  width: 100%;
  max-width: 100%;
}

.revidia-ad-block > div[id^="div-gpt-ad"] {
  display: inline-block;
  margin: 0 auto;
}

/* Ad preview placeholder when developing or awaiting fill */
.ad-placeholder-box {
  background: #fbfbfd;
  border: 1px dashed #d0d5dd;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #475467;
  font-family: inherit;
  font-size: 13px;
  padding: 18px 12px;
  box-sizing: border-box;
}

.ad-placeholder-badge {
  background: #eef2f6;
  color: #344054;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.6px;
}

.ad-placeholder-info {
  font-size: 11px;
  color: #98a2b3;
  margin-top: 4px;
}

.separator {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  color: #64748b;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #cbd5e1;
}

.separator::before {
  margin-right: 0.8em;
}

.separator::after {
  margin-left: 0.8em;
}

/* Preloader full-screen overlay for 100% Viewability */
#preload {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: opacity 0.3s ease;
}

.spinner {
  border: 6px solid #f0f0f0;
  border-top: 6px solid var(--accent);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: ad-spin 0.9s linear infinite;
}

@keyframes ad-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
