/* febarj.org faithful skin — Hestia-style replica, own tokens (capture 20260420031546) */
:root {
  --accent: #075486;
  --accent-hi: #2f9be8;
  --ink: #3c4858;
  --muted: #6b7a8c;
  --line: #dbe4ec;
  --bg: #f4f7fa;
  --card: #ffffff;
  --nav-from: #062a4d;
  --nav-to: #075486;
  --hero-from: rgb(2, 123, 208);
  --hero-to: rgb(2, 33, 208);
  --topbar: #363537;
  --footer: #15181d;
  --footer-2: #0d1014;
  --radius: 3px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
h1, h2, h3, h4 { font-family: 'Roboto Slab', Georgia, serif; color: #232a33; line-height: 1.25; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.clear { clear: both; }

/* ---------------------------------------------------------- top bar ------- */
.topbar {
  background: var(--topbar);
  color: #fff;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar a { color: #fff; }
.topbar a:hover { color: #ddd; }
.topbar .tb_rg { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb_note { opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------------------------------------------------- navbar -------- */
.navbar {
  background: linear-gradient(90deg, var(--nav-from), var(--nav-to));
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(2, 20, 40, .35);
}
.navbar .container { display: flex; align-items: center; gap: 18px; }
.brand { flex: 0 0 auto; padding: 10px 0; }
.brand img { display: block; width: 196px; height: auto; }
.nav_toggle { display: none; }
.main_nav { margin-left: auto; }
.main_nav ul.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main_nav ul.menu li { margin: 0; }
.main_nav ul.menu a {
  display: block;
  padding: 18px 13px;
  color: #eaf3fb;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .1px;
}
.main_nav ul.menu a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.main_nav ul.menu li.current-menu-item a { color: #fff; box-shadow: inset 0 -3px 0 var(--accent-hi); }
.show_nav { display: none; }

/* ---------------------------------------------------------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(45deg, var(--hero-from) 0, var(--hero-to) 100%);
  color: #fff;
  overflow: hidden;
}
.hero .hero_bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .28;
  mix-blend-mode: luminosity;
}
.hero .hero_in {
  position: relative;
  padding: 96px 16px 88px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.hero h1 {
  color: #fff;
  font-size: 46px;
  margin: 0 0 18px;
}
.hero .sub-title {
  display: block;
  font-size: 18px;
  color: #e6f1fb;
  max-width: 700px;
  margin: 0 auto 30px;
}
.hero.small .hero_in { padding: 58px 16px 52px; }
.hero.small h1 { font-size: 34px; margin-bottom: 10px; }
.hero.small .sub-title { font-size: 16px; margin-bottom: 0; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  border: 0;
  border-radius: var(--radius);
  padding: 15px 33px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #0a6aad; transform: translateY(-1px); }
.btn.ghost {
  background: rgba(255, 255, 255, .12);
  box-shadow: inset 0 0 0 2px #fff;
}
.btn.ghost:hover { background: rgba(255, 255, 255, .22); }

/* ---------------------------------------------------------- layout -------- */
.main { padding: 40px 0 56px; }
.breadcrumbs {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 18px;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { margin: 0 6px; opacity: .6; }

article.card {
  background: var(--card);
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(12, 35, 60, .08);
  padding: 34px 38px 40px;
  margin-bottom: 34px;
}
article.card > h1:first-child { margin-top: 0; font-size: 32px; }
.entry h2 { font-size: 25px; margin: 34px 0 12px; }
.entry h3 { font-size: 19.5px; margin: 26px 0 10px; }
.entry p { margin: 0 0 16px; }
.entry ul, .entry ol { margin: 0 0 18px; padding-left: 24px; }
.entry li { margin-bottom: 8px; }
.entry blockquote {
  margin: 22px 0;
  padding: 16px 22px;
  border-left: 4px solid var(--accent);
  background: #f0f6fb;
  color: #33506b;
  font-style: italic;
  border-radius: 0 6px 6px 0;
}
.entry blockquote p { margin: 0; }
.entry figure { margin: 26px 0; }
.entry figure img { border-radius: 6px; display: block; width: 100%; }
.entry figcaption { font-size: 13px; color: var(--muted); padding-top: 8px; text-align: center; }
.post_img { margin: 6px 0 24px; }
.post_img img { border-radius: 6px; display: block; width: 100%; }
.lead { font-size: 17.5px; color: #2f3d4d; }

/* ---------------------------------------------------------- tables -------- */
.article-table-wrap { overflow-x: auto; margin: 22px 0 30px; border-radius: 6px; box-shadow: 0 2px 10px rgba(12, 35, 60, .07); }
table.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  background: #fff;
  font-size: 14.5px;
}
table.article-table caption {
  caption-side: top;
  text-align: left;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  color: #232a33;
  padding: 10px 4px 12px;
  font-size: 16px;
}
table.article-table th, table.article-table td {
  border: 1px solid var(--line);
  padding: 11px 14px;
  vertical-align: top;
  text-align: left;
}
table.article-table th { background: var(--accent); color: #fff; font-weight: 600; }
table.article-table tr:nth-child(even) td { background: rgba(7, 84, 134, .045); }

/* ---------------------------------------------------------- brand plate --- */
.brandplate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #04355c, #0a6aad);
  color: #fff;
  font-weight: 800;
  font-style: italic;
  border-radius: var(--radius);
  padding: 10px 26px;
  font-size: 19px;
  letter-spacing: .4px;
}

/* ---------------------------------------------------------- cards grid ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 22px 0 8px; }
.cards .card_item {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(12, 35, 60, .08);
  display: flex;
  flex-direction: column;
}
.cards .card_item .ci_img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cards .card_item .ci_pad { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cards .card_item .ci_t { font-family: 'Roboto Slab', Georgia, serif; font-weight: 700; font-size: 16.5px; line-height: 1.35; }
.cards .card_item .ci_t a { color: #232a33; }
.cards .card_item .ci_t a:hover { color: var(--accent); }
.cards .card_item .ci_d { font-size: 13.5px; color: var(--muted); flex: 1; }
.cards .card_item .ci_more { font-size: 13.5px; font-weight: 600; }
.sec_t {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 26px;
  margin: 38px 0 6px;
  color: #232a33;
}
.sec_sub { color: var(--muted); margin: 0 0 8px; }

/* ---------------------------------------------------------- rg block ------ */
.rgblock {
  margin: 30px 0 6px;
  border: 1px solid #f0c36d;
  border-left: 5px solid #e0a32e;
  background: #fffaf0;
  border-radius: 6px;
  padding: 18px 22px;
}
.rgblock_t {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  color: #7a5410;
  margin-bottom: 8px;
  font-size: 17px;
}
.rg18, .eighteenyears {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #c41230;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex: 0 0 auto;
}
.rgblock_e { font-size: 14.5px; color: #5c4a22; }
.rgblock_e p { margin: 0 0 8px; }
.rgblock_e p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------- faq ----------- */
.myfaq { margin: 18px 0 6px; }
.myfaq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}
.myfaq summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 48px 15px 18px;
  font-weight: 600;
  color: #232a33;
  position: relative;
  font-size: 15.5px;
}
.myfaq summary::-webkit-details-marker { display: none; }
.myfaq summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
  transition: transform .15s ease;
}
.myfaq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.myfaq .faq_body { padding: 0 18px 16px; color: var(--ink); font-size: 14.5px; }
.myfaq .faq_body p { margin: 0; }

/* ---------------------------------------------------------- footer -------- */
footer {
  background: var(--footer);
  color: #b8c2cd;
  margin-top: 30px;
}
footer .foot_top { padding: 42px 0 30px; display: flex; flex-wrap: wrap; gap: 30px; }
footer .foot_col { flex: 1 1 220px; min-width: 200px; }
footer .foot_col img { width: 170px; margin-bottom: 12px; }
footer .foot_col p { font-size: 13.5px; margin: 0 0 8px; }
footer .foot_t {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #fff;
  font-size: 15px;
  margin: 0 0 12px;
  font-weight: 700;
}
footer ul.menu { list-style: none; margin: 0; padding: 0; }
footer ul.menu li { margin-bottom: 7px; }
footer ul.menu a { color: #b8c2cd; font-size: 13.5px; }
footer ul.menu a:hover { color: #fff; }
footer .foot_rg a { display: inline-flex; align-items: center; gap: 12px; color: #e8edf2; font-size: 13.5px; }
footer .foot_rg a:hover { color: #fff; }
footer .foot_bot { background: var(--footer-2); padding: 14px 0; font-size: 13px; }
footer .foot_bot .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------------------------------------------------------- mobile -------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .main_nav { display: none; margin-left: 0; width: 100%; }
  .main_nav ul.menu { flex-direction: column; }
  .main_nav ul.menu a { padding: 13px 6px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .navbar .container { flex-wrap: wrap; }
  .show_nav {
    display: block;
    margin-left: auto;
    width: 42px;
    height: 42px;
    position: relative;
    cursor: pointer;
  }
  .show_nav span, .show_nav span::before, .show_nav span::after {
    content: '';
    position: absolute;
    left: 8px;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform .18s ease, opacity .18s ease;
  }
  .show_nav span { top: 19px; }
  .show_nav span::before { top: -8px; left: 0; }
  .show_nav span::after { top: 8px; left: 0; }
  .nav_toggle:checked ~ .container .main_nav { display: block; }
  .nav_toggle:checked ~ .container .show_nav span { background: transparent; }
  .nav_toggle:checked ~ .container .show_nav span::before { transform: translateY(8px) rotate(45deg); }
  .nav_toggle:checked ~ .container .show_nav span::after { transform: translateY(-8px) rotate(-45deg); }
  .hero .hero_in { padding: 64px 16px 58px; }
  .hero h1 { font-size: 32px; }
  .hero.small h1 { font-size: 26px; }
  article.card { padding: 24px 18px 28px; }
  article.card > h1:first-child { font-size: 25px; }
  .entry h2 { font-size: 21px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .topbar .tb_note { display: none; }
  .hero h1 { font-size: 28px; }
  .btn { padding: 13px 26px; }
}
