:root {
  --ogums-navy: #08275f;
  --ogums-blue: #1f5fbf;
  --ogums-sky: #eaf3fc;
  --ogums-ink: #101a33;
  --ogums-muted: #657086;
  --ogums-line: #dce7f3;
  --ogums-white: #fff;
}

.ogums-search {
  display: flex;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 7px;
  border: 1px solid var(--ogums-line);
  border-radius: 999px;
  background: var(--ogums-white);
  box-shadow: 0 14px 40px rgba(8, 39, 95, .08);
}

.ogums-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: 0;
  outline: 0;
  color: var(--ogums-ink);
  background: transparent;
}

.ogums-search button,
.ogums-primary-link,
.ogums-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ogums-navy), var(--ogums-blue));
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ogums-search button { padding: 12px 24px; }
.ogums-primary-link { padding: 13px 22px; }
.ogums-cart { padding: 9px 14px; font-size: 12px; }

.ogums-search button:hover,
.ogums-primary-link:hover,
.ogums-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 95, 191, .24);
}

.ogums-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.ogums-product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ogums-line);
  border-radius: 16px;
  background: var(--ogums-white);
  box-shadow: 0 12px 32px rgba(8, 39, 95, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.ogums-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(8, 39, 95, .14);
}

.ogums-product-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: .78;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #f7faff, var(--ogums-sky));
}

.ogums-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 14px rgba(8, 39, 95, .18));
  transition: transform .25s ease;
}

.ogums-product-card:hover .ogums-product-image img { transform: scale(1.035); }

.ogums-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--ogums-white);
  color: var(--ogums-navy);
  box-shadow: 0 5px 16px rgba(8, 39, 95, .14);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ogums-product-body { padding: 16px; }
.ogums-product-body h3 { min-height: 2.8em; margin: 5px 0 14px; font-size: 17px; line-height: 1.35; }
.ogums-product-body h3 a { color: var(--ogums-navy); text-decoration: none; }
.ogums-product-cats { min-height: 1.4em; color: var(--ogums-blue); font-size: 11px; line-height: 1.3; }
.ogums-product-cats a { color: inherit; text-decoration: none; }
.ogums-product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ogums-price { color: var(--ogums-ink); font-size: 15px; font-weight: 800; }
.ogums-price del { color: var(--ogums-muted); font-size: 11px; font-weight: 500; }
.ogums-price ins { text-decoration: none; }

.ogums-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.ogums-category-card {
  overflow: hidden;
  border: 1px solid var(--ogums-line);
  border-radius: 18px;
  background: #fff;
  color: var(--ogums-navy) !important;
  box-shadow: 0 10px 28px rgba(8, 39, 95, .07);
  text-decoration: none !important;
}

.ogums-category-visual {
  display: block;
  height: 170px;
  background-color: var(--ogums-navy);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform .3s ease;
}

.ogums-category-card:hover .ogums-category-visual { transform: scale(1.035); }
.ogums-category-copy { display: flex; flex-direction: column; gap: 4px; padding: 17px; }
.ogums-category-copy strong { font-family: Georgia, serif; font-size: 21px; }
.ogums-category-copy small { color: var(--ogums-muted); }

.ogums-author-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ogums-author-card {
  overflow: hidden;
  border: 1px solid var(--ogums-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 39, 95, .08);
}

.ogums-author-visual {
  display: flex;
  align-items: flex-end;
  min-height: 270px;
  padding: 18px;
  background-color: var(--ogums-navy);
  background-position: center;
  background-size: cover;
  text-decoration: none !important;
}

.ogums-author-visual.uses-book-cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: inset 0 -70px 80px rgba(8, 39, 95, .72);
}

