/*
Theme Name: Kalbela Clone
Theme URI: https://example.com/kalbela
Author: Your Name
Author URI: https://example.com/
Description: A full WordPress theme based on the Kalbela HTML template. It features rich customization options through the WordPress Customizer, without the need for additional plugins.
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: kalbela
License: GPLv2 or later
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, newspaper, news, magazine
*/

/* Custom styles for specific news site UI elements */
body {
    background-color: #f8f9fa;
}
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.section-title {
    position: relative;
    padding-bottom: 5px;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-title h2 {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title h2::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #e3302b;
}
.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background-color: #e3302b;
}

/* Video overlay play button */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
}
.group:hover .play-overlay {
    background: #e3302b;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Hover image scale */
.img-zoom-container {
    overflow: hidden;
}
.img-zoom-container img {
    transition: transform 0.3s ease;
}
.group:hover .img-zoom-container img {
    transform: scale(1.05);
}
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
