/*
Theme Name: Blocksy Child - Optometrist Fort Lauderdale
Description: Child theme for Blocksy with custom header and banner for optometristfortlauderdale.com
Author: Custom Development
Template: blocksy
Version: 1.0.3
*/

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Roboto+Serif:wght@400;700&display=swap");

/* Blocksy-equivalent base (parent theme CSS is not loaded on the static origin) */
*, *::before, *::after { box-sizing: border-box; }

/* Global body background */
html, body {
  background-color: #0d1b2a !important; /* Dark blue background */
  color: #ffffff;
  font-family: var(--font-primary); /* Outfit */
  overflow-wrap: break-word;
  overflow-x: hidden !important; /* Prevent horizontal scrollbar */
  overflow-y: auto !important; /* Allow vertical scroll only when needed */
  width: 100% !important;
  max-width: 100% !important;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary); /* Roboto Serif */
}

/* Root variables - 4 Color Scheme */
:root{
  --color-background:#0d1b2a; /* Primary: Dark blue */
  --color-text:#ffffff;
  --color-accent-red:#F44336; /* Secondary: Red accent */
  --color-accent-blue:#42A5F5; /* Secondary: Light blue */
  --color-accent-white:#ffffff; /* Secondary: White */
  --color-white:#ffffff;
  --color-light-blue:#42A5F5; /* Light blue for menu/phone */
  --font-primary:"Outfit",sans-serif; 
  --font-secondary:"Roboto Serif",serif;
  --spacing-xs:5px; 
  --spacing-s:10px; 
  --spacing-m:20px; 
  --spacing-l:30px; 
  --spacing-xl:40px; 
  --spacing-xxl:50px;
  --font-size-description:1.5rem; 
  --font-size-heading:5rem;
  --radius-s:10px; 
  --radius-m:30px; 
  --radius-l:20px;
  --header-height: 0px;
}

/* Hero title: one face for both lines (Blocksy applied heading font to the whole h1) */
.optometrist-hero-title,
.optometrist-hero-title a,
.optometrist-hero-highlight {
  font-family: var(--font-secondary);
}

/* Keep the video column inside its grid track */
.optometrist-hero-grid > * { min-width: 0; }
.optometrist-hero-video-column { min-width: 0; max-width: 100%; }
.optometrist-vertical-video { max-width: 100%; }

/* News sidebar: keep titles inside the padded 20% box */
.optometrist-floating-rss-container {
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.optometrist-floating-rss-container .dynamic-news-feed a {
  overflow-wrap: anywhere;
}

/* Reserve the 20% fixed news rail so body copy is not covered (≥1000px) */
@media (min-width: 1000px) {
  body.optometrist-static-site .optometrist-static-main,
  body.optometrist-static-site .optometrist-custom-footer {
    padding-right: calc(20% + 1.75rem);
    box-sizing: border-box;
  }
}

body.optometrist-static-site .optometrist-hero-grid {
  grid-template-areas:
    "media title"
    "media intro"
    "media buttons"
    "media article";
}

body.optometrist-static-site .optometrist-hero-article-scroll {
  grid-area: article;
  grid-column: auto;
}

@media (max-width: 992px) {
  body.optometrist-static-site .optometrist-hero-grid {
    grid-template-areas:
      "media"
      "title"
      "intro"
      "buttons"
      "article";
  }
}
body.optometrist-static-site .optometrist-hero-section {
  min-height: 0 !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-bottom: 8px;
  background: transparent;
}

.optometrist-hero-article-scroll {
  max-height: 8.5rem;
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
}

.optometrist-hero-article-scroll.is-expanded {
  max-height: none;
  overflow: visible;
}

.optometrist-hero-article-scroll:not(.is-expanded)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.75em;
  background: linear-gradient(to bottom, rgba(13, 27, 42, 0), rgba(13, 27, 42, 0.95));
  pointer-events: none;
}

body.optometrist-static-site .optometrist-hero-section > .optometrist-scroll-indicator,
body.optometrist-static-site .optometrist-hero-article-scroll + .optometrist-scroll-indicator {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 12px auto 0;
  padding: 8px 16px;
  cursor: pointer;
  color: #42A5F5;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  background: none;
  border: 0;
}

body.optometrist-static-site .optometrist-hero-section > .optometrist-scroll-indicator .optometrist-scroll-arrow,
body.optometrist-static-site .optometrist-hero-article-scroll + .optometrist-scroll-indicator .optometrist-scroll-arrow {
  animation: none;
}

body.optometrist-static-site .optometrist-hero-section > .optometrist-scroll-indicator.is-expanded .optometrist-scroll-arrow,
body.optometrist-static-site .optometrist-hero-article-scroll + .optometrist-scroll-indicator.is-expanded .optometrist-scroll-arrow {
  transform: rotate(225deg);
}

@media (prefers-reduced-motion: reduce) {
  .optometrist-hero-article-scroll {
    transition: none;
  }
}

@media print {
  .optometrist-hero-article-scroll {
    max-height: none !important;
    overflow: visible !important;
  }
  .optometrist-hero-article-scroll::after,
  .optometrist-scroll-indicator {
    display: none !important;
  }
}

/* Modern Header Layout - Stacked Rows */
.optometrist-master-banner{ 
  display:flex; 
  flex-direction: column !important;
  width:100vw; 
  max-width:100vw; 
  height:auto !important; 
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2332 100%); /* Dark blue gradient */
  box-shadow:0 4px 20px rgba(0,0,0,.15); 
  position:relative; 
  z-index:10; 
  margin:0; 
  left:50%; 
  transform:translateX(-50%); 
  padding-bottom: 30px;
}

