/* Gatakia home — denser Cyprus news layout */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap');

:root {
  --gk-ink: #121820;
  --gk-muted: #5c6773;
  --gk-line: #e6e9ee;
  --gk-bg: #f3f5f7;
  --gk-card: #ffffff;
  --gk-accent: #F13542;
  --gk-accent-soft: #fdebee;
  --gk-radius: 10px;
}

/* Global layout and overflow protections */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  background: var(--gk-bg) !important;
  font-family: 'Manrope', 'Open Sans', sans-serif !important;
}

/* Header brand logo & navigation layout */
.navbar.navbar-findcond {
  background: #212121 !important;
  border-color: #212121 !important;
  min-height: 60px !important;
  height: 60px !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1040 !important;
}

.navbar.navbar-findcond .container,
.navbar.navbar-findcond .container-fluid,
.navbar.navbar-findcond .container-home {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  height: 60px !important;
  padding: 0 16px !important;
  max-width: 1200px !important;
}

.navbar.navbar-findcond ul.navbar-nav.navbar-left {
  display: flex !important;
  align-items: center !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  flex-wrap: nowrap !important;
}

.navbar.navbar-findcond ul.navbar-nav.navbar-right {
  display: flex !important;
  align-items: center !important;
  float: none !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  flex-wrap: nowrap !important;
}

.navbar.navbar-findcond ul.navbar-nav > li {
  float: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

nav.navbar-findcond ul.navbar-nav a.logo-img {
  display: inline-flex !important;
  align-items: center !important;
  height: 60px !important;
  padding: 8px 8px 8px 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

nav.navbar-findcond ul.navbar-nav a.logo-img img {
  max-height: 42px !important;
  width: 42px !important;
  height: 42px !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
}

.navbar.navbar-findcond .gatakia-lang {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 8px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: .04em !important;
  white-space: nowrap !important;
}

.navbar.navbar-findcond .gatakia-lang a {
  padding: 4px 3px !important;
  color: #fff !important;
  text-decoration: none !important;
}

nav.navbar-findcond ul.navbar-nav .search {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 4px !important;
  padding: 6px !important;
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
}

nav.navbar-findcond ul.navbar-nav .fl_acc_menu > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 6px !important;
  color: #fff !important;
}

.navbar.navbar-findcond .search-header {
  margin: 0 0 0 14px !important;
}

.navbar.navbar-findcond .search-header .form-group {
  margin: 0 !important;
}

.navbar.navbar-findcond .search-header .form-group input {
  max-width: 360px !important;
  width: 100% !important;
}

/* Secondary Navigation */
.fl_sec_nav {
  margin-top: 60px !important;
  padding: 12px 0 !important;
  background-color: #fff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06) !important;
  position: relative !important;
  z-index: 100 !important;
}

.fl_sec_nav ul {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 0 8px !important;
  margin: 0 !important;
}

.fl_sec_nav ul li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 2em !important;
  margin: 0 4px !important;
  padding: 6px 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.fl_sec_nav ul li a span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 8px !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background-color: rgba(0, 0, 0, 0.08) !important;
}

.fl_sec_nav ul li a svg {
  width: 16px !important;
  height: 16px !important;
}

.fl_sec_nav li.active a,
.fl_sec_nav li.active a.home,
.fl_sec_nav li.active a.news,
.fl_sec_nav li.active a.lists,
.fl_sec_nav li.active a.videos,
.fl_sec_nav li.active a.music,
.fl_sec_nav li.active a.polls,
.fl_sec_nav li.active a.quizzes {
  background-color: var(--gk-accent) !important;
  color: #fff !important;
}

.fl_sec_nav li.active a span {
  background: rgba(255, 255, 255, 0.25) !important;
}

/* Home wrapper */
.gk-home {
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 0 16px;
  overflow-x: hidden;
}

/* Ticker styling */
.gk-home .fl_news_slider {
  margin: 8px 0 16px !important;
  border-radius: var(--gk-radius) !important;
  border: 1px solid var(--gk-line) !important;
  background: #fff !important;
  overflow: hidden !important;
}

.gk-home .bn_label {
  text-transform: none !important;
  letter-spacing: 0.02em;
}

/* Hero Featured Block */
.gk-home .fl_featured_prnt {
  margin: 12px 0 20px !important;
  width: 100% !important;
  overflow: visible !important;
}

.gk-home .fl_featured {
  margin: 0 auto !important;
  max-width: 1180px !important;
  position: relative !important;
  overflow: visible !important;
}

.gk-home .fl_featured .featuredBlock--child {
  border-radius: var(--gk-radius) !important;
  overflow: hidden !important;
}

.gk-home .fl_featured .fl_feat_bg_img {
  display: block !important;
  width: 100% !important;
  max-height: 440px !important;
  overflow: hidden !important;
  border-radius: var(--gk-radius) !important;
}

