/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* ==================================================
   1) CATEGORY TILE HOVER COLORS (term IDs)
   ================================================== */

/* Για Γονείς */
.tmb-term-id-72:hover .t-entry-title a { color: #e53935 !important; }

/* Για Μαθητές */
.tmb-term-id-73:hover .t-entry-title a { color: #FF9070 !important; }

/* Πανελλαδικές */
.tmb-term-id-77:hover .t-entry-title a { color: #e8dc2c !important; }

/* Τάξη Μαθητείας */
.tmb-term-id-76:hover .t-entry-title a { color: #ff9800 !important; }

/* Στρατολογία */
.tmb-term-id-86:hover .t-entry-title a { color: #1D8F06 !important; }


/* ==================================================
   2) TAG TILES: SMOOTH ZOOM ON HOVER (post titles grid)
   ================================================== */

.uncode-post-titles .tmb { transform: scale(1); transition: transform 0.35s ease-in-out; }
.uncode-post-titles .tmb:hover { transform: scale(1.05); }


/* ==================================================
   3) POST META: DATE ICON + COLOR
   ================================================== */

/*******************************
 * Simple emoji calendar before date
 *******************************/
p.t-entry-meta span.t-entry-date::before {
  content: "🗓️  ";
  font-size: 0.95em;
}

.t-entry-date { color: #8e24aa !important; }


/* ==================================================
   4) TAG CLOUD: ROTATING BACKGROUND COLORS + HOVER
   ================================================== */

.tag-cloud-link:nth-child(5n+1) { background: #f9e9e9 !important; }
.tag-cloud-link:nth-child(5n+2) { background: #d3f1f2 !important; }
.tag-cloud-link:nth-child(5n+3) { background: #f3f5cb !important; }
.tag-cloud-link:nth-child(5n+4) { background: #e1fae1 !important; }
.tag-cloud-link:nth-child(5n+5) { background: #f7d6b2 !important; }

.tag-cloud-link:hover {
  background-color: #dcdddd !important;
  box-shadow: 0 0 0 4px rgba(74, 109, 255, 0.08);
  transform: translateY(-2px);
}


/* ==================================================
   5) CATEGORIES WIDGET: COLORED PILLS (Uncode)
   ================================================== */

.widget_categories ul,
.wp-block-categories-list { display: block; gap: 12px; padding: 0; margin: 0; }

.widget_categories li,
.wp-block-categories-list li { list-style: none; margin: 0; }

.widget_categories li a,
.wp-block-categories-list li a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: filter 0.2s ease;
}

.widget_categories li a::before,
.wp-block-categories-list li a::before {
  content: "›";
  margin-right: 8px;
  font-size: 18px;
  line-height: 1;
}

.widget_categories li:nth-child(1) a,
.wp-block-categories-list li:nth-child(1) a { background: #1e88e5 !important; }

.widget_categories li:nth-child(2) a,
.wp-block-categories-list li:nth-child(2) a { background: #e53935 !important; }

.widget_categories li a,
.widget_categories li a *,
.wp-block-categories-list li a,
.wp-block-categories-list li a * {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  fill: #fff !important;
}

.widget_categories li a::before,
.wp-block-categories-list li a::before { color: #fff !important; }

.widget_categories ul,
.wp-block-categories-list { overflow: visible !important; }

.widget_categories li,
.wp-block-categories-list li { overflow: visible !important; }

.widget_categories li a,
.wp-block-categories-list li a {
  display: inline-flex !important;
  transform: none !important;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease !important;
  will-change: transform;
}

.widget_categories li:hover > a,
.wp-block-categories-list li:hover > a {
  transform: scale(1.05) translateY(-3px) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.20) !important;
  filter: brightness(1.02) !important;
}


/* ==================================================
   6) SIDEBAR CUSTOM HTML: BULLETS + SLIDING UNDERLINE
   ================================================== */

aside#custom_html-2 ul.link-list { list-style: disc !important; padding-left: 22px !important; }
aside#custom_html-2 ul.link-list li { list-style: disc !important; position: relative !important; }

aside#custom_html-2 ul.link-list li a {
  display: inline-block !important;
  position: relative !important;
  text-decoration: none !important;
  padding-bottom: 3px !important;
}

aside#custom_html-2 ul.link-list li a::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  width: 100% !important;
  background-color: currentColor !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform 0.25s ease !important;
}

aside#custom_html-2 ul.link-list li.li-hover:hover a::after { transform: scaleX(1) !important; }


/* ==================================================
   7) SHARE BUTTONS: HIDE UNUSED NETWORKS
   ================================================== */

.share-button.share-inline .social.top li.social-threads,
.share-button.share-inline .social.top li.social-bluesky,
.share-button.share-inline .social.top li.social-xing { display: none !important; }


/* ==================================================
   8) MEOW AI ENGINE: RESIZE OPEN BUTTON ICON
   ================================================== */

.mwai-trigger.mwai-open-button .mwai-icon-container .mwai-icon {
  width: 90px !important;
  height: 90px !important;
  object-fit: contain;
}