.optometrist-master-banner::before{ 
  content:""; 
  position:absolute; 
  inset:0; 
  background:linear-gradient(45deg, rgba(66, 165, 245, 0.05) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(244, 67, 54, 0.05) 100%); /* Multi-color accent overlay */
  z-index:-1; 
  pointer-events: none;
}

.optometrist-master-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-white), var(--color-accent-red)); /* 3-color gradient */
  z-index: 1;
}

/* Top Row: Logo + Owner Photo */
.optometrist-banner-left{ 
  width:100% !important; 
  padding:15px 40px !important; 
  display:flex !important; 
  flex-direction:row !important; 
  align-items:center !important; 
  justify-content:space-between !important; 
  background:transparent; 
  border-right:none !important; 
  border-bottom:1px solid rgba(66, 165, 245, 0.3) !important; /* Light blue border */
  position:relative; 
  z-index:2;
  height: 100px;
  max-height: 100px;
}

/* Logo styling */
.optometrist-banner-brand{ 
  display:flex; 
  align-items:center; 
  justify-content:flex-start; 
  margin-bottom:0 !important; 
  gap: 15px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.optometrist-banner-brand:hover {
  opacity: 0.92;
}

.optometrist-banner-brand img{ 
  height:90px !important; 
  width:auto; 
  object-fit:contain; 
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)) drop-shadow(0 0 14px rgba(255,255,0,.28)); 
  transition: transform 0.3s ease;
}

.optometrist-banner-brand img:hover {
  transform: scale(1.05);
}

.optometrist-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.optometrist-doctor-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-light-blue);
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.optometrist-doctor-title {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}


/* Header-centered menu (desktop) */
.optometrist-header-menu{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  flex:1;
  margin: 0 20px;
}

/* Reuse separator link styling but slightly tighter for header */
.optometrist-header-menu .optometrist-separator-menu-link{
  padding:10px 20px;
  min-width:auto;
  font-size: 13px;
}

/* Bottom Row: Storefront with Navigation Overlay */
.optometrist-banner-right{ 
  width:100% !important; 
  height:300px !important; 
  position:relative !important; 
  overflow:hidden; 
  display:block; 
  margin-top: 20px;
  border-radius: 0 0 20px 20px;
}

/* Left-side blur/overlay for better separation and phone button contrast */
.optometrist-banner-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
  backdrop-filter: blur(3px);
  z-index: 1;
  pointer-events: none;
}

.optometrist-banner-image{ 
  width:100%; 
  height:100%; 
  position:relative; 
  display:block; 
}

.optometrist-banner-image img{ 
  width:100%; 
  height:100%; 
  object-fit:cover; 
  object-position: center center;
  display:block; 
  filter: brightness(0.8) saturate(1.1);
  transition: opacity 1.2s ease-in-out, filter 0.3s ease;
}

/* Banner image slideshow (up to 5 slides) */
.optometrist-banner-slideshow {
  overflow: hidden;
}

.optometrist-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}

.optometrist-banner-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.optometrist-banner-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 27, 42, 0.55);
  backdrop-filter: blur(6px);
}

.optometrist-banner-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.optometrist-banner-dots button.is-active,
.optometrist-banner-dots button:hover {
  background: var(--color-light-blue);
  border-color: var(--color-light-blue);
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .optometrist-banner-slide,
  .optometrist-banner-image img {
    transition: none;
  }
}

/* Navigation overlay on storefront */
.optometrist-banner-nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 20px 40px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
}

/* Left column: business award trophy only */
.optometrist-banner-left-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0;
  min-width: 0;
  max-width: 220px;
  width: auto;
}

/* Business award – full width of column (matches LensCrafters + phone pills below) */
.optometrist-banner-award {
  line-height: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  align-self: stretch;
}

.optometrist-banner-award img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

/* LensCrafters link – secondary outline style, same block as badge & phone */
.optometrist-banner-lenscrafters-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-light-blue) !important;
  background: rgba(13, 27, 42, 0.85) !important;
  border: 2px solid rgba(66, 165, 245, 0.6) !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.optometrist-banner-lenscrafters-link:hover {
  color: #ffffff !important;
  background: var(--color-light-blue) !important;
  border-color: var(--color-light-blue) !important;
  box-shadow: 0 4px 16px rgba(66, 165, 245, 0.4);
  transform: translateY(-2px);
}

.optometrist-banner-lenscrafters-link svg {
  flex-shrink: 0;
}

/* LensCrafters location link in hero (all service pages) */
.optometrist-hero-lenscrafters-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-light-blue) !important;
  background: rgba(13, 27, 42, 0.75) !important;
  border: 2px solid rgba(66, 165, 245, 0.65) !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  flex: 1 1 auto;
  min-width: min(100%, 240px);
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.optometrist-hero-lenscrafters-link:hover {
  color: #ffffff !important;
  background: var(--color-light-blue) !important;
  border-color: var(--color-light-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(66, 165, 245, 0.4);
}

.optometrist-hero-lenscrafters-link svg {
  flex-shrink: 0;
}

.optometrist-hero-buttons .optometrist-hero-lenscrafters-link {
  align-self: stretch;
}

/* Hero business award (also styled per-page in HTML blocks) */
.optometrist-hero-award img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .optometrist-hero-lenscrafters-link {
    width: 100%;
    min-width: 0;
    font-size: 14px;
    padding: 14px 18px;
  }

  .optometrist-hero-lenscrafters-link span {
    flex: 1;
  }
}

