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

html, body{
    width: 100%;
    overflow-x: hidden;
}

html, body{min-height:100vh;}

:root {
/* При необходимости замените цвета акцента тут */
--accent: #38bdf8; /* яркий голубой */
--accent-gradient: linear-gradient(45deg, #4f46e5 0%, #38bdf8 100%);
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Цветовой акцент для текста */
.text-accent {
color: var(--accent);
}

/* Градиентная кнопка с лёгкой анимацией */
.btn-gradient {
background-image: var(--accent-gradient);
border: none;
color: #fff;
}
.btn-gradient:hover,
.btn-gradient:focus {
filter: brightness(1.1);
transform: translateY(-1px);
}
.btn-gradient:active {
filter: brightness(0.95);
transform: translateY(0);
}

.btn-orange {
  background-color: #f63a22 !important;
  color: #fff !important;
  border: none;
}
.btn-orange:hover, .btn-orange:focus {
  background-color: #d3311d !important;
  color: #fff !important;
}

h2 {
    font-size: 2em;
    margin-top: 50px;
    margin-bottom: 30px;
}

.text_read h2 {
    margin-top: unset;
    margin-bottom: unset;
}
body {
    font-family: 'Noto Sans', sans-serif;
}

blockquote {
    color: #e1e1e1;
    position: relative;
    padding: 0px 20px 0px 41px;
    border: none;
    font-weight: normal;
    font-size: 1.2em;
    line-height: calc(1em + 10px);
    margin: 48px 0px;
}

blockquote::before {
    color: #cb392e;
}
blockquote:before {
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    content: "";
    width: 3px;
    border-radius: 3px;
    background-color: #E67817;
}



.animated-gradient-btn {
  background-color: #1f2937;
  color: white;
  border: none;
  border-radius: 0.75rem;
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  z-index: 10;
  min-height: 34px;
}

.animated-gradient-btn:hover {
  transform: scale(1.05);
  color: white;
  background-color: #1f2937;
}

.animated-gradient-btn:active {
  transform: scale(0.95);
}

.gradient-border {
  background: linear-gradient(45deg, #2dd4bf, #3b82f6, #a855f7);
  border-radius: 0.75rem;
  padding: 2px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: -1;
}

.animated-button-wrapper:hover .gradient-border {
  opacity: 1;
}

.btn-content {
  background-color: #030712;
  border-radius: 0.75rem;
  padding: 6px 14px;
  margin: -6px -14px;
  z-index: 10;
}

.btn-text,
.btn-icon {
  transition: transform 0.5s ease-in-out;
  font-size: 0.95em;
}

.animated-button-wrapper:hover .btn-text,
.animated-button-wrapper:hover .btn-icon {
  transform: translateX(4px);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.animated-gradient-btn:focus {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  outline: none;
}




.cake img{
 width: 100% !important;
 height: auto !important;
}
input::placeholder {
    color: #767676 !important;
}


.aiItem .card-text::-webkit-scrollbar {
    width: 8px; /* ширина вертикального скроллбара */
    height: 8px; /* высота горизонтального скроллбара (если нужен) */
}

.aiItem .card-text::-webkit-scrollbar-thumb {
    background-color: #333; /* цвет ползунка (темнее) */
    border-radius: 4px; /* скругленные края ползунка */
    border: 2px solid transparent; /* расстояние между ползунком и треком */
}

.aiItem .card-text::-webkit-scrollbar-thumb:hover {
    background-color: #222; /* цвет ползунка при наведении (еще темнее) */
}

.aiItem .card-text::-webkit-scrollbar-track {
    background-color: #0000002e; /* цвет трека (полупрозрачный черный) */
    border-radius: 4px; /* скругленные края трека */
}

.aiItem .card-text::-webkit-scrollbar-track:hover {
    background-color: #00000050; /* цвет трека при наведении (немного ярче) */
}




#ac-comments p {
    color: white;
}

.breadcrumb-item {
    background: #2D3236;
}

.btn {
    border-radius: 12px;
}

.plbtn {
    width: 98px;
    height: 70px;
    background: url('/assets/templates/2023/images/fa-youtube-play.png');
    background-size: cover; background-repeat: no-repeat;
}

.logo-panel .badge {
    display: inline-block;
    min-width: 185px;
}

.logo-panel-fixed {
    background: rgb(0 0 0 / 57%);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    border: 1px solid rgb(255 255 255 / 14%);
    padding: 0.5em 1em;
    border-radius: 12px;
    margin: 0.5em 1em;
    backdrop-filter: blur(30px);
}

.logo-panelV2 .badge {
    display: inline-block;
    min-width: 185px;
}

.logo-panelV2 {
    background: rgb(0 0 0 / 57%);
    border: 1px solid rgb(255 255 255 / 14%);
    backdrop-filter: blur(30px);
}

.logo {
    width: 200px;
}
.aiItemTop {
    border-color: #9530c7cf;
}

.recommendLabel {
    top: 4px;
    right: 24px;
    display: flex;
    background: #9530c7cf;
    border-radius: 5px;
    font-size: 11px;
    gap: 3px;
    z-index: 10;
}

.titleRec {
    align-self: center;
    margin-left: 5px;
    font-weight: 400;
    text-transform: uppercase;
}
.filterHidden {
    display: none;
}

.aiItem, .aiSingle .card, .aiSingle .list-group-item, .category-filter, .blogItem, .blogArticle, .blogMain, .descriptionCat {
    background: #292d32;
}


.aiItem {

}

.aiItem .base, .aiItem .roof, .catField {
    background: #0000002e;
}

.aiSingle:first-of-type .card h2 {
    margin-top: 0;
}

.aiSingle .card h2 {
  margin-bottom: 20px;
}

.aiSingle ul.cardlist {
  list-style-type: none;
  padding: 0;
}


.aiList li a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.aiList li a span {
    margin-left: 5px;
}


.faviconSiteAi {
    width: 25px;
    vertical-align: bottom;
}

ul li .tag, .btn-sm {
    color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
}

.linguise_switcher {
    background: rgb(55 55 55) !important;
    border-radius: 9px !important;
}

.linguise_switcher .linguise_switcher_popup {
	padding: 8px !important;
}

#linguise_popup_container.show_linguise_popup_container #linguise_popup {
	width: 100% !important;
}

#linguise_popup > ul > li > a > span {
	width: 35px !important;
	height: 35px !important;
}

#linguise_popup_container #linguise_popup ul li:hover {
    background: none !important;
}

