
/* Global website styles */

:root {
    --primary: #441460;
    --accent: #D8012A;
    --white: #FFFFFF;
    --body-bg: #FFFFFF;
    --text: #333333;
}

body {
    background: var(--body-bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

a {
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input {
    font-family: inherit;
}

.section-title {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background: var(--accent);
    margin-top: 9px;
}


/* Homepage blog heading */

.blog-heading {
    margin: 20px 0 35px;
}

.blog-heading h1 {
    color: #441460;
    font-size: 32px;
    font-weight: 800;
}

.blog-heading p {
    color: #777;
    font-size: 15px;
}

/* Fashion blog cards */

.fashion-post-card {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Featured image */

.post-image {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.fashion-post-card:hover .post-image {
    transform: scale(1.04);
}

.post-card-content {
    padding: 20px;
}

.post-categories {
    margin-bottom: 12px;
}

.post-category {
    display: inline-block;
    color: #D8012A;
    background: #fff0f3;
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 11px;
    margin: 0 4px 5px 0;
    text-decoration: none;
}

.post-category:hover {
    background: #D8012A;
    color: #fff;
    text-decoration: none;
}

.post-card-content h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 12px 0;
}

.post-card-content h3 a {
    color: #441460;
    text-decoration: none;
}

.post-card-content h3 a:hover {
    color: #D8012A;
}

.post-date {
    color: #999;
    font-size: 12px;
}

.post-card-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-top: 12px;
}

.read-more {
    display: inline-block;
    color: #D8012A;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    margin-top: 5px;
}

.read-more:hover {
    color: #441460;
    text-decoration: none;
}

/* Mobile image sizing */

@media (max-width: 575px) {
    .blog-heading h1 {
        font-size: 26px;
    }

    .post-image {
        height: 210px;
    }
}
