/*
Theme Name: EFG TV Company
Description: Custom eight-section corporate website preview for EFG TV Company.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: efg-tv-company
*/
*{box-sizing:border-box}body{margin:0;background:#06182b;color:#fff;font:16px Arial,sans-serif}header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px 5%;background:#07182b;border-bottom:1px solid #406174}header img{width:190px}nav{display:flex;gap:12px}a,button{color:#f5ce78}button,.btn{background:#102e43;border:1px solid #d5b56b;border-radius:5px;padding:12px 20px;text-decoration:none;cursor:pointer;font:inherit;display:inline-block}.primary{background:#f5ce78;color:#07182b;font-weight:bold}.splash{width:100%;display:block}.center{text-align:center;padding:24px}main{max-width:1200px;margin:auto;padding:24px}h1,h2{color:#f5ce78}h1{font-size:clamp(28px,4vw,52px)}h2{border-bottom:1px solid #426275;padding-bottom:12px;margin-top:38px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}article,.feature{background:#15324c;border-radius:10px;overflow:hidden}article img{width:100%;height:210px;object-fit:cover}article div,.feature{padding:22px}p{color:#d1e2ed;line-height:1.5}.feature img{max-width:260px;width:100%}.green{background:#17443f}footer{text-align:center;padding:30px;border-top:1px solid #426275}[hidden]{display:none!important}@media(max-width:600px){.grid{grid-template-columns:1fr}header img{width:145px}button,.btn{padding:9px 12px}}
.feature .learning-banner{max-width:none;width:100%;max-height:300px;object-fit:cover;border-radius:8px}.feature article img,.feature article svg{width:100%;height:210px;object-fit:cover;display:block}.feature.green{margin-bottom:18px}article img{height:auto;aspect-ratio:16/9;object-fit:contain;background:#071a30}article h3{color:#f5ce78}.splash{max-height:none}nav button:focus-visible,a:focus-visible{outline:3px solid #6ce8cb}.learnhero{display:grid;grid-template-columns:1fr 1.2fr;align-items:center;gap:40px;padding:55px 7%;background:linear-gradient(125deg,#e7fbf7,#fff4ce);color:#103c50}.learnhero h1{color:#103c50;margin:12px 0}.learnhero p{color:#234d59;font-size:19px}.learnlogo{width:100%;border-radius:22px;box-shadow:0 12px 35px #103c5022}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:2px;color:#16877d}.learnmain h2{color:#6ce8cb}.learnmain article{border:1px solid #426275}.learnmain article h3{font-size:23px}.status{color:#9de2d6;font-size:14px}.watch{display:grid;grid-template-columns:minmax(180px,320px) 1fr;gap:32px;align-items:center;background:#153b48;padding:24px;border-radius:15px}.watch video{width:100%;max-height:450px;background:#06182b;border-radius:10px}.watch h3{font-size:30px;color:#f5ce78}.watch .eyebrow{color:#6ce8cb}.resources article{border-top:4px solid #6ce8cb}.resources article:nth-child(2n){border-top-color:#f5ce78}.pathway{background:#17443f;padding:24px;border-radius:12px;margin-top:28px}.pathway h2{margin-top:0}@media(max-width:650px){.learnhero,.watch{grid-template-columns:1fr}.learnhero{padding:24px;gap:20px}nav{flex-wrap:wrap}}
#about{max-width:1240px;margin:auto;padding:24px 18px 50px;color:#fff}#about .abhero{position:relative;overflow:hidden;border-radius:24px;min-height:420px;display:flex;align-items:center;padding:clamp(24px,6vw,80px);background:linear-gradient(90deg,#06182b 5%,#06182be8 38%,#06182b33 100%);isolation:isolate;border:1px solid #b99450}#about .abhero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}#about .abhero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#06182b 0%,#06182be8 35%,#06182b22 100%);z-index:-1}#about .abhero div{max-width:650px}#about h1{font-size:clamp(36px,6vw,76px);line-height:1.04;margin:18px 0;color:#f5ce78}#about h2{font-size:clamp(24px,3vw,38px);color:#f5ce78;margin:42px 0 16px}#about p{line-height:1.65;color:#dce9ef}#about .eyebrow{color:#6ce8cb;letter-spacing:3px;font-size:12px;font-weight:bold}#about .abgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}#about .abcard{background:#102b43;border:1px solid #35536a;border-radius:16px;overflow:hidden;padding:20px}#about .abcard img{width:100%;height:190px;object-fit:cover;border-radius:10px}#about .abcard h3{color:#f5ce78;margin:12px 0}#about .abtimeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}#about .abtimeline article{border-left:3px solid #6ce8cb;background:#102b43;padding:18px;border-radius:0 12px 12px 0}#about .abtimeline strong{font-size:28px;color:#f5ce78}#about .abcenter{text-align:center;background:radial-gradient(ellipse at top,#194a61,#081d32);border:1px solid #b99450;border-radius:20px;padding:28px;margin:24px 0}#about .abcenter img{max-width:230px;width:100%;border-radius:12px}#about .ablink{display:inline-block;padding:12px 20px;border-radius:24px;background:#f5ce78;color:#06182b;font-weight:bold;text-decoration:none;border:0;cursor:pointer}#about .abmuted{font-size:13px;color:#a8c4d3}

/* Center artwork within its own layout cell, preserving the existing layout. */
img { display:block; margin-inline:auto; object-position:50% 50%; max-width:100%; }
header img { margin-inline:0; }
article img, .feature article img, #about .abcard img, #about .ab-history img, #partners article img, #learning .world img, .feature .learning-banner { object-fit:contain; object-position:center; background:#071a30; }
#about .abhero>img { object-position:center; }
#learning .book img { margin-inline:auto; flex-shrink:0; }
#learning .studio img, #learning .magic-logo, #about .abcenter img, #partners .ph>img, .splash { margin-inline:auto; object-position:center; }
video { display:block; margin-inline:auto; object-position:center; }
