/* SkyMovies DLE — layout, typography, components */

nav.top_menu > ul {
  display: flex;
  margin: 0;
}

nav.top_menu ul.menu:not(.off-canvas) > li.menu-item-has-children > a:before,
nav.top_menu ul li.menu-item-has-children ul li.menu-item-has-children > a:before {
  font-family: rhicons, "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif !important;
  font-weight: 900;
  font-style: normal;
}

nav.top_menu ul.menu:not(.off-canvas) > li.menu-item-has-children > a:before {
  content: "\f107" !important;
}

nav.top_menu ul li.menu-item-has-children ul li.menu-item-has-children > a:before {
  content: "\f105" !important;
}

body,
.post-content,
.comment-content,
.sidebar .detail a {
  font-family: Roboto, "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.wpsm-title,
nav.top_menu > ul > li > a,
.dl-menuwrapper li a,
.widget .title,
.title_comments,
.comment-reply-title,
.related_title {
  font-family: Alef, trebuchet ms, sans-serif;
}

.col_wrap_fourth > .wp-pagenavi {
  clear: both;
  width: 100%;
}

#content_box form#fullsearch table {
  display: none !important;
}

/* Breadcrumb */
.breadcrumb .gh-cat-links a {
  text-decoration: none;
}
.breadcrumb .gh-cat-links a + a {
  display: none;
}

/* Tags */
.gh-tags-wrap {
  margin: 25px 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.gh-tags-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  opacity: 0.85;
}
.gh-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gh-tags-list a,
.gh-tag-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
}
.gh-tags-list a:hover,
.gh-tag-chip:hover {
  background: rgba(0, 170, 154, 0.25);
  border-color: rgba(0, 170, 154, 0.5);
  transform: translateY(-1px);
}

/* Download buttons — only in download section (.dl-btn-wrapper / .movie-btn) */
.post-content .dl-btn-wrapper {
  display: block;
  text-align: center;
  margin: 15px 0;
}
.post-content .dl-btn-wrapper a,
.post-content a.movie-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  padding: 12px 20px;
  border-radius: 60px;
  color: #fff !important;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none !important;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.45);
  border: 2px solid hsl(0 0% 100% / 0.08);
  transition: all 0.35s ease;
}
.post-content a.movie-btn-480p,
.post-content a.wp-btn-1 {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
}
.post-content a.movie-btn-720p,
.post-content a.wp-btn-2 {
  background: linear-gradient(135deg, #4776e6, #8e54e9);
}
.post-content a.movie-btn-1080p,
.post-content a.wp-btn-3 {
  background: linear-gradient(135deg, #00b09b, #96c93d);
}
.post-content a.wp-btn-4 {
  background: linear-gradient(135deg, #ff9800, #ff5722);
}
.post-content .dl-btn-wrapper a i,
.post-content a.movie-btn i {
  margin-right: 10px;
  font-size: 1.15rem;
}
.post-content .dl-btn-wrapper a:hover,
.post-content a.movie-btn:hover,
.post-content a.wp-download-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.55);
}

/* Post thumbnails from extra field */
.gh-xfield-poster,
.gh-xfield-poster img {
  display: block;
  width: 100%;
}
.gh-xfield-poster img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.sidebar .gh-xfield-poster img,
.sidebar .gh-sidebar-poster img,
.sidebar figure img.wp-post-image {
  width: 100px;
  height: 100px;
  max-height: 100px;
  aspect-ratio: auto;
  object-fit: cover;
}
.related_articles .gh-xfield-poster img,
.col_wrap_fourth .gh-xfield-poster img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

/* Comments */
#comments {
  margin-top: 30px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
#comments .post-comments {
  margin-bottom: 25px;
}
#comments .title_comments {
  margin-bottom: 18px;
  font-size: 18px;
}
#comments .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}
#comments .commentlist > li {
  margin-bottom: 16px;
}
#comments .commentlist .commbox {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
#comments .comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
#comments .comment-author .avatar {
  flex-shrink: 0;
  border-radius: 50%;
}
#comments .comm_meta_wrap {
  flex: 1;
  min-width: 0;
}
#comments .comm_meta_wrap .fn {
  display: block;
  font-weight: 700;
  font-size: 15px;
}
#comments .comm_meta_wrap .time {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  margin-top: 2px;
}
#comments .comment-content {
  padding: 14px 20px 18px;
  line-height: 1.6;
}
#comments .comment-content p {
  margin: 0;
}
#comments .comment-respond {
  margin-top: 10px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
#comments .comment-reply-title {
  margin: 0 0 16px;
  font-size: 18px;
}
#comments .comment-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font-family: inherit;
  font-size: 15px;
  box-sizing: border-box;
  margin-bottom: 12px;
  resize: vertical;
}
#comments .comment-form .usr_re,
#comments .comment-form .email_re,
#comments .comment-form .site_re {
  margin-bottom: 12px;
}
#comments .comment-form input[type="text"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font-family: inherit;
  font-size: 15px;
  box-sizing: border-box;
}
#comments .form-submit {
  margin: 16px 0 0;
}
#comments .form-submit .submit {
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}

/* Search page — flex grid so form/junk nodes don't break card columns */
body.search #ghPostsGrid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
body.search #ghPostsGrid > form#fullsearch {
  display: none !important;
}
body.search #ghPostsGrid > article.col_item {
  width: 23%;
  margin: 0 1% 25px;
  float: none;
  box-sizing: border-box;
}
body.search #ghPostsGrid > .wp-pagenavi {
  flex: 0 0 100%;
  width: 100%;
  clear: both;
}
body.search .gh-search-info {
  width: 100%;
  margin: 0 0 20px;
  opacity: 0.85;
  font-size: 15px;
  box-sizing: border-box;
}
body.search .no_more_posts {
  width: 100%;
  text-align: center;
  padding: 30px 15px;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  body.search #ghPostsGrid > article.col_item {
    width: 30.33%;
    margin: 0 1.5% 15px;
  }
}
@media (max-width: 767px) {
  body.search #ghPostsGrid > article.col_item {
    width: 47%;
    margin: 0 1.5% 15px;
  }
}

/* Mobile splash search overlay */
#rhSplashSearch {
  position: relative;
  z-index: 99999999;
}
#rhSplashSearch.top-search-onclick-open .search-header-contents {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}
body.gh-search-open {
  overflow: hidden;
}

/* SEO blocks */
.sm-seo-header,
.sm-seo-footer,
.sm-seo-post,
.sm-seo-xfield-wrap {
  width: 100%;
  box-sizing: border-box;
}
.sm-seo-header {
  margin: 0 auto 20px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sm-seo-header h1 {
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 600;
  margin: 0 0 12px;
  color: #e8e8e8;
}
.sm-seo-sub,
.sm-seo-footer p,
.sm-seo-post p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 10px;
}
.sm-seo-keyline {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.sm-seo-footer {
  margin: 24px auto 10px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sm-seo-footer h2 {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 10px;
  color: #efefef;
}
.sm-seo-hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 16px 0;
}
.sm-seo-post {
  margin: 24px 0 10px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.sm-seo-post h2 {
  font-size: 1rem;
  line-height: 1.45;
  margin: 0 0 10px;
  color: #efefef;
}
.sm-seo-xfield-wrap {
  margin: 0 auto 18px;
}
.sm-seo-xfield {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}
