/* MPS2018.es — чисте оформлення конференції */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --mps-primary: #0a2240;
  --mps-accent: #EAE018;
  --mps-accent2: #17AAE8;
  --mps-text: #333;
  --mps-text-light: #666;
  --mps-bg: #fff;
  --mps-bg-soft: #f7f9fc;
  --mps-border: #e0e0e0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--mps-text);
  background: var(--mps-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mps-accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin-bottom: 1em; }
ul, ol { margin: 0.75em 0 1em 1.5em; }
h1,h2,h3,h4,h5 { font-family: 'Montserrat', sans-serif; line-height: 1.3; font-weight: 600; }

/* HEADER */
.mps-header {
  background: var(--mps-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.mps-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.mps-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mps-logo img { height: 52px; width: auto; }
.mps-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  letter-spacing: 1px;
}
.mps-logo-text span { color: var(--mps-accent); }
.mps-nav-list {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.mps-nav-list a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mps-nav-list a:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }
.mps-nav-list .mps-nav-extra {
  background: linear-gradient(to right, var(--mps-accent) 0%, var(--mps-accent2) 100%);
  color: var(--mps-primary) !important;
  font-weight: 700;
  border-radius: 4px;
}

/* HERO */
.mps-hero {
  background: linear-gradient(135deg, var(--mps-primary) 0%, #0d3060 60%, #0a4a7a 100%);
  padding: 80px 24px 70px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mps-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--mps-accent) 0%, var(--mps-accent2) 100%);
}
.mps-hero-inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.mps-hero-tag {
  display: inline-block;
  background: rgba(234,224,24,0.15);
  border: 1px solid rgba(234,224,24,0.4);
  color: var(--mps-accent);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.mps-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.mps-hero p {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.mps-hero-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.mps-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}
.mps-hero-meta-icon { font-size: 20px; }
.mps-btn {
  display: inline-block;
  background: linear-gradient(to right, var(--mps-accent) 0%, #d4c800 100%);
  color: var(--mps-primary);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: opacity 0.2s;
}
.mps-btn:hover { opacity: 0.9; text-decoration: none; }
.mps-btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  margin-left: 12px;
}
.mps-btn-outline:hover { border-color: #fff; text-decoration: none; }

/* SECTIONS */
.mps-section { padding: 70px 24px; }
.mps-section.mps-bg-soft { background: var(--mps-bg-soft); }
.mps-section.mps-bg-dark { background: var(--mps-primary); color: #fff; }
.mps-section.mps-bg-dark h2 { color: #fff; }
.mps-section.mps-bg-dark p { color: rgba(255,255,255,0.8); }
.mps-section-inner { max-width: 1200px; margin: 0 auto; }
.mps-section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--mps-primary);
  margin-bottom: 8px;
}
.mps-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--mps-accent), var(--mps-accent2));
  margin-top: 10px;
}
.mps-section-sub {
  font-size: 17px;
  color: var(--mps-text-light);
  margin-bottom: 48px;
  margin-top: 12px;
}

/* SPEAKERS GRID */
.mps-speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.mps-speaker-card {
  background: #fff;
  border: 1px solid var(--mps-border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.mps-speaker-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.mps-speaker-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
}
.mps-speaker-info { padding: 18px 16px; }
.mps-speaker-name { font-size: 16px; font-weight: 700; color: var(--mps-primary); margin-bottom: 4px; }
.mps-speaker-role { font-size: 13px; color: var(--mps-text-light); }

/* INFO CARDS */
.mps-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mps-info-card {
  background: #fff;
  border: 1px solid var(--mps-border);
  border-radius: 10px;
  padding: 30px 26px;
}
.mps-info-card-icon { font-size: 36px; margin-bottom: 14px; }
.mps-info-card h3 { font-size: 19px; color: var(--mps-primary); margin-bottom: 10px; }
.mps-info-card p { font-size: 14px; color: var(--mps-text-light); }

/* TWO COL */
.mps-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.mps-two-col img { width: 100%; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.mps-two-col h2 { font-size: 30px; color: var(--mps-primary); margin-bottom: 16px; }

/* PAGE HERO (inner) */
.mps-page-hero {
  background: linear-gradient(135deg, var(--mps-primary) 0%, #0d3060 100%);
  padding: 50px 24px;
  text-align: center;
  color: #fff;
  position: relative;
}
.mps-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--mps-accent) 0%, var(--mps-accent2) 100%);
}
.mps-page-hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 10px; }
.mps-page-hero p { font-size: 17px; opacity: 0.85; }

