:root {
    --gap: 24px;
    --content-gap: 20px;
    --nav-width: 1180px;
    --main-width: 1180px;
    --header-height: 90px;
    --footer-height: 90px;
    --radius: 8px;
    --theme: rgb(255, 255, 255);
    --entry: rgb(255, 255, 255);
    --primary: rgb(30, 30, 30);
    --secondary: rgb(108, 108, 108);
    --tertiary: rgb(214, 214, 214);
    --content: rgb(31, 31, 31);
    --hljs-bg: rgb(28, 29, 33);
    --code-bg: rgb(255, 255, 255);
    --border: rgb(238, 238, 238);
    /* Brand colors — flat solids only, no gradients */
    --brand: #7590F9;
    --brand-dark: #4564C4;
    --brand-light: #EEF2FE;
    --star: #FFB800;
    --surface: #F7F9FF;
    --shadow-sm: 0 2px 10px rgba(69, 100, 196, 0.08);
    --shadow-md: 0 10px 30px rgba(69, 100, 196, 0.14);
}

.list {
    background: var(--code-bg);
}
*,
::after,
::before {
    box-sizing: border-box;
}

html {
    -webkit-tap-highlight-color: transparent;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
         text-size-adjust: 100%;
}

a,
button,
body,
h1,
h2,
h3,
h4 {
    color: var(--primary);
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    word-break: break-word;
    background: var(--theme);
}

article,
figure,
footer,
header,
main,
nav,
section {
    display: block;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
    margin-bottom: 0;
}

ul {
    padding: 0;
}

a {
    text-decoration: none;
}

body,
figure,
ul {
    margin: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    overflow-x: auto;
    word-break: keep-all;
    border: 1px solid #000;
}

 td {
    border: 1px solid #000;
    padding: 8px;
}

button,
input,
textarea {
    padding: 0;
    font: inherit;
    background: 0 0;
    border: 0;
}

input,
textarea {
    outline: 0;
}

button,
input[type=button],
input[type=submit] {
    cursor: pointer;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
    box-shadow: 0 0 0 50px var(--theme) inset;
}

img {
    display: block;
    max-width: 100%;
}
@media screen and (max-width: 768px) {
    /* theme-vars */
    :root {
        --gap: 14px;
    }

    /* profile-mode */

    /* post-entry */

    /* archive */

    /* footer */
    .footer {
        padding: calc((var(--footer-height) - var(--gap) - 10px) / 2) var(--gap);
    }
}

/* footer */

@media (prefers-reduced-motion) {
    /* terms; profile-mode; post-single; post-entry; post-entry; search; search */
    
    .button:active {
        transform: none;
    }
}
.not-found {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
    font-size: 160px;
    font-weight: 700;
}
.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.breadcrumb-item {
    display: inline-block;
    margin-right: 5px;
    font-size: 16px;
}

.breadcrumb-separator {
    margin-right: 5px;
    color: #666;
    font-size: 16px;
}

@media (max-width: 768px) {
    .breadcrumb {
        display: flex;
        flex-wrap: wrap;
    }

    .breadcrumb-item {
        margin-right: 5px;
        font-size: 14px;
        display: flex;
        align-items: center;
    }

    .breadcrumb-separator {
        margin-right: 2px;
        color: #666;
        font-size: 12px;
    }

    .breadcrumb-list {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/* ============================================================
   Callback widget — floating phone FAB + mini popup.
   FAB always visible with a gentle buzz; popup auto-opens once
   per session. Mobile-first, dark-mode aware.
   ============================================================ */

/* ---------- Floating action button ---------- */
.cb-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900; /* below mobile drawer (1001) and backdrop (1000) */
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 6px 18px rgba(69, 100, 196, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  border: 0;
  transition: background 0.2s ease;
}

.cb-fab:hover {
  background: var(--brand-dark);
}

.cb-fab img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* white icon on brand blue */
  animation: cb-shake 6s ease-in-out infinite; /* occasional gentle buzz */
  transform-origin: center;
}

/* Pulsing ring around the FAB */
.cb-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(117, 144, 249, 0.55);
  animation: cb-ring 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes cb-ring {
  0%   { box-shadow: 0 0 0 0 rgba(117, 144, 249, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(117, 144, 249, 0); }
  100% { box-shadow: 0 0 0 0 rgba(117, 144, 249, 0); }
}

@keyframes cb-shake {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-12deg); }
  92% { transform: rotate(10deg); }
  94% { transform: rotate(-8deg); }
  96% { transform: rotate(6deg); }
  98% { transform: rotate(0); }
}