.gk-home .fl_featured .fl_feat_bg_img img {
  width: 100% !important;
  height: 440px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: var(--gk-radius) !important;
}

.gk-home .fl_featured .fl_feat_content {
  margin: -44px auto 10px !important;
  max-width: 88% !important;
  width: fit-content !important;
  padding: 10px 24px 16px !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
  z-index: 5 !important;
  text-align: center !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.gk-home .fl_featured .fl_feat_content .description .category {
  padding: 4px 0 6px !important;
}

.gk-home .fl_featured .fl_feat_content .description h2,
.gk-home .fl_featured .fl_feat_content .description h2 a {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-size: clamp(20px, 2.8vw, 32px) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: var(--gk-ink) !important;
  max-height: none !important;
  overflow: visible !important;
  word-break: break-word !important;
}

/* Flame nav pills sit high — pull home content up a bit */
.latest-container.no-read-container .all_content,
.content-container .all_content {
  padding-top: 0;
}

.gk-home .gk-section:first-of-type {
  margin-top: 0;
}

.gk-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.gk-section {
  background: var(--gk-card);
  border: 1px solid var(--gk-line);
  border-radius: calc(var(--gk-radius) + 2px);
  padding: 18px 18px 8px;
  margin-bottom: 22px;
}

.gk-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gk-ink);
}

.gk-section-head h2 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Manrope", Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--gk-ink);
  letter-spacing: -0.02em;
}

.gk-section-head a {
  font-size: 13px;
  font-weight: 700;
  color: var(--gk-accent);
  text-decoration: none;
  white-space: nowrap;
}

.gk-lead {
  display: block;
  margin-bottom: 18px;
  text-decoration: none;
  color: inherit;
}

.gk-lead-thumb {
  display: block;
  width: 100% !important;
  aspect-ratio: 16 / 9;
  max-height: 380px;
  overflow: hidden;
  border-radius: var(--gk-radius);
  background: #dde3ea;
}

.gk-lead-thumb img,
.gk-lead-img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 9;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: var(--gk-radius);
  background: #dde3ea;
}

.gk-lead h3 {
  margin: 14px 0 8px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 26px !important;
  line-height: 1.28;
  font-weight: 700;
  color: var(--gk-ink);
}

.gk-lead p {
  margin: 0;
  color: var(--gk-muted);
  font-size: 16px;
  line-height: 1.55;
}

.gk-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gk-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--gk-line);
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.gk-row:first-child {
  border-top: 0;
}

.gk-row:hover h4,
.gk-row:hover h3 {
  color: var(--gk-accent);
}

/* Strictly uniform thumbnail size (same size all) */
.gk-row-thumb {
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  height: 96px !important;
  min-height: 96px !important;
  max-height: 96px !important;
  aspect-ratio: 140 / 96 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #dde3ea !important;
  display: block !important;
  position: relative !important;
}

.gk-row-thumb img,
.gk-row-img {
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  height: 96px !important;
  min-height: 96px !important;
  max-height: 96px !important;
  aspect-ratio: 140 / 96 !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 8px !important;
  background: #dde3ea !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.gk-row h4,
.gk-row h3 {
  margin: 0 0 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Manrope", Arial, sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: var(--gk-ink) !important;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.gk-meta {
  margin: 0;
  font-size: 13px;
  color: var(--gk-muted);
  font-weight: 600;
}

.gk-aside {
  position: sticky;
  top: 90px;
}

.gk-aside .gk-section {
  background: var(--gk-ink);
  border-color: transparent;
  color: #fff;
}

.gk-aside .gk-section-head {
  border-bottom-color: rgba(255,255,255,0.18);
}

.gk-aside .gk-section-head h2 {
  color: #fff;
  font-size: 19px;
}

.gk-aside-card {
  display: block;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  color: #fff;
}

.gk-aside-card:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.gk-aside-thumb {
  width: 100% !important;
  height: 130px !important;
  min-height: 130px !important;
  max-height: 130px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
  background: #2a3340 !important;
  display: block !important;
}

.gk-aside-thumb img,
.gk-aside-card img {
  width: 100% !important;
  height: 130px !important;
  min-height: 130px !important;
  max-height: 130px !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 8px !important;
  margin-bottom: 10px !important;
  background: #2a3340;
  display: block !important;
}

.gk-aside-card h4,
.gk-aside-card h3 {
  margin: 0 0 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Manrope", Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.gk-aside-card:hover h4,
.gk-aside-card:hover h3 {
  color: var(--gk-accent) !important;
}

.gk-aside-card .gk-meta {
  color: rgba(255,255,255,0.62);
}

.gk-more {
  display: flex;
  justify-content: center;
  margin: 8px 0 0;
  padding: 8px 0 16px;
}

.gk-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--gk-accent);
  color: var(--gk-accent);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  background: #fff;
}

.gk-more a:hover {
  background: var(--gk-accent);
  color: #fff;
}

