:root{
  /* Palette */
  --cts-navy: #1E2A38;
  --cts-navy-2: #16212D;
  --cts-gold: #C9A227;
  --cts-gold-soft: rgba(201, 162, 39, .45);


  --cts-parchment: #F5F2E9;
  --cts-parchment-2: #FAF7F2;


  --cts-text: #1F1F1F;
  --cts-muted: #6B6B6B;

  --cts-border: #E3DED4;

  --cts-header-h: 92px;
  --cts-sidebar-w: 260px;

  --cts-radius: 14px;
}

* { box-sizing: border-box; }

h1 {
  color:white;
  font-size: 20px;
}

.cts-body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--cts-text);
  background: var(--cts-parchment);
}

/* HEADER */
.cts-header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: #f8f5f4;
  border-bottom: 1px solid var(--cts-border);
}

.cts-header-inner{
  height: var(--cts-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 14px;
}

.cts-brand{
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--cts-text);
  min-width: 0;
}


.cts-logo{
  width: clamp(40px, 20vw, 76px);
  height: auto;
  display: block;
}

.cts-title{
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.0rem, 1.5vw, 1.5rem);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;       /* keep text color unchanged */
  text-decoration: none !important;   
}




.cts-menu-btn{
  border: 1px solid var(--cts-border);
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}
.cts-menu-btn:hover{
  border-color: rgba(0,0,0,.12);
}

.cts-header-top{
  height: 15px;
  background: linear-gradient(90deg, rgb(33, 47, 58), rgb(37, 51, 62), rgb(33, 47, 58));
  opacity: .9;
}

.cts-header-accent{
  height: 5px;
  background: linear-gradient(#d4b890, #f7d8a6, #a27f52);
  opacity: .9;
}

/* LAYOUT */
.cts-layout{
  display: grid;
  grid-template-columns: var(--cts-sidebar-w) 1fr;
  min-height: calc(100vh - var(--cts-header-h));
}

/* Sidebar */
.cts-sidebar{
  background: linear-gradient(180deg, var(--cts-navy), var(--cts-navy-2));
  color: #fff;
  padding: 18px 14px;
  border-right: 1px solid rgba(255,255,255,.06);
}

.cts-sidebar-top{
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.cts-mini-tile{
  width: 150px;
  text-align: center;
  padding: 18px 12px 14px;
  border-radius: var(--cts-radius);
  border: 1px solid rgba(201,162,39,.20);
  background: rgba(255,255,255,.04);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}

.cts-mini-icon-wrap{
  width: 66px;
  height: 66px;
  margin: 0 auto 10px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201,162,39,.35);
  background: rgba(0,0,0,.18);
  color: var(--cts-gold);
}

.cts-mini-label{
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .9rem;
  color: var(--cts-gold);
}

.cts-sidebar-divider{
  height: 1px;
  margin: 18px 10px 14px;
  background: rgba(255,255,255,.10);
}

/* Nav */
.cts-nav-section-label{
  margin: 10px 12px 8px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
}

.cts-nav{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 8px;
}

.cts-nav-item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(255,255,255,.92);
  border: 1px solid transparent;
  background: rgba(255,255,255,.03);
  transition: transform .08s ease, background .12s ease, border-color .12s ease;
}

.cts-nav-item:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(201,162,39,.20);
}

.cts-nav-item:active{
  transform: translateY(1px);
}

.cts-nav-item.is-active{
  background: rgba(0,0,0,.22);
  border-color: rgba(201,162,39,.35);
  box-shadow: inset 0 0 0 1px rgba(201,162,39,.12);
}

.cts-nav-icon{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(201,162,39,.20);
  color: var(--cts-gold);
}

.cts-nav-text{
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .88rem;
}

/* CONTENT (parchment) */
.cts-content{
  background: var(--cts-parchment);
  position: relative;
  overflow: hidden;
}

/* Subtle parchment texture */
.cts-content::before{
  content:"";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(0,0,0,.035), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(0,0,0,.028), transparent 50%),
    repeating-linear-gradient(0deg,
      rgba(0,0,0,.012) 0px,
      rgba(0,0,0,.012) 1px,
      transparent 1px,
      transparent 7px
    );
  opacity: .7;
  pointer-events: none;
}

.cts-content-inner{
  position: relative;
  padding: 28px 34px 48px;
  max-width: 1180px;
}

.cts-page-title{
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  margin: 0 0 10px;
  color: #1c1c1c;
}

.cts-page-rule{
  height: 1px;
  background: rgba(0,0,0,.12);
  margin-bottom: 24px;
}


.cts-gold-gradient {
    background: linear-gradient(
        180deg,
        #ffefbf 0%,
        #e9ca63 33%,
        #c7ae6e 66%
        
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cts-gold-hr {
    border: none;
    height: 2px;
    margin: 24px 0;

    background: linear-gradient(
        90deg,
        transparent,
        #F5D77A 30%,
        #C9A227 50%,
        #F5D77A 70%,
        transparent
    );

    opacity: .85;
}


/* OFFCANVAS */
.cts-offcanvas-bar{
  background: linear-gradient(180deg, var(--cts-navy), var(--cts-navy-2)) !important;
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 959px){
  .cts-layout{
    grid-template-columns: 1fr;
  }

  .cts-content-inner{
    padding: 22px 18px 42px;
  }

  .cts-logo{ width: 62px; }
}


/*APP MENU*/

/* container list */
.app-menu { 
  padding: 0;
  margin: 0;
}

/* each row */
.app-menu > li {
  margin: 0;
}

/* link base */
.app-menu-link {
  display: block;
  padding: 15px 15px !important;
  margin: 4px 8px;          /* controls how close it gets to the edges */
  font-weight: 600;
  text-decoration: none;
}

/* hover (subtle) */
.app-menu-link:hover {
  background: rgba(255,255,255,.06);
  text-decoration: none !important;
}

/* ACTIVE row */
.app-menu > li.active > .app-menu-link {
  background: rgba(0,0,0,.28);   /* darker transparent background */
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset;
 
}

/* optional: slightly brighter text on active */
.app-menu > li.active .app-menu-text {
  font-weight: 600;
}



