/*!
Theme Name: Star Sports
Theme URI: https://www.starsportsbet.co.uk/
Author: Star Sports
Author URI: https://www.starsportsbet.co.uk/
Description: Mobile-first English sports news magazine theme matching Star Sports Extra layout. Includes App Downloads CPT and unlimited footer friendship links. Compatible with WordPress 7.1.4.
Version: 1.9.0
Requires at least: 6.0
Tested up to: 7.1.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: star-sports
Tags: blog, news, custom-logo, custom-menu, featured-images, translation-ready, mobile-first
*/

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
body {
  background: #fff;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  height: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { margin: 0; padding: 0; }
h2 {
  font-weight: bold;
  font-size: 15px;
  text-align: left;
  color: #000;
  opacity: 0.9;
}
ul, li { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
input:focus, select:focus, textarea:focus, button:focus { outline: none; }
.container { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
.container-fluid { width: 100%; padding-right: 0; padding-left: 0; }
.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.row > [class*="col"] { padding-right: 15px; padding-left: 15px; }
.col { flex: 1 0 0%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-lg-5 { flex: 0 0 41.666%; max-width: 41.666%; }
.col-lg-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-lg-9 { flex: 0 0 75%; max-width: 75%; }
.align-items-center { align-items: center; }
@media (max-width: 991.98px) {
  .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-7, .col-lg-8, .col-lg-9 { flex: 0 0 100%; max-width: 100%; }
}
@media (max-width: 767.98px) {
  .col-md-4, .col-md-8 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 1200px) {
  .container { max-width: 1250px; }
}
@media (min-width: 992px) {
  .container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1250px; }
}

/* Slideout menu */
.slideout-menu {
  position: fixed;
  top: 0; bottom: 0; right: 0;
  width: 256px;
  min-height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  display: none !important;
  background: #15213C;
}
.slideout-open .slideout-menu { display: block !important; }
.slideout-panel {
  position: relative;
  z-index: 1;
  background-color: #FFF;
  min-height: 100vh;
  transition: transform .3s ease;
}
.slideout-open .slideout-panel { transform: translateX(-256px); }
.slideout-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999;
}
.slideout-open .slideout-overlay { display: block; }
.slideout-menu ul { padding: 30px 30px 0; }
.slideout-menu .second-menu ul { padding: 0 30px 30px; }
.slideout-menu ul li a {
  font-weight: bold; font-size: 15px; color: #fff;
  text-transform: uppercase; text-decoration: none;
  margin-bottom: 10px; display: block;
}
.slideout-menu .second-menu ul li a { color: #b6bfc9; font-size: 12px; }
.slideout-menu form {
  margin: 23px 0 30px 30px; float: left; display: block;
  border-bottom: 1px solid #284075; padding-bottom: 5px; width: calc(100% - 60px);
}
.slideout-menu form input[type="text"] {
  background: transparent; border: 0; float: left; width: 160px; padding: 0; color: #fff; margin-right: 10px;
}
.slideout-menu form button { margin-top: 0; border: 0; background: transparent; float: right; padding: 0; }
.slideout-menu form button img { width: 20px; height: auto; }
.slideout-footer {
  width: 100%; background: #15203c; height: auto; padding: 30px; clear: both;
}
.slideout-footer p { color: #d8e0ed; font-size: 10px; margin-top: 20px; }
.slideout-footer a.contact {
  font-weight: 500; font-size: 15px; color: #ecbe09; text-transform: uppercase;
  text-decoration: none; border: 1px solid #ECBE09; border-radius: 5px;
  padding: 5px 10px; margin-right: 15px;
}
.slideout-footer a.social { color: #fff; font-size: 18px; }

/* Header */
#header {
  background: #15213C; color: #fff; padding: 30px 0; position: relative; z-index: 10;
}
#header-search {
  position: absolute; left: 0; top: 0; background: #15213C; width: 100%; height: 100%;
  padding: 30px 0; opacity: 0; visibility: hidden; transition: all .2s ease-in;
}
#header-search.active { visibility: visible; opacity: 1; }
#header-search form {
  float: right; display: inline-block; border-bottom: 1px solid #284075;
  padding-bottom: 5px; width: min(400px, 70%); margin-top: 8px;
}
#header-search form input[type="text"] { background: transparent; border: 0; color: #fff; width: 85%; }
#header-search form button { float: right; background: transparent; border: 0; padding: 0; }
#header-search .close {
  float: right; display: inline-block; margin: 10px 30px 0; cursor: pointer; font-size: 22px; color: #fff;
}
#header a.yellow {
  float: right; color: #15213C; background: #febe10; text-decoration: none; text-transform: uppercase;
  font-weight: bold; font-size: 15px; padding: 7px 20px; display: inline-block; border-radius: 20px;
}
#header-logo {
  flex: 0 0 auto !important;
  max-width: 200px;
  width: auto !important;
}
.site-logo-link { text-decoration: none; display: inline-block; line-height: 0; }
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  max-height: 34px;
}
.site-logo-icon {
  width: 30px;
  height: 34px;
  flex-shrink: 0;
  display: block;
}
.site-logo-text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1;
  white-space: nowrap;
}
.site-logo-text .logo-gambling { color: #fff; }
.site-logo-text .logo-course { color: #2E9B3A; }
#header img.logo,
#header .custom-logo {
  width: auto !important;
  max-width: 190px;
  height: 28px !important;
  max-height: 28px !important;
  object-fit: contain;
  object-position: left center;
  display: block;
}
#header .custom-logo-link { display: none !important; /* force theme logo */ }
#header img.toggle { display: none; width: 22px; height: auto; cursor: pointer; }
#header a.search { float: right; margin: 4px 16px 0; display: inline-block; }
#header a.search img { width: 14px; height: auto; }
#header .header-primary-nav { float: right; display: inline-block; margin-top: 4px; max-width: 100%; }
#header .header-primary-nav > ul.menu { list-style: none; margin: 0; padding: 0; display: block; }
#header .header-primary-nav > ul.menu ~ ul { display: none !important; }
#header .header-primary-nav > ul.menu > li { display: inline-block; vertical-align: middle; }
#header .header-primary-nav > ul.menu > li a {
  color: #fff; text-transform: uppercase; text-decoration: none; font-weight: bold;
  font-size: 13px; margin-left: 16px; transition: all .2s ease-in; white-space: nowrap;
  line-height: 1.2;
}
#header .header-primary-nav > ul.menu > li a:hover { color: #febe10; }
#header .header-primary-nav > ul.menu > li:first-child a { margin-left: 0; }
#header .header-primary-nav .sub-menu { display: none; }
#header { padding: 12px 0; min-height: 0; }