.gk-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gk-flow .gk-row {
  border: 1px solid var(--gk-line);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  grid-template-columns: 140px minmax(0, 1fr) !important;
}

.gk-flow .gk-row-thumb,
.gk-flow .gk-row-img {
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  height: 96px !important;
  min-height: 96px !important;
  max-height: 96px !important;
  aspect-ratio: 140 / 96 !important;
}

/* Hide leftover Flame empties if any template still emits them */
.gk-home .fl_home_latest_videos,
.gk-home .fl-plus-latest-polls-list-cont,
.gk-home .fl_main_text_head.videos,
.gk-home .fl_main_text_head.polls,
.gk-home .fl_main_text_head.quizzes,
.gk-home .fl_main_text_head.music,
.gk-home .fl_main_text_head.lists {
  display: none !important;
}

.news-category,
.gk-home .news-category {
  text-transform: none !important;
}

/* Responsiveness */
@media (max-width: 992px) {
  .gk-home-grid {
    grid-template-columns: 1fr;
  }
  .gk-aside {
    position: static;
  }
  .gk-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar.navbar-findcond .search-header {
    display: none !important;
  }
  .navbar.navbar-findcond .container,
  .navbar.navbar-findcond .container-home {
    padding: 0 10px !important;
  }
  .gk-home .fl_featured .fl_feat_bg_img img {
    height: 240px !important;
  }
  .gk-home .fl_featured .fl_feat_content {
    margin: -24px auto 8px !important;
    max-width: 95% !important;
    padding: 8px 14px 12px !important;
  }
  .gk-home .fl_featured .fl_feat_content .description h2,
  .gk-home .fl_featured .fl_feat_content .description h2 a {
    font-size: 18px !important;
    line-height: 1.32 !important;
  }
}

@media (max-width: 560px) {
  .gk-row,
  .gk-flow .gk-row {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 12px 0 !important;
  }
  .gk-row-thumb,
  .gk-row-img,
  .gk-flow .gk-row-thumb,
  .gk-flow .gk-row-img {
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    height: 74px !important;
    min-height: 74px !important;
    max-height: 74px !important;
    aspect-ratio: 100 / 74 !important;
  }
  .gk-row h4,
  .gk-row h3 {
    font-size: 14.5px !important;
    line-height: 1.33 !important;
  }
  .gk-lead h3 {
    font-size: 20px !important;
  }
}

@media (max-width: 480px) {
  .navbar.navbar-findcond .container,
  .navbar.navbar-findcond .container-home {
    padding: 0 8px !important;
  }
  nav.navbar-findcond ul.navbar-nav a.logo-img img {
    max-height: 36px !important;
    width: 36px !important;
    height: 36px !important;
  }
  .navbar.navbar-findcond .gatakia-lang {
    font-size: 12px !important;
    padding: 0 4px !important;
  }
  .navbar.navbar-findcond .gatakia-lang span {
    margin: 0 2px !important;
  }
  .fl_sec_nav {
    margin-top: 60px !important;
    padding: 8px 0 !important;
  }
  .fl_sec_nav ul li a {
    padding: 5px 10px !important;
    font-size: 13px !important;
    margin: 0 2px !important;
  }
  .fl_sec_nav ul li a span {
    width: 22px !important;
    height: 22px !important;
    margin-right: 5px !important;
  }
  .fl_sec_nav ul li a svg {
    width: 14px !important;
    height: 14px !important;
  }
  .gk-home {
    padding: 0 10px !important;
  }
  .gk-section {
    padding: 14px 12px 6px !important;
  }
  .gk-row,
  .gk-flow .gk-row {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px 0 !important;
  }
  .gk-row-thumb,
  .gk-row-img,
  .gk-flow .gk-row-thumb,
  .gk-flow .gk-row-img {
    width: 88px !important;
    min-width: 88px !important;
    max-width: 88px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    border-radius: 6px !important;
    aspect-ratio: 88 / 64 !important;
  }
  .gk-row h4,
  .gk-row h3 {
    font-size: 14px !important;
    line-height: 1.3 !important;
    margin: 0 0 4px !important;
  }
  .gk-lead h3 {
    font-size: 18px !important;
  }
}

/* Story extras */
.gatakia-curiosity {
  margin: 22px 0 28px !important;
  padding: 16px 20px !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
  border: 1px solid #bbf7d0 !important;
  border-left: 4px solid #16a34a !important;
  border-radius: 8px !important;
}

.gatakia-curiosity__head {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #14532d !important;
  margin-bottom: 10px !important;
}

.gatakia-curiosity__list {
  margin: 0 !important;
  padding-left: 20px !important;
  color: #166534 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.gatakia-curiosity__list li {
  margin-bottom: 6px !important;
}

.gatakia-curiosity__list li:last-child {
  margin-bottom: 0 !important;
}