.neighbors button a {
    text-decoration: none;
}

.leftMenu li a {
    text-decoration: none;
    cursor: pointer;
}

.leftMenu li a:hover, .leftMenu li.superActive {
    background-color: #2d445c;
}

.form-check-inline label, .form-check-inline label input {
    cursor: pointer;
}

.micro {
    font-size: 0.87em;
}


.card-img-top-square {
	height: 200px;
	width: 400px;
	background-size: cover;
	background-position: center center;
}

.aiItemImage {
	max-width: 400px;
}

.aiItemWrapperNoPage .aiItemImage {
    width: 100px;
}

.aiItemImage .card-img-top-square:hover {
    transition: transform .6s;
}

.aiItemImage .card-img-top-square:hover {
    transform: scale(1.2)
}

.aiItem .card-text, .aiItem .date {
	font-size: .9rem
}

.aiItem .card-text {
    max-height: 128px;
    overflow-y: auto;
}

.widget_body {
    background-color: black !important;
}

.firstcard .card::before, .additional::before {
    content: "";
    position: absolute;
    width: 4px;
    inset: 0;
    border-radius: 2px;
    padding: 1px;
    background: linear-gradient(-45deg, #00008bab, #9932ccb3);
}

.firstcard .card-header, .firstcard .list-group-item, .lastAIs tr, .aiSingle .list-group-item {
    border-bottom: 1px solid #9530c74f;
}

.lastAIs table td > * {
    vertical-align : middle;
}

.lastAIs table td:first-child {
  padding-left: 25px;
  padding-right: 0;
}

.lastAIs table td:last-child {
  padding-left: 0;
  padding-right: 25px;
}

.lastAIs tr, .lastAIs tr td {
    background: #292D32;
}

.lastAIs tr {
    position: relative;
}


.tagCloudFooter li {
    list-style-type: none;
}

.tagCloudFooter li a {
    text-decoration: none;
}

.tagCloudItem {
    font-size: 1.5em;
}

@media all and (max-width: 720px) { 
    .tgapps img {
        height: 37px !important;
    }
    
  .banner-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }                    
}

/* Адаптивная логика показа баннеров */

/* По умолчанию все скрыты */
.d-banner-wide,
.d-banner-leaderboard,
.d-banner-medium {
  display: none !important;
}

