/* Arte Promociones Artísticas — design system
   DNA: #502A42, Arial, fondo.jpg panel, purple category bars, banner-led home */

:root {
  --brand: #502a42;
  --brand-dark: #3a1e30;
  --brand-soft: #f5f0f3;
  --accent-red: #990000;
  --panel: #ffffff;
  --muted: #e6e6e6;
  --text: #222222;
  --text-muted: #555555;
  --border: #d8cfd4;
  --font: Arial, Helvetica, sans-serif;
  --max: 960px;
  --sidebar: 200px;
  --radius: 0;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--brand);
  background-image: url(/home/fondo.jpg);
  background-repeat: repeat;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  color: var(--brand-dark);
}

h1,
h2,
h3,
h4 {
  color: var(--brand);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 {
  font-size: 1.65rem;
}

h2 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 0.85em;
}

.site-shell {
  width: min(100% - 1.5rem, var(--max));
  margin: 1rem auto 2rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.site-brand {
  position: relative;
  background:
    linear-gradient(180deg, rgba(58, 30, 48, 0.35), rgba(58, 30, 48, 0.55)),
    var(--brand);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.site-brand__link {
  display: block;
  width: 100%;
  padding: 1.5rem 1.5rem 1.35rem;
  text-align: center;
  color: #fff !important;
  text-decoration: none !important;
}

.site-brand__link strong {
  display: block;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.site-brand__link span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.88;
}

.site-nav {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 3px solid var(--brand);
}

.site-nav__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  padding: 0 0.5rem;
}

.site-nav__toggle {
  display: none;
  margin: 0.5rem;
  margin-left: auto;
  background: var(--brand);
  color: #fff;
  border: 0;
  padding: 0.55rem 0.9rem;
  font: 700 12px/1 var(--font);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-end;
}

.site-nav__list > li {
  display: flex;
  align-items: stretch;
}

.site-nav__list > li + li::before {
  content: "";
  width: 4px;
  background: var(--brand);
  flex: 0 0 4px;
}

.site-nav__list a {
  display: flex;
  align-items: center;
  padding: 0.7rem 0.85rem;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] {
  color: var(--brand);
  text-decoration: none;
  background: var(--brand-soft);
}

.site-layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: 0;
  min-width: 0;
}

.site-sidebar {
  background: var(--panel);
  border-right: 1px solid var(--border);
  padding: 1rem 0.75rem 1.5rem;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
}