.gatakia-comment-window {
  margin: 16px 0 !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.gatakia-comment-window--open {
  background: #fefce8 !important;
  border: 1px solid #fef08a !important;
  color: #854d0e !important;
}

.gatakia-comment-window--closed {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}

/* Main Brand Color for Buttons & Interactive Controls */
nav.navbar-findcond ul.navbar-nav .create,
nav.navbar-findcond ul.navbar-nav a.create,
.btn-main,
.btn-primary,
.fl_btn_main,
.btn_v_more button,
.load-more-button,
.fl_new_header_child .btn.btn-publish,
.setting-panel .btn-main,
.fl_wallet_add .btn-main,
.cd-top,
#fl-loading-bar {
  background-color: var(--gk-accent) !important;
  border-color: var(--gk-accent) !important;
  color: #fff !important;
}

.btn-main:hover,
.btn-primary:hover,
.fl_btn_main:hover,
.btn_v_more button:hover,
.load-more-button:hover,
nav.navbar-findcond ul.navbar-nav .create:hover,
.setting-panel .btn-main:hover {
  filter: brightness(0.92);
  box-shadow: 0 4px 14px rgba(241, 53, 66, 0.35);
}

nav.navbar-findcond span.badge {
  background: var(--gk-accent) !important;
}

.nav-tabs > li.active > a,
.nav-tabs > li > a:hover,
nav.navbar-findcond ul.navbar-nav a:hover,
.latest-news-title a:hover {
  color: var(--gk-accent) !important;
}

.flame_input input:focus,
.flame_input textarea:focus,
.flame_input select:focus {
  border-color: var(--gk-accent) !important;
  box-shadow: 0 0 0 1px var(--gk-accent) !important;
}

.flame_input label {
  color: var(--gk-accent) !important;
}

.custom_rdio_chk input[type="radio"]:checked + label:after {
  border-color: var(--gk-accent) !important;
  background-color: var(--gk-accent) !important;
}

/* Feed Lists & Thumbnails Normalization */
.fl-plus-trending-news-list-wrapper .image_block,
.fl-plus-trending-news-list-wrapper .fl-plus-trending-news-list-thumb {
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;
  height: 96px !important;
  min-height: 96px !important;
  max-height: 96px !important;
  aspect-ratio: 140 / 96 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #dde3ea !important;
}

.fl-plus-trending-news-list-wrapper .fl-plus-trending-news-list-thumb img,
.fl-plus-trending-news-list-wrapper .image_block img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 8px !important;
  display: block !important;
}

.latest-news-list .latest-news-img {
  width: 100% !important;
  height: 190px !important;
  min-height: 190px !important;
  max-height: 190px !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.latest-news-list .latest-news-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.sidebar-content .sidebar-news > div.news .avatar,
.sidebar-news > div.news .avatar,
.news .avatar,
.sidebar .avatar {
  width: 72px !important;
  min-width: 72px !important;
  max-width: 72px !important;
  height: 72px !important;
  min-height: 72px !important;
  max-height: 72px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.sidebar-content .sidebar-news > div.news .avatar img,
.sidebar-news > div.news .avatar img,
.news .avatar img,
.sidebar .avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Story Top News Carousel Cards (Full Image Cover with Gradient Overlay) */
.fl_top_news_parent {
  display: flex !important;
  align-items: stretch !important;
  margin: 0 -6px 20px !important;
  overflow-x: auto !important;
  padding: 4px 2px 14px !important;
  scrollbar-width: thin !important;
}

.fl_top_news {
  display: inline-flex !important;
  min-width: 220px !important;
  max-width: 260px !important;
  flex: 0 0 230px !important;
  position: relative !important;
  padding: 0 6px !important;
}

.fl_top_news > a {
  display: block !important;
  width: 100% !important;
  height: 168px !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #1e293b !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.fl_top_news > a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.fl_top_news img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 8px !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.fl_top_news > a:hover img {
  transform: scale(1.05) !important;
}

.fl_top_news .news-title,
.fl_top_news h3.news-title {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(15, 23, 42, 0.75) 35%, rgba(15, 23, 42, 0.96) 100%) !important;
  padding: 28px 11px 12px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.32 !important;
  overflow: hidden !important;
  max-height: none !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  z-index: 2 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
  word-break: break-word !important;
  hyphens: auto !important;
}

/* Related News Cards Grid (Full Image Cover with Gradient Overlay) */
.fl_related_news_container {
  margin: 25px -10px 20px !important;
  overflow: hidden !important;
}

.fl_related_news_parent {
  width: 33.33333333% !important;
  padding: 0 10px !important;
  position: relative !important;
  float: left !important;
  margin-bottom: 20px !important;
}

.fl_related_news_parent a {
  display: block !important;
  height: 200px !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: #1e293b !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.fl_related_news_parent a:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
}

.fl_related_news_parent a img,
.fl_related_news a img,
.fl_related_news .avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 10px !important;
  transition: transform 0.35s ease !important;
}

