/* article.css */

:root {

  --bg: #ffffff;
  --text: #111111;
  --text-light: #666666;

  --border: #e5e7eb;

  --blue: #6bb8ff;

  --shadow:
    0 10px 30px rgba(0,0,0,.06);

  --radius: 22px;

  --transition: .3s ease;
}

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:"Inter",sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

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

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

.container{
  width:min(900px, calc(100% - 40px));
  margin-inline:auto;
}

/* HEADER */

.header{

  position:sticky;
  top:0;
  z-index:1000;

  background:rgba(255,255,255,.85);

  backdrop-filter:blur(12px);

  border-bottom:1px solid var(--border);
}

.nav-container{

  height:82px;

  display:flex;
  align-items:center;
  justify-content:space-between;
}

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

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

.nav{
  display:flex;
  gap:28px;
}

.nav a{
  color:var(--text-light);
  transition:var(--transition);
}

.nav a:hover{
  color:var(--text);
}

/* HERO */

.article-page{
  padding:70px 0;
}

.article-hero{
  margin-bottom:40px;
}

.article-tag{

  width:fit-content;

  background:#f5f5f5;

  border:1px solid var(--border);

  padding:10px 16px;

  border-radius:999px;

  margin-bottom:24px;

  font-size:.95rem;
  font-weight:600;
}

.article-hero h1{

  font-size:clamp(2.8rem, 5vw, 4.5rem);

  line-height:1;

  letter-spacing:-3px;

  margin-bottom:24px;
}

.article-description{

  color:var(--text-light);

  font-size:1.1rem;

  line-height:1.8;

  max-width:760px;

  margin-bottom:24px;
}

.article-meta{

  display:flex;
  gap:20px;

  flex-wrap:wrap;

  color:var(--text-light);

  font-size:.95rem;
}

/* IMAGE */

.article-image{

  border-radius:32px;

  overflow:hidden;

  margin-bottom:50px;

  border:1px solid var(--border);

  box-shadow:var(--shadow);
}

.article-image img{
  width:100%;
  height:500px;
  object-fit:cover;
}

/* CONTENT */

.article-content{
  display:flex;
  flex-direction:column;
  gap:42px;
}

.content-section{

  background:#fafafa;

  border:1px solid var(--border);

  border-radius:var(--radius);

  padding:40px;

  box-shadow:var(--shadow);
}

.content-section h2{

  font-size:2rem;

  margin-bottom:22px;

  line-height:1.2;
}

.content-section p{

  color:var(--text-light);

  line-height:1.9;

  margin-bottom:18px;

  font-size:1.03rem;
}

.content-section p:last-child{
  margin-bottom:0;
}

.content-section ul{
  padding-left:22px;
}

.content-section li{

  color:var(--text-light);

  margin-bottom:14px;

  line-height:1.8;
}

/* QUOTE */

.article-quote{

  background:white;

  border-left:5px solid var(--blue);

  padding:30px;

  border-radius:18px;

  font-size:1.3rem;

  line-height:1.7;

  color:var(--text);

  box-shadow:var(--shadow);
}

/* FOOTER */

.footer{

  border-top:1px solid var(--border);

  padding:32px 0;

  margin-top:90px;
}

.footer-content{

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.footer-text{
  color:var(--text-light);
  margin-top:10px;
}

.footer-links{
  display:flex;
  gap:20px;
}

.footer-links a{
  color:var(--text-light);
}

.footer-links a:hover{
  color:var(--text);
}

/* MOBILE */

@media(max-width:700px){

  .article-page{
    padding:50px 0;
  }

  .article-hero h1{
    letter-spacing:-2px;
  }

  .article-image img{
    height:280px;
  }

  .content-section{
    padding:28px;
  }

  .content-section h2{
    font-size:1.6rem;
  }

  .footer-content{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav{
    gap:18px;
  }
}