/*
Theme Name: ColorMag Child – MTsN 1 Padang Lawas
Theme URI: https://mtsn1padanglawas.sch.id/
Description: Child theme for ColorMag customized for MTsN 1 Padang Lawas (full package)
Author: Awal Hasibuan
Template: colormag
Version: 1.0.0
Text Domain: colormag-child-mtsn1padanglawas
*/

/* Import parent theme styles if parent's style.css exists */
@import url("../colormag/style.css");

/* Branding colors */
:root{
  --primary: #106b24; /* Hijau Kemenag */
  --accent: #d4a017;  /* Gold */
  --dark: #1b2937;
  --muted: #6c757d;
}

/* Basic header tweak */
.site-header{
  background: var(--primary);
  padding: 12px 0;
}
.site-title a, .site-description{ color: #fff; }

/* Ticker */
.mtsn-ticker-wrap{
  background: #fff;
  color: var(--dark);
  padding: 6px 12px;
  border-bottom: 3px solid var(--accent);
}

/* Section titles */
.section-title{
  font-size: 26px;
  font-weight: 700;
  border-left: 8px solid var(--accent);
  padding-left: 12px;
  margin-bottom: 20px;
}

/* Grid for posts */
.mtsn-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

/* Card */
.mtsn-card{
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform .18s ease;
}
.mtsn-card:hover{ transform: translateY(-6px); }
.mtsn-thumb img{ width:100%; height:160px; object-fit:cover; display:block; }
.mtsn-title{ padding:12px; font-size:18px; font-weight:600; color:var(--dark); }
.mtsn-excerpt{ padding:0 12px 12px; color:var(--muted); }

/* Footer */
.site-footer{ background:var(--primary); color:#fff; padding:30px 0; }
.site-footer a{ color:#fff; text-decoration:underline; }

/* Responsive tweaks */
@media (max-width: 768px){
  .section-title{ font-size:20px; }
}
