:root {
  /* Brand Colors */
  --sp-blue: #033E89;
  --sp-orange: #FC9103;
  --sp-dark: #111111;
  --sp-white: #FFFFFF;
  --sp-bg: #F8F9FA;
  --sp-border: #E5E7EB;
  --sp-muted: #6B7280;

  /* Typography */
  --sp-font-heading: 'Roboto', sans-serif;
  --sp-font-body: 'Open Sans', sans-serif;

  /* Container & Spacing */
  --sp-container-width: 1200px;
  --sp-padding: 1.5rem;
}

/* Reset & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sp-font-body);
  color: var(--sp-dark);
  background-color: var(--sp-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sp-font-heading);
  color: var(--sp-dark);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--sp-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--sp-orange);
}

p {
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--sp-container-width);
  margin: 0 auto;
  padding: 0 var(--sp-padding);
}

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

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-family: var(--sp-font-body);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--sp-orange);
  color: var(--sp-white);
}

.btn-primary:hover {
  background-color: #e58202;
  color: var(--sp-white);
}

/* Header */
.site-header {
  background-color: var(--sp-white);
  border-bottom: 1px solid var(--sp-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px; /* Adjusted to 68-72px */
}

.site-branding .custom-logo {
  max-height: 40px; /* Adjusted to 38-42px */
  width: auto;
}

.site-title {
  font-size: 1.5rem;
  margin: 0;
  font-family: var(--sp-font-heading);
}

.site-title a {
  color: var(--sp-blue);
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
}

.main-navigation a {
  color: var(--sp-dark);
  font-family: var(--sp-font-body);
  font-weight: 600;
  font-size: 14px; /* Adjusted to 13-14px */
}

.main-navigation a:hover {
  color: var(--sp-orange); /* Hover updated */
}

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

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sp-dark);
  font-size: 1.25rem;
  padding: 0.5rem;
}

/* Header Search UI */
.header-right {
    position: relative;
}
.header-search-ui {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 320px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 16px;
    z-index: 1000;
    border: 1px solid #E5E7EB;
}
.header-search-ui form {
    display: flex;
    align-items: center;
    background: #F9FAFB;
    border: 1px solid #D9DEE5;
    border-radius: 6px;
    overflow: hidden;
}
.header-search-ui input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    font-size: 15px;
    outline: none;
    color: #111111;
}
.header-search-ui input[type="search"]:focus {
    box-shadow: none;
}
.header-search-submit {
    background: none;
    border: none;
    padding: 0 16px;
    color: #6B7280;
    cursor: pointer;
}
.header-search-submit:hover {
    color: var(--sp-orange);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--sp-dark);
  font-size: 1.5rem;
}

/* Footer */
.site-footer {
    background-color: #111111 !important;
    color: #9CA3AF !important;
    padding-top: 64px !important;
}
.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}
.footer-top-grid {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 2fr !important;
    gap: 40px !important;
    margin-bottom: 48px !important;
}
.footer-site-title {
    margin: 0 0 16px 0 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
}
.footer-site-title a {
    color: #FFFFFF !important;
    text-decoration: none !important;
}
.footer-tagline {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}
.site-footer .widget-title {
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}
.footer-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.footer-menu li {
    margin-bottom: 12px !important;
}
.footer-menu li a {
    color: #9CA3AF !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: color 0.3s ease !important;
}
.footer-menu li a:hover {
    color: #FC9103 !important;
}
.footer-newsletter p {
    font-size: 14px !important;
    margin-bottom: 20px !important;
}
.footer-subscribe-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}
.footer-subscribe-form input[type="email"] {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #374151 !important;
    background: #1F2937 !important;
    color: #FFFFFF !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}
.footer-subscribe-form input[type="email"]:focus {
    outline: none !important;
    border-color: #FC9103 !important;
}
.btn-subscribe-footer {
    width: 100% !important;
    background-color: #FC9103 !important;
    color: #FFFFFF !important;
    padding: 12px 16px !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
.btn-subscribe-footer:hover {
    background-color: #e08000 !important;
}
.footer-bottom {
    border-top: 1px solid #374151 !important;
    padding: 24px 0 !important;
}
.footer-bottom .footer-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
}
.footer-bottom p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #6B7280 !important;
}
.footer-bottom a {
    color: #9CA3AF !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
.footer-bottom a:hover {
    color: #FC9103 !important;
}

/* Responsive */
@media (max-width: 991px) {
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--sp-white);
    padding: 1rem;
    border-bottom: 1px solid var(--sp-border);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  }
  
  .main-navigation.toggled {
    display: block;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .header-actions .btn {
    display: none;
  }
}

