/*
Theme Name: THEMA MATRIX
Theme URI: https://rank-matrix.com/
Author: MATRIX
Description: Lightweight, accessible and responsive WordPress and WooCommerce theme for Page Builder MATRIX. No third-party frontend frameworks.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: thema-matrix
License: GPL-2.0-or-later
Tags: e-commerce, custom-logo, full-width-template, accessibility-ready, featured-images
*/
:root{--matrix-width:1200px;--matrix-text:#17181c;--matrix-muted:#667085;--matrix-border:#e5e7eb;--matrix-bg:#fff;--matrix-accent:#3659c9}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;color:var(--matrix-text);background:var(--matrix-bg);font:400 16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
img,video,svg{max-width:100%;height:auto}
a{color:var(--matrix-accent);text-underline-offset:.15em}
button,input,select,textarea{font:inherit}
:focus-visible{outline:2px solid var(--matrix-accent);outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{width:auto;height:auto;clip:auto;top:8px;left:8px;padding:12px;background:#fff;z-index:999999}
.matrix-shell{min-height:100vh;display:flex;flex-direction:column}
.matrix-content{width:min(var(--matrix-width),calc(100% - 40px));margin-inline:auto;padding-block:44px;flex:1;min-width:0}
.matrix-header{border-bottom:1px solid var(--matrix-border)}
.matrix-footer{border-top:1px solid var(--matrix-border);padding:20px 0}
.matrix-bar{width:min(var(--matrix-width),calc(100% - 40px));margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}
.matrix-brand{font-size:1.25rem;font-weight:700;text-decoration:none;color:inherit}
.matrix-menu{display:flex;gap:18px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.matrix-menu ul{list-style:none}
.matrix-entry-title{font-size:clamp(2rem,4vw,3.5rem);line-height:1.12;margin:0 0 20px}
.matrix-meta{color:var(--matrix-muted);font-size:.875rem}
.matrix-list{display:grid;gap:28px}
.matrix-card{padding-bottom:24px;border-bottom:1px solid var(--matrix-border)}
.matrix-card h2{margin:0 0 8px}
.matrix-entry-content::after{content:"";display:block;clear:both}
.matrix-entry-content>:first-child{margin-top:0}
.matrix-entry-content>:last-child{margin-bottom:0}
.alignwide{max-width:var(--matrix-width);margin-inline:auto}
.alignfull{max-width:100vw;width:100vw;margin-left:calc(50% - 50vw)}
.woocommerce .matrix-content{--matrix-width:1400px}
body.matrix-builder-page .matrix-content,body.origo-pb-canvas .matrix-content,body.origo-builder-canvas .matrix-content{width:100%;max-width:none;padding:0}
@media(max-width:700px){.matrix-content,.matrix-bar{width:calc(100% - 28px)}.matrix-content{padding-block:28px}.matrix-bar{align-items:flex-start;flex-direction:column}.matrix-menu{gap:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Premium but neutral defaults; MATRIX components retain control of their own styles. */
body:not(.matrix-builder-page) .matrix-entry-content{overflow-wrap:break-word}
.matrix-header{background:#fff}
.matrix-bar{min-height:72px}
.matrix-brand{letter-spacing:-.035em;font-size:1.32rem}
.matrix-header .matrix-menu a{text-decoration:none;color:var(--matrix-text);font-weight:550;font-size:.925rem}
.matrix-header .matrix-menu a:hover,.matrix-header .current-menu-item>a{color:var(--matrix-accent)}
.matrix-footer{color:var(--matrix-muted);background:#fafbfc}
.matrix-footer .matrix-menu a{color:inherit;text-decoration:none}
.matrix-card h2{font-size:clamp(1.35rem,2vw,1.75rem);line-height:1.25}
.matrix-card h2 a{color:inherit;text-decoration:none}
.matrix-card h2 a:hover{color:var(--matrix-accent)}
.matrix-entry-content :where(p,ul,ol){max-width:80ch}
.matrix-entry-content :where(h2,h3,h4){line-height:1.25}
.matrix-entry-content :where(table){display:block;overflow-x:auto;max-width:100%;border-collapse:collapse}
.matrix-entry-content :where(th,td){padding:.65em .85em;border:1px solid var(--matrix-border)}
.matrix-entry-content :where(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;border:1px solid #cfd5df;border-radius:6px;padding:.6em .75em;background:#fff}
.matrix-entry-content :where(button,input[type=submit]){border:0;border-radius:6px;background:var(--matrix-accent);color:#fff;padding:.65em 1.1em}
.matrix-entry-content :where(blockquote){border-left:3px solid var(--matrix-accent);padding-left:1.2em;margin-left:0}
.matrix-entry-content :where(.wp-block-image img){display:block}
.woocommerce .matrix-content{width:min(1400px,calc(100% - 40px))}
@media(max-width:700px){.matrix-header .matrix-menu{gap:12px}.matrix-bar{min-height:0}.woocommerce .matrix-content{width:calc(100% - 28px)}}
