/**
 * RUM Journal — Custom CSS
 * rum-journal.com — Renaissance of Universal Mind
 * Xalqaro ilmiy jurnal
 *
 * Qo'shish: OJS Admin → Website → Appearance → Custom CSS
 * Yoki: HealthSciencesThemePlugin.inc.php → addStyle('rum-custom', 'styles/rum-custom.css')
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --rum-navy: #1B2A4A;
  --rum-navy-dark: #0F1B33;
  --rum-navy-light: #243656;
  --rum-gold: #C9A84C;
  --rum-gold-light: #E8D48B;
  --rum-gold-dim: rgba(201, 168, 76, 0.3);
  --rum-blue: #2E5DAA;
  --rum-blue-light: #4A7BD5;
  --rum-white: #FFFFFF;
  --rum-light: #F7F8FA;
  --rum-border: #E5E7EB;
  --rum-text: #374151;
  --rum-text-light: #6B7280;
  --rum-radius: 8px;
  --rum-radius-sm: 5px;
  --rum-shadow: 0 1px 3px rgba(0,0,0,0.08);
  --rum-shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --rum-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', 'PT Serif', Georgia, serif;
}

/* ============================================================
   GLOBAL
   ============================================================ */
body {
  font-family: var(--font-sans);
  color: var(--rum-text);
  background: var(--rum-light);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rum-blue); transition: color var(--rum-transition); }
a:hover { color: var(--rum-navy); }

/* Hide original healthSciences header elements */
.main-header,
#userNav,
.navbar-logo,
#languageLargeNav,
#languageSmallNav,
.header-logo-image { display: none !important; }

/* ============================================================
   TOP INFO BAR — full width
   ============================================================ */
.rum-topbar {
  background: var(--rum-navy-dark);
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  width: 100%;
}

.rum-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 7px 24px;
}

.rum-topbar a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--rum-transition);
}
.rum-topbar a:hover { color: var(--rum-gold); }

.rum-topbar__contacts {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rum-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
}
.rum-topbar__link svg { opacity: 0.6; flex-shrink: 0; }

.rum-topbar__sep { opacity: 0.2; margin: 0 4px; }

.rum-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.rum-lang-switch { position: relative; }

.rum-lang-switch__btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--rum-radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all var(--rum-transition);
}
.rum-lang-switch__btn:hover,
.rum-lang-switch__btn:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--rum-gold);
  color: var(--rum-white);
}
.rum-lang-switch__btn::after {
  border-top-color: rgba(255,255,255,0.6);
  margin-left: 4px;
}

.rum-lang-switch__menu {
  background: var(--rum-navy-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--rum-radius);
  box-shadow: var(--rum-shadow-lg);
  min-width: 140px;
  padding: 4px 0;
}
.rum-lang-switch__menu .dropdown-item {
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  padding: 6px 14px;
}
.rum-lang-switch__menu .dropdown-item:hover {
  background: rgba(255,255,255,0.08);
  color: var(--rum-gold);
}

/* User navigation in topbar */
.rum-usernav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.rum-usernav a,
.rum-usernav button {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: var(--rum-radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  background: transparent;
  transition: all var(--rum-transition);
  text-decoration: none;
  cursor: pointer;
}
.rum-usernav a:hover,
.rum-usernav button:hover {
  background: var(--rum-gold);
  color: var(--rum-navy-dark);
  border-color: var(--rum-gold);
}

/* ============================================================
   HERO SECTION — full-width gradient
   ============================================================ */
.rum-hero {
  background: linear-gradient(135deg, #1a2744 0%, #1e3a6e 50%, #2E5DAA 100%);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* Banner rasmni hero orqa foniga qo'yish */
.rum-hero--has-bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

/* Qorong'i overlay — matn o'qilishi uchun */
.rum-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 27, 51, 0.82) 0%,
    rgba(27, 42, 74, 0.7) 40%,
    rgba(46, 93, 170, 0.6) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.rum-hero__bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,168,76,0.07) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(46,93,170,0.15) 0%, transparent 40%);
  pointer-events: none;
}

.rum-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.rum-hero__inner--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rum-hero__row {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 1.25rem;
}

