/*
Theme Name: Megaludon — THE ATTACK
Description: Tema lleuger de Megaludon Fest amb contingut editable amb l'editor de blocs.
Version: 2.1.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
Author: Megaludon Assets
Text Domain: megaludon
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--meg-bg:#202119;--meg-white:#fff;--meg-blue:#008ed7;--meg-line:rgba(255,255,255,.28);--meg-space:clamp(24px,3.125vw,60px);--meg-heading:'benzin','Arial Black',Arial,sans-serif;--meg-body:'jetbrains-mono','Courier New',monospace}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--meg-bg)}
body{margin:0;background:var(--meg-bg);color:var(--meg-white);font-family:var(--meg-body);font-size:clamp(15px,1.125vw,19px);line-height:1.55;-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%;height:auto}figure{margin:0}a{color:inherit;text-underline-offset:.22em}a:hover{color:var(--meg-blue)}a:focus-visible,button:focus-visible,video:focus-visible{outline:3px solid var(--meg-blue);outline-offset:6px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--meg-heading);font-weight:400;line-height:1.06;letter-spacing:-.05em}h2{font-size:clamp(36px,4.375vw,76px)}p+p{margin-top:1.3em}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{clip:auto;width:auto;height:auto;left:20px;top:20px;z-index:1000;padding:12px 18px;background:var(--meg-white);color:var(--meg-bg)}
.site-header{padding:32px var(--meg-space) 16px;max-width:1920px;margin:auto}.site-logo{display:inline-block;max-width:100%}.site-logo img,.custom-logo{width:clamp(210px,28vw,435px);height:auto}.site-header .custom-logo-link{display:inline-block}.primary-navigation{margin-top:24px}.primary-navigation ul{display:flex;list-style:none;margin:0;padding:0;gap:20px;flex-wrap:wrap}.primary-navigation a{font-size:14px}.site-main{max-width:1920px;margin:auto}.entry-content>.wp-block-group{margin-top:0;margin-bottom:0}.meg-hero{padding:clamp(54px,6.5vw,110px) var(--meg-space) 0}.meg-hero-title{font-size:clamp(48px,7.8125vw,150px);line-height:1.02;letter-spacing:-.055em;font-weight:400;max-width:1450px;margin:0 0 clamp(48px,5.6vw,108px)}.meg-video{margin:0;width:100%;border-radius:24px;overflow:hidden;background:#080908}.meg-video video{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:24px}.meg-section{padding:clamp(72px,9vw,160px) var(--meg-space)}.meg-eyebrow{font-size:clamp(14px,1.1vw,18px);letter-spacing:-.02em;margin-bottom:34px}.meg-intro{display:grid;grid-template-columns:28% 1fr;gap:5%;align-items:start}.meg-intro .meg-eyebrow{margin:8px 0 0}.meg-intro-copy h2{color:var(--meg-blue);max-width:950px;margin-bottom:36px}.meg-intro-copy p{max-width:920px}.meg-route{border-top:1px solid var(--meg-line);border-bottom:1px solid var(--meg-line);display:grid;grid-template-columns:1.3fr 1fr;gap:28px 9%;align-items:center}.meg-route h2{font-size:clamp(54px,7.1vw,134px);grid-row:span 2;max-width:900px}.meg-route p{font-size:clamp(18px,1.55vw,27px);margin:0;max-width:500px;align-self:end}.meg-route .wp-block-buttons{align-self:start}.wp-block-buttons{display:flex;gap:16px;flex-wrap:wrap}.wp-block-button__link{display:inline-flex;align-items:center;justify-content:space-between;gap:48px;border:1px solid var(--meg-white);border-radius:0;padding:15px 22px;font:inherit;text-decoration:none;background:transparent;color:var(--meg-white);min-height:56px;transition:background .18s ease,color .18s ease}.wp-block-button__link::after{content:'↗';font-family:Arial,sans-serif;font-size:26px;line-height:1}.wp-block-button__link:hover{background:var(--meg-white);color:var(--meg-bg)}.meg-community{display:grid;grid-template-columns:28% 1fr;gap:0 5%}.meg-community .meg-eyebrow{margin-top:8px}.meg-community-copy{max-width:1000px}.meg-community-copy h2{margin-bottom:36px;color:var(--meg-blue)}.meg-community-copy p{max-width:880px}.meg-community-image{grid-column:1/-1;margin-top:clamp(48px,5vw,90px)}.meg-community-image img{width:100%;aspect-ratio:3490/1861;object-fit:cover;object-position:50% 32.04%;border-radius:20px}.meg-gallery{padding-top:20px}.meg-gallery-heading{text-align:center;margin-bottom:70px}.meg-gallery-heading .meg-eyebrow{margin-bottom:25px}.meg-gallery-heading h2{margin-bottom:35px}.meg-gallery-heading .wp-block-buttons{justify-content:center}.meg-gallery-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8%;align-items:start;max-width:1300px;margin:auto}.meg-poster img{width:100%;height:auto}.meg-lineup-title{font-size:clamp(28px,2.8vw,48px);line-height:1.12;margin-bottom:40px}.meg-lineup p{font-size:clamp(16px,1.5vw,25px);line-height:1.45;margin-top:0;margin-bottom:18px}.site-footer{border-top:1px solid var(--meg-line);padding:clamp(60px,6vw,100px) var(--meg-space) 30px;max-width:1920px;margin:auto}.footer-tagline{font-family:var(--meg-heading);font-size:clamp(38px,5.4vw,94px);line-height:1.05;letter-spacing:-.045em;max-width:1050px;margin-bottom:70px}.footer-tagline strong{color:var(--meg-blue)}.footer-main{display:grid;grid-template-columns:2fr 1fr 1fr;gap:32px;margin-bottom:60px}.footer-brand{font-size:14px}.footer-social{display:flex;flex-direction:column;gap:8px}.footer-links{display:flex;flex-direction:column;gap:8px;font-size:14px}.footer-links ul{list-style:none;padding:0;margin:0}.footer-links li+li{margin-top:8px}.footer-copyright{font-size:12px;opacity:.85}.meg-privacy{max-width:1180px;margin:auto;padding:clamp(70px,7vw,120px) var(--meg-space) clamp(80px,9vw,140px)}.meg-privacy h1{font-size:clamp(44px,6.5vw,96px);margin-bottom:65px}.meg-privacy p{margin-bottom:1.6em}.meg-privacy a{overflow-wrap:anywhere}.standard-page{padding:70px var(--meg-space);max-width:1100px;margin:auto}.standard-page .entry-title{margin-bottom:50px}.standard-page .entry-content p{margin-bottom:1.5em}.post-list article{margin-bottom:60px}.post-list h2{margin-bottom:25px}.post-list .post-date{font-size:14px;display:block;margin-bottom:16px}.has-electric-blue-color{color:var(--meg-blue)}.has-off-black-background-color{background:var(--meg-bg)}.has-white-color{color:var(--meg-white)}.editor-styles-wrapper{background:var(--meg-bg);color:var(--meg-white)}.editor-styles-wrapper .meg-hero-title{font-size:clamp(48px,7.8125vw,125px)}
@media(min-width:1921px){.meg-hero-title{font-size:150px}}
@media(max-width:780px){.site-header{padding-top:26px}.meg-hero{padding-top:62px}.meg-hero-title{font-size:clamp(40px,9vw,70px);line-height:1.06;margin-bottom:42px}.meg-video,.meg-video video{border-radius:14px}.meg-section{padding-top:66px;padding-bottom:66px}.meg-intro,.meg-community{display:block}.meg-intro .meg-eyebrow,.meg-community .meg-eyebrow{margin:0 0 30px}.meg-intro-copy h2,.meg-community-copy h2{margin-bottom:25px}.meg-route{display:block}.meg-route h2{font-size:clamp(52px,11vw,82px);max-width:600px;margin-bottom:32px}.meg-route p{margin-bottom:30px}.meg-community-image{margin-top:40px}.meg-community-image img{border-radius:14px}.meg-gallery{padding-top:10px}.meg-gallery-grid{gap:36px}.meg-lineup-title{font-size:25px;margin-bottom:26px}.meg-lineup p{font-size:15px;margin-bottom:13px}.meg-gallery-heading{margin-bottom:45px}.footer-tagline{margin-bottom:44px}.footer-main{grid-template-columns:1fr 1fr;gap:32px}.footer-contact{grid-column:1/-1}.meg-privacy h1{margin-bottom:42px}}
@media(max-width:480px){.meg-gallery-grid{grid-template-columns:1fr}.meg-poster{max-width:430px}.meg-lineup{padding-top:10px}.meg-lineup-title{font-size:30px}.meg-lineup p{font-size:18px}.footer-main{grid-template-columns:1fr}.footer-contact{grid-column:auto}.meg-hero-title{font-size:9.1vw}.wp-block-button__link{gap:34px}.meg-privacy{padding-left:24px;padding-right:24px}.meg-privacy h1{font-size:42px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Original section order and blue artist/footer area. */
.entry-content>.meg-community-image{margin:0}.meg-community-image img{border-radius:0}.meg-gallery{text-align:center}.meg-gallery>.meg-eyebrow{margin-bottom:40px}.meg-gallery>.meg-poster{width:min(100%,540px);margin:0 auto 50px}.meg-gallery>h2{margin-bottom:35px}.meg-gallery>.wp-block-buttons{justify-content:center}.meg-lineup{background:var(--meg-blue);padding-top:70px;padding-bottom:90px}.meg-lineup-title{font-size:clamp(32px,4.4vw,76px);margin-bottom:55px}.meg-artists-grid{display:grid;grid-template-rows:repeat(5,auto);grid-auto-flow:column;grid-template-columns:1fr 1fr;column-gap:9%}.meg-artists-grid p{padding:22px 0;border-top:1px solid rgba(255,255,255,.62);font-size:clamp(18px,1.8vw,31px);margin:0;line-height:1.3}.site-footer{background:var(--meg-blue);border-top-color:rgba(255,255,255,.55)}.site-footer a:hover{color:var(--meg-bg)}.site-footer a:focus-visible{outline-color:white}.footer-tagline strong{color:white}
@media(max-width:780px){.meg-lineup{padding-top:60px;padding-bottom:65px}.meg-lineup-title{margin-bottom:40px}.meg-artists-grid{display:flex;flex-direction:column;gap:0}.meg-artists-grid p{padding:0 0 15px;border:0;font-size:20px}.meg-artists-grid p:nth-child(-n+5){border-top:1px solid rgba(255,255,255,.62);padding-top:20px}.meg-artists-grid p:nth-child(1){order:1}.meg-artists-grid p:nth-child(6){order:2}.meg-artists-grid p:nth-child(2){order:3}.meg-artists-grid p:nth-child(7){order:4}.meg-artists-grid p:nth-child(3){order:6;border:0;padding-top:0}.meg-artists-grid p:nth-child(8){order:5;border-top:1px solid rgba(255,255,255,.62);padding-top:20px}.meg-artists-grid p:nth-child(4){order:7}.meg-artists-grid p:nth-child(9){order:8}.meg-artists-grid p:nth-child(5){order:9}.meg-artists-grid p:nth-child(10){order:10}.meg-community-image img{border-radius:0}}

