/*
Theme Name: Jroze
Theme URI: https://your-site.com
Author: Your Name
Author URI: https://your-site.com
Description: Дочерняя тема Jroze
Template: astra
Version: 1.0.0
*/

/* Твои стили */
body.jroze-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
p {
	font-size: 16px;
	margin-bottom: 0 !important;
}
h1 {
	font-size: 2rem;
}
h2 {
	font-size: 1.5rem;
}
.jroze-container {
    max-width: 1200px;
	display: flex;
    margin: 0 auto;
    gap: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
}
.gallery-container {
	width: 66%;
}
.wp-block-image {
	margin: 0 !important;
}

/* Пример изменения цвета ссылок */
a {
    color: #your-color;
    text-decoration: none;
}

a:hover {
    color: #your-color-darker;
}
.painting-status {
    display: inline-block;
    position: absolute;
    width: 100px;
    padding: 30px 10px;
    background: #6528f7;
    color: white;
    border-radius: 100%;
    margin-left: 20px;
    margin-top: 40px;
}
.painting-main-image img {
    width: 100%;
    height: auto;
}
.painting-details { 
	width: 33%;
	padding-left: 20px;    
	margin: 0;
}
.additional-info {
	margin-bottom: 20px;
}
.history-info {
	margin-bottom: 20px;
	margin-top: 20px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.video-wrapper {
   position: relative;
   padding-bottom: 56.25%;
   height: 0;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Стили для галереи Jroze */
.painting-card-status.status-v-nalichii {
    background: #4CAF50;
    color: white;
}

.painting-card-status.status-prodano {
    background: #f44336;
    color: white;
}

.whatsapp-button {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 10px 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.whatsapp-button:hover {
    background: #128C7E;
    color: white;
}
/* Галерея картин */
.painting-gallery {
    margin: 40px 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-item {
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.02);
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}