:root{
  --blue:#3e6da1;
  --blue-dark:#2f5f93;
  --bg:#f4f6fb;
  --card:#ffffff;
  --text:#1c1e21;
  --muted:#6b7280;
  --radius:12px;
  --shadow:0 8px 20px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}
a{color:inherit;text-decoration:none}
img{
    width: 50px;
    height: 50px;
}
.site-header{
  background:var(--blue);
  color:#fff;
  position:sticky; top:0; z-index:10;
  border-bottom:1px solid rgba(255,255,255,.15);
}
.nav-inner{
  max-width:1200px; margin:0 auto;
  padding:12px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:700}
.brand img{height:26px; width:auto; display:block}
.menu{display:flex; align-items:center; gap:18px}
.menu a{
  color:#fff; font-weight:500; padding:6px 10px; border-radius:999px;
  transition: .15s ease, transform .15s ease;
}
.menu a:hover{background:rgba(255,255,255,.16); transform:translateY(-1px)}

.page { 
  padding: 28px 16px;
  display: flex;
  justify-content: center;   
}

.cards {
  display: flex;
  justify-content: center;   
  align-items: flex-start;
  gap: 28px;                  
  flex-wrap: wrap;            
  max-width: 1200px;          
  width: 100%;
}

.card {
  width: 320px;               
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(16,24,40,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card__media img{
  width: 100%;
  height: auto;          
  object-fit: cover;    
}


.card__body {
  padding: 18px 20px 0 20px;
  text-align: center;
}

.card__title {
  margin: 6px 0 8px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  color: #0f172a;
}

.card__text {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--muted);
}

.card__footer {
  padding: 0 20px 22px;
  display: flex;
  justify-content: center;
}
.site-footer{
  background: var(--nav);
  color: #d1d5db;
  padding: 18px;
  text-align: center;
  font-size: 14px;
}
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: background-color 120ms ease, transform 120ms ease;
}

.btn:hover { background: var(--primary-pressed); }
.btn:active { transform: translateY(1px); }

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
}