/* Post Layouts */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.sp-card {
  background-color: var(--sp-white);
  border: 1px solid var(--sp-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.sp-card-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sp-card-body {
  padding: 1.5rem;
}

.sp-card-category {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sp-card-category a {
  color: var(--sp-orange);
}

.sp-card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.sp-card-meta {
  font-size: 0.875rem;
  color: var(--sp-muted);
}

.sp-featured-post {
  margin-bottom: 3rem;
}

.sp-featured-thumbnail {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
}

.sp-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.9) 0%, rgba(17,17,17,0) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.sp-featured-content {
  color: var(--sp-white);
  max-width: 800px;
}

.sp-featured-content .entry-title {
  color: var(--sp-white);
  font-size: 2.5rem;
  margin-top: 1rem;
}

.sp-featured-content .entry-title a {
  color: var(--sp-white);
}

.sp-badge {
  background-color: var(--sp-orange);
  color: var(--sp-white);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* === NEW HEADER UPDATES === */
.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-logo-placeholder {
  display: flex;
  flex-direction: column;
}

.site-logo-placeholder .site-title {
  font-family: var(--sp-font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1;
}

.site-logo-placeholder .site-title a {
  color: var(--sp-dark);
}

.btn-subscribe {
  background-color: var(--sp-orange);
  color: var(--sp-white);
  border-radius: 6px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-subscribe:hover {
  background-color: #e07d00;
  color: var(--sp-white);
}

.menu-close {
  display: none;
  background: none;
  border: none;
  color: var(--sp-dark);
  font-size: 1.5rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

/* === RECENTLY PUBLISHED HERO SECTION === */
.hero-section {
  padding-top: 16px; /* Further reduced to 16px */
  padding-bottom: 24px; /* Set to 24px */
}

.hero-header {
  margin-bottom: 16px; /* Reduced to ~14-18px */
  display: flex;
  align-items: center;
}

.hero-header::before {
  content: "";
  display: block;
  width: 6px;
  height: 24px;
  background-color: var(--sp-orange);
  margin-right: 0.75rem;
  border-radius: 3px;
}

.hero-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  color: var(--sp-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 2rem;
}

/* Main Featured Article */
.hero-featured-card {
  position: relative;
  height: 100%;
  min-height: 400px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-featured-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.placeholder-bg {
  background-color: var(--sp-border);
}

.hero-featured-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.4) 50%, rgba(17,17,17,0.1) 100%);
}

.hero-featured-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.hero-featured-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  color: var(--sp-white);
  width: 100%;
}

.hero-category-badge, .hero-side-category {
  display: inline-block;
  background-color: var(--sp-orange);
  color: var(--sp-white);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-featured-title {
  font-size: 32px;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-weight: 700;
}

.hero-featured-title a {
  color: var(--sp-white);
}

.hero-featured-meta, .hero-side-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-family: var(--sp-font-body);
}

.hero-featured-meta span, .hero-side-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Side Articles */
.hero-side-articles {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
}

.hero-side-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.hero-side-thumbnail {
  flex-shrink: 0;
  width: 125px;
  height: 86px;
  border-radius: 6px;
  overflow: hidden;
}

.hero-side-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-placeholder-img {
  width: 100%;
  height: 100%;
  background-color: var(--sp-border);
}

.hero-side-content {
  flex-grow: 1;
}

.hero-side-category {
  background-color: transparent;
  color: var(--sp-orange);
  padding: 0;
  margin-bottom: 0.25rem;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-side-title {
  font-size: 16px;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  font-weight: 700;
}

.hero-side-title a {
  color: var(--sp-dark);
}

.hero-side-title a:hover {
  color: var(--sp-blue);
}

.hero-side-meta {
  color: var(--sp-muted);
  gap: 1rem;
  font-size: 12px;
}

/* Hide author on desktop for side cards */
.hero-side-card .hero-author {
  display: none;
}

/* === RESPONSIVE OVERRIDES === */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-featured-card {
    min-height: 350px;
    margin-bottom: 1rem;
  }
  
  .menu-close {
    display: block;
  }

  .main-navigation.toggled {
    padding: 3rem 1.5rem 1.5rem; /* Space for close button */
  }
}

@media (max-width: 600px) {
  .hero-featured-content {
    padding: 1.5rem;
  }
  
  .hero-featured-title {
    font-size: 1.5rem;
  }
  
  .hero-featured-meta {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  
  .hero-side-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .hero-side-thumbnail {
    width: 100%;
    height: 200px;
  }
}
/* === MOBILE HERO CAROUSEL === */
.hero-carousel-controls {
  display: none !important;
}

@media (max-width: 767px) {
  .hero-carousel-wrapper {
    overflow: hidden;
    position: relative;
    padding-bottom: 0;
  }
  
  #mobile-hero-carousel {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.3s ease-out;
    gap: 0;
  }
  
  .hero-main-article, .hero-side-articles {
    display: contents;
  }
  
  .hero-featured-card, .hero-side-card {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    padding: 0;
    
    position: relative;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }
  
  .hero-side-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }
  
  .hero-side-thumbnail a, .hero-side-thumbnail img, .side-placeholder-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hero-side-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0.4) 50%, rgba(17, 17, 17, 0) 100%);
  }
  
  .hero-side-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem; /* Matches .hero-featured-content padding */
    width: 100%;
    height: 100%; /* Spans full height of card */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Enforces strict bottom alignment */
    align-items: flex-start;
  }
  
  .hero-side-category {
    background-color: var(--sp-orange);
    color: var(--sp-white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
  }
  
  .hero-side-title {
    font-size: 1.5rem; /* Matches .hero-featured-title on mobile */
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }
  
  .hero-side-title a {
    color: var(--sp-white);
  }
  
  .hero-side-meta {
    color: rgba(255, 255, 255, 0.9); /* Match Slide 1 */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 13px; /* Matches Slide 1 */
    font-family: var(--sp-font-body);
  }
  
  .hero-author {
    color: var(--sp-white);
  }
  
  .hero-side-card .hero-author {
    display: inline-block;
  }
  
  /* Carousel Controls */
  .hero-carousel-outer {
    position: relative;
  }
  
  .hero-carousel-controls {
    display: block !important;
    position: absolute;
    inset: 0;
    pointer-events: none;
    margin: 0;
  }
  
  .hero-carousel-prev, .hero-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    background: var(--sp-orange); /* Changed to Solar Orange */
    border: none;
    color: var(--sp-white); /* Changed to white */
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    padding: 0;
  }
  
  .hero-carousel-prev {
    left: -20px; /* Half-in, half-out */
  }
  
  .hero-carousel-next {
    right: -20px; /* Half-in, half-out */
  }
}

/* === SOLAR POLICY SECTION === */
.solar-policy-section {
  padding: 20px 0;
  background-color: var(--sp-white);
}

.solar-policy-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--sp-border);
  padding-bottom: 0.5rem;
}

.solar-policy-header .section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--sp-dark);
  margin: 0;
}

.solar-policy-header .view-all-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sp-orange);
  text-decoration: none;
  text-transform: uppercase;
}

.solar-policy-header .view-all-link:hover {
  text-decoration: underline;
}


.policy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #FFFFFF;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: #D1D5DB;
}

.policy-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.policy-thumbnail {
  margin-bottom: 0;
}

.policy-thumbnail img, .policy-placeholder {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.policy-placeholder {
  background-color: var(--sp-border);
}

.policy-content {
  display: flex;
  flex-direction: column;
  padding: 16px;
  flex-grow: 1;
}

.policy-category {
  color: var(--sp-orange);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.policy-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 8px 0;
  color: var(--sp-dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.policy-title a {
  color: inherit;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 12px;
  color: var(--sp-muted);
  margin-top: auto;
}

.policy-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.solar-policy-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .solar-policy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile View: Show ONLY 1 post, hide the rest */
@media screen and (max-width: 768px) {
    .solar-policy-section .solar-policy-grid {
        display: grid;
        grid-template-columns: 1fr; /* The single post takes full width */
    }
    
    /* Target all cards starting from the 2nd one and hide them */
    .solar-policy-section .policy-card:nth-child(n+2) {
        display: none !important;
    }
}

/* === RECOMMENDED SECTION === */
.recommended-section {
  padding: 40px 0;
  background-color: var(--sp-white);
}

.recommended-layout {
  display: flex;
  flex-direction: row;
  gap: 32px;
}

.recommended-main {
  width: 70%;
}

.recommended-sidebar {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recommended-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--sp-border);
  padding-bottom: 0.5rem;
}

.recommended-header .section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--sp-dark);
  margin: 0;
}

.recommended-header .title-accent {
  color: var(--sp-orange);
  margin-right: 4px;
}

.recommended-header .view-all-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sp-orange);
  text-decoration: none;
  text-transform: uppercase;
}

.recommended-header .view-all-link:hover {
  text-decoration: underline;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 24px;
}

.newsletter-widget {
  background: #F9FAFB;
}

.newsletter-widget .widget-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--sp-dark);
}



.newsletter-widget .widget-desc {
  font-size: 14px;
  color: var(--sp-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #D1D5DB;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-submit {
  width: 100%;
  padding: 12px;
  background-color: var(--sp-orange);
  color: #FFFFFF;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-submit:hover {
  background-color: #e08000;
}

.companies-widget .widget-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 8px;
}

.companies-widget .widget-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--sp-dark);
}

.companies-widget .widget-view-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--sp-orange);
  text-decoration: none;
}

.companies-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dummy-logo {
  width: 48px;
  height: 48px;
  background-color: #E5E7EB;
  border-radius: 50%;
  flex-shrink: 0;
}

.company-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: var(--sp-dark);
}

.company-rating {
  font-size: 14px;
  color: #F59E0B;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .recommended-layout {
    flex-direction: column;
  }
  
  .recommended-main,
  .recommended-sidebar {
    width: 100%;
  }

  .recommended-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .recommended-section .recommended-grid {
    grid-template-columns: 1fr;
  }
  
  /* Hide post 3, 4, 5, and 6 */
  .recommended-section .recommended-grid > *:nth-child(n+3) {
    display: none !important;
  }
}

/* === INTERVIEWS SECTION === */
.interviews-section {
  padding: 40px 0;
  background-color: var(--sp-white);
}

.interviews-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--sp-border);
  padding-bottom: 0.5rem;
}

.interviews-header .section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--sp-dark);
  margin: 0;
}

.interviews-header .title-accent {
  color: var(--sp-orange);
  margin-right: 4px;
}

.interviews-header .view-all-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--sp-orange);
  text-decoration: none;
  text-transform: uppercase;
}

.interviews-header .view-all-link:hover {
  text-decoration: underline;
}