/* Category subnav */
#cat-header {
  background: #BEBEBE; text-align: center; padding: 10px 0; text-transform: uppercase;
}
#cat-header ul.menu {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px;
}
#cat-header li { display: inline-block; }
#cat-header a {
  font-size: 11px; text-decoration: none; color: #15213C; font-weight: 500;
  letter-spacing: .04em; border-radius: 15px; background: #dedede;
  display: inline-block; margin: 0; padding: 6px 10px; white-space: nowrap;
}

/* Featured ad / hero */
#top-add { padding: 0; }
#featured-ad {
  border-radius: 5px; margin-top: 25px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0d1b33 0%, #1a294b 50%, #0a1628 100%);
  min-height: 160px;
}
#featured-ad .mobile-banner { display: none; width: 100%; }
#featured-ad .desktop-banner { width: 100%; }
#featured-ad img { height: auto; width: 100%; border-radius: 5px; }
.link-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.link-container .visit {
  position: absolute; top: 60px; right: 25px; font-weight: bold; font-size: 15px;
  padding: 10px 25px; color: #ecbe09; text-transform: uppercase; border-radius: 5px;
  background: #1a294b; box-shadow: 0 5px 20px rgba(0,0,0,.16); pointer-events: auto;
}
.hero-banner-content {
  position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
  color: #fff; z-index: 2; max-width: 55%;
}
.hero-banner-content h2 {
  color: #fff; font-size: clamp(22px, 4vw, 42px); font-weight: 800;
  line-height: 1.1; margin-bottom: 12px; opacity: 1; text-transform: uppercase;
}
.hero-banner-content ul li {
  color: #febe10; font-weight: 700; font-size: 13px; letter-spacing: .04em;
  margin-bottom: 4px; text-transform: uppercase;
}
.hero-banner-content ul li::before { content: "★ "; }

