/* Base Styles */
:root {
  --primary-color: #6742d1;
  --primary-dark: #4e2da3;
  --primary-light: #8e6de3;
  --secondary-color: #ff5722;
  --secondary-dark: #e64a19;
  --secondary-light: #ff8a65;
  --accent-color: #2cc0a0;
  --dark-color: #2a2a2a;
  --dark-gray: #444444;
  --medium-gray: #777777;
  --light-gray: #ebebeb;
  --bg-color: #ffffff;
  --text-color: #333333;
  --border-radius: 6px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-secondary: 'Poppins', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

button, .btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

button:hover, .btn:hover {
  background-color: var(--primary-dark);
  color: white;
}

.btn-primary {
  background-color: var(--secondary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
}

.btn-accept {
  background-color: var(--accent-color);
}

.btn-accept:hover {
  background-color: #25a589;
}

.btn-settings {
  background-color: var(--medium-gray);
}

.btn-settings:hover {
  background-color: #666666;
}

.btn-reject {
  background-color: transparent;
  border: 1px solid var(--medium-gray);
  color: var(--medium-gray);
}

.btn-reject:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--dark-gray);
}

input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(103, 66, 209, 0.1);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 50px;
  width: auto;
  border-radius: 0;
}

nav ul {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: white;
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: white;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Post Cards */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.post-grid.full-width {
  grid-template-columns: 1fr;
  gap: 3rem;
}

.post-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.post-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.post-card.small .post-image {
  height: 180px;
}

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

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

.post-content {
  padding: 1.5rem;
}

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

.post-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.post-card.small .post-content h3 {
  font-size: 1.2rem;
}

.post-meta {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
}

.post-excerpt {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.read-more:after {
  content: '→';
  margin-left: 0.3rem;
  transition: var(--transition);
}

.read-more:hover:after {
  margin-left: 0.5rem;
}

.view-all {
  text-align: center;
  margin: 2rem 0;
}

.new-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 3px;
  z-index: 1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* About Preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 4rem 0;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 2rem;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Newsletter */
.newsletter {
  background-color: var(--light-gray);
  padding: 4rem 0;
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  margin-bottom: 0;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: 0;
}

.footer-logo p {
  opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  opacity: 0.8;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.cookie-more {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* About Page */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.values {
  margin: 4rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
}

.team {
  margin: 4rem 0;
}

.team-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-member h3 {
  margin: 1.5rem 0 0.3rem;
  padding: 0 1.5rem;
}

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
}

.team-member .social-icons {
  padding: 0 1.5rem 1.5rem;
  margin-top: 0.5rem;
}

.team-member .social-icons a {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--dark-gray);
}

.team-member .social-icons a:hover {
  background-color: var(--primary-color);
  color: white;
}

.stats {
  margin: 4rem 0;
  text-align: center;
}

.stats h2 {
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-size: 1.1rem;
  margin-bottom: 0;
  opacity: 0.9;
}

.call-to-action {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.call-to-action h2 {
  color: white;
  margin-bottom: 1rem;
}

.call-to-action p {
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Contact Page */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.info-item {
  display: flex;
  margin-bottom: 2rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background-color: var(--primary-light);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.info-content h3 {
  margin-bottom: 0.5rem;
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input {
  width: auto;
  margin-bottom: 0;
}

.checkbox-group label {
  margin-bottom: 0;
}

.map-section {
  margin: 4rem 0;
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.faq-section {
  background-color: var(--light-gray);
  padding: 4rem 0;
}

.faq-container {
  margin-top: 2rem;
}

.faq-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 1.5rem;
}

.faq-item h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--dark-gray);
}

.thank-you-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--medium-gray);
}

.modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
}

/* Blog Post Page */
.blog-post {
  max-width: 800px;
  margin: 3rem auto;
}

.post-header {
  margin-bottom: 2rem;
  position: relative;
}

.post-header .post-meta {
  margin-bottom: 0;
}

.post-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-featured-image img {
  width: 100%;
  border-radius: 0;
}

.post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
}

