/*
Theme Name: Sureva Blog
Theme URI: https://weblish.dev
Author: Weblish
Author URI: https://weblish.dev
Description: A modern blogging theme for WordPress, converted from Webflow. Features a clean design with blog listing, single post pages, and contact functionality.
Version: 1779527777
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sureva
Tags: blog, blogging, one-column, custom-menu, featured-images, theme-options

Sureva WordPress Theme - Modern Blogging Theme
*/

body {
  color: var(--wl-text);
  background-color: var(--wl-background);
}

a {
  color: var(--wl-primary);
}

a:hover,
a:focus-visible {
  color: var(--wl-primary-hover);
}

.text-color-secondary {
  color: var(--wl-muted-text) !important;
}

.tag {
  background-color: var(--wl-pill-bg) !important;
  color: var(--wl-pill-text) !important;
}

.pillar-subnav-wrap {
  margin: 0.9rem 0;
}

.pillar-subnav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  overflow-x: auto;
  padding: 0.15rem 0;
  scrollbar-width: thin;
}

.pillar-subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wl-border);
  background: var(--wl-surface);
  color: var(--wl-pill-text);
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.pillar-subnav-link:hover,
.pillar-subnav-link:focus-visible {
  color: var(--wl-primary-hover);
  border-color: var(--wl-primary);
  background-color: var(--wl-highlight-bg);
}

.pillar-subnav-link.is-active {
  color: var(--wl-primary);
  border-color: var(--wl-primary);
  background-color: var(--wl-pill-bg);
}

.button {
  background-color: var(--wl-primary) !important;
  color: var(--wl-surface) !important;
  border-color: var(--wl-primary) !important;
}

.button:hover,
.button:focus-visible {
  background-color: var(--wl-primary-hover) !important;
  border-color: var(--wl-primary-hover) !important;
}

.w-variant-5aa3dc19-b373-9df6-711b-4ba4e93f6fd9 {
  background-color: transparent !important;
  color: var(--wl-primary) !important;
  border-color: var(--wl-primary) !important;
}

.w-variant-5aa3dc19-b373-9df6-711b-4ba4e93f6fd9:hover,
.w-variant-5aa3dc19-b373-9df6-711b-4ba4e93f6fd9:focus-visible {
  background-color: var(--wl-highlight-bg) !important;
  color: var(--wl-primary-hover) !important;
}

.section_hero.bg-secondary,
.section_hero,
.section_articles,
.section_overview,
.section_footer,
.contact_form,
.articles_content,
.cta,
.blog-detail-sidebar,
.blog-sidebar-meta,
.blog-sticky-cta-banner,
.blog-end-cta-banner {
  border-color: var(--wl-border);
}

.blog-pagination-row {
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-pagination-summary {
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.contact-details-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-detail-item {
  background: var(--wl-surface);
  border: 1px solid var(--wl-border);
  border-radius: 0.75rem;
  padding: 1rem;
}

.contact_form .form_field-wrapper > label,
.contact_form .form_field-wrapper > .form_label {
  display: block;
  width: 100%;
  text-align: left;
  align-self: flex-start;
}

.contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-social-link,
.footer-social-link {
  color: var(--wl-primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-social-link:hover,
.contact-social-link:hover {
  color: var(--wl-primary-hover);
}

.footer-contact-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.4rem;
}

.footer-contact-item a {
  color: var(--wl-primary);
}

.footer-contact-item a:hover {
  color: var(--wl-primary-hover);
}

.footer-social-list {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  overflow: visible;
}

.section_overview,
.section_overview .padding-global,
.section_overview .container-large {
  overflow: visible !important;
}

.blog-detail-content,
.blog-detail-sidebar {
  min-width: 0;
  overflow: visible;
}

.blog-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: stretch;
}

.blog-sidebar-meta {
  background: var(--wl-surface);
  border: 1px solid var(--wl-border);
  border-radius: 1rem;
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.blog-author-profile {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.blog-author-avatar {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 999px;
  flex-shrink: 0;
  border: 1px solid var(--wl-border);
}

.blog-author-name {
  font-weight: 600;
  color: var(--wl-text);
}

.blog-author-description {
  color: var(--wl-muted-text);
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.blog-meta-items {
  display: grid;
  gap: 0.75rem;
}

.blog-meta-item {
  background: var(--wl-highlight-bg);
  border: 1px solid var(--wl-border);
  border-radius: 0.75rem;
  padding: 0.65rem 0.75rem;
  display: grid;
  gap: 0.15rem;
}

.blog-meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wl-muted-text);
}

.blog-meta-value {
  color: var(--wl-text);
}

.blog-sidebar-sticky {
  position: sticky;
  top: var(--weblish-sticky-offset, 96px);
  z-index: 1;
  align-self: start;
}

.blog-sticky-cta-banner,
.blog-end-cta-banner {
  position: relative;
  isolation: isolate;
  border-radius: 1rem;
  border: 1px solid var(--wl-border);
  overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--wl-primary) 16%, var(--wl-surface)), color-mix(in srgb, var(--wl-accent) 14%, var(--wl-surface)));
}

.blog-sticky-cta-banner::before,
.blog-end-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--blog-cta-bg-image);
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  z-index: -2;
}

.blog-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, color-mix(in srgb, var(--wl-secondary) 72%, transparent), color-mix(in srgb, var(--wl-primary) 58%, transparent));
  z-index: -1;
}

.blog-cta-content {
  padding: 1.25rem;
  display: grid;
  gap: 0.75rem;
  color: var(--wl-surface);
}

.blog-cta-content h2,
.blog-cta-content p {
  color: var(--wl-surface);
  margin: 0;
}

.blog-end-cta-wrap {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.blog-end-cta-banner .blog-cta-content {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.blog-end-cta-banner .button {
  width: fit-content;
}

@media (max-width: 900px) {
  .blog-detail-layout {
    display: block;
  }

  .blog-detail-sidebar {
    margin-top: 1.5rem;
  }

  .blog-sidebar-sticky {
    position: static;
  }
}

@media (max-width: 767px) {
  .pillar-subnav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-bottom: 0.4rem;
  }
}