/* Main content */
#main-content { padding: 25px 0 6px; }
#main-content h2 { margin-bottom: 25px; text-transform: uppercase; }
.latest-news-headings {
  align-items: flex-end;
  margin-bottom: 0;
}
.latest-news-headings h2 {
  margin-bottom: 25px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 15px;
  color: #000;
  opacity: 0.9;
}
.latest-news-headings .todays-news-title {
  margin-bottom: 25px;
}
@media (max-width: 991px) {
  .latest-news-headings .todays-news-title { margin-top: 10px; }
}
#main-content h1 {
  font-weight: bold; font-size: 22px; letter-spacing: .02em; color: #181818;
  margin: 22px 0; float: left; display: block; width: 100%;
}
.latest-post-image { position: relative; }
.latest-post-image span.meta-cat,
.filtered-post-image span.meta-cat,
.carousel-image span.meta {
  position: absolute; text-transform: uppercase; color: #181818; font-weight: 500;
  font-size: 10px; letter-spacing: .05em; background: #FEBE10; border-radius: 20px;
  right: 18px; top: 18px; padding: 6px 18px;
}
.latest-post img { max-width: 100%; border-radius: 10px; height: auto; width: 100%; }
.latest-post p {
  font-weight: 500; font-size: 12px; letter-spacing: .02em; line-height: 17px; color: #181818;
}
.latest-post .meta, .latest-snippet .meta, .filtered-post .meta, .search-result .meta {
  border-bottom: 1px solid #FEBE10; float: left; width: 100%;
}
.latest-post .meta { padding-bottom: .5rem; }
.latest-post h1 a { color: #181818; text-decoration: none; }
.latest-post h4, .latest-snippet h4, .filtered-post h4, .search-result h4 {
  display: inline-block; font-weight: 600; font-size: 8px; letter-spacing: .05em;
  color: #002845; float: left; text-transform: uppercase;
}
.latest-post h5, .latest-snippet h5, .filtered-post h5, .search-result h5 {
  font-weight: 600; font-size: 6px; letter-spacing: .05em; text-align: right;
  color: #002845; opacity: .5; display: inline-block; float: right; padding-top: 5px; text-transform: uppercase;
}
.latest-post h5 { text-align: left; float: left; font-size: 8px; opacity: 1; }
.more-stories { margin-top: 40px; padding-top: 10px; clear: both; }
.more-stories > .row h2 { margin-bottom: 20px; }
.latest-snippet { margin-bottom: 18px; clear: both; }
#most-recent .latest-snippet:last-child { margin-bottom: 0; }
.latest-snippet p {
  font-weight: 500; font-size: 10px; letter-spacing: .02em; line-height: 15px;
  color: #181818; margin-bottom: 0;
}
.latest-snippet img { border-radius: 5px; height: auto; width: 100%; }
.latest-snippet h3 {
  font-weight: bold; font-size: 12px; letter-spacing: .02em; float: left;
  margin: 8px 0; display: block; width: 100%;
}
.latest-snippet h3 a { color: #181818; text-decoration: none; }

/* Carousel / Also Trending 5-up */
#posts-carousel { background: #eeeeee; padding: 16px 0 22px; }
.trending-five {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 10px;
}
.trending-card { min-width: 0; }
.trending-card .carousel-image img,
.trending-card .carousel-image .ph-img {
  width: 100%;
  aspect-ratio: 866 / 578;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}
.trending-card h3 {
  font-weight: bold; font-size: 12px; letter-spacing: .02em; margin: 8px 0;
}
.trending-card h3 a { color: #181818; text-decoration: none; }
.trending-card h4 {
  color: #181818; font-weight: 600; font-size: 8px; letter-spacing: .1em;
  border-bottom: 1px solid #FEBE10; display: inline-block; padding-bottom: 5px;
  margin-top: 12px; text-transform: uppercase;
}
.trending-card p {
  font-weight: 500; font-size: 10px; letter-spacing: .02em; line-height: 15px;
  color: #181818; margin-bottom: 0;
}
@media (max-width: 991px) {
  .trending-five { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .trending-five { grid-template-columns: 1fr; }
  .trending-card h3 { font-size: 16px; line-height: 1.35; }
  .trending-card h4 { font-size: 10px; }
  .trending-card p { font-size: 12px; line-height: 1.45; }
  .carousel-image span {
    font-size: 10px; padding: 5px 10px; top: 12px; right: 12px;
  }
}
.posts-carousel { padding: 0 45px; position: relative; overflow: hidden; }
.carousel-track {
  display: flex; gap: 0; transition: transform .35s ease; will-change: transform;
}
.carousel-slide { flex: 0 0 25%; padding: 0 10px; min-width: 0; }
.carousel-image { position: relative; }
.carousel-image span {
  position: absolute; top: 9px; padding: 4px 8px; right: 9px; color: #181818;
  text-transform: uppercase; font-size: 8px; background: #FEBE10; border-radius: 20px;
  font-weight: 600; letter-spacing: 1px;
}
.carousel-slide img { width: 100%; height: auto; border-radius: 5px; object-fit: cover; }
@media (min-width: 1200px) {
  .carousel-slide img { height: 125px; object-fit: cover; }
}
.carousel-slide h3 { font-weight: bold; font-size: 12px; letter-spacing: .02em; margin: 8px 0; }
.carousel-slide h3 a { color: #181818; text-decoration: none; }
.carousel-slide h4 {
  color: #181818; font-weight: 600; font-size: 8px; letter-spacing: .1em;
  border-bottom: 1px solid #FEBE10; display: inline-block; padding-bottom: 5px;
  margin-top: 15px; text-transform: uppercase;
}
.carousel-slide p {
  font-weight: 500; font-size: 10px; letter-spacing: .02em; line-height: 15px; color: #181818; margin-bottom: 0;
}
.carousel-nav {
  position: absolute; top: calc(50% - 12px); background: #ECBE09; border: 0;
  border-radius: 50%; width: 23px; height: 23px; text-align: center; line-height: 23px;
  font-size: 12px; z-index: 99; cursor: pointer; color: #000; padding: 0;
}
.carousel-nav.prev { left: 0; }
.carousel-nav.next { right: 0; }

/* Tabs / filtered */
#filtered-content { padding: 25px 0 0; }
#filtered-content .nav-tabs {
  display: flex; flex-wrap: wrap; margin-bottom: 25px; margin-top: 10px; border-bottom: 0; gap: 12px 18px;
}
#filtered-content .nav-tabs button {
  text-transform: uppercase; font-weight: bold; font-size: 14px; color: #d9d9d9;
  padding: 0 0 8px; border: 0; background: transparent; border-bottom: 3px solid #d9d9d9;
  min-width: 120px; width: auto; text-align: left; cursor: pointer;
}
#filtered-content .nav-tabs button.active {
  color: #000; border-bottom: 3px solid #ECBE09;
}
.filtered-horse-sidebar {
  margin-top: 0;
}
.filtered-horse-sidebar h3 {
  display: block !important;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 15px;
  color: #000;
  border-bottom: 3px solid #ECBE09;
  padding-bottom: 10px;
  width: 50%;
  margin-bottom: 15px;
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.filtered-post { margin-bottom: 30px; clear: both; }
.filtered-post p {
  font-weight: 500; font-size: 10px; letter-spacing: .02em; line-height: 15px; color: #181818;
}
.filtered-post h3 {
  font-weight: bold; font-size: 18px; letter-spacing: .02em; margin: 12px 0;
  float: left; display: block; width: 100%;
}
.filtered-post h3 a { color: #181818; text-decoration: none; }
.filtered-post-image { position: relative; }
.filtered-post-image img {
  height: 220px; width: 100%; margin-bottom: 20px; object-fit: cover; border-radius: 10px;
}

/* Others reading — Golf: 5-up on desktop (like ALSO TRENDING); mobile keeps 2 stacked */
#others-reading { padding: 25px 0 40px; }
#others-reading h2 { margin-bottom: 25px; text-transform: uppercase; }
#others-reading .golf-five {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px;
  margin-top: 10px;
  width: 100%;
}
#others-reading .golf-five .trending-card {
  min-width: 0;
  width: 100%;
}
#others-reading .golf-five .carousel-image,
#others-reading .golf-five .carousel-image a {
  display: block;
  width: 100%;
}
#others-reading .golf-five .carousel-image img,
#others-reading .golf-five .carousel-image .ph-img {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  aspect-ratio: 866 / 578;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}
@media (max-width: 991px) and (min-width: 768px) {
  #others-reading .golf-five {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  /* Mobile unchanged: 2 posts, image above title, full width */
  #others-reading .golf-five {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  #others-reading .golf-five .trending-card:nth-child(n+3) {
    display: none !important;
  }
  #others-reading .golf-five .trending-card h3 {
    font-size: 18px;
    line-height: 1.35;
  }
  #others-reading .golf-five .trending-card h4 {
    font-size: 11px;
  }
  #others-reading .golf-five .trending-card p {
    font-size: 13px;
    line-height: 1.45;
  }
}

