/*
 * Очищенный CSS — оставлены только классы, реально используемые в HTML
 */

@charset "utf-8";

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    /* Единый красивый фон для всего сайта */
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 100%);
}

/* Общий контейнер секций (просто отступы) */
.section {
    position: relative;
    padding: 60px 0;
}

/* Видео */
.video-wrap {
    position: relative;
    width: 100%;
}
video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.play-btn::before {
    content: "";
    display: block;
    margin-left: 6px;
    width: 0;
    height: 0;
    border-left: 26px solid #fff;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
}
.play-btn.hide {
    opacity: 0;
    pointer-events: none;
}

/* Контентные блоки */
.contact-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px;
    color: white;
}

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

/* Хедер */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(40px, calc((100% - 1600px) / 2 + 40px));
    transition: all 0.3s ease;
}
.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    height: 70px;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.menu-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}
.menu-item:hover {
    color: white;
    transform: translateY(-2px);
}
.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}
.menu-item:hover::after {
    width: 100%;
}
.menu-item.active {
    color: white;
}
.menu-item.active::after {
    width: 100%;
}
.menu-item.external::before {
    content: '↗';
    margin-right: 5px;
    font-size: 12px;
    opacity: 0.7;
}

/* Мобильное меню */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Ссылка в стиле меню для h3 (автосалоны) */
.menu-item-h3 {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}
.menu-item-h3:hover {
    transform: translateY(-2px);
}
.menu-item-h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}
.menu-item-h3:hover::after {
    width: 100%;
}

/* About / контент */
.about-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px;
    color: white;
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
}
.about-header h1 {
    font-size: 40px;           /* Уменьшен */
    margin-top: 60px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.about-header p {
    font-size: 18px;           /* Уменьшен */
    color: rgba(255, 255, 255, 0.8);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 80px;
}

.about-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Отдельное фото на всю ширину контента (как у видео) между блоками about-main */
.photo-block {
    margin-bottom: 80px;
}
.about-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}
@media (max-width: 768px) {
    .photo-block {
        margin-bottom: 40px;
    }
    .about-photo {
        border-radius: 16px;
    }
}

.showcase-display {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-main {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.showcase-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.showcase-title {
    font-size: 28px;           /* Уменьшен */
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.showcase-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.showcase-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.corner-decoration {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(102, 126, 234, 0.3);
}
.corner-decoration.top-left {
    top: -20px;
    left: -20px;
    border-right: none;
    border-bottom: none;
    border-radius: 20px 0 0 0;
}
.corner-decoration.bottom-right {
    bottom: -20px;
    right: -20px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 20px 0;
}

.about-info {
    padding-left: 40px;
}
.about-info h3 {
    font-size: 28px;           /* Уменьшен */
    margin-bottom: 30px;
    line-height: 1.3;
    color: white;
}
.about-info h2 {
    font-size: 36px;           /* Уменьшен */
    margin-bottom: 30px;
    line-height: 1.3;
    color: white;
}
.about-info p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}
.feature-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}
.cta-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.cta-button:hover svg {
    transform: translateX(5px);
}

/* Статистика */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* Контакты */
.contact-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
}
.contact-header h2 {
    font-size: 36px;           /* Уменьшен */
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.contact-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-section {
    padding-right: 40px;
}
.contact-info-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
}
.contact-info-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}
.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-text {
    flex: 1;
}
.contact-text h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}
.contact-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Плавающие кнопки */
.float-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}
.float-button:hover {
    transform: scale(1.1);
}
.float-button.whatsapp {
    background: #25D366;
}
.float-button.phone {
    background: #FF5722;
}
.float-button img {
    width: 30px;
    height: 30px;
}

.phone-link {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}
.phone-link:hover {
    color: #ffcc00;
}

/* Сетка карточек услуг (главная) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
}
.service-card img {
    width: 100%;
    aspect-ratio: 240 / 300;
    object-fit: cover;
    display: block;
}
.service-card-body {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}
.service-card p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255,255,255,0.75);
    margin: 0;
}
.service-card-price {
    margin-top: auto;
    padding-top: 10px;
    font-size: 17px;
    font-weight: 700;
    color: white;
}

@media (min-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1300px) {
    .services-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 24px;
    }
}

/* Модификатор: 4 карточки на посадочных страницах */
.services-grid--4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0;
}
@media (min-width: 600px) {
    .services-grid--4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}
@media (min-width: 900px) {
    .services-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1300px) {
    .services-grid--4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

/* Блок "Рекомендуем также" */
.related-block {
    max-width: 1600px;
    width: calc(100% - 80px);
    margin: 60px auto 0;
}

/* Текстовый блок */
.content-block {
    width: calc(100% - 80px);
    max-width: 1600px;
    margin: 0 auto;
    padding: 60px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}
.content-block h2 {
    font-size: 28px;           /* Уменьшен */
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.content-block p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 16px;
    color: white;
}

/* EEAT-блок */
.eeat-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px 60px;
}
.eeat-block h2 {
    font-size: 28px;           /* Уменьшен */
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.eeat-block .feature-list {
    margin-bottom: 0;
}

/* Вопросы/ответы — простой блок без карточки, как about-info, но на всю ширину */
.faq-section {
    margin-bottom: 80px;
}
.faq-section > h2 {
    font-size: 28px;
    margin-bottom: 30px;
    line-height: 1.3;
    color: white;
}
.faq-item {
    margin-bottom: 30px;
}
.faq-item:last-child {
    margin-bottom: 0;
}
.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}
.faq-item p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .faq-section {
        margin-bottom: 40px;
    }
    .faq-item h3 {
        font-size: 18px;
    }
    .faq-item p {
        font-size: 16px;
    }
}