/* === INTERVIEWS SECTION - MASTER WRAPPER === */
.interviews-master-wrapper {
    display: flex;
    gap: 30px;
    width: 100%;
}

.interview-featured-column {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.interview-grid-column {
    width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
}

/* Featured Poster Card */
.interview-featured-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-height: 500px;
}

/* Make the gradient darker and stretch it higher */
.featured-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0.1) 100%) !important;
    padding: 40px 32px !important;
    color: #FFFFFF !important;
    width: 100% !important;
    height: 100% !important; /* Ensure it covers the whole height */
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    box-sizing: border-box !important;
}

.badge-featured {
    background: #FC9103;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Stop the badge and button from stretching full width in the flex column */
.interview-featured-card .badge-featured,
.interview-featured-card .btn-read-interview {
    align-self: flex-start !important;
    width: max-content !important;
    max-width: 100% !important;
}

.featured-title {
    font-size: 28px;
    line-height: 1.2;
}

/* Ensure the title stays readable and doesn't get pushed weirdly */
.interview-featured-card .featured-title {
    margin-top: 12px !important;
    margin-bottom: 20px !important;
}

.featured-title a {
    color: #fff;
    text-decoration: none;
}

.featured-title a:hover {
    text-decoration: underline;
}

/* Add crisp text shadows to pop against bright images */
.featured-title, .featured-title a {
    text-shadow: 0 2px 6px rgba(0,0,0,0.9) !important;
}



.featured-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 13px;
    color: #E5E7EB !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9) !important;
    margin-bottom: 25px;
}

.btn-read-interview {
    background-color: #FC9103;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s;
}

.btn-read-interview:hover {
    background-color: #e08000;
    color: #FFFFFF;
}

/* Restore Small Cards as standard policy cards */
.interview-small-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.interview-small-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

.interview-small-card .policy-thumbnail img {
    aspect-ratio: 3/2;
    object-fit: cover;
    width: 100%;
    border-radius: 0 !important;
}

.interview-small-card .policy-content {
    padding: 20px !important;
}

@media (max-width: 1024px) {
    .interviews-master-wrapper {
        flex-direction: column;
    }
    .interview-featured-column, .interview-grid-column {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .interview-grid-column {
        grid-template-columns: 1fr;
    }
    
    /* Hide the 3rd and 4th small cards on mobile */
    .interview-grid-column > *:nth-child(n+3) {
        display: none !important;
    }
}

/* Mobile Typography & Spacing Fixes for Featured Interview Card */
@media screen and (max-width: 768px) {
    .interview-featured-card {
        min-height: 420px !important; /* Slightly reduce overall card height for mobile */
    }
    
    .interview-featured-card .featured-overlay {
        padding: 24px 20px !important; /* Reduce padding to give text more breathing room */
    }

    .interview-featured-card .badge-featured {
        font-size: 10px !important;
        padding: 4px 8px !important;
        margin-bottom: 10px !important;
    }

    .interview-featured-card .featured-title {
        font-size: 18px !important; /* Scaled down to match standard mobile heading size */
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }

    .interview-featured-card .featured-meta {
        font-size: 11px !important;
        margin-bottom: 16px !important;
    }

    .interview-featured-card .btn-read-interview {
        font-size: 13px !important;
        padding: 8px 16px !important;
    }
}

/* === GUEST ARTICLES SECTION === */
.guest-articles-section {
    padding: 40px 0;
    background: #FFFFFF;
}

.guest-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

/* Guest Articles Redesign Grid */
.guest-articles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* 1. MAIN FEATURED GUEST CARD (Spans 2 columns) */
.guest-main-card {
    grid-column: span 2;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.guest-main-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    box-sizing: border-box;
}

.badge-guest {
    background: #FC9103;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 16px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    align-self: flex-start;
}

.guest-main-content .guest-title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.guest-main-content .guest-title a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.guest-main-content .guest-title a:hover {
    text-decoration: underline;
}

.guest-author {
    color: #e5e7eb;
    font-size: 14px;
    margin-bottom: 24px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.guest-main-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 13px;
    color: #e5e7eb;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 16px;
}

/* 2. SMALL GUEST CARDS (Span 1 column each) */
.guest-small-card {
    grid-column: span 1;
}

.guest-small-card .guest-thumbnail {
    position: relative;
    border-radius: 12px 12px 0 0; /* Match policy card */
    overflow: visible; /* To allow badge to overlap */
}

.guest-small-card .policy-thumbnail img {
    aspect-ratio: 3/2;
    object-fit: cover;
    width: 100%;
    border-radius: 12px 12px 0 0;
}

.guest-badge-circle {
    position: absolute;
    bottom: -18px;
    left: 20px;
    width: 36px;
    height: 36px;
    background: #FFF3E6;
    color: #FC9103;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 3px solid #FFF; /* Creates the cut-out effect */
}

.guest-small-card .policy-content {
    padding: 30px 20px 20px; /* Extra top padding for the overlapping badge */
    display: flex;
    flex-direction: column;
    height: calc(100% - auto);
}

.guest-small-title {
    font-size: 17px;
    color: #111;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guest-small-title a {
    color: #111;
    text-decoration: none;
}

.guest-small-title a:hover {
    color: #FC9103;
}

.guest-author-small {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

/* Fix Section Header Colors */
.guest-articles-section .section-title-line, /* Adjust class if necessary to target the vertical line */
.guest-articles-section h2::before {
    background-color: #FC9103 !important;
}

.guest-articles-section .view-all-link,
.guest-articles-section .section-header a {
    color: #FC9103 !important;
}

/* Fix Badge Shape */
.guest-articles-section .badge-guest {
    border-radius: 4px !important; /* Removes the heavy pill shape */
    padding: 6px 12px !important;
}

/* Fix Small Card Excerpt (Fill White Space) */
.guest-small-excerpt {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #6B7280 !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important; /* Limits text to exactly 3 lines to fit the gap perfectly */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* 1. Force Orange Color on the Title Accent Pipe */
.section-title .title-accent {
    color: #FC9103 !important;
    margin-right: 8px !important;
    font-weight: 700 !important;
}

/* 2. Standardize Header Layout & Bottom Divider */
.section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important; /* Forces vertical centering */
    flex-wrap: nowrap !important; /* Prevents wrapping on very small screens */
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid #E5E7EB !important; /* Light gray divider line */
}

/* Strip default margins from the heading that cause vertical offset */
.section-header .section-title {
    margin-top: 0 !important;
    margin-bottom: 0 !important; /* Removes the bottom spacing pushing it out of alignment */
    display: flex !important;
    align-items: center !important; /* Keeps the orange pipe perfectly aligned with text */
    line-height: 1.2 !important;
}

/* 3. Style the View All Link */
.section-header .view-all-link {
    color: #FC9103 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    white-space: nowrap !important; /* Prevents the arrow from dropping to a new line */
    display: inline-flex !important;
    align-items: center !important;
}

/* Master Split Layout */
.news-calculator-split-section { margin: 60px 0 !important; }
.news-calc-master-grid {
    display: grid !important;
    grid-template-columns: 2.2fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
}

/* Left: News Mini Grid */
.news-mini-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px 24px !important;
}
/* Remove global padding and gap so image touches the edges */
.news-mini-card {
    display: flex !important;
    align-items: stretch !important;
    padding: 0 !important; /* REMOVED PADDING */
    gap: 0 !important;     /* REMOVED GAP */
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    background: #FFFFFF !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    overflow: hidden !important; /* Ensure image corners get clipped nicely */
}

/* Hover Effect Remains the Same */
.news-mini-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06) !important;
    border-color: #D1D5DB !important;
}