/* Logo */
.rum-hero__logo { flex-shrink: 0; }
.rum-hero__logo a { display: block; }
.rum-hero__logo img {
  max-height: 90px;
  width: auto;
  border-radius: var(--rum-radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform var(--rum-transition);
}
.rum-hero__logo a:hover img { transform: scale(1.03); }
.rum-hero__logo--center { margin-bottom: 1rem; }
.rum-hero__logo--center img { max-height: 100px; }

/* Title */
.rum-hero__title-wrap { margin: 0; }

.rum-hero__title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--rum-white);
  text-decoration: none;
  line-height: 1.2;
  display: block;
  letter-spacing: -0.3px;
}
.rum-hero__title:hover { color: var(--rum-gold-light); text-decoration: none; }
.rum-hero__title--center { font-size: 40px; margin-bottom: 4px; }

/* Subtitle badge */
.rum-hero__subtitle {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--rum-gold);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 4px 16px;
  border-radius: 20px;
  margin-top: 8px;
}

/* Description */
.rum-hero__desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 8px;
  line-height: 1.5;
  max-width: 600px;
}

/* ============================================================
   HERO SEARCH BAR
   ============================================================ */
.rum-hero__search { max-width: 560px; }

.rum-hero__search-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  overflow: hidden;
  transition: all var(--rum-transition);
  backdrop-filter: blur(4px);
}
.rum-hero__search-wrap:focus-within {
  background: rgba(255,255,255,0.16);
  border-color: var(--rum-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

.rum-hero__search-icon {
  margin-left: 16px;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
}

.rum-hero__search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--rum-white);
  outline: none;
  font-family: var(--font-sans);
}
.rum-hero__search-input::placeholder { color: rgba(255,255,255,0.45); }

.rum-hero__search-btn {
  background: var(--rum-gold);
  color: var(--rum-navy-dark);
  border: none;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  border-radius: 0 50px 50px 0;
  transition: background var(--rum-transition);
  white-space: nowrap;
}
.rum-hero__search-btn:hover { background: var(--rum-gold-light); }

/* ============================================================
   BANNER SECTION (hero tagida, Homepage Image orqali boshqariladi)
   ============================================================ */
/* Banner endi hero orqa fonida — alohida .rum-banner kerak emas */

/* indexJournal.tpl dagi homepage-image ni yashirish (hero bgda bor) */
.homepage-image { display: none !important; }

/* ============================================================
   NAVIGATION BAR — full width
   ============================================================ */
.rum-nav-wrapper {
  background: var(--rum-navy);
  border-top: 1px solid rgba(255,255,255,0.04);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.rum-navbar { padding: 0; }

.rum-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rum-navbar__toggler {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 12px;
  cursor: pointer;
  background: transparent;
  border-radius: var(--rum-radius-sm);
  margin: 8px 0;
  transition: background var(--rum-transition);
}
.rum-navbar__toggler:hover { background: rgba(255,255,255,0.08); }

.rum-navbar__hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rum-navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--rum-white);
  border-radius: 1px;
  transition: all var(--rum-transition);
}

.rum-navbar__nav {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.rum-navbar__nav .nav-link,
.rum-navbar__nav > li > a {
  color: rgba(255,255,255,0.88) !important;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 20px !important;
  transition: all var(--rum-transition);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  position: relative;
}
.rum-navbar__nav .nav-link:hover,
.rum-navbar__nav .nav-link:focus,
.rum-navbar__nav > li > a:hover {
  color: var(--rum-gold) !important;
  background: rgba(255,255,255,0.04);
  border-bottom-color: var(--rum-gold);
}

/* Dropdown menus */
.rum-navbar__nav .dropdown-menu {
  background: var(--rum-navy-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0 0 var(--rum-radius) var(--rum-radius);
  padding: 6px 0;
  margin-top: 0;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.rum-navbar__nav .dropdown-item {
  color: rgba(255,255,255,0.85) !important;
  font-size: 13px;
  padding: 8px 18px !important;
  text-transform: none;
  letter-spacing: 0;
}
.rum-navbar__nav .dropdown-item:hover {
  color: var(--rum-gold) !important;
  background: rgba(255,255,255,0.06);
}

/* ============================================================
   FOOTER
   ============================================================ */
.rum-footer {
  margin-top: 3rem;
  background: var(--rum-navy);
  color: rgba(255,255,255,0.8);
  width: 100%;
}
.rum-footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color var(--rum-transition);
}
.rum-footer a:hover,
.rum-footer a:focus {
  color: var(--rum-gold);
  text-decoration: none;
}

.rum-footer__sidebar { margin-bottom: 2rem; }

.rum-footer__main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 24px 2rem;
}

/* Footer Grid */
.rum-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.rum-footer__heading {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--rum-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--rum-gold-dim);
}

