/* 
 * Marketing Courses Mexico
 * Main Stylesheet
 * 2024
 */

/* Base & Reset */
:root {
  --primary-color: #e84c3d;
  --secondary-color: #1a4a8d;
  --tertiary-color: #f39c12;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --gray-color: #7f8c8d;
  --success-color: #2ecc71;
  --danger-color: #e74c3c;
  --warning-color: #f1c40f;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 6px;
  --container-width: 1200px;
  --header-height: 80px;
  --body-font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --heading-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600;700&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #fff;
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.2rem;
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 1.2rem;
}

li {
  margin-bottom: 0.5rem;
}

blockquote {
  padding: 1.5rem;
  margin: 2rem 0;
  background-color: #f8f9fa;
  border-left: 5px solid var(--primary-color);
  font-style: italic;
}

blockquote cite {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
}

code {
  font-family: 'Courier New', Courier, monospace;
  background-color: #f8f9fa;
  padding: 0.2rem 0.4rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
}

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

.center {
  text-align: center;
}

.lead {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-family: var(--heading-font);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn:hover {
  background-color: #d44637;
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

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

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

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

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

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

.btn-tertiary:hover {
  background-color: #f8f9fa;
  color: var(--dark-color);
}

/* Header & Navigation */
header {
  height: var(--header-height);
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.logo img {
  max-height: 50px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

nav ul li {
  margin-left: 2rem;
  margin-bottom: 0;
}

nav ul li:first-child {
  margin-left: 0;
}

nav ul li a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.5rem 0;
  color: var(--dark-color);
}

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

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

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

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--dark-color);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  background-color: var(--light-color);
  background-image: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../images/1.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

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

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.features {
  padding: 5rem 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card .icon {
  width: 60px;
  height: 60px;
  background-color: rgba(232, 76, 61, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-card .icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-color);
}

/* Quote Section */
.quote {
  padding: 4rem 0;
  background-color: var(--secondary-color);
  color: white;
}

.quote h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: white;
}

.quote blockquote {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.5rem;
  border-left: none;
  background-color: transparent;
  text-align: center;
  position: relative;
  padding: 0 3rem;
}

.quote blockquote::before,
.quote blockquote::after {
  content: '"';
  font-size: 4rem;
  position: absolute;
  color: rgba(255, 255, 255, 0.2);
  font-family: Georgia, serif;
}

.quote blockquote::before {
  top: -2rem;
  left: 0;
}

.quote blockquote::after {
  bottom: -4rem;
  right: 0;
}

.quote cite {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Editor Note */
.editor-note {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.editor-note h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.editor-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.editor-content img {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin: 0 auto;
  border: 5px solid white;
  box-shadow: var(--box-shadow);
}

.editor-text p:last-child {
  font-weight: 700;
  margin-top: 1.5rem;
}

/* Recent Posts Section */
.recent-posts {
  padding: 5rem 0;
}

.recent-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.post-card:hover {
  transform: translateY(-10px);
}

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.post-content p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

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

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

.footer-about .footer-logo {
  width: 150px;
  margin-bottom: 1.5rem;
}

.footer-links h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul {
  list-style: none;
}

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

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

.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

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

.footer-contact p svg {
  margin-right: 0.8rem;
  min-width: 16px;
}

.footer-social {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 0 0.5rem;
  transition: var(--transition);
}

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

.footer-social svg {
  width: 20px;
  height: 20px;
  color: white;
}

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

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

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Page Header */
.page-header {
  padding: 5rem 0;
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
}

.page-header h1 {
  color: white;
  margin-bottom: 1rem;
}

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

/* About Page Styles */
.about-us {
  padding: 5rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

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

.our-values {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.our-values h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.value-card .icon {
  width: 60px;
  height: 60px;
  background-color: rgba(26, 74, 141, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-card .icon svg {
  width: 30px;
  height: 30px;
  color: var(--secondary-color);
}

.team {
  padding: 5rem 0;
}

.team h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

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

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

.team-member p {
  color: var(--gray-color);
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f8f9fa;
  margin: 0 0.5rem;
  transition: var(--transition);
}

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

.social-links a:hover svg {
  color: white;
}

.social-links svg {
  width: 18px;
  height: 18px;
  color: var(--dark-color);
  transition: var(--transition);
}

.testimonials {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-slider {
  max-width: 900px;
  margin: 0 auto;
}

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

.testimonial:last-child {
  margin-bottom: 0;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-author h4 {
  margin-bottom: 0.3rem;
}

.testimonial-author p {
  margin-bottom: 0;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.cta {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.cta p {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

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

.cta .btn:hover {
  background-color: var(--dark-color);
  color: white;
}

/* Blog Page Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

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

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.blog-meta .date {
  color: var(--gray-color);
  margin-right: 1rem;
}

.blog-meta .category {
  color: var(--primary-color);
  font-weight: 600;
}

.blog-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-content p {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

.categories {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.categories h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

.category-card:hover {
  transform: translateY(-10px);
  background-color: var(--primary-color);
  color: white;
}

.category-card:hover h3,
.category-card:hover p,
.category-card:hover .icon svg {
  color: white;
}

.category-card .icon {
  width: 60px;
  height: 60px;
  background-color: rgba(26, 74, 141, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.category-card:hover .icon {
  background-color: rgba(255, 255, 255, 0.2);
}

.category-card .icon svg {
  width: 30px;
  height: 30px;
  color: var(--secondary-color);
  transition: var(--transition);
}

.category-card h3 {
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.category-card p {
  color: var(--gray-color);
  transition: var(--transition);
}

.newsletter {
  padding: 5rem 0;
}

.newsletter-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

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

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

.newsletter-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.5rem;
  border: 1px solid #ddd;
  border-top-left-radius: var(--border-radius);
  border-bottom-left-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--body-font);
}

.newsletter-form button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Contact Page Styles */
.contact {
  padding: 5rem 0;
}

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

.contact-info h2 {
  margin-bottom: 2rem;
}

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

.info-item .icon {
  width: 50px;
  height: 50px;
  background-color: rgba(232, 76, 61, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
}

.info-item .icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

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

.info-item p {
  color: var(--gray-color);
}

.contact-form-container h2 {
  margin-bottom: 2rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--body-font);
}

.form-group textarea {
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: center;
}

.form-check input {
  width: auto;
  margin-right: 0.8rem;
}

.form-check label {
  margin-bottom: 0;
  font-weight: 400;
}

.map {
  padding: 0 0 5rem;
}

.map h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.faq {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.accordion {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background-color: white;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background-color: white;
  border: none;
  text-align: left;
  font-weight: 600;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  cursor: pointer;
}

.accordion-header svg {
  transition: var(--transition);
}

.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active .accordion-body {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 90%;
  padding: 3rem;
  position: relative;
  box-shadow: var(--box-shadow);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.thank-you-message {
  text-align: center;
}

.thank-you-message svg {
  margin: 0 auto 2rem;
}

.thank-you-message h2 {
  margin-bottom: 1.5rem;
}

.thank-you-message p {
  margin-bottom: 2rem;
}

/* Blog Post Styles */
.blog-post {
  padding: 5rem 0;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.post-header .post-meta {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.post-header .post-meta span {
  margin: 0 1rem;
}

.post-header .post-meta .author {
  font-weight: 600;
}

.post-header h1 {
  max-width: 900px;
  margin: 0 auto;
}

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

.post-content {
  max-width: 900px;
  margin: 0 auto;
}

.post-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

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

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

.image-container {
  margin: 2rem 0;
}

.image-container img {
  width: 100%;
  border-radius: var(--border-radius);
}

.caption {
  text-align: center;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--gray-color);
  font-style: italic;
}

.author-bio {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 3rem 0;
}

.author-bio img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-right: 1.5rem;
}

.author-bio h3 {
  margin-bottom: 0.5rem;
}

.author-bio p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 2rem;
}

.post-tags span {
  font-weight: 600;
  margin-right: 1rem;
}

.post-tags a {
  background-color: #f8f9fa;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-right: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--gray-color);
}

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

.post-share {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

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

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

.post-share a:hover {
  background-color: var(--primary-color);
}

.post-share a:hover svg {
  color: white;
}

.post-share svg {
  width: 20px;
  height: 20px;
  color: var(--dark-color);
  transition: var(--transition);
}

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

.related-posts h3 {
  margin-bottom: 2rem;
}

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

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

.related-post:hover {
  transform: translateY(-5px);
}

.related-post img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-post h4 {
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

.comments {
  margin-bottom: 3rem;
}

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

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

.comment-avatar {
  margin-right: 1.5rem;
}

.comment-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.comment-content {
  flex: 1;
}

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

.comment-meta h4 {
  margin-bottom: 0;
}

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

.reply-btn {
  background-color: transparent;
  border: none;
  color: var(--secondary-color);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

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

.comment-form {
  background-color: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-top: 3rem;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .editor-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .editor-content img {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--header-height));
    background-color: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
  }
  
  nav.show {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 2rem;
  }
  
  nav ul li {
    margin: 0 0 1.5rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .quote blockquote {
    font-size: 1.2rem;
    padding: 0 1.5rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-buttons button {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .features-grid,
  .values-grid,
  .team-grid,
  .categories-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post-header .post-meta {
    flex-direction: column;
  }
  
  .post-header .post-meta span {
    margin: 0.3rem 0;
  }
  
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-bio img {
    margin: 0 auto 1.5rem;
  }
  
  .comment {
    flex-direction: column;
  }
  
  .comment-avatar {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .comment-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comment-meta span {
    margin-top: 0.5rem;
  }
  
  .modal-content {
    padding: 2rem 1.5rem;
  }
}
