/*
Theme Name: Onroad2026
Theme URI: http://zajtaiorsolya.hu
Description: A basic responsive theme based on Bootstrap 5
Author: Orsolya Zajtai
Author URI: http://zajtaiorsolya.hu/
Version: 1.0
Tags: responsive, white, bootstrap

License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
License URI: http://creativecommons.org/licenses/by-sa/3.0/

This is a basic theme for Wordpress 6.2 built with Bootstrap 5.
*/


:root {
	--bs-border-radius: 0rem;
}

.pagination .page-link {
	margin: 0 0.5rem;
}
@media (min-width: 768px) {
	.breadcrumb {
		--bs-breadcrumb-item-padding-x: 1.5rem;
	}
}
[data-bs-theme="light"] {
	--bs-body-bg: #f5f5f5;        /* soft light grey */
    --bs-body-color: #212529;     /* standard dark text */
    --bs-tertiary-bg: #ffffff;    /* cards & surfaces */
    --bs-primary: #CEA946;
    --bs-primary-rgb: 206, 169, 70;
    /* Links should be darker gold for readability */
    --bs-link-color: #9C7C2F;
    --bs-link-hover-color: #6f571f;
    --bs-link-color-rgb: 156, 124, 47;
    --bs-link-hover-color-rgb: 111, 87, 31;
    --bs-form-control-border-color: #ced4da;
    --bs-form-control-focus-border-color: #CEA946;
    --bs-form-control-focus-box-shadow: 0 0 0 0.25rem rgba(206, 169, 70, 0.25);
}
[data-bs-theme="light"] .btn-primary {
    --bs-btn-color: #111;
    --bs-btn-bg: #CEA946;
    --bs-btn-border-color: #CEA946;
    --bs-btn-hover-color: #111;
    --bs-btn-hover-bg: #b89336;
    --bs-btn-hover-border-color: #b89336;
    --bs-btn-active-bg: #a3812d;
    --bs-btn-active-border-color: #a3812d;
}
[data-bs-theme="light"] .btn-outline-primary {
    --bs-btn-color: #9C7C2F;              /* darker gold text */
    --bs-btn-border-color: #CEA946;
    --bs-btn-hover-color: #111;
    --bs-btn-hover-bg: #CEA946;
    --bs-btn-hover-border-color: #CEA946;
    --bs-btn-active-color: #111;
    --bs-btn-active-bg: #b89336;
    --bs-btn-active-border-color: #b89336;
}
[data-bs-theme="light"] .breadcrumb {
	--bs-breadcrumb-divider-color: var(--bs-body-bg);
	--bs-breadcrumb-item-active-color: var(--bs-body-bg);
}
[data-bs-theme="light"] .pagination {
	--bs-pagination-active-bg: #CEA946;
    --bs-pagination-active-border-color: #CEA946;
    --bs-pagination-active-color: #111;
}
[data-bs-theme="dark"] {
    --bs-primary: #CEA946;
    --bs-primary-rgb: 206, 169, 70;
    --bs-link-color: #CEA946;
    --bs-link-hover-color: #fff;
    --bs-link-color-rgb: 206, 169, 70;
    --bs-link-hover-color-rgb: 255, 255, 255;
    --bs-form-control-border-color: #333;
    --bs-form-control-focus-border-color: #CEA946;
    --bs-form-control-focus-box-shadow: 0 0 0 0.25rem rgba(206, 169, 70, 0.35);
}
[data-bs-theme="dark"] .btn-primary {
    --bs-btn-color: #CEA946;
    --bs-btn-bg: #000;
    --bs-btn-border-color: #000;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #CEA946;
    --bs-btn-hover-border-color: #CEA946;
    --bs-btn-active-bg: #9C7C2F;
    --bs-btn-active-border-color: #9C7C2F;
}
[data-bs-theme="dark"] .btn-outline-primary {
    --bs-btn-color: #CEA946;
    --bs-btn-border-color: #CEA946;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #CEA946;
    --bs-btn-hover-border-color: #CEA946;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #d8b55a;
    --bs-btn-active-border-color: #d8b55a;
}
[data-bs-theme="dark"] .pagination {
	--bs-pagination-active-bg: #CEA946;
    --bs-pagination-active-border-color: #CEA946;
    --bs-pagination-active-color: #000;
}
[data-bs-theme="dark"] .input-group .btn {
    background-color: #CEA946;
    border-color: #CEA946;
    color: #000;
    transition: all 0.25s ease;
}