/* Brand column */
.rum-footer__col--brand .rum-footer__logo img {
  max-height: 50px;
  width: auto;
  margin-bottom: 0.75rem;
}
.rum-footer__brand-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--rum-gold);
  margin-bottom: 4px;
}
.rum-footer__brand-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.75rem;
}
.rum-footer__custom-text {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

/* Quick links */
.rum-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rum-footer__list li { margin-bottom: 8px; }
.rum-footer__list a {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rum-footer__list a::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--rum-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Contact list */
.rum-footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rum-footer__contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
}
.rum-footer__contact-list svg {
  flex-shrink: 0;
  color: var(--rum-gold);
  opacity: 0.7;
}

/* Social buttons */
.rum-footer__social {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
}
.rum-footer__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.75);
  transition: all var(--rum-transition);
}
.rum-footer__social-btn:hover {
  background: var(--rum-gold);
  color: var(--rum-navy-dark);
  transform: translateY(-2px);
}
.rum-footer__social-btn svg { width: 18px; height: 18px; }

/* Partner badges */
.rum-footer__partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.rum-footer__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.95) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: var(--rum-radius) !important;
  padding: 10px 14px !important;
  transition: all var(--rum-transition);
}
.rum-footer__badge img {
  max-height: 40px !important;
  max-width: 100% !important;
  width: auto !important;
  object-fit: contain !important;
  border-radius: 4px !important;
  filter: none !important;
  opacity: 1 !important;
  transition: opacity var(--rum-transition);
}
.rum-footer__badge:hover {
  background: #fff;
  border-color: var(--rum-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.rum-footer__badge:hover img { opacity: 1; }

/* Bottom bar */
.rum-footer__bottom {
  background: var(--rum-navy-dark);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.rum-footer__bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
.rum-footer__bottom-inner a { color: var(--rum-gold); }
.rum-footer__bottom-inner a:hover { color: var(--rum-gold-light); }
.rum-footer__bottom-sep { opacity: 0.25; }

/* ============================================================
   PAGE LAYOUT — Content + Sidebar
   ============================================================ */
.rum-page-wrap {
  display: flex;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 24px;
  gap: 2rem;
}

.rum-page-content {
  flex: 1;
  min-width: 0;
}

/* Sidebar */
.rum-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 70px;
  align-self: flex-start;
}

/* Eski LESS stillarini bekor qilish */
.rum-sidebar .pkp_block {
  flex: none !important;
  width: 100% !important;
}
.rum-sidebar .row {
  flex-direction: column !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rum-sidebar .pkp_block,
.rum-sidebar .block {
  background: var(--rum-white);
  border: none;
  border-radius: var(--rum-radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 12px rgba(27,42,74,0.06);
  border-left: 3px solid var(--rum-gold);
  transition: all var(--rum-transition);
}

.rum-sidebar .pkp_block:hover,
.rum-sidebar .block:hover {
  box-shadow: 0 4px 20px rgba(27,42,74,0.1);
  transform: translateY(-1px);
}

.rum-sidebar .pkp_block .title,
.rum-sidebar .block h2,
.rum-sidebar .block h3,
.rum-sidebar .block .title {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--rum-navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: none;
  padding-bottom: 10px;
  margin-bottom: 10px;
  margin-top: 0;
  position: relative;
}

.rum-sidebar .pkp_block .title::after,
.rum-sidebar .block h2::after,
.rum-sidebar .block h3::after,
.rum-sidebar .block .title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--rum-gold);
  border-radius: 2px;
}

.rum-sidebar .pkp_block ul,
.rum-sidebar .block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rum-sidebar .pkp_block ul li,
.rum-sidebar .block ul li {
  padding: 0;
  border-bottom: none;
  font-size: 14px;
}

.rum-sidebar .pkp_block ul li a,
.rum-sidebar .block ul li a {
  color: var(--rum-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--rum-radius-sm);
  transition: all var(--rum-transition);
}

.rum-sidebar .pkp_block ul li a::before,
.rum-sidebar .block ul li a::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--rum-gold);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform var(--rum-transition);
}

