/**
 * Custom CSS for Insurance Agent Theme
 * Layout styles - Header, Footer, Archive, Pages
 *
 * @package DSAdvisory_Theme
 * @since 1.0.0
 */

/* Stop transitions on resize */
.stop-transitions * {
  transition: none !important;
  animation: none !important;
}

/* Lucide icons */
[data-lucide] {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8px;
  display: inline-block;
  vertical-align: middle;
}

.service-icon [data-lucide] {
  width: 48px;
  height: 48px;
}
.benefit-icon [data-lucide] {
  width: 40px;
  height: 40px;
}
.contact-icon [data-lucide],
.footer-contact-icon[data-lucide],
.header-contact-icon[data-lucide],
.header-hours-icon[data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 1.75px;
}
.footer-social [data-lucide] {
  width: 22px;
  height: 22px;
  stroke-width: 1.75px;
}
.blog-date [data-lucide] {
  width: 16px;
  height: 16px;
  stroke-width: 1.5px;
}

/* Glassmorphism utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass:hover {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: var(--glass-shadow-hover);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 2000;
  transition: var(--transition);
}

.header-top-bar {
  background: rgba(0, 51, 102, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 0;
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header-contact-info {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.header-contact-item,
.header-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  transition: var(--transition);
}

.header-contact-item {
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.header-contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  color: var(--white);
}

.header-contact-icon,
.header-hours-icon {
  color: var(--white);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.header-contact-icon[data-lucide],
.header-hours-icon[data-lucide] {
  stroke: currentColor;
  width: 16px;
  height: 16px;
  stroke-width: 1.75px;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language Switcher */
.header-language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.lang-link {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
}

.lang-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-main {
  padding: 1.5rem 0;
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 102, 0, 0.9),
    rgba(229, 90, 0, 0.9)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  transition: var(--transition);
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(229, 90, 0, 0.95),
    rgba(255, 102, 0, 0.95)
  );
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  min-width: 0;
}

.site-logo-link,
.site-branding .custom-logo-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.site-logo-link:hover,
.site-branding .custom-logo-link:hover {
  transform: scale(1.05);
}

.site-logo-image,
.site-branding .custom-logo {
  max-height: 100px;
  width: auto;
  height: auto;
  display: block;
}

.site-branding .custom-logo {
  max-height: 60px;
}

.site-logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: -0.5px;
}

.site-logo:hover {
  color: var(--secondary-color);
}

.site-description {
  display: none;
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

@media (min-width: 768px) {
  .site-description {
    display: block;
  }
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.site-main {
  min-height: 60vh;
  padding: 0;
}

.content-area {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 51, 102, 0.9) 0%,
    rgba(0, 102, 204, 0.8) 100%
  );
  z-index: -1;
}

.footer-top {
  background: rgba(0, 51, 102, 0.3);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0;
  position: relative;
}

.footer-top::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 0;
}

.footer-column:empty,
.footer-widget-area:empty,
.footer-widget:empty {
  display: none;
}

.footer-widget-area {
  display: none;
}

.footer-column {
  position: relative;
}

.footer-about {
  padding-right: 2rem;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  text-decoration: none;
  position: relative;
}

.footer-logo-link:hover {
  transform: scale(1.05);
}

.footer-logo-image {
  max-height: 60px;
  width: auto;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.footer-logo-default {
  opacity: 1;
}

.footer-logo-hover {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.footer-logo-link:hover .footer-logo-default {
  opacity: 0;
}

.footer-logo-link:hover .footer-logo-hover {
  opacity: 1;
}

.footer-logo-link .footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #dadada;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.footer-logo-link:hover .footer-logo-text {
  color: var(--accent-color);
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.footer-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
  border-radius: 2px;
}

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

.footer-list li {
  margin-bottom: 0.75rem;
}

.footer-list a {
  color: #dadada;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  font-size: 0.95rem;
  position: relative;
  padding-left: 0;
}

.footer-list a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--transition);
  color: var(--accent-color);
}

.footer-list a:hover {
  color: var(--white);
  padding-left: 20px;
  transform: translateX(5px);
}

.footer-list a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.footer-contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-contact-icon[data-lucide] {
  stroke: currentColor;
  width: 22px;
  height: 22px;
  stroke-width: 1.75px;
}

.footer-contact-item div {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.25rem 0.5rem;
}

.footer-contact-item a:hover {
  color: var(--white);
  /* text-decoration: underline; */
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.site-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

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

.footer-legal span {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Common Section Styles (Used on Multiple Pages)
   ========================================================================== */

/* Section Header Styles (Used on Front Page and Contact Page) */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* CTA Section (Used in Template Parts) */
.cta-section {
  padding-bottom: 4rem;
  background: transparent;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-text {
  flex: 1;
}

.cta-text h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
}

.cta-text p {
  font-size: 1.1rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.cta-actions {
  flex-shrink: 0;
}

.cta-phone-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: var(--white);
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-phone-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.cta-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), #e55a00);
  border-radius: 50%;
  color: var(--white);
}

.cta-phone-icon [data-lucide] {
  width: 24px;
  height: 24px;
}

.cta-phone-text {
  display: flex;
  flex-direction: column;
}

.cta-phone-label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

.cta-phone-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.header-mobile-branding {
  display: none;
}

/* ==========================================================================
   Responsive - Header & Footer
   ========================================================================== */

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .header-actions {
    display: none;
  }
}

