/*
Theme Name: Monaco Blog
Theme URI: https://cardiomonaco.com.br/
Description: Tema filho do Hello Elementor para o blog da Monaco Representacoes.
Author: Monaco Representacoes
Template: hello-elementor
Version: 1.0.4
Text Domain: monaco-blog
*/

:root {
  --monaco-red: #ed1c24;
  --monaco-red-dark: #b90f17;
  --monaco-ink: #0d0f14;
  --monaco-ink-soft: #1c212b;
  --monaco-muted: #667085;
  --monaco-line: #e5e7eb;
  --monaco-paper: #ffffff;
  --monaco-wash: #f4f7fa;
  --monaco-blue: #0b4f6c;
  --monaco-shadow: 0 24px 70px rgba(13, 15, 20, 0.14);
}

body {
  color: var(--monaco-ink);
  background: var(--monaco-paper);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

.monaco-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(7, 8, 11, 0.94);
  color: #fff;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.monaco-brand img {
  display: block;
  width: 172px;
  height: auto;
}

.monaco-main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.1vw, 28px);
  font-size: 0.86rem;
  font-weight: 700;
}

.monaco-main-nav a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.monaco-main-nav a:hover,
.monaco-main-nav .is-active {
  color: #fff;
}

.monaco-header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--monaco-red), var(--monaco-red-dark));
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 32px rgba(237, 28, 36, 0.28);
}

.monaco-blog a {
  color: inherit;
  text-decoration: none;
}

.monaco-blog button,
.monaco-blog input {
  font: inherit;
}

.monaco-blog-hero {
  position: relative;
  min-height: clamp(620px, 74vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #07080b;
}

.monaco-blog-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
}

.monaco-blog-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.96) 0%, rgba(5, 6, 9, 0.82) 38%, rgba(5, 6, 9, 0.22) 78%),
    linear-gradient(0deg, rgba(5, 6, 9, 0.48), transparent 40%);
}

.monaco-blog-hero__content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 38px;
  color: #fff;
}

.monaco-eyebrow {
  margin: 0 0 12px;
  color: var(--monaco-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.monaco-blog-hero h1 {
  margin: 0;
  max-width: 720px;
  color: #fff;
  font-size: clamp(2.55rem, 6.1vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.monaco-blog-hero__copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.monaco-search-panel {
  width: min(620px, 100%);
  margin-top: 34px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.monaco-search-panel label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

.monaco-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.monaco-search-row input,
.monaco-newsletter input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  outline: 0;
}

.monaco-search-row input {
  color: #fff;
  background: rgba(3, 4, 6, 0.72);
}

.monaco-search-row input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.monaco-button,
.monaco-search-row button,
.monaco-newsletter button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--monaco-red), var(--monaco-red-dark));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(237, 28, 36, 0.28);
}

.monaco-search-row button,
.monaco-newsletter button {
  padding: 0 20px;
}

.monaco-blog-shell {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(26px, 4vw, 54px);
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(52px, 7vw, 88px) 0;
}

.monaco-sidebar {
  align-self: start;
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
}

.monaco-sidebar-block {
  border: 1px solid var(--monaco-line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.monaco-sidebar-block h2 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.monaco-filters {
  display: grid;
  gap: 8px;
}

.monaco-filter {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--monaco-ink-soft);
  background: var(--monaco-wash);
  text-align: left;
  font-weight: 700;
}

.monaco-filter.is-active,
.monaco-filter:hover {
  color: var(--monaco-red);
  border-color: rgba(237, 28, 36, 0.24);
  background: #fff5f5;
}

.monaco-insight {
  color: #fff;
  background: linear-gradient(145deg, #10131a, #202632);
  border-color: #202632;
}

.monaco-insight span {
  color: #b8c2d2;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.monaco-insight h2 {
  margin-top: 8px;
  color: #fff;
  line-height: 1.18;
}

.monaco-insight a {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  font-weight: 800;
  border-bottom: 2px solid var(--monaco-red);
}

.monaco-content-feed {
  min-width: 0;
}

.monaco-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin: 0 0 22px;
}

.monaco-section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.monaco-section-heading span {
  color: var(--monaco-muted);
  font-weight: 800;
}

.monaco-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.monaco-post-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  border: 1px solid var(--monaco-line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.monaco-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 28, 36, 0.22);
  box-shadow: 0 18px 44px rgba(13, 15, 20, 0.1);
}

.monaco-post-card__image {
  display: block;
  width: calc(100% + 48px);
  height: 190px;
  margin: -24px -24px 22px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.monaco-post-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--monaco-red);
  background: #fff1f2;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.monaco-post-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.18;
}

.monaco-post-card p {
  margin: 14px 0 0;
  color: var(--monaco-muted);
}

.monaco-post-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 22px;
  color: #475467;
  font-size: 0.82rem;
  font-weight: 800;
}

.monaco-post-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--monaco-wash);
}

.monaco-pagination {
  margin-top: 34px;
}

.monaco-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  margin: 4px;
  border-radius: 8px;
  background: var(--monaco-wash);
  color: var(--monaco-ink);
  font-weight: 800;
}

.monaco-pagination .current {
  color: #fff;
  background: var(--monaco-red);
}