.fl_related_news_parent a:hover img {
  transform: scale(1.06) !important;
}

.fl_related_news .avatar {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.fl_related_news_parent a .news-title,
.fl_related_news_parent a h3.news-title {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  padding: 40px 14px 14px !important;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(15, 23, 42, 0.85) 55%, rgba(15, 23, 42, 0.98) 100%) !important;
  color: #ffffff !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  width: 100% !important;
  z-index: 2 !important;
  max-height: 95px !important;
  overflow: hidden !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
}

@media (max-width: 992px) {
  .fl_related_news_parent {
    width: 50% !important;
  }
}

@media (max-width: 580px) {
  .fl_related_news_parent {
    width: 100% !important;
  }
  .fl_related_news_parent a {
    height: 180px !important;
  }
}

/* Consistent H3 Titles Across Feed Cards & Widgets */
.gk-row h3,
.gk-row-body h3,
.latest-news-title h3,
.fl-plus-trending-news-list-title h3,
.news-title h3,
h3.news-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Manrope", Arial, sans-serif !important;
  font-size: 15.5px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: var(--gk-ink) !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 6px !important;
}

.gk-flow .gk-row h3,
.gk-flow .gk-row-body h3 {
  font-size: 15px !important;
  line-height: 1.34 !important;
}

.gk-row:hover h3,
.latest-news-title h3 a:hover,
.fl-plus-trending-news-list-title h3 a:hover,
h3.news-title a:hover {
  color: var(--gk-accent) !important;
}

.sidebar-news h3.news-title,
.sidebar-content .sidebar-news h3.news-title {
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: var(--gk-ink) !important;
  margin: 0 0 4px !important;
}

/* High-Readability Article Typography */
.entry-style {
  margin-top: 18px !important;
  margin-bottom: 24px !important;
}

.entry-style .entry-title {
  display: none !important;
}

.entry-style .entry-text,
.entry-style .entry-text p,
.entry-style .entry-text div,
.entry-style .entry-text span,
.news-entries,
.news-entries p,
#post-entries,
#post-entries p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Manrope", Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.82 !important;
  color: #1e252e !important;
  letter-spacing: -0.003em !important;
  word-break: break-word !important;
}

.entry-style .entry-text p,
.news-entries p,
#post-entries p {
  margin: 0 0 24px 0 !important;
}

.entry-style .entry-text p:last-child,
.news-entries p:last-child,
#post-entries p:last-child {
  margin-bottom: 0 !important;
}

/* Headings inside article body */
.entry-style .entry-text h2,
#post-entries h2 {
  font-size: 24px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  margin: 32px 0 16px !important;
  color: #111827 !important;
}

.entry-style .entry-text h3,
#post-entries h3 {
  font-size: 21px !important;
  line-height: 1.38 !important;
  font-weight: 700 !important;
  margin: 28px 0 14px !important;
  color: #111827 !important;
}

.entry-style .entry-text h4,
#post-entries h4 {
  font-size: 19px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  margin: 24px 0 12px !important;
  color: #111827 !important;
}

/* Lists inside article body */
.entry-style .entry-text ul,
.entry-style .entry-text ol,
#post-entries ul,
#post-entries ol {
  margin: 0 0 24px 0 !important;
  padding-left: 28px !important;
}

.entry-style .entry-text li,
#post-entries li {
  font-size: 18px !important;
  line-height: 1.8 !important;
  color: #1e252e !important;
  margin-bottom: 10px !important;
}

/* Blockquotes inside article body */
.entry-style .entry-text blockquote,
#post-entries blockquote {
  font-size: 20px !important;
  line-height: 1.7 !important;
  font-style: italic !important;
  color: #374151 !important;
  border-left: 4px solid var(--gk-accent) !important;
  background: #f8fafc !important;
  padding: 14px 22px !important;
  margin: 26px 0 !important;
  border-radius: 0 8px 8px 0 !important;
}

/* Links inside article body */
.entry-style .entry-text a,
#post-entries a {
  color: var(--gk-accent) !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
}

.entry-style .entry-text a:hover,
#post-entries a:hover {
  color: #b91c1c !important;
}

/* Images inside article body */
.entry-style .entry-image img,
.entry-style img,
#post-entries img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px !important;
  margin: 18px auto !important;
  display: block !important;
}

/* Article lead description */
.news-desc p {
  font-size: 19px !important;
  line-height: 1.65 !important;
  color: #475569 !important;
  font-weight: 400 !important;
  margin: 14px 0 20px !important;
}

/* Main Article Title */
.news-container .news-title h1 {
  font-family: 'Source Serif 4', Georgia, serif !important;
  font-weight: 700 !important;
  line-height: 1.28 !important;
  color: var(--gk-ink) !important;
  font-size: clamp(24px, 3.2vw, 36px) !important;
  margin-bottom: 14px !important;
}

