/* Ciklid Frontpage Styles */

:root {
    --ciklid-primary: #0086BE;
}

/* Override Bootstrap Primary Colors within the plugin container */
.ciklid-frontpage-container .text-primary {
    color: var(--ciklid-primary) !important;
}

.ciklid-frontpage-container .bg-primary {
    background-color: var(--ciklid-primary) !important;
}

.ciklid-frontpage-container .btn-primary {
    background-color: var(--ciklid-primary);
    border-color: var(--ciklid-primary);
}

.ciklid-frontpage-container .btn-primary:hover {
    background-color: #006A96;
    /* Darker shade for hover */
    border-color: #006A96;
}

.ciklid-frontpage-container .btn-outline-primary {
    color: var(--ciklid-primary);
    border-color: var(--ciklid-primary);
}

.ciklid-frontpage-container .btn-outline-primary:hover {
    background-color: var(--ciklid-primary);
    border-color: var(--ciklid-primary);
    color: #fff;
}

.ciklid-frontpage-container .news-grid-item {
    transition: transform 0.2s;
    height: 100%;
}

.ciklid-frontpage-container .news-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.ciklid-frontpage-container .news-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ciklid-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.ciklid-frontpage-container .news-title {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.ciklid-frontpage-container .news-title a {
    color: inherit;
    text-decoration: none;
}

.ciklid-frontpage-container .news-title a:hover {
    text-decoration: underline;
}

.ciklid-frontpage-container .news-summary {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
}

.ciklid-frontpage-container .snabbkollen-item {
    border-left: 3px solid var(--ciklid-primary);
    padding-left: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.ciklid-frontpage-container .snabbkollen-item:last-child {
    border-bottom: none;
}

.ciklid-frontpage-container .snabbkollen-time {
    font-size: 0.75rem;
    color: #888;
    font-weight: 600;
}

.ciklid-frontpage-container .hero-overlay-gradient {
    background: linear-gradient(90deg, var(--ciklid-primary) 0%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ciklid-frontpage-container .hero-bg-image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    mix-blend-mode: normal;
}

.ciklid-frontpage-container .object-fit-cover {
    object-fit: cover;
}

.ciklid-frontpage-container .object-fit-contain {
    object-fit: contain;
}

.ciklid-frontpage-container .text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ciklid-frontpage-container .hero-card {
    background: linear-gradient(to right, rgba(0, 134, 190, 0.85), rgba(0, 134, 190, 0.85)), url('/images/Slider/bakgrund-diskus.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
}