/*
Theme Name: OhCargo Blog
Theme URI: https://ohcargo.com
Author: OhCargo Team
Author URI: https://ohcargo.com
Description: Custom WordPress theme matching OhCargo website design with maroon and blue color scheme. SEO-optimized and easy for content creators to use.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ohcargo-blog
Tags: blog, two-columns, custom-colors, custom-menu, editor-style, featured-images, threaded-comments, translation-ready
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800&display=swap');

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root {
  --color-maroon: #7D0E0E;
  --color-maroon-dark: #6B0C0C;
  --color-maroon-light: #9D1E1E;
  --color-blue-deep: #033585;
  --color-blue: #16489b;
  --color-blue-light: #1056b8;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
}

body {
  font-size: 18px;
  line-height: 1.7;
  color: #3c4858;
  background-color: #f7f8fa;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-gray-900);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--color-gray-700);
}

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

a:hover {
  color: var(--color-maroon-dark);
}

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

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top Contact Bar */
.top-contact-bar {
  background-color: var(--color-blue-deep);
  color: white;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-contact-bar .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.contact-link:hover {
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.contact-link svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

/* Header/Navigation */
.site-header {
  background-color: var(--color-maroon);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 3.5rem;
  width: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.primary-menu > li {
  position: relative;
}

.primary-menu > li > a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  transition: all 0.3s;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-menu > li > a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.primary-menu li.current-menu-item > a {
  color: rgba(255, 255, 255, 0.9);
}

.dropdown-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s;
}

/* Dropdown Menu */
.menu-item-has-children {
  position: relative;
}

.menu-item-has-children:hover .dropdown-icon {
  transform: rotate(180deg);
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 1rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid #e5e7eb;
  min-width: 16rem;
  list-style: none;
  padding: 0.5rem 0;
  z-index: 1000;
}

.business-menu {
  min-width: 18rem;
}

.menu-item-has-children:hover .sub-menu {
  display: block;
}

.sub-menu li {
  margin: 0;
}

.sub-menu li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  transition: all 0.3s;
}

.sub-menu li a:hover {
  background: rgba(125, 14, 14, 0.05);
}

.sub-menu li a:hover .menu-icon {
  color: var(--color-maroon);
}

.sub-menu li a:hover .menu-title {
  color: var(--color-maroon);
}

.menu-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--color-maroon);
}

.sub-menu li a > span {
  color: #374151;
  font-weight: 500;
  font-size: 0.95rem;
}

.menu-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.menu-title {
  color: #374151;
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  transition: color 0.3s;
}

.menu-desc {
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 400;
  display: block;
}

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: 1rem;
}

.btn-login {
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-login:hover {
  color: rgba(255, 255, 255, 0.8);
}

.btn-signup {
  background: white;
  color: var(--color-maroon);
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-signup:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Blog Content */
.site-main {
  padding: 3rem 0;
  min-height: 60vh;
}

/* Blog Header */
.blog-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1a56db 0%, #1e3a8a 100%);
  border-radius: 1rem;
  color: white;
}

.blog-header .page-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.archive-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 2px solid #e8eaed;
}

.archive-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
}

.archive-description {
  max-width: 700px;
  margin: 0 auto;
  color: #4a5568;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Featured Articles Section */
.featured-articles {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1a202c;
  text-align: center;
}

/* Blog Grid - 3 Columns */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

/* Blog Card - Kadence Style */
.blog-card {
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e8eaed;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e0;
}

.blog-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.blog-card-image a {
  display: block;
  height: 100%;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

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

.blog-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
  line-height: 1.4;
  font-weight: 700;
}

.blog-card-title a {
  color: #1a202c;
  transition: color 0.2s ease;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--color-maroon);
}

.blog-card-excerpt {
  color: #4a5568;
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.blog-card-excerpt p {
  margin-bottom: 0;
}

/* Single Post - Kadence Style with Sidebar */
.single-post {
  background-color: #f7f8fa;
  border-radius: 0;
}

.single-post .container {
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  padding: 3rem 2rem;
  align-items: start;
}

.single-post-article {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.single-post-header {
  text-align: left;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e8eaed;
}

.post-categories {
  margin-bottom: 1rem;
}

.category-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%);
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}

.single-post-title {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  color: #1a202c;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  color: #718096;
  font-size: 0.9375rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--color-maroon);
}

