/*
Theme Name: CalculatorGeek Tools Theme
Theme URI: https://calculatorgeek.com
Author: CalculatorGeek
Description: Clean, fast calculator tools theme with CPT, categories, popular calculators, ratings, usage stats, and calculator templates.
Version: 6.8.16
Text Domain: calculatorgeek
*/

/* =========================================================
 * Category archive (taxonomy) heading polish
 * ========================================================= */
.cg-term-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 6px;
}
.cg-term-title-icon{
  width:38px;
  height:38px;
  border-radius:10px;
  background:linear-gradient(180deg, rgba(14,165,233,1), rgba(20,184,166,1));
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
  box-shadow:0 10px 24px rgba(2,132,199,.18);
}
.cg-term-title-icon svg{
  width:20px;
  height:20px;
  stroke:currentColor;
  fill:none;
}

.cg-term-desc{ margin:6px 0 0; }
.cg-term-readmore{ display:inline-block; margin-top:2px; }

/* Keep sub-category headings aligned */
.cg-subcat-title{
  display:flex;
  align-items:center;
  gap:10px;
}
.cg-term-desc{margin:6px 0 0;}
.cg-term-readmore{display:inline-block;margin-top:2px;}
.cg-term-meta{margin-top:4px;}

/* =========================
   Category page listing (2-column, reference style)
========================= */
.cg-term-group{ margin: 38px 0; }
.cg-term-group-title{ margin: 0 0 14px; font-weight: 800; padding-left: 22px; }

.cg-term-list{
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
  column-gap: 56px;
  padding-left: 22px;
  margin: 0;
}
.cg-term-list li{
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 12px;
}
.cg-term-list a{
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 820px){
  .cg-term-list{ columns: 1; -webkit-columns: 1; -moz-columns: 1; }
}

/* Most popular icon (homepage) */
.cg-mostpop-icon{ display:flex; justify-content:center; margin: 0 0 10px; }
.cg-mostpop-icon img{ width:72px; height:auto; display:block; }

/* =========================
   Footer (Omni-like, professional)
========================= */
.cg-footer-omni{
  background: linear-gradient(180deg, #11162b 0%, #0f1427 55%, #0e1326 100%) !important;
  color: rgba(255,255,255,.82);
  position: relative;
  z-index: 2;
  padding: 0;
}
.cg-footer-omni .cg-footer-shell{
  background: transparent !important;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.cg-footer-omni .cg-footer-top,
.cg-footer-omni .cg-footer-bottom{ background: transparent !important; }
.cg-footer-omni a{ color:rgba(255,255,255,.82) !important; text-decoration:none; }
.cg-footer-omni a:hover{ color:#fff; }
.cg-footer-top{ padding: 44px 0 28px; border-top: none; }
.cg-footer-wrap{
  display:grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 56px;
}
.cg-footer-col h4{
  margin: 0 0 14px;
  color:#fff;
  font-size:16px;
  font-weight: 800;
}
.cg-footer-brandrow{ display:flex; align-items:center; gap:12px; margin-bottom: 14px; }
.cg-footer-col.brand{ display:flex; flex-direction:column; align-items:flex-start; }
.cg-footer-logo{ width:44px; height:44px; border-radius:10px; object-fit:contain; margin: 0 0 12px; }
.cg-footer-logo--fallback{ display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.12); color:#fff; font-weight:800; }
.cg-footer-brandname{ font-weight:800; color:#fff; letter-spacing:.2px; }
.cg-footer-about{ margin: 0; max-width: 340px; line-height: 1.6; color: rgba(255,255,255,.78); }
.cg-footer-links{ list-style:none; padding:0; margin:0; }
.cg-footer-links li{ margin: 11px 0; }
.cg-footer-links a{ font-weight: 600; }

.cg-footer-social{ display:flex; gap:10px; margin: 4px 0 14px; flex-wrap:wrap; }
.cg-social{
  width:44px; height:44px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
}
.cg-social:hover{ background: rgba(255,255,255,.14); }

.cg-footer-contact a{ display:inline-block; margin-top: 4px; }

.cg-footer-bottom{ border-top:1px solid rgba(255,255,255,.10); padding: 18px 0; }
.cg-footer-bottom-inner{ display:flex; justify-content:space-between; align-items:center; gap:16px; }
.cg-footer-copy{ font-size: 13px; color: rgba(255,255,255,.70); text-align:left; }
.cg-footer-builder{ font-size: 13px; color: rgba(255,255,255,.70); text-align:right; }
.cg-footer-builder a{ color: rgba(255,255,255,.70); text-decoration:none; }
.cg-footer-builder a:hover{ color:#fff; }

@media (max-width: 980px){
  .cg-footer-wrap{ grid-template-columns: 1fr 1fr; }
  .cg-footer-top{ padding: 36px 0 22px; }
  .cg-footer-bottom{ padding: 16px 0; }
}
@media (max-width: 560px){
  .cg-footer-wrap{ grid-template-columns: 1fr; }
  .cg-footer-top{ padding: 30px 0 18px; }
  .cg-footer-bottom{ padding: 14px 0; }
}