/* Split ads */
.split-ad { text-align: center; position: relative; padding-bottom: 19px; margin: 20px 0; }
.split-ad img { width: 100%; height: auto; border-radius: 5px; }
.split-ad-button { position: absolute; left: 0; right: 0; bottom: 0; }
.split-ad-button a {
  border-radius: 5px; background: #ecbe09; box-shadow: 0 5px 20px rgba(0,0,0,.16);
  font-weight: bold; font-size: 15px; color: #181818; text-transform: uppercase;
  text-decoration: none; padding: 8px 26px; display: inline-block;
}

/* Single */
#single-post { padding-bottom: 35px; }
#single-post .meta {
  border-bottom: 2px solid #FEBE10; margin-top: 30px; float: left; width: 100%; padding-bottom: 8px;
}
#single-post .meta span.cat {
  font-weight: 500; font-size: 10px; letter-spacing: .05em; text-align: center; color: #000;
  background: #febe10; text-transform: uppercase; border-radius: 20px; margin-right: 20px;
  padding: 5px 15px; display: inline-block;
}
#single-post .meta h4 {
  font-weight: 600; font-size: 12px; letter-spacing: .1em; color: #002845;
  display: inline-block; padding-top: 20px; text-transform: uppercase;
}
#single-post .meta h5 {
  font-weight: 600; font-size: 12px; letter-spacing: .1em; text-align: right;
  color: #002845; display: inline-block; float: right; margin-right: 15px;
  padding-top: 20px; margin-bottom: 0; text-transform: uppercase;
}
#single-post p {
  font-weight: 500; font-size: 14px; letter-spacing: .02em; line-height: 23px; color: #181818;
}
#single-post h1 {
  font-weight: bold; font-size: 24px; letter-spacing: .02em; color: #181818;
  margin: 35px 0; float: left; width: 100%;
}
#single-post .post-thumb { border-radius: 10px; margin-bottom: 35px; width: 100%; }
.author-container,
.author-image,
#single-post .meta h5,
.latest-post h5,
.latest-snippet h5,
.filtered-post h5 { display: none !important; }
.sidebar {
  border-radius: 10px; background: #eaeaea; padding: 22px 18px 12px; margin-left: 10px;
  margin-top: 75px; position: relative; overflow: visible;
}
.sidebar h3 {
  text-transform: uppercase; font-weight: bold; font-size: 15px; color: #000;
  border-bottom: 3px solid #ECBE09; padding-bottom: 10px; width: auto; display: inline-block;
  margin-bottom: 18px;
}
.sidebar .sidebar-post {
  margin-bottom: 28px; overflow: hidden; clear: both;
}
.sidebar .sidebar-post:last-child { margin-bottom: 14px; }
.sidebar .meta {
  margin: 0 0 10px; font-weight: 600; font-size: 11px; letter-spacing: .08em; color: #000;
  padding-bottom: 6px; display: inline-block; float: none; width: auto;
  text-transform: uppercase; border-bottom: 2px solid #FEBE10;
}
.sidebar h2 {
  float: none; width: 100%; font-weight: bold; font-size: 18px; letter-spacing: .01em;
  line-height: 1.3; margin: 0 0 8px; clear: both;
}
.sidebar h2 a { text-decoration: none; color: #000; }
.sidebar h2 a:hover { color: #15213C; }
.sidebar p,
.sidebar .sidebar-empty {
  font-weight: 500; font-size: 13px; letter-spacing: .02em; line-height: 1.45;
  color: #181818; display: block; float: none; margin: 0 0 12px; width: 100%; clear: both;
}
.sidebar .sidebar-thumb {
  display: block; margin: 0; border-radius: 6px; overflow: hidden;
}
.sidebar .sidebar-post img,
.sidebar .sidebar-post .ph-img {
  display: block; width: 100%; height: auto; aspect-ratio: 866 / 578;
  object-fit: cover; border-radius: 6px; margin: 0;
}
.sidebar .sidebar-post .ph-img {
  font-size: 16px; min-height: 0;
}
#share {
  font-weight: 600; font-size: 10px; letter-spacing: .1em; color: #000; margin-top: 30px; clear: both;
}
#share a { font-size: 22px; vertical-align: middle; margin-left: 10px; color: #000; text-decoration: none; }

/* Page */
#page { padding: 25px 0; }
#single-page h1 {
  font-weight: bold; font-size: 38px; letter-spacing: .02em; color: #181818;
  margin: 35px 0; float: left; width: 100%;
}
#single-page p {
  font-weight: 500; font-size: 14px; letter-spacing: .02em; line-height: 23px; color: #181818;
}

