/*
Theme Name: Ted Tech Editorial
Author: Ted Tech
Description: Tema editorial personalizado com o visual aprovado para o Ted Tech, categorias, busca, transparência editorial e vídeos complementares.
Version: 1.2.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ted-tech
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
body.admin-bar .header{top:32px}.tedtech-pagination{margin:0 0 40px;display:flex;gap:12px}.tedtech-pagination a,.tedtech-pagination span{padding:8px 13px;background:#f1f7fc;border-radius:4px}.article-body .wp-block-image img{height:auto}.plain-page>.wp-block-group{margin-top:24px}.search-field .button-primary{border:0;flex-shrink:0} @media(max-width:782px){body.admin-bar .header{top:46px}} @media(max-width:600px){body.admin-bar .header{top:0}.search-field .button-primary{padding:13px 12px;font-size:11px}}

.structure-step{display:flex;gap:16px;padding:21px 0;border-bottom:1px solid #e4ebf2}.structure-step>span{font-size:12px;font-weight:800;color:#0589fe;padding-top:3px}.structure-step h3{font-size:17px;margin:0 0 6px;line-height:1.35}.structure-step p{font-size:12px;line-height:1.7;color:#68768a;margin:0}.structure-note{font-size:11px;color:#748195;margin-top:20px}.structure-empty{min-height:230px;color:#697688}.structure-empty .button-primary{margin-top:15px}.hero-card .button-primary{margin-top:6px;font-size:11px;background:#fff;color:#10253b}.topic-icon{font-size:26px;line-height:1} @media(max-width:760px){.structure-step{padding:17px 0}.structure-sidebar .section-heading{margin-bottom:0}.structure-empty{min-height:190px}}

.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.publication-note{display:flex;gap:20px;align-items:baseline;border-top:1px solid #e4ebf2;border-bottom:1px solid #e4ebf2;padding:18px 0;margin:-15px 0 45px;font-size:12px;color:#667386}.publication-note strong{color:#142238;white-space:nowrap}.publication-note p{margin:0}.publication-note a{color:#0069c8;text-decoration:underline;text-underline-offset:3px}.category-empty{border:1px solid #e0e8f0;border-radius:8px;background:#f7fafc;max-width:860px;padding:30px 34px;margin:0 0 32px}.category-empty h2{font-size:24px;line-height:1.3;letter-spacing:-.4px;margin:12px 0}.category-empty p{max-width:680px;font-size:14px;line-height:1.8;color:#607084}.category-empty .empty-status{font-size:12px;color:#6b7787;border-top:1px solid #e1e8ee;padding-top:17px;margin-top:22px}.topic-crosslinks{display:flex;gap:24px;flex-wrap:wrap;align-items:center;padding:0 0 55px;font-size:12px}.topic-crosslinks span{color:#6b7787}.topic-crosslinks a{color:#0069c8;font-weight:700}.plain-page>p,.plain-page>ul{color:#536277;font-size:15px;line-height:1.85}.plain-page a{color:#0069c8;text-decoration:underline;text-underline-offset:3px}.plain-page h2{font-size:25px;line-height:1.3;letter-spacing:-.4px;margin:30px 0 12px}.plain-page h3{font-size:19px}.policy-date{color:#718096;font-size:12px!important;margin:0 0 26px}.plain-page .contact-link{font-size:20px;font-weight:700;overflow-wrap:anywhere}.editorial-videos{background:#111e32;color:#fff;padding:36px 0 42px;margin-top:4px}.editorial-videos .section-heading{border-color:#35445a;margin-bottom:13px}.editorial-videos .eyebrow{color:#8dcaff}.editorial-videos .small-link{color:#fff}.videos-intro{color:#bfccdc;font-size:13px;line-height:1.8;max-width:760px;margin:0 0 23px}.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.video-embed{aspect-ratio:16/9;width:100%;overflow:hidden;border-radius:7px;background:#172c45;position:relative}.video-embed iframe{width:100%;height:100%;border:0;display:block}.video-load{border:1px solid #3c5875;border-radius:7px;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;padding:24px;color:#fff;background:radial-gradient(ellipse at 75% 0,#15548c,transparent 70%),linear-gradient(145deg,#102237,#1c3859);text-align:center;transition:background .2s}.video-load:hover{background:radial-gradient(ellipse at 75% 0,#216eaa,transparent 70%),linear-gradient(145deg,#102237,#1c3859)}.video-play{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#0f2d4a;padding-left:3px;font-size:18px}.video-load strong{font-size:13px;line-height:1.5;font-weight:700}.video-load small{font-size:10px;color:#c8d6e6}.video-item h3{font-size:15px;line-height:1.5;margin:13px 0 6px;max-width:540px}.video-watch{color:#b2d9ff;text-decoration:underline;text-underline-offset:3px;font-size:11px}.video-consent{font-size:11px;line-height:1.8;color:#abbcd0;margin:21px 0 0;max-width:850px}.video-consent a{color:#d5e9ff;text-decoration:underline;text-underline-offset:3px}.video-embed.short-format{aspect-ratio:9/16;max-width:280px;margin:auto}.footer-links{justify-content:flex-end;max-width:600px}.article-body table{border-collapse:collapse;width:100%;font-size:13px;margin:20px 0}.article-body th,.article-body td{padding:12px;border:1px solid #dae3ed;text-align:left;vertical-align:top;overflow-wrap:anywhere}.article-body th{background:#f1f7fc;color:#142238}.article-body .wp-block-table{overflow-x:auto}.article-body iframe{max-width:100%}.article-body,.plain-page{overflow-wrap:break-word}.header-tools .icon-button{min-width:40px;min-height:40px}.small-link{white-space:normal}.footer-bottom{line-height:1.7}
@media(max-width:760px){.topline .container>span{max-width:62%;font-size:7px;line-height:1.45}.publication-note{display:block;margin:-8px 0 31px;padding:17px 0;font-size:12px}.publication-note p{margin:5px 0 0}.category-empty{padding:23px 20px}.category-empty h2{font-size:23px}.category-empty p{font-size:13px}.topic-crosslinks{gap:17px;font-size:12px;padding-bottom:35px}.topic-crosslinks span{flex-basis:100%}.video-grid{grid-template-columns:1fr;gap:27px}.editorial-videos{padding:29px 0 32px}.editorial-videos .section-heading{align-items:flex-start}.editorial-videos .section-heading h2{font-size:21px}.editorial-videos .small-link{font-size:10px}.video-load{padding:17px}.video-item h3{font-size:15px}.video-consent{font-size:11px}.footer-links{justify-content:flex-start}.plain-page .contact-link{font-size:17px}.structure-step h3{font-size:18px}.structure-step p{font-size:13px}.article-body th,.article-body td{padding:9px;font-size:12px}}
@media(max-width:360px){.container{width:calc(100% - 28px)}.intro h1{font-size:36px}.hero-copy{padding:21px}.hero-copy h2{font-size:26px}.topic{padding:16px 10px;gap:8px}.topic small{font-size:8px}.video-play{width:43px;height:43px}.video-load strong{font-size:12px}.video-load small{font-size:9px}}

.editorial-avatar{width:42px;height:42px;border:1px solid #e1e8ef;background:#fff;overflow:hidden;position:relative;flex-shrink:0}.editorial-avatar img{position:absolute;width:114px;max-width:none;left:-36px;top:-11px;height:auto}.author-name{color:#142238}.article-byline .author-name:hover{text-decoration:underline}
/* Preserve the logo aspect ratio when HTML dimension attributes are present. */
.brand-symbol img{height:auto}
/* Keep the full product visible in the main article image. */
.article-image img{object-fit:contain;background:#fff}

/* A sidebar is shown only when there are additional published articles. */
.hero-grid--single{grid-template-columns:minmax(0,1fr)}
.side-story--text{grid-template-columns:minmax(0,1fr)}


/* Real local video previews; player remains click-to-load. */
.video-load{position:relative;isolation:isolate;overflow:hidden}
.video-load .video-thumbnail{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.video-load .video-thumbnail[hidden],.video-thumbnail-fallback[hidden]{display:none}
.video-load::before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,19,33,.86),rgba(8,19,33,.12) 85%);z-index:-1;pointer-events:none}
.video-load .video-play,.video-load>strong,.video-load>small{position:relative}
.video-load .video-play{box-shadow:0 2px 14px rgba(0,0,0,.25)}
.video-load>strong,.video-load>small{color:#fff;background:rgba(8,19,33,.88);padding:2px 7px;border-radius:3px;text-shadow:0 1px 4px rgba(0,0,0,.8)}
.video-thumbnail-fallback{position:absolute;top:9px;left:11px;max-width:calc(100% - 22px);font-size:10px;line-height:1.4;color:#d5e9ff}
.video-thumbnail-missing::before{display:none}