/* Pause the buzz while the popup is open */
.cb-fab.cb-active::after,
.cb-fab.cb-active img {
  animation: none;
}

/* ---------- Mini popup ---------- */
.cb-popup {
  position: fixed;
  right: 20px;
  bottom: 84px; /* sits just above the FAB */
  z-index: 901;
  width: min(270px, calc(100vw - 40px));
  background: var(--entry);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(30, 42, 82, 0.22);
  padding: 1rem 1rem 1.1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.cb-popup.cb-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.cb-close {
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 22px;
  line-height: 1;
  padding: 6px;
  color: var(--secondary);
  background: none;
  border: 0;
  cursor: pointer;
}

.cb-close:hover {
  color: var(--primary);
}

.cb-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.cb-sub {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 1.45;
}

.cb-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cb-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  color: var(--primary);
  background: var(--theme);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cb-input:focus {
  border-color: var(--brand);
  outline: none;
}

.cb-submit {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cb-submit:hover {
  background: var(--brand-dark);
}

.cb-success {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-dark);
  text-align: center;
}

/* Lift the widget above the mobile sticky CTA bar on teenus pages */
@media (max-width: 767px) {
  body.has-sticky-cta .cb-fab {
    bottom: calc(76px + 12px);
  }

  body.has-sticky-cta .cb-popup {
    bottom: calc(76px + 12px + 64px);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion) {
  .cb-fab::after,
  .cb-fab img {
    animation: none;
  }

  .cb-popup {
    transition: none;
  }
}
.footer {
    font-size: 12px;
    color: var(--secondary);
}

.footer {
    max-width: calc(var(--main-width) + var(--gap) * 2);
    margin: auto;
    padding: calc((var(--footer-height) - var(--gap)) / 2) var(--gap);
    text-align: center;
    line-height: 24px;
}

.footer span {
    margin-inline-start: 1px;
    margin-inline-end: 1px;
}

.footer span:last-child {
    white-space: nowrap;
}

.footer a {
    color: inherit;
    border-bottom: 1px solid var(--secondary);
}

.footer a:hover {
    border-bottom: 1px solid var(--primary);
}

.footer a:hover {
    color: var(--primary);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: calc(var(--nav-width) + var(--gap) * 2);
    margin-inline-start: auto;
    margin-inline-end: auto;
    line-height: var(--header-height);
}

.nav a {
    display: block;
}

.logo,
#menu {
    display: flex;
    margin: auto var(--gap);
}

.logo {
    flex-wrap: inherit;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
}

.logo a img, .logo a svg {
    display: inline;
    vertical-align: middle;
    pointer-events: none;
    transform: none; /* Center vertically with align-items */
    border-radius: 6px;
    margin-inline-end: 8px;
}

#menu {
    list-style: none;
    word-break: keep-all;
    overflow-x: auto;
    white-space: nowrap;
    align-items: center; /* vertically center the nav-cta button */
}

#menu li + li {
    margin-inline-start: var(--gap);
}

#menu a {
    font-size: 16px;
}

#menu .active {
    font-weight: 500;
    border-bottom: 2px solid currentColor;
}

/* CTA button in the main navigation ("KÜSI PAKKUMIST") */
#menu a.nav-cta {
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 18px;
    line-height: 1.5; /* override the full header-height line-height */
    transition: background 0.2s ease;
}

#menu a.nav-cta:hover {
    background: var(--brand-dark);
    color: #fff;
}

#menu a.nav-cta span {
    border-bottom: none; /* never show the active underline inside the button */
}

/* Same CTA styling inside the mobile drawer */
#mobile-menu li a.nav-cta {
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    margin: 8px 12px;
    text-align: center;
}

