/*
Theme Name: Kadence Child Dark
Template: kadence
Version: 1.0
*/

.site-header, .site-header-wrap, .site-top-header-wrap, .site-main-header-wrap, .site-main-header-inner-wrap {
    background-color: #0a0a0c !important;
    border-bottom: 1px solid #1f1f24 !important;
}
.site-branding .site-title a, .header-navigation a, .site-header a, .site-header * {
    color: #ffffff !important;
}
.header-navigation a:hover, .header-navigation li:hover > a {
    color:  !important;
}

body, .site, .content-area, .site-content, .content-bg {
    background-color: #0a0a0c !important;
    color: #c4c4c8 !important;
}

.entry-hero, .entry-hero-container-inner,
body.home .entry-hero,
body.home .entry-hero-container,
body.home .entry-hero-container-inner,
body.home .kadence-entry-hero-style-above,
body.home .above-entry-hero-section {
    display: none !important;
}

.alignfull {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

.entry-content > *:not(.alignfull):not(.alignwide) {
    max-width: 900px;
    margin-left: auto !important;
    margin-right: auto !important;
}

h1, h2, h3, h4, h5, h6 { color: #ffffff !important; }
.entry-content a { color:  !important; }

.wp-block-button__link {
    font-weight: 600 !important;
    transition: opacity 0.2s !important;
}
.wp-block-button__link:hover { opacity: 0.85 !important; }
.wp-block-button__link, a.wp-block-button__link { color: #ffffff !important; }

.site-footer, .site-footer-wrap, .site-info, .site-footer-inner-wrap, .footer-widget-area {
    background-color: #0a0a0c !important;
    color: #a4a4a8 !important;
    border-top: 1px solid #1f1f24 !important;
}
.site-footer a { color: #c4c4c8 !important; }
.site-footer a:hover { color:  !important; }

.entry-content ul li::marker { color: ; }
.entry-content { background-color: #0a0a0c !important; }

@media (max-width: 768px) {
    .menu-toggle { background-color:  !important; color: #ffffff !important; }
}

/* Brand button color override */
.wp-block-button__link.has-vivid-cyan-blue-background-color,
.wp-block-button__link.has-background.has-vivid-cyan-blue-background-color {
    background-color: #22c55e !important;
}

/* Brand text-color override */
.has-vivid-cyan-blue-color { color: #22c55e !important; }
.has-vivid-cyan-blue-border-color { border-color: #22c55e !important; }
.wp-block-column[style*="border-color"] { border-color: #22c55e !important; }

/* Hide default Kadence footer (we have custom .brand-footer) */
.site-footer-wrap, .site-footer-row-container, .site-info, .site-footer { display:none !important; }
.brand-footer { display:block !important; }

/* ===== POLISH PACK START ===== */

/* Smooth scroll + global polish */
html { scroll-behavior: smooth; }
* { -webkit-font-smoothing: antialiased; }

/* Hero: animated background orbs */
body.home .wp-block-cover.alignfull:first-of-type {
  position: relative;
  overflow: hidden;
}
body.home .wp-block-cover.alignfull:first-of-type::before,
body.home .wp-block-cover.alignfull:first-of-type::after {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 14s ease-in-out infinite;
}
body.home .wp-block-cover.alignfull:first-of-type::before {
  background: #22c55e;
  top: -200px; left: -150px;
}
body.home .wp-block-cover.alignfull:first-of-type::after {
  background: #22c55e;
  bottom: -250px; right: -200px;
  opacity: 0.22;
  animation-delay: -7s;
  animation-duration: 18s;
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,30px) scale(1.08); }
}
body.home .wp-block-cover.alignfull:first-of-type .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
}

/* Hero content fade-in */
body.home .wp-block-cover.alignfull:first-of-type h1 { animation: fadeUp .8s ease-out both; }
body.home .wp-block-cover.alignfull:first-of-type > div > div > p { animation: fadeUp .9s .15s ease-out both; }
body.home .wp-block-cover.alignfull:first-of-type .wp-block-buttons { animation: fadeUp 1s .3s ease-out both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Buttons: shimmer + lift */
.wp-block-button__link {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, opacity .2s ease !important;
}
.wp-block-button__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
  pointer-events: none;
}
.wp-block-button__link:hover::after { transform: translateX(100%); }
.wp-block-button__link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 30px -8px #22c55e66 !important;
}

/* Outline button hover fills with accent */
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #22c55e26 !important;
  border-color: #22c55e !important;
}

/* Card hover lift (tariff cols + 3 шага + Гарантии + Отзывы + Скачать platforms) */
.wp-block-column.has-background {
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, border-color .3s ease;
  will-change: transform;
}
.wp-block-column.has-background:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6), 0 0 0 1px #22c55e66 inset;
}

/* Popular tariff card pulse glow */
.wp-block-column.has-background[style*="border-color:#22c55e"],
.wp-block-column.has-background[style*="border-width:2px"] {
  animation: popularGlow 3.5s ease-in-out infinite;
}
@keyframes popularGlow {
  0%,100% { box-shadow: 0 0 0 0 #22c55e00, 0 8px 24px -10px #22c55e66; }
  50%     { box-shadow: 0 0 0 4px #22c55e2e, 0 12px 32px -10px #22c55e99; }
}

/* Headings: subtle accent underline accent on hover (нав-меню уже brand color при hover) */
.entry-content h2 {
  position: relative;
}

/* Section dividers (subtle gradient line between sections) */
.wp-block-group.alignfull + .wp-block-group.alignfull {
  position: relative;
}
.wp-block-group.alignfull + .wp-block-group.alignfull::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 200px; height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #22c55ecc, transparent);
  opacity: .4;
}

/* Header: sticky with blur */
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  background-color: rgba(10,10,12,.78) !important;
  transition: box-shadow .3s ease;
}
.site-header:hover { box-shadow: 0 4px 24px rgba(0,0,0,.4); }

/* Nav link underline animation */
.header-navigation a {
  position: relative;
  transition: color .2s ease;
}
.header-navigation a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: #22c55e;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.header-navigation a:hover::after { transform: scaleX(1); }

/* /poluchit-klyuch/ page styling */
.getkey-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  max-width: 980px;
  margin: 48px auto;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .getkey-grid { grid-template-columns: 1fr; }
}

.getkey-qr-card {
  background: linear-gradient(135deg, #16161a 0%, #1a1d2e 100%);
  border: 1px solid #22c55e66;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeUp .7s .2s ease-out both;
}
.getkey-qr-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #22c55ecc, transparent, #22c55e66);
  border-radius: 18px;
  z-index: -1;
  opacity: .35;
}
.getkey-qr-frame {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  display: inline-block;
  box-shadow: 0 12px 40px -10px #22c55e99;
  transition: transform .3s ease;
}
.getkey-qr-frame:hover { transform: scale(1.03); }
.getkey-qr-frame img { display: block; width: 280px; height: 280px; }
.getkey-qr-label { color: #ffffff; font-size: 18px; font-weight: 600; margin: 18px 0 4px; }
.getkey-qr-sub { color: #a4a4a8; font-size: 14px; margin: 0; }

.getkey-cta-card {
  background: #16161a;
  border: 1px solid #1f1f24;
  border-radius: 16px;
  padding: 32px 28px;
  animation: fadeUp .7s .35s ease-out both;
}
.getkey-cta-card h3 { color: #fff; font-size: 22px; margin: 0 0 10px; }
.getkey-cta-card > p { color: #a4a4a8; margin: 0 0 22px; font-size: 15px; line-height: 1.5; }
.getkey-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #22c55e;
  color: #fff !important;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.getkey-cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.getkey-cta-btn:hover::after { transform: translateX(100%); }
.getkey-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px #22c55ecc;
}
.getkey-cta-btn svg { flex-shrink: 0; }

.getkey-steps {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #1f1f24;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.getkey-steps > div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #c4c4c8;
  font-size: 14px;
}
.getkey-steps span {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #22c55e38;
  color: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

/* Footer-anim */
.brand-footer h4 { position: relative; padding-bottom: 8px; }
.brand-footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: #22c55e;
  border-radius: 2px;
}
.brand-footer a { transition: color .15s, transform .15s; display: inline-block; }
.brand-footer a:hover { transform: translateX(2px); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== POLISH PACK END ===== */

/* Horizontal padding for content inside full-width sections */
.wp-block-group.alignfull .wp-block-columns.alignwide,
.wp-block-group.alignfull > .wp-block-heading,
.wp-block-group.alignfull > p,
.wp-block-group.alignfull > .wp-block-buttons,
.wp-block-group.alignfull > ul {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .wp-block-group.alignfull .wp-block-columns.alignwide,
  .wp-block-group.alignfull > .wp-block-heading,
  .wp-block-group.alignfull > p,
  .wp-block-group.alignfull > .wp-block-buttons {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Includes grid */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px;
  box-sizing: border-box;
}
.includes-card {
  background: #16161a;
  border: 1px solid #1f1f24;
  border-radius: 12px;
  padding: 22px 20px;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s, box-shadow .3s;
}
.includes-card:hover {
  transform: translateY(-4px);
  border-color: 66;
  box-shadow: 0 18px 40px -16px 66;
}
.includes-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: 1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.includes-card h4 {
  color: #fff !important;
  font-size: 15px !important;
  margin: 0 0 6px !important;
  font-weight: 600;
}
.includes-card p {
  color: #a4a4a8;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 600px) {
  .includes-grid { padding: 0 16px; grid-template-columns: 1fr 1fr; }
  .includes-card { padding: 16px 14px; }
}


/* Server cards: keep flag + country on one line */
body.page-id-9 .wp-block-column.has-background > h3 {
  white-space: nowrap !important;
  font-size: 17px !important;
  letter-spacing: -0.2px;
}

/* ========== POLISH PACK V2 — animations ========== */
:root { --accent: #22c55e; --accent-soft: rgba(34,197,94,.55); }

html { scroll-behavior: smooth; }

/* --- Hero: aurora blobs + parallax depth --- */
.wp-block-cover.has-background-dim:first-of-type,
.wp-block-cover:first-of-type {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.wp-block-cover:first-of-type::before,
.wp-block-cover:first-of-type::after {
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .55;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.wp-block-cover:first-of-type::before {
  background: var(--accent);
  top: -260px; left: -180px;
  animation: aurora-drift-a 18s ease-in-out infinite alternate;
}
.wp-block-cover:first-of-type::after {
  background: var(--accent-soft);
  bottom: -300px; right: -220px;
  animation: aurora-drift-b 22s ease-in-out infinite alternate;
}
.wp-block-cover:first-of-type > * { position: relative; z-index: 1; }

@keyframes aurora-drift-a {
  0%   { transform: translate(0,0) scale(1);       opacity:.55; }
  50%  { transform: translate(120px,80px) scale(1.15); opacity:.7; }
  100% { transform: translate(-60px,140px) scale(.95); opacity:.5; }
}
@keyframes aurora-drift-b {
  0%   { transform: translate(0,0) scale(1);       opacity:.5; }
  50%  { transform: translate(-140px,-80px) scale(1.1); opacity:.65; }
  100% { transform: translate(80px,-140px) scale(.9); opacity:.45; }
}

/* --- Animated gradient text on Hero H1 --- */
.wp-block-cover:first-of-type h1,
.wp-block-cover:first-of-type .wp-block-heading {
  background: linear-gradient(120deg, #ffffff 0%, var(--accent) 35%, #ffffff 65%, var(--accent-soft) 100%);
  background-size: 280% 280%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  animation: gradient-shift 9s ease-in-out infinite;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* --- H2 animated underline --- */
.wp-block-heading.has-text-align-center {
  position: relative;
  padding-bottom: 14px;
}
.wp-block-heading.has-text-align-center::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 64px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  background-size: 200% 100%;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: underline-sweep 3.5s ease-in-out infinite;
}
@keyframes underline-sweep {
  0%, 100% { background-position: -100% 0; opacity: .55; }
  50%      { background-position: 100% 0;  opacity: 1; }
}

/* --- Buttons: shine sweep on hover --- */
.wp-block-button__link {
  position: relative;
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s;
}
.wp-block-button__link::before {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.28) 50%, transparent 100%);
  transform: skewX(-22deg);
  transition: left .65s ease;
  pointer-events: none;
}
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button__link:hover::before { left: 130%; }

/* --- Primary CTA breath-glow --- */
.wp-block-button__link.has-vivid-cyan-blue-background-color,
.wp-block-button__link.has-background[href*="t.me/tgbpn_bot"] {
  box-shadow: 0 0 0 0 var(--accent-soft);
  animation: breath-glow 2.8s ease-in-out infinite;
}
@keyframes breath-glow {
  0%, 100% { box-shadow: 0 0 0 0   var(--accent-soft), 0 10px 30px -10px var(--accent); }
  50%      { box-shadow: 0 0 0 14px transparent,        0 18px 50px -12px var(--accent); }
}

/* --- Tariff cards: glassmorph border + lift --- */
.wp-block-columns .wp-block-column[style*="background"] {
  position: relative;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s;
  backdrop-filter: blur(8px);
}
.wp-block-columns .wp-block-column[style*="background"]::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--accent-soft));
  opacity: 0;
  transition: opacity .35s;
  z-index: -1;
}
.wp-block-columns .wp-block-column[style*="background"]:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px var(--accent-soft);
}
.wp-block-columns .wp-block-column[style*="background"]:hover::before { opacity: .35; }

/* --- Includes-card hover (was broken: 66 / 1a unparsed) --- */
.includes-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent) !important;
  box-shadow: 0 18px 40px -16px var(--accent-soft) !important;
}
.includes-icon { background: #1a1a1f !important; }

/* --- Fade-up reveal for top-level blocks --- */
@media (prefers-reduced-motion: no-preference) {
  .wp-block-group.alignfull,
  .wp-block-cover {
    animation: fade-up .9s ease both;
  }
  .wp-block-group.alignfull { animation-delay: .05s; }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* respect motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* ========== /POLISH PACK V2 ========== */

/* ========== POLISH PACK V3 — spacing + card alignment ========== */

/* Reduce vertical air between Tariffs block and CTA block.
   The CTA "Готов попробовать?" is the last alignfull group on the page. */
.wp-block-group.alignfull:last-of-type {
  padding-top: 44px !important;
  padding-bottom: 56px !important;
}
.wp-block-group.alignfull:last-of-type h2 {
  margin-bottom: 6px !important;
}
.wp-block-group.alignfull:last-of-type p {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

/* Trim padding of Tariffs block (the wp-block-columns wrapper is inside a group
   with default Kadence spacing, plus heading + sub-paragraph add air).
   Target the group that *contains* wp-block-columns. */
.wp-block-group:has(> .wp-block-columns),
.wp-block-group:has(.wp-block-columns) {
  padding-bottom: 40px !important;
}

/* Tariff cards: flex column so buttons align to the bottom and cards have equal height. */
.wp-block-columns {
  align-items: stretch !important;
}
.wp-block-columns > .wp-block-column[style*="background"] {
  display: flex !important;
  flex-direction: column !important;
}
.wp-block-columns > .wp-block-column[style*="background"] > .wp-block-buttons,
.wp-block-columns > .wp-block-column[style*="background"] > .wp-block-button {
  margin-top: auto !important;
  padding-top: 18px;
}

/* Price heading: prevent any ellipsis/overflow */
.wp-block-columns .wp-block-column h2 {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Tighten "Тарифы V2RayTune" heading → subtitle → cards spacing */
.wp-block-columns { margin-top: 18px !important; }

/* The "popular" middle card has extra height from the badge.
   Add a tiny bit of top margin to side cards so they look balanced. */
@media (min-width: 781px) {
  .wp-block-columns > .wp-block-column:nth-child(1)[style*="background"],
  .wp-block-columns > .wp-block-column:nth-child(3)[style*="background"] {
    margin-top: 14px;
  }
}
/* ========== /POLISH PACK V3 ========== */

/* ========== POLISH PACK V4 — page-specific fixes ========== */

/* /skachat/ page: stack the two buttons in each platform card vertically */
body[class*="page-id-6"] .wp-block-column .wp-block-buttons,
body[class*="page-id-7"] .wp-block-column .wp-block-buttons,
body[class*="page-id-8"] .wp-block-column .wp-block-buttons {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}
body[class*="page-id-6"] .wp-block-column .wp-block-button,
body[class*="page-id-7"] .wp-block-column .wp-block-button,
body[class*="page-id-8"] .wp-block-column .wp-block-button {
  width: 100% !important;
}
body[class*="page-id-6"] .wp-block-column .wp-block-button__link,
body[class*="page-id-7"] .wp-block-column .wp-block-button__link,
body[class*="page-id-8"] .wp-block-column .wp-block-button__link {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* /tarify/ includes-grid heading: a bit more breathing room above */
.includes-grid { margin-top: 28px !important; }
/* ========== /POLISH PACK V4 ========== */

/* ========== POLISH PACK V5 — flush Hero to header ========== */

/* Home page: remove top padding/margin so Hero touches the header */
body.home #wrapper > #inner-wrap,
body.home .content-area,
body.home #primary,
body.home main#main,
body.home .entry-content,
body.home .entry-content-wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Kadence "content-vertical-padding-show" adds .site-content padding-top */
body.home.content-vertical-padding-show .site-content,
body.home .site-container,
body.home #primary > article {
  padding-top: 0 !important;
}

/* The first full-width block inside the entry should sit flush */
body.home .entry-content > *:first-child,
body.home .entry-content-wrap > *:first-child,
body.home .wp-block-cover.alignfull:first-of-type,
body.home .wp-block-cover:first-of-type {
  margin-top: 0 !important;
  padding-top-block-start: 0 !important;
}

/* Defensive: also kill content-container top padding on home */
body.home .content-container,
body.home .content-bg,
body.home .content-style-boxed .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* ========== /POLISH PACK V5 ========== */

/* ========== POLISH PACK LOGO — shrink header logo ========== */
/* Kadence uses .site-branding > a.brand > img.custom-logo with inherited max-height.
   Force a fixed pixel size on the inner image with highest-specificity selector. */
.site-header .site-branding a.brand img.custom-logo,
.site-header .site-branding a.brand img {
  max-height: 44px !important;
  width: auto !important;
  height: auto !important;
}
.site-header .site-branding a.brand,
.site-header .site-branding {
  max-height: 44px !important;
}
@media (max-width: 768px) {
  .site-header .site-branding a.brand img.custom-logo,
  .site-header .site-branding a.brand img,
  .site-header .site-branding a.brand,
  .site-header .site-branding {
    max-height: 34px !important;
  }
}
/* ========== /POLISH PACK LOGO ========== */

/* ========== POLISH PACK CTA FIX — getkey-cta-btn text visibility ========== */
/* Beat .entry-content a !important specificity by chaining the class with itself */
.entry-content a.getkey-cta-btn,
.getkey-cta-btn.getkey-cta-btn {
  position: relative;
  z-index: 0;
  isolation: isolate;
  color: #fff !important;
}
.entry-content a.getkey-cta-btn:hover,
.entry-content a.getkey-cta-btn:focus,
.entry-content a.getkey-cta-btn:active {
  color: #fff !important;
}
.getkey-cta-btn > *,
.getkey-cta-btn svg {
  position: relative;
  z-index: 2;
  color: #fff !important;
  fill: #fff !important;
}
.getkey-cta-btn::after {
  z-index: 1 !important;
  pointer-events: none !important;
}
/* ========== /POLISH PACK CTA FIX ========== */
