/* Naada Plugins for Windows store page — extracted from the moforte-store WP
   plugin (additionalCSS.css .naada-store block + the inline <style> that was
   authored into the WP post) so the static /naada-plugins-for-windows/ page
   can render without the plugin being active in this Docker stack. */

/* --- YouTube thumbnail wrapper (was inline <style> in the WP post, scoped to .naada-video) --- */
.naada-video .youtube-thumbnail-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #000;
}
.naada-video .youtube-thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.naada-video .youtube-thumbnail-wrapper::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 48px;
    height: 34px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path fill="%23f00" fill-opacity="0.8" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z"></path><path fill="%23fff" d="M 45,24 27,14 27,34"></path></svg>') no-repeat;
    background-size: contain;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 1;
}
.naada-video .youtube-thumbnail-wrapper:hover::after {
    transform: scale(1.1);
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path fill="%23f00" fill-opacity="1" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z"></path><path fill="%23fff" d="M 45,24 27,14 27,34"></path></svg>') no-repeat;
    background-size: contain;
}
.naada-video .youtube-thumbnail-wrapper.playing::after {
    display: none;
}

/* --- .naada-store scope (copied from moforte-store/wordpress/additionalCSS.css lines 1-152) --- */
/* ================================
   Naada Store - Dark Theme Styles
   ================================ */

/* Container */
.naada-store {
  max-width: 1100px;
  margin: 0 auto;
  /* tighten the top */
  padding: 0.25rem 1rem 1rem;
  background: linear-gradient(180deg, #1e1e1e 0%, #121212 100%);
  color: #f1f1f1;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* kill Gutenberg block gap inside this section */
  --wp--style--block-gap: 0px;
}

/* remove any theme margin on the first child inside the section */
.naada-store > *:first-child { margin-top: 0 !important; }

/* ================================
   Header (side-by-side, precise spacing)
   ================================ */
.naada-header{
  /* Tweak these to taste */
  --naada-header-gap: clamp(0.9rem, 1.4vw, 1.4rem); /* space between logo & title */
  --naada-logo-height: 92px;                        /* logo size */
  --naada-logo-nudge-x: -6px;                       /* pull logo left if PNG has left padding (0 disables) */
  --naada-title-nudge-y: 14px;                       /* micro vertical nudge of title */

  display: grid !important;
  grid-template-columns: auto 1fr;                  /* logo | title */
  align-items: center;
  column-gap: var(--naada-header-gap);
  margin: 0 !important;
  padding: 0 !important;
}

.naada-header__logo { line-height: 0; }
.naada-header__logo img{
  height: var(--naada-logo-height);
  width: auto;
  display: block;
  margin: 0 !important;
  transform: translateX(var(--naada-logo-nudge-x));
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.naada-header__title h1{
  margin: 0 !important;
  line-height: 1 !important;     /* prevents theme headroom */
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.6rem);
  color: #fff;
  transform: translateY(var(--naada-title-nudge-y));
}

/* ================================
   Cards
   ================================ */
.naada-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #333;
  background: transparent;
}

@media (max-width: 900px) {
  .naada-card { grid-template-columns: 1fr; }
  .naada-card--intro { grid-template-columns: 1fr !important; }
}

@media (max-width: 700px) {
  .naada-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 0.5rem;
  }

  .naada-header__logo img,
  .naada-header__title h1 {
    transform: none;
  }

  .naada-card--intro,
  .naada-card--intro .naada-content {
    text-align: left;
  }
}

/* Responsive video container */
.naada-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
}
.naada-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ================================
   Text Content
   ================================ */
.naada-title {
  margin: 0 0 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.3rem;
}
.naada-content p {
  margin: 0.3rem 0;
  color: #e0e0e0;
  line-height: 1.5;
}

/* ================================
   Buttons
   ================================ */
.wp-block-button .wp-block-button__link {
  display: inline-block;
  margin-top: 0.6rem;
  border-radius: 999px;
  background-color: #ff3c00; /* Accent color */
  color: #fff;
  font-weight: 600;
  padding: 0.4rem 1rem;
  text-decoration: none;
}
.wp-block-button .wp-block-button__link:hover { background-color: #ff5622; }

/* ================================
   Notes Box
   ================================ */
.naada-note {
  margin-top: 1.25rem;
  padding: 1rem;
  border-left: 4px solid #ff3c00;
  background: #1a1a1a;
  color: #ccc;
}