#mobile-menu li a.nav-cta:hover {
    background: var(--brand-dark);
    color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.navbar-one {
    display: flex;
    justify-content: space-between;
    padding: 0 20px; /* Reduce padding for mobile */
    width: 100%;
    max-width: 1180px; /* Set the maximum width */
    margin: 0 auto; /* Center the navbar within the maximum width */
    background-color: #7590F9;
    color: black; /* Change text color to a color with better contrast */
    cursor: pointer;
    font-size: 14px; /* Adjust the font size as needed */
}


.flex {
    display: flex;
}

.left > div + div {
    margin-left: 20px; /* Reduce the left margin for mobile */
}

.right > div {
    margin-right: 20px; /* Reduce the right margin for mobile */
}

.left > div:first-child {
    margin-left: 20px; /* Add extra space on the left of the email */
}

.right > div:last-child {
    margin-right: 20px; /* Add extra space on the right of Facebook */
}


.left.flex a {
    text-decoration: none; /* Remove the underline */
    color: inherit; /* Inherit the color from the parent element */
}

.left.flex a:hover {
    color: white; /* Inherit the color from the parent element on hover */
}

.right.flex a {
    text-decoration: none; /* Remove the underline */
    color: inherit; /* Inherit the color from the parent element */
}

.right.flex a:hover {
    color: white; /* Inherit the color from the parent element on hover */
}


/* Media Query for mobile screens (scoped to upper blue bar) */
@media (max-width: 768px) {
    .navbar-one { padding: 6px 12px; flex-direction: column; align-items: center; gap: 8px; }

    /* Put socials above contacts */
    .navbar-one .right { 
        order: -1; 
        display: flex; 
        flex-direction: row; 
        gap: 16px; 
        justify-content: center; 
        align-items: center;
        width: 100%;
    }

    /* Contacts row below (email + phone) */
    .navbar-one .left { 
        display: flex; 
        flex-direction: column; 
        gap: 8px; 
        justify-content: center; 
        align-items: center;
        width: 100%;
    }

    /* Reset margins for compact stacking */
    .navbar-one .left > div,
    .navbar-one .right > div {
        margin: 0;
    }
}

.icon {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

/* 24/7 badge next to the phone number in the top bar */
.badge-247 {
    display: inline-block;
    margin-left: 6px;
    background: #ffffff;
    color: #4564C4;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    padding: 1px 8px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.left a, .right a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

/* ===== Mobile hamburger + drawer (CSS-only) ===== */

/* Hide default summary marker */
.hamburger::-webkit-details-marker { display: none; }

.hamburger {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    border: 0;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

/* Checkbox-driven state */
#nav-toggle:checked + .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
#nav-toggle:checked + .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Backdrop controlled by checkbox */
.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 1000;
}
#nav-toggle:checked ~ .backdrop { opacity: 1; pointer-events: auto; }

/* Drawer open via checkbox */
#nav-toggle:checked ~ .mobile-drawer { 
    transform: translateX(0);
    box-shadow: -2px 0 12px rgba(0,0,0,.15); /* apply shadow only when open */
}

/* Scroll lock when open */
body:has(#nav-toggle:checked) { overflow: hidden; }

/* Morph to "X" when open */

/* Off-canvas drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80vw;
    max-width: 380px;
    background: #fff;
    color: inherit;
    box-shadow: none; /* no shadow when closed to avoid right-edge artifact */
    transform: translateX(100%);
    transition: transform .25s ease;
    padding: 16px 14px; /* Slightly reduced padding to reduce perceived gaps */
    z-index: 1001;
    overflow-y: auto;
}

/* kept for backwards compatibility; checkbox rule above drives open state */
/* .mobile-nav[open] .mobile-drawer { transform: translateX(0); } */

/* Overlay now provided by .backdrop label tied to #nav-toggle */

/* Prevent background scroll in supporting browsers */
/* body:has(.mobile-nav[open]) { overflow: hidden; } now superseded by checkbox rule */
body:has(#nav-toggle:checked) { overflow: hidden; }

/* Vertical list inside drawer */
#mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0; /* Tighter spacing */
}
#mobile-menu li a {
    display: block;
    padding: 10px 12px; /* Compact touch target */
    font-size: 18px;
    text-decoration: none;
    color: inherit;
}
#mobile-menu .active {
    font-weight: 600;
    border-bottom: 0;
}

