.header{padding:1em}#main-search{margin-top:3em}#index-intro{background-image:url(https://res.cloudinary.com/dgc50iktu/image/upload/v1719195433/python_tw498x.png);background-repeat:no-repeat;background-position:top}#main-search input{border-radius:.2em 0}h3{font-size:1.6em!important;font-weight:700}#tutorials,.intro-img{padding-top:2em!important}.content{padding-bottom:2em!important}.tutorial{padding:1.5em;--tutorial-color:#895656}.description{font-size:.95em!important}.media{float:left;padding:2em;padding-right:.3em!important;margin-top:1.2em!important;font-family:Arial,Helvetica,sans-serif!important;font-size:1em!important;border-radius:0 .1em}@media screen and (max-width:400px){.media{padding:1em!important}}.media-row{margin-right:-.75em!important;margin-left:.05em!important}.media-active{transform:translateY(0);opacity:4}@media screen and (min-width:768px){.media{width:calc(50% - 1em);margin-right:1em}#top-search{display:none}}.media>a{text-decoration:none;opacity:0;color:#222!important}#articles,#tutorials{background:#eef!important}::-webkit-scrollbar{width:10px;height:10px}.media-image{float:left;width:100px!important;height:100px!important;margin-right:1.5em}.media-body,.media-body h4{margin-top:0}.tutorial .tutorial-heading{color:var(--tutorial-color)!important}.clearfix::after,.clearfix::before{display:table;content:" "}.clearfix::after{clear:both}#articles{padding-top:1.5em}#search-items{padding-left:0;margin-left:0}#search-btn{margin-left:0;border-radius:0!important}#search-block{padding:5px!important;margin:0!important}#search{background-color:#eef;border-radius-left:2px!important}@media screen and (max-width:768px){#search-div{display:block}}#search-div{color:#fff;background:#00be62!important}#search-prompt{display:none!important}#index-search-prompt{display:block}#category-img{margin-bottom:1em}.learn-more-btn{padding:.6em 1em;font-weight:700;color:#fff!important;border-radius:0!important}@media screen and (min-width:992px){#articles{position:-webkit-sticky;position:sticky!important;top:0!important;height:855px!important;overflow:auto}}.intro{background:linear-gradient(to right,#eef,#eef,#fff)!important}

.hero-wrap{padding:1.2em;border-radius:14px;background:linear-gradient(135deg,#eef,#f4f6ff 60%,#fff 100%);box-shadow:0 12px 32px rgba(28,40,66,.08)}
.hero-left{display:flex;flex-direction:column;gap:1rem}
.hero-lead{font-size:1.02em;color:#344054}
.code-card{background:#f1f5f9;color:#1f2937;border-radius:12px;padding:16px 18px;box-shadow:inset 0 0 0 1px rgba(148,163,184,.3)}
.code-card .code-title{font-size:.85em;letter-spacing:.04em;text-transform:uppercase;color:#64748b;margin-bottom:.4rem}
.code-card pre{margin:0;background:transparent;color:inherit;padding:.15rem 0}
.code-card code{color:inherit;display:block;line-height:1.5}
.code-card .code-func{color:#1d4ed8;font-weight:700}
.code-card .code-punc{color:#334155}
.code-card .code-str{color:#0f766e}
.code-cta{display:inline-flex;align-items:center;margin-top:.6rem;font-size:.85em;color:#1d4ed8;text-decoration:none;border:1px solid rgba(59,130,246,.35);padding:.35em .6em;border-radius:6px}
.code-cta:hover{background:rgba(59,130,246,.08)}
.hero-right{display:flex;flex-direction:column;justify-content:center;gap:.6rem}
.hero-subcopy{color:#334155;margin:0 auto;max-width:520px}
.hero-cta-row{display:flex;flex-direction:column;align-items:center;gap:.6rem}
.hero-cta{border-radius:6px!important;padding:.7em 1.2em}
.hero-ad{margin-top:.6rem}

.tutorials-panel{border-radius:14px;padding:1rem}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.2rem .4rem .6rem}
.section-hint{font-size:.85em;color:#64748b}
.tutorial-heading-row{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.tutorial-badge{font-size:.75em;color:#1d4ed8;background:#dbeafe;border-radius:999px;padding:.2em .6em}
.tutorial-card{border:1px solid rgba(148,163,184,.2);border-radius:10px;transition:transform .15s ease,box-shadow .15s ease}
.tutorial-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px rgba(15,23,42,.12)}
.tutorial-card .description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ad-block{border:1px dashed #cbd5f5;border-radius:10px}

@media screen and (max-width:992px){
  .hero-cta-row{align-items:stretch}
}

.tools-panel{
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(180deg, #f8fbff 0%, #eef3ff 100%);
  border: 1px solid rgba(96, 135, 255, 0.25);
}

.tools-head{
  margin-bottom: .35rem;
}

.tools-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:.8rem;
}

.tool-item{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:#0f172a !important;
  background:#ffffff;
  border:1px solid rgba(148, 163, 184, .35);
  border-radius: 12px;
  padding:.9rem .9rem .8rem;
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  min-height:170px;
}

.tool-item:hover{
  transform: translateY(-2px);
  border-color:#4f7cff;
  box-shadow:0 10px 20px rgba(47, 73, 160, 0.14);
}

.tool-tag{
  display:inline-block;
  width:max-content;
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#1d4ed8;
  border:1px solid rgba(37, 99, 235, .25);
  border-radius:999px;
  padding:.14rem .45rem;
  margin-bottom:.5rem;
}

.tool-item h4{
  margin:0;
  font-size:1.03rem;
  font-weight:700;
}

.tool-item p{
  margin:.5rem 0 .65rem;
  font-size:.9rem;
  line-height:1.45;
  color:#475569;
}

.tool-open{
  margin-top:auto;
  font-weight:700;
  color:#1d4ed8;
}

.tools-foot{
  margin-top: .9rem;
  display:flex;
  justify-content:center;
}

@media screen and (max-width:1200px){
  .tools-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width:768px){
  .tools-grid{
    grid-template-columns:1fr;
  }
}
