:root{
  --bg:#f6fbff;
  --card: rgba(255,255,255,.70);
  --line: rgba(15,60,110,.12);
  --text:#0d2238;
  --muted: rgba(13,34,56,.70);
  --primary:#1f6feb;
  --teal:#19c3b3;
  --radius:18px;
  --shadow: 0 18px 60px rgba(12,45,85,.12);
}

*,
*::before,
*::after{ box-sizing:border-box; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 500px at 10% -10%, rgba(31,111,235,.18), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(25,195,179,.16), transparent 60%),
    var(--bg);
}

/* Links */
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration: underline; }

.link-muted{ color: var(--muted); }
.link-muted:hover{ text-decoration: underline; }

/* Header / Nav */
.oc-header{
  background: rgba(255,255,255,.60);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.oc-nav{
  background: rgba(255,255,255,.75) !important;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.oc-mark{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(31,111,235,.95), rgba(25,195,179,.85));
  color:#fff;
  box-shadow: 0 14px 40px rgba(31,111,235,.18);
}

/* Buttons */
.btn-soft{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  border-radius: 14px;
  transition: filter .2s ease, transform .2s ease;
}
.btn-soft:hover{
  filter: brightness(1.02);
  transform: translateY(-1px);
}

/* Nav links */
.nav-link{
  border-radius: 999px;
  padding: .5rem .85rem !important;
}
.nav-link.active{
  background: rgba(31,111,235,.10);
  color: var(--primary) !important;
  font-weight: 700;
}

/* Cards */
.oc-card{
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

/* Home hero wrapper */
.oc-hero{ padding: 28px 0 10px; }

.oc-hero .hero-wrap{
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(31,111,235,.12), rgba(25,195,179,.10));
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.oc-hero .hero-inner{ padding: 28px; }

/* HERO ART (single consistent rule) */
.hero-art{
  min-height: 440px;
  background-size: cover;
  background-position: center;
  border-left: 1px solid var(--line);
}

@media (max-width: 992px){
  .hero-art{
    border-left: 0;
    border-top: 1px solid var(--line);
    min-height: 320px;
  }
}

/* Pills */
.oc-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.60);
  color: var(--muted);
  font-size:14px;
}

/* Dots */
.oc-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(13,34,56,.15);
}
.oc-dot.active{
  background: var(--primary);
  border-color: rgba(31,111,235,.45);
}

/* Footer */
.oc-footer{
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(10px);
}

/* Media cards */
.oc-card-media{
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.oc-card-media:hover{ transform: translateY(-3px); }

.oc-card-cover{
  height: 140px;
  background-size: cover;
  background-position: center;
}

/* News cards */
.oc-news-img{
  height: 170px;
  background-size: cover;
  background-position: center;
}

/* Small preview inside hero */
.hero-mini{ display:flex; gap:12px; flex-wrap:wrap; }

.hero-mini-card{
  width: 260px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  background: rgba(255,255,255,.65);
  cursor: pointer;
  transition: transform .2s ease;
}
.hero-mini-card:hover{ transform: translateY(-2px); }

.hero-mini-img{
  height: 90px;
  border-radius: 14px;
  margin-bottom: 8px;
  background-size: cover;
  background-position: center;
}

/* Gallery grid (single consistent rule) */
.g-img{
  height: 180px;
  background-size: cover;
  background-position: center;
  transition: transform .25s ease;
}

@media (max-width: 576px){
  .g-img{ height: 150px; }
}

.oc-card:hover .g-img{ transform: scale(1.04); }

.g-hover{
  transition: transform .2s ease, box-shadow .2s ease;
}
.g-hover:hover{ transform: translateY(-3px); }

/* Lightbox modal */
.g-modal{
  border: 1px solid var(--line);
  border-radius: 18px;
}

.g-view{
  position: relative;
  background: rgba(255,255,255,.60);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  place-items: center;
}

/* Lightbox image (single consistent rule) */
.g-full{
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  transition: transform .2s ease;
  transform-origin: center;
  cursor: zoom-in;
}
.g-full.is-zoom{
  transform: scale(1.6);
  cursor: zoom-out;
}

/* Lightbox nav (single consistent rule) */
.g-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.75);
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
}

.g-prev{ left: 12px; }
.g-next{ right: 12px; }

@media (max-width: 576px){
  .g-nav{
    width: 40px;
    height: 40px;
  }
}