.rum-sidebar .pkp_block ul li a:hover,
.rum-sidebar .block ul li a:hover {
  color: var(--rum-blue);
  background: rgba(46,93,170,0.05);
  padding-left: 14px;
}

.rum-sidebar .pkp_block ul li a:hover::before,
.rum-sidebar .block ul li a:hover::before {
  background: var(--rum-blue);
  transform: scale(1.3);
}

/* Sidebar block content */
.rum-sidebar .pkp_block p,
.rum-sidebar .block p {
  font-size: 14px;
  color: var(--rum-text-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Sidebar badge counts */
.rum-sidebar .pkp_block .badge,
.rum-sidebar .block .badge {
  background: var(--rum-blue);
  color: var(--rum-white);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
}

/* Mobile: sidebar goes below content */
@media (max-width: 991px) {
  .rum-page-wrap {
    flex-direction: column;
    padding: 1.5rem 16px;
    gap: 1.5rem;
  }

  .rum-sidebar {
    width: 100%;
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 575px) {
  .rum-sidebar {
    grid-template-columns: 1fr;
  }

  .rum-page-wrap {
    padding: 1rem 12px;
  }
}

/* ============================================================
   COMPATIBILITY — old healthSciences classes
   ============================================================ */
.site-footer { margin-top: 0; padding: 0; background: transparent; }
.site-footer-content > p:last-child { margin-bottom: 0; }
.footer-brand-image { margin-top: 2rem; max-width: 96px; }
.navbar-logo-text {
  display: block;
  width: 100%;
  white-space: normal;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--rum-white);
}

/* ============================================================
   OJS PAGE STYLES
   ============================================================ */
.page { font-family: var(--font-sans); }

.page_index_journal .page {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Container ichidagi container ortiqcha padding bermsin */
.rum-page-content .container {
  max-width: 100%;
  padding: 0;
}

.page__title {
  font-family: var(--font-serif);
  color: var(--rum-navy);
  font-weight: 700;
}

.pkp_structure_main { min-height: 400px; }

/* Article summary cards */
.obj_article_summary {
  border-left: 3px solid var(--rum-gold);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  transition: border-color var(--rum-transition);
}
.obj_article_summary:hover { border-left-color: var(--rum-blue); }
.obj_article_summary .title a {
  color: var(--rum-navy);
  font-weight: 600;
  font-family: var(--font-sans);
}
.obj_article_summary .title a:hover { color: var(--rum-blue); }

/* Buttons */
.btn-primary,
.pkp_button {
  background-color: var(--rum-blue) !important;
  border-color: var(--rum-blue) !important;
  color: #fff !important;
  border-radius: var(--rum-radius-sm);
  font-family: var(--font-sans);
  transition: all var(--rum-transition);
}
.btn-primary:hover,
.pkp_button:hover {
  background-color: var(--rum-navy) !important;
  border-color: var(--rum-navy) !important;
}

/* Issue TOC */
.obj_issue_toc .heading {
  font-family: var(--font-serif);
  color: var(--rum-navy);
  border-bottom: 2px solid var(--rum-gold);
  padding-bottom: 0.5rem;
}

/* Sidebar blocks */
.pkp_block {
  border: 1px solid var(--rum-border);
  border-radius: var(--rum-radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: var(--rum-white);
  box-shadow: var(--rum-shadow);
}
.pkp_block .title {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--rum-navy);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 2px solid var(--rum-gold-dim);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

/* Additional content area */
.additional_content {
  background: var(--rum-white);
  border-radius: var(--rum-radius);
  padding: 2rem;
  box-shadow: var(--rum-shadow);
  margin-bottom: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Small Mobile (360px and below) ---- */
@media (max-width: 400px) {
  .rum-topbar__contacts { display: none; }
  .rum-topbar__inner { justify-content: flex-end; padding: 6px 12px; }
  .rum-topbar__actions { gap: 6px; }

  .rum-hero { padding: 1.25rem 0; }
  .rum-hero--has-bg { min-height: 200px; padding: 1.5rem 0; }
  .rum-hero__inner { padding: 0 12px; }

  .rum-hero__row {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .rum-hero__logo img {
    max-height: 60px;
    border-radius: 6px;
  }

  .rum-hero__title { font-size: 22px; }
  .rum-hero__title--center { font-size: 24px; }
  .rum-hero__subtitle { font-size: 10px; padding: 3px 10px; letter-spacing: 1px; }
  .rum-hero__desc { font-size: 12px; text-align: center; margin: 6px auto 0; }

  .rum-hero__search { max-width: 100%; }
  .rum-hero__search-wrap { border-radius: var(--rum-radius); }
  .rum-hero__search-input { padding: 9px 10px; font-size: 13px; }
  .rum-hero__search-btn {
    padding: 9px 14px;
    font-size: 12px;
    border-radius: 0 var(--rum-radius) var(--rum-radius) 0;
  }

  .rum-nav-inner { padding: 0 12px; }
  .rum-navbar__nav { flex-direction: column; }
  .rum-navbar__nav .nav-link,
  .rum-navbar__nav > li > a {
    padding: 11px 14px !important;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid transparent;
  }

  .rum-footer__main { padding: 1.5rem 12px 1rem; }
  .rum-footer__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .rum-footer__heading { font-size: 12px; }
  .rum-footer__brand-name { font-size: 15px; }
  .rum-footer__social-btn { width: 32px; height: 32px; }
  .rum-footer__social-btn svg { width: 16px; height: 16px; }
  .rum-footer__bottom-inner { padding: 0 12px; font-size: 11px; }

  .rum-lang-switch__btn { font-size: 11px; padding: 2px 8px; }
  .rum-usernav a, .rum-usernav button { font-size: 11px; padding: 2px 8px; }
}

/* ---- Mobile (401px - 767px) ---- */
@media (min-width: 401px) and (max-width: 767px) {
  .rum-topbar__contacts { display: none; }
  .rum-topbar__inner { justify-content: flex-end; }

  .rum-hero { padding: 1.5rem 0; }

  .rum-hero__row {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .rum-hero__logo img { max-height: 70px; }

  .rum-hero__title { font-size: 26px; }
  .rum-hero__title--center { font-size: 28px; }
  .rum-hero__desc { text-align: center; margin-left: auto; margin-right: auto; }

  .rum-hero__search { max-width: 100%; }
  .rum-hero__search-wrap { border-radius: 40px; }

  .rum-nav-inner { padding: 0 16px; }
  .rum-navbar__nav { flex-direction: column; }
  .rum-navbar__nav .nav-link,
  .rum-navbar__nav > li > a {
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    border-left: 3px solid transparent;
  }
  .rum-navbar__nav .nav-link:hover,
  .rum-navbar__nav > li > a:hover {
    border-left-color: var(--rum-gold);
  }

  .rum-footer__main { padding: 2rem 16px 1.5rem; }
  .rum-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---- Tablet (768px - 991px) ---- */
@media (min-width: 576px) {
  .rum-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .rum-hero { padding: 2rem 0; }
  .rum-hero--has-bg { min-height: 240px; }
  .rum-hero__title { font-size: 30px; }
  .rum-hero__logo img { max-height: 85px; }
  .footer-brand-image { margin-top: 0; }
}

/* ---- Desktop (992px+) ---- */
@media (min-width: 992px) {
  .rum-hero { padding: 3rem 0; }
  .rum-hero--has-bg { min-height: 300px; padding: 3.5rem 0; }
  .rum-hero__title { font-size: 38px; }
  .rum-hero__title--center { font-size: 44px; }
  .rum-hero__logo img { max-height: 110px; }

  .rum-navbar__nav .nav-link,
  .rum-navbar__nav > li > a {
    padding: 16px 24px !important;
    font-size: 13.5px;
  }

  .rum-footer__grid {
    grid-template-columns: 2fr 1fr 1.2fr 1.3fr;
    gap: 2.5rem;
  }
}

/* ---- Large screens (1400px+) ---- */
@media (min-width: 1400px) {
  .rum-hero__title { font-size: 42px; }
  .rum-hero__title--center { font-size: 48px; }
  .rum-hero--has-bg { min-height: 340px; }

  .rum-topbar__inner,
  .rum-hero__inner,
  .rum-nav-inner,
  .rum-footer__main,
  .rum-footer__bottom-inner {
    max-width: 1400px;
  }
}
