/* Maidfinder articles — listing & single post */

.mf-articles-hero .mf-articles-hero__subtitle {
    display: block;
    margin-top: 12px;
    font-size: 1.05rem;
    font-weight: 400;
    opacity: 0.92;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.mf-articles-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.mf-articles-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.mf-articles-intro h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.mf-articles-intro p {
    color: #555;
    line-height: 1.65;
    margin: 0;
}

.mf-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 991px) {
    .mf-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .mf-articles-grid {
        grid-template-columns: 1fr;
    }

    .mf-articles-wrap {
        padding: 32px 16px 48px;
    }
}

.mf-article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mf-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.mf-article-card__image {
    display: block;
    position: relative;
    padding-top: 56%;
    overflow: hidden;
    background: #f0f0f0;
}

.mf-article-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mf-article-card__body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mf-article-card__meta {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.mf-article-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
}

.mf-article-card__title a {
    color: #1a1a1a;
    text-decoration: none;
}

.mf-article-card__title a:hover {
    color: #c0392b;
}

.mf-article-card__excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
}

.mf-article-card__link {
    font-weight: 600;
    font-size: 0.9rem;
    color: #c0392b;
    text-decoration: none;
}

.mf-article-card__link:hover {
    text-decoration: underline;
}

.mf-articles-pagination {
    margin-top: 48px;
    text-align: center;
}

.mf-articles-pagination .pagination {
    justify-content: center;
}

.mf-articles-count {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* Single article */
.mf-article-single-hero {
    position: relative;
    min-height: 320px;
    background: #222 center center / cover no-repeat;
    display: flex;
    align-items: flex-end;
}

.mf-article-single-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.mf-article-single-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 24px 40px;
    width: 100%;
    color: #fff;
}

.mf-article-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.mf-article-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.mf-article-breadcrumb a:hover {
    text-decoration: underline;
}

.mf-article-breadcrumb span {
    margin: 0 8px;
    opacity: 0.6;
}

.mf-article-single-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px;
    color: #fff;
}

.mf-article-single-hero__date {
    font-size: 0.9rem;
    opacity: 0.85;
}

.mf-article-single-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 32px;
}

.mf-article-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2em 0 0.75em;
    color: #1a1a1a;
}

.mf-article-content h3:first-child {
    margin-top: 0;
}

.mf-article-content p,
.mf-article-content ul {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 1.25em;
}

.mf-article-content ul {
    padding-left: 1.4em;
}

.mf-article-content li {
    margin-bottom: 0.5em;
}

.mf-article-content a {
    color: #c0392b;
    text-decoration: underline;
}

.mf-article-content em {
    color: #666;
    font-size: 0.95rem;
}

.mf-article-cta {
    max-width: 760px;
    margin: 0 auto 48px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #fdf6f5 0%, #fff 100%);
    border: 1px solid #f0d8d5;
    border-radius: 12px;
    text-align: center;
}

.mf-article-cta h3 {
    font-size: 1.25rem;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.mf-article-cta p {
    margin: 0 0 18px;
    color: #555;
}

.mf-article-cta .mf-btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: #c0392b;
    color: #fff !important;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none !important;
}

.mf-article-cta .mf-btn-primary:hover {
    background: #a93226;
}

.mf-related-articles {
    background: #f8f8f8;
    padding: 48px 24px 64px;
    border-top: 1px solid #eee;
}

.mf-related-articles__inner {
    max-width: 1120px;
    margin: 0 auto;
}

.mf-related-articles h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-align: center;
}

.mf-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .mf-related-grid {
        grid-template-columns: 1fr;
    }
}

.mf-related-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
}

.mf-related-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mf-related-card__img {
    height: 140px;
    overflow: hidden;
}

.mf-related-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mf-related-card__body {
    padding: 16px 18px 20px;
}

.mf-related-card__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    color: #1a1a1a;
}

.mf-related-card:hover .mf-related-card__title {
    color: #c0392b;
}

.mf-back-link {
    display: inline-block;
    margin-top: 32px;
    color: #c0392b;
    font-weight: 600;
    text-decoration: none;
}

.mf-back-link:hover {
    text-decoration: underline;
}
