* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f0f0f0;
  color: #111;
  font-size: 14px;
}

a { color: #0000ee; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
}

.sr-header {
  background: #ab183d;
  border-bottom: 3px solid #8d1533;
}

.sr-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 110px;
}

.sr-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.sr-logo-img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
}

.sr-logo-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-logo-box {
  width: 58px;
  height: 58px;
  background: #ffffff;
  border: 2px solid #f3d57a;
  color: #ab183d;
  font-weight: 700;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sr-logo-text { display: inline-flex; flex-direction: column; }

.sr-title {
  color: #ffe16f;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
}

.sr-subtitle {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 5px;
}

.sr-menu-btn {
  display: none;
  border: 1px solid #ffffffaa;
  background: #8f1230;
  color: #fff;
  font-weight: 700;
  padding: 8px 10px;
  cursor: pointer;
}

.sr-nav-wrap {
  background: #000;
  border-top: 1px solid #333;
}

.sr-nav {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
}

.sr-nav a {
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 12px 8px;
  border-right: 1px solid #3b3b3b;
  font-size: 14px;
}

.sr-nav a:last-child { border-right: 0; }
.sr-nav a:hover { background: #1d1d1d; text-decoration: none; }
.sr-nav a.active { background: #2563eb; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s;
  z-index: 1000;
}

.overlay.show { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  max-width: calc(100% - 40px);
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 14px rgba(0,0,0,.25);
  z-index: 1100;
  transition: right .2s;
}

.drawer.show { right: 0; }

.drawer-head {
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid #ddd;
  padding: 8px;
}

.drawer-close {
  border: 0;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}

.drawer-links a {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  color: #111;
  font-weight: 700;
}

.drawer-links a.active {
  background: #eef4ff;
  color: #1f4ebd;
}

.sr-main {
  min-height: 62vh;
  padding-top: 12px;
  padding-bottom: 24px;
}

body:not(.page-post) .card,
body:not(.page-post) .page.card,
body:not(.page-post) .page .card {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 0;
  box-shadow: none;
}

body:not(.page-post) .page.card,
body:not(.page-post) .page .card { padding: 15px; }

body:not(.page-post) .page h1 { font-size: 28px; margin: 0 0 12px; color: #1f2937; }
body:not(.page-post) .page h2 { font-size: 22px; margin: 18px 0 10px; }
body:not(.page-post) .page h3 { font-size: 18px; margin: 14px 0 8px; }
body:not(.page-post) .page p { margin: 0 0 11px; line-height: 1.7; }
body:not(.page-post) .page ul { margin: 0 0 12px 20px; }
body:not(.page-post) .page li { margin-bottom: 6px; }

body:not(.page-post) .muted { color: #5f5f5f; font-size: 13px; }

body:not(.page-post) .list { list-style: none; margin: 0; padding: 0; }
body:not(.page-post) .list li {
  border-bottom: 1px solid #ececec;
  padding: 10px 0;
}
body:not(.page-post) .list li:last-child { border-bottom: 0; }

body:not(.page-post) .badge {
  display: inline-block;
  border: 1px solid #7aa2ff;
  background: #eff5ff;
  color: #123f97;
  padding: 2px 7px;
  font-size: 12px;
  border-radius: 2px;
  margin: 4px 5px 0 0;
}

body:not(.page-post) .btn,
body:not(.page-post) button.btn {
  background: #2563eb;
  color: #fff;
  border: 1px solid #1e4fc0;
  border-radius: 2px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

body:not(.page-post) .btn2 {
  background: #0f172a;
  color: #fff;
  border: 1px solid #0b1324;
  border-radius: 2px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

body:not(.page-post) .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

body:not(.page-post) input,
body:not(.page-post) select,
body:not(.page-post) textarea {
  border: 1px solid #bfc6d1;
  border-radius: 2px;
  padding: 8px 10px;
  font: inherit;
}

body:not(.page-post) .pager {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body:not(.page-post) .pager a,
body:not(.page-post) .pager span {
  border: 1px solid #c9cdd3;
  background: #fff;
  padding: 7px 9px;
  border-radius: 2px;
}

body:not(.page-post) .pager .active {
  background: #2563eb;
  color: #fff;
  border-color: #1e4fc0;
}

.about-page { display: grid; gap: 12px; }
.about-hero,
.about-card,
.about-grid > .card {
  background: #fff;
  border: 1px solid #d4d4d4;
  padding: 15px;
}

.about-hero { background: #fff8e7; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sr-footer {
  background: #222;
  color: #ddd;
  border-top: 3px solid #ab183d;
  padding: 18px 0;
}

.sr-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.sr-social-links .social-link {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,.2);
}

.sr-social-links .social-link:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.sr-social-links .facebook { background: #1877f2; border-color: #1159b8; }
.sr-social-links .instagram { background: #e1306c; border-color: #b32252; }
.sr-social-links .whatsapp { background: #25d366; border-color: #1ea851; color: #103d22; }
.sr-social-links .youtube { background: #ff0000; border-color: #cc0000; }

.sr-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
}

.sr-footer-links a {
  color: #9ec0ff;
  font-size: 13px;
}

.sr-foot-note {
  margin: 8px 0 0;
  font-size: 12px;
  text-align: center;
  color: #bfbfbf;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1300;
  border: 1px solid #12307b;
  background: #1f4ebd;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #255cd8;
}

.push-optin-bar {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 60px;
  z-index: 1290;
  background: rgba(17, 24, 39, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  animation: pushOptinSlideUp .35s ease-out both;
}

@keyframes pushOptinSlideUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.push-optin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.push-optin-actions .btn {
  min-width: 84px;
}

/* Force legacy style even on pages with local style blocks */
body:not(.page-post) .sr-main .card {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: 1px solid #d5d5d5 !important;
}

body:not(.page-post) .sr-main .btn,
body:not(.page-post) .sr-main button.btn {
  border-radius: 2px !important;
  box-shadow: none !important;
}

body:not(.page-post) .sr-main .btn2 {
  border-radius: 2px !important;
}

body:not(.page-post) .sr-main .badge {
  border-radius: 2px !important;
}

@media (max-width: 960px) {
  .sr-title { font-size: 34px; }
  .sr-subtitle { font-size: 14px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .sr-brand-row { min-height: 90px; }
  .sr-menu-btn { display: inline-block; }
  .sr-nav { display: none; }
  .sr-title { font-size: 26px; }
  .sr-subtitle { font-size: 12px; letter-spacing: .5px; }
}

@media (max-width: 620px) {
  .sr-logo { gap: 10px; }
  .sr-logo-box { width: 44px; height: 44px; font-size: 20px; }
  .sr-title { font-size: 22px; }
  .sr-logo-img { height: 44px; max-width: 320px; }
  .about-grid { grid-template-columns: 1fr; }
  .back-to-top {
    right: 12px;
    bottom: 12px;
    padding: 7px 9px;
    font-size: 12px;
  }
  .push-optin-bar {
    bottom: 50px;
    font-size: 13px;
    flex-direction: column;
    align-items: flex-start;
  }
}