@media (max-width: 920px) {
  .header-contact-item:nth-child(2) {
    display: none;
  }
}

@media (max-width: 1024px) {
  .main-navigation a {
    padding: 0.5rem 0.65rem;
  }
  .header-wrapper {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .header-top-bar {
    display: block;
    padding: 0.5rem 0;
  }

  .header-main {
    padding: 0.75rem 0;
  }

  .header-wrapper {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .header-mobile-branding {
    display: flex;
    flex: 1;
    font-size: 1.5rem;
    font-weight: 700;
  }

  .site-logo-image {
    max-height: 70px;
  }

  /* .site-branding {
    flex: 1;
    min-width: 0;
  } */

  .header-cta-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  /* .header-cta-btn span {
    display: none;
  } */

  .header-cta-btn::before {
    font-size: 1.25rem;
  }

  .header-contact-info {
    display: none;
    gap: 0.75rem;
    font-size: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-contact-item {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .header-contact-icon[data-lucide],
  .header-hours-icon[data-lucide] {
    width: 14px;
    height: 14px;
  }

  .header-top-content {
    flex-direction: column-reverse;
    gap: 0.5rem;
    text-align: center;
  }

  .header-top-right {
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
  }

  .header-hours {
    font-size: 0.75rem;
    justify-content: start;
  }

  .header-hours-text {
    font-size: 0.7rem;
  }

  .header-language-switcher {
    padding: 0.2rem;
    gap: 0.25rem;
  }

  .lang-link {
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-about {
    padding-right: 0;
  }

  .site-info {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-legal span {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-section {
    padding: 3rem 0;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
  }

  .cta-text h2 {
    font-size: 1.75rem;
  }

  .cta-phone-btn {
    padding: 0.875rem 1.5rem;
  }

  .cta-phone-icon {
    width: 44px;
    height: 44px;
  }

  .cta-phone-number {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   Blog Archive Page Styles
   ========================================================================== */

.blog-archive-section {
  padding: 4rem 0;
  min-height: 60vh;
}

.archive-page-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
}

.archive-page-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.archive-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Blog Archive Wrapper - Layout with Sidebar */
.blog-archive-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.blog-archive-main {
  flex: 1;
  min-width: 0;
}

.blog-archive-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.blog-archive-sidebar {
  width: 300px;
  flex-shrink: 0;
  padding-top: 0;
}

.blog-archive-card {
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.blog-archive-card:hover {
  transform: none;
  box-shadow: none;
}

.blog-archive-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
  flex-grow: 1;
}

.blog-archive-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.blog-archive-thumbnail {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  flex-shrink: 0;
  border-radius: 0;
}

.blog-archive-thumbnail.blog-no-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.blog-placeholder-icon {
  color: rgba(255, 255, 255, 0.6);
  opacity: 0.7;
}

.blog-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-archive-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}

.blog-archive-card:hover .blog-archive-overlay {
  opacity: 1;
}

.blog-read-more-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.blog-archive-card:hover .blog-read-more-badge {
  transform: translateY(0);
}

.blog-archive-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-archive-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.blog-archive-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

.blog-archive-date svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.blog-archive-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-archive-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-archive-excerpt {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-archive-excerpt p {
  margin-bottom: 0.5rem;
}

.blog-archive-excerpt p:last-child {
  margin-bottom: 0;
}

.blog-archive-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.blog-archive-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.95rem;
}

.blog-archive-read-more svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Pagination Styles */
.blog-archive-pagination {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.blog-archive-pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-archive-pagination .page-numbers li {
  list-style: none;
  margin: 0;
}

.blog-archive-pagination .page-numbers a,
.blog-archive-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0.5rem 1rem;
  background: var(--glass-bg-solid);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-archive-pagination .page-numbers a:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.blog-archive-pagination .page-numbers .current {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.blog-archive-pagination .page-numbers .prev,
.blog-archive-pagination .page-numbers .next {
  padding: 0.5rem 1.5rem;
  gap: 0.5rem;
}

.blog-archive-pagination .page-numbers svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* No Posts Found */
.no-posts-found {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--glass-bg-solid);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

.no-posts-icon {
  margin-bottom: 2rem;
  color: var(--primary-color);
  opacity: 0.6;
}

.no-posts-icon svg {
  width: 64px;
  height: 64px;
  stroke: currentColor;
}

.no-posts-found h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.no-posts-found p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

/* Responsive Blog Archive */
@media (max-width: 1024px) {
  .blog-archive-sidebar {
    width: 280px;
  }

  .archive-page-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .blog-archive-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .blog-archive-sidebar {
    width: 100%;
    padding-top: 0;
  }

  .blog-archive-section {
    padding: 3rem 0;
  }

  .archive-page-header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
  }

  .archive-page-title {
    font-size: 2rem;
  }

  .blog-archive-list {
    gap: 2rem;
  }

  .blog-archive-thumbnail {
    height: 200px;
  }

  .blog-archive-content {
    padding: 1.5rem;
  }

  .blog-archive-title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Page Template Styles
   ========================================================================== */

.page-entry-header {
  margin-bottom: 2.5rem;
}

.page-entry-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: 0;
  line-height: 1.2;
}

.page-content-section {
  padding: 2rem 0 4rem;
}

.page-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.page-main {
  background: transparent;
  padding: 3rem 0;
  margin-bottom: 2rem;
  min-width: 0;
}

.page-article {
  margin: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Post Thumbnail in Single Post */
.page-article .post-thumbnail {
  margin-bottom: 2rem;
  border-radius: 0;
  overflow: hidden;
}

.page-article .post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  transition: none;
}

/* Post Meta in Single Post */
.page-entry-header .post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  flex-wrap: wrap;
}

.page-entry-header .post-meta .posted-on {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.page-entry-header .post-meta .cat-links {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.page-entry-header .post-meta a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-entry-header .post-meta a:hover {
  text-decoration: underline;
}

/* Entry Footer in Single Post */
.page-article .entry-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.page-article .entry-footer .post-tags {
  font-size: 0.9rem;
  color: #666;
}

.page-article .entry-footer .post-tags a {
  color: var(--primary-color);
  text-decoration: none;
  margin-left: 0.5rem;
}

.page-article .entry-footer .post-tags a:hover {
  text-decoration: underline;
}

.page-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  color: var(--secondary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.page-content h1 {
  font-size: 2.5rem;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.page-content h2 {
  font-size: 2rem;
}

.page-content h3 {
  font-size: 1.75rem;
}

.page-content h4 {
  font-size: 1.5rem;
}

.page-content h5 {
  font-size: 1.25rem;
}

.page-content h6 {
  font-size: 1.1rem;
}

.page-content p {
  margin-bottom: 1.5rem;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.page-content ul li,
.page-content ol li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.page-content ul {
  list-style-type: disc;
}

.page-content ol {
  list-style-type: decimal;
}

.page-content a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-content a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.page-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: #555;
  background: rgba(0, 102, 204, 0.05);
  padding: 1.5rem 2rem;
  border-radius: 8px;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.page-content table th,
.page-content table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.page-content table th {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  font-weight: 600;
}

.page-content table tr:last-child td {
  border-bottom: none;
}

.page-content table tr:nth-child(even) {
  background: rgba(0, 102, 204, 0.03);
}

.page-content code {
  background: rgba(0, 102, 204, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  color: var(--primary-color);
}

.page-content pre {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid var(--border-color);
}

.page-content pre code {
  background: none;
  padding: 0;
  color: var(--text-color);
}

.page-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.page-links-title {
  font-weight: 600;
  color: var(--secondary-color);
  margin-right: 1rem;
}

.page-link-number {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

.page-link-number:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.entry-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.edit-link {
  display: inline-block;
}

.edit-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.edit-link a:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.page-comments-wrapper {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border-color);
}

/* Responsive Page Styles */
@media (max-width: 1024px) {
  .page-layout {
    grid-template-columns: 1fr 280px;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-entry-title {
    font-size: 2rem;
  }

  .page-main {
    padding: 2rem 0;
  }

  .page-content {
    font-size: 1rem;
  }

  .page-content h1 {
    font-size: 2rem;
  }

  .page-content h2 {
    font-size: 1.75rem;
  }

  .page-content h3 {
    font-size: 1.5rem;
  }

  .page-content blockquote {
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
  }

  .page-content table {
    font-size: 0.9rem;
  }

  .page-content table th,
  .page-content table td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .header-top-bar {
    padding: 0.4rem 0;
  }

  .header-contact-info {
    display: none;
    gap: 0.5rem;
    font-size: 0.7rem;
  }

  .header-contact-item {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }

  .header-contact-text {
    font-size: 0.7rem;
  }

  .header-hours {
    font-size: 0.9rem;
  }

  .header-hours-text {
    font-size: 0.65rem;
  }

  .header-language-switcher {
    padding: 0.15rem;
    gap: 0.2rem;
  }

  .lang-link {
    padding: 0.15rem 0.35rem;
    font-size: 0.65rem;
  }

  .page-entry-title {
    font-size: 1.75rem;
  }

  .page-main {
    padding: 1.5rem 0;
  }

  .header-mobile-branding {
    display: flex;
    flex: 1;
    font-size: 1.3rem;
    font-weight: 700;
  }
}

.bpa-front-data-empty-view {
  background-color: transparent !important;
}
