/*
Theme Name: AdsPower Browser Child
Theme URI: https://adspower-browser.im/
Description: WordPress child theme for the AdsPower Browser guide site.
Author: Site Team
Template: generatepress
Version: 1.0.0
Text Domain: adspower-browser
*/

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none !important;
}

a:focus-visible {
  outline: 2px solid #2457ff;
  outline-offset: 3px;
}

.site-nav > a:not(.header-cta)::after {
  display: none !important;
}

.admin-bar .site-header {
  top: 32px;
}

.wp-latest-posts {
  padding: 88px 0;
  background: #f5f7fb;
}

.wp-latest-posts-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.wp-latest-posts-heading .section-tag {
  display: inline-flex;
  margin-bottom: 12px;
  color: #2457ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.wp-latest-posts-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.25;
}

.wp-latest-posts-heading .accent {
  color: #2457ff;
}

.wp-latest-posts-heading p {
  margin: 0;
  color: #5d667a;
}

.wp-latest-posts-grid,
.wp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wp-latest-post-card,
.wp-blog-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(28, 48, 88, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.wp-latest-post-card:hover,
.wp-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(28, 48, 88, .14);
}

.wp-latest-post-image,
.wp-blog-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eaf0ff;
}

.wp-latest-post-image img,
.wp-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.wp-latest-post-card:hover img,
.wp-blog-card:hover img {
  transform: scale(1.025);
}

.wp-latest-post-body,
.wp-blog-card-body {
  padding: 24px;
}

.wp-latest-post-meta,
.wp-blog-card-meta,
.wp-single-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: #69748a;
  font-size: 13px;
}

.wp-latest-post-meta span,
.wp-blog-card-meta span {
  color: #2457ff;
  font-weight: 800;
}

.wp-latest-post-body h3,
.wp-blog-card-body h2 {
  margin: 0 0 12px;
  color: #111a33;
  font-size: 21px;
  line-height: 1.4;
}

.wp-latest-post-body p,
.wp-blog-card-body p {
  margin: 0 0 18px;
  color: #5d667a;
}

.wp-latest-post-link,
.wp-latest-posts-footer a,
.wp-blog-card-link {
  color: #2457ff;
  font-weight: 800;
}

.wp-latest-posts-footer {
  margin-top: 34px;
  text-align: center;
}

.wp-latest-posts-empty,
.wp-blog-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  min-height: 150px;
  margin: 0 auto;
  padding: 30px;
  gap: 22px;
  background: #fff;
  border: 1px dashed #b9c7e5;
  border-radius: 12px;
  text-align: left;
}

.wp-latest-posts-empty-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  padding: 13px;
  color: #2457ff;
  background: #eaf0ff;
  border-radius: 50%;
}

.wp-latest-posts-empty h3,
.wp-blog-empty h2 {
  margin: 0 0 5px;
}

.wp-latest-posts-empty p,
.wp-blog-empty p {
  margin: 0;
  color: #5d667a;
}

.wp-blog-hero {
  padding: 82px 0 68px;
  background: linear-gradient(135deg, #edf3ff, #f8fbff 58%, #ebfafa);
  border-bottom: 1px solid #dfe5ef;
}

.wp-blog-hero-inner {
  max-width: 820px;
}

.wp-blog-hero h1,
.wp-single-hero h1 {
  margin: 8px 0 18px;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.16;
}

.wp-blog-hero p,
.wp-single-hero p {
  max-width: 720px;
  margin: 0;
  color: #5d667a;
  font-size: 18px;
}

.wp-blog-section,
.wp-single-section {
  padding: 82px 0 96px;
}

.wp-blog-pagination {
  margin-top: 40px;
  text-align: center;
}

.wp-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 3px;
  padding: 0 12px;
  border: 1px solid #dfe5ef;
  border-radius: 6px;
}

.wp-blog-pagination .current {
  color: #fff;
  background: #2457ff;
  border-color: #2457ff;
}

.wp-single-hero {
  padding: 72px 0;
  background: #f5f7fb;
}

.wp-single-hero .container {
  max-width: 900px;
}

.wp-single-article {
  max-width: 840px;
  margin: 0 auto;
}

.wp-single-featured {
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(28, 48, 88, .12);
}

.wp-single-content {
  color: #25304a;
  font-size: 18px;
  line-height: 1.9;
}

.wp-single-content h2,
.wp-single-content h3 {
  margin-top: 1.8em;
  color: #111a33;
}

.wp-single-content a {
  color: #2457ff;
  text-decoration: none;
}

.wp-single-content img {
  height: auto;
  margin: 30px auto;
  border-radius: 10px;
}

.wp-single-back {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid #dfe5ef;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 920px) {
  .wp-latest-posts-grid,
  .wp-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .wp-latest-posts,
  .wp-blog-section,
  .wp-single-section {
    padding: 66px 0;
  }

  .wp-latest-posts-grid,
  .wp-blog-grid {
    grid-template-columns: 1fr;
  }

  .wp-latest-posts-empty,
  .wp-blog-empty {
    align-items: flex-start;
    flex-direction: column;
  }
}
