:root {
    --bs-body-font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
    --bs-body-font-size: 0.95rem;
    --bs-primary: #a5bf2a;
    --bs-primary-rgb: 165, 191, 42;
}

body {
    font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

.btn-primary {
    --bs-btn-bg: #a5bf2a;
    --bs-btn-border-color: #a5bf2a;
    --bs-btn-hover-bg: #97af24;
    --bs-btn-hover-border-color: #97af24;
    --bs-btn-active-bg: #8ea321;
    --bs-btn-active-border-color: #8ea321;
    --bs-btn-focus-shadow-rgb: 165, 191, 42;
}

.btn-outline-primary {
    --bs-btn-color: #a5bf2a;
    --bs-btn-border-color: #a5bf2a;
    --bs-btn-hover-bg: #a5bf2a;
    --bs-btn-hover-border-color: #a5bf2a;
    --bs-btn-active-bg: #8ea321;
    --bs-btn-active-border-color: #8ea321;
    --bs-btn-focus-shadow-rgb: 165, 191, 42;
}

.text-primary {
    color: #a5bf2a !important;
}

.bg-primary {
    background-color: #a5bf2a !important;
}

.border-primary {
    border-color: #a5bf2a !important;
}

h1, h2, h3, h4, h5, h6, .ad-title {
    font-family: "Gentium Book Plus", "Times New Roman", serif;
    letter-spacing: -0.07em;
    line-height: 1.2;
}

h1 {
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.15rem);
}

h2 {
    font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem);
}

h3 {
    font-size: 1.15rem;
}

.logo-img {
    height: 45px;
    width: 70px;
    display: inline-block;
    vertical-align: middle;
    background: url(/static/resources/logo.png) no-repeat center center;
    background-size: contain;
}

.slideshow-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.preview-container {
    width: 100%;
    height: 480px;
    background: #f8f9fa;
    position: relative;
}

.preview-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.thumbnails-container {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0;
}

.thumbnail {
    width: 88px;
    height: 66px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.thumbnail:hover {
    border-color: #0066cc;
}

.thumbnail.active {
    border-color: #0066cc;
}

.nav-button {
    background: rgba(0, 0, 0, 0.55);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.nav-button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.boosted-card {
    border: 1px solid rgba(165, 191, 42, 0.35);
    background: #f7fbe6;
}

.boosted-badge {
    background: #a5bf2a;
    color: #1b1b1b;
    font-weight: 600;
}

.boosted-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.boosted-carousel-card {
    min-width: 240px;
}

