@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* UNIVERSAL THEMPLATE STYLE BEGIN*/

.crime-section-begin {
    margin-top: 150px;
}

@media (max-width: 900px) {
    .crime-section-begin {
        margin-top: 50px;
    }
}

@media (max-width: 900px) {
    .post-meta {
        flex-direction: column;
    }

    .post-meta .date {
        top: 5px;
    }
}

@media (max-width: 900px) {
    .author span {
        font-size: 12px;
        line-height: 14px;
    }
}

.crime-section-begin .btn-tag {
    color: #fff;
    background-color: #85A3F7;
    font-weight: 600;
}

.crime-section-begin h1 {
    font-family: "Rubik", sans-serif;
    font-weight: 600;
}

@media (max-width: 900px) {
    .crime-section-begin h1 {
        font-size: 35px;
        line-height: 42px;
    }
}

.crime-section-content .preview-img {
    display: flex;
    justify-content: center;
}

.crime-section-content .preview-img img {
    width: 100%;
}

.crime-section-content h2 {
    font-family: "Rubik", sans-serif;
    margin: 50px 0 25px 0;
}

@media (max-width: 900px) {
    .crime-section-content h2 {
        font-size: 30px;
        line-height: 32px;
        margin: 50px 0 20px 0;
    }
}

.content-list {
    border: 1px solid #05264E;
    border-radius: 20px;
    padding: 30px;
}

.content-list-secondary h2 {
    font-family: "Rubik", sans-serif;
}

.content-list-secondary p {
    margin-bottom: 5px;
}

.content-list-secondary span {
    font-family: "Rubik", sans-serif;
}

.content-list-secondary li:not(:last-child) {
    border-bottom: 1px solid #05264E;
}

@media (max-width: 900px) {
    .content-list {
        padding: 20px;
    }
}

.labels_preview-img {
    color: gray;
    margin-top: 5px;
    margin-bottom: 20px;
    font-size: 12px;
    line-height: 17px;
}

.labels_preview-img span {
    display: block;
}

.article-sections li {
    margin-bottom: 5px;
}

ul.crime-list-comments {
    list-style-type: none;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    background: #222;
    color: #fff;
    height: 30px;
    display: flex;
    align-items: center;
    position: fixed;
    bottom: 0px;
    z-index: 20;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
    font-size: 18px;
    font-family: Arial, sans-serif;
}

@media (max-width: 900px) {
    .marquee-text {
        font-size: 16px;
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Фон с картинкой */
.background-overlay {
  background-image: url('/img/crime-line.png');
  filter: opacity(0.1); /* Сделали картинку более блеклой */
  position: absolute;
  height: 100%;
  width: 100vw;
  left: 0px;
  z-index: -1;
  background-size: cover;
}

.author-section {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    background-image: linear-gradient(
		0,
		#ADD8E6 30%,
		transparent 30%
	);
}

.author-section .author-content {
    margin-right: 10px;
}

.author-section .title {
    font-family: "Rubik", sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.author-section .subtitle {
    font-family: "Rubik", sans-serif;
}

.author-section .author-img {
    width: 150px;
}

@media (max-width: 900px) {
    .author-section .author-img {
        width: 100px;
        object-fit: cover;
    }
}

/* UNIVERSAL THEMPLATE STYLE END*/