/* NDU TEC jurnalları: ana səhifə və ümumi tərtibat */

/* Standart temanın boş yan çərçivələrini və daralmış sütununu aradan qaldır */
.pkp_structure_content:before,
.pkp_structure_content:after,
.pkp_structure_main:before,
.pkp_structure_main:after { display: none !important; }

body.pkp_page_index .pkp_structure_content {
  max-width: none;
  width: 100%;
  padding: 0;
}
body.pkp_page_index .pkp_structure_main {
  margin-top: 0 !important;
  width: 100%;
  max-width: none;
  float: none;
  padding: 0;
  margin: 0;
}
body.pkp_page_index .pkp_structure_sidebar { display: none; }

/* Naviqasiya zolağı */
.pkp_navigation_primary_row {
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 3px solid var(--tec-accent);
}
.pkp_head_wrapper { padding-top: 0.5rem; }

/* Hero */
.tec_hero {
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.10), transparent 40%),
    linear-gradient(135deg, var(--tec-from) 0%, var(--tec-mid) 55%, var(--tec-to) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tec_hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.tec_hero_inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
}
.tec_eyebrow {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--tec-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tec_hero_title {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
}
.tec_hero_lead { margin-top: 1.25rem; max-width: 36rem; font-size: 1.1rem; line-height: 1.65; color: rgba(255, 255, 255, 0.8); }
.tec_hero_lead p { margin: 0; }
.tec_chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.tec_chips span { padding: 0.35rem 0.9rem; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; font-size: 0.85rem; }

.tec_actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.tec_actions_center { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2rem; }

.tec_btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.tec_btn:hover { transform: translateY(-2px); text-decoration: none; }
.tec_btn_primary { background: var(--tec-accent); color: #1b1b1b; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.tec_btn_primary:hover { color: #000; }
.tec_btn_ghost { border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; }
.tec_btn_ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.tec_btn_dark { background: var(--tec-from); color: #fff; }
.tec_btn_dark:hover { background: var(--tec-mid); color: #fff; }
.tec_btn_outline { border: 1px solid var(--tec-from); color: var(--tec-from); }
.tec_btn_outline:hover { background: var(--tec-from); color: #fff; }

.tec_hero_cover { justify-self: end; width: 100%; max-width: 280px; transform: rotate(2deg); transition: transform 0.4s ease; }
.tec_hero_cover:hover { transform: rotate(0); }
.tec_hero_cover img { width: 100%; border-radius: 4px; box-shadow: 0 24px 50px -14px rgba(0, 0, 0, 0.6); }
.tec_cover_card {
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem 1.4rem 1.4rem 1.9rem;
  border-radius: 4px;
  background: linear-gradient(160deg, var(--tec-from), var(--tec-to));
  box-shadow: 0 24px 50px -14px rgba(0, 0, 0, 0.6), inset 12px 0 0 rgba(0, 0, 0, 0.25);
  color: #fff;
}
.tec_cover_brand { color: var(--tec-accent); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.25em; }
.tec_cover_name { font-family: "Newsreader", Georgia, serif; font-size: 1.7rem; line-height: 1.15; font-weight: 600; border-top: 1px solid var(--tec-accent); padding-top: 0.9rem; }
.tec_cover_note { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }

/* Bölmələr */
.tec_container { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.tec_section { padding: 3.5rem 0; border-bottom: 1px solid #e2e8f0; }
.tec_section:last-child { border-bottom: 0; }
.tec_kicker { margin: 0 0 0.5rem; color: var(--tec-accent-strong); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.tec_section > h2 { margin: 0 0 1.25rem; font-size: clamp(1.7rem, 3vw, 2.3rem); color: #0f172a; border: 0; padding: 0; }
.tec_about { max-width: 46rem; color: #475569; font-size: 1.05rem; line-height: 1.75; }
.tec_empty { text-align: center; background: #fff; border: 1px dashed #cbd5e1; border-radius: 16px; margin: 3rem 0; padding: 3rem 1.5rem; }
.tec_empty p:not(.tec_kicker) { max-width: 34rem; margin: 0 auto 1.5rem; color: #475569; }

.tec_cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.tec_card { padding: 1.6rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.tec_card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -18px rgba(15, 23, 42, 0.3); }
.tec_card span { font-family: "Newsreader", Georgia, serif; font-size: 2.2rem; color: var(--tec-accent); line-height: 1; }
.tec_card h3 { margin: 0.6rem 0 0.4rem; font-size: 1.15rem; color: #0f172a; }
.tec_card p { margin: 0; color: #64748b; font-size: 0.95rem; line-height: 1.6; }

.tec_steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.tec_steps li { counter-increment: step; position: relative; padding: 1.4rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; }
.tec_steps li:before { content: "0" counter(step); display: block; margin-bottom: 0.5rem; font-family: "Newsreader", Georgia, serif; font-size: 2rem; color: var(--tec-accent); line-height: 1; }
.tec_steps strong { display: block; color: #0f172a; font-size: 1.05rem; }
.tec_steps span { display: block; margin-top: 0.35rem; color: #64748b; font-size: 0.93rem; line-height: 1.55; }

/* Elanlar */
.pkp_page_index .cmp_announcements { margin: 0; padding: 3rem 0; }
.cmp_announcements .obj_announcement_summary { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.1rem 1.25rem; margin-bottom: 1rem; }

/* Daxili səhifələrin ümumi görünüşü */
.pkp_structure_content { background: #f8fafc; }
.pkp_structure_main { background: transparent; }
.page_title, .pkp_structure_main > h1 { font-family: "Newsreader", Georgia, serif; }
.pkp_structure_main .page, .pkp_structure_main .cmp_form, .pkp_structure_main .obj_article_details {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 1.75rem;
}

@media (max-width: 900px) {
  .tec_hero_inner { grid-template-columns: 1fr; padding: 3rem 1.25rem 3.5rem; gap: 2rem; }
  .tec_hero_cover { justify-self: start; max-width: 220px; }
  .tec_cards { grid-template-columns: 1fr; }
  .tec_steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .tec_steps { grid-template-columns: 1fr; }
}

/* Hero başlığı: standart tema qaydalarını üstələ */
.tec_hero .tec_hero_title,
.pkp_structure_main .tec_hero h1 {
  color: #fff !important;
  font-family: "Newsreader", Georgia, serif !important;
  font-size: clamp(2.4rem, 5vw, 3.9rem) !important;
  line-height: 1.05 !important;
  font-weight: 600 !important;
}
.tec_section > h2 { font-size: clamp(1.7rem, 3vw, 2.3rem) !important; line-height: 1.2 !important; }
.tec_card h3 { font-size: 1.15rem !important; }
.tec_steps strong { font-size: 1.05rem !important; }
.tec_section h2, .tec_section h3, .tec_hero h1 { font-family: "Newsreader", Georgia, serif; }
.tec_card h3, .tec_steps strong { font-family: "Livvic", system-ui, sans-serif; }
