/* Project microsite theme — the look of the live Transcend project sites (artivistic, nini-yoyo,
   inclusivephotography.verdesur.org), measured from them on 2026-11-10: light grey text (300 weight),
   big logo left with the menu in the top-right corner (thin dividers, green bar on the active item),
   service boxes = picture + light grey text box, dark title band with breadcrumb, full-width text,
   tiled photo galleries, dark strip with the funders' logos. Noto Sans (Verdesur rule) instead of
   Raleway / Open Sans, in the same light weights. Colours: green #89CE40, text #9999AA, headings #556677. */
:root{
  --verde-50:#EEF6E4;--verde-100:#D9EDC2;--verde-200:#BCE093;--verde-400:#9FC748;--verde-600:#6FAE2C;--verde-700:#5E9A24;
  --lima-300:#E4F2A2;--lima-400:#C6E27A;--lima-600:#6FAE2C;
  --sol-400:#A3D65A;--sol-600:#6FAE2C;
  --sand:#EEEEEE;--line:#EEEEEE;--line-strong:#DDDDDD;--body:#9999AA;--muted:#9999AA;--ink:#556677;
  --ts-green:var(--d-brand,#89CE40);--ts-dark:var(--d-ground,#444449);
  --radius-sm:2px;--radius-md:2px;--radius-lg:2px;--radius-xl:2px;--radius-pill:2px;
  --shadow-sm:none;--shadow-md:0 2px 2px rgba(0,0,0,.2);
}
body.theme-microsite{background:#fff;color:#9999AA;font-weight:300;font-size:14px;line-height:1.6}
body.theme-microsite h1,body.theme-microsite h2,body.theme-microsite h3,body.theme-microsite h4{color:#556677;font-weight:400;letter-spacing:0;line-height:1.2}
body.theme-microsite strong,body.theme-microsite b{font-weight:600}
body.theme-microsite .container{max-width:1220px;padding-left:20px;padding-right:20px}

/* ---------- Header: logo left, menu in the top-right corner ---------- */
body.theme-microsite .hdr{position:relative;background:#fff;border-bottom:0;backdrop-filter:none}
body.theme-microsite .hdr-in{min-height:0;padding-top:0;padding-bottom:0;align-items:flex-start;gap:0}
body.theme-microsite .brand{padding:15px 0 10px}
body.theme-microsite .hdr .brand-logo.compact{width:auto;height:auto;max-width:300px;max-height:200px}
body.theme-microsite .nav{margin-left:auto;gap:0;border-right:1px solid #eee;align-self:flex-start}
body.theme-microsite:not(.nav-row):not(.nav-collapsed) .hdr-right{border-right:0}
body.theme-microsite .nav > a,body.theme-microsite .nav > .has-children{border-left:1px solid #eee}
body.theme-microsite .nav a{position:relative;font-family:var(--font-sans);font-size:14px;font-weight:300;text-transform:none;letter-spacing:0;color:#777;padding:30px 9px;border-radius:0;box-shadow:none;background:transparent}
body.theme-microsite .nav a:hover{background:transparent;color:var(--ts-green);box-shadow:none}
body.theme-microsite .nav > a.active,body.theme-microsite .nav > .has-children > a.active{background:rgba(0,0,0,.02);color:var(--ts-green);box-shadow:none}
body.theme-microsite .nav > a.active::before,body.theme-microsite .nav > .has-children > a.active::before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;background:var(--ts-green)}
body.theme-microsite .nav .has-children > a::after{width:5px;height:5px;border-width:0 1px 1px 0;color:#ccc;margin:0 0 3px 8px}
body.theme-microsite .nav .sub{border:0;border-radius:0;padding:0;min-width:220px;box-shadow:inset 0 10px 3px -8px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.2)}
body.theme-microsite .nav .sub a{padding:8px 10px;font-size:14px;font-weight:300;color:#777;border-radius:0}
body.theme-microsite .nav .sub a:hover,body.theme-microsite .nav .sub a.active{color:var(--ts-green);background:rgba(0,0,0,.02)}
/* "VerdeSur" (and the language switch) sit in the same corner strip as the menu items */
body.theme-microsite .hdr-right{align-self:flex-start;margin:0;gap:0}
body.theme-microsite .hdr-right .lang{font-family:var(--font-sans);font-weight:400;font-size:14px;color:#777;border:0;border-right:1px solid #eee;border-radius:0;padding:30px 10px;background:rgba(0,0,0,.02);text-decoration:none}
body.theme-microsite .hdr-right .lang:hover{color:var(--ts-green)}
body.theme-microsite.nav-row .hdr-right .lang{padding:16px 10px;border-left:1px solid #eee}
/* menu too long for the corner: its own row under the logo, same look */
body.theme-microsite.nav-row .nav{border-top:1px solid #eee;border-right:1px solid #eee;margin:0;padding:0}
body.theme-microsite.nav-row .nav a{padding:16px 10px}
body.theme-microsite .burger{margin-top:0}
body.theme-microsite .mobile-nav a{font-weight:400;color:#777}

/* ---------- Buttons ---------- */
body.theme-microsite .btn{font-family:var(--font-sans);border-radius:2px;text-transform:uppercase;font-weight:700;letter-spacing:1px;font-size:13px;padding:10px 20px;box-shadow:none}
body.theme-microsite .btn-primary,body.theme-microsite .btn-warm{background:#9FC748;color:#fff;border:0}
body.theme-microsite .btn-primary:hover,body.theme-microsite .btn-warm:hover{background:#89CE40;color:#fff}
body.theme-microsite .btn-secondary{background:transparent;color:#777;border:1px solid #ddd}
body.theme-microsite a{color:var(--ts-green)}

/* ---------- Home: service boxes (picture + light grey box) ---------- */
body.theme-microsite .block{padding:30px 0}
body.theme-microsite .block + .block{padding-top:0}
body.theme-microsite .block.alt{background:transparent}
body.theme-microsite .cards{gap:40px 30px;align-items:start}
body.theme-microsite .card{border:0;border-radius:0;box-shadow:none;background:transparent;padding:0;gap:0}
body.theme-microsite a.card:hover{transform:none;box-shadow:none;border:0}
body.theme-microsite .card.image img{aspect-ratio:auto;height:auto;object-fit:initial;display:block;transition:opacity .3s}
body.theme-microsite a.card.image:hover img{opacity:.9}
body.theme-microsite .card.image .card-body,body.theme-microsite .card:not(.image){background:rgba(0,0,0,.05);padding:20px;gap:0}
body.theme-microsite .card h3{font-family:var(--font-sans);font-size:21px;font-weight:400;text-transform:none;letter-spacing:0;color:#556677;line-height:1.2;margin:0}
body.theme-microsite .card p{position:relative;margin:15px 0 0;padding-top:15px;font-size:14px;line-height:1.6;color:#9999AA;font-weight:300}
body.theme-microsite .card p::before{content:"";position:absolute;top:0;left:0;width:30px;height:1px;background:#bbb}
body.theme-microsite .card .card-body p{white-space:pre-line}
body.theme-microsite .card .more,body.theme-microsite .card .chip{display:none}
body.theme-microsite .card > .ic{background:var(--ts-green);color:#fff;border-radius:50%}
body.theme-microsite .sec-head h2{font-size:2em;text-transform:none;font-weight:400}
body.theme-microsite .sec-head h2::after{content:"";display:block;width:60px;height:1px;background:#ddd;margin-top:20px}

/* Logo band (home of a project with a "logo" hero) */
body.theme-microsite .hero-logo{background:#fff;border-bottom:0;padding:40px 0 20px}
body.theme-microsite .hero-logo img{max-height:220px}
body.theme-microsite .hero-logo h1{font-size:2.5em;font-weight:400}
body.theme-microsite .hero-logo p{font-size:1.3em;color:#9999AA}

/* ---------- Inner pages: dark title band, breadcrumb under the title, full-width text ---------- */
body.theme-microsite .pagehead{background:var(--ts-dark);border:0;padding:60px 0;text-shadow:0 0 3px rgba(0,0,0,.3)}
body.theme-microsite .pagehead h1{color:#fff;font-family:var(--font-sans);font-weight:400;font-size:35px;letter-spacing:0;line-height:1.2;text-transform:none}
body.theme-microsite .pagehead p{color:#eee;font-size:16px}
body.theme-microsite .pagehead .crumb{display:none}
body.theme-microsite .crumb-after{margin-top:20px;font-size:14px;font-weight:300;color:#eee;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
body.theme-microsite .crumb-after a{color:#fff;text-decoration:none;font-weight:400}
body.theme-microsite .crumb-after a:hover{text-decoration:underline}
body.theme-microsite .crumb-after span{color:#bbb}
body.theme-microsite .pagehead + .block,body.theme-microsite .pagehead + section{padding-top:30px}
body.theme-microsite .prose{font-size:14px;line-height:1.6;color:#9999AA;font-weight:300}
body.theme-microsite .prose.narrow{max-width:none}
body.theme-microsite .prose h1,body.theme-microsite .prose h2,body.theme-microsite .prose h3,body.theme-microsite .prose h4,body.theme-microsite .prose h5,body.theme-microsite .prose h6{font-family:var(--font-sans);color:#556677;font-weight:400;letter-spacing:0}
body.theme-microsite .prose h2{font-size:2em}body.theme-microsite .prose h3{font-size:1.5em}
body.theme-microsite .prose strong{color:#777}
body.theme-microsite .prose a{color:var(--ts-green)}
body.theme-microsite .prose ul li::marker,body.theme-microsite .prose ol li::marker{color:#9999AA}
body.theme-microsite .prose img{border-radius:2px}

/* ---------- Photo galleries: tiled rows, as the live Jetpack galleries ---------- */
body.theme-microsite .gallery{display:flex;flex-wrap:wrap;gap:6px;grid-template-columns:none}
body.theme-microsite .gallery figure{flex:calc(var(--ar,1.5) * 100) 1 calc(var(--ar,1.5) * 230px);height:230px;max-width:calc(var(--ar,1.5) * 230px * 1.8);margin:0;border-radius:0;background:#f4f4f4;overflow:hidden}
body.theme-microsite .gallery figure a{display:block;height:100%}
body.theme-microsite .gallery img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border-radius:0}
body.theme-microsite .gallery a:hover img{transform:none;opacity:.9}
body.theme-microsite .gallery figcaption{display:none}
body.theme-microsite .block .sec-head h2{font-size:1.5em}

/* Partners list, quote, PDF: quiet, square */
body.theme-microsite .partners li{border-radius:2px;box-shadow:none}
body.theme-microsite .quoteblock{border-radius:2px}

/* ---------- Footer: dark strip with the funders' logos ---------- */
body.theme-microsite .ctaband{background:var(--ts-dark)}
body.theme-microsite .ctaband-grad{background:none}
body.theme-microsite .footer,body.theme-microsite .site-footer-simple{background:var(--ts-dark);padding:10px 0}
/* Same footer as the toolboxes (toolbox-photo): EU logo + disclaimer; logos keep their shape. */
body.theme-microsite .site-footer-simple{padding:28px 0}
body.theme-microsite .site-footer-logos img{height:auto;width:auto}
body.theme-microsite .footer h5{color:var(--ts-green)}
body.theme-microsite .footer .brand-logo.compact{filter:none;background:#fff;padding:8px;border-radius:2px;opacity:1}

@media (max-width:900px){
  body.theme-microsite .brand{padding:10px 0}
  body.theme-microsite .hdr .brand-logo.compact{max-height:200px;max-width:52vw}
  body.theme-microsite .hdr-right .lang{display:none}
  body.theme-microsite .hdr-in{align-items:flex-start}
  body.theme-microsite .hdr-right{align-self:flex-start;margin-left:auto;padding-top:14px}
  body.theme-microsite .burger svg{width:28px;height:28px}
  body.theme-microsite .burger{color:#777}
  body.theme-microsite .container{padding-left:var(--gutter);padding-right:var(--gutter)}
  body.theme-microsite .gallery figure{height:160px;flex-basis:calc(var(--ar,1.5) * 160px)}
  body.theme-microsite .pagehead{padding:40px 0}
  body.theme-microsite .pagehead h1{font-size:28px}
}