[data-bs-theme="dark"] .input-group .btn:hover {
    background-color: #000;
    border-color: #CEA946;
    color: #CEA946;
}
[data-bs-theme="light"] .form-control,
[data-bs-theme="dark"] .form-control {
    border-color: #CEA946;
}
body {
	
}
img {
	max-width: 100% !important;
	width:auto;
	max-height: 100%;
	height: auto;
}
/*.single-content mark {
	background: -moz-linear-gradient(top,  rgba(255,225,58,0) 0%, rgba(255,225,58,0) 50%, rgba(255,225,58,1) 50%, rgba(255,225,58,1) 100%);
	background: -webkit-linear-gradient(top,  rgba(255,225,58,0) 0%,rgba(255,225,58,0) 50%,rgba(255,225,58,1) 50%,rgba(255,225,58,1) 100%);
	background: linear-gradient(to bottom,  rgba(255,225,58,0) 0%,rgba(255,225,58,0) 50%,rgba(255,225,58,1) 50%,rgba(255,225,58,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffe13a', endColorstr='#ffe13a',GradientType=0 );

	padding: 4px 0;
	-webkit-animation: 1.5s highlight 1.5s 1 normal forwards;
	animation: 1.5s highlight 1.5s 1 normal forwards;
	background-size: 200% 100%;
  background-position: 100% 0;
	
}*/
.single-content mark {
	-webkit-animation: 1.1s highlight 1.1s 1 normal forwards;
	animation: 1.1s highlight 1.1s 1 normal forwards;
	background-color: none;
	background: linear-gradient(90deg, #ffe13a 50%, rgba(255, 225, 58, 0) 50%);
	background-size: 200% 50%;
	background-position: 100% 0;
}

@-webkit-keyframes highlight {
	to {
		background-position: 0 0;
	}
}

@keyframes highlight {
	to {
		background-position: 0 0;
	}
}
.single-content .highlight::after {

}
.imageopener {
	bottom:0.5rem;
	right:0.5rem;
}
#top {
	display: none;
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 3;
	padding: 10px 15px;
	border: none;
}

/* --- CATEGORIES --- */

article.card img {
	-webkit-transform: rotate(0) scale(1);
	transform: rotate(0) scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
article.card:hover img {
	-webkit-transform: rotate(2deg) scale(1.1);
	transform: rotate(2deg) scale(1.1);
}
li.taglist span:after {
	content: ' / ';
	padding-left:4px;
	padding-right:2px;
	color: var(--dark);
}
li.taglist:last-child span:after {
	content: '';
}

/* --- SHORTS --- */

/* GOLD BORDER ON HOVER */
.short-thumb,
.video-thumb {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.short-thumb:hover,
.video-thumb:hover {
	border: 2px solid #CEA946;
}

/* Play icon */
.play-icon {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.play-icon i {
    font-size: 50px;
    transition: 0.3s ease;
}

/* Hover animation */
.short-thumb:hover .play-icon i,
.video-thumb:hover .play-icon i {
	color: #000;
	transform: scale(1.1);
}

/* Duration badge */
.video-duration {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-size: 12px;
	padding: 4px 7px;
	border-radius: 6px;
	font-weight: 500;
}

/* Shorts vertical ratio */
.short-thumb {
	aspect-ratio: 9 / 16;
}

.short-thumb img,
.video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.4s ease;
}

/* Slight zoom */
.short-thumb:hover img, .video-thumb:hover img {
		transform: scale(1.05);
}