/* Close button inside drawer */
.close-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 28px;
    line-height: 1;
    padding: 6px;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

/* Responsive switches */
@media (min-width: 1025px) {
    .hamburger { display: none; }
    .mobile-drawer, .backdrop { display: none; } /* hide off-canvas elements on desktop */
}
@media (max-width: 1024px) {
    .hamburger { display: inline-flex; margin: auto var(--gap); }
    #menu { display: none; }
}
/* ============================================================
   Homepage redesign — hero, USP band, services grid, steps,
   accordions, testimonials. Mobile-first.
   ============================================================ */

.home-page .post-header {
  display: none; /* hero carries the title visually */
}

/* Allow the full-bleed hero without horizontal scroll */
body {
  overflow-x: clip;
}

/* ---------- Hero (full-bleed flat tint) ---------- */
.home-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--brand-light);
  margin: 0 calc(50% - 50vw) 0; /* no negative top offset — keeps a tiny gap below the header so the hero tint never overlaps the logo */
  padding: 2rem calc(50vw - 50%);
}

.home-hero-text h1 {
  font-size: 1.65rem;
  line-height: 1.2;
  margin: 0 0 0.9rem;
  color: var(--primary);
}

.h1-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 0.55rem;
}

.h1-dash {
  display: none; /* dash stays in DOM for text extraction, hidden visually */
}

.home-hero-image {
  position: relative;
}

.home-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: block;
}

/* Aggregate star rating badge */
.agg-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--brand-light);
  border: 1px solid rgba(117, 144, 249, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

/* Floating rating card pinned to the hero photo */
.agg-rating-float {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.45rem 0.8rem;
  box-shadow: 0 8px 24px rgba(30, 42, 82, 0.2);
}

.agg-rating .stars {
  color: var(--star);
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.agg-rating .score {
  font-size: 0.95rem;
}

.agg-rating .count {
  color: var(--secondary);
  font-weight: 400;
  font-size: 0.85rem;
}

/* USP pills (checklist) */
.usp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
}

.usp-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
}

.usp-pills .checkmark {
  width: 16px;
  height: 16px;
}

/* Hero CTA buttons */
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  cursor: pointer;
}

.cta-btn:active {
  transform: scale(0.98);
}

.cta-btn-primary {
  background: var(--brand);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(117, 144, 249, 0.45);
}

.cta-btn-primary:hover {
  background: var(--brand-dark);
  /* no transform/shadow change — identical hover behavior to .cta-btn-phone */
}

.cta-btn-phone {
  background: var(--entry);
  color: var(--brand-dark) !important;
  border: 2px solid var(--brand) !important;
}

.cta-btn-phone:hover {
  background: var(--brand-light);
}

.cta-icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ---------- 24/7 band ---------- */
.band-247 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  background: var(--brand);
  color: #fff;
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  margin: 1.5rem 0 2rem;
  box-shadow: var(--shadow-md);
}

.band-247 .band-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.band-247 .band-label img {
  width: 30px;
  height: 30px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  filter: brightness(0) invert(1);
}

.band-247 .band-phone {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none !important;
  border-bottom: none !important;
  letter-spacing: 0.5px;
}

.band-247 .band-note {
  font-size: 0.88rem;
  opacity: 0.92;
  margin: 0;
}

/* ---------- Section headings ---------- */
.home-section {
  margin: 0 0 2.25rem;
}

.home-section-title {
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
  color: var(--primary);
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--entry);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--primary);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.service-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  background: var(--brand-light);
}

.service-card-body {
  padding: 0.7rem 0.8rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.service-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--primary);
}

.service-card-price {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Steps (how it works) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.step-num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(117, 144, 249, 0.4);
}

.step-card img {
  flex: none;
  width: 56px;
  height: 56px;
}

.step-card p {
  margin: 0;
  font-weight: 600;
  color: var(--primary);
  font-size: 1rem;
}

