/* Electric Blue link styling */

a {
    color: #0066ff;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: #0047cc;
    text-decoration: underline;
}

a:visited {
    color: #0052cc;
}

/* Electric Blue SEO - Global Image Styling */

.wp-block-image img,
img {
  border: 2px solid #0066cc;
  border-radius: 8px;
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
}

/* Electric Blue SEO - Mobile UX Improvements */

img,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

iframe {
  width: 100%;
  min-height: 900px;
  border: 2px solid #0066cc;
  border-radius: 8px;
}

/* Better spacing on mobile */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  p,
  li {
    font-size: 1rem;
    line-height: 1.6;
  }

  .wp-block-group,
  .wp-block-cover,
  .wp-block-columns {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .wp-block-columns {
    gap: 20px;
  }

  .wp-block-button__link {
    width: 100%;
    text-align: center;
    padding: 14px 18px;
  }

.wp-block-image img {
    border: 2px solid #0066cc;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Desktop image styling */
.wp-block-image {
    text-align: center;
    margin: 24px auto;
}

.wp-block-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border: 2px solid #0066cc;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Case study and audit screenshots */
.ai-case-study-image img,
.ai-homepage-banner img,
.ai-audit-screenshot img {
  border: 2px solid #0066cc;
  border-radius: 8px;
}

/* Prevent wide blocks from breaking mobile */
.wp-block-table,
.wp-block-embed,
.wp-block-html {
  overflow-x: auto;
}

/* Cleaner forms and tool inputs */
input,
textarea,
select {
  max-width: 100%;
  box-sizing: border-box;
}

/* Better tap targets */
button,
.wp-block-button__link,
input[type="submit"] {
  min-height: 44px;
}