/* SCHEDULE / PROGRAM */
.mps-program-list { max-width: 860px; }
.mps-program-day { margin-bottom: 40px; }
.mps-program-day-title {
  background: var(--mps-primary);
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  margin-bottom: 16px;
}
.mps-program-item {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--mps-border);
}
.mps-program-time { color: var(--mps-accent2); font-weight: 600; min-width: 80px; font-size: 14px; flex-shrink: 0; }
.mps-program-desc h4 { font-size: 15px; color: var(--mps-primary); margin-bottom: 4px; }
.mps-program-desc p { font-size: 13px; color: var(--mps-text-light); margin: 0; }

/* ARTICLE (DOCX) */
.mps-article { max-width: 860px; margin: 0 auto; }
.mps-article h1 { font-size: 32px; color: var(--mps-primary); margin-bottom: 20px; }
.mps-article h2 { font-size: 24px; color: var(--mps-primary); margin: 36px 0 14px; border-bottom: 2px solid var(--mps-accent); padding-bottom: 8px; }
.mps-article h3 { font-size: 19px; color: var(--mps-primary); margin: 24px 0 10px; }
.mps-article p { margin-bottom: 1em; }
.mps-article ul, .mps-article ol { margin: 0.8em 0 1.4em 1.8em; }
.mps-article li { margin-bottom: 0.6em; }
.article-table { width:100%; border-collapse:collapse; margin:24px 0; font-size:14px; }
.article-table th { background:var(--mps-primary); color:#fff; padding:12px; text-align:left; }
.article-table td { padding:10px 12px; border-bottom:1px solid var(--mps-border); }
.article-table tr:nth-child(even) td { background:#f8f9fa; }
.faq-section h3 { background:#f0f4f8; padding:12px 16px; border-left:4px solid var(--mps-accent2); margin:0 0 2px; font-size:16px; }
.faq-section p { padding:12px 16px; background:#fafafa; border-left:4px solid var(--mps-border); margin-bottom:16px; }

/* FOOTER */
.mps-footer { background: var(--mps-primary); color: rgba(255,255,255,0.75); padding: 50px 24px 20px; }
.mps-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mps-footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.mps-footer-col p { font-size: 14px; margin-bottom: 6px; }
.mps-footer-col ul { list-style: none; margin: 0; padding: 0; }
.mps-footer-col ul li { margin-bottom: 8px; }
.mps-footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 14px; }
.mps-footer-col ul li a:hover { color: var(--mps-accent); }
.mps-footer-bottom {
  max-width: 1200px;
  margin: 16px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* 404 */
.error-404 { text-align:center; padding:80px 20px; }
.big-404 { font-size:120px; font-weight:700; color:var(--mps-accent); line-height:1; font-family:'Montserrat',sans-serif; }
.error-404 h2 { font-size:28px; margin:16px 0; color:var(--mps-primary); }
.btn-back { display:inline-block; background:var(--mps-primary); color:#fff; padding:12px 28px; border-radius:6px; font-weight:600; margin-top:16px; text-decoration:none; }
.btn-back:hover { text-decoration:none; opacity:0.9; }

/* EXCURSION CARD */
.mps-excursion-card {
  background: #fff;
  border: 1px solid var(--mps-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.mps-excursion-card img { width:100%; height:280px; object-fit:cover; }
.mps-excursion-body { padding:28px 32px; }
.mps-excursion-date { color:var(--mps-accent2); font-weight:700; font-size:14px; text-transform:uppercase; letter-spacing:0.5px; margin-bottom:8px; }
.mps-excursion-body h3 { font-size:22px; color:var(--mps-primary); margin-bottom:14px; }

/* MEET AUTHOR TABLE */
.meet-table { width:100%; border-collapse:collapse; font-size:14px; }
.meet-table th { background:var(--mps-primary); color:#fff; padding:12px 16px; text-align:left; }
.meet-table td { padding:12px 16px; border-bottom:1px solid var(--mps-border); vertical-align:top; }
.meet-table tr:nth-child(even) td { background:#f8f9fa; }
.meet-table td:first-child { font-weight:700; color:var(--mps-primary); }
.meet-table td em { color:var(--mps-text-light); font-size:13px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .mps-speakers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .mps-hero h1 { font-size: 30px; }
  .mps-speakers-grid { grid-template-columns: repeat(2, 1fr); }
  .mps-info-grid { grid-template-columns: 1fr; }
  .mps-two-col { grid-template-columns: 1fr; }
  .mps-footer-inner { grid-template-columns: 1fr; }
  .mps-nav-list { display: none; }
  .mps-footer-bottom { flex-direction: column; gap: 8px; }
  .mps-section { padding: 40px 16px; }
}