@media (max-width: 768px) {
  .entry-style .entry-text,
  .entry-style .entry-text p,
  .entry-style .entry-text div,
  .entry-style .entry-text span,
  .news-entries,
  .news-entries p,
  #post-entries,
  #post-entries p {
    font-size: 17px !important;
    line-height: 1.78 !important;
  }
  .news-desc p {
    font-size: 17.5px !important;
  }
}

@media (max-width: 480px) {
  .entry-style .entry-text,
  .entry-style .entry-text p,
  .entry-style .entry-text div,
  .entry-style .entry-text span,
  .news-entries,
  .news-entries p,
  #post-entries,
  #post-entries p {
    font-size: 16.5px !important;
    line-height: 1.75 !important;
  }
}

/* Interactive Discussion Questions at End of Articles (Gatakia Social) */
.gatakia-discussion-box {
  margin: 32px 0 28px !important;
  padding: 20px 24px !important;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border: 1.5px solid #cbd5e1 !important;
  border-left: 5px solid var(--gk-accent) !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

.gatakia-discussion-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Manrope", Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  color: var(--gk-ink) !important;
  margin: 0 0 12px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.gatakia-discussion-box ul {
  margin: 0 0 14px 0 !important;
  padding-left: 22px !important;
}

.gatakia-discussion-box li {
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: #1e293b !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
}

.gatakia-discussion-box li:last-child {
  margin-bottom: 0 !important;
}

.gatakia-discussion-box p {
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: #334155 !important;
  margin: 0 0 10px 0 !important;
}

.gatakia-discussion-cta {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: var(--gk-accent) !important;
  margin-top: 10px !important;
  display: inline-block !important;
}

/* Admin spark comment — ironic opener for political articles */
.gatakia-spark-comment .fl-comment-item-cont {
  background: linear-gradient(135deg, #fff7f7 0%, #fff1f2 100%) !important;
  border-left: 3px solid var(--gk-accent, #f13542) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
}

.gatakia-spark-badge {
  display: inline-block !important;
  margin-left: 8px !important;
  padding: 1px 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  color: #fff !important;
  background: var(--gk-accent, #f13542) !important;
  border-radius: 999px !important;
  vertical-align: middle !important;
}

.gatakia-spark-comment .fl-comment-item-cont > p {
  font-weight: 500 !important;
  color: #1e293b !important;
}

/* ============================================================
   GATAKIA - centralised social feed (/feed)
   Lightweight, Facebook-style cards. Reuses --gk-* tokens so
   dark mode comes for free via dark.style.css overrides.
   ============================================================ */
.gk-feed {
  max-width: 680px;
  margin: 0 auto;
  padding: 8px 0 40px;
}

.gk-feed-header {
  margin: 4px 0 18px;
  text-align: center;
}

.gk-feed-header h1 {
  margin: 0 0 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Manrope", Arial, sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gk-ink);
}

.gk-feed-sub {
  margin: 0;
  font-size: 14px;
  color: var(--gk-muted);
}

.gk-feed-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gk-feed-card {
  background: var(--gk-card);
  border: 1px solid var(--gk-line);
  border-radius: 14px;
  padding: 16px 16px 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

/* --- header row --- */
.gk-feed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.gk-feed-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  background: var(--gk-accent-soft);
  text-decoration: none;
}

.gk-feed-avatar img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.gk-feed-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-weight: 800;
  font-size: 16px;
  color: var(--gk-accent);
  background: var(--gk-accent-soft);
  border-radius: 50%;
}

.gk-feed-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gk-feed-author {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--gk-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gk-verified {
  color: #1d9bf0;
  font-size: 12px;
  margin-left: 2px;
}

.gk-feed-time {
  font-size: 12.5px;
  color: var(--gk-muted);
}

/* --- body --- */
.gk-feed-title {
  text-decoration: none;
  color: inherit;
}

.gk-feed-title h2 {
  margin: 0 0 8px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--gk-ink);
}

.gk-feed-title:hover h2 {
  color: var(--gk-accent);
}

.gk-feed-excerpt {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--gk-muted);
}

.gk-feed-media {
  display: block;
  margin: 0 -16px 12px;
  overflow: hidden;
  background: #dde3ea;
}

.gk-feed-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}

.gk-feed-readmore {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gk-accent);
  text-decoration: none;
}

.gk-feed-readmore:hover {
  text-decoration: underline;
}

/* --- action bar --- */
.gk-feed-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--gk-line);
  padding: 6px 0 8px;
  margin-top: 4px;
}

.gk-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 0;
  justify-content: center;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gk-muted);
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.gk-act:hover {
  background: var(--gk-bg);
  color: var(--gk-ink);
  text-decoration: none;
}

.gk-act.is-active {
  color: var(--gk-accent);
}

.gk-act.is-active svg {
  fill: var(--gk-accent);
}

.gk-act-count {
  font-variant-numeric: tabular-nums;
}