/* Make Image Flush: Remove inner radius, let flex stretch it */
.news-mini-img {
    flex: 0 0 110px !important; /* Slightly wider to compensate for removed gap */
    height: auto !important; /* Let flex stretch the height */
    min-height: 100% !important;
    border-radius: 0 !important; /* Remove inner radius */
    background: #F3F4F6 !important;
}

.news-mini-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Move Padding ONLY to the Text Content Area */
.news-mini-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 16px !important; /* PADDING MOVED HERE */
    flex-grow: 1 !important;
}

/* Title: Apply strict 2-line clamp */
.news-mini-title {
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin-bottom: 10px !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* Force limit to 2 lines */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.news-mini-title a { 
    color: #111111 !important; 
    text-decoration: none !important; 
}

/* Meta Data */
.news-mini-meta {
    font-size: 11px !important;
    color: #6B7280 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: auto !important; /* Pushes meta to the bottom */
}

/* Right: Calculator Sidebar */
.calc-sidebar-box {
    background-color: #FC9103 !important; /* Solar Orange matching brand */
    border-radius: 12px !important;
    padding: 32px 24px !important;
    color: #FFFFFF !important;
}
.calc-sidebar-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}
.calc-sidebar-subtitle {
    font-size: 15px !important;
    margin-bottom: 24px !important;
    line-height: 1.5 !important;
    color: rgba(255, 255, 255, 0.95) !important;
}
.calc-form-group { margin-bottom: 20px !important; }
.calc-form-group label {
    display: block !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
}
.calc-form-group input, .calc-form-group select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #4B5563 !important;
    box-sizing: border-box !important;
}
.btn-calc-submit {
    width: 100% !important;
    background-color: #111111 !important;
    color: #FFFFFF !important;
    padding: 14px !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    margin-bottom: 16px !important;
}
.calc-sidebar-footer {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 11px !important;
    color: #FECACA !important;
}

/* Data & Opinion Split Section */
.data-opinion-section {
    margin: 60px 0 !important;
}
.data-opinion-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
}
.boxed-column {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    padding: 32px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02) !important;
}
.column-post-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}
.post-card-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}
.post-card-title a {
    color: #111111 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
.post-card-title a:hover {
    color: #FC9103 !important;
}
.post-card-meta {
    font-size: 13px !important;
    color: #6B7280 !important;
}

/* Data & Reports Card Specifics */
.data-card {
    border-left: 4px solid #FC9103 !important;
    padding-left: 16px !important;
}

/* Opinion Card Specifics */
.opinion-card {
    display: flex !important;
    gap: 16px !important;
    align-items: center !important;
}
.opinion-avatar {
    flex: 0 0 64px !important;
}
.opinion-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 10px !important; /* Reduced from 20px for a sharper, standard look */
}
.opinion-content {
    display: flex !important;
    flex-direction: column !important;
}


