/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.ad-widget img {
    width: 100%;
    height: auto;
}
.archive-header {
    padding: 1rem;
    border-bottom: 1px solid #dedede;
    background: #edf0f3;
    color: hsl(340, 67%, 37%);
    font-family: 'Playfair Display';
}
.ads {
        padding: 1rem;
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
    display: table;
    margin: 0 auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
:root {
  /* Color Tokens (HSL) */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(340, 67%, 20%);
  --primary: hsl(340, 67%, 37%);
  --primary-hover: hsl(340, 67%, 32%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(340, 20%, 96%);
  --secondary-foreground: hsl(340, 67%, 37%);
  --muted: hsl(340, 10%, 95%);
  --muted-foreground: hsl(340, 20%, 50%);
  --border: hsl(340, 20%, 90%);
  --ring: hsl(340, 67%, 37%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: linear-gradient(135deg, hsl(340, 67%, 45%) 0%, hsl(340, 67%, 37%) 100%);
  padding: 2rem 0;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.header-left {
  display: flex;
  justify-content: flex-start;
}

.header-center {
  display: flex;
  justify-content: center;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.logo a {
  text-decoration: none;
}

.site-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

/* Navigation */
.navigation {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-desktop {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem 0;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #8b1538;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  text-transform: none;
  letter-spacing: 0;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #8b1538;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.search-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icon {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Navigation */
.navigation {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(165, 32, 70, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-desktop {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.nav-link {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground);
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(165, 32, 70, 0.1);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: var(--background);
  border: 1px solid rgba(165, 32, 70, 0.2);
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 100;
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
}

.dropdown-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.dropdown-header h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.dropdown-content {
  padding: 0.5rem;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: rgba(165, 32, 70, 0.05);
  color: var(--primary);
  transform: translateX(4px);
}

.dropdown-indicator {
  width: 4px;
  height: 24px;
  border-radius: 9999px;
  background: rgba(165, 32, 70, 0.2);
  transition: background 0.2s;
}

.dropdown-item:hover .dropdown-indicator {
  background: var(--primary);
}

/* Mobile Navigation */
.nav-mobile {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 0;
}

.mobile-menu-btn {
  padding: 0.5rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.3s;
}

.mobile-menu-btn:hover {
  background: rgba(165, 32, 70, 0.05);
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--background);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  transition: right 0.3s;
  z-index: 1000;
  overflow-y: auto;
}

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

.mobile-sidebar-content {
  padding: 2rem;
}

.mobile-sidebar-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.mobile-nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(165, 32, 70, 0.15);
  color: var(--primary);
}

.mobile-nav-dropdown {
  display: flex;
  flex-direction: column;
}

.mobile-nav-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground);
  background: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s;
}

.mobile-nav-trigger:hover {
  background: rgba(165, 32, 70, 0.05);
}

.mobile-nav-trigger svg {
  transition: transform 0.3s;
}

.mobile-nav-trigger.active svg {
  transform: rotate(180deg);
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-left: 1rem;
  margin-top: 0.5rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mobile-dropdown-content.active {
  display: flex;
  opacity: 1;
  max-height: 200px;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  height: 70vh;
  background-image: url('src/assets/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  color: var(--primary-foreground);
  padding: 4rem;
  max-width: 768px;
  align-self: flex-end;
  justify-self: flex-start;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  text-align: left;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}



/* Featured Posts */
.featured-posts {
  padding: 4rem 0;
  background: #f8f9fa;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.featured-card {
  position: relative;
  /* border-radius: 15px; */
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 300px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.featured-image {
    display: none;
}

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

.featured-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 2rem;
  color: white;
  width: 100%;
}

.featured-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  color: white;
  line-height: 1.3;
}

.featured-card-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b1538;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.featured-card-btn:hover {
  background: #8b1538;
  color: white;
  transform: scale(1.1);
}

/* Posts Section */
.posts-section {
  padding: 5rem 0 7rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* Posts List */
.posts-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2.5rem;
  transition: border-color 0.5s;
}

.post-card:hover {
  border-color: rgba(165, 32, 70, 0.3);
}

.post-image {
  height: 288px;
  overflow: hidden;
  border-radius: 0.5rem;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.post-card:hover .post-image img {
  transform: scale(1.1) rotate(1deg);
}

.post-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.post-date {
  font-size: 0.75rem;
  color: rgba(165, 32, 70, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.post-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  line-height: 1.3;
  transition: color 0.3s;
}

.post-card:hover .post-title {
  color: var(--primary);
}

.post-excerpt {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.post-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
  background: var(--primary);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
}

.post-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(165, 32, 70, 0.2);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sidebar-section {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.popular-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popular-link {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.popular-link:hover {
  background: rgba(165, 32, 70, 0.05);
}

.popular-title {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  flex: 1;
  line-height: 1.5;
  transition: color 0.3s;
}

.popular-link:hover .popular-title {
  color: var(--primary);
}

.popular-views {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(165, 32, 70, 0.6);
  flex-shrink: 0;
}

.author-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(to bottom right, rgba(165, 32, 70, 0.03), rgba(165, 32, 70, 0.01));
  padding: 2rem;
  border-radius: 0.75rem;
}

.author-image {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 0 4px rgba(165, 32, 70, 0.1), 0 10px 25px rgba(0,0,0,0.1);
}

.author-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.author-bio {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.author-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.author-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-nav {
  margin-bottom: 1.5rem;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-link {
  color: var(--primary-foreground);
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-copyright {
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Search Modal */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.search-modal.active {
  display: flex;
}

.search-modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  padding: 2rem;
}

.search-modal-close {
  position: absolute;
  top: -3rem;
  right: 0;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s;
}

.search-modal-close:hover {
  transform: rotate(90deg);
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 1.5rem;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: white;
  outline: none;
  transition: all 0.3s;
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-foreground);
  background: var(--primary);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.search-submit:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 767px) {
  .header-container {
    padding: 0 1rem;
    gap: 1rem;
  }

  .site-title {
    font-size: 1.8rem;
  }

  .social-icons {
    gap: 0.5rem;
  }

  .social-icon,
  .search-btn {
    padding: 0.6rem;
  }

  .social-icon svg,
  .search-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 768px) {
  .header-container {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
  
  .header-left {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-desktop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    gap: 1rem;
  }

  .nav-desktop.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8f9fa;
    margin-top: 0.5rem;
    border-radius: 5px;
  }

  .hero-banner {
    height: 80vh;
  }

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

  .post-card {
    flex-direction: row;
  }

  .post-image {
    width: 40%;
  }

  .header-container {
    padding: 0 2rem;
  }

  .site-title {
    font-size: 2.5rem;
  }

  .posts-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .main-post-card {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .main-post-image {
    width: 100%;
    height: 200px;
  }

  .main-post-content {
    min-height: auto;
  }

  .main-post-meta {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .sidebar {
    order: -1;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }

  .posts-grid {
    grid-template-columns: 2fr 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .site-title {
    font-size: 3rem;
  }

  .header-container {
    padding: 0 3rem;
  }
}

/* ===== HOME PAGE SECTIONS ===== */

/* Hero Section */
.hero-section {
  position: relative;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.5;
}

.hero-btn {
  background: #8B1538;
  color: white;
  padding: 12px 25px;
  border: 2px solid white;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.hero-btn:hover {
  background: white;
  color: #8B1538;
}

/* Featured Section */
.featured-section {
  padding: 60px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #8B1538;
  margin-bottom: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.featured-card {
  position: relative;
  border-radius: 0px !important;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-5px);
}

.featured-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.featured-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 1.5rem;
}

.featured-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

/* Latest Posts Section */
.latest-posts {
  /* padding: 60px 0; */
  /* background: #f8f9fa; */
}

.posts-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.posts-grid {
  display: grid;
  gap: 2rem;
}

.main-post-card {
    background: #fafafa;
    /* border-radius: 12px; */
    overflow: hidden;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.08); */
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    /* border: 1px solid #f0f0f0; */
    margin-bottom: 1.5rem;
    position: relative;
}

.main-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: #e0e0e0;
}

.main-post-image {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.main-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.main-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    padding: 2rem;
}

.main-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.main-post-card:hover .main-post-title {
    color: #8B1538;
}

.main-post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    flex-grow: 1;
}

.main-post-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: auto;
}

.main-post-date {
    color: #999;
    font-size: 0.9rem;
    font-weight: 400;
}

.main-post-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.main-post-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background: #fafafa;
  padding: 2rem;
  /* border-radius: 8px; */
  /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
}

.widget-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #8B1538;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.popular-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
}

.popular-list li:last-child {
  border-bottom: none;
}

.popular-list a {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.popular-list a:hover {
  color: #8B1538;
}

.author-widget {
  text-align: center;
}

.author-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #8B1538;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-content {
  text-align: center;
}

.author-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.author-bio {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.author-link {
  background: #8B1538;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s ease;
}

.author-link:hover {
  background: #6d1028;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input {
  padding: 0.8rem;
  border: 2px solid hsl(var(--neutral-hue), 10%, 90%);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: hsl(var(--wine-hue), 60%, 45%);
}

.newsletter-btn {
  background: hsl(var(--wine-hue), 60%, 45%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
  background: hsl(var(--wine-hue), 60%, 40%);
}

/* Popular Posts */
.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.popular-post {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.popular-post-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.popular-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-post-content {
  flex: 1;
}

.popular-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.3;
  color: hsl(var(--neutral-hue), 10%, 20%);
}

.popular-post-date {
  font-size: 0.8rem;
  color: hsl(var(--neutral-hue), 10%, 50%);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, hsl(340, 67%, 45%) 0%, hsl(340, 67%, 37%) 100%);
  color: white;
  padding: 3rem 0 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-title-section {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-site-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-align: center;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-text {
  color: hsl(var(--neutral-hue), 10%, 70%);
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: hsl(var(--wine-hue), 60%, 45%);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer-social-link:hover {
  background: hsl(var(--wine-hue), 60%, 40%);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: hsl(var(--neutral-hue), 10%, 70%);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-newsletter-input {
  padding: 0.8rem;
  border: 2px solid hsl(var(--neutral-hue), 10%, 30%);
  border-radius: 8px;
  background: hsl(var(--neutral-hue), 10%, 20%);
  color: white;
  font-size: 1rem;
}

.footer-newsletter-input::placeholder {
  color: hsl(var(--neutral-hue), 10%, 60%);
}

.footer-newsletter-input:focus {
  outline: none;
  border-color: hsl(var(--wine-hue), 60%, 45%);
}

.footer-newsletter-btn {
  background: hsl(var(--wine-hue), 60%, 45%);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-newsletter-btn:hover {
  background: hsl(var(--wine-hue), 60%, 40%);
}

/* Footer Menu */
.footer-menu {
  border-top: 1px solid hsl(var(--neutral-hue), 10%, 25%);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav-link {
  color: hsl(var(--neutral-hue), 10%, 70%);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.footer-nav-link:hover {
  color: hsl(var(--wine-hue), 60%, 60%);
}

.footer-bottom {
  border-top: 1px solid hsl(var(--neutral-hue), 10%, 25%);
  padding-top: 1rem;
}

.footer-copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: hsl(var(--neutral-hue), 10%, 60%);
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== ADVERTISEMENT SECTION ===== */
.advertisement-section {
  padding: 2rem 0;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.advertisement-banner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ad-placeholder {
  width: 728px;
  height: 90px;
  background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
  border: 2px dashed #dadce0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
}

.ad-placeholder:hover {
  background: linear-gradient(135deg, #e8eaed 0%, #dadce0 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ad-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #5f6368;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.ad-dimensions {
  font-size: 0.875rem;
  color: #80868b;
  font-weight: 500;
}

/* Sidebar Advertisement */
.ad-widget {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sidebar-ad-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
  border: 2px dashed #dadce0;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
  min-height: 250px;
}

.sidebar-ad-placeholder:hover {
  background: linear-gradient(135deg, #e8eaed 0%, #dadce0 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sidebar-ad-placeholder .ad-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #5f6368;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== RESPONSIVE STYLES FOR HOME ===== */

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

  .main-featured {
    grid-row: span 1;
  }

  .secondary-featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

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

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .featured-section,
  .latest-posts {
    padding: 3rem 0;
  }

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

  /* Banner publicitário responsivo */
  .ad-placeholder {
    width: 320px;
    height: 100px;
  }

  .ad-dimensions {
    display: none;
  }

  .ad-placeholder::after {
    content: "320x100";
    font-size: 0.875rem;
    color: #80868b;
    font-weight: 500;
  }

  /* Posts em destaque com rolagem horizontal no mobile */
  .featured-grid {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
  }

  .main-featured,
  .featured-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
  }

  .secondary-featured {
    display: flex;
    gap: 1rem;
  }

  /* Posts do loop - imagem ocupa espaço todo no responsivo */
  .main-post-card {
    flex-direction: column;
    padding: 0;
  }

  .main-post-image {
    width: 100%;
    height: 200px;
  }

  .main-post-content {
    min-height: auto;
    padding: 1.5rem;
  }

  /* Sidebar vem depois dos posts no responsivo */
  .posts-grid {
    display: flex;
    flex-direction: column;
  }

  .posts-main {
    order: 1;
  }

  .sidebar {
    order: 2;
    margin-top: 2rem;
  }

  /* Sidebar advertisement responsive */
  .sidebar-ad-placeholder {
    min-height: 200px;
    max-width: 300px;
    margin: 0 auto;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card .post-image img {
    height: 250px;
  }

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

  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-nav {
    gap: 1.5rem;
  }

  .footer-site-title {
    font-size: 2rem;
  }

  .footer-copyright {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .main-post-card {
    padding: 1rem;
  }

  .main-post-title {
    font-size: 1.2rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }
}

/* Single Post Styles */
.post-content {
  padding: 2rem 0;
}

.single-post {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.post-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid hsl(var(--neutral-hue), 10%, 90%);
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--neutral-hue), 10%, 15%);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: hsl(var(--neutral-hue), 10%, 50%);
}

.post-meta span {
  position: relative;
}

.post-meta span:not(:last-child)::after {
  content: '•';
  position: absolute;
  right: -0.6rem;
  color: hsl(var(--neutral-hue), 10%, 70%);
}

.post-featured-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-content-text {
  padding: 2rem;
  line-height: 1.8;
  color: hsl(var(--neutral-hue), 10%, 25%);
}

.post-content-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.post-intro {
  font-size: 1.2rem !important;
  font-weight: 500;
  color: hsl(var(--neutral-hue), 10%, 20%) !important;
  border-left: 4px solid hsl(340, 67%, 45%);
  padding-left: 1.5rem;
  margin-bottom: 2rem !important;
}

.post-content-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: hsl(var(--neutral-hue), 10%, 15%);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.post-content-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: hsl(var(--neutral-hue), 10%, 20%);
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

.post-footer {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid hsl(var(--neutral-hue), 10%, 90%);
}

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

.tag {
  background: hsl(340, 67%, 45%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.tag:hover {
  background: hsl(340, 67%, 37%);
}

/* Responsive adjustments for single post */
@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
  }
  
  .post-header,
  .post-content-text,
  .post-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .post-featured-image {
    height: 300px;
  }
  
  .post-content-text h2 {
    font-size: 1.5rem;
  }
  
  .post-content-text h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 1.6rem;
  }
  
  .post-header,
  .post-content-text,
  .post-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .post-featured-image {
    height: 250px;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .post-meta span::after {
    display: none;
  }
  
  .post-content-text p,
  .post-intro {
    font-size: 1rem !important;
  }
}
a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  color: inherit;
  text-decoration: none;
}
/* ========================================
   SOCIAL ICONS STYLES
   ======================================== */

/* Header Social Icons */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icon {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Footer Social Icons */
.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.footer-social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet and smaller screens */
@media (max-width: 992px) {
  .social-icons {
    gap: 0.5rem;
  }

  .social-icon {
    padding: 0.6rem;
  }

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

/* Mobile screens */
@media (max-width: 768px) {
  .social-icons {
    gap: 0.5rem;
  }

  .social-icon {
    padding: 0.5rem;
  }

  .social-icon svg {
    width: 18px;
    height: 18px;
  }

  .footer-social-icons {
    gap: 0.8rem;
    margin-bottom: 1.5rem;
  }

  .footer-social-icon {
    width: 35px;
    height: 35px;
  }

  .footer-social-icon svg {
    width: 18px;
    height: 18px;
  }
}

/* Small mobile screens */
@media (max-width: 480px) {
  .social-icons {
    gap: 0.4rem;
  }

  .social-icon {
    padding: 0.4rem;
  }

  .social-icon svg {
    width: 16px;
    height: 16px;
  }

  .footer-social-icons {
    gap: 0.6rem;
  }

  .footer-social-icon {
    width: 32px;
    height: 32px;
  }

  .footer-social-icon svg {
    width: 16px;
    height: 16px;
  }
}
