/* 
* CS Gaming Hub Styles
* A modern, responsive design for CS2 gaming blog
*/

/* Base Styles & Variables */
:root {
  --primary-color: #ff5e00;
  --primary-dark: #e54700;
  --secondary-color: #0090ff;
  --text-color: #333;
  --text-light: #666;
  --light-bg: #f4f6f8;
  --dark-bg: #182130;
  --darker-bg: #101622;
  --border-color: #e1e4e8;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --heading-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

body.font-decreased {
  font-size: 0.9em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.75em;
  color: var(--dark-bg);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1.5rem;
}

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

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

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

ul, ol {
  margin: 0 0 1.5rem 1rem;
  padding-left: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

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

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

.btn:hover {
  background-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.center {
  text-align: center;
}

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

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

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

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

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem;
  position: relative;
}

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

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

nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.font-size-control {
  display: flex;
  align-items: center;
}

.font-size-control button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
}

.font-size-control button:hover {
  background-color: var(--light-bg);
}

.font-size-control button svg {
  width: 16px;
  height: 16px;
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.hero h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Featured Posts Section */
.featured-posts {
  padding: 5rem 0;
}

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

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

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

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

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.post-content {
  padding: 1.5rem;
}

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

.post-content p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.read-more {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

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

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

/* This Day in History Section */
.this-day-history {
  background-color: var(--light-bg);
  padding: 4rem 0;
}

.this-day-history h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.history-content {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.history-date {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-width: 150px;
}

.history-date .day {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.history-date .month {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.history-info {
  padding: 2rem;
  flex: 1;
}

.history-info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.history-info p {
  margin-bottom: 0.75rem;
}

.history-info p:last-child {
  margin-bottom: 0;
}

/* Newsletter Section */
.newsletter {
  padding: 5rem 0;
  text-align: center;
}

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

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--text-light);
}

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

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0 1.5rem;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  color: #fff;
  padding: 5rem 0 2rem;
}

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

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

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

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

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

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

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

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

.footer-links ul li,
.footer-legal ul li {
  margin-bottom: 0.75rem;
}

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

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-bg);
  color: #fff;
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.btn-accept {
  background-color: var(--success-color);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-customize {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-reject {
  background-color: transparent;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: underline;
}

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

.btn-customize:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-more-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.cookie-more-info a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

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

.page-header h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
}

/* Blog Posts Page */
.blog-posts {
  padding: 4rem 0;
}

.search-filter {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.search {
  display: flex;
  max-width: 400px;
  flex: 1;
}

.search input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.search button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0 1rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
}

.category-filter select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  width: 200px;
}

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

.posts-grid .post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.posts-grid .post-image {
  position: relative;
}

.posts-grid .post-image img {
  height: 220px;
}

.posts-grid .category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
}

.posts-grid .post-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.pagination a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

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

.pagination a.next {
  width: auto;
  padding: 0 1rem;
}

/* Single Blog Post */
.blog-post {
  padding: 4rem 0;
}

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

.post-header h1 {
  margin-bottom: 1rem;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--light-bg);
  color: var(--text-color);
  border-radius: 50%;
  transition: var(--transition);
}

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

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

.post-featured-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

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

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

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

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

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

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

.post-content img {
  margin: 2rem 0;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--text-light);
  margin: 2rem 0;
}

.post-content code {
  font-family: monospace;
  background-color: var(--light-bg);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.tags span {
  font-weight: 600;
}

.tags a {
  background-color: var(--light-bg);
  color: var(--text-color);
  padding: 0.4rem 0.8rem;
  border-radius: 30px;
  font-size: 0.85rem;
  transition: var(--transition);
}

.tags a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.post-author {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  padding: 2rem;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
}

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

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

.author-info p {
  margin: 0;
  color: var(--text-light);
}

.related-posts {
  margin-top: 4rem;
}

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

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

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

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.related-post h4 {
  padding: 1rem;
  margin: 0;
  font-size: 1.1rem;
}

/* About Page */
.about-story {
  padding: 4rem 0;
}

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

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

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

.team {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.team h2,
.values h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--text-light);
}

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

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

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

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

.team-member p {
  margin: 0 1.5rem 1.5rem;
  color: var(--text-light);
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--light-bg);
  color: var(--text-color);
  border-radius: 50%;
  transition: var(--transition);
}

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

.values {
  padding: 4rem 0;
}

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

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

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

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

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

.value-card p {
  color: var(--text-light);
  margin: 0;
}

.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

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

.cta .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.cta .btn-outline {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.cta .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Contact Page */
.contact-section {
  padding: 4rem 0;
}

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

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

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

.info-item .icon {
  width: 50px;
  height: 50px;
  background-color: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

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

.info-item .text p {
  color: var(--text-light);
  margin: 0;
}

.social-contact {
  margin-top: 3rem;
}

.social-contact h3 {
  margin-bottom: 1rem;
}

.contact-form form {
  background-color: #fff;
  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: 500;
}

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

.form-group textarea {
  resize: vertical;
}

.form-group.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-group.checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.form-group.checkbox label {
  margin: 0;
  font-weight: 400;
}

.contact-form button {
  width: 100%;
}

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

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

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

/* 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: 1100;
  justify-content: center;
  align-items: center;
}

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

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

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

.thank-you-message svg {
  color: var(--success-color);
  margin: 0 auto 1.5rem;
}

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

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

.close-modal {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  background-color: var(--primary-dark);
}

/* Custom Boxes for Blog Posts */
.pro-tip,
.strategy-box,
.warning-box {
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

.pro-tip {
  background-color: rgba(0, 144, 255, 0.1);
  border-left: 4px solid var(--secondary-color);
}

.strategy-box {
  background-color: rgba(255, 94, 0, 0.1);
  border-left: 4px solid var(--primary-color);
}

.warning-box {
  background-color: rgba(220, 53, 69, 0.1);
  border-left: 4px solid var(--danger-color);
}

.pro-tip h4,
.strategy-box h4,
.warning-box h4 {
  margin-bottom: 0.75rem;
}

.pro-tip p,
.strategy-box p,
.warning-box p {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .history-content {
    flex-direction: column;
  }
  
  .history-date {
    width: 100%;
    padding: 1.5rem;
  }
}

@media (max-width: 767px) {
  header .container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0.5rem;
  }
  
  .font-size-control {
    margin-top: 1rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .featured-posts,
  .blog-posts,
  .this-day-history,
  .newsletter,
  .about-story,
  .team,
  .values,
  .contact-section,
  .map-section {
    padding: 3rem 0;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }
  
  .search-filter {
    flex-direction: column;
    gap: 1rem;
  }
  
  .category-filter select {
    width: 100%;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero h2 {
    font-size: 1.25rem;
  }
  
  .post-author {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .post-author img {
    margin: 0 auto;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}