/* Archive header */
.archive-lead { margin-bottom: 30px; }
.archive-title-bar {
  font-size: 12px; text-transform: uppercase; color: #15213C; font-weight: 700;
  margin-bottom: 20px; letter-spacing: .05em;
}

/* Footer */
#footer { background: #13294B; color: #fff; padding: 25px 0; }
#footer img { max-width: 100%; height: auto; width: 100px; }
#footer .eighteen { width: 30px; height: auto; }
#footer a.contact {
  text-decoration: none; font-weight: 400; font-size: 14px;
  border-radius: 10px; text-transform: uppercase; padding: 7px 20px; color: #febe10;
  border: 1.5px solid #febe10;
}
#footer .footer-brand { min-width: 0; flex: 0 1 220px; max-width: 260px; }
#footer .footer-brand-top {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;
}
#footer .footer-menu {
  list-style: none; margin: 0 0 12px; padding: 0;
}
#footer .footer-menu li { margin: 0; padding: 0; }
#footer .footer-menu a {
  font-size: 14px; font-weight: bold; text-decoration: none; color: #ECBE09;
  display: block; padding-bottom: 6px;
}
#footer .footer-licence { padding-bottom: 0; font-size: 12px; margin: 0; color: #e8eaee; }
#footer p { padding-bottom: 15px; font-size: 12px; margin: 0; color: #e8eaee; }
#footer .LogoWrap {
  display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 22px 32px;
}
#footer .footer-latest {
  flex: 0 1 300px; width: 300px; max-width: 300px; min-width: 260px;
}
#footer .footer-latest-title {
  margin: 0 0 14px; font-size: 16px; font-weight: 700; color: #fff;
  text-transform: none; letter-spacing: 0;
}
#footer .footer-latest-list {
  list-style: none; margin: 0; padding: 0;
}
#footer .footer-latest-list li {
  margin: 0 0 16px; padding: 0;
  border-bottom: 0;
}
#footer .footer-latest-list li:last-child { margin-bottom: 0; }
#footer .footer-latest-list a {
  display: block; color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 500; line-height: 1.35; margin-bottom: 6px;
  white-space: normal; word-break: break-word; overflow-wrap: break-word;
}
#footer .footer-latest-list a:hover { color: #febe10; }
#footer .footer-latest-date {
  display: block; color: #9aa6b5; font-size: 12px; font-weight: 400;
}
#footer .footer-latest-empty { color: #9aa6b5; margin: 0; }
#footer .SocialWrap {
  display: flex; align-items: flex-start; justify-content: flex-end; flex-wrap: wrap; gap: 10px;
  flex: 0 0 auto; margin-left: auto;
}
#footer .SocialWrapInner {
  display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 16px;
}
#footer .footer-social {
  display: inline-flex; align-items: center; gap: 10px;
}
#footer .footer-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: #13294B; text-decoration: none;
  font-size: 15px; line-height: 1; transition: transform .15s ease, opacity .15s ease;
}
#footer .footer-social-link:hover {
  opacity: .9; transform: translateY(-1px); color: #13294B;
}
#footer .friend-links {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12); width: 100%;
}
#footer .friend-links a {
  color: #b6bfc9; font-size: 12px; text-decoration: none; font-weight: 500;
}
#footer .friend-links a:hover { color: #febe10; }
#mobile-footer { display: none !important; }