.gk-act-share {
  flex: 0 0 auto;
}

/* --- pagination / empty --- */
.gk-feed-more {
  display: flex;
  justify-content: center;
  padding: 22px 0 0;
}

.gk-more-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--gk-accent);
  color: var(--gk-accent);
  font-weight: 800;
  font-size: 13.5px;
  text-decoration: none;
  background: transparent;
}

.gk-more-btn:hover {
  background: var(--gk-accent);
  color: #fff;
  text-decoration: none;
}

.gk-feed-empty {
  text-align: center;
  padding: 50px 16px;
  color: var(--gk-muted);
  font-size: 15px;
}

/* --- mobile --- */
@media (max-width: 620px) {
  .gk-feed {
    padding: 0 0 30px;
  }
  .gk-feed-card {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 14px 12px 6px;
  }
  .gk-feed-media {
    margin-left: -12px;
    margin-right: -12px;
  }
  .gk-feed-title h2 {
    font-size: 18px;
  }
  .gk-act-label {
    display: none;
  }
  .gk-act {
    gap: 4px;
  }
}


/* --- reactions bar (9 emoji) --- */
.gk-reactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 10px 0 6px;
  border-top: 1px solid var(--gk-line);
}

.gk-reaction {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--gk-muted);
  transition: background-color .15s ease, border-color .15s ease;
}

.gk-reaction img {
  width: 22px;
  height: 22px;
  display: block;
}

.gk-reaction:hover {
  background: var(--gk-bg);
  border-color: var(--gk-line);
}

.gk-reaction.is-active {
  background: var(--gk-accent-soft);
  border-color: var(--gk-accent);
  color: var(--gk-accent);
}

.gk-rc {
  font-variant-numeric: tabular-nums;
}

.gk-reactions-total {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gk-muted);
}

/* --- external share --- */
.gk-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.gk-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform .12s ease, opacity .12s ease;
}

.gk-share-btn:hover {
  transform: translateY(-1px);
  opacity: .9;
  color: #fff;
  text-decoration: none;
}

.gk-share-btn.facebook  { background: #1877f2; }
.gk-share-btn.twitter   { background: #1da1f2; }
.gk-share-btn.pinterest { background: #e60023; }
.gk-share-btn.reddit    { background: #ff4500; }

/* --- comments panel --- */
.gk-comments {
  border-top: 1px solid var(--gk-line);
  padding: 12px 0 6px;
  margin-top: 4px;
}

.gk-comment-window {
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--gk-muted);
}

.gk-comment-form {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.gk-comment-form textarea {
  flex: 1 1 auto;
  resize: vertical;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--gk-line);
  border-radius: 10px;
  background: var(--gk-bg);
  color: var(--gk-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
}

.gk-comment-form textarea:focus {
  outline: none;
  border-color: var(--gk-accent);
}

.gk-comment-submit {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--gk-accent);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.gk-comment-submit:disabled {
  opacity: .6;
  cursor: default;
}

.gk-comment-login {
  font-size: 13.5px;
  color: var(--gk-muted);
  margin-bottom: 12px;
}

.gk-comment {
  display: flex;
  gap: 9px;
  padding: 8px 0;
  border-top: 1px solid var(--gk-line);
}

.gk-comment:first-child {
  border-top: 0;
}

.gk-comment-avatar {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gk-accent-soft);
  color: var(--gk-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}

.gk-comment-avatar img {
  width: 28px;
  height: 28px;
  object-fit: cover;
  display: block;
}

.gk-comment-body {
  min-width: 0;
  flex: 1 1 auto;
}

.gk-comment-name {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--gk-ink);
}

.gk-comment-time {
  font-size: 12px;
  color: var(--gk-muted);
  margin-left: 6px;
}

.gk-comment-text {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--gk-ink);
  overflow-wrap: anywhere;
}

.gk-comment-empty {
  font-size: 13px;
  color: var(--gk-muted);
  margin: 6px 0;
}

.gk-comment-all {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gk-accent);
  text-decoration: none;
}

@media (max-width: 620px) {
  .gk-reaction .gk-rc { display: none; }
  .gk-reaction { padding: 3px 5px; }
  .gk-share-btn { width: 28px; height: 28px; }
}


/* ============================================================
   Single header — navigation merged into the main navbar.
   The old secondary .fl_sec_nav bar has been removed.
   ============================================================ */
.gk-mainnav > a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 13px !important;
  margin: 0 2px !important;
  border-radius: 999px !important;
  color: #cfd8e3 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  transition: background-color .15s ease, color .15s ease !important;
}

.gk-mainnav > a svg {
  opacity: .85;
  flex: 0 0 auto;
}

.gk-mainnav > a:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

.gk-mainnav.active > a {
  background: var(--gk-accent) !important;
  color: #ffffff !important;
}

.gk-mainnav.active > a svg {
  opacity: 1;
}

