/* This site was custom designed by Sitethreesixty.com and is actively managed by Sitethreesixty.com */
/* ================================
   BLOG PAGE STYLES
   ================================ */

/* ================================
   INTERIOR PAGE - CORNER LOGO & NAV
   ================================ */
.corner-logo {
  position: fixed;
  top: 12px;
  left: calc(4% + 12px);
  z-index: 1001;
  display: block;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.corner-logo img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: transform var(--transition-base), width var(--transition-base);
}

.corner-logo:hover img {
  transform: scale(1.05);
}

.corner-logo.scrolled img {
  width: 96px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

/* Interior Nav - Starts with white background */
.page-interior .nav-interior {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.page-interior .nav-no-logo .nav-content {
  justify-content: flex-end;
  padding-left: 140px;
}

.page-interior .nav-links {
  margin-right: 40px;
}

.page-interior .nav-interior .nav-link,
.page-interior .nav-interior .nav-phone {
  color: var(--color-text);
}

.page-interior .nav-interior .nav-link:hover {
  color: var(--color-orange);
}

.page-interior .nav-interior .nav-phone-icon {
  color: var(--color-orange);
}

.page-interior .nav-interior .hamburger span {
  background-color: var(--color-text);
}

/* Scrolled state */
.page-interior .nav.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

/* ================================
   BLOG ARTICLE CONTENT
   ================================ */

/* Blog Article Container */
.blog-article {
  padding-top: 40px;
  padding-bottom: 80px;
}

.blog-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Blog Header */
.blog-header {
  margin-bottom: 32px;
  text-align: center;
}

.blog-header h1 {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-blue-navy);
  line-height: var(--line-height-heading);
  margin-bottom: 16px;
}

.blog-meta {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  font-style: italic;
}

/* Featured Image */
.blog-featured-image {
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.blog-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-featured-image figcaption {
  padding: 12px 16px;
  background-color: var(--color-gray-100);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-align: center;
  font-style: italic;
}

/* Blog Content */
.blog-content {
  font-size: var(--text-lg);
  line-height: var(--line-height-body);
  color: var(--text-primary);
}

.blog-content p {
  margin-bottom: var(--paragraph-spacing);
}

.blog-content strong {
  font-weight: var(--weight-semibold);
  color: var(--color-blue);
}

.blog-content em {
  font-style: italic;
}

/* Blog Sections */
.blog-section {
  margin-bottom: 48px;
}

.blog-section:last-child {
  margin-bottom: 0;
}

.blog-section h2 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-blue-navy);
  margin-bottom: 24px;
  margin-top: 48px;
  line-height: var(--line-height-heading);
}

.blog-section h2:first-child {
  margin-top: 0;
}

.blog-section h3 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-blue);
  margin-bottom: 16px;
  margin-top: 32px;
  line-height: var(--line-height-subheading);
}

.blog-section h4 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: 12px;
  margin-top: 24px;
}

/* Inline Images */
.blog-inline-image {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.blog-inline-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-inline-image figcaption {
  padding: 10px 14px;
  background-color: var(--color-gray-100);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-align: center;
  font-style: italic;
}

/* Lists */
.blog-content ul,
.blog-content ol {
  margin-bottom: var(--paragraph-spacing);
  padding-left: 32px;
}

.blog-content ul li {
  margin-bottom: var(--list-spacing);
  list-style-type: disc;
}

.blog-content ol li {
  margin-bottom: var(--list-spacing);
  list-style-type: decimal;
}

.blog-content ul.list-check {
  padding-left: 0;
  list-style: none;
}

.blog-content ul.list-check li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.blog-content ul.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-orange);
  font-weight: var(--weight-bold);
  font-size: var(--text-xl);
}

/* Blog Conclusion */
.blog-conclusion {
  background-color: var(--color-blue-subtle);
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-top: 64px;
}

.blog-conclusion h2 {
  margin-top: 0;
}

/* Blog CTA */
.blog-cta {
  background-color: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 32px;
  text-align: center;
}

.blog-cta h3 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-blue-navy);
  margin-bottom: 16px;
  margin-top: 0;
}

.blog-cta p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.blog-cta .cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.blog-cta .service-area {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Blog Share Links */
.blog-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

.blog-share-label {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: var(--weight-medium);
}

.blog-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.blog-share-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.blog-share-btn svg {
  width: 16px;
  height: 16px;
}

.blog-share-fb { background-color: #1877F2; }
.blog-share-x { background-color: #1D1D1F; }
.blog-share-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.blog-share-url { background-color: #6B7280; }
.blog-share-url.copied { background-color: #10B981; }

/* Bottom share section */
.blog-share-section {
  border-top: 1px solid var(--border-light);
  padding-top: 32px;
  margin-top: 48px;
  text-align: center;
}

.blog-share-section p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .corner-logo {
    left: 12px;
  }

  .corner-logo img {
    width: 100px;
  }

  .corner-logo.scrolled img {
    width: 80px;
  }

  .page-interior .nav-no-logo .nav-content {
    padding-left: 120px;
  }

  .blog-header h1 {
    font-size: var(--text-3xl);
  }

  .blog-section h2 {
    font-size: var(--text-2xl);
  }

  .blog-section h3 {
    font-size: var(--text-xl);
  }

  .blog-content {
    font-size: var(--text-base);
  }

  .blog-conclusion {
    padding: 24px;
  }

  .blog-cta {
    padding: 24px;
  }

  .blog-cta .cta-buttons {
    flex-direction: column;
  }

  .blog-cta .btn {
    width: 100%;
  }
}

/* This site was custom designed by Sitethreesixty.com and is actively managed by Sitethreesixty.com */
