/* Mobile (default) */
.maxwell-post-content h2 {
  font-size: 24px;
  line-height: 28px;
}

.maxwell-post-content h3 {
  font-size: 20px;
  line-height: 24px;
}

.maxwell-post-content h4 {
  font-size: 18px;
  line-height: 22px;
}

.maxwell-post-content h5 {
  font-size: 18px;
  line-height: 20px;
}

.maxwell-post-content h6 {
  font-size: 14px;
  line-height: 18px;
}

/* Tablet (min-width: 768px) */
@media (min-width: 768px) {
  .maxwell-post-content h2 {
    font-size: 28px;
    line-height: 32px;
  }
  
  .maxwell-post-content h3 {
    font-size: 22px;
    line-height: 26px;
  }
  
  .maxwell-post-content h4 {
    font-size: 20px;
    line-height: 24px;
  }
  
  .maxwell-post-content h5 {
    font-size: 18px;
    line-height: 24px;
  }
  
  .maxwell-post-content h6 {
    font-size: 15px;
    line-height: 19px;
  }
}

/* Desktop (min-width: 1024px) */
@media (min-width: 1024px) {
  .maxwell-post-content h2 {
    font-size: 32px;
    line-height: 44px;
  }
  
  .maxwell-post-content h3 {
    font-size: 26px;
    line-height: 30px;
  }
  
  .maxwell-post-content h4 {
    font-size: 22px;
    line-height: 26px;
  }
  
  .maxwell-post-content h5 {
    font-size: 18px;
    line-height: 22px;
  }
  
  .maxwell-post-content h6 {
    font-size: 16px;
    line-height: 20px;
  }
}
/* Modern table styling for Gutenberg block */
.wp-block-table {
    overflow-x: auto;
    margin: 1.5em 0;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    line-height: 1.5;
    border-radius: 12px;
    overflow: hidden;
}

/* Zamenjuje # sa ikonicom 🔗 */
.wp-block-heading a[href*="#"] {
    font-size: 0;
    display: inline-block;
    width: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wp-block-heading a[href*="#"]:before {
    content: "🔗";
    font-size: 18px;
    display: inline-block;
    color: hsl(var(--accent));
    transition: all 0.3s ease;
}

/* Hover efekat */
.wp-block-heading a[href*="#"]:hover:before {
    color: hsl(var(--accent));
    transform: scale(1.1); /* Opciono: lagano uvećanje */
}

/* Header styling */
.wp-block-table th {
    color: hsl(var(--muted-foreground)) !important;
    font-weight: 600 !important;
}

/* Cell styling */
.wp-block-table td {
    padding: 12px;
    border: 1px solid #f5f5f7 !important;
}

/* Row hover effect */
.wp-block-table tbody tr:hover {
    background-color: #f8fafc;
    transition: background-color 0.2s ease;
}

/* First column styling (agency names) */
.wp-block-table td:first-child {
    font-weight: 600;
}

/* Alternating row colors for better readability */
.wp-block-table tbody tr:nth-child(even) {
    background-color: #f9fafb;
}

/* Responsive design */
@media (max-width: 768px) {
    .wp-block-table table {
        font-size: 0.8rem;
    }

    .wp-block-table th,
    .wp-block-table td {
        padding: 10px 8px;
        min-width: 120px;
    }

    /* Make table horizontally scrollable on mobile */
    .wp-block-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Optional: Add subtle border radius to first and last cells */
.wp-block-table tr:first-child th:first-child {
    border-top-left-radius: 12px;
}

.wp-block-table tr:first-child th:last-child {
    border-top-right-radius: 12px;
}

/** blog post style */
.wp-block-image {
  margin-bottom: 0.5rem !important;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--accent) / 0.05);
}

.wp-block-image img {
  border-radius: 0.5rem;
}

.wp-block-list {
  padding-left: 15px;
  list-style-type: disc;
  list-style-position: outside;
}

.wp-block-list li::marker {
  color: hsl(var(--accent));
  padding-left: 0.125rem;
}

.wp-block-list li {
  margin-bottom: 0.5rem;
}