/*
Theme Name: CRACKW THEME
Theme URI: https://crackw.com/
Template: dashscroll
Author: CRACKW
Author URI: https://crackw.com/
Description: CRACKW THEME
Version: 1.0.1752647059
Updated: 2025-07-16 08:24:19

*/

/* — Modern Colorful Cards — */
.download-card {
  display: flex;
  gap: 1.75rem;
  background: #fff;
  border: 2px solid #000;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  position: relative;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  border-color: #2fb7ec;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #, #000);
}

.download-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2fb7ec, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(47, 183, 236, 0.3);
}

.download-card__content {
  flex: 1;
}

.download-card__title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
}

.download-card__excerpt {
  margin: 0 0 1.5rem;
  color: #4b5563;
  line-height: 1.7;
  font-size: 1.1rem;
}

.download-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: #000;
  color: white;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-card__cta:hover {
  background: #2fb7ec;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(47, 183, 236, 0.2);
}

/* Color Variants */
.download-card--teal {
  border-color: #0d9488;
}
.download-card--teal:hover {
  border-color: #0d9488;
}
.download-card--teal::before {
  background: linear-gradient(to bottom, #0d9488, #115e59);
}
.download-card--teal .download-card__icon {
  background: linear-gradient(135deg, #0d9488, #115e59);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
.download-card--teal .download-card__cta {
  background: #0d9488;
}
.download-card--teal .download-card__cta:hover {
  background: #115e59;
}

.download-card--pink {
  border-color: #db2777;
}
.download-card--pink:hover {
  border-color: #db2777;
}
.download-card--pink::before {
  background: linear-gradient(to bottom, #db2777, #9d174d);
}
.download-card--pink .download-card__icon {
  background: linear-gradient(135deg, #db2777, #9d174d);
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.3);
}
.download-card--pink .download-card__cta {
  background: #db2777;
}
.download-card--pink .download-card__cta:hover {
  background: #9d174d;
}


/* — Neumorphic Latest Posts Widget — */
.textwidget .custom-latest-posts li {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.75rem !important;
  background: #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 
    6px 6px 16px rgba(0,0,0,0.08), 
   -6px -6px 16px rgba(255,255,255,0.7) !important;
  margin-bottom: 1rem !important;
  transition: box-shadow .3s ease;
}
.textwidget .custom-latest-posts li:hover {
  box-shadow: 
    inset 4px 4px 10px rgba(0,0,0,0.06), 
    inset -4px -4px 10px rgba(255,255,255,0.8) !important;
}
.textwidget .custom-latest-posts li img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}
.textwidget .custom-latest-posts li a {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #1a202c !important;
  text-decoration: none !important;
}


/* Hide that empty gallery placeholder under the heading */
.front-widgets .widget_media_gallery {
  display: none !important;
}

/* Style the page-title box */
.page-title {
  background: #fff;                  /* switch to white */
  border: 1px solid #e2e8f0;         /* light gray border */
  border-radius: 8px;                
  padding: 1rem 1.5rem;              
  margin-bottom: 1.5rem;             
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Tweak the heading text */
.page-title h3 {
  margin: 0;
  font-size: 1.5rem;                 
  font-weight: 600;
  color: #1a202c;                    
  line-height: 1.3;
}

/* Hide that empty front-widgets-top bar entirely - remove this if you ever add widget at top*/
.content-inner > .front-widgets {
  display: none !important;
}

/*-----------------------------------
/* ── Detach & Elevate the Page Title ── */
.page-title {
  background: #ffffff;                    /* white card */
  border-radius: 8px;                     
  padding: 1rem 1.5rem;                   
  margin: 0.6rem auto 2rem;                 /* pushes it away from header & content */
  max-width: 700px;                       /* constrain its width, adjust as needed */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;                            /* floats above other elements */
}

/* Center the inner H2 and tighten spacing */
.page-title-inner {
  text-align: center;
  margin: 0;
}

.page-title h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1a202c;
  line-height: 1.3;
}
/*-----------------------------


/*--------------------------------------------
/* — Make the main “content” area white — */
.content {
  background: #ffffff !important;
}

/* — Also clear any gray on the inner wrapper — */
.content-inner {
  background: #ffffff !important;
}

/* — Remove any leftover gray on the (now–empty) front-widgets row — */
.front-widgets,
.front-widget-inner {
  background: transparent !important;
}
/*--------------------------------
 
/*-------------------------------------
/* 1) Let your nav’s dropdown sit on top - make the about drop-down to be visible above title block*/
.wrap-nav,
.main-navigation {
  position: relative !important;
  overflow: visible !important;
  z-index: 1000; /* high enough to clear the title */
}

/* 2) Push the title back down the stack */
.page-title {
  position: relative !important;
  z-index: 1 !important;
}

/*------------------------------------------*/
.version-badge {
  display: inline-flex;
  align-items: center;
  background-color: #f0f8ff;
  border-radius: 999px;
  padding: 0.4em 1em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-family: system-ui, sans-serif;
   center in its container: 
  margin: 1em auto;        
}

.version-badge .version-label {
  font-weight: 600;
  margin-right: 0.5em;
  color: #004a7c;
  text-transform: uppercase;
  font-size: 0.85em;
}

.version-badge .version-number {
  color: #007bff;
  font-size: 1.1em;
}
/****************************************/