/* ---------- Contact form card ---------- */
.home-form-card {
  background: var(--surface);
  border: 1px solid rgba(117, 144, 249, 0.35);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.home-form-card .styled-form {
  border: none;
  padding: 0;
  background: transparent;
}

/* ---------- Accordions (Q&A) ---------- */
.home-accordions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

details.accordion {
  background: var(--entry);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

details.accordion > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.1rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  -webkit-tap-highlight-color: transparent;
}

details.accordion > summary::-webkit-details-marker {
  display: none;
}

details.accordion > summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}

details.accordion[open] > summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

details.accordion > summary:hover {
  background: var(--brand-light);
}

details.accordion .accordion-body {
  padding: 0 1.1rem 1rem;
  color: var(--content);
  line-height: 1.7;
}

details.accordion .accordion-body > :first-child {
  margin-top: 0;
}

/* ---------- Testimonials ---------- */
.testimonials-container {
  max-width: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.testimonials-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--primary);
}

.testimonial {
  background: var(--entry) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 1.1rem 1.2rem !important;
  margin: 0 !important;
  box-shadow: var(--shadow-sm) !important;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: var(--star) !important;
  font-size: 1.15rem !important;
  letter-spacing: 2px;
  margin-bottom: 0.5rem !important;
}

.testimonial-text {
  color: var(--content) !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

.testimonial-author {
  color: var(--secondary) !important;
  margin-top: auto;
}

/* ---------- Tablet & desktop ---------- */
@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }

  .band-247 {
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
    padding: 0.85rem 2rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .step-card {
    flex-direction: column;
    text-align: center;
    padding: 1.4rem 1rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .home-hero {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.5rem;
    padding: 2.75rem calc(50vw - 50%);
  }

  .home-hero-text h1 {
    font-size: 2.4rem;
  }

  .h1-eyebrow {
    font-size: 0.85rem;
  }

  .usp-pills {
    flex-wrap: nowrap;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .home-section-title {
    font-size: 1.8rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-form-card {
    padding: 2rem;
  }
}
.container {
    display: flex; /* Use flex display */
    justify-content: center; /* Horizontally centers flex items */
}

.box {
    width: 30%; /* Adjust the width as needed */
    padding: 5px;
    border: 0px solid #ccc;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box img {
    display: block;
    width: 100px; /* Set the width of the image */
    height: 100px; /* Set the height of the image */
}


/* Style the checklist items */
.checklist-item {
    display: flex;
    align-items: center;
}



.main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-box {
    flex: 3;
    padding: 0;
}

.right-box {
    flex: 5;
    padding: 0;
}


.text-field {
    order: 2; /* Move text field below the image on mobile */
    padding: 0px;
    margin-right: 5px;
}

.image-field {
    order: 1; /* Move image field above the text on mobile */
    text-align: center; /* Center align image on mobile */
}
.image-field img {
    max-width: 100%; /* Ensures the image does not exceed the container width */
    height: auto;
}

/* Media query for screens larger than mobile */
@media (min-width: 768px) {
    .main-container {
        flex-direction: row; /* Revert to row layout on larger screens */
    }

    .text-field {
        order: 1; /* Revert order for larger screens */
    }

    .image-field {
        order: 2; /* Revert order for larger screens */
        text-align: right; /* Revert text alignment for larger screens */
        min-width: 35%;
    }
}

/* Media Query for mobile screens */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column; /* Stack boxes vertically on smaller screens */
    }

    .left-box, .right-box {
        flex: none; /* Reset the flex property for both boxes */
        width: 100%; /* Make them take the full width of the container */
    }
}


/* Style the CTA button */

/* Style the form container */
.styled-form {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #7590F9;
    border-radius: 3px;
}

/* Style form fields */
.styled-form input,
.styled-form textarea {
    width: 100%;
    padding: 3px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s, background-color 0.3s; /* Add smooth transition effect */
}

/* Add focus styles for form fields */
.styled-form input:focus,
.styled-form textarea:focus {
    border-color: #7590F9; /* Change border color when focused */
    background-color: #f0f0f0; /* Change background color when focused */
    cursor: text; /* Change cursor style to text when focused */
}

/* Center the submit button */
.styled-form button {
    background-color: #7590F9; /* Blue color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0 auto; /* Center the button horizontally */
    display: block; /* Ensure the button takes the full width of its container */
}

.styled-form button:hover {
    background-color: #4564C4; /* Darker blue on hover */
}

/* Prevent the "Message" textarea from being resized or dragged */
textarea#contact-form-message {
    resize: none; /* Disable resizing */
    overflow: hidden; /* Prevent scrollbars */
}