/* Мобильные: <728px — medium rectangle 300×250 */
@media (max-width: 727px) {
  .d-banner-medium {
    display: block !important;
  }
}

/* Планшеты: 728px – 969px — leaderboard 728×90 */
@media (min-width: 728px) and (max-width: 969px) {
  .d-banner-leaderboard {
    display: block !important;
  }
}

/* Десктоп: ≥970px — wide 970×250 */
@media (min-width: 970px) {
  .d-banner-wide {
    display: block !important;
  }
}

/* Плавный hover-эффект на баннере */
.d-banner-wide,
.d-banner-leaderboard,
.d-banner-medium {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.d-banner-wide:hover,
.d-banner-leaderboard:hover,
.d-banner-medium:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
                

footer {
		 overflow-y: hidden;
}

footer .bottomMenu a, .addAi-heading_wrapper p {
	letter-spacing: -.03em;
}

footer a:hover {
	opacity: .7;
	outline: 0;
	transition: opacity .2s;
}

.footer-line-break {
    width: 100%;
    height: 1px;
    background-color: rgb(121 20 79);
}

footer .red {
    background: linear-gradient(to left, #c31432, #240b36);
    top: 0;
    left: 0;
    z-index: -2;
}

footer .blob {
    background-image: url(/assets/templates/2023/images/blobanimation.svg);
    background-repeat: no-repeat;
    background-size: 250%;
    left: 0;
    top: 0;
    background-position: bottom;
    height: 125vh;
    z-index: -1;
}

.aiFree {
    font-size: 11px;
}
.lastAIs table {
    border-radius: 25px !important;
}

.lastAIs table .first {
    width: 160px;
}

.lastAIs table .second {
    width: 500px;
}

.lastAIs table .third {
    width: 130px;
}

.lastAIs table td.border-0.first.ps-4.pe-2 > a > span {
    color: #e9e9e9;
}


.xlike {
    position: relative;
}

.xlike:after,
.xlike:before {
    content: " ";
    display: block;
    clear: both;
}

.xlike .xlike__line {
    width: 100%;
    height: 2px;
    background-color: #ccc;
    opacity: .7;
}

.xlike .xlike__line-fill {
    -webkit-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
    width: 0;
    height: 100%;
    background-color: #ef4646;
}

.xlike .xlike__percent {
    float: right;
    display: block;
    color: #707070;
    font-size: .8em;
    line-height: 1.4em;
}

.xlike .xlike__items {
    float: left;
    display: block;
    margin-left: .2rem;
    margin-top: .3rem;
}

.xlike .xlike__item {
    display: inline-block;
    margin: 0 .1rem 0 0;
    vertical-align: middle;
}

.xlike .xlike__link {
    transition: all .4s ease-in-out;
    color: #444;
    border: 0;
    opacity: .7;
    text-decoration: none;
}

.xlike a.xlike__link:hover {
    color: #444;
    opacity: 1
}

.xlike a.xlike__link:hover .xlike__svg {
    box-shadow: 0 0 15px -2px rgba(0, 0, 0, .05);
}

.xlike .xlike__link_active {
    opacity: .9;
}

.xlike .xlike__link_active .xlike__svg {
    background-color: #ef4646;
}

.xlike .xlike__link_active .xlike__svg-hand,
.xlike .xlike__link_active .xlike__svg-jacket {
    fill: #fff;
}

.xlike .xlike__link_active .xlike__svg-shirt {
    fill: #ef4646;
}

.xlike__item_dislike .xlike__link_active .xlike__svg {
    background-color: #707070;
}

.xlike__item_dislike .xlike__link_active .xlike__svg-hand,
.xlike__item_dislike .xlike__link_active .xlike__svg-jacket {
    fill: #fff;
}

.xlike__item_dislike .xlike__link_active .xlike__svg-shirt {
    fill: #707070;
}

.xlike .xlike__icon {
    transition: all .4s ease-in-out;
    border-radius: 100px;
    vertical-align: middle;
}

.xlike .xlike__svg {
    width: 2em;
    height: 2em;
}

.xlike .xlike__svg path {
    transition: all .4s ease-in-out;
}

.xlike .xlike__svg-hand,
.xlike .xlike__svg-jacket {
    fill: #444;
}

.xlike .xlike__svg-shirt {
    fill: #fff;
}

.xlike .xlike__svg_dislike {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.xlike .xlike__count {
    font-size: .8em;
    line-height: 1em;
    vertical-align: middle;
}
