/*
 * GamblingNews.today site polish for NewsCard.
 * Reversible: remove this file and gnt-design-polish.php from mu-plugins.
 */

:root {
  --gnt-ink: #111827;
  --gnt-muted: #5f6b7a;
  --gnt-line: #d9e0e8;
  --gnt-soft: #f5f7fa;
  --gnt-paper: #ffffff;
  --gnt-navy: #141b2d;
  --gnt-blue: #1d4f91;
  --gnt-teal: #0f766e;
  --gnt-gold: #c99725;
  --gnt-radius: 8px;
  --gnt-shadow: 0 12px 30px rgba(20, 27, 45, 0.08);
}

html {
  scroll-behavior: smooth;
}

body.theme-body {
  background: var(--gnt-soft);
  color: var(--gnt-ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

a,
.entry-title a,
.stories-title a,
.post-boxed .entry-title a {
  color: var(--gnt-ink);
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

a:hover,
a:focus,
.entry-title a:hover,
.stories-title a:hover {
  color: var(--gnt-teal);
  text-decoration: none;
}

.featured-section .post-block .entry-title a,
.featured-section .post-block .entry-title a:hover,
.featured-section .post-block .entry-title a:focus,
.featured-stories .post-boxed .entry-title a:hover,
.featured-stories .post-boxed .entry-title a:focus,
.post-img-wrap .entry-title a:hover,
.post-img-wrap .entry-title a:focus {
  color: #fff;
}

.container {
  max-width: 1180px;
}

.site-header {
  background: var(--gnt-paper);
  border-bottom: 1px solid rgba(217, 224, 232, 0.9);
  box-shadow: 0 8px 22px rgba(20, 27, 45, 0.04);
}

.info-bar {
  background: var(--gnt-navy);
  border: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.info-bar a,
.info-bar .date,
.info-bar li {
  color: rgba(255, 255, 255, 0.78);
}

.navbar-head {
  background: var(--gnt-paper);
  padding: 22px 0;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  max-height: 72px;
  width: auto;
}

.site-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.site-description {
  color: var(--gnt-muted);
  font-size: 14px;
  margin-top: 6px;
}

.navigation-bar {
  background: var(--gnt-navy);
}

.navigation-bar-top,
.navbar-main {
  background: transparent;
  border: 0;
}

.main-navigation ul li a,
.nav-menu li a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 16px 14px;
}

.main-navigation ul li.current-menu-item > a,
.main-navigation ul li a:hover,
.main-navigation ul li a:focus,
.nav-menu li a:hover,
.nav-menu li a:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-search,
.search-toggle,
.navbar-toggler.menu-toggle {
  color: #fff;
}

.search-bar {
  background: var(--gnt-navy);
}

.search-form .form-control,
.search-form input[type="search"] {
  border: 1px solid var(--gnt-line);
  border-radius: var(--gnt-radius) 0 0 var(--gnt-radius);
  min-height: 44px;
}

.search-form .btn,
.btn-theme {
  background: var(--gnt-teal);
  border-color: var(--gnt-teal);
  border-radius: 0 var(--gnt-radius) var(--gnt-radius) 0;
  color: #fff;
  font-weight: 700;
  min-height: 44px;
}

.top-stories-bar {
  background: var(--gnt-paper);
  border-bottom: 1px solid var(--gnt-line);
  box-shadow: 0 8px 18px rgba(20, 27, 45, 0.04);
}

.top-stories-box {
  border: 0;
  min-height: 46px;
}

.top-stories-label-wrap {
  background: var(--gnt-teal);
  border-radius: var(--gnt-radius);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
}

.top-stories-lists a {
  color: var(--gnt-ink);
  font-weight: 700;
}

.featured-section {
  background: linear-gradient(180deg, #f9fbfd 0%, var(--gnt-soft) 100%);
  padding: 28px 0 20px;
}

.featured-section .stories-title {
  letter-spacing: 0;
  line-height: 1.18;
}

.featured-slider,
.featured-post,
.post-boxed,
.widget,
.site-main .post {
  border: 1px solid rgba(217, 224, 232, 0.9);
  border-radius: var(--gnt-radius);
  box-shadow: var(--gnt-shadow);
  overflow: hidden;
}

.post-boxed,
.widget,
.site-main .post {
  background: var(--gnt-paper);
}

.site-content {
  padding-top: 34px;
}

.home .site-main::before {
  border-left: 4px solid #d10000;
  color: var(--gnt-ink);
  content: "Latest Reports";
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  margin: 4px 0 16px;
  padding-left: 12px;
}

.site-content-row {
  row-gap: 26px;
}

.post-wrap,
.gutter-parent-14.post-wrap {
  row-gap: 24px;
}

.post-item,
.post-boxed,
.post-block {
  height: 100%;
}

.post-img-wrap,
.post-featured-image,
.featured-post-img {
  background: #dbe3ed;
  overflow: hidden;
}

.post-img-wrap img,
.post-featured-image img,
.featured-post-img img,
.post-thumbnail img,
.wp-post-image {
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
  width: 100%;
}

.post-boxed .post-img-wrap img,
.post-block .post-img-wrap img {
  aspect-ratio: 16 / 10;
}

.post-boxed:hover .post-img-wrap img,
.post-block:hover .post-img-wrap img,
.featured-post:hover img {
  transform: scale(1.025);
}

.post-content {
  padding: 18px 18px 20px;
}

.entry-title,
.stories-title {
  color: var(--gnt-ink);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.22;
}

.post-boxed .entry-title,
.post-block .entry-title {
  font-size: 20px;
}

.entry-header .entry-title {
  margin-bottom: 10px;
}

.entry-meta,
.entry-meta a,
.category-meta,
.cat-links,
.cat-links a {
  color: var(--gnt-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.cat-links a,
.category-meta a {
  background: rgba(15, 118, 110, 0.09);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  color: var(--gnt-teal);
  display: inline-block;
  line-height: 1.2;
  margin: 0 6px 6px 0;
  padding: 5px 9px;
}

.entry-content {
  color: #243041;
}

.entry-content p {
  margin-bottom: 1.1rem;
}

.entry-content a {
  border-bottom: 1px solid rgba(15, 118, 110, 0.35);
  color: var(--gnt-blue);
  font-weight: 700;
}

.entry-content a:hover,
.entry-content a:focus {
  border-bottom-color: var(--gnt-teal);
  color: var(--gnt-teal);
}

.widget-area .widget {
  padding: 20px;
}

.widget-title,
.widget .widget-title,
.post-slider-header .title-wrap,
.title-wrap {
  color: var(--gnt-ink);
  font-weight: 800;
  letter-spacing: 0;
}

.widget-title::after,
.title-wrap::after {
  background: var(--gnt-gold);
}

.widget ul,
.widget ol {
  margin-left: 0;
}

.widget li {
  border-bottom: 1px solid var(--gnt-line);
  padding: 8px 0;
}

.widget li:last-child {
  border-bottom: 0;
}

.tagcloud a,
.wp-block-tag-cloud a,
.widget .tag-cloud-link {
  background: #eef5f4;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  color: var(--gnt-teal);
  display: inline-block;
  font-size: 12px !important;
  font-weight: 700;
  margin: 0 6px 8px 0;
  padding: 6px 10px;
}

.tagcloud a:hover,
.wp-block-tag-cloud a:hover {
  background: var(--gnt-teal);
  color: #fff;
}

.navigation.pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.page-numbers {
  background: var(--gnt-paper);
  border: 1px solid var(--gnt-line);
  border-radius: var(--gnt-radius);
  color: var(--gnt-ink);
  min-width: 38px;
  padding: 8px 12px;
  text-align: center;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--gnt-navy);
  border-color: var(--gnt-navy);
  color: #fff;
}

.single .site-main .post,
.page .site-main .page {
  padding: 26px;
}

.single .entry-title,
.page .entry-title {
  font-size: 34px;
  line-height: 1.16;
}

.single .entry-content,
.page .entry-content {
  font-size: 18px;
  line-height: 1.78;
}

.single .entry-content blockquote,
.page .entry-content blockquote {
  border-left: 4px solid var(--gnt-gold);
  color: var(--gnt-ink);
  margin: 24px 0;
  padding: 10px 0 10px 18px;
}

.site-footer {
  background: var(--gnt-navy);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 42px;
}

.site-footer a {
  color: #fff;
}

.site-footer .widget-area {
  background: #101729;
  padding: 36px 0 22px;
}

.site-footer .widget {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.76);
  padding: 0;
}

.site-footer .widget-title,
.site-footer .wp-block-heading,
.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer .widget li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 0;
}

.site-footer .widget li:last-child {
  border-bottom: 0;
}

.site-footer .widget a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.site-footer .widget a:hover,
.site-footer .widget a:focus {
  color: #fff;
}

.site-footer .gnt-footer-kicker {
  color: #7dd3c7;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-info .copyright {
  text-align: center;
}

.site-info .copyright > :not(.theme-link) {
  display: none !important;
}

.site-info .theme-link {
  display: block;
  text-align: center;
}

.site-info .theme-link a:empty::before {
  content: "GamblingNews.today";
}

.gnt-author-card {
  align-items: center;
  background: var(--gnt-paper);
  border: 1px solid var(--gnt-line);
  border-radius: var(--gnt-radius);
  box-shadow: var(--gnt-shadow);
  display: flex;
  gap: 20px;
  margin: 0 0 24px;
  padding: 22px;
}

.gnt-author-card__avatar {
  flex: 0 0 auto;
}

.gnt-author-avatar-img {
  border: 1px solid var(--gnt-line);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(20, 27, 45, 0.1);
  object-fit: cover;
}

.gnt-author-card__label,
.gnt-author-grid__beat {
  color: var(--gnt-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.gnt-author-card h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
}

.gnt-author-card__beat {
  color: var(--gnt-muted);
  font-weight: 700;
  margin-bottom: 8px;
}

.gnt-author-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 20px 0;
}

.gnt-author-grid__card {
  background: var(--gnt-paper);
  border: 1px solid var(--gnt-line);
  border-radius: var(--gnt-radius);
  box-shadow: var(--gnt-shadow);
  padding: 20px;
}

.gnt-author-grid__card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 12px 0 8px;
}

.back-to-top {
  background: var(--gnt-teal);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.28);
}

@media (min-width: 992px) {
  .navbar-main {
    min-height: 52px;
  }

  .sticky-sidebar {
    top: 18px;
  }
}

@media (max-width: 991px) {
  .navbar-head {
    padding: 16px 0;
  }

  .main-navigation ul li a,
  .nav-menu li a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 13px 0;
  }

  .post-boxed .entry-title,
  .post-block .entry-title {
    font-size: 19px;
  }

  .single .entry-title,
  .page .entry-title {
    font-size: 28px;
  }
}

