/*
 * Page stylesheet: category
 * Order: former <style> blocks, then the former style="" attributes, then extras.
 */
        .category-featured-wrap {
            aspect-ratio: 16 / 9;
            position: relative;
            overflow: hidden;
            border-radius: 16px 16px 0 0;
        }
    .category-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    /* Cat Gallery Grid */
    .category-images-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
        margin-top: 40px;
    }
    .cat-gallery-item {
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0,0,0,0.10);
        background: #fff;
        transition: transform 0.25s, box-shadow 0.25s;
    }
    .cat-gallery-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 28px rgba(0,0,0,0.16);
    }
    .cat-gallery-card-image {
        display: block;
        position: relative;
        overflow: hidden;
        aspect-ratio: 4 / 3;
    }
    .cat-gallery-card-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.35s;
    }
    .cat-gallery-item:hover .cat-gallery-card-image img {
        transform: scale(1.06);
    }
    .cat-gallery-zoom {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,0.35);
        opacity: 0;
        transition: opacity 0.25s;
        color: #fff;
        font-size: 26px;
    }
    .cat-gallery-card-image:hover .cat-gallery-zoom {
        opacity: 1;
    }
    .cat-gallery-card-body {
        padding: 12px 14px 14px;
    }
    .cat-gallery-title {
        display: block;
        font-size: 15px;
        font-weight: 700;
        color: #1E293B;
        margin-bottom: 5px;
        text-decoration: none;
        transition: color 0.2s;
    }
    a.cat-gallery-title:hover {
        color: #F59E0B;
    }
    .cat-gallery-description {
        font-size: 13px;
        color: #64748b;
        margin: 0;
        line-height: 1.5;
    }
    .active-dark-mode .cat-gallery-item {
        background: rgba(30,41,59,0.8);
    }
    .active-dark-mode .cat-gallery-title {
        color: #e2e8f0;
    }
    .active-dark-mode .cat-gallery-description {
        color: #94a3b8;
    }

/*
 * Former style attributes
 * Generated from the former style="" attributes of the template.
 * :where() keeps specificity at zero and !important keeps the old precedence
 * (an inline style beat normal rules, but lost to !important rules).
 */
