@charset "UTF-8";
/*
Theme Name: Арт Владивосток
Theme URI: https://artvladivostok.ru
Author: Artem Tenyakov
Description: Тема для галереи «Арт Владивосток»
Version: 2026.1.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.2
Text Domain: artvladivostok
*/

:root {
  --artvladivostok-color-lblue: #dae8eb;
  --artvladivostok-color-logo: #e63c11;
  --artvladivostok-color-orange: #f2490c;
  --artvladivostok-color-red: #a61a1d;
  --artvladivostok-color-green: #1d7c2a;
  --artvladivostok-color-blue: #15a4ca;

  --artvladivostok-color-0: #000;
  --artvladivostok-color-5: #555;
  --artvladivostok-color-7: #777;
  --artvladivostok-color-9: #999;
  --artvladivostok-color-c: #ccc;
  --artvladivostok-color-d: #ddd;
  --artvladivostok-color-e: #eee;
  --artvladivostok-color-f: #fff;

  --artvladivostok-color-80-gray: #808080;
  --artvladivostok-color-ce-gray: #cecece;
  --artvladivostok-color-f0-gray: #f0f0f0;
  --artvladivostok-color-ed-gray: #ededed;

  --artvladivostok-color-white-90: rgba(255, 255, 255, 0.9);
  --artvladivostok-color-black-50: rgba(0, 0, 0, 0.5);
  --artvladivostok-color-black-60: rgba(0, 0, 0, 0.6);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*убрать, если скролл на всю страницу оставляем
html,
body {
    height: 100%;
    overflow: hidden; 
} */

body {
  background-color: var(--artvladivostok-color-f);
  color: var(--artvladivostok-color-0);
  font:
    normal 11px Verdana,
    Arial,
    Helvetica,
    sans-serif;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  display: grid;
  grid-template-rows: auto 1fr auto;
  /* header | content | footer */
  min-height: 100vh;
  min-width: 880px;
}

a {
  color: var(--artvladivostok-color-blue);
  text-decoration: underline;
}

a:visited {
  color: var(--artvladivostok-color-5);
}

a:hover,
a:focus,
a:active {
  color: var(--artvladivostok-color-5);
  background: var(--artvladivostok-color-f);
  outline: none;
}

h1 a,
h2 a {
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-style: normal;
  font-weight: 600;
}

h1 {
  color: var(--artvladivostok-color-blue);
  margin: 0 0 10px 0;
}

h1,
h2 {
  font-size: 0.85em;
  text-transform: uppercase;
}

h2 {
  color: var(--artvladivostok-color-orange);
}

h3,
h4,
h5 {
  font-size: 1em;
}

h2,
h3,
h4,
h5 {
  margin: 0 0 6px 0;
}

h3 {
  color: var(--artvladivostok-color-5);
}

h4,
h5,
p.epigraf {
  font-style: italic;
  font-weight: normal;
}

h4,
p.epigraf {
  text-align: right;
}

p {
  margin: 0 0 6px 0;
  font-style: normal;
  font-weight: normal;
  text-align: justify;
  word-spacing: -0.2ex;
}

p.date {
  font-size: 0.8em;
  line-height: 1.5em;
  color: var(--artvladivostok-color-9);
  margin: 0;
  text-align: left;
}

header,
footer {
  /*height: 150px; 
        width: 100%;*/
  border-bottom: 12px solid var(--artvladivostok-color-lblue);
  padding: 19px 0 20px 222px;
  display: flex;
  overflow: hidden;
}

footer {
  height: 112px;
  border-bottom: none;
  border-top: 12px solid var(--artvladivostok-color-lblue);
  /*padding: 19px 0 20px 222px;*/
}

.logo-artvladivostok {
  width: 96px;
  height: 99px;
}

.logo-nav {
  width: 562px;
  height: 99px;
}

header ul {
  list-style: none;
  display: flex;
}

header li {
  position: relative;
  height: 20px;
  line-height: 10px;
  width: calc(100% / 2);
  text-align: right;
  font-size: 0.8em;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 200px 1fr;
  /* ширина нав + остальное main */
  min-height: 0;
  /* важно для вложенного flex/grid */
  overflow: hidden;
  /* предотвращает вылезание */
}

nav {
  width: 200px;
  border-right: 2px solid var(--artvladivostok-color-lblue);
  padding: 0 20px 0 10px;
  text-align: right;
  display: flex;
  flex-direction: column;
}

nav h2 {
  margin: 10px 0 2px 0;
  color: var(--artvladivostok-color-80-gray);
  font-size: 0.9em;
  font-weight: normal;
}

nav ul {
  list-style: none;
  font-size: 1em;
  text-transform: lowercase;
}

nav li {
  line-height: 13px;
}

nav li:after,
.menu-marker-color {
  color: var(--artvladivostok-color-orange);
}
.menu-marker-colon-dot > li:after {
  content: " :.";
}
.menu-marker-colon-colon > li:after {
  content: " ::";
}
.menu-marker-dot-colon > li:after {
  content: " .:";
}

.menu-element-margin-top {
  margin-top: 10px;
}

nav a,
nav a:link,
nav a:visited {
  color: var(--artvladivostok-color-0);
  text-decoration: none;
}

nav a:hover {
  color: var(--artvladivostok-color-blue);
  background: none;
}

main {
  background-color: var(--artvladivostok-color-f0-gray);
  padding: 10px 0 0 20px;
  /*overflow-y: auto;
   если контента много — будет скролл только в main */
  min-height: 0;
  /* ← тоже обязательно для grid item */
}

main article {
  width: 660px;
  max-width: 660px;
  margin-bottom: 10px;
}

.underlined-block {
  padding-bottom: 40px;
  border-bottom: 2px solid var(--artvladivostok-color-f);
}


.info-block {
  margin: 20px 0 0 0;
}
.info-block h3 {
  font-size: 0.85em;
  margin: 10px 0 0 0;
  color: var(--artvladivostok-color-0);
  font-weight: normal;
}
.info-block p {
  font-size: 0.95em;
  margin: 6px 0 0 0;
  text-align: left;
  color: var(--artvladivostok-color-orange);
}
time {
  font-size: 0.9em;
  color: var(--artvladivostok-color-7);
}


.single-page > ul {
  list-style: none;
  margin-bottom: 6px;
}
.single-page > ul li:before {
    content: "\2022\00A0";
}


/* ГАЛЕРЕЯ */
.artvlad-gallery {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    margin: 20px 0;
}
.artvlad-gallery > li {
    	width: 100px;
    	height: 100px;
	}
.artvlad-gallery a {
  text-decoration: none;
  background: none;
}
	.artvlad-gallery > li:not(:nth-child(5n)) {
    	margin-right: 40px;
	}
		.artvlad-gallery > li img {
    		display: block;
   			width: 98px;
    		height: 98px;
        border: 1px solid var(--artvladivostok-color-5);
		}
		.artvlad-gallery > li img:hover {
			opacity: 0.7;
			transition: opacity 250ms ease;
    }
.gallery figure {
	margin-top: 20px;
}



.tag-cloud {
  margin: 20px 0;
}

.tag-cloud p {
  font-size: 1.4em;
  letter-spacing: 0.02em;
  text-align: justify
}

.adv-block {
  padding: 10px 0;
  margin: 0;
}









/* === ДОПОЛНЕНИЯ ДЛЯ WORDPRESS (не ломают оригинальный дизайн) === */
.wp-block-image img,
article img {
  max-width: 100%;
  height: auto;
}

/* Убираем стандартные отступы Gutenberg, если они мешают */
.entry-content > * + * {
  margin-top: 1.5em;
}

.ya-site-form__input-text,
.ya-site-form__submit {
  height: 18px;
  padding: 0 2px 0 2px;
}





.pagination {
  margin: 0 0 5px 0;
  padding: 0;
  width: 660px;
  max-width: 660px;
  height: 20px;
  max-height: 20px;
}

.pagination a,
.pagination .pages,
.pagination .current,
.pagination .dots {
    padding: 2px 4px;
		margin-right: 5px;
    height: 20px;
    min-width: 20px;
    text-align: center;
		display: inline-block;
		text-decoration: none;
		font-size: 10px;
		line-height: 14px;
    border: 1px solid var(--artvladivostok-color-c);
		background-color: var(--artvladivostok-color-f);
}

.pagination a,
.pagination a:link,
.pagination a:visited {
		color: var(--artvladivostok-color-blue);
}

.pagination a:hover,
.pagination a:active {
    border-color: var(--artvladivostok-color-9);
		background-color: var(--artvladivostok-color-e);
}

.pagination .pages,
.pagination .dots {
    color: var(--artvladivostok-color-5);
}

.pagination .current {
    font-weight: 600;
		border-color: var(--artvladivostok-color-orange);
		color: var(--artvladivostok-color-orange);
		background-color: var(--artvladivostok-color-e);
}




/* ======================================================
>>> СКРОЛЛБАР
====================================================== */
/* Для Chrome, Edge, Safari */
::-webkit-scrollbar	{
	width: 7px;
	background: transparent;
}
::-webkit-scrollbar-thumb {
	background-color: var(--alramy-color-black-50);
	border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover {
	background-color: var(--alramy-color-black-60);
}
/* Для Firefox */
* {
	scrollbar-width: thin;
	scrollbar-color: var(--alramy-color-black-50) transparent;
}