/* CTA button in articles*/
.cta-button-article {
    text-align: left;
    margin-top: 20px; /* Add margin as needed */
}

.cta-link-article {
    display: inline-block;
    padding: 10px 20px;
    background-color: #7590F9;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: normal;
}

.cta-button-article {
    text-align: center;
}

.cta-link-article {
    display: inline-block;
    /* Add any additional styling for the button */
}

/* Change the color for all <a> links on hover, except the ones in .navbar-one, .header, .footer, .cta-button-article, and .cta-button */
body a:not(.navbar-one a):not(.header a):not(.footer a):not(.cta-button-article a):not(.cta-button a) {
    color: #3344dd; /* Change to the desired default color */
    transition: color 0.3s; /* Add a smooth color transition on hover */
}

/* Change the color on hover */
body a:not(.navbar-one a):not(.header a):not(.footer a):not(.cta-button-article a):not(.cta-button a):hover {
    color: #7590F9; /* Change to the desired hover color */
}


.checkmark {
    width: 22px; /* Set the desired width for the icon */
    height: 22px; /* Set the desired height for the icon */
}
.main {
    position: relative;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
    max-width: calc(var(--main-width) + var(--gap) * 2);
    margin: auto;
    padding: var(--gap);
}

.post-header {
    margin: 24px auto var(--content-gap) auto;
}

.post-title {
    margin-bottom: 2px;
    font-size: 40px;
}

.post-description {
    margin-top: 10px;
    margin-bottom: 5px;
}

.post-content {
    color: var(--content);
}

.post-content h3,
.post-content h4 {
    margin: 24px 0 16px;
}

.post-content h1 {
    margin: 40px auto 32px;
    font-size: 40px;
}

.post-content h2 {
    margin: 32px auto 24px;
    font-size: 32px;
}

.post-content h3 {
    font-size: 24px;
}

.post-content h4 {
    font-size: 16px;
}

.post-content a {
    box-shadow: 0 1px 0;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}


.post-content ol,
.post-content p,
.post-content figure,
.post-content ul {
    margin-bottom: var(--content-gap);
}

.post-content ol,
.post-content ul {
    padding-inline-start: 20px;
}

.post-content li {
    margin-top: 5px;
}

.post-content li p {
    margin-bottom: 0;
}

.post-content iframe {
    max-width: 100%;
}

.post-content img {
    border-radius: 4px;
    margin: 1rem 0;
}

h1>a>svg {
    display: inline;
}

/* Spacing reductions: keep ~20% of original top space above post header and reduce main top padding */
body#top > main.main {
    /* Original was padding: var(--gap); Keep only ~20% on top to tighten space under site header */
    padding-top: calc(var(--gap) * 0.2);
}

body#top > main.main > article.post-single > header.post-header {
    /* Original margin-top was 24px; reduce to ~20% */
    margin-top: calc(var(--gap) * 0.2);
}

/* Also handle pages using .page-header (lists/terms etc.) */

/* Cover image (moved from deleted post-entry.css) */
.entry-cover {
    font-size: 14px;
    margin-bottom: var(--gap);
    text-align: center;
}

.entry-cover img {
    border-radius: var(--radius);
    width: 100%;
    height: auto;
}

.entry-cover a {
    color: var(--secondary);
    box-shadow: 0 1px 0 var(--primary);
}
/* ============================================================
   Service (teenus) pages — hero band, pricing calculator,
   revealed contact form, FAQ accordions, sticky mobile CTA.
   Mobile-first.
   ============================================================ */

.teenus-page .post-header {
  margin-bottom: 0;
}

/* ---------- Service hero band ---------- */
.teenus-hero {
  background: var(--brand);
  border-radius: 16px;
  color: #fff;
  padding: 1.4rem 1.25rem;
  margin: 0 0 1.5rem;
  box-shadow: var(--shadow-md);
}

