/* Site-wide polish (loaded on every public page after the page's own CSS). */

/* Buttons: no underline, one smooth hover animation everywhere. */
.elementor-button,
.elementor-button *,
.elementor-flip-box__button,
.mb-btn,
.wp-block-button__link,
.button,
a.button {
  text-decoration: none !important;
}
/* All buttons bold. */
.elementor-button,
.elementor-button .elementor-button-text,
.elementor-flip-box__button,
.mb-btn,
.wp-block-button__link,
.button,
button,
input[type="submit"],
.myh-btn,
.myf-btn {
  font-weight: 700 !important;
}
.elementor-button,
.elementor-flip-box__button {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease !important;
  will-change: transform;
}
.elementor-button:hover,
.elementor-button:focus-visible,
.elementor-flip-box__button:hover,
.elementor-flip-box__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(4, 106, 249, .55);
}
.elementor-button:active,
.elementor-flip-box__button:active { transform: translateY(0); }

/* Long labels (service flip cards): wrap neatly inside a rounded button. */
.elementor-flip-box__button {
  display: inline-block !important;
  max-width: 100%;
  white-space: normal !important;
  line-height: 1.35 !important;
  text-align: center;
  padding: .75em 1.4em !important;
  border-radius: 999px !important;
  border-width: 1.5px !important;
  letter-spacing: .02em;
}
.elementor-button .elementor-button-text { line-height: 1.35; }

/* About page photos: Elementor's mask-shape files are not on the server (404), which hid the photos.
   Same shapes, served from the dashboard assets. */
.elementor .elementor-element.elementor-element-58074b08.elementor-widget-image img {
  -webkit-mask-image: url(/dashboard-assets/img/shape-blue-1.png) !important;
  mask-image: url(/dashboard-assets/img/shape-blue-1.png) !important;
  -webkit-mask-size: contain !important; mask-size: contain !important;
  -webkit-mask-position: center !important; mask-position: center !important;
  -webkit-mask-repeat: no-repeat !important; mask-repeat: no-repeat !important;
}
.elementor .elementor-element.elementor-element-75b26647.elementor-widget-image img {
  -webkit-mask-image: url(/dashboard-assets/img/mask-blob.svg) !important;
  mask-image: url(/dashboard-assets/img/mask-blob.svg) !important;
  -webkit-mask-size: 100% auto !important; mask-size: 100% auto !important;
  -webkit-mask-position: center !important; mask-position: center !important;
  -webkit-mask-repeat: no-repeat !important; mask-repeat: no-repeat !important;
}

/* Entrance animations: content is never hidden while waiting for them (visitors, Google and AI tools
   always see it), and every animation is one calm fade-up instead of spins and bounces. */
.elementor-invisible { visibility: visible !important; }
.elementor-element.animated {
  animation-name: mymFadeUp !important;
  animation-duration: .7s !important;
  animation-timing-function: cubic-bezier(.2, .7, .2, 1) !important;
}
@keyframes mymFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .elementor-element.animated { animation: none !important; } }

/* Counters: numbers never collapse while counting. */
.elementor-counter-number,
.mym-count { font-variant-numeric: tabular-nums; }

