/* Custom styles for UchetPlus theme */

/* Page template styles */
.section--u-ipage-content {
    padding: 60px 0;
}

.container--u-ipage-container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.entry-header {
    margin-bottom: 10px;
}

.entry-title {
    font-size: 36px;
    color: #333;
}

.post-thumbnail {
    margin-bottom: 30px;
}

.entry-content {
    line-height: 1.8;
    color: #666;
}

/* Header phone number bold styles */
.phone-bold {
    font-weight: bolder;
}

/* Footer form link styles */
.mosaic-form__value a {
    color: rgb(74, 144, 226);
    text-decoration: underline;
}

.text--u-i5abzak24 a {
    color: rgb(255, 255, 255);
}

/* Breadcrumbs styles */
.breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #4CAF50;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Page content section spacing - adaptive for different devices */
/* Desktop version */
@media (min-width: 992px) {
    .section--u-ipage-content {
        padding-top: 265px !important;
        padding-bottom: 60px !important;
    }
}

/* Tablet landscape */
@media (min-width: 768px) and (max-width: 991px) {
    .section--u-ipage-content {
        padding-top: 165px !important;
        padding-bottom: 50px !important;
    }
}

/* Mobile and tablet portrait */
@media (max-width: 767px) {
    .section--u-ipage-content {
        padding-top: 145px !important;
        padding-bottom: 40px !important;
    }
}

/* Fix header background color - ONLY for pages with WordPress body classes (NOT homepage) */
body.page .section.section--u-ilf59148d {
    background-color: rgba(1, 10, 26, 1) !important;
}

/* News page styles */
.section--u-inews-section {
    padding: 60px 0 !important;
    background: #f5f5f5 !important;
}

.container--u-inews-container {
    width: 1200px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 15px !important;
}

.heading--u-inews-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
    color: #333;
}

.section--u-inews-section .blocklist.blocklist--u-inews-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin-bottom: 40px !important;
}

.blocklist__item--u-ilfn6cdud {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blocklist__item--u-ilfn6cdud:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.blocklist__item--u-ilfn6cdud .link-universal {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blocklist__item--u-ilfn6cdud .imageFit {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blocklist__item--u-ilfn6cdud .imageFit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-placeholder span {
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.news-content {
    padding: 20px;
}

.blocklist__item_title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.news-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.pagination {
    text-align: center;
    margin: 40px 0;
}

.no-news {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-news p {
    font-size: 18px;
}

.no-news a {
    color: #4CAF50;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .heading--u-inews-title {
        font-size: 32px;
    }
    
    .section--u-inews-section .blocklist.blocklist--u-inews-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Force grid to start from left */
div.blocklist.blocklist--u-inews-grid {
    justify-content: start !important;
    align-content: start !important;
}