.teenus-hero .breadcrumb-list {
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.teenus-hero .breadcrumb-item a,
.teenus-hero .breadcrumb-item a span,
.teenus-hero .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.85rem;
}

.teenus-hero .breadcrumb-item:last-child a span {
  font-weight: 600;
}

.teenus-hero .post-title {
  color: #fff;
  margin: 0 0 0.6rem;
  font-size: 1.7rem;
  line-height: 1.2;
}

.teenus-hero .agg-rating {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.teenus-hero .agg-rating .count {
  color: rgba(255, 255, 255, 0.85);
}

.teenus-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 1.1rem;
}

.teenus-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.teenus-badge img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.teenus-price-badge {
  display: inline-block;
  background: #fff;
  color: var(--brand-dark);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.teenus-hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.teenus-hero-ctas .cta-btn-phone {
  background: #fff;
}

.teenus-hero-ctas .cta-btn-quote {
  background: rgba(255, 255, 255, 0.14);
  border: 2px solid #fff !important;
  color: #fff !important;
}

.teenus-hero-ctas .cta-btn-quote:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ---------- Intro card (existing main-container) ---------- */
.teenus-intro-card .main-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  gap: 1.25rem;
}

.teenus-intro-card .image-field img {
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.teenus-intro-card .text-field p {
  line-height: 1.7;
  color: var(--content);
}

/* Price bubble inside intro: bigger, cleaner */

/* ---------- Calculator ---------- */
.calc-card {
  background: var(--entry);
  border: 2px solid var(--brand);
  border-radius: 16px;
  padding: 1.25rem;
  margin: 1.75rem 0;
  box-shadow: var(--shadow-md);
}

.calc-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 0.35rem;
}

.calc-sub {
  color: var(--secondary);
  font-size: 0.92rem;
  margin: 0 0 1.1rem;
}

.calc-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1.1rem;
}

.calc-legend {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.55rem;
  padding: 0;
}

/* Radio / checkbox option chips */
.calc-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.calc-option:hover {
  border-color: var(--brand);
}

.calc-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
  flex: none;
  margin: 0;
}

.calc-option .opt-label {
  flex: 1;
  font-size: 0.95rem;
  color: var(--primary);
}

.calc-option:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-light);
  box-shadow: 0 0 0 1px var(--brand);
}

/* Quantity input row */
.calc-qty-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calc-qty-row input[type="number"] {
  width: 110px;
  padding: 0.7rem 0.8rem;
  font-size: 1.05rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--primary);
}

.calc-qty-row input[type="number"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(117, 144, 249, 0.25);
}

.calc-qty-row .qty-unit {
  font-weight: 600;
  color: var(--secondary);
}

.calc-extra-qty {
  width: 76px;
  padding: 0.4rem 0.55rem;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--primary);
  margin-left: auto;
}

/* Estimate box */
.calc-estimate {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  background: var(--brand-light);
  border: 1px dashed var(--brand);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.1rem;
}

.calc-estimate .est-label {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.calc-estimate .est-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-dark);
  white-space: nowrap;
}

.calc-estimate .est-note {
  display: block;
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 400;
}

/* Revealed contact form */
.calc-form-slot .form-reveal-note {
  font-size: 0.9rem;
  color: var(--secondary);
  margin: 0.75rem 0 0;
}

.calc-form-slot .styled-form {
  margin-top: 0.9rem;
  border-radius: 12px;
}

form.contact-form.form-hidden {
  display: none;
}

/* ---------- Price tables ---------- */
.teenus-content table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
}

.teenus-content table td {
  border: 1px solid var(--border);
  padding: 0.7rem 0.9rem;
  background: var(--entry);
}

.teenus-content table tr:first-child td {
  background: var(--brand);
  color: #fff;
  font-size: 0.95rem;
}

.teenus-content table tr:first-child td strong {
  color: #fff;
}

/* ---------- FAQ accordions (JS-built from h3/h4) ---------- */
.teenus-faq details.accordion {
  margin-bottom: 0.6rem;
}

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: var(--entry);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
}