.monaco-empty {
  border: 1px solid var(--monaco-line);
  border-radius: 8px;
  padding: 32px;
  background: #fff;
}

.monaco-newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 470px);
  gap: 28px;
  align-items: center;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto clamp(54px, 8vw, 96px);
  padding: clamp(30px, 5vw, 48px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #11151d, #0b4f6c);
}

.monaco-newsletter h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.monaco-newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.monaco-newsletter input {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.monaco-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

body.blog .site-footer,
body.archive .site-footer,
body.search .site-footer,
body.single-post .site-footer,
body.blog footer#site-footer,
body.archive footer#site-footer,
body.search footer#site-footer,
body.single-post footer#site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #07080b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.blog .site-footer .footer-inner,
body.archive .site-footer .footer-inner,
body.search .site-footer .footer-inner,
body.single-post .site-footer .footer-inner {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

body.blog .site-footer a,
body.archive .site-footer a,
body.search .site-footer a,
body.single-post .site-footer a,
body.blog .site-footer p,
body.archive .site-footer p,
body.search .site-footer p,
body.single-post .site-footer p,
body.blog .site-footer .site-description,
body.archive .site-footer .site-description,
body.search .site-footer .site-description,
body.single-post .site-footer .site-description,
body.blog .site-footer .copyright,
body.archive .site-footer .copyright,
body.search .site-footer .copyright,
body.single-post .site-footer .copyright {
  color: rgba(255, 255, 255, 0.76);
}

body.blog .site-footer .custom-logo,
body.archive .site-footer .custom-logo,
body.search .site-footer .custom-logo,
body.single-post .site-footer .custom-logo {
  width: 150px;
  height: auto;
}

.monaco-site-footer {
  padding: clamp(42px, 6vw, 72px) clamp(20px, 5vw, 72px) 28px;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(237, 28, 36, 0.12), transparent 36%),
    #07080b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.monaco-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(160px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  width: min(1220px, 100%);
  margin: 0 auto;
}

.monaco-footer-brand {
  display: grid;
  align-content: start;
  gap: 12px;
}

.monaco-footer-brand img {
  display: block;
  width: 168px;
  height: auto;
}

.monaco-footer-brand p {
  margin: 0;
  font-weight: 700;
}

.monaco-footer-copy {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
  line-height: 1.55;
  font-weight: 500;
}

.monaco-footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.monaco-footer-column h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.monaco-footer-column a,
.monaco-footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none;
  font-weight: 700;
}

.monaco-footer-column p {
  font-weight: 500;
}

.monaco-footer-column a:hover {
  color: #fff;
}

.monaco-footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--monaco-red), var(--monaco-red-dark));
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(237, 28, 36, 0.24);
}

.monaco-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1220px, 100%);
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  font-weight: 700;
}

.monaco-footer-bottom a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.monaco-single {
  background: #fff;
}

.monaco-single-hero {
  padding: clamp(70px, 10vw, 132px) 20px clamp(42px, 7vw, 82px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.96), rgba(5, 6, 9, 0.78)),
    url("assets/blog-hero-cardiologia.png") center/cover no-repeat;
}

.monaco-single-hero__inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.monaco-single-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

.monaco-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 320px);
  gap: clamp(30px, 6vw, 72px);
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 86px) 0;
}

.monaco-single-content {
  color: #202632;
  font-size: 1.08rem;
}

.monaco-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.monaco-single-content h2,
.monaco-single-content h3 {
  margin-top: 1.8em;
  color: var(--monaco-ink);
  line-height: 1.12;
}

.monaco-single-content a {
  color: var(--monaco-red);
  font-weight: 700;
}

.monaco-single-featured {
  width: 100%;
  margin-bottom: 32px;
  border-radius: 8px;
}

@media (max-width: 1040px) {
  .monaco-site-header {
    grid-template-columns: auto auto;
  }

  .monaco-main-nav {
    display: none;
  }

  .monaco-blog-shell,
  .monaco-single-layout {
    grid-template-columns: 1fr;
  }

  .monaco-sidebar {
    position: static;
  }

  .monaco-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .monaco-site-header {
    min-height: 72px;
    gap: 16px;
  }

  .monaco-brand img {
    width: 142px;
  }

  .monaco-header-action {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.76rem;
  }

  .monaco-blog-hero {
    min-height: 680px;
  }

  .monaco-blog-hero__overlay {
    background: linear-gradient(90deg, rgba(5, 6, 9, 0.96), rgba(5, 6, 9, 0.58));
  }

  .monaco-blog-hero__content {
    margin: 0 auto;
  }

  .monaco-search-row,
  .monaco-newsletter,
  .monaco-newsletter form,
  .monaco-section-heading {
    grid-template-columns: 1fr;
  }

  .monaco-search-row {
    display: grid;
  }

  .monaco-search-row button,
  .monaco-newsletter button {
    min-height: 48px;
  }

  .monaco-filters,
  .monaco-post-grid {
    grid-template-columns: 1fr;
  }

  .monaco-section-heading {
    display: grid;
  }

  .monaco-post-card {
    min-height: 244px;
  }

  .monaco-footer-grid {
    grid-template-columns: 1fr;
  }

  .monaco-footer-bottom {
    flex-direction: column;
  }
}
