/* Jornal da Franca - Custom CSS */
/* Cores: Primária #d32f2f, Secundária #666 */

/* Critical Styles - Must Load First */
html {
  font-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

a:hover {
  color: #d32f2f;
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-6 > * + * {
  margin-left: 1.5rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-auto { margin-left: auto; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }

/* Colors */
.text-white { color: #ffffff; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-red-600 { color: #dc2626; }
.text-green-600 { color: #16a34a; }
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-900 { background-color: #111827; }
.bg-red-600 { background-color: #dc2626; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-800 { border-color: #1f2937; }

/* Custom Colors */
.text-\[\#d32f2f\] { color: #d32f2f; }
.text-\[\#666\] { color: #666; }
.bg-\[\#d32f2f\] { background-color: #d32f2f; }
.bg-\[\#b71c1c\] { background-color: #b71c1c; }
.bg-\[\#666\] { background-color: #666; }
.bg-\[\#555\] { background-color: #555; }
.border-\[\#d32f2f\] { border-color: #d32f2f; }

/* Hover Colors */
.hover\:text-\[\#d32f2f\]:hover { color: #d32f2f; }
.hover\:bg-\[\#b71c1c\]:hover { background-color: #b71c1c; }
.hover\:bg-\[\#555\]:hover { background-color: #555; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hover\:underline:hover { text-decoration: underline; }

/* Borders */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-2 { border-width: 2px; }
.border-b-2 { border-bottom-width: 2px; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-l-lg { border-top-left-radius: 0.5rem; border-bottom-left-radius: 0.5rem; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.top-full { top: 100%; }
.z-50 { z-index: 50; }

/* Width & Height */
.w-full { width: 100%; }
.w-1\/3 { width: 33.333333%; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-48 { height: 12rem; }
.h-96 { height: 24rem; }
.h-auto { height: auto; }
.max-w-xs { max-width: 20rem; }
.max-w-full { max-width: 100%; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }

/* Object Fit */
.object-cover { object-fit: cover; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Transitions */
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* Line Clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Responsive */
@media (min-width: 640px) {
  .sm\:block { display: block; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:items-start { align-items: flex-start; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:w-1\/3 { width: 33.333333%; }
  .lg\:w-2\/3 { width: 66.666667%; }
  .lg\:flex-row { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:justify-between { justify-content: space-between; }
}

/* Custom Components */
.btn-primary {
  background-color: #d32f2f;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #b71c1c;
}

.btn-secondary {
  background-color: #666;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease;
}

.btn-secondary:hover {
  background-color: #555;
}

.post-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.post-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.post-card-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

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

.post-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  transition: color 0.2s ease;
}

.post-card-title:hover {
  color: #d32f2f;
}

.category-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #d32f2f;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Mega Menu */
.mega-menu-container {
  position: relative;
}

.main-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.mega-menu-item {
  position: relative;
}

.mega-menu-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #ffffff;
  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;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  padding: 1.5rem;
  width: 100vw;
  max-width: 56rem;
  z-index: 50;
}

@media (min-width: 1024px) {
  .mega-menu-dropdown {
    max-width: 64rem;
  }
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: block;
  padding: 0.5rem;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  color: #d32f2f;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow-y: auto;
  transition: right 0.3s ease;
  padding: 0;
}

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

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

/* Search Form Premium */
.search-form-premium {
  display: flex;
}

.search-form-wrapper {
  display: flex;
  align-items: center;
  background-color: rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}

.search-field-premium {
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.875rem;
  width: 200px;
  outline: none;
}

.search-field-premium::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-submit-premium {
  background-color: #d32f2f;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-submit-premium:hover {
  background-color: #b71c1c;
}

/* Search Form Active */
.search-form-active {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.search-form-wrapper-active {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #d32f2f;
  border-radius: 1.5rem;
  padding: 0.375rem 0.75rem;
  gap: 0.5rem;
  width: 100%;
  box-shadow: 0 1px 4px rgba(211, 47, 47, 0.1);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-form-wrapper-active:focus-within {
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.2);
  border-color: #b71c1c;
}

.search-field-active {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  background: transparent;
  color: #1a1a1a;
  line-height: 1.4;
}

.search-field-active::placeholder {
  color: #9ca3af;
}

.search-submit-active {
  background-color: #d32f2f;
  color: #ffffff;
  border: none;
  padding: 0.375rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  min-width: 32px;
  min-height: 32px;
  flex-shrink: 0;
}

.search-submit-active svg {
  width: 18px;
  height: 18px;
}

.search-submit-active:hover {
  background-color: #b71c1c;
  transform: scale(1.05);
}

.search-submit-active:active {
  transform: scale(0.95);
}

/* Header Main */
.header-main {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  position: relative;
}

@media (min-width: 768px) {
  .header-main {
    padding: 1.5rem 0;
  }
  
  .header-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

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

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

.header-weather-mobile {
  display: block;
}

@media (min-width: 768px) {
  .header-weather-mobile {
    display: none;
  }
}

.header-banner {
  display: none;
  align-items: center;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .header-banner {
    display: flex;
  }
}

.banner-placeholder {
  background-color: #f5f5f5;
  border: 2px dashed #ccc;
  padding: 0.75rem;
  text-align: center;
  color: #666;
  font-size: 0.6875rem;
  width: 728px;
  max-width: 100%;
  height: 90px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.banner-placeholder small {
  font-size: 0.625rem;
  margin-top: 0.25rem;
}

.mobile-menu-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #1a1a1a;
  display: block;
  z-index: 10;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.header-nav {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 2.5rem;
  z-index: 40;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.header-nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-search-desktop {
  display: none;
}

@media (min-width: 768px) {
  .header-search-desktop {
    display: block;
    flex-shrink: 0;
  }
}

.header-search-mobile {
  display: block;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 0;
}

@media (min-width: 768px) {
  .header-search-mobile {
    display: none;
  }
}

.banner-mobile-before-header {
  background-color: #f5f5f5;
  padding: 0.5rem 0;
  text-align: center;
}

@media (min-width: 768px) {
  .banner-mobile-before-header {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  background-color: #ffffff;
  padding: 2rem 0;
}

.hero-main {
  grid-column: span 2;
}

@media (max-width: 1023px) {
  .hero-main {
    grid-column: span 1;
  }
}

/* Widget Areas */
.widget-area {
  width: 100%;
}

@media (min-width: 1024px) {
  .widget-area {
    width: 33.333333%;
  }
}

/* Banner Areas */
.banner-top-container,
.banner-hero-container,
.banner-footer-container {
  background-color: #f3f4f6;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .banner-top-container,
  .banner-hero-container,
  .banner-footer-container {
    padding: 1rem 0;
  }
}

/* Footer */
.site-footer {
  background-color: #111827;
  color: #ffffff;
  padding: 3rem 0;
}

.site-footer a {
  color: #9ca3af;
  transition: color 0.2s ease;
}

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

/* Utilities */
.last\:border-0:last-child {
  border-bottom: 0;
}

.pb-2 {
  padding-bottom: 0.5rem;
}

.pb-3 {
  padding-bottom: 0.75rem;
}

.pt-8 {
  padding-top: 2rem;
}

/* ============================================
   PROFESSIONAL DESIGN STYLES
   ============================================ */

/* Utility Classes */
.bg-dark {
  background-color: #1a1a1a;
}

.bg-white {
  background-color: #ffffff;
}

.text-white {
  color: #ffffff;
}

.text-sm {
  font-size: 0.875rem;
}

.font-mono {
  font-family: 'Courier New', monospace;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.top-10 {
  top: 2.5rem;
}

.z-50 {
  z-index: 50;
}

.z-40 {
  z-index: 40;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-6 {
  gap: 1.5rem;
}

.hover\:text-primary:hover {
  color: #d32f2f;
}

.transition-colors {
  transition: color 0.2s ease, background-color 0.2s ease;
}

.border-b {
  border-bottom-width: 1px;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.flex-col {
  flex-direction: column;
}

.ml-auto {
  margin-left: auto;
}

.p-2 {
  padding: 0.5rem;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-900 {
  color: #111827;
}

.hidden {
  display: none;
}

.absolute {
  position: absolute;
}

.left-0 {
  left: 0;
}

.top-full {
  top: 100%;
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.p-6 {
  padding: 1.5rem;
}

.w-screen {
  width: 100vw;
}

.max-w-4xl {
  max-width: 56rem;
}

.text-lg {
  font-size: 1.125rem;
}

.font-bold {
  font-weight: 700;
}

.mb-4 {
  margin-bottom: 1rem;
}

.text-gray-700 {
  color: #374151;
}

.text-\[\#d32f2f\] {
  color: #d32f2f;
}

.hover\:text-\[\#d32f2f\]:hover {
  color: #d32f2f;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.space-x-6 > * + * {
  margin-left: 1.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:items-center {
    align-items: center;
  }
  
  .md\:justify-between {
    justify-content: space-between;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .md\:hidden {
    display: none;
  }
}

.w-5 {
  width: 1.25rem;
}

.h-5 {
  height: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.h-6 {
  height: 1.5rem;
}

.w-4 {
  width: 1rem;
}

.h-4 {
  height: 1rem;
}

.w-16 {
  width: 4rem;
}

.h-16 {
  height: 4rem;
}

.ml-1 {
  margin-left: 0.25rem;
}

.relative {
  position: relative;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-3 > * + * {
  margin-top: 0.75rem;
}

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

.object-cover {
  object-fit: cover;
}

.rounded {
  border-radius: 0.25rem;
}

.items-start {
  align-items: flex-start;
}

/* Topbar */
.topbar {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  font-size: 0.875rem;
}

@media (max-width: 767px) {
  .topbar {
    display: none;
  }
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
}

/* Weather Widget Compact */
.weather-widget-compact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.weather-icon-compact {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.weather-icon-placeholder {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  display: inline-block;
}

.weather-temp-compact {
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}

.weather-location-compact {
  font-size: 0.75rem;
  color: #999;
  margin-left: 0.25rem;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .weather-widget-compact {
    gap: 0.25rem;
  }
  
  .weather-icon-compact {
    width: 20px;
    height: 20px;
  }
  
  .weather-temp-compact {
    font-size: 0.75rem;
  }
  
  .weather-location-compact {
    font-size: 0.625rem;
    margin-left: 0.125rem;
  }
}

/* Financial Indicators Compact */
.financial-indicators-compact {
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  position: relative;
}

.indicators-ticker-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.indicators-ticker {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  animation: scroll-indicators 80s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.indicators-ticker:hover {
  animation-play-state: paused;
}

.indicator-item-compact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.indicator-label {
  font-weight: 600;
  color: #fff;
}

.indicator-value {
  font-weight: 700;
  color: #fff;
}

.indicator-variation {
  font-weight: 600;
  font-size: 0.75rem;
}

.indicator-variation.positive {
  color: #4caf50;
}

.indicator-variation.negative {
  color: #f44336;
}

.indicator-variation.neutral {
  color: #999;
}

.indicator-separator {
  color: #666;
  margin: 0 0.5rem;
  font-size: 0.625rem;
}

@keyframes scroll-indicators {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Logo Professional */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}

@media (min-width: 768px) {
  .logo-container {
    padding: 0.5rem 0;
  }
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.logo-image-wrapper {
  margin-bottom: 0.25rem;
}

.logo-image {
  max-width: 250px;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-image {
    max-width: 300px;
  }
}

@media (max-width: 767px) {
  .logo-image {
    max-width: 150px;
  }
}

.logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: #d32f2f;
  margin-bottom: 0.5rem;
}

.logo-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.edition-info {
  font-size: 0.75rem;
  color: #666;
}

/* Hero Section Professional */
.hero-section {
  background-color: #ffffff;
  padding: 2rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

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

.hero-main {
  position: relative;
}

.hero-main-link {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border-radius: 0.5rem;
}

.hero-main-image {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 0.5rem;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 4rem;
  min-height: 500px;
  position: relative;
}

.hero-image-placeholder::after {
  content: "📰";
  font-size: 6rem;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 3rem 2rem 2rem;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
}

.hero-category-badge {
  display: inline-block;
  background-color: #d32f2f;
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-excerpt {
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
}

.hero-main-link:hover .hero-image {
  transform: scale(1.05);
}

.hero-secondary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-secondary-link {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.hero-secondary-link:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.hero-secondary-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.hero-secondary-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-secondary-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 3rem;
  min-height: 150px;
  position: relative;
}

.hero-secondary-placeholder::after {
  content: "📄";
  font-size: 4rem;
  opacity: 0.6;
}

.hero-secondary-link:hover .hero-secondary-img {
  transform: scale(1.1);
}

.hero-secondary-content {
  padding: 1rem;
}

.hero-secondary-category {
  display: inline-block;
  color: #d32f2f;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-secondary-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.hero-secondary-meta {
  font-size: 0.75rem;
  color: #666;
}

/* News Grid Professional */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

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

.news-card {
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-card-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 3rem;
  min-height: 200px;
  position: relative;
}

.news-card-placeholder::after {
  content: "📰";
  font-size: 4rem;
  opacity: 0.6;
}

.news-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-card-overlay {
  opacity: 1;
}

.news-card:hover .news-card-image {
  transform: scale(1.1);
}

.news-card-content {
  padding: 1.5rem;
}

.news-card-category {
  display: inline-block;
  background-color: #d32f2f;
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.news-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.news-card:hover .news-card-title {
  color: #d32f2f;
}

.news-card-excerpt {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #999;
}

.news-card-readmore {
  color: #d32f2f;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.news-card-readmore:hover {
  transform: translateX(4px);
}

/* Category Tabs Professional */
.category-tabs-section {
  margin: 3rem 0;
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-tabs-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #d32f2f;
}

.category-tabs-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 2rem;
}

.category-tab {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: -2px;
}

.category-tab:hover {
  color: #d32f2f;
}

.category-tab.active {
  color: #d32f2f;
  border-bottom-color: #d32f2f;
}

.category-tabs-content {
  position: relative;
}

.category-tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.category-tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-tab-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 1023px) {
  .category-tab-grid {
    grid-template-columns: 1fr;
  }
}

.category-tab-featured {
  grid-row: span 2;
}

.category-tab-featured-link {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.category-tab-featured-link:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

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

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

.featured-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 4rem;
  min-height: 400px;
  position: relative;
}

.featured-placeholder::after {
  content: "📰";
  font-size: 5rem;
  opacity: 0.6;
}

.category-tab-featured-link:hover .featured-img {
  transform: scale(1.1);
}

.category-tab-featured-content {
  padding: 1.5rem;
}

.category-tab-badge {
  display: inline-block;
  background-color: #d32f2f;
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.category-tab-featured-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.category-tab-featured-excerpt {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.category-tab-featured-meta {
  font-size: 0.875rem;
  color: #999;
}

.category-tab-item {
  background-color: #ffffff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.category-tab-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.category-tab-item-link {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

.category-tab-item-image {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  overflow: hidden;
  border-radius: 0.25rem;
}

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

.category-tab-item-content {
  flex: 1;
}

.category-tab-item-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.category-tab-item-meta {
  font-size: 0.75rem;
  color: #999;
}

/* Widgets Premium */
.widget-weather-premium,
.widget-horoscope-premium,
.widget-agro-premium {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.widget-horoscope-premium {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.widget-agro-premium {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.weather-widget-header,
.horoscope-widget-header,
.agro-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.weather-widget-title,
.horoscope-widget-title,
.agro-widget-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.weather-widget-location,
.horoscope-widget-date,
.agro-widget-source {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}

.weather-widget-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.weather-temp-large {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
}

.weather-icon-large {
  font-size: 4rem;
}

.weather-description {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  text-align: center;
  margin-top: 0.5rem;
}

.weather-widget-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.weather-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.weather-detail-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.25rem;
}

.weather-detail-value {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.weather-widget-forecast {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.3);
}

.weather-forecast-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.forecast-day {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
}

.forecast-temp {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

/* Horoscope Widget */
.horoscope-signs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.horoscope-sign-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
  background-color: rgba(255,255,255,0.2);
  border-radius: 0.5rem;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
}

.horoscope-sign-item:hover {
  background-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.horoscope-sign-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.horoscope-sign-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.horoscope-selected {
  margin-top: 1rem;
  padding: 1rem;
  background-color: rgba(255,255,255,0.2);
  border-radius: 0.5rem;
}

.horoscope-selected-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.horoscope-selected-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

/* Agro Widget */
.agro-indicators-table {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agro-indicator-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: rgba(255,255,255,0.2);
  border-radius: 0.5rem;
}

.agro-indicator-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #ffffff;
}

.agro-indicator-icon {
  font-size: 1.5rem;
}

.agro-indicator-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.agro-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
}

.agro-variation {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.agro-variation.positive {
  background-color: rgba(34, 197, 94, 0.3);
  color: #ffffff;
}

.agro-variation.negative {
  background-color: rgba(239, 68, 68, 0.3);
  color: #ffffff;
}

.agro-widget-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.3);
  text-align: center;
}

.agro-widget-footer small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}

/* Sidebar Premium */
.sidebar-premium {
  width: 100%;
}

@media (min-width: 1024px) {
  .sidebar-premium {
    width: 30%;
  }
}

.sidebar-widget {
  margin-bottom: 2rem;
}

.sidebar-banner-top,
.sidebar-banner-middle,
.sidebar-banner-bottom {
  margin-bottom: 2rem;
  text-align: center;
}

.sidebar-most-read,
.sidebar-newsletter,
.sidebar-social {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-widget-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #d32f2f;
}

.most-read-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.most-read-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.most-read-item:hover {
  background-color: #f3f4f6;
  transform: translateX(4px);
}

.most-read-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d32f2f;
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
}

.most-read-content {
  flex: 1;
}

.most-read-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.most-read-views {
  font-size: 0.75rem;
  color: #666;
}

/* Newsletter */
.newsletter-description {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
}

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

.newsletter-input {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #d32f2f;
}

.newsletter-button {
  padding: 0.75rem 1.5rem;
  background-color: #d32f2f;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.newsletter-button:hover {
  background-color: #b71c1c;
}

/* Social Icons */
.social-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.2s ease;
}

.social-icon:hover {
  background-color: #f3f4f6;
  transform: translateY(-2px);
}

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

.social-icon span {
  font-size: 0.75rem;
  font-weight: 600;
}

/* Main Layout */
.main-content-wrapper {
  background-color: #f5f5f5;
  padding: 3rem 0;
}

.main-layout {
  display: flex;
  gap: 2rem;
}

.main-content {
  flex: 1;
  min-width: 0;
}

@media (max-width: 1023px) {
  .main-layout {
    flex-direction: column;
  }
}

.featured-news-section {
  padding: 3rem 0;
  background-color: #ffffff;
}

.section-featured-news,
.section-most-read,
.section-agro,
.section-columns {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.banner-area-container {
  margin: 2rem 0;
  text-align: center;
}

/* Most Read Main */
.most-read-list-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.most-read-item-main {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.most-read-item-main:nth-child(even) {
  background-color: #ffffff;
}

.most-read-item-main:hover {
  background-color: #f3f4f6;
  transform: translateX(4px);
}

.most-read-rank {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d32f2f;
  color: #ffffff;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.most-read-image {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 0.5rem;
  overflow: hidden;
}

.most-read-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 2rem;
  min-height: 80px;
  position: relative;
}

.most-read-placeholder::after {
  content: "📸";
  font-size: 2.5rem;
  opacity: 0.6;
}

.most-read-content-main {
  flex: 1;
}

.most-read-title-main {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.most-read-title-main a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.most-read-title-main a:hover {
  color: #d32f2f;
}

.most-read-meta-main {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #666;
}

.most-read-views-main {
  color: #d32f2f;
  font-weight: 600;
}

/* Agro Section */
.section-agro-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.agro-icon {
  font-size: 2rem;
}

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

@media (max-width: 1023px) {
  .agro-content-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 767px) {
  .agro-news-grid {
    grid-template-columns: 1fr;
  }
}

.agro-news-card {
  background-color: #f9fafb;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.agro-news-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.agro-news-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.agro-news-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.agro-news-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 3rem;
  min-height: 150px;
  position: relative;
}

.agro-news-placeholder::after {
  content: "🌾";
  font-size: 4rem;
  opacity: 0.6;
}

.agro-news-content {
  padding: 1rem;
}

.agro-news-category {
  display: inline-block;
  background-color: #4facfe;
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.agro-news-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.agro-news-excerpt {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.agro-news-date {
  font-size: 0.75rem;
  color: #999;
}

.agro-widget-side {
  position: sticky;
  top: 100px;
}

/* Columns Section */
.columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

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

.column-card {
  background-color: #f9fafb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.column-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.column-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.column-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 3px solid #d32f2f;
}

.column-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 2.5rem;
  min-height: 80px;
  position: relative;
}

.column-avatar-placeholder::after {
  content: "👤";
  font-size: 3rem;
  opacity: 0.6;
}

.column-info {
  width: 100%;
}

.column-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.column-title {
  display: block;
  font-size: 0.875rem;
  color: #d32f2f;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.column-last {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}

/* Banner Sections */
.banner-top-container {
  background-color: #f5f5f5;
  padding: 0.5rem 0;
  text-align: center;
}

.banner-hero-section,
.banner-hero-container,
.banner-between-sections {
  background-color: #f5f5f5;
  padding: 1.5rem 0;
  text-align: center;
}

.banner-footer-container {
  background-color: #f5f5f5;
  padding: 1.5rem 0;
  text-align: center;
}

/* Footer Professional */
.site-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

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

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

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

.footer-column h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #d32f2f;
}

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

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

.footer-column a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.875rem;
}

.footer-column a:hover {
  color: #d32f2f;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-social-link {
  display: inline-block;
  padding: 0.5rem 0;
}

.footer-newsletter {
  margin-top: 1.5rem;
}

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

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter-input {
  flex: 1;
  padding: 0.5rem;
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.25rem;
  color: #ffffff;
  font-size: 0.875rem;
}

.footer-newsletter-input::placeholder {
  color: rgba(255,255,255,0.5);
}

.footer-newsletter-button {
  padding: 0.5rem 1rem;
  background-color: #d32f2f;
  color: #ffffff;
  border: none;
  border-radius: 0.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 0.875rem;
}

.footer-newsletter-button:hover {
  background-color: #b71c1c;
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

.footer-tagline {
  margin-top: 0.5rem;
  color: #d32f2f;
  font-weight: 600;
}

/* Mega Menu Professional */
.mega-menu-container {
  position: relative;
  flex: 1;
}

.main-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 0;
  list-style: none;
  margin: 0;
}

@media (max-width: 767px) {
  .main-menu {
    gap: 1rem;
    padding: 0.5rem 0;
  }
}

.mega-menu-item {
  position: relative;
}

.mega-menu-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.mega-menu-link:hover {
  color: #d32f2f;
}

.mega-menu-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.mega-menu-item:hover .mega-menu-arrow {
  transform: rotate(180deg);
}

.mega-menu-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  padding: 2rem;
  width: 100vw;
  max-width: 1400px;
  z-index: 50;
  display: none;
  animation: slideDown 0.3s ease;
}

.mega-menu-dropdown-large {
  max-width: 1400px;
}

.mega-menu-item:hover .mega-menu-dropdown {
  display: block;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mega-menu-grid-large {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.mega-menu-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #d32f2f;
  margin-bottom: 1rem;
}

.mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-menu-link-item {
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: block;
  padding: 0.25rem 0;
}

.mega-menu-link-item:hover {
  color: #d32f2f;
}

.mega-menu-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mega-menu-category-link {
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: block;
  padding: 0.5rem 0;
}

.mega-menu-category-link:hover {
  color: #d32f2f;
}

.mega-menu-popular-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mega-menu-popular-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.mega-menu-popular-image {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 0.25rem;
}

.mega-menu-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-menu-popular-content {
  flex: 1;
}

.mega-menu-popular-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  line-height: 1.4;
}

.mega-menu-popular-title:hover {
  color: #d32f2f;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mobile-menu-list li {
  border-bottom: 1px solid #f3f4f6;
}

.mobile-menu-link {
  display: block;
  padding: 1rem 1.5rem;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  position: relative;
}

.mobile-menu-link:hover,
.mobile-menu-link:focus {
  color: #d32f2f;
  background-color: #fef2f2;
  padding-left: 2rem;
}

.mobile-menu-link-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.mobile-menu-item-with-submenu.active .mobile-menu-arrow {
  transform: rotate(90deg);
}

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #f9fafb;
}

.mobile-menu-item-with-submenu.active .mobile-submenu {
  max-height: 1000px;
}

.mobile-submenu li {
  border-bottom: 1px solid #e5e7eb;
}

.mobile-submenu-link {
  display: block;
  padding: 0.75rem 1.5rem 0.75rem 3rem;
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.mobile-submenu-link:hover,
.mobile-submenu-link:focus {
  color: #d32f2f;
  background-color: #fef2f2;
  padding-left: 3.5rem;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid #e5e7eb;
  background-color: #d32f2f;
  color: #ffffff;
}

.mobile-menu-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.mobile-menu-close:hover {
  transform: rotate(90deg);
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 767px) {
  .mega-menu-dropdown {
    position: static;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
  }
  
  .mega-menu-dropdown.hidden {
    display: none;
  }
  
  .mega-menu-grid,
  .mega-menu-grid-large {
    grid-template-columns: 1fr;
  }
  
  .mega-menu-categories-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .category-tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .category-tab {
    white-space: nowrap;
  }
  
  .topbar {
    display: none;
  }
  
  .header-main {
    padding: 0.75rem 0;
  }
  
  .header-content {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    min-height: 60px;
  }
  
  .header-left {
    flex: 1;
    gap: 0.5rem;
    align-items: center;
  }
  
  .header-logo {
    flex-shrink: 0;
  }
  
  .header-weather-mobile {
    flex-shrink: 0;
  }
  
  .header-banner {
    display: none;
  }
  
  .header-nav {
    display: none;
  }
  
  .header-search-desktop {
    display: none;
  }
  
  .header-search-mobile {
    display: block;
  }
  
  .search-form-active {
    max-width: 100%;
  }
  
  .search-form-wrapper-active {
    padding: 0.375rem 0.625rem;
    border-radius: 1.25rem;
  }
  
  .search-field-active {
    font-size: 0.8125rem;
    padding: 0.125rem 0;
  }
  
  .search-submit-active {
    min-width: 28px;
    min-height: 28px;
    padding: 0.25rem;
  }
  
  .search-submit-active svg {
    width: 16px;
    height: 16px;
  }
  
  .logo-image {
    max-width: 150px;
    height: auto;
  }
  
  .logo-container {
    padding: 0;
  }
  
  .logo-info {
    display: none;
  }
  
  .banner-placeholder {
    width: 100%;
    height: auto;
    min-height: 60px;
    padding: 0.5rem;
    font-size: 0.625rem;
  }
  
  .banner-mobile-before-header {
    padding: 0.5rem 0;
  }
  
  .banner-mobile-before-header .banner-placeholder {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 50px;
  }
}
