/* =========================================================
   BLOG LAYOUT DESKTOP
   ========================================================= */
@media (min-width: 768px) {
  .blog-twrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }

  .blog-date {
    position: relative !important;
    top: auto;
    right: auto;
    background: #00bfff;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.5);
    min-width: 60px;
  }

  .blog-img_v2 {
    position: relative !important;
    right: auto;
    width: 220px;
    height: 120px;
    min-width: 60px;
    display: flex;
  }

  .blog-image.right {
    order: 2;
  }

  .blog-content {
    flex: 1;
    order: 1;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}

/* =========================================================
   RELATED RETRO SECTION
   ========================================================= */
.related-retro-section {
  font-family: "Courier New", Courier, monospace;
  margin: 40px auto 20px;
  padding: 0 15px;
  max-width: 100%;
  text-align: center;
  background-image: -webkit-linear-gradient(bottom, #212528, #1a1b1f);
  background-image: -moz-linear-gradient(bottom, #212528, #1a1b1f);
  background-image: -o-linear-gradient(bottom, #212528, #1a1b1f);
  background-image: linear-gradient(to top, #212528, #1a1b1f);
}

.related-retro-section h2 {
  font-size: 1.5em;
  color: #00d9ff;
  text-shadow: 0 0 5px #00d9ff88;
  margin-bottom: 20px;
}

.related-retro-header {
  background: linear-gradient(to right, #00bfff, #007aff);
  color: #fff;
  font-size: 1.5em;
  padding: 10px 20px;
  display: inline-block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.related-retro-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.related-retro-card {
  width: 200px;
  padding: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(to top, #1a1b1f, #454a4d) !important;
  border: 1px solid #000;
  border-radius: 3px;
}

.related-retro-card a {
  color: inherit;
  text-decoration: none;
  display: block;
  margin: 0 auto;
}

.image-wrapper {
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px;
}

.related-retro-card img {
  width: auto;
  display: block;
  margin: 0 auto;
  background: #000;
  image-rendering: pixelated;
  max-height: 120px;
}

.related-retro-title {
  font-size: 1em;
  color: #00d9ff;
  margin-top: 10px;
  font-weight: bold;
}

.related-retro-category {
  font-size: 0.85em;
  color: #ccc;
  text-transform: uppercase;
  margin-top: 5px;
}

.related-retro-comments {
  font-size: 1em;
  color: #fff;
}

.related-retro-comments svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .related-retro-card {
    width: 100%;
    max-width: 300px;
  }

  .col-md-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 480px) {
  .col-md-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* =========================================================
   POST GRID ITEM
   ========================================================= */
.post-grid-item {
  border: 2px solid #00ffff66;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: #111;
  display: flex;
  flex-direction: column;
  height: 280px;
}

.post-grid-item:hover {
  border-color: #00ffff;
  box-shadow: 0 0 10px #00ffff88;
}

.post-grid-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.post-grid-item .p-2 {
  padding: 10px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.post-grid-item h5 {
  font-size: 14px;
  margin: 0 0 5px;
  color: #fff;
  line-height: 1.2em;
  max-height: 2.4em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.post-grid-item .meta-info {
  font-size: 12px;
  color: #aaa;
}

.post-grid-spacing {
  margin-bottom: 30px;
}

/* =========================================================
   PAGINATION
   ========================================================= */
div.pagination a,
div.pagination span {
  color: #00ffff !important;
  background-color: transparent;
  padding: 8px 13px;
  position: relative;
  margin: 0 5px 0 0;
  display: inline-block;
  border: 1px solid #00ffff66;
}

div.pagination span.current {
  background-color: #00ffff33;
  color: #fff !important;
  font-weight: bold;
  border-color: #00ffff;
}

/* =========================================================
   NEWS WIDGET (v2)
   ========================================================= */
.custom-news-widget_v2 {
  margin-top: 10px;
  height: 450px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #00d9ff #222;

  display: flex;
  flex-direction: column;
  gap: 20px;
}

.custom-news-widget_v2::-webkit-scrollbar {
  width: 8px;
}
.custom-news-widget_v2::-webkit-scrollbar-thumb {
  background-color: #00d9ff;
}
.custom-news-widget_v2::-webkit-scrollbar-track {
  background: #222;
}

.custom-news-widget_v2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-news-widget_v2 li {
  margin-bottom: 25px;
  border-bottom: 1px solid #333;
  padding-bottom: 12px;
}

.custom-news-widget_v2 a.title-link {
  color: #00d9ff;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
}
.custom-news-widget_v2 a.title-link:hover {
  color: #fff;
}

.custom-news-widget_v2 small {
  color: #999;
  font-size: 13px;
  display: block;
  margin-top: 4px;
  margin-bottom: 6px;
}

.custom-news-widget_v2 p {
  margin: 8px 0;
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.custom-news-widget_v2 a.read-more {
  color: #ff4081;
  font-size: 13px;
  text-decoration: none;
  font-weight: bold;
}
.custom-news-widget_v2 a.read-more:hover {
  text-decoration: underline;
}

/* v2 card layout */
.news-item_v2 {
  display: flex;
  gap: 15px;
  padding: 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #1c1c1c;
  color: #eee;
  margin-bottom: 10px;
}

.news-image_v2 img{
  width:150px;
  height:150px;
  max-width:150px;
  max-height:150px;
  object-fit:cover;
  display:block;
  border-radius:4px;
}



.news-content_v2 {
  flex: 1;
}

.news-title_v2 {
  font-weight: bold;
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
  text-decoration: none;
  color: #fff;
}

.news-date_v2 {
  font-size: 12px;
  color: #aaa;
  display: block;
  margin-bottom: 8px;
}

.news-excerpt_v2 {
  margin: 0 0 10px;
  color: #ddd;
}

.news-readmore_v2 {
  font-size: 13px;
  color: #66aaff;
  text-decoration: underline;
}

.news-empty_v2 {
  text-align: center;
  font-style: italic;
  color: #bbb;
}

/* =========================================================
   NEWS WIDGET (legacy)
   ========================================================= */
.custom-news-widget {
  font-size: 15px;
  color: #fff;
  background-color: #111;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 30px;
  height: 450px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #00d9ff #222;
}

.custom-news-widget::-webkit-scrollbar {
  width: 8px;
}
.custom-news-widget::-webkit-scrollbar-thumb {
  background-color: #00d9ff;
}
.custom-news-widget::-webkit-scrollbar-track {
  background: #222;
}

.custom-news-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-news-widget li {
  margin-bottom: 25px;
  border-bottom: 1px solid #333;
  padding-bottom: 12px;
}

.custom-news-widget a.title-link {
  color: #00d9ff;
  font-size: 16px;
  text-decoration: none;
  font-weight: bold;
}
.custom-news-widget a.title-link:hover {
  color: #fff;
}

.custom-news-widget small {
  color: #999;
  font-size: 13px;
  display: block;
  margin-top: 4px;
  margin-bottom: 6px;
}

.custom-news-widget p {
  margin: 8px 0;
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.custom-news-widget a.read-more {
  color: #ff4081;
  font-size: 13px;
  text-decoration: none;
  font-weight: bold;
}
.custom-news-widget a.read-more:hover {
  text-decoration: underline;
}

/* Header bar (usata da più widget) */
.retro-header-bar {
  background: linear-gradient(to bottom, #00bfff, #007acc);
  padding: 12px;
  margin: -20px -20px 20px -20px;
  text-align: center;
  border-bottom: 2px solid #00d9ff;
}

.retro-header-bar h3 {
  font-size: 13px;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================================
   RANDOM STICKY WIDGET
   ========================================================= */
.random-sticky-widget_v2 {
  overflow: hidden;
  background: linear-gradient(135deg, #111 0%, #1e1e1e 100%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  font-family: "Share Tech Mono", monospace;
  border: 1px solid #333;
}

.sticky-post-image-wrapper_v2 {
  position: relative;
  overflow: hidden;
  max-height: 300px;
}

.sticky-post-title-overlay_v2 {
  position: absolute;
  bottom: 0;
  background: rgba(10, 10, 10, 0.65);
  color: #00d9ff;
  width: 100%;
  text-align: center;
}

.random-sticky-widget {
  overflow: hidden;
  background: linear-gradient(135deg, #111 0%, #1e1e1e 100%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin: 30px auto;
  max-width: 100%;
  font-family: "Share Tech Mono", monospace;
  border: 1px solid #333;
}

.sticky-post-category {
  background: linear-gradient(to bottom, #00d9ff, #3366ff);
  color: #fff;
  font-size: 1.4em;
  text-align: center;
  padding: 9px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid #00d9ff;
}

.sticky-post-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.sticky-post-image-wrapper {
  position: relative;
  overflow: hidden;
}

.sticky-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: none;
}

.sticky-post-title-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(10, 10, 10, 0.9);
  color: #00d9ff;
  width: 100%;
  text-align: center;
  padding: 20px;
  border-top: 2px solid #00d9ff;
}

.sticky-post-title-overlay h3 {
  margin: 0;
  font-size: 1.6em;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00d9ff;
}

@media (max-width: 480px) {
  .sticky-post-category {
    font-size: 1.2em;
    padding: 14px;
  }

  .sticky-post-title-overlay h3 {
    font-size: 1.3em;
  }

  .sticky-post-image-wrapper {
    width: 100%;
    margin: 0 auto;
  }

  .sticky-post-image {
    width: 100%;
    height: auto;
  }
}

/* =========================================================
   TOP GAME WIDGET
   ========================================================= */
.top-game-widget {
  text-decoration: none;
  display: block;
  transition: transform 0.3s;
}
.top-game-widget:hover {
  transform: scale(1.05);
}

.game-container {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.game-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s;
}

.game-container:hover img {
  opacity: 0.8;
}

.game-title-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 1.1em;
  font-weight: bold;
}

/* =========================================================
   CONSOLE
   ========================================================= */
.console-image {
  text-align: center;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.console-img-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.console-img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.console-img:hover {
  transform: scale(1.1);
}

.console-title {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #25c2f5;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.console-img-link:hover .console-title {
  opacity: 1;
}

.console-image:hover {
  transform: translateY(-10px);
}

/* =========================================================
   RANDOM IMAGE WIDGET
   ========================================================= */
.random-image-widget {
  text-decoration: none;
  display: block;
  margin-bottom: 20px;
  max-width: 100%;
  font-family: "Share Tech Mono", monospace;
}

.random-card-box {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background-color: #1c1c1c;
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.4);
}

.random-category-heading-cat {
  font-size: 1.3em;
  font-weight: bold;
  background: linear-gradient(to bottom, #2563eb, #7c3aed);
  color: #fff;
  padding: 4px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid #2563eb;
  margin: 0;
}

.random-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  width: 100% !important;
  background-color: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.random-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: none;
}

.random-image-overlay {
  position: absolute;
  bottom: 0;
  background: rgba(30, 30, 30, 0.9);
  color: #e0e0e0;
  width: 100%;
  padding: 14px 10px;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.4;
  word-wrap: break-word;
}

.random-image-overlay h3 {
  margin: 0;
  font-size: 1.3em;
  color: #00d9ff;
  letter-spacing: 0.5px;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: none;
  word-break: break-word;
  white-space: normal;
}

@media (max-width: 480px) {
  .random-card-box {
    width: 90%;
  }
  .random-image-overlay h3 {
    font-size: 1.1em;
  }
}

/* =========================================================
   RANDOM GAME WIDGET
   ========================================================= */
.random-game-widget {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 150px;
  overflow: hidden;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  padding: 10px;
  background: transparent;
}

.widget-link {
  display: block;
  text-decoration: none;
  color: #fff;
  width: 100%;
}

.widget-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.widget-image {
  width: 130px;
  height: 130px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.random-game-widget:hover .widget-image {
  transform: scale(1.1);
  box-shadow: 0px 8px 20px rgba(255, 215, 0, 0.6);
}

.widget-text {
  padding-left: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: calc(100% - 150px);
}

.widget-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  color: #ffd700;
  text-shadow: 2px 2px 10px rgba(255, 215, 0, 0.8);
  max-height: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.widget-excerpt {
  font-size: 14px;
  margin: 5px 0 0;
  color: #ddd;
  text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.5);
  max-height: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.random-game-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 600px) {
  .random-game-widget {
    flex-direction: column;
    text-align: center;
  }

  .widget-text {
    padding-left: 0;
    padding-top: 10px;
    max-width: 100%;
  }

  .widget-image {
    width: 100%;
    height: 180px;
  }
}

/* =========================================================
   RETRO WIDGET CARD
   ========================================================= */
.retro-widget-image-basso {
  background: linear-gradient(to top, #7800a0, #bf00ff) !important;
  padding: 0 !important;
  border: 1px solid #bf00ff !important;
}

.retro-widget-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  font-family: "Orbitron", sans-serif;
  color: #fff;
}

.retro-widget-image {
  width: 140px;
  height: 150px;
  overflow: hidden;
  flex-shrink: 0;
}

.retro-widget-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.retro-widget-content {
  flex: 1;
}

.retro-widget-title {
  font-size: 1.4em;
  color: #00ffff;
  margin: 0 0 10px;
}

.retro-widget-desc {
  font-size: 0.95em;
  color: #ccc;
  line-height: 1.5;
  text-align: left;
  padding: 5px;
}

.retro-widget-button {
  display: inline-block;
  padding: 6px 12px;
  background: linear-gradient(to top, #7800a0, #bf00ff);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: filter 0.3s ease;
}

.retro-widget-button:hover {
  filter: brightness(1.08);
}

.retro-widget-button:focus {
  outline: none;
  box-shadow: none;
}

/* =========================================================
   INFO TABLE
   ========================================================= */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.info-table th,
.info-table td {
  border: 1px solid #444;
  padding: 6px 10px;
}

.info-table th {
  background: #222;
  color: #fff;
  text-align: left;
  width: 30%;
}

.info-table tr:nth-child(even) td {
  background: #2f2f2f;
}

/* =========================================================
   ORDER BUTTONS
   ========================================================= */
.order-buttons {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;
  gap: 15px;
}

.order-button {
  padding: 5px;
  background-color: #f0f0f0;
  text-decoration: none;
  color: #333;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
  letter-spacing: 0 !important;
  margin-right: 10px;
}

.order-button:hover {
  background-color: #ddd;
}

.order-button.active {
  background-color: #28a745;
  color: #fff;
}

.order-button:not(.active) {
  background-color: #f0f0f0;
  color: #333;
}

/* =========================================================
   DATABASE WARNING BAR
   ========================================================= */
.database-warning {
  width: 100%;
  background-color: #222;
  border: 2px solid #ff9900;
  text-align: center;
  font-family: Arial, sans-serif;
  color: #fff;
}

.database-version {
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.warning-message {
  font-size: 16px;
  color: #ff9900;
}

/* =========================================================
   FIX LINK BLU + ICONE SOCIAL
   ========================================================= */
a,
a:visited {
  color: #00d9ff;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #fff;
  text-shadow: 0 0 6px rgba(0, 217, 255, 0.55);
}

/* Forza link nei widget/footer */
.custom-news-widget a,
.custom-news-widget_v2 a,
.random-sticky-widget a,
.random-sticky-widget_v2 a,
.related-retro-section a,
.post-grid-item a,
footer a,
.footer a {
  color: #00d9ff !important;
}

.custom-news-widget a:hover,
.custom-news-widget_v2 a:hover,
.random-sticky-widget a:hover,
.random-sticky-widget_v2 a:hover,
.related-retro-section a:hover,
.post-grid-item a:hover,
footer a:hover,
.footer a:hover {
  color: #fff !important;
}

/* Icone social */
.social a,
.social a i,
.header-social a,
.header-social a i,
.topbar a,
.topbar a i,
header .social-icons a,
header .social-icons a i {
  color: #fff !important;
}

.social a:hover,
.social a:hover i,
.header-social a:hover,
.header-social a:hover i,
.topbar a:hover,
.topbar a:hover i,
header .social-icons a:hover,
header .social-icons a:hover i {
  color: #00d9ff !important;
  text-shadow: 0 0 8px rgba(0, 217, 255, 0.65);
}

/* =========================================================
   FIX: BOTTONE "POST COMMENT" NON VISIBILE
   ========================================================= */
#respond #submit,
#commentform input#submit,
#commentform input.submit,
.comment-form input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;

  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;

  background: linear-gradient(to bottom, #00bfff, #007acc) !important;
  color: #fff !important;

  border: 2px solid #00d9ff !important;
  border-radius: 4px !important;

  padding: 12px 18px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;

  box-shadow: 0 0 10px rgba(0, 217, 255, 0.35) !important;
  cursor: pointer !important;
}

#respond #submit:hover,
#commentform input#submit:hover,
#commentform input.submit:hover,
.comment-form input[type="submit"]:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 14px rgba(0, 217, 255, 0.55) !important;
}

#respond #submit:focus,
#commentform input#submit:focus,
#commentform input.submit:focus,
.comment-form input[type="submit"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.35) !important;
}

/* textarea comment coerente */
#respond textarea#comment {
  background: #111 !important;
  color: #eee !important;
  border: 1px solid #333 !important;
}

/* =========================================================
   HOME RetroGek – CSS (sostituisce tutti gli inline)
   ========================================================= */

/* ----- Title bar ----- */
.home-rg .home-rg-titlebar{
  min-height: 0 !important;
  height: 41px;
}

/* Background dark wall dietro alle sezioni home (Recent News + Video/Top games) */
.container.lcp-wrapper.home-rg,
.container.home-rg.home-rg-section-video{
  background-image: url("https://retrogek.com/wp-content/themes/blackfyre/img/dark_wall.jpg");
  background-repeat: repeat;
  background-position: top left;

  /* per farlo "dietro" al contenuto */
  position: relative;

  /* elimina stacco tra le 2 sezioni */
  margin-top: 0 !important;
  margin-bottom: 0 !important;

  /* un filo di aria interna */
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Se qualche colonna/box copre il background con un colore pieno, rendila trasparente */
.container.lcp-wrapper.home-rg > [class*="col-"],
.container.home-rg.home-rg-section-video > [class*="col-"]{
  background: transparent !important;
}
/* piccolo stacco sopra "Most Clicked Games" (gap trasparente) */
.container.home-rg.home-rg-section-video{
  margin-top: 9px !important;  /* cambia 18 a piacere */
}

.home-rg .home-rg-titletext{
  text-align: left;
  color: #eee;
  margin-top: 5px;
  float: left;
  margin-bottom: 5px;
  font-size: 20px;
  margin-left: 10px;
  height: 41px;
}

/* ----- Colonna destra padding 0 ----- */
.home-rg .home-rg-col-right{
  padding: 0 !important;
}

/* ----- Box con bordi (Featured / Videos) ----- */
.home-rg .home-rg-bordered-box{
  border-width: 0 1px 1px;
  border-style: solid;
  border-color: #000;
  border-top-style: initial;
  border-top-color: initial;
  border-image: initial;
  padding: 0 !important;
}

/* Altezza categoria */
.home-rg .home-rg-stickycat{
  height: 40px !important;
}

/* ----- App Box ----- */
.home-rg .home-rg-app-wrap{
  padding: 5px;
}

.home-rg .home-rg-app-box{
  background-color: #222;
  padding: 15px;
  border: 2px solid #00d9ff;
  margin-bottom: 20px;
}

.home-rg .home-rg-app-title{
  color: #00ffcc;
  font-size: 18px;
  text-decoration: none;
}

.home-rg .home-rg-app-desc{
  margin-top: 8px;
  font-size: 13px;
  color: #ccc;
}

.home-rg .home-rg-app-cta{
  color: #ff4081;
}

/* ----- Sezione VIDEO / TOP GAMES ----- */
.home-rg.home-rg-section-video{
  padding: 0 !important;
  z-index: 9999;
  position: relative;
  padding-bottom: 10px;
  background: url(https://retrogek.com/wp-content/themes/blackfyre/img/dark_wall.jpg);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 3px,
              rgba(255, 255, 255, 0.2) 0px 1px 1px inset;
}

/* =========================================================
   YOUTUBE THUMBNAIL (ex <style>)
   ========================================================= */

.youtube-video-container{
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.youtube-thumbnail-wrapper{
  position: relative;
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  background-color: #000;
}

.youtube-thumbnail{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button-overlay{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.play-icon{
  font-size: 50px;
  color: #fff;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px; 
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #25c2f5; /* cambia come preferisci */
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ccc;
}