.site-sidebar__social {
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-sidebar__social img {
  width: 44px;
  height: 44px;
  margin: 0.35rem 0.15rem 0;
}

.side-block {
  margin: 0 0 0.85rem;
}

.side-block__title {
  display: block;
  background: var(--brand);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.35rem;
  margin: 0 0 0.55rem;
  font-size: 12px;
}

.side-item {
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.side-item a {
  color: #000;
  font-weight: 700;
}

.side-item a:hover {
  color: var(--brand);
}

.side-item .meta {
  display: block;
  color: var(--brand);
  font-weight: 400;
  font-size: 10px;
  margin-top: 0.15rem;
}

.side-item .exclusive {
  color: var(--accent-red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.side-cta {
  display: block;
  background: var(--brand);
  color: #fff !important;
  text-align: center;
  padding: 0.65rem 0.5rem;
  margin-top: 1rem;
  text-decoration: none !important;
}

.side-cta span {
  display: inline-block;
  background: #fff;
  color: var(--brand);
  padding: 0.1rem 0.45rem;
  margin-top: 0.35rem;
  font-weight: 700;
}

.site-main {
  min-width: 0;
  padding: 1.15rem 1.25rem 1.75rem;
  background: var(--panel);
}

.page-header {
  margin: 0 0 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--brand);
}

.page-header h1 {
  margin: 0;
}

.page-header p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-weight: 400;
}

.banner-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.banner-stack a,
.banner-stack > img {
  display: block;
  width: 100%;
  max-width: 573px;
}

.promo-book {
  display: grid;
  grid-template-columns: 147px 1fr 46px;
  max-width: 378px;
  width: 100%;
  margin: 0 auto;
  background: #993333;
  color: #fff;
  min-height: 265px;
}

.promo-book__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.promo-book__cover img {
  width: 147px;
  height: auto;
}

.promo-book__text {
  padding: 1rem 0.75rem;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.promo-book__go {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #999;
  color: #fff !important;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none !important;
}

.promo-book__go:hover {
  background: #777;
}

.member-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 12px;
}

.member-note img {
  display: block;
  margin: 0.5rem auto 0;
  width: 71px;
  height: 66px;
}

.links-block {
  margin: 1.25rem 0 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-home {
  margin-top: 0.5rem;
}

.site-footer {
  background: var(--muted);
  border-top: 1px solid #ccc;
  padding: 0.85rem 1rem 1.1rem;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
}

.site-footer .romli-sitewide,
.site-footer [class*="romli"] {
  margin-bottom: 0.5rem;
}

/* Legacy Dreamweaver content helpers */
.legacy-content {
  font-size: 13px;
  line-height: 1.55;
}

.legacy-content table {
  max-width: 100%;
}

.legacy-content iframe {
  max-width: 100%;
}

.legacy-content .Estilo1,
.legacy-content .Estilo3,
.legacy-content .Estilo7,
.legacy-content .Estilo14,
.legacy-content .Estilo15,
.legacy-content .Estilo20,
.legacy-content .Estilo28,
.legacy-content .Estilo48 {
  color: var(--brand);
}

.legacy-content .Estilo29,
.legacy-content .Estilo45,
.legacy-content .Estilo46 {
  color: #fff;
}

.legacy-content .Estilo32 {
  font-size: 18px;
  font-weight: 700;
}

.legacy-content .Estilo52 {
  font-size: 24px;
  font-weight: 700;
}

/* Keep the page from shifting sideways; only table wrappers scroll */
.site-shell,
.site-layout,
.site-main,
.romlicontainer,
.legacy-content {
  max-width: 100%;
  min-width: 0;
}

/* Article content */
.romlicontainer {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  overflow-x: visible;
}

.romlicontainer > *:first-child {
  margin-top: 0;
}

.romlicontainer h2,
.romlicontainer h3,
.romlicontainer h4 {
  margin-top: 1.35em;
}

.romlicontainer ul,
.romlicontainer ol {
  margin: 0.6rem 0 1rem 1.25rem;
  padding: 0;
}

.romlicontainer li {
  margin-bottom: 0.3rem;
}

.romlicontainer img {
  display: block;
  margin: 0.85rem 0;
}

.romlicontainer blockquote {
  margin: 1rem 0;
  padding: 0.35rem 0 0.35rem 0.85rem;
  border-left: 3px solid var(--brand);
  color: var(--text-muted);
}

.romlicontainer .table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  overscroll-behavior-x: contain;
}

.romlicontainer .table-wrap table {
  margin: 0;
}

.romlicontainer table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.92em;
}

.romlicontainer th,
.romlicontainer td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.romlicontainer th {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
}

.romlicontainer tr:nth-child(even) td {
  background: #faf8f9;
}

.sidebar-widget {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 11px;
}

.sidebar-widget h2,
.sidebar-widget h3,
.sidebar-widget .widget-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 820px) {
  .site-shell {
    width: min(100% - 0.75rem, var(--max));
    margin: 0.5rem auto 1.25rem;
  }

  .site-layout {
    grid-template-columns: 1fr;
  }

  .site-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
  }

  .site-sidebar__social,
  .side-cta,
  .sidebar-widget {
    grid-column: 1 / -1;
  }

  .site-nav__toggle {
    display: inline-block;
  }

  .site-nav__list {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .site-nav.is-open .site-nav__list {
    display: flex;
  }

  .site-nav__list > li + li::before {
    display: none;
  }

  .site-nav__list a {
    border-top: 1px solid var(--border);
    width: 100%;
  }

  .promo-book {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .promo-book__go {
    min-height: 48px;
  }
}

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

  .site-main {
    padding: 1rem 0.85rem 1.35rem;
  }

  .site-brand {
    min-height: 88px;
  }

  .site-brand__link {
    padding: 1.1rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
