/*
Theme Name: Sathya's Scientific Blog
Theme URI: https://sathyascientific.in/blog
Author: Sathya's Scientific Instruments Co.
Author URI: https://sathyascientific.in
Description: Official matched WordPress Blog Theme for Sathya's Scientific Instruments Co. Clean, modern, full-width blog layout without sidebar, identical typography, headers, footers, and direct links matching the main website.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.7
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: sathya-scientific
Tags: blog, scientific, laboratory, corporate, responsive-layout, grid-layout, clean-blog
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Colors matching main site */
  --primary-navy: #0b1f3a;
  --primary-blue: #0f3b7d;
  --primary-accent: #0284c7;
  --vivid-cyan: #0ea5e9;
  --brand-red: #e11d48;
  --brand-red-hover: #be123c;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1ebd5a;
  
  --bg-main: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #071326;
  --bg-dark-card: #0d213f;

  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-glass: rgba(255, 255, 255, 0.15);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 22px 35px -8px rgba(15, 59, 125, 0.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body) !important;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6,
.brand-name,
.section-title,
.page-hero h1,
.single-post-title,
.blog-card-title,
.author-name,
.comment-reply-title,
.comments-title {
  font-family: var(--font-heading) !important;
  color: var(--primary-navy);
}

p, span, li, a, label, input, button, select, textarea {
  font-family: var(--font-body) !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button, input, textarea, select {
  font-size: 16px;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--brand-red) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover {
  background: var(--brand-red-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--primary-navy);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--primary-navy);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #ffffff !important;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-navy) !important;
  border-color: #ffffff;
}

.btn-whatsapp {
  background: var(--whatsapp-green) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover) !important;
  color: #ffffff !important;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Top Info Bar */
.top-bar {
  background: var(--bg-dark);
  color: #94a3b8;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.top-bar-item:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: #38bdf8;
}

/* Main Navigation Header */
.main-header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: 0.08em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #334155;
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-red);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 4px;
}

/* Mobile Navigation Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 1100;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.drawer-close {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
}

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: #1e293b;
  transition: all var(--transition-fast);
}

.drawer-link:hover,
.drawer-link.active {
  background: var(--bg-subtle);
  color: var(--brand-red);
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d274c 100%);
  color: #ffffff;
  padding: 44px 0;
  margin-bottom: 36px;
}

.page-hero h1 {
  color: #ffffff !important;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #38bdf8;
}

.breadcrumb .current {
  color: #ffffff;
  font-weight: 600;
}

/* Category Filter Pills */
.blog-categories-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 36px;
  scrollbar-width: thin;
  flex-wrap: wrap;
}

.blog-cat-pill {
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.blog-cat-pill:hover,
.blog-cat-pill.active {
  background: var(--primary-navy) !important;
  color: #ffffff !important;
  border-color: var(--primary-navy) !important;
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.15);
}

/* 3-Column Clean Post Grid (Full-Width, No Sidebar) */
.posts-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 31, 58, 0.9);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #64748b;
  flex-wrap: wrap;
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-meta-item i,
.blog-meta-item svg {
  color: var(--primary-accent);
}

.blog-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary-navy) !important;
  line-height: 1.4;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a:hover {
  color: var(--brand-red) !important;
}

.blog-card-excerpt {
  color: #64748b;
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.blog-read-link {
  color: var(--brand-red) !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform var(--transition-fast);
}

.blog-read-link:hover {
  transform: translateX(4px);
}

/* Pagination */
.blog-pagination,
.pagination,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
  list-style: none;
}

.pagination-link,
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.pagination-link:hover,
.page-numbers:hover,
.pagination-link.current,
.page-numbers.current {
  background: var(--brand-red) !important;
  color: #ffffff !important;
  border-color: var(--brand-red) !important;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.25);
}

/* Single Post Centered Specifics */
.single-post-hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d274c 100%);
  color: #ffffff;
  padding: 50px 0 60px;
  margin-bottom: 40px;
}