/* Phone button styling */
.optometrist-banner-phone-header {
  background: var(--color-light-blue) !important; /* Light blue background */
  color: #ffffff !important; /* White text */
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(66, 165, 245, 0.3), 0 0 0 2px rgba(244, 67, 54, 0.4) !important; /* Light blue shadow + red ring */
  border: 2px solid transparent !important;
  position: relative;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  display: block;
}

.optometrist-banner-phone-header:hover {
  background: var(--color-accent-red) !important; /* Red on hover */
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4) !important;
  border-color: #fff !important;
  color: #ffffff !important;
}

.optometrist-banner-contact-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff !important;
  background: rgba(13, 27, 42, 0.85) !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.optometrist-banner-contact-header:hover {
  background: #ffffff !important;
  color: var(--color-background) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

.optometrist-header-contact-link {
  background: rgba(244, 67, 54, 0.95) !important;
  border-color: rgba(244, 67, 54, 0.5) !important;
}

.optometrist-header-contact-link:hover {
  background: #d32f2f !important;
  border-color: #fff !important;
}

.optometrist-mobile-menu-contact {
  border: 2px solid rgba(255, 255, 255, 0.35);
}

/* Horizontal navigation */
.optometrist-banner-nav-horizontal {
  display: flex !important;
  gap: 25px !important;
  grid-template-columns: none !important;
  align-items: center;
}

/* Enhanced menu link styling */
.optometrist-banner-link{ 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  padding:10px 18px; 
  border-radius:20px; 
  background:var(--color-light-blue); /* Light blue background */
  backdrop-filter:blur(6px); 
  border:1px solid rgba(66, 165, 245, 0.3); /* Light blue border */
  color:#ffffff; /* White text */
  font-weight:600; 
  text-decoration:none; 
  letter-spacing:.2px; 
  transition:all .3s ease; 
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.optometrist-banner-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.optometrist-banner-link:hover::before {
  left: 100%;
}

.optometrist-banner-link:hover{ 
  transform:translateY(-2px); 
  background:rgba(66, 165, 245, 0.25); /* Light blue on hover for contrast */
  color:#fff; /* White text on hover */
  border-color:#42A5F5; /* Light blue border on hover */
  box-shadow:0 4px 12px rgba(66, 165, 245, 0.4); /* Light blue shadow */
}

.optometrist-banner-link.is-disabled{ 
  opacity:.5; 
  cursor: not-allowed;
  background: rgba(128, 128, 128, 0.1);
  border-color: rgba(128, 128, 128, 0.3);
  color: #999;
}

.optometrist-banner-link.is-disabled:hover {
  transform: none;
  box-shadow: none;
  background: rgba(128, 128, 128, 0.1);
}

/* Full-bleed alignfull utility */
.entry-content .alignfull{
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  max-width:100vw;
  width:100vw;
  padding-left:0;
  padding-right:0;
}

.container{
  width:100%;
  max-width:1300px;
  margin:0 auto;
  padding:0 var(--spacing-m);
  overflow-x: hidden; /* Prevent horizontal overflow */
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:1rem 2rem;
  border:none;
  border-radius:50px;
  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition:.25s ease;
  text-decoration:none;
  font-family:var(--font-primary);
}
.btn-primary{ background:var(--color-accent); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 15px 40px rgba(0,0,0,.2); }
.btn-secondary{ background:#666; }
.btn-secondary:hover{ transform:translateY(-2px); box-shadow:0 15px 40px rgba(0,0,0,.2); }
.btn-whatsapp{ background:var(--color-highlight); }
.btn-whatsapp:hover{ transform:translateY(-2px); box-shadow:0 15px 40px rgba(0,0,0,.2); }

/* SEPARATOR MENU BAR - New Simple Approach */
.optometrist-separator-menu-bar {
  width: 100%;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2332 100%); /* Dark blue gradient */
  padding: 25px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(66, 165, 245, 0.2);
  border-top: 2px solid rgba(66, 165, 245, 0.4); /* Light blue border */
  position: relative;
  z-index: 5;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

/* Sticky menu functionality removed - keeping menu in proper position */

.optometrist-separator-menu-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(66, 165, 245, 0.03) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(244, 67, 54, 0.03) 100%); /* Multi-color overlay */
  pointer-events: none;
}

/* Clean bottom border for professional look */
.optometrist-separator-menu-bar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-blue), var(--color-accent-white), var(--color-accent-red)); /* 3-color gradient */
  z-index: 1;
}

.optometrist-separator-menu-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.optometrist-separator-menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 20px;
  background: var(--color-light-blue); /* Light blue background */
  backdrop-filter: blur(8px);
  border: 2px solid rgba(66, 165, 245, 0.3); /* Light blue border */
  color: #ffffff; /* White text */
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  min-width: 120px;
  text-align: center;
}

.optometrist-separator-menu-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.optometrist-separator-menu-link:hover::before {
  left: 100%;
}

.optometrist-separator-menu-link:hover {
  transform: translateY(-3px);
  background: #2196F3; /* Darker blue on hover */
  color: #fff; /* White text on hover */
  border-color: #42A5F5; /* Light blue border on hover */
  box-shadow: 0 8px 25px rgba(66, 165, 245, 0.4); /* Light blue shadow */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.optometrist-separator-menu-link.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(128, 128, 128, 0.1);
  border-color: rgba(128, 128, 128, 0.3);
  color: #999;
}

