/* ===== COMPOUNDING PAGE CSS ===== */

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{

    margin:0;

    font-family:Arial,Helvetica,sans-serif;

    background:#f6f8fc;

    color:#172033;

    line-height:1.7;

}

a{text-decoration:none;color:#173b7a}



.header{

    background:#fff;

    border-bottom:1px solid #e6eaf0;

    position:sticky;

    top:0;

    z-index:10;

}

.nav{

    max-width:1100px;

    margin:auto;

    padding:16px 22px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

}

.brand{

    font-weight:700;

    letter-spacing:.4px;

}

.home-link{

    font-size:14px;

    font-weight:600;

}



.hero{

    background:linear-gradient(135deg,#10244f,#1d4e89);

    color:#fff;

    padding:70px 22px;

}

.hero-inner{

    max-width:900px;

    margin:auto;

}

.eyebrow{

    font-size:13px;

    font-weight:700;

    letter-spacing:1.5px;

    opacity:.8;

}

h1{

    font-size:clamp(32px,5vw,56px);

    line-height:1.15;

    margin:14px 0 20px;

}

.hero p{

    max-width:760px;

    font-size:18px;

    opacity:.92;

}



.notice{

    max-width:1100px;

    margin:28px auto 0;

    padding:0 22px;

}

.notice-box{

    background:#fff8df;

    border:1px solid #f0d98a;

    padding:18px;

    border-radius:12px;

    font-size:15px;

}



.container{

    max-width:900px;

    margin:auto;

    padding:35px 22px 70px;

}

.article{

    background:#fff;

    border:1px solid #e7ebf2;

    border-radius:18px;

    padding:clamp(24px,5vw,52px);

}

h2{

    font-size:28px;

    line-height:1.25;

    margin-top:42px;

}

h3{

    font-size:21px;

    margin-top:28px;

}

p{margin:16px 0}

ul{

    padding-left:22px;

}

li{margin:10px 0}



.example{

    background:#f2f6fc;

    border-left:4px solid #1d4e89;

    padding:20px;

    border-radius:10px;

    margin:25px 0;

}



.grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:16px;

    margin:25px 0;

}

.card{

    border:1px solid #e4e9f1;

    border-radius:12px;

    padding:18px;

    background:#fff;

}

.card strong{

    display:block;

    margin-bottom:8px;

}



.related{

    margin-top:45px;

    padding-top:25px;

    border-top:1px solid #e5e9f0;

}

.related a{

    display:block;

    margin:12px 0;

    font-weight:600;

}



.footer{

    background:#101827;

    color:#cbd5e1;

    text-align:center;

    padding:30px 20px;

    font-size:14px;

}

.footer a{color:#fff}



@media(max-width:600px){

    .nav{padding:14px 16px}

    .hero{padding:55px 20px}

    .article{padding:24px 20px}

}

/* ===== TOC CSS ===== */

.table-of-contents{

  margin:24px 0;

  border:1px solid #e1e6ee;

  border-radius:12px;

  background:#f8fafc;

  overflow:hidden;

}



.toc-toggle{

  width:100%;

  border:0;

  background:#071b35;

  color:#fff;

  padding:16px 18px;

  font-size:16px;

  font-weight:700;

  display:flex;

  justify-content:space-between;

  align-items:center;

  cursor:pointer;

}



.toc-arrow{

  font-size:18px;

  line-height:1;

}



.toc-content{

  display:none;

  padding:14px 22px;

}



.table-of-contents.open .toc-content{

  display:block;

}



.toc-content ul{

  margin:0;

  padding-left:18px;

}



.toc-content li{

  margin:10px 0;

}



.toc-content a{

  color:#0d3b66;

  text-decoration:none;

  font-weight:600;

}



.toc-content a:hover{

  text-decoration:underline;

}



@media(max-width:600px){

  .toc-toggle{

    padding:15px;

  }



  .toc-content{

    padding:12px 18px;

  }

}

/* ===== AUTHOR BOX CSS ===== */

.author-box{

    margin:30px 0;

    padding:20px;

    border:1px solid #ddd;

    border-radius:10px;

    background:#f8f9fa;

}

.author-box strong{

    display:block;

    font-size:18px;

    margin-bottom:5px;

}

.author-box span{

    display:block;

    font-size:14px;

    margin-bottom:12px;

    color:#555;

}

.author-box p{

    margin:0;

    line-height:1.6;

}
