/*
Theme Name: SINCO
Theme URI: https://sinco.lt
Author: Ekodas
Author URI: https://ekodas.com
Description: SINCO blokinė (FSE) tema. Dizainas 1:1 pagal statinę versiją; redaguojama per blokų redaktorių. Lietuvių ir anglų kalbos, CPT „Darbai".
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: Proprietary
Text Domain: sinco
*/

/* ============================================================
   WordPress tiltas.
   Pagrindinis dizainas - assets/css/styles.css (tas pats kaip statinėje).
   Čia tik tai, ką WordPress prideda savo nuo savęs.
============================================================ */

/* Blokų apvalkalai neturi keisti išdėstymo */
.wp-site-blocks{padding:0}
.wp-site-blocks > *{margin-block-start:0}
.wp-block-template-part{margin:0}
.wp-block-post-content{margin:0}

/* Paveikslėlių blokai: be numatytų WordPress paraščių */
figure.wp-block-image{margin:0}
.person-photo .wp-block-image,
.person-photo .wp-block-image img{height:100%}
.badge-lg .wp-block-image img,
.credential-badge .wp-block-image img,
.cert .wp-block-image img{display:block}

/* Sąrašų blokas perrašo numatytą sąrašo paraštę */
ul.wp-block-list{padding-left:0}
.prose ul.wp-block-list{padding-left:0}

/* Statinėje versijoje - inline stiliai; bloke - klasės */
.label-caps{font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:18px}
.wrap.wrap--narrow{max-width:820px}

/* Antraščių hierarchija (SEO/prieinamumas): h4 -> h2/h3 be jokio vizualinio pokyčio.
   Taisyklės - baitas į baitą tos pačios kaip styles.css .site-footer h4 ir .meta-block h4. */
.site-footer .footer-h{color:#fff;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:20px;font-weight:600}
.meta-block .meta-block-h{font-size:.78rem;letter-spacing:.13em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:14px}
.section--ink .meta-block .meta-block-h{color:var(--muted-dark)}
/* Antraštė tik ekrano skaitytuvams ir paieškai - struktūra be vizualinio elemento. */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Kontaktų formos spąstai robotams */
.field-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Redaktoriuje hero video - fonas po tekstu, kaip svetainėje (ne atskiras stulpelis) */
.editor-styles-wrapper .hero{position:relative}
.editor-styles-wrapper .hero>.wp-block-video{position:absolute;inset:0;margin:0;z-index:0}
.editor-styles-wrapper .hero>.wp-block-video video{width:100%;height:100%;object-fit:cover;filter:saturate(.72) brightness(.82) contrast(1.05)}
.editor-styles-wrapper .hero>.wp-block-html,.editor-styles-wrapper .hero>.wp-block-html>.hero-scrim{position:absolute;inset:0;z-index:1;pointer-events:none}
.editor-styles-wrapper .hero>.wrap{position:relative;z-index:3}

/* Redaktoriuje galerijos - panašaus mastelio kaip svetainėje */
.editor-styles-wrapper .wp-block-gallery.logo-track{display:flex;flex-wrap:wrap;gap:24px 40px;align-items:center;justify-content:center}
.editor-styles-wrapper .wp-block-gallery.logo-track .wp-block-image,
.editor-styles-wrapper .wp-block-gallery.logo-grid .wp-block-image{width:auto!important;flex:0 0 auto!important;margin:0!important}
.editor-styles-wrapper .wp-block-gallery.logo-track img{height:40px!important;width:auto!important;object-fit:contain}
.editor-styles-wrapper .wp-block-gallery.logo-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
.editor-styles-wrapper .wp-block-gallery.logo-grid img{max-height:56px!important;width:auto!important;margin:auto;object-fit:contain}
.editor-styles-wrapper .wp-block-gallery.mosaic .wp-block-image img,
.editor-styles-wrapper .wp-block-gallery.gallery .wp-block-image img{aspect-ratio:4/3;object-fit:cover}

/* Redaktoriuje fiksuota antraštė neturi uždengti turinio */
.editor-styles-wrapper .site-header{position:relative}
.editor-styles-wrapper [data-reveal],
.editor-styles-wrapper .reveal{opacity:1;transform:none}