.optometrist-separator-menu-link.is-disabled:hover {
  transform: none;
  box-shadow: none;
  background: rgba(128, 128, 128, 0.1);
  color: #999;
}

/* Mobile Hamburger Menu */
.optometrist-mobile-menu-toggle {
  display: none;
  background: var(--color-light-blue);
  color: #1a1a1a;
  border: none;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  position: relative;
}

.optometrist-mobile-menu-toggle:hover {
  background: #2196F3;
  transform: scale(1.05);
}

.optometrist-mobile-menu-dropdown {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 9999;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.optometrist-mobile-menu-dropdown.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.optometrist-mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.optometrist-mobile-menu-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--color-light-blue);
  color: #1a1a1a;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.optometrist-mobile-menu-close:hover {
  background: #2196F3;
  transform: scale(1.1);
}

.optometrist-mobile-menu-phone {
  background: var(--color-light-blue) !important;
  color: #1a1a1a !important;
  padding: 15px 20px !important;
  border-radius: 25px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  text-align: center !important;
  margin-bottom: 10px !important;
  transition: all 0.3s ease !important;
}

.optometrist-mobile-menu-phone:hover {
  background: #2196F3 !important;
  transform: translateY(-2px) !important;
}

.optometrist-mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border-radius: 15px;
  background: var(--color-light-blue); /* Light blue background */
  border: 1px solid rgba(66, 165, 245, 0.3); /* Light blue border */
  color: #ffffff; /* White text */
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.optometrist-mobile-menu-link:hover {
  background: #2196F3; /* Darker blue on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 165, 245, 0.3);
}

.optometrist-mobile-menu-link.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(128, 128, 128, 0.1);
  border-color: rgba(128, 128, 128, 0.3);
  color: #999;
}

/* Social Media Links Styling */
.optometrist-social-media-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.optometrist-social-media-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--color-light-blue); /* Light blue background */
  border: 2px solid rgba(66, 165, 245, 0.3); /* Light blue border */
  color: #ffffff; /* White icons */
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(244, 67, 54, 0.3); /* Subtle red glow */
}

.optometrist-social-media-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.optometrist-social-media-link:hover::before {
  left: 100%;
}

.optometrist-social-media-link:hover {
  transform: translateY(-3px);
  background: #2196F3; /* Darker blue on hover */
  color: #fff;
  border-color: #42A5F5;
  box-shadow: 0 6px 20px rgba(66, 165, 245, 0.4);
}

/* Instagram specific styling */
.optometrist-social-media-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  border-color: #e6683c;
}

/* Yelp specific styling */
.optometrist-social-media-link.yelp:hover {
  background: #FF1A1A;
  border-color: #FF1A1A;
}

/* YouTube specific styling */
.optometrist-social-media-link.youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
}

/* Blog specific styling */
.optometrist-social-media-link.blog:hover {
  background: #4CAF50;
  border-color: #4CAF50;
}

/* Header social media positioning - moved to hero overlay */
.optometrist-header-social-media {
  display: none; /* Hide from header, will show in hero overlay */
}

/* New social media positioning in hero overlay */
.optometrist-hero-social-media {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
}

.optometrist-hero-social-media .optometrist-social-media-link {
  width: 45px;
  height: 45px;
  font-size: 20px;
  background: var(--color-light-blue); /* Light blue background */
  border: 2px solid rgba(66, 165, 245, 0.4); /* Light blue border */
  backdrop-filter: blur(8px);
}

.optometrist-hero-social-media .optometrist-social-media-link:hover {
  background: #2196F3; /* Darker blue on hover */
  border-color: var(--color-light-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(66, 165, 245, 0.3);
}

/* Footer social media styling */
.optometrist-footer-social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 2rem 0;
}

.optometrist-footer-social-media .optometrist-social-media-link {
  width: 50px;
  height: 50px;
  font-size: 22px;
}

/* Mobile menu social media */
.optometrist-mobile-social-media {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(66, 165, 245, 0.3); /* Light blue border */
}

.optometrist-mobile-social-media .optometrist-social-media-link {
  width: 45px;
  height: 45px;
  font-size: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Hide separator menu on mobile, show mobile toggle instead */
  .optometrist-separator-menu-bar {
    display: none;
  }
  
  /* Sticky menu functionality removed */
  
  /* Ensure mobile menu toggle is visible */
  .optometrist-mobile-menu-toggle {
    display: block !important;
  }
  
  .optometrist-banner-left {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
    padding: 20px !important;
    min-height: 120px !important;
  }


  .optometrist-banner-right {
    height: 300px !important;
    position: relative;
  }

  /* Hide header social media on mobile */
  .optometrist-header-social-media {
    display: none !important;
  }
  
  /* Hide hero social media on mobile */
  .optometrist-hero-social-media {
    display: none !important;
  }

  /* Hide desktop navigation on mobile */
  .optometrist-banner-nav-overlay {
    display: none !important;
  }
  /* Hide the new header menu on mobile; hamburger remains */
  .optometrist-header-menu{
    display:none !important;
  }

  /* Show mobile menu toggle */
  .optometrist-mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000;
  }

  .optometrist-master-banner{ 
    height:auto !important; 
    left:50%; 
    transform:translateX(-50%); 
  }

  .optometrist-banner-brand img{ 
    height:70px !important; 
  }
}