.sticky-cta .cta-btn {
  flex: 1;
  padding: 0.8rem 0.5rem;
  font-size: 0.95rem;
}

/* Offset page bottom so bar doesn't cover content */
body.has-sticky-cta .main {
  padding-bottom: calc(76px + var(--gap));
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }

  body.has-sticky-cta .main {
    padding-bottom: var(--gap);
  }
}

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  .teenus-hero {
    padding: 2rem 2.25rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    -moz-column-gap: 2rem;
         column-gap: 2rem;
  }

  .teenus-hero .post-title {
    font-size: 2.2rem;
  }

  .teenus-hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
  }

  .teenus-hero-ctas {
    flex-direction: row;
    margin-top: 0;
  }

  .calc-card {
    padding: 1.75rem 2rem;
  }

  .calc-options.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
  }
}
/* Price bubble text color fix for better contrast */

/* Teenused Page Grid Layout */

.teenused-page .teenused-content {
  max-width: 100%;
}

.teenused-intro {
  margin-bottom: 2rem;
}

.teenused-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--primary);
}

/* Grid container - 2 columns */
.teenused-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Individual service box */
.teenused-box {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.teenused-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.teenused-box h2 {
  font-size: 1.3rem;
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}

.teenused-box h2:before {
  content: none;
}

.teenused-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--primary);
  margin: 0;
}

.teenused-box p:not(:last-child) {
  margin-bottom: 0.75rem;
}

.teenused-box a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.teenused-box a:hover {
  text-decoration: none;
}

/* Clickable box wrapper */
a.teenused-box-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
  border-bottom: none !important;
}

a.teenused-box-link:hover {
  text-decoration: none !important;
  border-bottom: none !important;
}

a.teenused-box-link .teenused-box {
  cursor: pointer;
}

/* Remove all underlines from elements inside the grid */
.teenused-grid a,
.teenused-grid a:hover,
.teenused-grid a:visited,
.teenused-grid a:active {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* FAQ section styling */
.teenused-faq {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.teenused-faq h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.teenused-faq p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--primary);
}

/* Responsive - single column on mobile */
@media (max-width: 768px) {
  .teenused-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .teenused-box {
    padding: 1.25rem;
  }
  
  .teenused-box h2 {
    font-size: 1.15rem;
  }
  
  .teenused-box p {
    font-size: 0.9rem;
  }
}

/* Tablet - maintain 2 columns but with smaller gap */
@media (min-width: 769px) and (max-width: 1024px) {
  .teenused-grid {
    gap: 1rem;
  }
  
  .teenused-box {
    padding: 1.25rem;
  }
}
.testimonials-container {
  margin: 0.5rem auto;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  max-width: 800px;
}

.testimonials-container h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #333;
}

.testimonial {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.testimonial-stars {
  color: #f39c12;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  text-align: right;
  font-weight: bold;
  color: #333;
}
/* from reset */
::-webkit-scrollbar-track {
    background: 0 0;
}

.list:not(.dark)::-webkit-scrollbar-track {
    background: var(--code-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--tertiary);
    border: 5px solid var(--theme);
    border-radius: var(--radius);
}

.list:not(.dark)::-webkit-scrollbar-thumb {
    border: 5px solid var(--code-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

::-webkit-scrollbar:not(.highlighttable, .highlight table, .gist .highlight) {
    background: var(--theme);
}

/* from post-single */

.post-content :not(table) ::-webkit-scrollbar-thumb {
    border: 2px solid var(--code-block-bg);
    background: rgb(113, 113, 117);
}

.post-content :not(table) ::-webkit-scrollbar-thumb:hover {
    background: rgb(163, 163, 165);
}

.gist table::-webkit-scrollbar-thumb {
    border: 2px solid rgb(255, 255, 255);
    background: rgb(173, 173, 173);
}

.gist table::-webkit-scrollbar-thumb:hover {
    background: rgb(112, 112, 112);
}

.post-content table::-webkit-scrollbar-thumb {
    border-width: 2px;
}

/* from zmedia */
@media screen and (min-width: 768px) {

    /* reset */
    ::-webkit-scrollbar {
        width: 19px;
        height: 11px;
    }
}