/* Keyboard focus that is visible but calm. */
a:focus-visible,
button:focus-visible { outline: 2px solid #0A5CFF; outline-offset: 3px; }

/* Mobile: no sideways scrolling. An icon box with a long email beside its icon was wider than the
   screen on /seo-expert-in-bangladesh/; the clip on <html> is a safety net for any other overflow. */
html { overflow-x: clip; }
@media (max-width: 767px) {
  .elementor-icon-box-wrapper .elementor-icon-box-content { min-width: 0; flex: 1 1 0; }
  .elementor-icon-box-description a[href^="mailto:"] { overflow-wrap: anywhere; }
}

/* Home hero: "Get a Free Consultation" (main) above "Watch My Story" (outline). */
.elementor-element-472a8d08:has(.mym-btn-primary) { display: flex; flex-direction: column; gap: 14px; }
.elementor-button.mym-btn-outline { background: transparent; color: #111; border: 2px solid #111; }
.elementor-button.mym-btn-outline:hover { background: #111; color: #fff; }
.elementor-button.mym-btn-primary,
.elementor-button.mym-btn-outline { text-align: center; text-transform: uppercase; }

/* Home gallery: two rows first, "View more photos" opens the rest (site.js). */
.mym-gallery-clip { overflow: hidden; }
.mym-more { text-align: center; margin-top: 24px; }
.mym-more .elementor-button { background: transparent; color: #111; border: 2px solid #111; border-radius: 999px; padding: 14px 28px; font-weight: 700; cursor: pointer; }
.mym-more .elementor-button:hover { background: #111; color: #fff; }

/* Mobile: Elementor set buttons and share labels to 11px, below the readable minimum (Lighthouse: 12px). */
@media (max-width: 767px) {
  .elementor-button,
  .elementor-share-btn__title { font-size: 14px !important; }
}

/* ---------- Blog post (single-post template) ----------
   The hero used the featured image as its background, so the same picture showed twice and the
   white title sat on a busy photo. Hero is now a light panel; the image shows once, below it. */
.single-post .elementor-element-76425835 { background-image: none !important; background-color: #f3f7ff !important;
  background: radial-gradient(circle at 85% 20%, rgba(10,92,255,.10), transparent 45%), #f3f7ff !important; }
.single-post .elementor-element-76425835::before { display: none !important; }
.single-post .elementor-element-1089fa1 { min-height: 0 !important; padding: 28px 0 40px !important; justify-content: flex-end; }
.mym-readtime::before { content: "\00B7"; margin: 0 8px; }

/* Reading progress bar and "In this article" list (built by site.js on long posts). */
.mym-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: #0A5CFF; transform-origin: 0 50%; transform: scaleX(0); z-index: 10000; pointer-events: none; }
.mym-toc { background: #f7f9fd; border: 1px solid #e3e8f2; border-radius: 16px; padding: 4px 22px; margin: 0 0 32px; }
.mym-toc summary { cursor: pointer; font-weight: 600; color: #111827; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mym-toc summary::-webkit-details-marker { display: none; }
.mym-toc summary::after { content: "+"; font-size: 22px; line-height: 1; color: #0A5CFF; }
.mym-toc[open] summary::after { content: "\2013"; }
.single-post .mym-toc ol { margin: 0 0 16px; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.single-post .mym-toc li { font-size: 15px; line-height: 1.5; margin: 0 0 8px; break-inside: avoid; }
.single-post .mym-toc a { color: #374151; text-decoration: none; }
.single-post .mym-toc a:hover { color: #0A5CFF; text-decoration: underline; }
.single-post .elementor-element-75946481 h2[id] { scroll-margin-top: 110px; }
.single-post .elementor-element-4cc145fd { display: none; }
.single-post .elementor-element-601eeec6 .elementor-heading-title { color: #111827 !important; font-size: clamp(28px, 4vw, 44px) !important; font-weight: 700 !important; line-height: 1.25 !important; max-width: 900px; }
.single-post .elementor-element-79b1a13,
.single-post .elementor-element-79b1a13 a,
.single-post .elementor-element-79b1a13 .elementor-icon-list-icon i { color: #5b6475 !important; }
.single-post .elementor-element-604fac16 img { border-radius: 18px; box-shadow: 0 14px 40px rgba(17,24,39,.10); width: 100%; height: auto; }

/* Article text: darker, larger, more line space (Bangla needs it). */
.single-post .elementor-element-75946481 { color: #374151; font-size: 17px; line-height: 1.85; }
.single-post .elementor-element-75946481 p { margin: 0 0 1.1em; color: #374151; font-size: 17px; line-height: 1.85; }
.single-post .elementor-element-75946481 strong { color: #111827; }
.single-post .elementor-element-75946481 h2 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 700; line-height: 1.35; color: #111827; margin: 1.8em 0 .6em; }
.single-post .elementor-element-75946481 h3 { font-size: clamp(19px, 2vw, 23px); font-weight: 600; line-height: 1.4; color: #1f2a44; margin: 1.5em 0 .5em; }
.single-post .elementor-element-75946481 > h2:first-child,
.single-post .elementor-element-75946481 > *:first-child h2:first-child { margin-top: 0; }
.single-post .elementor-element-75946481 ul,
.single-post .elementor-element-75946481 ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.single-post .elementor-element-75946481 li { margin: 0 0 .45em; font-size: 17px; line-height: 1.8; color: #374151; }
.single-post .elementor-element-75946481 li::marker { color: #0A5CFF; }
.single-post .elementor-element-75946481 a { color: #0A5CFF; text-decoration: underline; text-underline-offset: 3px; }
.single-post .elementor-element-75946481 table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #e3e8f2; border-radius: 14px; overflow: hidden; margin: 0 0 1.6em; font-size: 15px; }
.single-post .elementor-element-75946481 th { background: #0A5CFF; color: #fff; font-weight: 600; text-align: left; padding: 12px 14px; border: 0; }
.single-post .elementor-element-75946481 td { padding: 11px 14px; border: 0; border-top: 1px solid #e3e8f2; color: #374151; background: #fff; line-height: 1.6; }
.single-post .elementor-element-75946481 tbody tr:nth-child(even) td { background: #f7f9fd; }

/* Sidebar: each block as a card. */
.single-post .elementor-element-6c144058 > .elementor-element { background: #fff; border: 1px solid #e8edf6; border-radius: 16px; padding: 18px; box-shadow: 0 6px 20px rgba(17,24,39,.04); }
.single-post .elementor-element-6c144058 > .elementor-element-2157fd60 { background: none; border: 0; box-shadow: none; padding: 8px 0 0; margin-bottom: -6px; }
.single-post .elementor-element-40535fa1 { border-top: 1px solid #e8edf6; padding-top: 22px; margin-top: 10px; }
.single-post .elementor-element-3bb09f52 { background: #f7f9fd; border-radius: 16px; padding: 20px; }

@media (max-width: 767px) {
  .single-post .elementor-element-1089fa1 { padding: 16px 0 28px !important; }
  .single-post .mym-toc ol { columns: 1; }
  .single-post .elementor-element-75946481,
  .single-post .elementor-element-75946481 p,
  .single-post .elementor-element-75946481 li { font-size: 16px; }
  /* wide tables scroll sideways instead of squashing */
  .single-post .elementor-element-75946481 table { display: block; overflow-x: auto; white-space: nowrap; }
  .single-post .elementor-element-75946481 td,
  .single-post .elementor-element-75946481 th { white-space: normal; min-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  .elementor-button,
  .elementor-flip-box__button { transition: none !important; }
  .elementor-button:hover,
  .elementor-flip-box__button:hover { transform: none; }
}
