﻿/*****************************
    General
*****************************/
.custom-btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.675rem;
    line-height: 1.5;
}

/*****************************
    Category List
*****************************/

.custom-category-list-div-content {
    height: 360px;
}

.custom-category-list-lead-content {
    height: 100px;
    overflow: hidden;
}

.custom-category-list-read-more {
    padding-top: 8px;
}

/*****************************
    Article List (Main Page)
*****************************/

.custom-article-list-div-content {
    height: 300px;
}

.custom-article-list-lead-content {
    height: 100px;
    overflow: hidden;
}

.custom-article-list-read-more {
    padding-top: 8px;
}

.custom-article-general-list-title {
    height: 84px;
    overflow: hidden;
}

.custom-article-general-list-categories {
    min-height: 60px;
}

.custom-category-list-lead-content a {
    text-decoration: none;
    color: inherit;
}

.custom-filter-scroll {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.custom-filter-scroll::-webkit-scrollbar {
    display: none;
}

.custom-filter-scroll .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/*****************************
    Article Location List
*****************************/
.custom-location-list-div-content {
    height: 360px;
}

.custom-location-list-lead-content {
    height: 100px;
    overflow: hidden;
}

.custom-location-list-read-more {
    padding-top: 8px;
}

/*****************************
    Widget title (ex: Articles in list etc)
*****************************/

.custom-widget-title {
    margin-bottom: 10px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*****************************
    Generic Content
*****************************/

.custom-generic-div-content {
    padding-top: 1em;
}

.custom-generic-lead-content {
    font-style: italic;
    color: #444;
}

/*****************************
    Scroll
*****************************/

.main-content-anchor {
    scroll-margin-top: 8em;
}

html {
    scroll-behavior: smooth;
}

/*****************************
    Rating
*****************************/

.rating {
    display: inline-block;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 10px;
    font-family: "Arial", "Helvetica Neue", sans-serif;
}

.rating-star {
    color: #FFD700; /* Gold – filled star */
}

.rating-half {
    position: relative;
    display: inline-block;
    color: #ccc; /* Grey background for half */
}

.rating-half::before {
    content: "★";
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #FFD700;
}

.rating-empty {
    color: #ccc; /* Grey – empty star */
}

.rating-label {
    margin-bottom: 5px;
    display: block;
}

.text-gray-dark {
    color: var(--bs-gray-dark) !important;
}

/*****************************
    Image
*****************************/

.custom-image-photographer {
    font-style: italic;
}

/*****************************
    Map Links
*****************************/

.custom-map-links {
    margin-top: -20px;
    margin-bottom: 20px;
}

.custom-map-links-btn {
    padding: 8px 20px;
}

.custom-map-links-select {
    display: block;
    max-width: 420px;
    margin-bottom: 10px;
}

/*****************************
    Article Recent
*****************************/

.custom-articleRecentImageDiv {
    padding-top: 6px;
}

.custom-articleRecentInfoDiv {
    width: 60%;
}

.custom-articleRecentCategoryAnchor {
    display: inline;
}

/*****************************
    Location
*****************************/

.custom-location-space-small-ptb {
    padding-top: 20px;
    padding-right: 0px;
    padding-bottom: 20px;
    padding-left: 0px;
}

.custom-widget-location-title {
    margin-bottom: 10px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*****************************
    Section Part Content
*****************************/

.custom-section-part-content {
    display: flow-root;
    position: relative;
}

/*****************************
    Ribbon Content
*****************************/

.custom-ribbon {
    position: absolute;
    top: 12px;
    right: -40px;
    width: 120px;
    background: #daa270;    /* #dc3545 Bootstrap danger */
    color: white;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 0;
    transform: rotate(45deg);
    z-index: 2;
}