.gk-nav-search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 340px;
}

/* Content offset — the fixed 60px navbar is now the only header. */
body > .container.container-home {
  margin-top: 60px !important;
}

@media (max-width: 1000px) {
  .gk-mainnav > a span {
    display: none;
  }
  .gk-mainnav > a {
    padding: 7px 9px !important;
  }
}

@media (max-width: 700px) {
  .gk-nav-search {
    display: none !important;
  }
}


/* --- infinite scroll sentinel --- */
.gk-feed-sentinel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 18px 0 34px;
}

.gk-feed-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid var(--gk-line);
  border-top-color: var(--gk-accent);
  border-radius: 50%;
  display: block;
  opacity: 0;
  transition: opacity .2s ease;
}

.gk-feed-sentinel.is-loading .gk-feed-spinner {
  opacity: 1;
  animation: gk-spin .7s linear infinite;
}

.gk-feed-sentinel.is-done {
  display: none;
}

@keyframes gk-spin {
  to { transform: rotate(360deg); }
}

.gk-feed-end {
  text-align: center;
  padding: 26px 0 40px;
  font-size: 13px;
  color: var(--gk-muted);
}


/* ============================================================
   Minimal action bar: one face icon -> reaction picker,
   centred comment icon, one share icon -> share sheet.
   ============================================================ */
.gk-feed-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  border-top: 1px solid var(--gk-line);
  padding: 4px 0;
  margin-top: 4px;
}

.gk-act-wrap {
  position: relative;
  flex: 1 1 0;
  display: flex;
  justify-content: flex-start;
}

.gk-act-wrap-right {
  justify-content: flex-end;
}

.gk-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--gk-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.gk-act:hover {
  background: var(--gk-bg);
  color: var(--gk-ink);
  text-decoration: none;
}

.gk-act.is-active {
  color: var(--gk-accent);
}

.gk-act.is-active svg {
  fill: var(--gk-accent);
}

.gk-act-comment {
  flex: 1 1 0;
}

/* popovers */
.gk-picker {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 9px;
  background: var(--gk-card);
  border: 1px solid var(--gk-line);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.gk-picker[hidden] {
  display: none;
}

.gk-picker-share {
  left: auto;
  right: 0;
}

.gk-picker .gk-reaction {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 2px 3px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: var(--gk-muted);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  transition: transform .12s ease;
}

.gk-picker .gk-reaction:hover {
  transform: scale(1.3);
  background: transparent;
  border-color: transparent;
}

.gk-picker .gk-reaction img {
  width: 26px;
  height: 26px;
  display: block;
}

.gk-picker .gk-reaction .gk-rc {
  font-size: 10px;
  line-height: 1;
}

.gk-picker .gk-reaction.is-active .gk-rc {
  color: var(--gk-accent);
}

.gk-picker .gk-share-btn {
  width: 34px;
  height: 34px;
}

/* Comments rendered with the standard fl-comment-item markup —
   constrain the avatar (it was rendering full-size inside the feed). */
.gk-comment-list .fl-comment-item {
  padding: 8px 0;
}

.gk-comment-list .fl-comment-item-img,
.gk-comment-list .fl-comment-item-img a {
  display: block;
  width: 36px !important;
  flex: 0 0 36px;
}

.gk-comment-list .fl-comment-item-img img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
}

.gk-comment-list .fl-comment-item-cont {
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .gk-act {
    padding: 9px 10px;
  }
  .gk-picker {
    padding: 5px 6px;
  }
  .gk-picker .gk-reaction img {
    width: 24px;
    height: 24px;
  }
}


/* ============================================================
   Header layout: logo + search on the left, navigation exactly
   centred in the bar, language / account on the right.
   ============================================================ */
.navbar.navbar-findcond .container.container-home {
  position: relative !important;
}

.gk-nav-center {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  z-index: 6 !important;
}

.gk-mainnav {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 13px !important;
  margin: 0 2px !important;
  border-radius: 999px !important;
  color: #cfd8e3 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  transition: background-color .15s ease, color .15s ease !important;
}

.gk-mainnav svg {
  opacity: .85;
  flex: 0 0 auto;
}

.gk-mainnav:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.gk-mainnav.active {
  background: var(--gk-accent) !important;
  color: #ffffff !important;
}

.gk-mainnav.active svg {
  opacity: 1;
}

/* keep the search compact so it never reaches the centred nav */
.gk-nav-search {
  max-width: 300px !important;
  flex: 0 1 300px !important;
}

@media (max-width: 1150px) {
  .gk-mainnav span {
    display: none;
  }
  .gk-mainnav {
    padding: 7px 10px !important;
  }
}

@media (max-width: 820px) {
  .gk-nav-search {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .gk-mainnav {
    padding: 7px 8px !important;
    margin: 0 !important;
  }
  .gk-nav-center {
    gap: 0 !important;
  }
}

