/* ===== VARIABLES CSS ===== */
:root {
  --header-height: 3.5rem;
  
  /* Colors */
  --primary-color: #2c5aa0;
  --primary-color-alt: #1e3f73;
  --secondary-color: #00d4aa;
  --accent-color: #ff6b6b;
  --text-color: #2d3748;
  --text-color-light: #718096;
  --body-color: #f7fafc;
  --container-color: #ffffff;
  --border-color: #e2e8f0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  
  /* Dark theme colors */
  --dark-body-color: #1a202c;
  --dark-container-color: #2d3748;
  --dark-text-color: #f7fafc;
  --dark-text-color-light: #a0aec0;
  --dark-border-color: #4a5568;
  --dark-shadow-color: rgba(0, 0, 0, 0.3);
  
  /* Typography */
  --body-font: 'Poppins', sans-serif;
  --heading-font: 'Lora', serif;
  --biggest-font-size: 2.5rem;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.813rem;
  
  /* Font weight */
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  
  /* Margins */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  
  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* Responsive typography */
@media screen and (max-width: 992px) {
  :root {
    --biggest-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;
  }
}

/* ===== BASE ===== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: var(--transition);
}

h1, h2, h3, h4 {
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--heading-font);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

.section {
  padding: 4rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--text-color);
  text-align: center;
  margin-bottom: var(--mb-2-5);
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* ===== HEADER & NAV ===== */
.header {
  width: 100%;
  background-color: var(--container-color);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: var(--transition);
  box-shadow: 0 2px 16px var(--shadow-color);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-bold);
  color: var(--primary-color);
  font-size: var(--h3-font-size);
}

.nav__logo i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link:hover {
  color: var(--primary-color);
}

.active-link {
  color: var(--primary-color);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--container-color);
  box-shadow: 0 8px 24px var(--shadow-color);
  border-radius: 0.5rem;
  padding: 1rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
}

.dropdown:hover .dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-color);
  transition: var(--transition);
}

.dropdown__link:hover {
  background-color: var(--body-color);
  color: var(--primary-color);
}

/* Nav Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search__container {
  position: relative;
  display: flex;
  align-items: center;
}

.search__input {
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 2rem;
  background-color: var(--body-color);
  color: var(--text-color);
  font-size: var(--small-font-size);
  width: 250px;
  transition: var(--transition);
}

.search__input:focus {
  border-color: var(--primary-color);
  outline: none;
}

.search__button {
  position: absolute;
  right: 0.5rem;
  background: none;
  color: var(--text-color-light);
  font-size: 1rem;
  transition: var(--transition);
}

.search__button:hover {
  color: var(--primary-color);
}

.theme__toggle {
  background: none;
  color: var(--text-color);
  font-size: 1.25rem;
  transition: var(--transition);
}

.theme__toggle:hover {
  color: var(--primary-color);
}

.nav__toggle,
.nav__close {
  display: none;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-alt) 100%);
  overflow: hidden;
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  color: white;
}

.hero__data h1 {
  font-size: var(--biggest-font-size);
  color: white;
  margin-bottom: var(--mb-1);
}

.hero__data p {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-2);
  opacity: 0.9;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--secondary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-weight: var(--font-medium);
  transition: var(--transition);
}

.hero__button:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== FEATURED SECTION ===== */
.featured__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.featured__card {
  background-color: var(--container-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow-color);
  transition: var(--transition);
}

.featured__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px var(--shadow-color);
}

.featured__image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.featured__card:hover .featured__image img {
  transform: scale(1.1);
}

.featured__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
}

.featured__content {
  padding: 1.5rem;
}

.featured__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-75);
  color: var(--text-color);
}

.featured__title:hover {
  color: var(--primary-color);
}

.featured__description {
  color: var(--text-color-light);
  margin-bottom: var(--mb-1);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.featured__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.featured__author i {
  color: var(--secondary-color);
}

/* ===== TRENDING SECTION ===== */
.trending {
  background-color: var(--container-color);
}

.trending__container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.trending__container::-webkit-scrollbar {
  height: 6px;
}

.trending__container::-webkit-scrollbar-track {
  background: var(--border-color);
  border-radius: 3px;
}

.trending__container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.trending__card {
  min-width: 280px;
  background-color: var(--body-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: var(--transition);
}

.trending__card:hover {
  transform: translateY(-3px);
}

.trending__image {
  height: 150px;
  overflow: hidden;
}

.trending__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trending__content {
  padding: 1rem;
}

.trending__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-5);
  color: var(--text-color);
}

.trending__meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/* ===== LATEST SECTION ===== */
.latest__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.latest__container {
  display: grid;
  gap: 2rem;
}