@media (max-width: 575px) {
  body.theme-body {
    font-size: 15px;
  }

  .site-title {
    font-size: 24px;
  }

  .custom-logo {
    max-height: 56px;
  }

  .site-content {
    padding-top: 22px;
  }

  .top-stories-box {
    display: block;
    min-height: auto;
    padding: 8px 0 10px;
  }

  .top-stories-box > .col-sm-auto,
  .top-stories-box > .top-stories-lists {
    display: block;
    max-width: 100%;
    width: 100%;
  }

  .top-stories-label-wrap {
    display: inline-flex;
    margin-bottom: 8px;
    max-width: 100%;
  }

  .top-stories-lists,
  .top-stories-lists .col,
  .top-stories-lists .marquee {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .featured-section .stories-title,
  .featured-slider .stories-title {
    font-size: 20px !important;
    line-height: 1.16;
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
  }

  .featured-stories .stories-title {
    font-size: 17px !important;
  }

  .featured-section .post-block .entry-header,
  .featured-slider .post-block .entry-header {
    box-sizing: border-box;
    padding-right: 22px;
    width: 100%;
  }

  .featured-section .post-block .entry-title,
  .featured-slider .post-block .entry-title {
    font-size: 18px !important;
    line-height: 1.18;
    max-width: 92%;
    overflow-wrap: normal !important;
    word-break: normal !important;
    word-wrap: normal !important;
  }

  .featured-section .post-block .entry-title a,
  .featured-slider .post-block .entry-title a {
    overflow-wrap: normal !important;
    word-break: normal !important;
    word-wrap: normal !important;
  }

  .post-content,
  .widget-area .widget,
  .single .site-main .post,
  .page .site-main .page {
    padding: 16px;
  }

  .single .entry-title,
  .page .entry-title {
    font-size: 25px;
  }

  .single .entry-content,
  .page .entry-content {
    font-size: 16px;
  }

  .gnt-author-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px;
  }

  .gnt-author-card h2 {
    font-size: 23px;
  }
}