/* Футер */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}
.footer-inner {
    max-width: 1600px;
    width: calc(100% - 160px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}
.footer-bottom {
    max-width: 1600px;
    width: calc(100% - 160px);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-brand strong {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 320px;
}
.footer-col h4 {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 18px;
}
.footer-col a,
.footer-col p {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}
.footer-col a:hover {
    color: white;
}

/* ----- Адаптивная вёрстка ----- */
@media (max-width: 1024px) {
    .about-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .about-info {
        padding-left: 0;
        text-align: left;
    }
    .feature-list {
        text-align: left;
        max-width: 500px;
        margin: 0 0 40px;
    }
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-info-section {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .about-content {
        padding: 5px;
    }
    .header {
        padding: 0 20px;
    }
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .main-menu.active {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    .about-info h3 {
        font-size: 24px;
    }
    .showcase-display {
        max-width: 100%;
    }
    .showcase-main {
        padding: 30px 25px;
    }
    .showcase-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    .showcase-title {
        font-size: 24px;
    }
    .showcase-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .corner-decoration {
        display: none;
    }
    .stat-number {
        font-size: 36px;
    }
    .stats-section {
        padding: 20px 5px;
        gap: 15px;
    }
    .contact-content h2 {
        font-size: 36px;
    }
    .service-card h3 {
        font-size: 17px;
    }
    .service-card p {
        font-size: 13px;
    }

    .content-block {
        padding: 30px 3px;
        width: calc(100% - 6px);
    }
    .content-block h2,
    .content-block p {
        padding: 0 3px;
    }
    .content-block h2 {
        font-size: 24px;
    }
    .eeat-block {
        padding: 20px 3px 40px;
    }
    .eeat-block h2 {
        font-size: 24px;
    }
    .about-header h1 {
        font-size: 32px;
    }
    .about-header p {
        font-size: 16px;
    }
    .contact-header h2 {
        font-size: 28px;
    }

    .related-block {
        width: calc(100% - 40px);
    }
    .footer-inner,
    .footer-bottom {
        width: calc(100% - 80px);
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .header {
        height: 70px;
        padding: 0 15px;
    }
    .header.scrolled {
        height: 60px;
    }
    .about-content,
    .contact-content {
        padding: 5px;
    }
    .contact-container {
        gap: 30px;
    }
    .contact-header {
        margin-bottom: 40px;
    }
    .contact-header h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .contact-header p {
        font-size: 16px;
        padding: 0 10px;
    }
    .contact-info-section {
        margin-bottom: 20px;
    }
    .contact-info-section h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .contact-info-section > p {
        font-size: 14px;
        padding: 0 10px;
        margin-bottom: 30px;
    }
    .contact-details {
        gap: 15px;
    }
    .contact-item {
        padding: 15px;
        gap: 12px;
    }
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    .contact-icon svg {
        width: 20px;
        height: 20px;
    }
    .contact-text h4 {
        font-size: 14px;
    }
    .contact-text p {
        font-size: 12px;
        word-break: break-word;
    }

    .content-block {
        width: calc(100% - 6px);
        padding: 25px 3px;
    }
    .content-block h2 {
        font-size: 22px;
    }
    .eeat-block h2 {
        font-size: 22px;
    }
    .about-header h1 {
        font-size: 28px;
    }

    .related-block {
        width: calc(100% - 40px);
    }
    .footer-inner,
    .footer-bottom {
        width: calc(100% - 40px);
    }
}

/* Lite YouTube */
lite-youtube { background-color: #000; position: relative; display: block; contain: content; background-position: center center; background-size: cover; cursor: pointer; max-width: 100%; }lite-youtube::before { content: attr(data-title); display: block; position: absolute; top: 0; background-image: linear-gradient(180deg, rgb(0 0 0 / 67%) 0%, rgb(0 0 0 / 54%) 14%, rgb(0 0 0 / 15%) 54%, rgb(0 0 0 / 5%) 72%, rgb(0 0 0 / 0%) 94%); height: 99px; width: 100%; font-family: "YouTube Noto",Roboto,Arial,Helvetica,sans-serif; color: hsl(0deg 0% 93.33%); text-shadow: 0 0 2px rgba(0,0,0,.5); font-size: 18px; padding: 25px 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; box-sizing: border-box; }
lite-youtube:hover::before { color: white; }
lite-youtube::after { content: ""; display: block; padding-bottom: calc(100% / (16 / 9)); }
lite-youtube > iframe { width: 100%; height: 100%; position: absolute; top: 0; left: 0; border: 0; }
lite-youtube > .lyt-playbtn { display: block; width: 100%; height: 100%; background: no-repeat center/68px 48px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="red"/><path d="M45 24 27 14v20" fill="white"/></svg>'); position: absolute; cursor: pointer; z-index: 1; filter: grayscale(100%); transition: filter .1s cubic-bezier(0, 0, 0.2, 1); border: 0; }
lite-youtube:hover > .lyt-playbtn { filter: none; }
lite-youtube .lyt-playbtn:focus { filter: none; }
lite-youtube.lyt-activated { cursor: unset; }
lite-youtube.lyt-activated::before { opacity: 0; pointer-events: none; }
lite-youtube.lyt-activated > .lyt-playbtn { opacity: 0; pointer-events: none; }
.lyt-visually-hidden { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }