/* ═══════════════════════════════════════════════════════
   BLOG, CONTACT & CONTENT STYLES — MarktAnt
   Pastel Techno theme
   ═══════════════════════════════════════════════════════ */

/* Hero Small */
.m-hero--small {
    padding: var(--space-2xl) 0 var(--space-xl);
}

.m-hero--404 {
    padding: var(--space-3xl) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.m-hero__title--huge {
    font-size: clamp(5rem, 15vw, 12rem);
    background: linear-gradient(135deg, var(--neon-indigo), var(--soft-plum));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-md);
}

/* ═══════════════════════════════════════════════════════
   FILTERS
   ═══════════════════════════════════════════════════════ */
.m-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.m-filter-btn {
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid rgba(129, 140, 248, 0.15);
    border-radius: 50px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
}

.m-filter-btn:hover,
.m-filter-btn.is-active {
    background: linear-gradient(135deg, var(--neon-indigo), var(--electric-grape));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

@media (max-width: 576px) {
    .m-filters {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .m-filter-btn {
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════
   SEARCH
   ═══════════════════════════════════════════════════════ */
.m-search-box {
    max-width: 420px;
    margin: 0 auto var(--space-xl);
}

.m-search-input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid rgba(129, 140, 248, 0.15);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.m-search-input:focus {
    outline: none;
    border-color: var(--neon-indigo);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
}

.m-search-input::placeholder {
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   ARTICLES GRID
   ═══════════════════════════════════════════════════════ */
.m-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 992px) {
    .m-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .m-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Article Card Meta */
.article-card__meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

/* ═══════════════════════════════════════════════════════
   CONTACT GRID
   ═══════════════════════════════════════════════════════ */
.m-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
}

@media (max-width: 768px) {
    .m-contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Info */
.m-contact-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(129, 140, 248, 0.1);
}

.m-contact-item:last-child {
    border-bottom: none;
}

.m-contact-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.m-contact-item h4 {
    margin-bottom: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.m-contact-item a {
    color: var(--neon-indigo);
}

.m-contact-item a:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════ */
.m-form-group {
    margin-bottom: var(--space-lg);
}

.m-form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.m-form-input {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-body);
    border: 1px solid rgba(129, 140, 248, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.m-form-input:focus {
    outline: none;
    border-color: var(--neon-indigo);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.12);
}

textarea.m-form-input {
    resize: vertical;
    min-height: 120px;
}

select.m-form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.btn--full {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════
   CONTENT CARD
   ═══════════════════════════════════════════════════════ */
.m-content-card {
    background: var(--bg-card);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(129, 140, 248, 0.08);
}

.m-content-card h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.m-content-card h2:first-child {
    margin-top: 0;
}

.m-content-card h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.m-content-card p {
    margin-bottom: var(--space-md);
    color: var(--text-muted);
    line-height: 1.7;
}

.m-content-card a {
    color: var(--neon-indigo);
}

.m-content-card a:hover {
    text-decoration: underline;
}

.l-container--narrow {
    max-width: 800px;
}

/* ═══════════════════════════════════════════════════════
   CONTENT LISTS
   ═══════════════════════════════════════════════════════ */
.m-content-list,
.m-warning-list,
.m-tips-list {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.m-content-list li,
.m-warning-list li,
.m-tips-list li {
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

.m-content-list li {
    list-style: disc;
}

.m-content-list li::marker {
    color: var(--neon-indigo);
}

.m-warning-list li {
    list-style: none;
    position: relative;
    padding-left: var(--space-lg);
}

.m-warning-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
}

.m-tips-list li {
    list-style: none;
    position: relative;
    padding-left: var(--space-lg);
}

.m-tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--neon-indigo);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   VALUES GRID
   ═══════════════════════════════════════════════════════ */
.m-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

@media (max-width: 768px) {
    .m-values-grid {
        grid-template-columns: 1fr;
    }
}

.m-value-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-body);
    border-radius: var(--radius-md);
    border: 1px solid rgba(129, 140, 248, 0.08);
    transition: var(--transition-normal);
}

.m-value-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.m-value-card h3 {
    margin-bottom: var(--space-sm);
    margin-top: 0;
    font-size: 1.1rem;
}

.m-value-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════
   HELP RESOURCES
   ═══════════════════════════════════════════════════════ */
.m-help-resources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

@media (max-width: 768px) {
    .m-help-resources {
        grid-template-columns: 1fr;
    }
}

.m-help-resource {
    display: block;
    padding: var(--space-lg);
    background: var(--bg-body);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-normal);
    text-decoration: none;
    border: 1px solid rgba(129, 140, 248, 0.08);
}

.m-help-resource:hover {
    background: linear-gradient(135deg, var(--neon-indigo), var(--electric-grape));
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.m-help-resource:hover span {
    color: rgba(255, 255, 255, 0.85);
}

.m-help-resource strong {
    display: block;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.m-help-resource:hover strong {
    color: #fff;
}

.m-help-resource span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   AGE RESTRICTION
   ═══════════════════════════════════════════════════════ */
.m-age-restriction {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: rgba(239, 68, 68, 0.06);
    border-left: 4px solid #ef4444;
    border-radius: var(--radius-sm);
}

.m-age-restriction h2 {
    margin-top: 0;
    color: #ef4444;
}

.m-age-restriction p {
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════
   LEGAL CONTENT
   ═══════════════════════════════════════════════════════ */
.m-legal-content h2 {
    font-size: 1.25rem;
}

.m-legal-content h3 {
    font-size: 1rem;
    margin-top: var(--space-lg);
}

.m-legal-content ul {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.m-legal-content ul li {
    list-style: disc;
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

.m-legal-content ul li::marker {
    color: var(--neon-indigo);
}

.m-legal-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

/* ═══════════════════════════════════════════════════════
   OFFER CARD RANK BADGE
   ═══════════════════════════════════════════════════════ */
.offer-card__rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--neon-indigo), var(--electric-grape));
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 50%;
    font-family: var(--font-heading);
}

/* ═══════════════════════════════════════════════════════
   ANIMATION
   ═══════════════════════════════════════════════════════ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}