/* Contact Us / Advertise */
.ss-contact,
.ss-advertise,
.ss-about,
.ss-authors { max-width: 760px; }
.ss-contact--full { max-width: 860px; margin: 0 auto; padding: 10px 0 30px; }
.ss-about p,
.ss-authors > p { font-size: 14px; line-height: 1.65; color: #333; margin: 0 0 14px; }
.ss-authors-list {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 28px;
}
.ss-author-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 18px 22px;
  align-items: start; padding-bottom: 28px;
  border-bottom: 1px solid #e6e9ee;
}
.ss-author-card:last-child { border-bottom: 0; padding-bottom: 0; }
.ss-author-photo img {
  width: 120px; height: 120px; object-fit: cover; border-radius: 8px;
  display: block; background: #eee;
}
.ss-author-body h2 {
  font-size: 20px; font-weight: 800; margin: 0 0 6px; color: #15213C; text-transform: none;
}
.ss-author-role {
  font-size: 13px; font-weight: 700; color: #666; margin: 0 0 10px !important;
  text-transform: uppercase; letter-spacing: .04em;
}
.ss-author-body p { font-size: 14px; line-height: 1.65; color: #333; margin: 0; }
@media (max-width: 575px) {
  .ss-author-card { grid-template-columns: 88px 1fr; gap: 12px 14px; }
  .ss-author-photo img { width: 88px; height: 88px; }
  .ss-author-body h2 { font-size: 17px; }
}
.ss-contact-lead {
  font-size: 15px; line-height: 1.6; color: #333; margin: 0 0 28px;
}
.ss-contact-block { margin-bottom: 28px; }
.ss-contact-block h2 {
  font-size: 18px; font-weight: 800; text-transform: none; margin: 0 0 10px; color: #15213C;
}
.ss-contact-block p { font-size: 14px; line-height: 1.65; color: #333; margin: 0 0 10px; }
.ss-contact-block a { color: #13294B; font-weight: 700; text-decoration: underline; }
.ss-advertise-list {
  margin: 12px 0 0; padding-left: 18px; color: #333; font-size: 14px; line-height: 1.7;
}
.ss-contact-form { margin-top: 18px; }
.ss-contact-form .ss-field { margin: 0 0 16px; }
.ss-contact-form label {
  display: block; font-size: 13px; font-weight: 700; color: #15213C; margin-bottom: 6px;
}
.ss-contact-form .req { color: #c0392b; }
.ss-contact-form input[type="text"],
.ss-contact-form input[type="email"],
.ss-contact-form input[type="url"],
.ss-contact-form select,
.ss-contact-form textarea {
  width: 100%; max-width: 100%; box-sizing: border-box;
  border: 1px solid #cfd5dd; border-radius: 4px; padding: 10px 12px;
  font-family: Montserrat, sans-serif; font-size: 14px; color: #181818; background: #fff;
}
.ss-contact-form textarea { resize: vertical; min-height: 140px; }
.ss-contact-submit {
  display: inline-block; background: #febe10; color: #15213C; border: 0;
  font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em;
  padding: 12px 22px; border-radius: 6px; cursor: pointer; text-decoration: none;
}
.ss-contact-submit:hover { filter: brightness(.97); color: #15213C; }
.ss-contact-alert {
  padding: 12px 14px; border-radius: 4px; margin-bottom: 16px; font-size: 14px; font-weight: 600;
}
.ss-contact-alert--success { background: #e8f6ec; color: #1e7a3a; border: 1px solid #b7e0c2; }
.ss-contact-alert--error { background: #fdecea; color: #a12622; border: 1px solid #f5c6c2; }

/* App downloads section */
#app-downloads {
  background: #15213C; padding: 30px 0; color: #fff;
}
#app-downloads h2 {
  color: #fff; opacity: 1; text-transform: uppercase; margin-bottom: 20px; font-size: 16px;
}
.app-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
@media (min-width: 768px) {
  .app-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
.app-card {
  background: #1a294b; border-radius: 10px; padding: 16px; text-align: center;
  border: 1px solid rgba(254,190,16,.25);
}
.app-card img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 14px; margin: 0 auto 10px;
}
.app-card h3 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.app-card .app-btns { display: flex; flex-direction: column; gap: 6px; }
.app-card .app-btns a {
  background: #febe10; color: #15213C; text-decoration: none; font-size: 11px;
  font-weight: 700; text-transform: uppercase; padding: 7px 8px; border-radius: 6px;
}
.app-card .app-btns a.ios { background: transparent; color: #febe10; border: 1px solid #febe10; }

/* Placeholder image */
.ph-img {
  width: 100%; aspect-ratio: 866/578; border-radius: inherit;
  background: linear-gradient(135deg, #1a294b, #15213C 40%, #febe10 140%);
  display: flex; align-items: center; justify-content: center; color: #febe10;
  font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em;
}

/* Pagination */
.pagination-wrap { padding: 20px 0 40px; text-align: center; }
.pagination-wrap a, .pagination-wrap span {
  display: inline-block; margin: 0 4px; padding: 6px 12px; border-radius: 6px;
  background: #eee; color: #15213C; text-decoration: none; font-size: 13px; font-weight: 600;
}
.pagination-wrap .current { background: #febe10; }

/* Responsive — tablet */
@media (max-width: 1199px) {
  #header .header-primary-nav,
  #header a.search { display: none !important; }
  #header img.toggle {
    display: block; float: right; margin-left: 20px; margin-top: 8px; width: 30px; height: auto;
  }
  .carousel-slide { flex: 0 0 50%; }
}
@media (max-width: 991px) {
  #footer { text-align: center; padding: 30px 0 40px; }
  #footer .LogoWrap {
    flex-wrap: wrap; justify-content: center;
  }
  #footer .LogoWrap, #footer .SocialWrap, #footer .footer-brand, #footer .footer-latest {
    justify-content: center; align-items: center; flex-direction: column;
    max-width: none; width: 100%; flex: 1 1 100%; margin-left: 0;
  }
  #footer .footer-latest { text-align: left; order: 3; }
  #footer .SocialWrap { order: 2; }
  #footer .footer-brand { order: 1; }
  #footer .footer-menu { width: 100%; margin: 12px 0; }
  .latest-post img, .latest-post { margin-bottom: 20px; }
  .latest-snippet img { margin-bottom: 20px; }
  .sidebar {
    margin-left: -15px; margin-right: -15px; border-radius: 0;
    padding: 25px 35px 3px; margin-top: 30px; position: static;
  }
  .sidebar h3 { display: none; }
}
@media (max-width: 767px) {
  #featured-ad .mobile-banner { display: block; }
  #featured-ad .desktop-banner { display: none; }
  #featured-ad { min-height: 140px; }
  .hero-banner-content { left: 16px; max-width: 70%; }
  .hero-banner-content h2 { font-size: 22px; }
  .hero-banner-content ul li { font-size: 10px; }
  #header { padding: 10px 0; }
  .site-logo { height: 30px; max-height: 30px; gap: 8px; }
  .site-logo-icon { width: 26px; height: 30px; }
  .site-logo-text { font-size: 15px; }
  #header img.logo {
    width: auto !important;
    max-width: 150px;
    height: 24px !important;
    max-height: 24px !important;
  }
  #header a.yellow { font-size: 12px; padding: 5px 15px; }
  #header img.toggle { margin-top: 5px; }
  #cat-header { display: none; }
  .posts-carousel { padding: 0 25px; }
  .carousel-slide { flex: 0 0 70%; padding: 0 7px; }
  .carousel-slide img { height: 90px; object-fit: cover; }
  .latest-post img { height: 205px; object-fit: cover; }
  #main-content h1 { margin: 10px 0; font-size: 18px; }
  .latest-snippet { margin-bottom: 20px; }
  .latest-snippet img { height: 170px; object-fit: cover; }
  #single-post h1 { font-size: 20px; margin: 20px 0; }
  .author-container { width: 50%; padding-top: 10px; }
  #single-post .meta h5 span, .author-image { display: none; }
  #single-post .meta span.cat {
    float: left; margin-top: 50px; position: absolute; top: 0; left: 0;
  }
  #single-post .single-meta {
    border-bottom: 2px solid #FEBE10; padding-bottom: 50px; position: relative;
  }
  #single-post .meta { border-bottom: 0; }
  .link-container { text-align: right; bottom: 20px; top: auto; height: auto; padding-right: 15px; }
  .link-container .visit {
    background: #ECBE09; color: #000; font-size: 8px; padding: 5px 20px;
    position: relative; right: auto; top: auto; margin-top: 0;
  }
  #filtered-content .nav-tabs button { width: 42%; }
  .latest-post h5 span { display: none; }
}