.single-post-header {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.single-post-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.25;
  margin: 16px 0 20px;
}

.single-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 0.925rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.single-article-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  font-size: 1.08rem;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 40px;
}

.single-article-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-navy) !important;
  margin: 36px 0 16px;
  line-height: 1.3;
}

.single-article-content h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-navy) !important;
  margin: 28px 0 14px;
  line-height: 1.35;
}

.single-article-content p {
  margin-bottom: 22px;
}

.single-article-content ul,
.single-article-content ol {
  margin: 0 0 24px 28px;
}

.single-article-content li {
  margin-bottom: 8px;
  list-style: disc;
}

.single-article-content ol li {
  list-style: decimal;
}

.single-article-content blockquote {
  border-left: 4px solid var(--brand-red);
  background: var(--bg-subtle);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 30px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--primary-navy);
}

.single-article-content img {
  border-radius: var(--radius-lg);
  margin: 30px 0;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.single-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.95rem;
}

.single-article-content th,
.single-article-content td {
  border: 1px solid var(--border-light);
  padding: 12px 16px;
  text-align: left;
}

.single-article-content th {
  background: var(--bg-subtle);
  color: var(--primary-navy);
  font-weight: 700;
}

/* Post Share and Author Box */
.post-share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 34px;
  flex-wrap: wrap;
  gap: 16px;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.share-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.share-whatsapp { background: #25d366 !important; }
.share-linkedin { background: #0a66c2 !important; }
.share-facebook { background: #1877f2 !important; }
.share-twitter { background: #1da1f2 !important; }

/* Fixed Author Profile Box */
.author-profile-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 36px 0;
}

.author-avatar,
.author-profile-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #e2e8f0;
}

.author-info {
  flex: 1;
  min-width: 0;
}

.author-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy) !important;
  margin-bottom: 4px;
}

.author-bio {
  font-size: 0.925rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Comments Styling */
.comments-area {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  padding: 40px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
}

.comments-title,
.comment-reply-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy) !important;
  margin-bottom: 24px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.comment-body {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-author cite {
  font-style: normal;
  font-weight: 700;
  color: var(--primary-navy);
}

.comment-metadata a {
  font-size: 0.8rem;
  color: #94a3b8;
}

.comment-content p {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}

.comment-form p {
  margin-bottom: 16px;
}

.comment-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary-accent);
}

.comment-form input[type="submit"] {
  background: var(--brand-red) !important;
  color: #ffffff !important;
  border: none;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.comment-form input[type="submit"]:hover {
  background: var(--brand-red-hover) !important;
}

/* Call to Action Strip */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #0d274c 100%);
  color: #ffffff;
  padding: 60px 0;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-text .section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 10px;
}

.cta-text h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 600px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Global Footer */
.main-footer {
  background: var(--bg-dark);
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.925rem;
  line-height: 1.7;
}

.footer-title {
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--brand-red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-links li a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-item i,
.footer-contact-item svg {
  color: #38bdf8;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-policy-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
}

.footer-policy-row a {
  color: #94a3b8;
}

.footer-policy-row a:hover {
  color: #ffffff;
}

.footer-policy-row .sep {
  color: #475569;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-powered-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
}

.powered-link {
  color: #38bdf8;
  font-weight: 800;
  letter-spacing: 0.05em;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  z-index: 990;
  border: none;
  transition: transform var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

.wa-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s infinite;
  opacity: 0;
}

@keyframes waPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .posts-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .top-bar { display: none; }
  .nav-menu { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { flex-direction: column; text-align: center; }
  .cta-buttons { width: 100%; justify-content: center; }
  .single-post-title { font-size: 2rem; }
  .single-article-content { padding: 26px 20px; }
}

@media (max-width: 640px) {
  .navbar { height: 68px; }
  .posts-grid-full { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.75rem; }
  .single-post-title { font-size: 1.75rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
}