.single-post-featured-image {
  margin-bottom: 3rem;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.single-post-content {
  max-width: 100%;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #3c4858;
}

.single-post-content p {
  margin-bottom: 1.75rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.single-post-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: #1a202c;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.single-post-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #1a202c;
  font-size: 1.625rem;
  font-weight: 600;
}

.single-post-content ul,
.single-post-content ol {
  margin-bottom: 1.75rem;
  padding-left: 2rem;
}

.single-post-content li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.single-post-content blockquote {
  border-left: 4px solid var(--color-maroon);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  margin: 2.5rem 0;
  font-style: italic;
  color: #4a5568;
  background-color: #f7fafc;
  border-radius: 0.375rem;
  font-size: 1.125rem;
}

.single-post-content img {
  border-radius: 0.5rem;
  margin: 2rem 0;
}

.single-post-content a {
  color: var(--color-maroon);
  text-decoration: underline;
  text-decoration-color: rgba(125, 14, 14, 0.3);
  text-underline-offset: 0.2em;
  transition: all 0.2s ease;
}

.single-post-content a:hover {
  color: var(--color-maroon-dark);
  text-decoration-color: var(--color-maroon-dark);
}

/* Post Tags */
.post-tags {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 3rem 0;
  padding: 1.5rem;
  background-color: #f7fafc;
  border-radius: 0.5rem;
}

.post-tags svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-maroon);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags-list a {
  display: inline-block;
  background-color: white;
  color: #4a5568;
  padding: 0.375rem 0.875rem;
  border-radius: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  text-decoration: none;
}

.tags-list a:hover {
  background-color: var(--color-maroon);
  color: white;
  border-color: var(--color-maroon);
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  margin: 3rem 0;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-info h3 {
  margin-bottom: 0.75rem;
  color: #1a202c;
  font-size: 1.25rem;
}

.author-info p {
  margin-bottom: 0;
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
}

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 4rem 0 3rem;
  padding-top: 3rem;
  border-top: 2px solid #e8eaed;
}

.nav-previous,
.nav-next {
  display: flex;
  flex-direction: column;
}

.nav-next {
  text-align: right;
  align-items: flex-end;
}

.nav-label {
  font-size: 0.875rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.post-navigation a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background-color: #f7fafc;
  border-radius: 0.75rem;
  color: #1a202c;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.post-navigation a:hover {
  background-color: var(--color-maroon);
  color: white;
  border-color: var(--color-maroon);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(125, 14, 14, 0.2);
}

.post-navigation svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.nav-next a {
  flex-direction: row-reverse;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border: 2px solid var(--color-gray-200);
  border-radius: 0.5rem;
  color: var(--color-gray-700);
  font-weight: 600;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: var(--color-maroon);
  border-color: var(--color-maroon);
  color: white;
}

.pagination .current {
  background-color: var(--color-maroon);
  border-color: var(--color-maroon);
  color: white;
}

/* Sidebar Styles */
.site-sidebar {
  position: sticky;
  top: 2rem;
}

.widget {
  background: white;
  padding: 1.75rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8eaed;
}

.widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-maroon);
}

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