.latest__card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  background-color: var(--container-color);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: var(--transition);
}

.latest__card:hover {
  transform: translateY(-2px);
}

.latest__image {
  height: 150px;
  overflow: hidden;
}

.latest__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest__content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.latest__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-75);
  color: var(--text-color);
}

.latest__title:hover {
  color: var(--primary-color);
}

.latest__description {
  color: var(--text-color-light);
  margin-bottom: var(--mb-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.latest__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.load-more__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-weight: var(--font-medium);
  margin: 2rem auto 0;
  transition: var(--transition);
}

.load-more__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 90, 160, 0.3);
}

/* ===== SIDEBAR ===== */
.sidebar {
  display: grid;
  gap: 2rem;
  align-content: start;
}

.sidebar__widget {
  background-color: var(--container-color);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 16px var(--shadow-color);
}

.widget__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: var(--text-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.widget__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.categories__list {
  display: grid;
  gap: 0.75rem;
}

.categories__list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: var(--text-color);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.categories__list li a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.tags__container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: var(--body-color);
  color: var(--text-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: var(--smaller-font-size);
  transition: var(--transition);
}

.tag:hover {
  background-color: var(--primary-color);
  color: white;
}

.recommended__posts {
  display: grid;
  gap: 1rem;
}

.recommended__post {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.recommended__image {
  width: 60px;
  height: 60px;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.recommended__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommended__content h4 {
  font-size: var(--small-font-size);
  margin-bottom: 0.25rem;
  color: var(--text-color);
}

.recommended__content h4:hover {
  color: var(--primary-color);
}

.recommended__date {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/* Newsletter Widget */
.newsletter__widget {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.newsletter__widget .widget__title {
  color: white;
}

.newsletter__widget .widget__title::after {
  background: white;
}

.newsletter__description {
  margin-bottom: var(--mb-1-5);
  opacity: 0.9;
}

.newsletter__form {
  display: flex;
  gap: 0.5rem;
}

.newsletter__input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  placeholder-color: rgba(255, 255, 255, 0.7);
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter__btn {
  background-color: var(--accent-color);
  color: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: var(--transition);
}

.newsletter__btn:hover {
  background-color: #ff5252;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--text-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--h3-font-size);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
}

.footer__logo i {
  color: var(--secondary-color);
}

.footer__description {
  margin-bottom: var(--mb-1-5);
  opacity: 0.8;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.footer__social-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1-5);
  color: var(--secondary-color);
}

.footer__list {
  display: grid;
  gap: 0.75rem;
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--secondary-color);
  padding-left: 0.5rem;
}

.footer__info {
  display: grid;
  gap: 0.75rem;
}

.footer__info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer__info i {
  color: var(--secondary-color);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer__disclaimer {
  background-color: rgba(255, 107, 107, 0.1);
  border-left: 4px solid var(--accent-color);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.footer__disclaimer p {
  font-size: var(--small-font-size);
  opacity: 0.9;
}

.footer__copyright {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal {
  display: flex;
  gap: 1rem;
}

.footer__legal-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--small-font-size);
  transition: var(--transition);
}

.footer__legal-link:hover {
  color: var(--secondary-color);
}

/* ===== LOADING ===== */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.loading.show {
  opacity: 1;
  visibility: visible;
}

.loading__spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== DARK THEME ===== */
body.dark-theme {
  --body-color: var(--dark-body-color);
  --container-color: var(--dark-container-color);
  --text-color: var(--dark-text-color);
  --text-color-light: var(--dark-text-color-light);
  --border-color: var(--dark-border-color);
  --shadow-color: var(--dark-shadow-color);
}

.dark-theme .search__input {
  background-color: var(--dark-body-color);
  color: var(--dark-text-color);
}

.dark-theme .loading {
  background-color: rgba(26, 32, 44, 0.9);
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 992px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .latest__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .latest__card {
    grid-template-columns: 150px 1fr;
    gap: 1rem;
  }
  
  .footer__copyright {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    background-color: var(--container-color);
    width: 80%;
    height: 100%;
    top: 0;
    right: -100%;
    box-shadow: -2px 0 4px var(--shadow-color);
    padding: 4rem 0 0 3rem;
    transition: var(--transition);
  }
  
  .nav__menu.show-menu {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .nav__toggle,
  .nav__close {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
  }
  
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.3rem;
  }
  
  .nav__actions {
    gap: 0.5rem;
  }
  
  .search__input {
    width: 200px;
  }
  
  .dropdown__menu {
    position: static;
    box-shadow: none;
    background: none;
    padding: 0.5rem 0 0 1rem;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  
  .hero {
    height: 80vh;
    padding: 2rem 0;
  }
  
  .featured__container {
    grid-template-columns: 1fr;
  }
  
  .trending__card {
    min-width: 250px;
  }
  
  .latest__card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .latest__image {
    height: 200px;
  }
  
  .sidebar {
    order: -1;
  }
}

@media screen and (max-width: 576px) {
  .search__input {
    width: 150px;
  }
  
  .hero__data h1 {
    font-size: var(--h1-font-size);
  }
  
  .trending__card {
    min-width: 220px;
  }
  
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-0-5);
    margin-right: var(--mb-0-5);
  }
  
  .nav__actions {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .search__container {
    order: 2;
  }
  
  .search__input {
    width: 100%;
  }
}

.highlight-section {
    padding: 2rem 0;
    background-color: var(--body-color);
}

.highlight-banner {
    margin: 2rem auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed var(--border-color);
    transition: var(--transition);
}

.highlight-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.highlight-728x90 {
    width: 100%;
    max-width: 728px;
    height: 90px;
}

.highlight-800x500 {
  width: 100%;
  max-width: 800px;
  height: 500px;
  margin: 3rem auto;
}

.highlight-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.highlight-label {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: var(--text-color-light);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: var(--smaller-font-size);
    font-weight: var(--font-medium);
    text-transform: uppercase;
}

.highlight-placeholder {
    text-align: center;
    color: var(--text-color-light);
}

    .highlight-placeholder i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        color: var(--primary-color);
    }

.highlight-728x90 .highlight-placeholder i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.highlight-placeholder h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: var(--h3-font-size);
}

.highlight-placeholder p {
    margin-bottom: 1rem;
    font-size: var(--normal-font-size);
}

.highlight-728x90 .highlight-placeholder p {
    margin-bottom: 0.25rem;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
}

.highlight-728x90 .highlight-placeholder small {
    font-size: var(--smaller-font-size);
}

.highlight-button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: var(--transition);
}

    .highlight-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
    }