@media (max-width: 480px) {
  .optometrist-banner-left {
    padding: 15px !important;
    min-height: 100px !important;
  }

  .optometrist-banner-brand img {
    height: 70px !important;
  }


  .optometrist-banner-right {
    height: 300px !important;
  }

  .optometrist-mobile-menu-toggle {
    padding: 10px 12px !important;
    font-size: 16px !important;
  }

  .optometrist-mobile-menu-dropdown {
    padding: 15px !important;
  }

  .optometrist-mobile-menu-items {
    gap: 12px !important;
  }
}

/* Intermediate screen sizes (tablets and small laptops) - removed duplicate, handled above */

/* Custom Footer Styling */
.optometrist-custom-footer {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2332 100%); /* Dark blue gradient */
  border-top: 2px solid rgba(66, 165, 245, 0.4); /* Light blue border */
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.optometrist-custom-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(66, 165, 245, 0.03) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(244, 67, 54, 0.03) 100%); /* Multi-color overlay */
  pointer-events: none;
}

.optometrist-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.optometrist-footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 30px;
}

.optometrist-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.optometrist-footer-logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)) drop-shadow(0 0 14px rgba(255,255,0,.28));
}

.optometrist-footer-text h3 {
  color: var(--color-light-blue);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 5px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.optometrist-footer-text p {
  color: #ffffff;
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

.optometrist-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.optometrist-footer-section h4 {
  color: var(--color-light-blue);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.optometrist-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.optometrist-footer-section li {
  margin-bottom: 8px;
}

.optometrist-footer-section a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  opacity: 0.9;
}

.optometrist-footer-section a:hover {
  color: var(--color-light-blue);
  opacity: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.optometrist-footer-social h4 {
  color: var(--color-light-blue);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 15px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.optometrist-footer-social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.optometrist-footer-social-links .optometrist-social-media-link {
  width: 45px;
  height: 45px;
  font-size: 20px;
}

.optometrist-footer-bottom {
  border-top: 1px solid rgba(66, 165, 245, 0.3); /* Light blue border */
  padding-top: 20px;
  text-align: center;
}

.optometrist-footer-bottom-content p {
  color: #ffffff;
  font-size: 12px;
  margin: 5px 0;
  opacity: 0.8;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
  .optometrist-footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .optometrist-footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .optometrist-footer-brand {
    align-items: center;
  }
  
  .optometrist-footer-social-links {
    justify-content: center;
  }
  
  .optometrist-footer-container {
    padding: 30px 15px 15px;
  }
}

@media (max-width: 480px) {
  .optometrist-footer-content {
    gap: 25px;
  }
  
  .optometrist-footer-logo img {
    height: 50px;
  }
  
  .optometrist-footer-social-links {
    gap: 12px;
  }
  
  .optometrist-footer-social-links .optometrist-social-media-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .optometrist-banner-nav-overlay {
    gap: 25px;
  }

  .optometrist-banner-nav-horizontal {
    gap: 20px;
  }
  
  /* Adjust separator menu for tablet */
  .optometrist-separator-menu-nav {
    gap: 30px;
    padding: 0 15px;
  }
  
  .optometrist-separator-menu-link {
    padding: 12px 25px;
    font-size: 15px;
    min-width: 120px;
  }
  
  /* Hide mobile toggle on larger screens */
  .optometrist-mobile-menu-toggle {
    display: none !important;
  }
  
  /* Clean separator bar on larger screens */
  .optometrist-separator-menu-bar::after {
    bottom: -2px;
    height: 2px;
  }
}

/* Fix for intermediate screen sizes (769px-1200px) - prevent overlap and ensure proper spacing */
@media (max-width: 1200px) and (min-width: 769px) {
  .optometrist-banner-left {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 30px !important;
    gap: 20px !important;
    min-height: 160px !important;
    position: relative !important;
    z-index: 1000 !important;
  }
  
  /* Sticky menu functionality removed */
  
  .optometrist-banner-brand {
    order: 1;
    margin-bottom: 10px;
    position: relative !important;
    z-index: 1001 !important;
  }
  
  .optometrist-banner-brand img {
    height: 60px !important;
  }
  
  .optometrist-header-menu {
    order: 2;
    margin: 0;
    gap: 8px;
    position: relative !important;
    z-index: 1002 !important;
    pointer-events: auto !important;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    width: 100%;
  }
  
  .optometrist-header-menu .optometrist-separator-menu-link {
    padding: 6px 10px;
    font-size: 11px;
    min-width: 70px;
    position: relative !important;
    z-index: 1003 !important;
    pointer-events: auto !important;
    backdrop-filter: none !important;
    background: rgba(66, 165, 245, 0.9) !important;
    border: 2px solid rgba(66, 165, 245, 0.3) !important;
    cursor: pointer !important;
    flex-shrink: 0;
    white-space: nowrap;
  }
  
  .optometrist-separator-menu-link:hover {
    background: rgba(66, 165, 245, 1.0) !important;
    z-index: 1004 !important;
    pointer-events: auto !important;
  }
  
  .optometrist-header-social-media {
    display: none !important;
  }
  
  /* Show hero social media on tablet */
  .optometrist-hero-social-media {
    display: flex !important;
    gap: 8px;
    margin-left: 0;
  }
  
  .optometrist-hero-social-media .optometrist-social-media-link {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

/* ==========================================================================
   Footer Map Section
   ========================================================================== */
.optometrist-footer-map-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 40px 0;
  margin: 20px 0 0 0;
}

.optometrist-footer-map-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.optometrist-footer-map-container h4 {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 10px 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.optometrist-map-address {
  color: #6c757d;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 30px 0;
  line-height: 1.4;
}

.optometrist-map-embed {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(13, 110, 253, 0.2);
  transition: all 0.3s ease;
}

.optometrist-map-embed:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  border-color: rgba(13, 110, 253, 0.4);
  transform: translateY(-2px);
}

.optometrist-map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Map Section Responsive Design */
@media (max-width: 768px) {
  .optometrist-footer-map-section {
    padding: 30px 0;
  }
  
  .optometrist-footer-map-container {
    padding: 0 15px;
  }
  
  .optometrist-footer-map-container h4 {
    font-size: 20px;
    margin-bottom: 8px;
  }
  
  .optometrist-map-address {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .optometrist-map-embed {
    height: 250px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .optometrist-footer-map-section {
    padding: 25px 0;
  }
  
  .optometrist-footer-map-container {
    padding: 0 10px;
  }
  
  .optometrist-footer-map-container h4 {
    font-size: 18px;
  }
  
  .optometrist-map-address {
    font-size: 13px;
  }
  
  .optometrist-map-embed {
    height: 200px;
  }
}

/* Dynamic News Feed (plugin): two-line title — red “Latest News”, blue page context */
.dynamic-news-feed-header {
  text-align: center;
  margin-bottom: 1.15em;
  padding-bottom: 0.85em;
  border-bottom: 1px solid rgba(66, 165, 245, 0.25);
}

.dynamic-news-feed-latest-heading {
  margin: 0 0 0.35em 0;
  font-family: var(--font-primary);
  font-size: 1.15em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-red);
  line-height: 1.2;
}

.dynamic-news-feed-context-title {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 1.35em;
  font-weight: 600;
  color: var(--color-light-blue);
  line-height: 1.3;
}

.dynamic-news-feed-context-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.dynamic-news-feed-context-link:hover {
  color: var(--color-accent-white);
}

@media (max-width: 1199px) {
  .dynamic-news-feed-latest-heading {
    font-size: 1.05em;
  }

  .dynamic-news-feed-context-title {
    font-size: 1.2em;
  }
}

/* ==========================================================================
   Contact page & Contact Form 7
   ========================================================================== */
.optometrist-contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.optometrist-contact-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.optometrist-contact-hero h1 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-light-blue);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.optometrist-contact-hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 640px;
  margin: 0 auto;
}

.optometrist-contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 2.5rem;
}

.optometrist-contact-method-card {
  background: rgba(66, 165, 245, 0.12);
  border: 1px solid rgba(66, 165, 245, 0.35);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.optometrist-contact-method-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--color-light-blue);
}

.optometrist-contact-method-card a,
.optometrist-contact-method-card p {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  text-decoration: none;
}

.optometrist-contact-method-card a:hover {
  color: var(--color-light-blue);
}

.optometrist-contact-form-wrap {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(13, 27, 42, 0.98) 100%);
  border: 1px solid rgba(66, 165, 245, 0.35);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.optometrist-contact-form-wrap h2 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  color: var(--color-light-blue);
  text-align: center;
}

.optometrist-cf7-mount {
  margin: 0 0 1.25rem;
}

.optometrist-contact-form-note {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 1rem 0 0;
}

.optometrist-contact-page .wpcf7-form,
.optometrist-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.optometrist-contact-page .wpcf7-form label,
.optometrist-contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-light-blue);
  margin-bottom: 6px;
}