.post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

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

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  background-color: rgba(103, 66, 209, 0.05);
  margin: 2rem 0;
  font-style: italic;
}

.post-content blockquote p {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.post-content blockquote cite {
  font-size: 0.9rem;
  color: var(--medium-gray);
  font-style: normal;
}

.post-content .post-image {
  margin: 2rem 0;
  height: auto;
}

.post-content .image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-top: 0.5rem;
}

.post-tags {
  margin: 3rem 0 1.5rem;
}

.post-tags a {
  display: inline-block;
  background-color: var(--light-gray);
  color: var(--dark-gray);
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.post-tags a:hover {
  background-color: var(--primary-light);
  color: white;
}

.post-share {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.post-share span {
  margin-right: 1rem;
  font-weight: 500;
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--light-gray);
  border-radius: 50%;
  color: var(--dark-gray);
  margin-right: 0.8rem;
  transition: var(--transition);
}

.post-share a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.author-box {
  display: flex;
  background-color: var(--light-gray);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
}

.author-image {
  width: 100px;
  height: 100px;
  min-width: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1.5rem;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-info h3 {
  font-size: 1rem;
  color: var(--medium-gray);
  margin-bottom: 0.3rem;
}

.author-info h4 {
  margin-bottom: 0.8rem;
}

.author-info p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.author-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: white;
  border-radius: 50%;
  color: var(--dark-gray);
  margin-right: 0.5rem;
  transition: var(--transition);
}

.author-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  padding: 1.5rem 0;
}

.prev-post, .next-post {
  max-width: 45%;
}

.next-post {
  text-align: right;
}

.post-navigation span {
  display: block;
  font-size: 0.9rem;
  color: var(--medium-gray);
  margin-bottom: 0.5rem;
}

.post-navigation a {
  font-weight: 500;
}

.related-posts {
  margin-bottom: 3rem;
}

.related-posts h2 {
  margin-bottom: 1.5rem;
}

.comments-section h2 {
  margin-bottom: 2rem;
}

.comment-form {
  background-color: var(--light-gray);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
}

.comment-form h3 {
  margin-bottom: 1.5rem;
}

.comments-list {
  margin-bottom: 2rem;
}

.comment {
  display: flex;
  margin-bottom: 2rem;
}

.comment-avatar {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1.5rem;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.comment-date {
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.comment-content p {
  margin-bottom: 1rem;
}

.reply-btn {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.reply-btn:hover {
  background-color: transparent;
  color: var(--primary-dark);
}

/* Blog Page */
.post-filters {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.search-box {
  display: flex;
  max-width: 350px;
  width: 100%;
}

.search-box input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
}

.search-box button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0 1rem;
}

.category-filter select {
  max-width: 200px;
  margin-bottom: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 0.3rem;
  font-weight: 500;
}

.pagination a {
  background-color: var(--light-gray);
}

.pagination a:hover {
  background-color: var(--primary-light);
  color: white;
}

.pagination span.current {
  background-color: var(--primary-color);
  color: white;
}

.pagination a.next {
  width: auto;
  padding: 0 1rem;
  border-radius: var(--border-radius);
}

/* Glossary */
.glossary {
  background-color: var(--light-gray);
  padding: 3rem 0;
  margin-top: 4rem;
}

.glossary h2 {
  margin-bottom: 2rem;
}

.glossary dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.glossary dt {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.glossary dd {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-preview, 
  .about-story, 
  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-content {
    order: 1;
  }
  
  .about-image {
    order: 2;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo img {
    margin: 0 auto 1rem;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  
  .author-image {
    margin: 0 auto 1.5rem;
  }
  
  .author-social {
    justify-content: center;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .prev-post, .next-post {
    max-width: 100%;
    text-align: left;
  }
  
  .comment {
    flex-direction: column;
  }
  
  .comment-avatar {
    margin: 0 0 1rem 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  header {
    height: auto;
    padding: 1rem 0;
  }
  
  .logo img {
    height: 40px;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .post-filters {
    flex-direction: column;
  }
  
  .search-box, .category-filter select {
    max-width: 100%;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
}