.widget ul li {
  padding: 0.625rem 0;
  border-bottom: 1px solid #f1f3f5;
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul li a {
  color: #4a5568;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget ul li a:hover {
  color: var(--color-maroon);
  padding-left: 0.5rem;
}

.widget ul li a::after {
  content: "→";
  opacity: 0;
  transition: opacity 0.2s ease;
}

.widget ul li a:hover::after {
  opacity: 1;
}

/* Author Widget in Sidebar */
.widget.author-widget {
  text-align: center;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.widget.author-widget .author-avatar {
  margin-bottom: 1rem;
}

.widget.author-widget .author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.widget.author-widget .author-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.widget.author-widget .author-bio {
  font-size: 0.875rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Sidebar App Download */
.sidebar-app-download {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e8eaed;
}

.sidebar-app-download h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  text-align: center;
}

.app-mockups-sidebar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.app-mockups-sidebar img {
  width: 45%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.download-buttons-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.download-btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: linear-gradient(135deg, var(--color-blue-deep) 0%, var(--color-blue) 100%);
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(3, 53, 133, 0.2);
}

.download-btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(3, 53, 133, 0.3);
  color: white;
}

.download-btn-small svg {
  flex-shrink: 0;
}

/* Table of Contents Widget */
.widget.toc-widget ul {
  list-style: none;
  padding-left: 0;
}

.widget.toc-widget ul li {
  padding: 0.5rem 0;
  border-bottom: none;
}

.widget.toc-widget ul li a {
  color: #4a5568;
  font-size: 0.875rem;
  padding-left: 1rem;
  border-left: 2px solid #e8eaed;
  display: block;
}

.widget.toc-widget ul li a:hover {
  color: var(--color-maroon);
  border-left-color: var(--color-maroon);
}

/* CTA Widget */
.widget.cta-widget {
  background: linear-gradient(135deg, var(--color-blue-deep) 0%, var(--color-blue) 100%);
  color: white;
  text-align: center;
  border: none;
}

.widget.cta-widget .widget-title {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.widget.cta-widget p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.widget.cta-widget .cta-button {
  display: inline-block;
  background: white;
  color: var(--color-blue-deep);
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.widget.cta-widget .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  color: var(--color-blue-deep);
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: #718096;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--color-maroon);
}

.breadcrumbs span {
  color: #cbd5e0;
  margin: 0 0.5rem;
}

/* Footer - Matching Website */\n.site-footer {
  background-color: var(--color-maroon);
  color: white;
  padding: 2.5rem 1.5rem;
  margin-top: 4rem;
}

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

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem 2.5rem;
  margin-bottom: 1.5rem;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-logo-section {
  max-width: 250px;
}

.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-column h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
}

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

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

.footer-menu a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-menu a:hover {
  color: white;
  transform: translateX(3px);
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: white;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: white;
}

/* Newsletter Section in Footer */
.footer-newsletter {
  max-width: 350px;
}

.footer-newsletter h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.footer-newsletter p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  background-color: white;
  color: #333;
}

.newsletter-input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.newsletter-btn {
  background-color: var(--color-blue-deep);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.newsletter-btn:hover {
  background-color: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer Bottom */
.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin: 1.5rem 0;
}

.footer-bottom {
  text-align: center;
  padding-top: 0.5rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  margin: 0.5rem 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: white;
}

/* WordPress Core Classes */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  text-align: center;
  padding: 0.5rem 0;
}

/* Responsive */
@media (max-width: 1200px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .single-post .container {
    grid-template-columns: 1fr 300px;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .single-post .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .site-sidebar {
    order: 2;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  
  body {
    font-size: 16px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .blog-header {
    padding: 3rem 1.5rem;
  }
  
  .blog-header .page-title {
    font-size: 2.25rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-card-image {
    height: 200px;
  }
  
  .single-post .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
  }
  
  .single-post-article {
    padding: 2rem 1.5rem;
  }
  
  .site-sidebar {
    order: 2;
  }
  
  .single-post .container {
    padding: 2rem 1.5rem;
  }
  
  .single-post-title {
    font-size: 2rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .single-post-content {
    font-size: 1rem;
  }
  
  .single-post-content p {
    font-size: 1rem;
  }
  
  .single-post-content h2 {
    font-size: 1.625rem;
  }
  
  .single-post-content h3 {
    font-size: 1.375rem;
  }
  
  .author-bio {
    flex-direction: column;
    padding: 1.5rem;
  }
  
  .author-avatar img {
    width: 60px;
    height: 60px;
  }
  
  .app-mockups-sidebar {
    flex-direction: column;
    align-items: center;
  }
  
  .app-mockups-sidebar img {
    width: 70%;
  }
  
  /* Post Navigation Responsive */
  .post-navigation {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .nav-next {
    text-align: left;
    align-items: flex-start;
  }
  
  .nav-next a {
    flex-direction: row;
  }
  
  /* Footer Responsive */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-column {
    min-width: 100%;
  }
  
  .footer-logo-section {
    max-width: 100%;
  }
  
  .footer-newsletter {
    max-width: 100%;
  }
  
  .top-contact-bar .container {
    justify-content: center;
    font-size: 0.75rem;
  }
  
  .contact-link span {
    display: none;
  }
}

/* Gutenberg Editor Styles */
.wp-block-quote {
  border-left: 4px solid var(--color-maroon);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
}

.wp-block-button__link {
  background: linear-gradient(135deg, var(--color-blue-deep) 0%, var(--color-blue-light) 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  border: none;
}

.wp-block-button__link:hover {
  background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-blue-deep) 100%);
}
