
/*
Theme Name: Cartlure Peak Style
Author: OpenAI
Version: 2.0
Description: Premium viral magazine style theme inspired by modern editorial websites.
*/

:root{
 --bg:#f5f5f5;
 --text:#111;
 --muted:#6b6b6b;
 --border:#e6e6e6;
 --card:#ffffff;
 --accent:#d62839;
}

*{
 margin:0;
 padding:0;
 box-sizing:border-box;
}

body{
 font-family:Arial, Helvetica, sans-serif;
 background:var(--bg);
 color:var(--text);
 line-height:1.7;
}

a{
 text-decoration:none;
 color:inherit;
}

img{
 max-width:100%;
 display:block;
}

.container{
 width:100%;
 max-width:1280px;
 margin:auto;
 padding:0 20px;
}

.site-header{
 background:#fff;
 border-bottom:1px solid var(--border);
 position:sticky;
 top:0;
 z-index:999;
}

.header-inner{
 display:flex;
 justify-content:space-between;
 align-items:center;
 padding:18px 0;
}

.logo{
 font-size:34px;
 font-weight:800;
 letter-spacing:-1px;
}

.logo span{
 color:var(--accent);
}

.main-nav ul{
 display:flex;
 gap:24px;
 list-style:none;
}

.main-nav a{
 font-weight:700;
 font-size:15px;
}

.hero-section{
 margin-top:35px;
 display:grid;
 grid-template-columns:2fr 1fr;
 gap:28px;
}

.hero-main{
 background:#fff;
 border-radius:18px;
 overflow:hidden;
 box-shadow:0 2px 12px rgba(0,0,0,0.05);
}

.hero-main img{
 height:520px;
 width:100%;
 object-fit:cover;
}

.hero-content{
 padding:28px;
}

.hero-content h1{
 font-size:42px;
 line-height:1.15;
 margin-bottom:16px;
}

.hero-content p{
 color:var(--muted);
}

.side-list{
 display:flex;
 flex-direction:column;
 gap:20px;
}

.side-card{
 background:#fff;
 border-radius:16px;
 overflow:hidden;
 box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.side-card img{
 height:180px;
 width:100%;
 object-fit:cover;
}

.side-card-content{
 padding:18px;
}

.side-card h3{
 font-size:21px;
 line-height:1.3;
}

.post-grid{
 margin:50px 0;
 display:grid;
 grid-template-columns:repeat(3,1fr);
 gap:28px;
}

.post-card{
 background:#fff;
 border-radius:18px;
 overflow:hidden;
 box-shadow:0 2px 12px rgba(0,0,0,0.05);
 transition:0.25s;
}

.post-card:hover{
 transform:translateY(-5px);
}

.post-card img{
 height:240px;
 width:100%;
 object-fit:cover;
}

.post-card-content{
 padding:20px;
}

.post-card h2{
 font-size:24px;
 line-height:1.3;
 margin-bottom:12px;
}

.meta{
 color:var(--muted);
 font-size:14px;
}

.single-layout{
 margin-top:40px;
 display:grid;
 grid-template-columns:2.2fr 1fr;
 gap:35px;
}

.single-article{
 background:#fff;
 padding:35px;
 border-radius:20px;
}

.single-article h1{
 font-size:52px;
 line-height:1.1;
 margin-bottom:18px;
}

.single-article p{
 margin:24px 0;
 font-size:20px;
}

.single-article img{
 border-radius:16px;
 margin:25px 0;
}

.sidebar .widget{
 background:#fff;
 border-radius:18px;
 padding:24px;
 margin-bottom:25px;
}

.widget h3{
 margin-bottom:16px;
}

.widget ul{
 list-style:none;
}

.widget li{
 margin:14px 0;
}

.site-footer{
 margin-top:60px;
 background:#fff;
 border-top:1px solid var(--border);
 padding:40px 0;
 text-align:center;
 color:var(--muted);
}

@media(max-width:980px){

 .hero-section,
 .single-layout,
 .post-grid{
   grid-template-columns:1fr;
 }

 .hero-main img{
   height:320px;
 }

 .hero-content h1,
 .single-article h1{
   font-size:34px;
 }

 .post-card img{
   height:220px;
 }

 .main-nav ul{
   gap:14px;
   font-size:13px;
 }

}