.ogums-author-visual span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 39, 95, .86);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ogums-author-copy { padding: 20px; }
.ogums-author-copy h3 { margin: 3px 0 10px; font-family: Georgia, serif; font-size: 26px; line-height: 1.1; }
.ogums-author-copy h3 a { color: var(--ogums-navy); text-decoration: none; }
.ogums-author-copy > p:not(.ogums-eyebrow) { min-height: 4.6em; color: var(--ogums-muted); font-size: 14px; line-height: 1.55; }
.ogums-eyebrow { margin: 0 0 7px; color: var(--ogums-blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ogums-text-link { color: var(--ogums-blue) !important; font-size: 12px; font-weight: 700; text-decoration: none !important; }

.ogums-featured-author {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 28px;
  background: linear-gradient(135deg, #061f50, #0d3f8f 62%, #1764c7);
  color: #fff;
  box-shadow: 0 24px 60px rgba(8, 39, 95, .18);
}

.ogums-featured-author .ogums-eyebrow { color: #bcd9ff; }
.ogums-featured-author h2 { margin: 0 0 14px; color: #fff; font-family: Georgia, serif; font-size: clamp(36px, 5vw, 64px); line-height: 1; }
.ogums-featured-author p:not(.ogums-eyebrow) { max-width: 58ch; color: rgba(255,255,255,.82); line-height: 1.65; }
.ogums-featured-books { display: flex; align-items: flex-end; justify-content: center; gap: 14px; min-height: 330px; }
.ogums-featured-books a { flex: 0 1 28%; transition: transform .25s ease; }
.ogums-featured-books a:nth-child(2) { transform: translateY(-20px); }
.ogums-featured-books a:hover { transform: translateY(-10px); }
.ogums-featured-books a:nth-child(2):hover { transform: translateY(-30px); }
.ogums-featured-books img { width: 100%; max-height: 330px; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(0,0,0,.32)); }

.ogums-author-books { margin-top: 48px; }
.ogums-author-books > h2 { margin: 0 0 22px; color: var(--ogums-navy); font-family: Georgia, serif; }
.ogums-empty { color: var(--ogums-muted); }

@media (max-width: 1024px) {
  .ogums-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ogums-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ogums-author-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ogums-search button { padding-inline: 16px; font-size: 12px; }
  .ogums-product-grid,
  .ogums-category-grid,
  .ogums-author-grid {
    display: flex;
    gap: 14px;
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .ogums-product-card { flex: 0 0 74vw; scroll-snap-align: start; }
  .ogums-category-card { flex: 0 0 72vw; scroll-snap-align: start; }
  .ogums-author-card { flex: 0 0 80vw; scroll-snap-align: start; }
  .ogums-featured-author { grid-template-columns: 1fr; padding: 28px 22px; }
  .ogums-featured-books { min-height: 240px; gap: 8px; }
  .ogums-featured-books img { max-height: 240px; }
  .ogums-product-body h3 { min-height: 0; }
}

/* Homev3 — revisão editorial 2026-08 */
.ogums-topbar {
  position: relative;
  z-index: 20;
  background: #061f50;
  color: #dceaff;
  font-size: 12px;
  letter-spacing: .03em;
}

.ogums-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, 1120px);
  min-height: 38px;
  margin: 0 auto;
}

.ogums-topbar nav { display: flex; gap: 18px; }
.ogums-topbar a { color: #fff !important; font-weight: 700; text-decoration: none !important; }

.page-id-7061 #sgpb-popup-dialog-main-div-wrapper,
.page-id-7061 .sgpb-popup-overlay,
.page-id-7061 img[class*="sgpb-background-image-"] { display: none !important; }
body.page-id-7061.dialog-body { overflow: auto !important; }

.page-id-7061 .site-header.header-type-1 {
  background: linear-gradient(110deg, #08275f, #174a9e 72%, #245fc0);
  box-shadow: 0 9px 28px rgba(8, 39, 95, .16);
}

.page-id-7061 .site-header .container { width: min(100% - 40px, 1120px); }
.page-id-7061 .site-header .header-menu { min-height: 112px; padding-block: 10px; }
.page-id-7061 .site-header .logo img,
.page-id-7061 .site-header .logo .logo-dimensions {
  width: 110px !important;
  min-width: 110px !important;
  height: auto !important;
}
.page-id-7061 .site-header .main-menu > ul > li > a { padding-inline: 16px; font-size: 15px; }

.page-id-7061 .elementor-element-487cb99d {
  min-height: 610px !important;
  --min-height: 610px !important;
  padding-top: 34px !important;
  padding-bottom: 28px !important;
}
.page-id-7061 .elementor-element-487cb99d > .e-con-inner {
  align-items: center !important;
  gap: 0 !important;
  padding-block: 0 !important;
}

.page-id-7061 .ogums-section > .e-con-inner { gap: 26px !important; }
.page-id-7061 .ogums-section .e-con.e-child > .e-con-inner { padding: 0 !important; }
.page-id-7061 .ogums-section-heading {
  min-height: 0 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
}
.page-id-7061 .ogums-section-heading > .e-con-inner,
.page-id-7061 .ogums-section-heading { gap: 12px !important; }
.page-id-7061 .ogums-section-heading > .e-con-inner { align-items: center; }
.page-id-7061 .ogums-section .elementor-widget-heading,
.page-id-7061 .ogums-section .elementor-widget-text-editor { margin-bottom: 0 !important; }
.page-id-7061 .ogums-section .elementor-widget-text-editor p { margin: 0; }

.page-id-7061 .ogums-home-utility > .e-con-inner { gap: 24px !important; }
.page-id-7061 .ogums-search-row > .e-con-inner {
  display: grid !important;
  grid-template-columns: minmax(240px, .72fr) minmax(420px, 1.28fr);
  align-items: center !important;
  gap: 36px !important;
}
.page-id-7061 .ogums-search-copy { gap: 3px !important; }
.page-id-7061 .ogums-trust-row > .e-con-inner {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px !important;
  margin: 0 !important;
}
.page-id-7061 .ogums-trust-item {
  width: auto !important;
  min-width: 0 !important;
  padding: 16px 14px;
  border: 1px solid #d9e6f3;
  border-radius: 15px;
  background: rgba(255,255,255,.78);
}
.page-id-7061 .ogums-trust-item .elementor-icon-box-wrapper { align-items: center; }
.page-id-7061 .ogums-trust-item .elementor-icon-box-title { margin-bottom: 3px !important; }

.ogums-product-grid { align-items: stretch; }
.ogums-product-card { display: flex; flex-direction: column; height: 100%; border-radius: 14px; }
.ogums-product-image { aspect-ratio: .82; padding: 15px; }
.ogums-product-body { display: flex; flex: 1; flex-direction: column; padding: 15px; }
.ogums-product-cats {
  display: -webkit-box;
  min-height: 2.6em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ogums-product-body h3 {
  display: -webkit-box;
  min-height: 4.05em;
  margin: 7px 0 4px;
  overflow: hidden;
  font-size: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.ogums-product-authors { min-height: 1.5em; margin-bottom: 13px; color: #657086; font-size: 12px; }
.ogums-product-authors a { color: inherit !important; text-decoration: none !important; }
.ogums-product-footer { margin-top: auto; }

.page-id-7061 .ogums-author-section { position: relative; overflow: hidden; }
.page-id-7061 .ogums-author-section:before {
  position: absolute;
  inset: 0 auto auto 0;
  width: 42%;
  height: 300px;
  background: radial-gradient(circle at 25% 20%, rgba(46,91,176,.14), transparent 66%);
  content: '';
  pointer-events: none;
}
.ogums-featured-author { min-height: 430px; padding: 42px 46px; }
.ogums-featured-books { min-height: 285px; }
.ogums-featured-books img { max-height: 285px; }
.ogums-author-visual { min-height: 205px; }
.ogums-author-copy { padding: 17px; }
.ogums-author-copy h3 { font-size: 22px; }
.ogums-author-copy > p:not(.ogums-eyebrow) {
  display: -webkit-box;
  min-height: 4.6em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ogums-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(115deg, #061f50, #0d3f8f 58%, #1f5fbf);
  color: #fff;
  box-shadow: 0 22px 50px rgba(8,39,95,.18);
}
.ogums-stat { display: flex; flex-direction: column; align-items: center; padding: 27px 18px; text-align: center; }
.ogums-stat + .ogums-stat { border-left: 1px solid rgba(255,255,255,.18); }
.ogums-stat strong { font-family: Georgia, serif; font-size: 34px; line-height: 1; }
.ogums-stat span { margin-top: 8px; color: #cfe1f7; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.ogums-category-card { transition: transform .25s ease, box-shadow .25s ease; }
.ogums-category-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(8,39,95,.13); }
.ogums-category-visual { height: 185px; }

.page-id-7061 .ogums-about-copy { position: relative; isolation: isolate; overflow: hidden; }
.page-id-7061 .ogums-about-copy:before {
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -55px;
  width: 310px;
  height: 310px;
  background: url('/wp-content/uploads/2020/05/logo_ogum.png') center/contain no-repeat;
  opacity: .08;
  content: '';
}
.page-id-7061 .ogums-about-copy .elementor-button-wrapper { text-align: left; }

.ogums-cover-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 20px;
}
.ogums-cover-mosaic a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #eaf3fc;
}
.ogums-cover-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.ogums-cover-mosaic a:hover img { transform: scale(1.06); }

.page-id-7061 .ogums-editorial-card { min-height: 330px; justify-content: center; }
.page-id-7061 .ogums-editorial-card.has-mosaic { justify-content: flex-start; }
.page-id-7061 .ogums-newsletter > .e-con-inner { min-height: 150px; }

@media (max-width: 1024px) {
  .page-id-7061 .site-header .main-menu > ul > li > a { padding-inline: 9px; font-size: 13px; }
  .page-id-7061 .ogums-search-row > .e-con-inner { grid-template-columns: 1fr; gap: 18px !important; }
  .page-id-7061 .ogums-trust-row > .e-con-inner { grid-template-columns: repeat(2, 1fr); }
  .ogums-stats { grid-template-columns: repeat(2, 1fr); }
  .ogums-stat:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .ogums-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.18); }
}

@media (max-width: 767px) {
  .ogums-topbar-inner { width: min(100% - 28px, 1120px); justify-content: center; min-height: 34px; font-size: 10px; text-align: center; }
  .ogums-topbar nav { display: none; }
  .page-id-7061 .site-header .header-menu { min-height: 92px; padding-block: 8px; }
  .page-id-7061 .site-header .logo img,
  .page-id-7061 .site-header .logo .logo-dimensions { width: 92px !important; min-width: 92px !important; }
  .page-id-7061 .elementor-element-487cb99d { min-height: auto !important; --min-height: auto !important; padding: 26px 18px 22px !important; }
  .page-id-7061 .ogums-trust-row > .e-con-inner { grid-template-columns: 1fr 1fr; gap: 10px !important; }
  .page-id-7061 .ogums-trust-item { padding: 12px 10px; }
  .ogums-product-body h3 { min-height: 0; }
  .ogums-author-visual { min-height: 180px; }
  .ogums-featured-author { min-height: 0; padding: 28px 22px; }
  .ogums-stats { border-radius: 16px; }
  .ogums-stat { padding: 21px 8px; }
  .ogums-stat strong { font-size: 28px; }
  .ogums-stat span { font-size: 9px; }
  .ogums-cover-mosaic { grid-template-columns: repeat(3, 1fr); }
}

/* Homev3 — equilíbrio dos blocos institucional e editorial */
.page-id-7061 .ogums-about-section .ogums-about-copy > .e-con-inner {
  justify-content: center;
  gap: 14px !important;
  padding-block: 36px !important;
}

.page-id-7061 .ogums-about-section .elementor-element-1a6bf09c > .e-con-inner {
  gap: 14px !important;
}

.page-id-7061 .ogums-about-section .elementor-element-1a6bf09c > .e-con-inner > .e-con > .e-con-inner {
  justify-content: center;
  gap: 8px !important;
  padding-block: 16px !important;
}

.page-id-7061 .ogums-about-section .elementor-element-1a6bf09c .elementor-widget-heading h3 {
  margin-bottom: 3px;
  line-height: 1.2;
}

.page-id-7061 .ogums-about-section .elementor-button-wrapper { margin-top: 6px; }

.page-id-7061 .ogums-editorial-card {
  min-height: 370px;
}

.page-id-7061 .ogums-editorial-card > .e-con-inner {
  justify-content: center;
  gap: 12px !important;
  padding-block: 34px !important;
}

.page-id-7061 .ogums-editorial-card.has-mosaic > .e-con-inner {
  justify-content: flex-start;
  padding-block: 28px !important;
}

.page-id-7061 .ogums-editorial-card .ogums-cover-mosaic {
  margin-block: 12px 4px;
}

.page-id-7061 .ogums-editorial-card .ogums-cover-mosaic a:nth-child(n+4) {
  display: none;
}

@media (max-width: 767px) {
  .page-id-7061 .ogums-about-section .ogums-about-copy > .e-con-inner { padding-block: 28px !important; }
  .page-id-7061 .ogums-about-section .elementor-element-1a6bf09c > .e-con-inner > .e-con > .e-con-inner { padding-block: 14px !important; }
  .page-id-7061 .ogums-editorial-card { min-height: 0; }
  .page-id-7061 .ogums-editorial-card > .e-con-inner,
  .page-id-7061 .ogums-editorial-card.has-mosaic > .e-con-inner { padding-block: 26px !important; }
}