/* Tablet: 2 Columns for small cards, Main card takes full width */
@media (max-width: 1024px) {
    .guest-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .guest-main-card {
        grid-column: span 2;
    }
    .guest-small-card {
        grid-column: span 1;
    }
    .news-calc-master-grid { grid-template-columns: 1fr !important; }
    .news-mini-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .data-opinion-grid { grid-template-columns: 1fr !important; }
    .footer-top-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Mobile: 1 Column */
@media (max-width: 768px) {
    .guest-articles-grid {
        grid-template-columns: 1fr;
    }
    .guest-main-card {
        grid-column: span 1;
        min-height: 320px;
    }
    .guest-small-card {
        grid-column: span 1;
    }
    .guest-articles-grid > *:nth-child(n+2) {
        display: none !important;
    }
    .news-mini-grid { grid-template-columns: 1fr !important; }
    .news-mini-card:nth-child(n+4) { display: none !important; } /* Hide 4,5,6 on mobile */
    .boxed-column { padding: 24px !important; }
    .footer-top-grid { grid-template-columns: 1fr !important; }
    .footer-bottom .footer-container {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

/* Category Container */
.category-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Category Hero */
/* Premium Split Category Hero */
.category-hero-premium {
    position: relative !important;
    background-color: #FFFAF5 !important;
    padding: 100px 0 !important;
    margin-bottom: 60px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
}

.hero-bg-overlay {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 65% !important;
    height: 100% !important;
    /* Updated Background Image */
    background-image: url('https://solarpsalms.com/wp-content/uploads/2026/08/Bg_image-1.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 1 !important;
}

/* Linear gradient fading from the left (solid #FFFAF5) to transparent to blend the image */
.hero-bg-overlay::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to right, #FFFAF5 0%, rgba(255, 250, 245, 0.9) 20%, rgba(255, 250, 245, 0) 100%) !important;
}

.hero-inner-container {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
}

.hero-breadcrumb {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #6B7280 !important;
    margin-bottom: 24px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.hero-breadcrumb a {
    color: #4B5563 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}
.hero-breadcrumb a:hover {
    color: #FC9103 !important;
}
.hero-breadcrumb .separator {
    margin: 0 8px !important;
}
.hero-breadcrumb .current {
    color: #111111 !important;
}

.category-title-massive {
    font-size: 64px !important;
    font-weight: 900 !important;
    color: #0A192F !important;
    text-transform: uppercase !important;
    margin-bottom: 24px !important;
    line-height: 1.1 !important;
    max-width: 60% !important;
}

.category-desc-lead {
    font-size: 18px !important;
    color: #374151 !important;
    line-height: 1.7 !important;
    max-width: 50% !important;
    font-weight: 400 !important;
}

@media screen and (max-width: 1024px) {
    .hero-bg-overlay { width: 100% !important; }
    .category-title-massive { font-size: 48px !important; max-width: 80% !important; }
    .category-desc-lead { max-width: 80% !important; }
}

@media screen and (max-width: 768px) {
    .hero-bg-overlay::before {
        background: linear-gradient(to right, #FFFAF5 0%, rgba(255, 250, 245, 0.95) 60%, rgba(255, 250, 245, 0.4) 100%) !important;
    }
    .category-title-massive { font-size: 36px !important; max-width: 100% !important; }
    .category-desc-lead { max-width: 100% !important; }
}

/* Category Grid */
.category-posts-section {
    padding-bottom: 80px !important;
}
.category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px !important;
}

/* Premium Post Card */
.premium-post-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.premium-post-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06) !important;
    border-color: #D1D5DB !important;
}
.card-img-wrap {
    width: 100% !important;
    aspect-ratio: 16/10 !important;
    background: #F3F4F6 !important;
    overflow: hidden !important;
}
.card-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}
.premium-post-card:hover .card-img-wrap img {
    transform: scale(1.05) !important;
}
.premium-post-card .card-content {
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}
.premium-post-card .card-title {
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}
.premium-post-card .card-title a { color: #111111 !important; text-decoration: none !important; }
.premium-post-card .card-title a:hover { color: #FC9103 !important; }
.premium-post-card .card-excerpt {
    font-size: 14px !important;
    color: #4B5563 !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.premium-post-card .card-meta {
    margin-top: auto !important;
    font-size: 13px !important;
    color: #6B7280 !important;
    display: flex !important;
    gap: 6px !important;
}

/* Pagination */
.category-pagination {
    margin-top: 60px !important;
    text-align: center !important;
}
.category-pagination .nav-links {
    display: inline-flex !important;
    gap: 8px !important;
    align-items: center !important;
}
.category-pagination .page-numbers {
    padding: 10px 16px !important;
    background: #F3F4F6 !important;
    color: #111111 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}
.category-pagination .page-numbers.current,
.category-pagination .page-numbers:hover {
    background: #FC9103 !important;
    color: #FFFFFF !important;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media screen and (max-width: 640px) {
    .category-grid { grid-template-columns: 1fr !important; }
}

/* Single Post Containers */
.single-container { max-width: 900px !important; margin: 0 auto !important; padding: 0 20px !important; text-align: center !important; }
.single-container-large { max-width: 1100px !important; margin: 0 auto !important; padding: 0 20px !important; }
.single-container-narrow { max-width: 740px !important; margin: 0 auto !important; padding: 0 20px !important; }

/* Single Header */
.single-post-header { padding: 80px 0 40px !important; background-color: #FFFFFF !important; }
.single-cat-badge a { 
    background: #FC9103 !important; color: #FFF !important; padding: 6px 14px !important; 
    border-radius: 4px !important; font-size: 12px !important; font-weight: 700 !important; 
    text-transform: uppercase !important; text-decoration: none !important; 
    margin-bottom: 24px !important; display: inline-block !important; 
}
.single-title { font-size: 46px !important; font-weight: 800 !important; line-height: 1.25 !important; color: #111111 !important; margin-bottom: 32px !important; }
.single-meta { display: flex !important; justify-content: center !important; align-items: center !important; gap: 16px !important; margin-top: 24px !important; }
.meta-details { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; flex-wrap: wrap !important; gap: 20px !important; font-size: 14px !important; color: #6B7280 !important; }
.meta-item { display: flex !important; align-items: center !important; gap: 6px !important; }
.meta-item.author-name { font-weight: 700 !important; color: #111111 !important; font-size: 15px !important;}

/* Single Featured Image */
.single-featured-image { margin-bottom: 60px !important; }
.single-featured-image img { 
    width: 100% !important; height: auto !important; border-radius: 16px !important; 
    object-fit: cover !important; max-height: 650px !important; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important; 
}

/* Single Content Typography (Optimal Reading) */
.premium-article-content { font-size: 18px !important; line-height: 1.8 !important; color: #374151 !important; }
.premium-article-content p { margin-bottom: 28px !important; }
.premium-article-content h2, .premium-article-content h3, .premium-article-content h4 { 
    color: #0B2A4A !important; font-weight: 800 !important; margin-top: 48px !important; margin-bottom: 24px !important; 
}
.premium-article-content h2 { font-size: 32px !important; }
.premium-article-content h3 { font-size: 26px !important; }
.premium-article-content a { color: #FC9103 !important; text-decoration: none !important; font-weight: 600 !important; transition: color 0.2s; }
.premium-article-content a:hover { color: #0B2A4A !important; text-decoration: underline !important; }
.premium-article-content img { border-radius: 12px !important; height: auto !important; max-width: 100% !important; margin: 40px 0 !important; }
.premium-article-content blockquote {
    border-left: 4px solid #FF9200 !important; padding-left: 24px !important;
    margin: 40px 0 !important; font-size: 22px !important; font-style: italic !important; color: #111111 !important;
    background: #FAFAFA !important; padding: 24px !important; border-radius: 0 8px 8px 0 !important;
}

/* Subscription Modal Styles */
.paywall-fade {
    position: relative;
    height: 150px;
    margin-top: -100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 80%);
    z-index: 10;
}
.subscription-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(7, 20, 35, 0.65);
    z-index: 99999; /* Ensure it's above everything */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.subscription-modal.show {
    opacity: 1;
}
.subscription-modal-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 48px;
    max-width: 560px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid #E5E7EB;
}
.subscription-modal.show .subscription-modal-card {
    transform: translateY(0);
}
.subscription-modal .subscription-title {
    color: #0B2A4A;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}
.subscription-modal .subscription-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4B5563;
    margin-bottom: 32px;
}
.subscription-modal .subscription-form {
    text-align: left;
}
.subscription-modal .subscription-input-group {
    margin-bottom: 24px;
}
.subscription-modal label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.subscription-modal input[type="email"] {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1px solid #D9DEE5;
    border-radius: 6px;
    font-size: 16px;
    color: #111111;
    background: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.subscription-modal input[type="email"]:focus {
    border-color: #FF9200;
    box-shadow: 0 0 0 2px rgba(255, 146, 0, 0.2);
}
.subscription-modal .subscription-error {
    display: block;
    color: #DC2626;
    font-size: 13px;
    margin-top: 6px;
}
.subscription-modal .subscription-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.subscription-modal .subscribe-button {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF9200 !important;
    color: #FFFFFF !important;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.2s;
}
.subscription-modal .subscribe-button:hover,
.subscription-modal .subscribe-button:focus,
.subscription-modal .subscribe-button:active {
    background: #E98200 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}
.subscription-modal .maybe-later,
.subscription-modal .maybe-later:hover,
.subscription-modal .maybe-later:focus,
.subscription-modal .maybe-later:active,
.subscription-modal .maybe-later:visited {
    background: none;
    border: none;
    color: #5F6B7A !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none !important;
    padding: 8px;
}
.subscription-modal .maybe-later:hover {
    color: #0B2A4A !important;
}

/* Comments Styling */
.single-comments-section { margin-top: 80px !important; padding-top: 60px !important; padding-bottom: 60px !important; border-top: 1px solid #E5E7EB !important; }
.comment-respond .submit { 
    background: #FC9103 !important; color: #FFF !important; border: none !important; 
    padding: 14px 32px !important; border-radius: 6px !important; font-weight: 600 !important; 
    font-size: 16px !important; cursor: pointer !important; transition: background 0.3s ease !important;
}
.comment-respond .submit:hover { background: #e08000 !important; }
.comment-form-comment textarea, .comment-form input[type="text"], .comment-form input[type="email"] {
    width: 100% !important; border: 1px solid #D1D5DB !important; border-radius: 6px !important; padding: 12px !important; font-family: inherit !important;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .single-title { font-size: 36px !important; }
    .premium-article-content { font-size: 16px !important; }
    
    .subscription-modal-card { 
        padding: 40px 24px; 
    }
    .subscription-modal .subscription-title {
        font-size: 26px;
    }
}

/* Premium Page Shared Styles */
.premium-page-wrapper {
    font-size: 18px !important;
    line-height: 1.8 !important;
    color: #374151 !important;
}
.page-headline {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: #111111 !important;
    margin-bottom: 24px !important;
    line-height: 1.3 !important;
}
.page-lead {
    font-size: 22px !important;
    color: #4B5563 !important;
    margin-bottom: 40px !important;
    font-weight: 300 !important;
}

/* About Us: Stats Grid */
.about-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    margin: 48px 0 !important;
}
.stat-box {
    background: #FFFAF5 !important;
    border: 1px solid #FDE6D5 !important;
    border-radius: 12px !important;
    padding: 32px 24px !important;
    text-align: center !important;
}
.stat-number {
    display: block !important;
    font-size: 40px !important;
    font-weight: 800 !important;
    color: #FC9103 !important;
    margin-bottom: 8px !important;
}
.stat-label {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #111111 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Contact Us: Split Layout */
.contact-split-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 60px !important;
    align-items: start !important;
}
.contact-details-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 40px 0 0 0 !important;
}
.contact-details-list li {
    margin-bottom: 20px !important;
    font-size: 17px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #E5E7EB !important;
}
.contact-details-list strong { color: #111111 !important; }

/* Contact Us: Premium Form */
.premium-form-box {
    background: #FFFFFF !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 16px !important;
    padding: 40px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04) !important;
}
.solar-contact-form .form-group {
    margin-bottom: 24px !important;
}
.solar-contact-form label {
    display: block !important;
    font-weight: 600 !important;
    color: #111111 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
}
.solar-contact-form input, .solar-contact-form textarea {
    width: 100% !important;
    padding: 14px 16px !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    background: #F9FAFB !important;
    transition: all 0.3s ease !important;
}
.solar-contact-form input:focus, .solar-contact-form textarea:focus {
    outline: none !important;
    border-color: #FC9103 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(252, 145, 3, 0.1) !important;
}
.btn-submit-premium {
    width: 100% !important;
    background: #FC9103 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}
.btn-submit-premium:hover { background: #e08000 !important; }

/* Legal Documents (Privacy / Terms) */
.legal-document .last-updated {
    font-weight: 600 !important;
    color: #FC9103 !important;
    margin-bottom: 32px !important;
}
.legal-document h3 {
    margin-top: 48px !important;
    margin-bottom: 16px !important;
    font-size: 24px !important;
    color: #111111 !important;
}

/* Responsive Overrides */
@media screen and (max-width: 900px) {
    .contact-split-layout { grid-template-columns: 1fr !important; gap: 40px !important; }

    .about-stats-grid { grid-template-columns: 1fr !important; }
}

/* 1. Fix Page Widths */
.page-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* Force Legal Documents (Privacy, Terms) to remain narrow for readability */
.legal-document {
    max-width: 760px !important;
    margin: 0 auto !important;
}

/* 2. Clean up Page Hero Header */
.page-hero-header {
    background: #FFFFFF !important; /* Force clean white */
    border-bottom: none !important; /* Remove clashing border */
    padding: 60px 20px 20px !important;
    margin-bottom: 0 !important;
}
.page-main {
    background: #FFFFFF !important; /* Ensure the whole page area is clean white */
}

/* 3. Polish the Contact Layout */
.contact-split-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 80px !important; /* Give the columns space to breathe */
    align-items: center !important;
    padding: 40px 0 100px !important;
}

.contact-info-col {
    padding-right: 40px !important;
}

.contact-info-col .page-headline {
    font-size: 46px !important;
    margin-bottom: 24px !important;
    line-height: 1.2 !important;
}

.contact-info-col .page-lead {
    font-size: 20px !important;
    line-height: 1.7 !important;
}

/* 4. Refine the Premium Form Box */
.premium-form-box {
    background: #FFFFFF !important;
    border: 1px solid #F3F4F6 !important;
    border-radius: 24px !important;
    padding: 48px !important;
    box-shadow: 0 24px 60px rgba(0,0,0,0.04) !important; /* Wider, softer, premium shadow */
}

/* Responsive Overrides */
@media screen and (max-width: 1024px) {
    .contact-split-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding-right: 0 !important;
    }
    .contact-info-col { padding-right: 0 !important; }
}

/* Premium Contact Page Styles */
.premium-contact-main {
    background: #F7F8FA !important;
}
.contact-hero-premium {
    padding: 120px 0 80px !important;
    position: relative !important;
    overflow: hidden !important;
    background-image: url('https://solarpsalms.com/wp-content/uploads/2026/08/Bg_image-1.webp') !important;
    background-size: cover !important;
    background-position: center !important;
}
.contact-hero-premium .hero-bg-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to right, rgba(255, 250, 245, 1) 0%, rgba(255, 250, 245, 0.85) 40%, rgba(255, 250, 245, 0.1) 100%) !important;
    z-index: 1 !important;
}
.contact-hero-premium .hero-inner-container {
    position: relative !important;
    z-index: 2 !important;
}
.form-success-msg {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    padding: 16px !important;
    border-radius: 8px !important;
    margin-bottom: 24px !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.form-error-msg {
    background: #fef2f2 !important;
    color: #991b1b !important;
    padding: 16px !important;
    border-radius: 8px !important;
    margin-bottom: 24px !important;
    font-size: 15px !important;
}
.form-error-msg ul {
    margin: 0 !important;
    padding-left: 20px !important;
}
.contact-content-wrapper {
    padding: 60px 0 80px !important;
}
.contact-grid-2col {
    display: grid !important;
    grid-template-columns: 55fr 45fr !important;
    gap: 60px !important;
    margin-bottom: 100px !important;
    align-items: start !important;
}

/* Accent Titles */
.accent-title-wrapper {
    position: relative !important;
    margin-bottom: 16px !important;
}
.accent-title-wrapper::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 40px !important;
    height: 3px !important;
    background: #FC9103 !important;
    transform: translateY(-50%) !important;
}
.accent-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111111 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding-left: 56px !important;
    margin: 0 !important;
}
.accent-title-wrapper.m-0 {
    margin-bottom: 0 !important;
}
.section-subtext {
    font-size: 16px !important;
    color: #4B5563 !important;
    margin-bottom: 24px !important;
    line-height: 1.6 !important;
}

/* Premium Form Card */
.premium-contact-card {
    background: #FFFFFF !important;
    border: 1px solid #DDE2E8 !important;
    border-radius: 8px !important;
    padding: 40px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
}
.advanced-contact-form .form-row-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}
.advanced-contact-form .form-row-2 .input-group {
    margin-bottom: 0 !important;
}
.input-group {
    position: relative !important;
    margin-bottom: 20px !important;
}
.input-icon {
    position: absolute !important;
    left: 18px !important;
    top: 18px !important;
    color: #9CA3AF !important;
}
.input-group input,
.input-group select,
.input-group textarea {
    width: 100% !important;
    padding: 16px 16px 16px 50px !important;
    border: 1px solid #DDE2E8 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    color: #111827 !important;
    background: #FFFFFF !important;
    transition: all 0.3s ease !important;
}
.advanced-contact-form .input-group textarea {
    padding-top: 16px !important;
}
.advanced-contact-form .input-group input:focus,
.advanced-contact-form .input-group select:focus,
.advanced-contact-form .input-group textarea:focus {
    outline: none !important;
    border-color: #FC9103 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(252, 145, 3, 0.1) !important;
}
.advanced-contact-form .input-group input::placeholder,
.advanced-contact-form .input-group textarea::placeholder {
    color: #9CA3AF !important;
}
.btn-primary-full {
    width: 100% !important;
    background: #FC9103 !important;
    color: #FFFFFF !important;
    border: none !important;
    padding: 18px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
}
.btn-primary-full:hover {
    background: #e08000 !important;
}
.privacy-note {
    margin-top: 24px !important;
    font-size: 13px !important;
    color: #6B7280 !important;
    text-align: center !important;
}
.privacy-note i {
    margin-right: 6px !important;
}

/* Contact Info Column */
.contact-icon-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 48px 0 !important;
}
.contact-icon-list li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
    margin-bottom: 20px !important;
}
.contact-icon-list .icon-circle {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #FFFAF5 !important;
    color: #FC9103 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}
.contact-icon-list .info-text {
    font-size: 15px !important;
    line-height: 1.6 !important;
    color: #4B5563 !important;
}
.contact-icon-list .info-text strong {
    display: block !important;
    font-size: 16px !important;
    color: #111111 !important;
    margin-bottom: -20px !important;
}
.mt-40 { margin-top: 40px !important; }

/* Social Circles */
.social-circles {
    display: flex !important;
    gap: 12px !important;
}
.social-circles a {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.social-circles a:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
}
.social-in { background: #0077b5 !important; }
.social-x { background: #000000 !important; font-weight: bold !important; font-family: sans-serif !important; }
.social-yt { background: #ff0000 !important; }
.social-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; }
.social-fb { background: #1877f2 !important; }

/* FAQ Section */
.faq-section {
    padding: 60px 0 80px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}
.faq-section .section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 2px solid #F3F4F6 !important;
    padding-bottom: 16px !important;
    margin-bottom: 32px !important;
}
.faq-accordion .faq-item {
    border: 1px solid #E5E7EB !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
}
.faq-accordion .faq-question {
    background: none !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
    font-family: inherit !important;
    padding: 24px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111111 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    cursor: pointer !important;
    margin: 0 !important;
    transition: background 0.2s ease !important;
}
.faq-accordion .faq-question:hover {
    background: #F9FAFB !important;
}
.faq-accordion .faq-question .arrow {
    color: #9CA3AF !important;
    transition: transform 0.3s ease !important;
}
.faq-item.active .faq-question .arrow {
    transform: rotate(180deg) !important;
}
.faq-accordion .faq-answer {
    padding: 0 24px !important;
    background: #FFFFFF !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.3s ease, padding 0.3s ease !important;
}
.faq-item.active .faq-answer {
    padding: 0 24px 20px !important;
    max-height: 500px !important;
}
.faq-accordion .faq-answer p {
    margin: 0 !important;
    color: #4B5563 !important;
    line-height: 1.6 !important;
    font-size: 15px !important;
    border-top: 1px solid #F3F4F6 !important;
    padding-top: 16px !important;
}

@media screen and (max-width: 900px) {
    .contact-grid-2col {
        grid-template-columns: 1fr !important;
        gap: 48px !important;
    }
    .advanced-contact-form .form-row-2 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .faq-section .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
}

/* ==========================================================================
   PREMIUM INFORMATIONAL PAGES (About Us, Privacy, Terms)
   ========================================================================== */

/* Global Page Container for Informational Pages */
.about-container, .legal-container {
    max-width: 1180px;
    margin: 0 auto;
    width: calc(100% - 36px);
}

/* --------------------------------------------------------------------------
   ABOUT US PAGE
   -------------------------------------------------------------------------- */
.about-page {
    background: #FFFFFF;
}

/* Hero Section */
.about-hero {
    position: relative;
    padding: 120px 0 100px;
    background-image: url('https://solarpsalms.com/wp-content/uploads/2026/08/Bg_image-1.webp'); /* Update with specific solar background if requested, or reuse */
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    text-align: center;
}
.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17,17,17,0.7) 0%, rgba(17,17,17,0.85) 100%);
}
.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    width: calc(100% - 36px);
}
.about-eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FC9103;
    display: block;
    margin-bottom: 16px;
}
.about-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #FFFFFF;
}
.about-accent-line {
    width: 60px;
    height: 4px;
    background: #FC9103;
    margin: 0 auto 24px;
}
.about-lead {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

/* Stats Section */
.about-stats-strip {
    padding: 60px 0;
    background: #F6F8FA;
    border-bottom: 1px solid #E1E5EA;
}
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.about-stat-card {
    background: #FFFFFF;
    padding: 40px;
    text-align: center;
    border: 1px solid #E1E5EA;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.about-stat-card .stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #123B73;
    margin-bottom: 12px;
}
.about-stat-card .stat-accent {
    width: 40px;
    height: 3px;
    background: #FC9103;
    margin: 0 auto 12px;
}
.about-stat-card .stat-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #555555;
    text-transform: uppercase;
}

/* Mission Section */
.about-mission {
    padding: 100px 0;
    background: #FFFFFF;
}
.mission-grid {
    display: grid;
    grid-template-columns: 3fr 5fr;
    gap: 60px;
    align-items: center;
}
.mission-left {
    border-left: 4px solid #FC9103;
    padding-left: 30px;
}
.mission-heading {
    font-size: 32px;
    font-weight: 800;
    color: #123B73;
    margin: 0;
    letter-spacing: 1px;
}
.mission-text {
    font-size: 20px;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 20px;
}
.mission-text:last-child {
    margin-bottom: 0;
}

/* Coverage Section */
.about-coverage {
    padding: 100px 0;
    background: #F6F8FA;
}
.coverage-heading {
    font-size: 32px;
    font-weight: 800;
    color: #123B73;
    margin-bottom: 60px;
}
.coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.coverage-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #E1E5EA;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}
.coverage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}
.card-marker {
    width: 24px;
    height: 4px;
    background: #FC9103;
    margin-bottom: 20px;
}
.card-title {
    font-size: 18px;
    font-weight: 800;
    color: #123B73;
    margin-bottom: 16px;
}
.card-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 24px;
}
.card-explore {
    font-size: 13px;
    font-weight: 700;
    color: #FC9103;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Approach Section */
.about-approach {
    padding: 100px 0;
    background: #FFFFFF;
}
.approach-heading {
    font-size: 32px;
    font-weight: 800;
    color: #123B73;
    margin-bottom: 60px;
}
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}
.approach-icon {
    width: 64px;
    height: 64px;
    background: #F6F8FA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #123B73;
}
.approach-title {
    font-size: 20px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 16px;
}
.approach-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}

