@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap');
/* Davie Solana — matches the live daviesolana.com theme:
   Hello Elementor + Elementor kit: dark #131313, white text,
   Solana purple #9945FF, teal #14F195, Roboto 600 headings. */
:root{--purple:#9945ff;--purple-dim:#9945ffcc;--teal:#14f195;--ink:#fff;--muted:#e0e0e0;--dark:#131313;--soft:#1d1d1d;--border:rgba(255,255,255,.14)}
*{box-sizing:border-box}
body{margin:0;font-family:Roboto,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;color:var(--ink);background:var(--dark);line-height:1.6;font-size:16px}
h1,h2,h3,h4{font-weight:600;line-height:1.3;margin:0}
h1{font-size:48px;line-height:1.2}
h2{font-size:40px;line-height:1.3}
h3{font-size:22px}
.wrap{max-width:1140px;margin:0 auto;padding:0 20px}
a{color:#b98cff}
a:hover{color:var(--purple)}
img{max-width:100%}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Header — dark, logo left, horizontal nav (original order) */
.site-header{border-bottom:1px solid rgba(255,255,255,.1);background:var(--dark);position:sticky;top:0;z-index:10}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;max-width:1140px;margin:0 auto}
.brand{display:flex;align-items:center;gap:12px;font-weight:600;font-size:1.25rem;color:var(--ink);text-decoration:none}
.brand-mark{width:64px;height:64px;object-fit:cover;border-radius:50%;border:2px solid var(--purple)}
.main-nav{display:flex;gap:22px;flex-wrap:wrap}
.main-nav a{color:var(--ink);text-decoration:none;font-weight:500;font-size:13px;text-transform:uppercase;letter-spacing:.6px;padding:8px 2px;border-bottom:2px solid transparent}
.main-nav a:hover,.main-nav a.active{color:var(--purple);border-bottom-color:var(--purple)}

/* Hero — purple 72% / teal 72% gradient band, curve divider into the dark page */
.hero{position:relative;background:linear-gradient(90deg,var(--purple) 72%,var(--teal) 72%);padding:50px 0 250px}
.hero-inner{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.hero h1{color:#fff;margin:0 0 20px}
.hero img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:center 18%;display:block}
.tagline{font-size:22px;font-weight:600;color:var(--muted);margin:0 0 20px;line-height:1.3}
.lede{font-size:16px;color:var(--muted);margin:0;line-height:1.6}
.hero-curve{position:absolute;left:0;bottom:-1px;width:100%;height:200px;display:block}
.hero-curve path{fill:var(--dark)}

/* Category cards — 4 across, gradient border, dark inner, teal icon, purple title */
.categories{position:relative;z-index:2;margin-top:-200px;padding:0 10px}
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cat-card{background:linear-gradient(45deg,var(--purple) 0%,var(--teal) 80%);padding:8px;transition:background .5s,box-shadow .4s}
.cat-card:hover{background:linear-gradient(225deg,var(--purple) 0%,var(--teal) 100%);box-shadow:0 3px 30px rgba(0,0,0,.12)}
.cat-card-inner{background:var(--dark);min-height:300px;padding:35px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.cat-icon{color:var(--teal);margin-bottom:35px;line-height:0}
.cat-icon svg{width:40px;height:40px;fill:currentColor}
.cat-card h3{color:var(--purple);font-size:18px;margin:0 0 20px}
.cat-card p{color:var(--muted);font-size:16px;margin:0 0 20px}
.cat-link{color:#fff;text-decoration:none;font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:.6px;line-height:1.8;margin-top:auto}
.cat-link:hover{color:var(--purple)}

/* Section titles — centred, purple, first word highlighted (same colour) */
.section-title{text-align:center;color:var(--purple);font-size:40px;font-weight:600;line-height:1.3;margin:0 0 30px}

/* Featured Posts — 4 across, square images, title overlaid on the image */
.featured{margin:100px 0}
.featured-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.featured-card{position:relative;overflow:hidden}
.featured-card img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;transition:transform .4s}
.featured-card:hover img{transform:scale(1.05)}
.featured-card::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.33);transition:background .3s;pointer-events:none}
.featured-card:hover::after{background:rgba(0,0,0,.17)}
.featured-body{position:absolute;left:0;right:0;bottom:0;z-index:1;padding:20px 20px 40px}
.featured-body h3{font-size:20px;line-height:1.3}
.featured-body h3 a{color:#fff;text-decoration:none}
.featured-body h3 a:hover{text-decoration:underline}

/* Latest Posts (2 cols, purple content boxes) beside the About card (teal) */
.latest-about-section{margin-bottom:100px}
.latest-about{display:grid;grid-template-columns:2fr 1fr;gap:30px;align-items:start}
.post-list{display:grid;gap:30px;margin:0}
.latest-col .post-list{grid-template-columns:1fr 1fr}
.post-card{background:var(--purple);overflow:hidden}
.post-card img.card-thumb{width:100%;aspect-ratio:500/340;object-fit:cover;display:block}
.card-body{padding:30px}
.card-body h3{margin:0 0 12px;font-size:22px;line-height:1.3}
.card-body h3 a{color:#fff;text-decoration:none}
.card-body h3 a:hover{color:var(--muted)}
.card-body p{color:var(--muted);font-size:16px;line-height:1.6;margin:0 0 20px}
.card-body p:last-child{margin-bottom:0}
.post-date{color:var(--teal);font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.6px;margin:0 0 15px}
.read-more{color:#fff;font-weight:500;font-size:13px;text-transform:uppercase;letter-spacing:.6px;text-decoration:none}
.read-more:hover{color:var(--teal)}
.view-all-wrap{text-align:center;margin:40px 0 0}
.btn{display:inline-block;background:var(--purple);color:#fff;border:0;padding:12px 24px;font-family:inherit;font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:.6px;line-height:1.8;text-decoration:none;cursor:pointer}
.btn:hover{background:var(--purple-dim);color:#fff}
.about-card{background:var(--teal);padding:40px 30px;text-align:center;color:#fff}
.about-card img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;margin-bottom:20px}
.about-card h3{color:#fff;font-size:22px;margin:0 0 15px}
.about-card h3:hover{color:var(--purple)}
.about-card p{color:#fff;font-size:16px;line-height:1.6;margin:0 0 20px}
.about-card .btn-outline{display:inline-block;color:#fff;border:1px solid var(--purple);background:transparent;padding:12px 24px;font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:.6px;line-height:1.8;text-decoration:none}
.about-card .btn-outline:hover{background:var(--purple-dim);border-color:var(--purple)}

/* "Come explore Solana with us." — dark band, purple top/bottom border, newsletter form */
.cta-section{border-top:1px solid var(--purple);border-bottom:1px solid var(--purple);padding:80px 20px;text-align:center}
.cta-section .section-title{margin-bottom:15px}
.cta-text{color:var(--muted);font-size:16px;margin:0 auto 30px;max-width:640px}
.newsletter-form{max-width:560px;margin:0 auto;display:grid;gap:16px}
.newsletter-form input[type="email"]{font:inherit;font-size:16px;color:#fff;background:transparent;border:1px solid var(--purple);border-radius:0;padding:12px 16px;width:100%}
.newsletter-form input[type="email"]::placeholder{color:var(--muted)}
.newsletter-form input[type="email"]:focus{outline:none;border-color:var(--teal)}
.newsletter-form button{width:100%}
.newsletter-note{color:var(--muted);font-size:14px;margin:16px 0 0}

/* Post pages */
main.wrap article.post{max-width:820px;margin:0 auto}
article.post h1{font-size:2.1rem;line-height:1.2;margin:20px 0 6px;color:#fff}
.post-meta{color:var(--muted);margin:0 0 18px}
.post-body img{max-width:100%;height:auto;border-radius:0}
.post-body figure{margin:24px 0}
.post-body h2{margin-top:32px;font-size:1.5rem;color:#fff}
.post-body blockquote{border-left:4px solid var(--purple);margin:20px 0;padding:4px 18px;background:var(--soft)}
.post-nav{display:flex;justify-content:space-between;gap:16px;margin:36px 0;flex-wrap:wrap}
.comments{border-top:1px solid var(--border);margin-top:40px;padding-top:20px}
.comments form{display:grid;gap:12px;max-width:560px}
.comments label,.contact-form label{display:grid;gap:6px;font-weight:600;color:#fff}
.comments input,.comments textarea,.contact-form input,.contact-form textarea{font:inherit;padding:10px 12px;border:1px solid var(--purple);border-radius:0;width:100%;background:transparent;color:#fff}
.comments input:focus,.comments textarea:focus,.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:var(--teal)}
.comments button,.contact-form button{background:var(--purple);color:#fff;border:0;padding:12px 20px;border-radius:0;font:inherit;font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:.6px;cursor:pointer;width:max-content}
.comments button:hover,.contact-form button:hover{background:var(--purple-dim)}
.comment-note,.thanks{color:var(--muted)}
.thanks{background:#123324;border:1px solid #1f5c3a;padding:12px;border-radius:0;color:#a7f3c9}

/* Footer — dark, 3 columns: brand + description, Quick Links, Contact Info */
.site-footer{background:var(--dark);padding:80px 0 50px}
.footer-inner{display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px}
.footer-col h4{color:#fff;font-size:18px;font-weight:600;margin:0 0 15px}
.footer-col p{color:var(--muted);font-size:16px;line-height:1.6;margin:0 0 12px}
.footer-logo{width:80px;height:80px;object-fit:cover;display:block;margin-bottom:15px}
.footer-nav{list-style:none;margin:0;padding:0}
.footer-nav li{margin:0}
.footer-nav a{display:block;color:var(--muted);text-decoration:none;padding:4px 0}
.footer-nav a:hover{color:var(--purple)}
.footer-col a{color:var(--muted);text-decoration:none}
.footer-col a:hover{color:var(--purple)}

@media(max-width:1024px){
  h1{font-size:40px}
  h2,.section-title{font-size:30px}
  .featured-grid{grid-template-columns:1fr 1fr}
  .latest-about{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr 1fr}
  .hero-inner{gap:30px}
}
@media(max-width:767px){
  body{font-size:16px}
  h1{font-size:34px}
  h2,.section-title{font-size:28px}
  .hero{padding:40px 0 160px}
  .hero-inner{grid-template-columns:1fr;gap:30px}
  .hero-curve{height:100px}
  .categories{margin-top:-120px}
  .cat-grid{grid-template-columns:1fr}
  .featured{margin:60px 0}
  .featured-grid{grid-template-columns:1fr}
  .latest-col .post-list{grid-template-columns:1fr}
  .latest-about-section{margin-bottom:60px}
  .cta-section{padding:50px 20px}
  .footer-inner{grid-template-columns:1fr}
  .site-footer{padding:50px 0 20px}
  .header-inner{flex-wrap:wrap}
  .brand-mark{width:48px;height:48px}
  .card-body{padding:30px 25px}
}