/* Local copies of the original typefaces, with system fallbacks. */
h2,h3{font-family:'helvetica-w01-roman','Helvetica Neue',Arial,sans-serif;font-weight:400}.meg-route h2{font-family:var(--meg-heading)}.meg-intro-copy p,.meg-community-copy p,.meg-route p{font-family:var(--meg-heading);font-weight:400;line-height:1.55}.meg-hero-title{font-weight:400}.meg-privacy{font-family:'helvetica-w01-roman','Helvetica Neue',Arial,sans-serif;font-size:19px}.meg-privacy h1{font-family:'helvetica-w01-roman','Helvetica Neue',Arial,sans-serif}.footer-tagline{font-family:var(--meg-body);font-weight:400}.footer-tagline strong{font-weight:700}
.wp-block-button__link{background:var(--meg-blue);border:0;border-radius:999px;padding:16px 30px;gap:0;min-height:58px}.wp-block-button__link::after{content:none}.wp-block-button__link:hover{background:white;color:var(--meg-bg)}.meg-intro-copy p,.meg-community-copy p{font-size:clamp(19px,2vw,32px);line-height:1.5}
/* Layout stays consistent in WordPress and the standalone preview. */
.meg-hero,.meg-intro,.meg-route,.meg-community,.meg-gallery,.meg-lineup,.meg-privacy{max-width:none}.meg-hero>.wp-block-heading,.meg-route>.wp-block-heading,.meg-intro-copy>.wp-block-heading,.meg-community-copy>.wp-block-heading{margin-block-start:0}.meg-intro>.wp-block-group,.meg-community>.wp-block-group,.meg-lineup>.wp-block-group{margin-block-start:0}.meg-privacy{max-width:1180px}
