/*
Theme Name: Novara Living
Author: Novara Living GmbH
Description: Institutional theme for banks and private investors.
Version: 1.0.0
Text Domain: novara-living
*/

/* =========================
   Root Variables
   ========================= */

:root{
  --novara-bg:#fbfbfa;
  --novara-text:#1f2328;
  --novara-muted:#6b7280;
  --novara-line:#e5e7eb;
  --novara-accent:#2f3b35;
}

/* =========================
   Base Reset
   ========================= */

html{
  scroll-behavior:smooth;
  width:100%;
  max-width:100%;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  background:var(--novara-bg);
  color:var(--novara-text);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Arial,sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{
  color:var(--novara-text);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
a:hover{opacity:.85;}

/* =========================
   Global Container
   ========================= */

.novara-container{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding-left:28px;
  padding-right:28px;
}

/* Phone only */
@media (max-width:640px){
  .novara-container{
    padding-left:24px !important;
    padding-right:24px !important;
  }
}

/* Tablet (iPad) */
@media (min-width:641px) and (max-width:1024px){
  .novara-container{
    padding-left:26px;
    padding-right:26px;
  }
}

/* =========================
   Header
   ========================= */

.novara-header{
  width:100%;
}

.novara-header-inner{
  padding-top:20px;
  padding-bottom:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.custom-logo{
  max-height:60px;
  width:auto;
  display:block;
}

.custom-logo-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}

.novara-menu{
  list-style:none;
  display:flex;
  gap:22px;
  margin:0;
  padding:0;
  align-items:center;
}

.novara-menu li{
  margin:0;
  padding:0;
}

.novara-menu li a{
  text-decoration:none;
  font-weight:500;
  color:var(--novara-text);
}

.novara-menu li a:hover{
  text-decoration:underline;
}

/* Header stacking */
@media (max-width:820px){
  .novara-header-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  .novara-menu{
    width:100%;
    flex-wrap:wrap;
    gap:14px;
  }
}

/* =========================
   Homepage Hero Text
   ========================= */

.novara-hero{
  padding:64px 0 32px;
  border-bottom:1px solid var(--novara-line);
}

.novara-kicker{
  color:var(--novara-muted);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
  margin:0 0 10px;
}

.novara-title{
  font-size:clamp(32px,4vw,52px);
  line-height:1.1;
  margin:0 0 12px;
  font-weight:650;
}

.novara-subtitle{
  font-size:18px;
  max-width:760px;
  color:#2b2f36;
  margin:0 0 18px;
}

.novara-cta{
  display:inline-block;
  padding:10px 16px;
  border:1px solid var(--novara-text);
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
}

.novara-cta:hover{
  background:var(--novara-text);
  color:var(--novara-bg);
  opacity:1;
}

/* =========================
   Hero Image
   ========================= */

.novara-hero-image{
  margin:24px 0 40px;
  border-radius:14px;
  overflow:hidden;
}

.novara-hero-image img{
  width:100%;
  max-width:100%;
  height:420px;
  object-fit:cover;
  object-position:50% 45%;
  display:block;
}

/* Phone hero */
@media (max-width:640px){
  .novara-hero-image{
    margin:16px 0 28px;
  }

  .novara-hero-image img{
    height:210px;
    object-position:50% 40%;
  }
}

/* Tablet hero */
@media (min-width:641px) and (max-width:1024px){
  .novara-hero-image img{
    height:320px;
    object-position:50% 45%;
  }
}

/* =========================
   Cards
   ========================= */

.novara-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:18px;
  padding:28px 0;
}

.novara-card{
  grid-column:span 6;
  border:1px solid var(--novara-line);
  border-radius:14px;
  padding:18px;
  background:#fff;
}

.novara-card h3{
  margin:0 0 6px;
  font-size:18px;
}

.novara-card p{
  margin:0;
  color:#2b2f36;
}

@media (max-width:820px){
  .novara-card{
    grid-column:span 12;
  }
}

/* =========================
   Sections
   ========================= */

.novara-section{
  padding:10px 0;
}

.novara-section h2{
  font-size:22px;
  margin:18px 0 8px;
}

.novara-section p{
  margin:0 0 12px;
  max-width:820px;
}

.novara-list{
  padding-left:18px;
  margin:0 0 14px;
}

/* =========================
   Page Layout
   ========================= */

.novara-page{
  padding:48px 0;
}

@media (max-width:640px){
  .novara-page{
    padding:36px 0;
  }
}

/* =========================
   Subpage Typography
   ========================= */

.entry-content{
  padding:6px 0 0;
}

.entry-content p{
  max-width:820px;
  margin:0 0 12px;
  color:#2b2f36;
}

.entry-content h2{
  font-size:22px;
  margin:18px 0 8px;
}

.entry-content h3{
  font-size:18px;
  margin:16px 0 6px;
}

.entry-content ul{
  padding-left:18px;
  margin:0 0 14px;
}

.entry-content .alignwide,
.entry-content .alignfull{
  max-width:100%;
}

/* =========================
   Footer
   ========================= */

.novara-footer{
  margin-top:48px;
  padding:28px 0;
  border-top:1px solid var(--novara-line);
  color:var(--novara-muted);
}

.novara-footer-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.novara-footer-left,
.novara-footer-right{
  font-size:14px;
  color:var(--novara-muted);
}

.novara-footer-right a{
  color:var(--novara-muted);
  text-decoration:none;
}

.novara-footer-right a:hover{
  text-decoration:underline;
}

.novara-footer-sep{
  margin:0 8px;
  color:var(--novara-muted);
}

@media (max-width:480px){
  .novara-footer-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .novara-footer-sep{
    display:none;
  }
}