/* Closing CTA */
.about-cta {
    padding: 80px 0;
    background: #123B73;
    color: #FFFFFF;
    text-align: center;
}
.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}
.cta-heading {
    font-size: 36px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 20px;
}
.cta-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.btn-primary-solid {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    background: #FF9200;
    border: 2px solid #FF9200;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-primary-solid:hover,
.btn-primary-solid:focus {
    background: #e68300;
    border-color: #e68300;
    color: #FFFFFF;
    outline: none;
}
.btn-secondary-outline {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-secondary-outline:hover {
    border-color: #FFFFFF;
    background: rgba(255,255,255,0.1);
}

/* --------------------------------------------------------------------------
   LEGAL PAGES (Privacy & Terms)
   -------------------------------------------------------------------------- */
.legal-page {
    background: #FFFFFF;
}

/* Legal Hero */
.legal-hero {
    padding: 100px 0 80px;
    background: #F6F8FA;
    border-bottom: 1px solid #E1E5EA;
}
.legal-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #FC9103;
    display: block;
    margin-bottom: 16px;
}
.legal-title {
    font-size: 42px;
    font-weight: 800;
    color: #123B73;
    margin-bottom: 20px;
}
.legal-lead {
    font-size: 18px;
    line-height: 1.6;
    color: #333333;
    max-width: 600px;
    margin-bottom: 24px;
}
.legal-date {
    font-size: 14px;
    font-weight: 600;
    color: #777777;
}

/* Legal Layout (Sidebar + Content) */
.legal-content-area {
    padding: 80px 0 100px;
}
.legal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

/* Sidebar TOC */
.legal-sidebar {
    position: sticky;
    top: 100px;
    background: #F6F8FA;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #E1E5EA;
}
.toc-heading {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #111111;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.legal-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
}
.legal-toc li {
    margin-bottom: 12px;
}
.legal-toc li:last-child {
    margin-bottom: 0;
}
.legal-toc a {
    font-size: 15px;
    color: #555555;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.legal-toc a:hover {
    color: #FC9103;
}

/* Legal Content Body */
.legal-content {
    max-width: 760px;
}
.legal-notice {
    background: #F0F4FA;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #123B73;
    margin-bottom: 40px;
}
.notice-title {
    font-size: 16px;
    font-weight: 800;
    color: #123B73;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.notice-accent {
    width: 30px;
    height: 3px;
    background: #FC9103;
    margin-bottom: 16px;
}
.notice-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
    font-weight: 500;
}