.highlight-button-small {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

    .highlight-button-small:hover {
        background-color: var(--primary-color-alt);
    }

.highlight__widget {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed var(--border-color);
    position: relative;
}

    .highlight__widget .highlight-label {
        position: absolute;
        top: -1px;
        left: -1px;
        background-color: var(--accent-color);
        border-radius: 0.25rem 0 0.5rem 0;
    }

.highlight-sidebar {
    padding: 1rem;
    text-align: center;
}

    .highlight-sidebar .highlight-placeholder i {
        font-size: 2rem;
        color: var(--secondary-color);
        margin-bottom: 0.75rem;
    }

    .highlight-sidebar .highlight-placeholder h4 {
        color: var(--text-color);
        margin-bottom: 0.5rem;
        font-size: var(--normal-font-size);
    }

    .highlight-sidebar .highlight-placeholder p {
        color: var(--text-color-light);
        font-size: var(--small-font-size);
        margin-bottom: 1rem;
    }


.dark-theme .highlight-banner {
    background: linear-gradient(135deg, var(--dark-container-color) 0%, #4a5568 100%);
    border-color: var(--dark-border-color);
}

.dark-theme .highlight__widget {
    background: linear-gradient(135deg, var(--dark-container-color) 0%, #4a5568 100%);
    border-color: var(--dark-border-color);
}

.dark-theme .highlight-placeholder {
    color: var(--dark-text-color-light);
}

    .dark-theme .highlight-placeholder h3,
    .dark-theme .highlight-sidebar .highlight-placeholder h4 {
        color: var(--dark-text-color);
    }


@media screen and (max-width: 768px) {
    .highlight-728x90 {
        max-width: 100%;
        height: 100px;
    }

    .highlight-800x500 {
        height: 300px;
    }

    .highlight-placeholder i {
        font-size: 1.5rem;
    }

    .highlight-800x500 .highlight-placeholder i {
        font-size: 2.5rem;
    }

    .highlight-placeholder h3 {
        font-size: var(--normal-font-size);
    }

    .highlight-placeholder p {
        font-size: var(--small-font-size);
    }
}

@media screen and (max-width: 576px) {
    .highlight-section {
        padding: 1rem 0;
    }

    .highlight-728x90 {
        height: 80px;
    }

    .highlight-800x500 {
        height: 250px;
        margin: 2rem auto;
    }

    .highlight-728x90 .highlight-placeholder i {
        font-size: 1.25rem;
    }

    .highlight-728x90 .highlight-placeholder p {
        font-size: var(--smaller-font-size);
    }

    .highlight-button {
        padding: 0.6rem 1.2rem;
        font-size: var(--small-font-size);
    }
}


@keyframes highlightPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.highlight-banner:hover .highlight-placeholder i {
    animation: highlightPulse 2s infinite;
}