:root{
  --accent:#3a116c;
  --accent-light:#d2d2fd;
  --header-gradient:#3a116c;
}
*{box-sizing:border-box;}
html{overflow-x:hidden;}
body{
  margin:0;
  overflow-x:hidden;
  font-family:"Helvetica Neue",Arial,sans-serif;
  color:#333;
  background:#e5e5e5;
  line-height:1.6;
}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
img{max-width:100%;height:auto;display:block;}
iframe,embed,object,video{max-width:100%;}

/* WordPress leaves a hidden preview iframe (fixed width) behind each post-embed link; it serves no purpose offline and forces horizontal overflow, so it's hidden and the fallback link is styled instead. */
iframe.wp-embedded-content{display:none;}
blockquote.wp-embedded-content{
  display:block;
  margin:20px 0;
  padding:12px 18px;
  border-left:4px solid var(--accent);
  background:var(--accent-light);
  border-radius:4px;
}
blockquote.wp-embedded-content a{
  color:var(--accent);
  font-weight:600;
  text-decoration:underline;
}

/* ---------- Navbar ---------- */
.navbar{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  background:rgba(58,17,108,0.95);
  transition:background .3s ease;
}
.navbar.transparent{
  background:transparent;
  box-shadow:none;
}
.navbar .container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:70px;
}
.navbar-brand p{
  margin:0;
  color:#fff;
  font-size:1.3em;
  font-weight:600;
  letter-spacing:.5px;
}
.navbar-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  padding:10px;
}
.navbar-toggle .icon-bar{
  display:block;
  width:24px;
  height:2px;
  background:#fff;
  margin:5px 0;
}
.nav-menu{
  display:flex;
  align-items:center;
}
.nav-menu > li{
  position:relative;
  margin-left:4px;
}
.nav-menu > li > a{
  display:block;
  padding:25px 14px;
  color:#fff;
  font-size:.82em;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.nav-menu > li > a:hover{
  color:var(--accent-light);
}
.nav-menu .dropdown-menu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:230px;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.2);
  border-radius:4px;
  padding:8px 0;
}
.nav-menu li:hover > .dropdown-menu{
  display:block;
}
.nav-menu .dropdown-menu li{
  position:relative;
}
.nav-menu .dropdown-menu a{
  display:block;
  padding:10px 18px;
  color:var(--accent);
  font-size:.85em;
  white-space:nowrap;
}
.nav-menu .dropdown-menu a:hover{
  background:var(--accent-light);
}
.nav-menu .dropdown-submenu .dropdown-menu{
  top:0;
  left:100%;
}

/* ---------- Hero (home page) ---------- */
.page-header{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
}
.header-filter{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  z-index:0;
}
.header-filter::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(58,17,108,0.55);
}
.hero-content{
  position:relative;
  z-index:1;
  max-width:700px;
  margin:0 auto;
  padding:0 20px;
}
.hestia-title{
  font-size:2.6em;
  font-weight:700;
  margin:0 0 15px;
}
.sub-title{
  font-size:1.05em;
  opacity:.9;
}

/* ---------- Sub-page header (small) ---------- */
.page-header.header-small{
  min-height:320px;
}
.page-header.header-small .hestia-title{
  font-size:2.1em;
}

/* ---------- About section (home page) ---------- */
.hestia-about{
  position:relative;
  padding:80px 0;
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
}
.hestia-about::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,0.92);
}
.hestia-about .container{
  position:relative;
  max-width:900px;
  margin:0 auto;
  padding:0 20px;
}
.hestia-about figure{
  margin:30px 0;
  text-align:center;
}
.hestia-about figure img{
  margin:0 auto;
}
.hestia-about p{
  background:var(--accent-light);
  color:var(--accent);
  font-size:1.1em;
  padding:20px 25px;
  border-radius:6px;
  margin:25px 0;
}

/* ---------- Generic content section (sub-pages) ---------- */
.content-section{
  padding:60px 0;
  background:#fff;
}
.content-section .container{
  max-width:900px;
  margin:0 auto;
  padding:0 20px;
}
.entry-content h2,
.entry-content h3,
.entry-content h4{
  color:var(--accent);
  margin:30px 0 15px;
}
.entry-content p{
  margin:0 0 20px;
}
.entry-content p.has-background{
  background:var(--accent-light);
  color:var(--accent);
  padding:20px 25px;
  border-radius:6px;
}
.entry-content figure{
  margin:25px 0;
  text-align:center;
}
.entry-content figure img{
  width:auto;
  max-width:100%;
  height:auto;
  margin:0 auto;
  border-radius:4px;
}
.entry-content a{
  color:var(--accent);
  text-decoration:underline;
}
.entry-content ul,
.entry-content ol{
  list-style:disc;
  padding-left:25px;
  margin:0 0 20px;
}
.entry-content li{
  margin-bottom:6px;
}

/* ---------- Contact section (home page) ---------- */
.hestia-contact{
  position:relative;
  padding:90px 0;
  background-size:cover;
  background-position:center;
  color:#fff;
}
.hestia-contact::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(58,17,108,0.75);
}
.hestia-contact .container{
  position:relative;
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}
.hestia-contact-title-area{
  max-width:500px;
}
.hestia-contact .hestia-title{
  font-size:2em;
  margin:0 0 25px;
}
.hestia-info{
  display:flex;
  gap:15px;
  margin-bottom:25px;
}
.hestia-info .icon{
  font-size:1.4em;
  width:40px;
}
.hestia-info .info-title{
  margin:0 0 4px;
  font-size:1em;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.hestia-info p{
  margin:0;
}
.social-links{
  display:flex;
  gap:20px;
  margin-top:10px;
}
.social-links a{
  font-weight:600;
  text-decoration:underline;
}

/* ---------- Footer ---------- */
.footer{
  background:#1a1a1a;
  color:#ccc;
  padding:25px 0;
}
.footer .container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}
.footer-menu{
  display:flex;
  gap:20px;
}
.footer-menu a:hover{
  color:#fff;
}
.copyright a{
  color:var(--accent-light);
}

@media (max-width:900px){
  .navbar-toggle{display:block;}
  .nav-menu{
    position:absolute;
    top:70px;
    left:0;right:0;
    flex-direction:column;
    background:var(--accent);
    display:none;
  }
  .nav-menu.open{display:flex;}
  .nav-menu > li{margin:0;width:100%;}
  .nav-menu .dropdown-menu{
    position:static;
    box-shadow:none;
    background:rgba(255,255,255,.08);
  }
  .nav-menu .dropdown-menu a{color:#fff;}
  .nav-menu .dropdown-submenu .dropdown-menu{left:0;}

  .hestia-about{background-attachment:scroll;}
  .content-section{padding:40px 0;}
  .hestia-about,
  .hestia-contact{padding:50px 0;}
}

@media (max-width:600px){
  .navbar .container{padding:0 15px;min-height:60px;}
  .navbar-brand p{font-size:1.1em;}
  .page-header{min-height:70vh;}
  .page-header.header-small{min-height:220px;}
  .hestia-title{font-size:1.8em;}
  .page-header.header-small .hestia-title{font-size:1.5em;}
  .sub-title{font-size:.95em;}
  .hestia-about p,
  .entry-content p.has-background{
    padding:15px 18px;
    font-size:1em;
  }
  .content-section .container,
  .hestia-about .container{padding:0 15px;}
  .hestia-contact .hestia-title{font-size:1.6em;}
  .social-links{flex-wrap:wrap;}
  .footer .container{justify-content:center;text-align:center;}
}