/* Legal Text Styles */
.legal-text-body p {
    font-size: 17px;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 24px;
}
.legal-text-body h2 {
    font-size: 24px;
    font-weight: 800;
    color: #123B73;
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E1E5EA;
}
.btn-small {
    padding: 10px 24px;
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .about-stats-grid {
        gap: 20px;
    }
    .about-stat-card {
        padding: 30px 20px;
    }
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mission-left {
        border-left: none;
        padding-left: 0;
        border-top: 4px solid #FC9103;
        padding-top: 20px;
    }
    .coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .legal-layout {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 36px;
    }
    .about-stats-grid, .approach-grid {
        grid-template-columns: 1fr;
    }
    .about-stat-card {
        padding: 40px;
    }
    .coverage-grid {
        grid-template-columns: 1fr;
    }
    .cta-heading {
        font-size: 28px;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .btn-secondary-outline {
        text-align: center;
    }
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .legal-sidebar {
        position: static;
        padding: 24px;
    }
    .legal-hero {
        padding: 60px 0 40px;
    }
    .legal-title {
        font-size: 32px;
    }
    .legal-content-area {
        padding: 40px 0 60px;
    }
}

/* ==========================================================================
   PREMIUM EDITORIAL SINGLE ARTICLE STYLES
   ========================================================================== */

/* Typography Base for Premium Single Post */
.premium-single-post {
    font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    background-color: #FAFAFA; /* very subtle warm background */
    padding-bottom: 60px;
}

/* Post Header */
.premium-single-post .single-post-header {
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 1050px;
    margin: 0 auto;
}

.premium-single-post .single-cat-badge a {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FF9800;
    text-decoration: none;
    margin-bottom: 24px;
    display: inline-block;
}

.premium-single-post .single-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #0B2A4A;
    margin-bottom: 32px;
}

