/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - HSL values for Baltic theme */
    --background: #f8fafb;
    --foreground: #1a2332;
    --primary: hsl(205, 85%, 45%);
    --primary-hover: hsl(205, 85%, 35%);
    --secondary: hsl(145, 60%, 45%);
    --secondary-hover: hsl(145, 60%, 35%);
    --accent: hsl(45, 90%, 55%);
    --border: #e0e7ee;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --card-bg: #ffffff;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(59, 130, 246, 0.1);
    --shadow-lg: 0 8px 30px rgba(59, 130, 246, 0.15);
}

body {
    font-family: 'Tahoma', 'Arial', sans-serif;
    direction: rtl;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.ltr{
    direction: ltr;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 250, 251, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text h1 {
    font-size: 1.25rem;
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: 0;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

.btn-hero {
    background: linear-gradient(to left, var(--primary), var(--secondary));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-hero:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-hover);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background: var(--muted);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(248, 250, 251, 0.9), 
        rgba(248, 250, 251, 0.8), 
        rgba(248, 250, 251, 0.95));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-highlight {
    background: linear-gradient(to left, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 700px;
    margin: 0 auto;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-accent {
    color: var(--accent);
}

/* Services Section */
.services-section {
    background: linear-gradient(to bottom, var(--background), var(--muted));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--foreground);
}

.service-card > p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: right;
    margin-bottom: 1.5rem;
}

.service-features li {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Advantages Section */
.advantages-section {
    background: linear-gradient(to bottom, var(--muted), var(--background));
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.advantage-card {
    display: flex;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.advantage-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.advantage-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.advantage-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.advantage-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.cta-box {
    background: linear-gradient(to left, 
        rgba(59, 130, 246, 0.1), 
        rgba(16, 185, 129, 0.1), 
        rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Process Section */
.process-section {
    background: linear-gradient(to bottom, var(--background), var(--muted));
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}

.process-step {
    position: relative;
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.process-step:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -20px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.process-cta {
    text-align: center;
}

.process-cta p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to bottom, var(--muted), var(--background));
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.form-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: box-shadow 0.3s;
}

.contact-info-card:hover {
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-info-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-info-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.contact-info-card a {
    display: block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

.address {
    font-size: 0.75rem;
    line-height: 1.6;
}

.social-proof {
    background: linear-gradient(to bottom right, 
        rgba(59, 130, 246, 0.05), 
        rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.proof-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-size: 1.125rem;
    margin: 0;
}

.footer-column p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(59, 130, 246, 0.2);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-column ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    gap: 1rem;
}

.footer-bottom p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive Design */
/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .advantages-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

.btn-hero, .header-content .nav{
display: none !important;
}
    .nav {
        display: none;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .services-grid,
    .advantages-grid,
    .process-steps,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .advantage-card,
    .process-step {
        padding: 1.5rem;
    }
    
    .contact-grid {
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .cta-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .cta-box {
        padding: 1.5rem 1rem;
    }
    
    .cta-box h3 {
        font-size: 1.25rem;
    }
    
    .contact-form,
    .contact-info-card {
        padding: 1.25rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}


.post-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-color-light);
}

.post-meta i {
  margin-right: 5px;
}

.post-title {
  margin: 0 0 5px;
  font-size: 1.5rem;
  line-height: 1.4;
}

.post-title a {
  color: var(--text-color-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: var(--text-color);
}

.post-excerpt {
  line-height: 1.4;
  margin-bottom: 20px;
  font-size: 14px;
  flex-grow: 1;
}

.post-excerpt a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* .post-excerpt a:hover {
    color: #34495e;
} */

.post-footer {
  display: flex;
  margin-top: auto;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--link-color);
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  gap: 12px;
  /* color: #34495e; */
}

.posts-grid-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem !important
}

.lh-30 {
  line-height: 30px;
}

.post-container {
  /* background-color: var(--body); */
}

.hero-section {
  /* height: 70vh; */
  /* min-height: 500px; */
  height: 90vh;
  overflow: hidden;
 
}


@media (max-width: 768px) {
  .post-header-info {
    font-size: 12px;
  }

  .hero-section {
    height: auto;
    max-height: 90vh;
    min-height: 300px;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    position: relative !important;
    background-color: var(--body);
    color: var(--text-color) !important;
  }

  .two-columns-grid {
    display: grid;
    grid-auto-flow: column;
    overflow-x: scroll;
    gap: 20px;
  }

  .hero-content h1 {
    font-size: 1.3rem !important;
  }

  .sm-fs-7 {
    font-size: 0.75rem !important;
  }

  .post-item-related .post-title {
    font-size: 1.2rem !important;
  }

  .post-item-related .post-excerpt {
    display: none;
  }
}

.color-grey {
  color: var(--bs-light-text-emphasis);
}

.slide-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.two-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.two-columns-grid>article:nth-child(3) {
  /* grid-column: 1 / -1; */
}

.hero-image {
  position: relative;
  height: 100%;
}

.hero-image img {
  object-fit: cover;
  height: 100%;
}



.article-popup-image {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #000000a9;
  z-index: 10000;
  align-items: center;
  text-align: center;
  justify-content: center;
  display: none;
}

.article-popup-image-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 5px;
}

.article-popup-image-close {
  position: absolute;
  top: 0px;
  right: 10px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.hero-content {
  bottom: 0;
  left: 0;
  right: 0;

}

.travel-meta {
  font-size: 1.1rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.tip-item {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.tip-item:hover {
  transform: translateY(-5px);
}

.tip-item i {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 1rem;
}

.tip-item h6 {
  margin-bottom: 0.5rem;
  color: #333;
}

.tip-item p {
  color: #666;
  margin-bottom: 0;
}

.latest-posts .post-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

/* .latest-posts .post-item:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
} */

.newsletter-form .form-control {
  border-radius: 20px 0 0 20px;
}

.newsletter-form .btn {
  border-radius: 0 20px 20px 0;
}

.article-text img {
  cursor: pointer;
}

.article-text img {
  max-width: 100%;
  height: auto !important;
  display: block;
  border-radius: 15px;
}

.article-content .content-wrapper {
  /* background-color: var(--bg); */
}

.posts-grid-row>article:nth-child(1) .post-wrapper-row,
.posts-grid-row>article:nth-child(4) .post-wrapper-row,
.posts-grid-row>article:nth-child(7) .post-wrapper-row {
  /* display: block; */
}


.related-post {
  padding: 30px 20px;
  color: #0f5132 !important;
  background-color: #d1e7dd;
  border: 1px solid #badbcc;
  border-radius: 10px;
  margin: 1em 0;
  /* font-style: italic; */
}

.related-post a {
  color: #0f5132 !important;
}

.section-title {
  /* padding: 2px 7px; */
  margin-bottom: 15px;
  margin-top: 15px;
}

/* html[dir="rtl"] .section-title {
    border-right: 5px solid #ff4d4d;
}

html[dir="ltr"] .section-title {
    border-left: 5px solid #ff4d4d;
} */


.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}


.popup-post {
  position: fixed;
  left: 20%;
  right: 20%;
  bottom: 0;
  padding: 10px;
  z-index: 10000;
}
.post-item{
text-align:start;
}
.post-item-related.popup {
  position: fixed;
  max-width: 600px;
  display: none;
  opacity: 0;
  animation: popupFadeIn 0.3s ease-out;
}

.post-item-related.popup.show {
  display: block;
  opacity: 1;
}

.post-item-related.popup.left-top {
  left: 10px;
  top: 10px;
}

.post-item-related.popup.left-middle {
  left: 10px;
  top: 50%;
  transform: translate(0, -50%);
}

.post-item-related.popup.left-bottom {
  left: 10px;
  bottom: 10px;
}

.post-item-related.popup.right-top {
  right: 10px;
  top: 10px;
}

.post-item-related.popup.right-middle {
  right: 10px;
  top: 50%;
  transform: translate(0, -50%);
}

.post-item-related.popup.right-bottom {
  right: 10px;
  bottom: 10px;
}

.post-item-related.popup.center-middle {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.post-item-related.popup.center-top {
  left: 50%;
  top: 10px;
  transform: translate(-50%);
}

.post-item-related.popup.center-bottom {
  left: 50%;
  bottom: 10px;
  transform: translate(-50%);
}

.post-item-related.popup.show {
  display: block;
  opacity: 1;
}

.post-item-related.popup {
  z-index: 10000;
}

@media (max-width: 768px) {
  .post-item-related.popup {
    max-width: 95%;
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
  }

  .post-header-info,
  .post-header-info a {
    color: var(--text-color-light) !important;
  }
}

.user-comment-avatar {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bs-dark-bg-subtle);
  color: var(--bs-light-text-emphasis);
}

.post-header-info,
.post-header-info a {
  /* color: var(--bs-gray-300) ; */
}

.d-grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.d-grid-cols-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}


.post-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 6px;
}

.post-image-wrapper-row {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-basis: 35%;
  flex-grow: 0;
  flex-shrink: 0;
  border-radius: 6px;
}

.post-image-wrapper-related {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-basis: 30%;
  flex-grow: 0;
  flex-shrink: 0;
  border-radius: 10px;
}

.post-image-wrapper-related .post-image,
.post-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out, transform 0.4s ease-in-out;
  opacity: 0;
  /* border-radius: 0 !important; */
}

.post-item-related-title {
  margin-bottom: 5px;
  font-style: italic;
  padding-left: 5px;
  color: var(--text-color-light);
  font-weight: 300;
}

.post-image.loaded {
  opacity: 1;
}

.post-image-link:hover .post-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;

  /* transition: transform 0.3s ease; */

}

.post-image-link:hover .image-overlay {
  opacity: 1;
  /* transition: transform 0.3s ease; */
}

.read-more {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.category-tags {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-tag {
  background: rgba(255, 255, 255, 0.8);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease;
}

.category-tag:hover {
  background: #fff;
  color: #2c3e50;
}

.post-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-color-light);
}

.post-meta i {
  margin-right: 5px;
}

.post-title {
  margin: 0 0 5px;
  font-size: 1.5rem;
  line-height: 1.4;
}

.post-title a {
  color: var(--text-color-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: var(--text-color);
}

.post-excerpt {
  line-height: 1.4;
  margin-bottom: 20px;
  font-size: 14px;
  flex-grow: 1;
}

.post-excerpt a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}