/**
 * Solutions Archive Styles
 * Minimal & Professional UI
 */

:root {
    --sol-action: #ffc31d;
    --sol-text: #111;
    --sol-subtle: #444;
    --sol-border: #e5e5e5;
    --sol-bg: #f9f9f9;
    --sol-white: #fff;
}

/* ===========================================
   Hero Section
   =========================================== */
.sol-hero {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sol-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sol-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.5) 0%, rgba(17, 17, 17, 0.75) 100%);
    z-index: 2;
}

.sol-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--sol-white);
    padding: 0 20px;
}

.sol-hero__breadcrumb {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.sol-hero__breadcrumb a {
    color: var(--sol-white);
    text-decoration: none;
    opacity: 0.9;
}

.sol-hero__breadcrumb span {
    opacity: 0.6;
}

.sol-hero__title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}

.sol-hero__subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.sol-hero__count {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
}

/* ===========================================
   Container
   =========================================== */
.sol-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================================
   Category Description
   =========================================== */
.sol-description {
    padding: 40px 0;
    border-bottom: 1px solid var(--sol-border);
}

.sol-description__content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--sol-subtle);
}

.sol-description__content p {
    margin: 0 0 16px;
}

.sol-description__content p:last-child {
    margin-bottom: 0;
}

/* ===========================================
   Grid Layout
   =========================================== */
.sol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 48px 0;
}

/* ===========================================
   Category Card
   =========================================== */
.sol-cat-card {
    background: var(--sol-white);
    border: 1px solid var(--sol-border);
    overflow: hidden;
    padding: 20px 0 0 0;
    display: block;
	transition: all 0.3s;
}

.sol-cat-card__image {
    display: block;
    width: 90px;
    height: 90px;
    margin: 0 auto;
}

.sol-cat-card__content {
    padding: 20px;
    display: grid;
    justify-content: center;
}
.sol-cat-card:hover {
    border-color: #ffc31d;
}
.sol-cat-card:hover .sol-cat-card__title {
	color: #ffc31d;
}
.sol-cat-card__title {
	transition: all 0.3s;
    font-size: 18px;
    font-weight: 600;
    color: var(--sol-text);
    margin: 0 0 8px;
	text-align: center;
}

.sol-cat-card__count {
    font-size: 14px;
    color: var(--sol-subtle);
    display: flex;
    align-items: center;
    gap: 6px;
	justify-content: center;
}

.sol-cat-card__count svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ===========================================
   Post Card
   =========================================== */
.sol-post-card {
    background: var(--sol-white);
    border: 1px solid var(--sol-border);
    overflow: hidden;
}

article.sol-post-card:hover .sol-post-card__image {
    filter: brightness(0.53);
}

.sol-post-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: all 0.3s;
}

.sol-post-card__content {
    padding: 20px;
}

.sol-post-card__title {
    font-size: 17px;
    font-weight: 600;
    color: var(--sol-text);
    margin: 0 0 16px;
    line-height: 1.5;
	min-height: 51px;
}

.sol-post-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

article.sol-post-card:hover .sol-post-card__btn {
    background: #e79510;
}
.sol-post-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--sol-action);
    color: var(--sol-white);
    transition: all 0.3s;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.sol-post-card__share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--sol-border);
    background: transparent;
    color: var(--sol-subtle);
    cursor: pointer;
}
article.sol-post-card:hover .sol-post-card__share {
    background: #b1b1b1;
    color: #ffffff;
}
.sol-post-card__share svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

/* ===========================================
   Pagination
   =========================================== */
.sol-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 60px;
}

.sol-pagination a,
.sol-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--sol-border);
    font-size: 14px;
    font-weight: 500;
    color: var(--sol-text);
    text-decoration: none;
    background: var(--sol-white);
}

.sol-pagination .current {
    background: var(--sol-action);
    color: var(--sol-white);
    border-color: var(--sol-action);
}

.sol-pagination .dots {
    border: none;
    background: transparent;
}

/* ===========================================
   Empty State
   =========================================== */
.sol-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--sol-subtle);
}

.sol-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    opacity: 0.4;
}

.sol-empty__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--sol-text);
    margin: 0 0 8px;
}

.sol-empty__text {
    font-size: 15px;
    margin: 0;
}

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 992px) {
    .sol-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .sol-hero {
        height: 280px;
    }
    
    .sol-hero__title {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .sol-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 32px 0;
    }
    
    .sol-hero {
        height: 240px;
    }
    
    .sol-hero__title {
        font-size: 24px;
    }
    
    .sol-hero__subtitle {
        font-size: 14px;
    }
    
    .sol-hero__breadcrumb {
        font-size: 13px;
    }
    
    .sol-cat-card__image,
    .sol-post-card__image {
        height: 160px;
    }
    
    .sol-description {
        padding: 32px 0;
    }
    
    .sol-pagination {
        flex-wrap: wrap;
    }
}