.premium-single-post .single-meta {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    color: #6B7280;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    padding: 16px 0;
    max-width: 600px;
    margin: 0 auto;
}

.premium-single-post .meta-details {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.premium-single-post .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.premium-single-post .meta-item svg {
    color: #9CA3AF;
}

/* Featured Image */
.premium-single-post .single-featured-image {
    max-width: 1100px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.premium-single-post .single-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Article Body */
.premium-single-post .single-content-wrapper {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 24px;
}

.premium-article-content {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 18px;
    line-height: 1.8;
    color: #243447;
}

.premium-article-content p {
    margin-bottom: 26px;
}

/* Lead Paragraph (First Paragraph) */
.premium-article-content > p:first-of-type {
    font-size: 21px;
    line-height: 1.6;
    color: #0B2A4A;
    font-weight: 500;
}

/* Headings within article */
.premium-article-content h2 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    color: #0B2A4A;
    margin: 48px 0 24px;
    line-height: 1.3;
}

.premium-article-content h3 {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: #0B2A4A;
    margin: 36px 0 20px;
    line-height: 1.3;
}

/* Links */
.premium-article-content a {
    color: #0B2A4A;
    text-decoration: underline;
    text-decoration-color: rgba(11, 42, 74, 0.3);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.premium-article-content a:hover {
    color: #FF9800;
    text-decoration-color: #FF9800;
}

/* Lists */
.premium-article-content ul, 
.premium-article-content ol {
    margin-bottom: 26px;
    padding-left: 24px;
}

.premium-article-content li {
    margin-bottom: 12px;
}

/* Editorial Dividers */
.premium-article-content hr {
    border: 0;
    height: 1px;
    background: #E5E7EB;
    margin: 40px auto;
    width: 60px;
    position: relative;
    overflow: visible;
}
.premium-article-content hr::after {
    content: '';
    position: absolute;
    top: -2px;
    left: calc(50% - 10px);
    width: 20px;
    height: 5px;
    background: #FF9800;
}

/* Tables */
.premium-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    text-align: left;
}
.premium-article-content th, 
.premium-article-content td {
    border: 1px solid #E5E7EB;
    padding: 16px;
}
.premium-article-content th {
    background-color: #0B2A4A;
    color: #FFFFFF;
    font-weight: 600;
}
.premium-article-content tr:nth-child(even) {
    background-color: #F9FAFB;
}
.premium-article-content .table-responsive {
    overflow-x: auto;
}

/* Pull Quotes / Editorial Callouts */
.premium-article-content blockquote {
    border-left: 4px solid #FF9800;
    background: rgba(255, 152, 0, 0.05);
    padding: 24px 32px;
    margin: 40px 0;
    font-size: 22px;
    line-height: 1.5;
    font-style: italic;
    color: #0B2A4A;
}
.premium-article-content blockquote p {
    margin: 0;
}

/* Mobile Adjustments for Editorial Post */
@media (max-width: 768px) {
    .premium-single-post .single-post-header {
        padding: 40px 16px 30px;
    }
    .premium-single-post .single-title {
        font-size: 34px;
        line-height: 1.15;
        margin-bottom: 24px;
    }
    .premium-single-post .single-featured-image {
        padding: 0 16px;
        margin-bottom: 30px;
    }
    .premium-single-post .single-content-wrapper {
        padding: 0 16px;
    }
    .premium-article-content {
        font-size: 17px;
    }
    .premium-article-content > p:first-of-type {
        font-size: 19px;
    }
    .premium-article-content h2 {
        font-size: 26px;
        margin-top: 36px;
    }
    .premium-article-content h3 {
        font-size: 22px;
    }
    .premium-article-content blockquote {
        font-size: 19px;
        padding: 20px;
    }
    .premium-article-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* ==========================================================================
   CONTACT FORM LOCATION FIELD
   ========================================================================== */

.location-group .btn-location {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #FC9103;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.location-group .btn-location:hover {
    background: rgba(252, 145, 3, 0.1);
}

.location-group .btn-location:disabled {
    color: #9CA3AF;
    cursor: not-allowed;
    background: transparent;
}

@media (max-width: 768px) {
    .location-group input {
        padding-right: 16px !important; /* reset desktop padding */
        margin-bottom: 12px;
    }
    .location-group .btn-location {
        position: static;
        transform: none;
        width: 100%;
        text-align: center;
        background: #f3f4f6;
        padding: 12px;
        margin-bottom: 0;
    }
}

/* ==========================================================================
   SOLAR CALCULATOR PAGE
   ========================================================================== */
.solar-calculator-page {
    padding: 60px 0;
    background-color: #F9FAFB;
}
.calculator-hero {
    margin-bottom: 60px;
}
.solar-calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}
.premium-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.solar-calculator-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}
.solar-calculator-form input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}
.solar-calculator-form input:focus {
    outline: none;
    border-color: #FC9103;
    box-shadow: 0 0 0 3px rgba(252, 145, 3, 0.1);
}
.result-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0F2747;
    margin: 0 0 30px 0;
    text-align: center;
    border-bottom: 2px solid #F3F4F6;
    padding-bottom: 20px;
}
.result-block.primary-result {
    text-align: center;
    margin-bottom: 24px;
}
.result-block .result-value {
    font-size: 42px;
    font-weight: 800;
    color: #FC9103;
    line-height: 1;
}
.result-block .result-label {
    font-size: 14px;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    font-weight: 600;
}
.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.result-label-left {
    font-size: 16px;
    color: #4B5563;
    font-weight: 500;
}
.result-value-right {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}
.highlight-green {
    color: #10B981;
}
.result-divider {
    border: 0;
    border-top: 1px dashed #E5E7EB;
    margin: 24px 0;
}
.calc-disclaimer {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 20px;
    line-height: 1.5;
    text-align: justify;
}
.calc-lead-cta {
    margin-top: 40px;
    padding: 30px;
    background: #0F2747;
    border-radius: 12px;
    color: #fff;
}
.calc-lead-cta h4 {
    margin: 0 0 20px 0;
    color: #fff;
    font-size: 20px;
}
.btn-secondary-full {
    display: inline-block;
    width: 100%;
    background: #FC9103;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: background 0.3s;
}
.btn-secondary-full:hover {
    background: #e08000;
}

@media screen and (max-width: 900px) {
    .solar-calculator-layout {
        grid-template-columns: 1fr;
    }
}