.optometrist-contact-form abbr {
  text-decoration: none;
  color: var(--color-accent-red, #e53935);
}

.optometrist-contact-page .wpcf7-form-control:not(.wpcf7-submit),
.optometrist-contact-form input[type="text"],
.optometrist-contact-form input[type="email"],
.optometrist-contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(66, 165, 245, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-primary);
  box-sizing: border-box;
}

.optometrist-contact-page .wpcf7-form-control:focus,
.optometrist-contact-form input[type="text"]:focus,
.optometrist-contact-form input[type="email"]:focus,
.optometrist-contact-form textarea:focus {
  outline: none;
  border-color: var(--color-light-blue);
  background: rgba(255, 255, 255, 0.12);
}

.optometrist-contact-page .wpcf7-form-control::placeholder,
.optometrist-contact-form input::placeholder,
.optometrist-contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.optometrist-contact-page .wpcf7-submit,
.optometrist-contact-submit {
  display: inline-block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 25px;
  background: var(--color-light-blue);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.optometrist-contact-page .wpcf7-submit:hover,
.optometrist-contact-submit:hover {
  background: var(--color-accent-red);
  transform: translateY(-2px);
}

.optometrist-contact-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.optometrist-contact-page .wpcf7-response-output,
.optometrist-contact-status {
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
}

.optometrist-contact-status.is-success {
  background: rgba(67, 160, 71, 0.25);
  border: 1px solid rgba(129, 199, 132, 0.6);
}

.optometrist-contact-status.is-error {
  background: rgba(229, 57, 53, 0.22);
  border: 1px solid rgba(239, 154, 154, 0.6);
}

.optometrist-contact-page .wpcf7-not-valid-tip {
  color: #ffcdd2;
  font-size: 0.85rem;
  margin-top: 4px;
}

.optometrist-contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.optometrist-btn-contact {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.optometrist-btn-contact:hover {
  background: #fff;
  color: var(--color-background);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .optometrist-contact-form-wrap {
    padding: 24px 18px;
  }
}

/* Homepage article body — slightly reduced font for long-form content */
.optometrist-hero-article-scroll .optometrist-hero-description {
  font-size: clamp(0.9375rem, 1.75vw, 1.1rem);
  line-height: 1.65;
}

.optometrist-article-description {
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .optometrist-article-description {
    font-size: 0.95rem;
  }
}


/* --- extracted from blocksy-child/functions.php (RSS widget + floating sidebar) --- */


    /* Ensure child theme styles don't interfere with WordPress admin */
    .wp-admin .optometrist-master-banner,
    .wp-admin .optometrist-separator-menu-bar {
        display: none !important;
    }
    

        /* RSS Feed Widget Styling */
        .widget_optometrist_rss_feed_widget {
            background: linear-gradient(135deg, #0d1b2a 0%, #1a2332 100%);
            border: 2px solid rgba(66, 165, 245, 0.3);
            border-radius: 15px;
            padding: 20px;
            margin: 20px 0;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .widget_optometrist_rss_feed_widget .dynamic-news-feed-block {
            background: transparent;
            border: none;
            padding: 0;
            margin: 0;
        }
        
        .widget_optometrist_rss_feed_widget .dynamic-news-feed-header {
            text-align: center;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid rgba(66, 165, 245, 0.28);
        }

        .widget_optometrist_rss_feed_widget .dynamic-news-feed-latest-heading {
            margin: 0 0 0.3em 0;
            font-size: 1.05rem;
            font-weight: 700;
            letter-spacing: 0.07em;
            text-transform: uppercase;
            color: var(--color-accent-red, #e53935);
            line-height: 1.2;
        }

        .widget_optometrist_rss_feed_widget .dynamic-news-feed-context-title {
            margin: 0;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--color-light-blue, #42A5F5);
            line-height: 1.3;
        }

        .widget_optometrist_rss_feed_widget .dynamic-news-feed-context-link {
            color: inherit;
            text-decoration: underline;
            text-underline-offset: 0.1em;
        }

        .widget_optometrist_rss_feed_widget .dynamic-news-feed-context-link:hover {
            color: #ffffff;
        }
        
        .widget_optometrist_rss_feed_widget .dynamic-news-feed li {
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(66, 165, 245, 0.2);
        }
        
        .widget_optometrist_rss_feed_widget .dynamic-news-feed li:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .widget_optometrist_rss_feed_widget .dynamic-news-feed a {
            color: #ffffff;
            font-size: 0.9rem;
            line-height: 1.4;
        }
        
        .widget_optometrist_rss_feed_widget .dynamic-news-feed a:hover {
            color: #42A5F5;
        }
        
        .widget_optometrist_rss_feed_widget .dynamic-news-feed .news-date {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.8rem;
        }
        
        /* Responsive adjustments */
        @media (max-width: 1199px) {
            .widget_optometrist_rss_feed_widget {
                margin: 20px 0;
                padding: 15px;
            }
            
            .widget_optometrist_rss_feed_widget .dynamic-news-feed-latest-heading {
                font-size: 0.95rem;
            }

            .widget_optometrist_rss_feed_widget .dynamic-news-feed-context-title {
                font-size: 1.1rem;
            }
            
            .widget_optometrist_rss_feed_widget .dynamic-news-feed a {
                font-size: 0.85rem;
            }
        }
    

    /* Floating RSS Feed Container - Desktop (≥1000px) */
    @media (min-width: 1000px) {
        .optometrist-floating-rss-container {
            position: fixed;
            right: 0;
            width: 20%; /* Optimized sidebar width for better hero section visibility */
            z-index: 9999;
            background: linear-gradient(135deg, #0d1b2a 0%, #1a2332 100%);
            border: 2px solid rgba(66, 165, 245, 0.4);
            border-radius: 15px 0 0 15px; /* Rounded left corners only */
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            padding: 20px;
            transition: all 0.3s ease;
            /* Dynamic positioning will be handled by JavaScript */
            top: 0;
            max-height: 100vh;
        }
    }
    
    .optometrist-floating-rss-container:hover {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
        transform: scale(1.02);
    }
    
    /* RSS Feed Content Styling */
    .optometrist-floating-rss-container .dynamic-news-feed-block {
        background: transparent;
        border: none;
        padding: 0;
        margin: 0;
    }
    
    .optometrist-floating-rss-container .dynamic-news-feed-header {
        text-align: center;
        margin-bottom: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(66, 165, 245, 0.28);
    }

    .optometrist-floating-rss-container .dynamic-news-feed-latest-heading {
        margin: 0 0 0.3em 0;
        font-size: 1.05em;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--color-accent-red, #e53935);
        line-height: 1.2;
    }

    .optometrist-floating-rss-container .dynamic-news-feed-context-title {
        margin: 0;
        font-size: 1.15em;
        font-weight: 600;
        color: var(--color-light-blue, #42A5F5);
        line-height: 1.3;
    }

    .optometrist-floating-rss-container .dynamic-news-feed-context-link {
        color: inherit;
        text-decoration: underline;
        text-underline-offset: 0.1em;
    }

    .optometrist-floating-rss-container .dynamic-news-feed-context-link:hover {
        color: #ffffff;
    }
    
    .optometrist-floating-rss-container .dynamic-news-feed {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .optometrist-floating-rss-container .dynamic-news-feed li {
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(66, 165, 245, 0.2);
        transition: all 0.3s ease;
    }
    
    .optometrist-floating-rss-container .dynamic-news-feed li:hover {
        background: rgba(66, 165, 245, 0.05);
        border-radius: 8px;
        padding: 8px;
        margin: 4px -8px;
    }
    
    .optometrist-floating-rss-container .dynamic-news-feed li:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .optometrist-floating-rss-container .dynamic-news-feed a {
        display: block;
        color: #ffffff;
        text-decoration: none;
        margin-bottom: 5px;
        font-weight: 500;
        line-height: 1.4;
        font-size: 0.9em;
        transition: color 0.3s ease;
    }
    
    .optometrist-floating-rss-container .dynamic-news-feed a:hover {
        color: #42A5F5;
    }
    
    .optometrist-floating-rss-container .news-date {
        display: block;
        font-size: 0.8em;
        color: rgba(255, 255, 255, 0.7);
        font-style: italic;
    }
    
    /* Custom scrollbar */
    .optometrist-floating-rss-container::-webkit-scrollbar {
        width: 6px;
    }
    
    .optometrist-floating-rss-container::-webkit-scrollbar-track {
        background: rgba(66, 165, 245, 0.1);
        border-radius: 3px;
    }
    
    .optometrist-floating-rss-container::-webkit-scrollbar-thumb {
        background: rgba(66, 165, 245, 0.5);
        border-radius: 3px;
    }
    
    .optometrist-floating-rss-container::-webkit-scrollbar-thumb:hover {
        background: rgba(66, 165, 245, 0.7);
    }
    
    /* Mobile - hide floating RSS and show in footer */
    @media (max-width: 999px) {
        .optometrist-floating-rss-container {
            position: static;
            top: auto;
            right: auto;
            width: 100%;
            max-width: 100%;
            max-height: none;
            margin: 20px 0;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .optometrist-floating-rss-container:hover {
            transform: scale(1.01);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }
    }
    
    /* Ensure it doesn't interfere with main content */
    @media (min-width: 1000px) {
        body {
            padding-right: 0;
        }
    }
    


/* --- extracted from dynamic-news-feed plugin --- */


        /* RSS Feed Block Base Styles */
        .dynamic-news-feed-block {
            margin-bottom: 2em;
            background: rgba(66, 165, 245, 0.05);
            border: 2px solid rgba(66, 165, 245, 0.3);
            border-radius: 15px;
            padding: 20px;
            transition: all 0.3s ease;
        }
        
        .dynamic-news-feed-block:hover {
            border-color: #42A5F5;
            box-shadow: 0 10px 30px rgba(66, 165, 245, 0.2);
        }
        
        .dynamic-news-feed-header {
            text-align: center;
            margin-bottom: 1.15em;
            padding-bottom: 0.85em;
            border-bottom: 1px solid rgba(66, 165, 245, 0.25);
        }

        .dynamic-news-feed-latest-heading {
            margin: 0 0 0.35em 0;
            padding: 0;
            font-size: 1.15em;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: #F44336;
            line-height: 1.2;
        }

        .dynamic-news-feed-context-title {
            margin: 0;
            padding: 0;
            font-size: 1.35em;
            font-weight: 600;
            color: #42A5F5;
            line-height: 1.3;
        }

        .dynamic-news-feed-context-link {
            color: inherit;
            font-weight: inherit;
            font-size: inherit;
            text-decoration: underline;
            text-decoration-color: rgba(66, 165, 245, 0.55);
            text-underline-offset: 0.12em;
        }

        .dynamic-news-feed-context-link:hover {
            color: #ffffff;
            text-decoration-color: #42A5F5;
        }

        /* Legacy single-line title (e.g. cached HTML) */
        .dynamic-news-feed-title {
            margin-bottom: 1em;
            font-size: 1.5em;
            color: #42A5F5;
            font-weight: 600;
            text-align: center;
        }
        
        .dynamic-news-feed {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .dynamic-news-feed li {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(66, 165, 245, 0.2);
            transition: all 0.3s ease;
        }
        
        .dynamic-news-feed li:hover {
            background: rgba(66, 165, 245, 0.05);
            border-radius: 8px;
            padding: 10px;
            margin: 5px -10px;
        }
        
        .dynamic-news-feed li:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .dynamic-news-feed a {
            display: block;
            color: #ffffff;
            text-decoration: none;
            margin-bottom: 5px;
            font-weight: 500;
            line-height: 1.4;
            transition: color 0.3s ease;
        }
        
        .dynamic-news-feed a:hover {
            color: #42A5F5;
        }
        
        .dynamic-news-feed .news-date {
            display: block;
            font-size: 0.85em;
            color: rgba(255, 255, 255, 0.7);
            font-style: italic;
        }
        
        /* Responsive adjustments for different contexts */
        @media (max-width: 1199px) {
            .dynamic-news-feed-block {
                margin: 15px 0;
                padding: 15px;
            }
            
            .dynamic-news-feed-latest-heading {
                font-size: 1.05em;
            }

            .dynamic-news-feed-context-title {
                font-size: 1.2em;
            }

            .dynamic-news-feed-title {
                font-size: 1.3em;
                margin-bottom: 15px;
            }
            
            .dynamic-news-feed li {
                margin-bottom: 12px;
                padding-bottom: 12px;
            }
            
            .dynamic-news-feed a {
                font-size: 0.9em;
            }
        }
    