/*
Theme Name: Moara Artiștilor — Native
Author: Asociația Pro Teatru
Description: Temă ușoară cu arhiva originală păstrată și fonturile Pro Teatru.
Version: 1.4.0
Requires PHP: 7.4
Text Domain: moara-native
*/
@font-face{font-family:Indivisible;src:url(fonts/Indivisible-Regular.woff) format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Indivisible;src:url(fonts/Indivisible-RegularItalic.woff) format('woff');font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:Indivisible;src:url(fonts/Indivisible-Medium.woff) format('woff');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Indivisible;src:url(fonts/Indivisible-SemiBold.woff) format('woff');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Indivisible;src:url(fonts/Indivisible-Bold.woff) format('woff');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Indivisible;src:url(fonts/Indivisible-Black.woff) format('woff');font-weight:900;font-style:normal;font-display:swap}
:root{--ink:#101010;--body:#ececec;--muted:#b4b4b4;--gold:#f0c433;--paper:#1c1c1c;--line:#383838;--width:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--body);background:var(--ink);font:400 16px/1.65 Indivisible,Raleway,system-ui,sans-serif}a{color:inherit;text-underline-offset:4px}img{display:block;max-width:100%;height:auto}figure{margin:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:900;color:#fff;line-height:1.18;letter-spacing:-.02em}h1{font-size:clamp(32px,4vw,56px)}h2{font-size:clamp(28px,3vw,40px)}h3{font-size:24px}button,input{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #d4a80f;outline-offset:5px}.wrap{width:min(var(--width),calc(100% - 64px));margin-inline:auto}.skip{position:fixed;left:15px;top:-100px;z-index:1000;background:var(--gold);padding:12px}.skip:focus{top:10px}
.site-header{position:sticky;top:0;z-index:20;background:var(--ink);border-bottom:1px solid var(--line)}.admin-bar .site-header{top:32px}.header-inner{width:min(1320px,calc(100% - 64px));margin:auto;min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:32px}.wordmark{display:block;flex-shrink:0;width:64px;text-decoration:none}.wordmark img{width:auto;max-height:64px;margin:auto}nav{display:flex;align-items:center;justify-content:flex-end;gap:25px}nav>a{font-size:11px;letter-spacing:.06em;text-transform:uppercase;font-weight:700;text-decoration:none;line-height:1.5;padding:10px 0}nav>a:hover,nav>a[aria-current=page]{text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:3px}.menu-toggle{display:none}
.native-content{font-size:17px;overflow-wrap:break-word}.ma-section{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 40px;align-items:start;padding:60px 0;border-bottom:1px solid var(--line)}.ma-section>.ma-heading,.ma-section>.ma-prose,.ma-section>.ma-gallery{grid-column:1/-1}.ma-section>.ma-group:only-child{grid-column:1/-1}.ma-group{min-width:0}.ma-group>.ma-group{margin-bottom:24px}.ma-heading{font-size:clamp(26px,2.7vw,36px);margin:0 0 22px;max-width:32ch}.ma-heading a{text-decoration:none}.ma-heading a:hover{text-decoration:underline;text-decoration-color:var(--gold)}p.ma-heading{font-size:21px;line-height:1.55;font-weight:500;max-width:65ch}.ma-prose{max-width:72ch}.ma-prose p{margin-bottom:1.15em}.ma-prose p:empty{display:none}.ma-prose .emoji{display:inline;width:1em}.ma-figure{margin-bottom:20px}.ma-figure img{width:100%;height:auto;max-height:600px;object-fit:contain;background:transparent}.ma-figure figcaption{font-size:12px;color:var(--muted);padding-top:8px}.ma-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.ma-photo{display:block;overflow:hidden;background:var(--paper)}.ma-photo img{width:100%;height:245px;object-fit:contain;transition:transform .24s}.ma-photo:hover img{transform:scale(1.025)}.ma-video a{display:block;text-decoration:none}.ma-video img{width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--paper)}.ma-video span{display:block;background:var(--gold);padding:14px 18px;font-size:15px;font-weight:700}hr{border:0;border-top:1px solid var(--line);margin:28px 0}.native-content iframe{max-width:100%}
/* The opening uses the exact original introduction, logo, rendering and gallery. */
.home-story{padding-top:0}.home-story>.ma-section:first-child{position:relative;isolation:isolate;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px 48px;align-items:start;padding:48px 0 32px;border:0;color:white}.home-story>.ma-section:first-child::before{content:'';position:absolute;inset:0 calc((min(var(--width),100vw - 64px) - 100vw)/2);background:var(--ink);z-index:-1}.home-story>.ma-section:first-child>.ma-figure:first-child{grid-column:2;grid-row:1 / span 3;align-self:start;margin:0}.home-story>.ma-section:first-child>.ma-figure:first-child img{max-height:390px;width:100%;object-fit:contain;background:transparent}.home-story>.ma-section:first-child>.ma-figure:nth-child(2){grid-column:1;grid-row:1;max-width:64px;margin:0;padding:0;background:transparent;justify-self:start}.home-story>.ma-section:first-child>.ma-figure:nth-child(2) img{max-height:76px;width:auto;object-fit:contain;background:transparent}.home-story>.ma-section:first-child>.ma-heading{grid-column:1;grid-row:2;font-size:clamp(25px,2.2vw,32px);line-height:1.3;font-weight:700;letter-spacing:-.02em;color:white;max-width:34ch;margin:0}.home-story>.ma-section:first-child>.ma-prose{grid-column:1;grid-row:3;font-size:15px;line-height:1.6;color:#b4b4b4;margin:0}.home-story>.ma-section:first-child>.ma-prose p{margin:0}.home-story>.ma-section:first-child>.ma-gallery{grid-column:1/-1;grid-row:4;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0 0}.home-story>.ma-section:first-child>.ma-gallery .ma-photo{background:#1c1c1c}.home-story>.ma-section:first-child>.ma-gallery img{height:135px;object-fit:contain}.home-story>.ma-section:nth-child(4){grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.home-story>.ma-section:nth-child(4) .ma-heading{font-size:21px;margin:14px 0}.home-story>.ma-section:nth-child(4) .ma-figure{margin:0}.home-story>.ma-section:nth-child(4) .ma-figure img{aspect-ratio:1;object-fit:cover}.home-story>.ma-section:nth-child(4)>.ma-group{border-bottom:3px solid var(--gold);padding-bottom:12px}
.page-hero{padding-block:48px 20px}.page-hero h1{max-width:26ch;margin-bottom:20px}.breadcrumb{display:inline-block;font-size:12px;text-decoration:none;margin-bottom:28px}.section-label,.date{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.single-story{max-width:800px;padding-bottom:64px;font-size:18px}.single-story img{margin-block:24px}.single-story p{margin-bottom:1.4em}
.news{padding-block:64px}.news>h1{font-size:36px;margin-bottom:32px}.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 40px}.news-grid article{padding:24px 0;border-top:2px solid var(--gold)}.news-grid h3{font-size:25px;line-height:1.25;margin-bottom:16px}.news-grid h3 a{text-decoration:none}.news-grid h3 a:hover{text-decoration:underline}.news-grid article>p{font-size:15px;color:var(--muted)}.text-link{font-size:12px;font-weight:700;text-decoration:none}.text-link:hover{text-decoration:underline}.search-original{border-top:1px solid var(--line);padding-top:28px;margin-top:32px;max-width:720px}.search-original h2,.search-original>label{font-size:12px;letter-spacing:.06em}.search-form{margin:16px 0 24px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.search-field{padding:10px;border:1px solid var(--line);max-width:100%}.search-submit{padding:11px 18px;border:0;background:var(--gold);cursor:pointer}.search-original li{margin-bottom:10px;font-size:14px}
.site-footer{background:var(--paper);padding:36px 0 28px;border-top:1px solid var(--line)}.credits{font-size:12px;color:var(--muted)}.credits>p{max-width:1000px;line-height:1.7}.project-logos{background:white;padding:16px 24px;margin-bottom:24px}.project-logos img{width:100%;max-height:100px;object-fit:contain}.footer-bottom{display:flex;flex-wrap:wrap;gap:20px;margin-top:20px;font-size:11px}.lightbox{border:0;background:var(--ink);color:white;max-width:95vw;max-height:95vh;padding:48px 20px 20px}.lightbox::backdrop{background:#000d}.lightbox img{max-height:76vh;width:auto;margin:auto}.close-lightbox{position:absolute;right:18px;top:10px;background:transparent;border:0;color:white;cursor:pointer}.lightbox>a{display:block;text-align:center;font-size:12px;padding-top:12px}
@media(max-width:1000px){nav{gap:15px}nav>a{font-size:10px}.header-inner{gap:20px}.home-story>.ma-section:first-child{gap:18px 30px}.home-story>.ma-section:first-child>.ma-heading{font-size:26px}.home-story>.ma-section:nth-child(4){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){html{scroll-padding-top:90px}.wrap{width:calc(100% - 36px)}.header-inner{width:calc(100% - 36px);min-height:72px}.wordmark{width:52px}.wordmark img{max-height:54px}.menu-toggle{display:flex;align-items:center;gap:12px;padding:8px 13px;border:1px solid var(--line);background:var(--paper);color:white;border-radius:99px;font-size:12px}nav{display:none;position:absolute;top:100%;left:0;right:0;padding:16px 18px;background:var(--ink);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0}nav.is-open{display:flex}nav>a{font-size:12px;padding:12px 0}.ma-section{grid-template-columns:1fr;gap:18px;padding-block:36px}.ma-section>*{grid-column:1!important}.ma-heading{font-size:28px}.ma-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ma-photo img{height:170px}.home-story>.ma-section:first-child{display:flex;flex-direction:column;gap:22px;padding:28px 0}.home-story>.ma-section:first-child::before{inset-inline:-18px}.home-story>.ma-section:first-child>.ma-figure:nth-child(2){order:0;max-width:50px}.home-story>.ma-section:first-child>.ma-heading{order:1;font-size:26px;line-height:1.32;max-width:100%}.home-story>.ma-section:first-child>.ma-figure:first-child{order:2;width:100%}.home-story>.ma-section:first-child>.ma-figure:first-child img{max-height:none}.home-story>.ma-section:first-child>.ma-prose{order:3;font-size:14px}.home-story>.ma-section:first-child>.ma-gallery{order:4;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.home-story>.ma-section:first-child>.ma-gallery img{height:115px}.home-story>.ma-section:nth-child(4){grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.home-story>.ma-section:nth-child(4) .ma-heading{font-size:18px}.news{padding-block:40px}.news-grid{grid-template-columns:1fr;gap:10px}.news-grid h3{font-size:23px}.page-hero{padding-top:30px}.page-hero h1{font-size:34px}.single-story{font-size:17px}.project-logos{padding:12px}.project-logos img{max-height:none}.site-footer{padding-block:25px}.credits{font-size:11px}}
@media(max-width:782px){.admin-bar .site-header{top:46px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}

/* Keep one typography system even when the old builders remain installed. */
body.ma-native,body.ma-native main,body.ma-native main p,body.ma-native main h1,body.ma-native main h2,body.ma-native main h3,body.ma-native main h4,body.ma-native main a,body.ma-native main span,body.ma-native main li,body.ma-native header,body.ma-native footer,body.ma-native button,body.ma-native input{font-family:Indivisible,Raleway,system-ui,sans-serif!important}
body.ma-native{background:#101010!important;color:#ececec!important}
.ma-native .ma-prose{color:#d9d9d9}.ma-native .ma-prose h2,.ma-native .ma-prose h3,.ma-native .ma-prose h4{color:#fff}.ma-native .ma-prose a{color:#f0c433}.ma-native .ma-prose strong{color:#fff}
.ma-native .site-header{background:#101010}.ma-native nav>a{color:#ececec}.ma-native .site-footer{background:#1c1c1c;color:#b4b4b4}.ma-native .ma-heading{color:#fff}.ma-native .news-grid h3{color:#fff}.ma-native .page-hero h1,.ma-native .news>h1,.ma-native .search-original h2{color:#fff}
.ma-native .search-field{background:#1c1c1c;color:#fff}.ma-native .search-submit{color:#101010;background:#f0c433}.ma-native .ma-video span{color:#101010}.ma-native .project-logos{border-radius:0}
.ma-native .home-story>.ma-section:first-child>.ma-heading{font-size:clamp(25px,2.2vw,32px);font-weight:700;line-height:1.3}.ma-native .home-story>.ma-section:first-child>.ma-figure:nth-child(2){padding:0;background:none;max-width:64px}.ma-native .home-story>.ma-section:first-child>.ma-figure:nth-child(2) img{background:transparent}
