*{box-sizing:border-box}body{margin:0;background:#f6f8fc;color:#1d293b;font:16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit}.wrap{max-width:1100px;margin:auto;padding:0 22px}.header{background:#1466bd;color:white}.nav{min-height:72px;display:flex;justify-content:space-between;align-items:center;gap:16px}.brand{font-weight:800;font-size:26px;text-decoration:none}.nav nav{display:flex;align-items:center;gap:20px}.nav a{text-decoration:none}.nav select{padding:9px;border:0;border-radius:6px}.hero{background:#351923;color:#fff;padding:78px 0 90px}.center{text-align:center}.hero h1{font-size:clamp(29px,4vw,46px);line-height:1.2;margin:0 0 14px}.hero p{color:#eedfe4}.converter{display:flex;gap:12px;max-width:800px;margin:32px auto 0}.converter input{flex:1;min-width:0;border:0;border-radius:8px;padding:18px;font-size:16px}.converter button,.result button,.download{background:#0000;color:white;border:0;border-radius:8px;padding:16px 25px;font-weight:700;cursor:pointer}.result{background:white;color:#1c2736;border-radius:12px;padding:24px;margin:22px auto 0;max-width:700px;text-align:left;display:flex;gap:20px;align-items:start}.result[hidden],*[hidden]{display:none!important}.result img{width:180px;max-width:35%;border-radius:8px}.result select{padding:12px;margin:8px}.download{display:inline-block;text-decoration:none;margin:12px}.error{background:#ffe0e0;color:#8a1111;padding:12px;border-radius:8px;max-width:700px;margin:20px auto}.article{background:white;border-radius:12px;padding:32px;margin:34px 0;box-shadow:0 3px 20px #1d293b0a}.article h2{line-height:1.3}.article img{max-width:100%;height:auto}details{padding:16px;border-bottom:1px solid #e5e7eb}summary{cursor:pointer;font-weight:650}footer{background:#101b2e;color:#dbe4f0;padding:30px 0;margin-top:50px}@media(max-width:680px){.nav{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.nav nav{gap:10px;flex-wrap:wrap;font-size:13px}.hero{padding:55px 0}.converter{flex-direction:column}.result{flex-direction:column}.result img{max-width:100%}.article{padding:20px}}
.header{background:var(--header,#174c99)}.hero{background:var(--hero,#490e24)}footer{background:var(--footer,#101d37)}.converter button,.download{background:var(--primary,#2563eb)}
/* =====================================
   YTMP4 - RESPONSIVE ARTICLE TABLE
   Desktop + Tablet + Mobile
===================================== */

.article {
    min-width: 0;
    max-width: 100%;
}

/* Desktop table */
.article table {
    display: table;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.6;
    background: #ffffff;
}

/* Table headings and cells */
.article table th,
.article table td {
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid #dbe3ed;
    text-align: left;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

/* Header */
.article table th,
.article table thead td {
    background: #edf3fc;
    color: #172033;
    font-weight: 700;
}

/* Alternate rows */
.article table tbody tr:nth-child(even) {
    background: #f8fafc;
}

/* Hover */
@media (hover: hover) {
    .article table tbody tr:hover {
        background: #eff6ff;
    }
}

/* Tablet */
@media screen and (max-width: 768px) {
    .article table {
        font-size: 13px;
    }

    .article table th,
    .article table td {
        padding: 10px 8px;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .article {
        padding: 16px;
        min-width: 0;
    }

    .article table {
        display: table;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        font-size: 15px;
        line-height: 1.45;
    }

    .article table th,
    .article table td {
        min-width: 0 !important;
        padding: 8px 5px;
        font-size: 15px;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .article table img {
        max-width: 100%;
        height: auto;
    }
}
/* Independently editable theme variables; FAQs are always expanded text-only cards. */
body{background:var(--page-background,#f6f8fc);color:var(--paragraph,#374151)}
.header{color:var(--header-text,#ffffff)}.header a{color:inherit}.nav select{background:var(--language-background,#fff);color:var(--language-text,#111827)}
.hero{color:var(--hero-text,#fff)}.hero p{color:inherit;opacity:.85}
.article{background:var(--article-background,#fff);color:var(--paragraph,#374151)}
.article h2,.article h3{color:var(--heading,#111827)}.article a{color:var(--link,#2563eb)}
.converter input{background:var(--input-background,#fff);color:var(--input-text,#111827);border:1px solid var(--input-border,#cbd5e1)}
.converter button,.download,.result button{color:var(--button-text,#fff)}.converter button:hover,.download:hover,.result button:hover{background:var(--button-hover,#1d4ed8)}
footer{color:var(--footer-text,#dbe4f0)}
.faq-section{background:var(--faq-section-background,#fff)}
.faq-card{background:var(--faq-card-background,#fff);border:1px solid var(--faq-border,#e5e7eb);border-radius:12px;padding:22px 24px;margin:14px 0;box-shadow:0 2px 12px rgba(15,23,42,.035)}
.faq-card h3{color:var(--faq-question,#111827);font-size:1.1rem;margin:0 0 8px;line-height:1.4}
.faq-card p{color:var(--faq-answer,#475569);margin:0;line-height:1.75;white-space:pre-line}
@media(max-width:680px){.faq-card{padding:18px}} 
/* YTMP4 - White Download Buttons */
.converter button,
.result button,
.download {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 16px 25px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Button Hover */
.converter button:hover,
.result button:hover,
.download:hover {
    background: #e5e7eb !important;
    color: #000000 !important;
}


/* Colorful YTMP4 frontend - 2026. Existing admin theme controls remain functional. */
:root{--rainbow:linear-gradient(115deg,#7137f4 0%,#d83dbe 56%,#ff9561 100%)}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.7}
.header{box-shadow:0 2px 20px #4b24751a;position:relative;z-index:4}
.nav{min-height:78px}.nav nav{gap:24px}.nav a{font-weight:650}.nav a:hover{opacity:.75}
.nav #language{border-radius:999px!important;padding:11px 15px!important;border:1px solid #ffffff55!important;font-weight:650;max-width:180px}
.hero{position:relative;isolation:isolate;overflow:hidden;padding:82px 0 96px!important}
.hero:before,.hero:after{content:"";position:absolute;z-index:-1;border-radius:50%;pointer-events:none}
.hero:before{width:440px;height:440px;top:-260px;left:-130px;background:#ffffff20}
.hero:after{width:380px;height:380px;bottom:-260px;right:-70px;background:#ffffff17}
.hero .wrap{max-width:1060px}.hero-eyebrow{display:inline-block;background:#ffffffed;color:#863dd4;padding:7px 19px;border-radius:999px;font-weight:800;font-size:12px;letter-spacing:.1em;margin-bottom:24px}
.hero h1{font-size:clamp(31px,4.8vw,57px);letter-spacing:-.035em;font-weight:850;max-width:900px;margin:0 auto 17px;line-height:1.13}
.hero p{max-width:760px;margin:0 auto;font-size:clamp(15px,1.8vw,18px);line-height:1.7}
.converter{background:#fff;padding:10px;border-radius:20px;box-shadow:0 24px 60px #3910623d;max-width:820px;align-items:center;gap:6px;margin-top:33px;position:relative}
.converter .input-icon{font-size:20px;margin-left:13px}.converter input{padding:17px 12px!important;box-shadow:none!important;border:0!important;outline-offset:2px;min-height:54px;border-radius:12px!important}
.converter button{border-radius:13px!important;padding:17px 26px!important;white-space:nowrap;min-height:54px;box-shadow:0 7px 20px #6129bb40;transition:transform .2s,filter .2s}
.converter button:hover{transform:translateY(-2px);filter:brightness(1.08)}
.hero-benefits{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 26px;margin:24px auto 0;color:#fff;font-size:13px;font-weight:650}
.hero-benefits span{background:#ffffff1c;border:1px solid #ffffff30;border-radius:30px;padding:7px 13px}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:-42px 0 35px;position:relative;z-index:2}
.feature-card{background:#fff;border-radius:20px;text-align:center;padding:28px 18px;box-shadow:0 12px 35px #351c6b13;border:1px solid #eee8f8}
.feature-card .feature-icon{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;margin:0 auto 12px;font-size:25px}
.feature-card.violet .feature-icon{background:#efe5ff;color:#7137f4}.feature-card.pink .feature-icon{background:#ffe6f2;color:#d83d92}.feature-card.cyan .feature-icon{background:#def9fa;color:#00a0b0}
.feature-card h3{font-size:17px;line-height:1.3;margin:0 0 5px;color:#262042}.feature-card p{font-size:13px;margin:0;color:#6d6680}
.article{border-radius:22px;padding:clamp(22px,4vw,46px);box-shadow:0 10px 38px #25114a0d;border:1px solid #eeeaf4;overflow-wrap:anywhere}
.article h2{font-size:clamp(23px,3vw,32px);letter-spacing:-.02em}.article h3{font-size:clamp(19px,2vw,23px)}
.article a{color:var(--link,#793bf2)}.article img{display:block;max-width:100%;height:auto;margin:20px auto;border-radius:14px}
.faq-card{padding:18px 20px;margin:12px 0;border:1px solid var(--faq-border,#e8def7);border-radius:14px}.faq-card h3{margin:0 0 8px;font-size:17px}.faq-card p{margin:0}
.result{border-radius:18px;box-shadow:0 14px 35px #1b14352b;max-width:820px}.result button,.download{border-radius:11px}
footer{margin-top:55px;padding:38px 0}footer a{margin-right:14px}
@media(max-width:680px){.hero{padding:60px 0 75px!important}.hero-eyebrow{font-size:10px;padding:7px 12px}.converter{flex-direction:column;align-items:stretch;padding:10px}.converter .input-icon{display:none}.converter input{width:100%;border:1px solid #e4ddf3!important;padding:14px!important}.converter button{width:100%}.hero-benefits{gap:7px}.hero-benefits span{font-size:11px;padding:6px 9px}.feature-grid{grid-template-columns:1fr;gap:10px;margin-top:-30px}.feature-card{display:flex;text-align:left;align-items:center;gap:14px;padding:14px 18px}.feature-card .feature-icon{margin:0;flex:none;width:46px;height:46px}.feature-card h3{font-size:15px}.article{margin-top:20px}.nav nav{gap:10px}}