:where(.u-cat-1) { /* <section .section-padding-service> */
  position: relative !important;
}
:where(.u-cat-2) { /* <div .modern-shapes> */
  display: none !important;
}
:where(.u-cat-3) { /* <div .content-card> */
  background: white !important;
  padding: 40px !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
  margin-bottom: 30px !important;
}
:where(.u-cat-4) { /* <div .category-featured-wrap> */
  margin: -40px -40px 30px -40px !important;
}
:where(.u-cat-5) { /* <div .sidebar-widget> */
  background: linear-gradient(135deg, #F59E0B 0%, #DC2626 100%) !important;
  color: white !important;
  padding: 30px !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3) !important;
  margin-bottom: 30px !important;
  position: relative !important;
  overflow: hidden !important;
}
:where(.u-cat-6) { /* <div> */
  position: absolute !important;
  top: -20px !important;
  right: -20px !important;
  width: 100px !important;
  height: 100px !important;
  background: rgba(255,255,255,0.1) !important;
  border-radius: 50% !important;
}
:where(.u-cat-7) { /* <div> */
  position: absolute !important;
  bottom: -30px !important;
  left: -30px !important;
  width: 120px !important;
  height: 120px !important;
  background: rgba(255,255,255,0.05) !important;
  border-radius: 50% !important;
}
:where(.u-cat-8) { /* <div> */
  position: relative !important;
  z-index: 1 !important;
}
:where(.u-cat-9) { /* <div> */
  display: flex !important;
  align-items: center !important;
  margin-bottom: 25px !important;
}
:where(.u-cat-10) { /* <div> */
  width: 50px !important;
  height: 50px !important;
  background: rgba(255,255,255,0.2) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 15px !important;
}
:where(.u-cat-11) { /* <i .fas> */
  font-size: 24px !important;
}
:where(.u-cat-12) { /* <h2> */
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: white !important;
}
:where(.u-cat-13) { /* <p> */
  margin: 0 !important;
  opacity: 0.9 !important;
  font-size: 14px !important;
  color: white !important;
}
:where(.u-cat-14) { /* <p> */
  line-height: 1.6 !important;
  margin-bottom: 25px !important;
  opacity: 0.95 !important;
  font-size: 14px !important;
  color: white !important;
}
:where(.u-cat-15) { /* <div> */
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
:where(.u-cat-16) { /* <span> */
  background: rgba(255,255,255,0.2) !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  transition: all 0.3s !important;
  color: white !important;
}
:where(.u-cat-17) { /* <i .fas> */
  margin-left: 5px !important;
}
:where(.u-cat-18) { /* <div .sidebar-widget> */
  background: white !important;
  padding: 30px !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
  margin-bottom: 30px !important;
}
:where(.u-cat-19) { /* <h2> */
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 25px !important;
  color: #1E293B !important;
  padding-bottom: 15px !important;
  border-bottom: 3px solid #F59E0B !important;
}
:where(.u-cat-20) { /* <i .fas> */
  margin-left: 8px !important;
  color: #F59E0B !important;
}
:where(.u-cat-21) { /* <div> */
  display: flex !important;
  gap: 15px !important;
  margin-bottom: 20px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid #f0f0f0 !important;
}
:where(.u-cat-22) { /* <div> */
  flex: 1 !important;
}
:where(.u-cat-23) { /* <h3> */
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.4 !important;
}
:where(.u-cat-24) { /* <a .sidebar-article-link> */
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.3s !important;
}
:where(.u-cat-25) { /* <span> */
  font-size: 11px !important;
  color: #475569 !important;
}
:where(.u-cat-26) { /* <i .far> */
  margin-left: 3px !important;
}
:where(.u-cat-27) { /* <div .sidebar-widget> */
  background: linear-gradient(135deg, #1E293B 0%, #334155 100%) !important;
  color: white !important;
  padding: 30px !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(30, 41, 59, 0.3) !important;
  position: relative !important;
  overflow: hidden !important;
}
:where(.u-cat-28) { /* <div> */
  position: absolute !important;
  top: -20px !important;
  right: -20px !important;
  width: 100px !important;
  height: 100px !important;
  background: rgba(255,255,255,0.05) !important;
  border-radius: 50% !important;
}
:where(.u-cat-29) { /* <div> */
  position: absolute !important;
  bottom: -30px !important;
  left: -30px !important;
  width: 120px !important;
  height: 120px !important;
  background: rgba(255,255,255,0.03) !important;
  border-radius: 50% !important;
}
:where(.u-cat-30) { /* <h2> */
  font-size: 20px !important;
  font-weight: 700 !important;
  margin-bottom: 15px !important;
  color: white !important;
}
:where(.u-cat-31) { /* <i .fas> */
  margin-left: 8px !important;
}
:where(.u-cat-32) { /* <p> */
  margin-bottom: 25px !important;
  opacity: 0.9 !important;
  line-height: 1.6 !important;
  color: white !important;
}
:where(.u-cat-33) { /* <a> */
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #10B981 !important;
  color: white !important;
  padding: 12px 24px !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: all 0.3s !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}
:where(.u-cat-34) { /* <section .section-padding> */
  padding: 70px 0 !important;
  background: #F8FAFC !important;
}
:where(.u-cat-35) { /* <div .section-heading> */
  margin-bottom: 40px !important;
}
:where(.u-cat-36) { /* <span .subtitle> */
  display: inline-block !important;
  color: #F59E0B !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  margin-bottom: 10px !important;
}
:where(.u-cat-37) { /* <h2 .title> */
  font-size: clamp(24px, 3vw, 32px) !important;
  font-weight: 800 !important;
  color: #1E293B !important;
  margin-bottom: 12px !important;
}
:where(.u-cat-38) { /* <p> */
  color: #475569 !important;
  max-width: 560px !important;
  margin: 0 auto !important;
  line-height: 1.7 !important;
  font-size: 15px !important;
}
:where(.u-cat-39) { /* <a .article-card-link> */
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}
:where(.u-cat-40) { /* <article .article-card> */
  background: white !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
  flex: 1 !important;
  transition: all 0.3s !important;
  display: flex !important;
  flex-direction: column !important;
}
:where(.u-cat-41) { /* <div .article-card-media> */
  position: relative !important;
  overflow: hidden !important;
}
:where(.u-cat-42) { /* <div .article-card-date> */
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  background: rgba(59, 130, 246, 0.9) !important;
  color: white !important;
  padding: 5px 15px !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
:where(.u-cat-43) { /* <div .article-card-body> */
  padding: 25px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
:where(.u-cat-44) { /* <h3 .article-card-title> */
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
}
:where(.u-cat-45) { /* <p .article-card-excerpt> */
  font-size: 14px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
  flex: 1 !important;
}
:where(.u-cat-46) { /* <span .article-card-cta> */
  color: #3B82F6 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: all 0.3s !important;
}
:where(.u-cat-47) { /* <i .fas> */
  margin-right: 8px !important;
  font-size: 12px !important;
}
:where(.u-cat-48) { /* <article .article-card> */
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
  flex: 1 !important;
  transition: all 0.3s !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Card header gradients (formerly set per card through an inline style) */
:where(.article-gradient-1) { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important; }
:where(.article-gradient-2) { background: linear-gradient(135deg, #134e5e 0%, #71b280 100%) !important; }
:where(.article-gradient-3) { background: linear-gradient(135deg, #373b44 0%, #4286f4 100%) !important; }
:where(.article-gradient-4) { background: linear-gradient(135deg, #4b1248 0%, #f10711 100%) !important; }
:where(.article-gradient-5) { background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%) !important; }
:where(.article-gradient-6) { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important; }

/* Latest-article links in the sidebar: hover colour (was a JS mouseover handler) */
.sidebar-article-link:hover { color: #F59E0B !important; }
