/*
Theme Name: Smart Innovation Subsites 2026
Theme URI: 
Author: Smart Innovation Norway
Author URI: 
Description: Theme for subsites based on Twenty Twenty-Five.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: smart-innovation-subsites-2026
Tags: 
*/

/* AI+ 2026 hero split */
.ai2026-hero {
  position: relative;
  overflow: hidden;
  --ai2026-overlap: clamp(24px, 4vw, 50px);
  --ai2026-v-width: 24px;
  --ai2026-v-height: 80%;
}
.ai2026-hero.is-style-section-4 {
  background: #000;
  color: #fff;
}
.ai2026-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: var(--ai2026-v-width);
  height: 100%;
  background: var(--wp--preset--color--accent-1);
  transform: rotate(-1deg);
  transform-origin: top right;
  z-index: 3;
}
.ai2026-hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 6px;
  width: var(--ai2026-v-width);
  height: var(--ai2026-v-height);
  background: var(--wp--preset--color--accent-2);
  transform: rotate(1deg);
  transform-origin: bottom left;
  z-index: 2;
}
.ai2026-hero__images {
  position: relative;
  display: grid;
  gap: var(--wp--preset--spacing--30, 20px);
  z-index: 2;
}
.ai2026-hero__image {
  position: relative;
  overflow: visible;
}
.ai2026-hero__images.has-global-padding,
.ai2026-hero__image.has-global-padding {
  padding: 0 !important;
}
.ai2026-hero__images.is-layout-constrained,
.ai2026-hero__image.is-layout-constrained {
  max-width: none;
  width: 100%;
}
.wp-block-group.ai2026-hero .ai2026-hero__image,
.wp-block-group.ai2026-hero .ai2026-hero__images {
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
.wp-block-group.ai2026-hero .ai2026-hero__image::before {
  border-color: #ff00ff !important;
}
.wp-block-group.ai2026-hero .ai2026-hero__image::after {
  border-color: #00ffff !important;
}
.wp-block-group.ai2026-hero.ai2026-hero.is-style-section-4 {
  background: #000 !important;
  color: #fff !important;
}
.ai2026-hero__image .wp-block-image {
  margin: 0;
  overflow: hidden;
}
.ai2026-hero__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sponsorship packages table */
.sponsorship-table {
  width: 100%;
}
.sponsorship-packages .wp-block-table {
  color: var(--wp--preset--color--contrast);
}
.sponsorship-table table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  background-color: var(--wp--preset--color--base);
}
.sponsorship-table th {
  background-color: transparent;
  padding: 15px;
  font-size: var(--wp--preset--font-size--small);
  font-weight: 400;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: bottom;
}
.sponsorship-table thead th strong {
  display: block;
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 600;
}
.sponsorship-table th[scope="rowgroup"] strong {
  font-size: var(--wp--preset--font-size--small);
  font-weight: 600;
}
.sponsorship-table thead th:not(:first-child) {
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
}
.sponsorship-table thead th:not(:first-child)::first-line {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 600;
}
.sponsorship-table thead th:first-child {
  color: #666;
  font-weight: 400;
  text-align: left;
}
.sponsorship-table th:first-child,
.sponsorship-table td:first-child {
  width: 28%;
}
.sponsorship-table th:not(:first-child),
.sponsorship-table td:not(:first-child) {
  width: calc(72% / 4);
}

/* AI+ navigation overlay */
.ai2026-nav .wp-block-navigation__responsive-container-open,
.ai2026-nav .wp-block-navigation__responsive-container-close {
  padding: 6px;
}
.ai2026-nav .wp-block-navigation__responsive-container-open svg,
.ai2026-nav .wp-block-navigation__responsive-container-close svg {
  width: 32px;
  height: 32px;
}
.ai2026-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: #000;
  color: #fff;
}
.ai2026-nav .wp-block-navigation__responsive-container.is-menu-open::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #ff00ff, #00ffff);
}
.ai2026-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: 4rem;
}

/* Short HR */
.wp-block-separator.is-style-short-hr,
hr.is-style-short-hr {
  width: 80px;
  max-width: 80px;
  margin-left: 0;
  margin-right: auto;
  border: 0;
  border-top: 2px solid currentColor;
  opacity: 1;
}

/* Paragraph: Ingress */
.wp-block-paragraph.is-style-ingress {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 700;
}
.sponsorship-table thead th > br:first-child {
  display: none;
}
.sponsorship-table td {
  padding: 12px;
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.35;
  border-bottom: 1px solid #e0e0e0;
}
.sponsorship-table th,
.sponsorship-table td {
  border-left: 0;
  border-right: 0;
  border-top: 0;
}
.sponsorship-table th[scope="rowgroup"],
.sponsorship-table th[scope="rowgroup"] ~ td {
  background-color: #f0f0f0;
  font-weight: 700;
  font-size: var(--wp--preset--font-size--small);
  padding: 10px;
}
.sponsorship-table th[scope="rowgroup"] ~ td {
  color: transparent;
}
.sponsorship-rev {
  opacity: 0.6;
  margin-bottom: 0.75rem;
}
.sponsorship-table thead th:nth-child(n+2),
.sponsorship-table tbody td:nth-child(n+2) {
  text-align: center;
}
.sponsorship-table tbody tr:nth-child(3) td:nth-child(4),
.sponsorship-table tbody tr:nth-child(4) td:nth-child(3),
.sponsorship-table tbody tr:nth-child(4) td:nth-child(4),
.sponsorship-table tbody tr:nth-child(7) td:nth-child(4),
.sponsorship-table tbody tr:nth-child(8) td:nth-child(4),
.sponsorship-table tbody tr:nth-child(10) td:nth-child(3),
.sponsorship-table tbody tr:nth-child(10) td:nth-child(4),
.sponsorship-table tbody tr:nth-child(11) td:nth-child(3),
.sponsorship-table tbody tr:nth-child(11) td:nth-child(4) {
  color: #e91e63;
}
.ai2026-hero__image::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 3px solid #00ffff;
  border-radius: 18px;
  pointer-events: none;
  z-index: 1;
}
.ai2026-hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid #ff00ff;
  border-radius: 16px;
  box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.5), 0 0 22px rgba(0, 255, 255, 0.35);
  pointer-events: none;
  z-index: 2;
}
.ai2026-hero__image::before,
.ai2026-hero__image::after {
  mask: radial-gradient(120% 70% at 80% 20%, #000 0 55%, transparent 75%);
}
.ai2026-hero__image--front {
  position: relative;
  z-index: 2;
  transform: translateY(calc(-1 * var(--ai2026-overlap))) translateX(calc(-0.5 * var(--ai2026-overlap)));
}
.ai2026-hero__image--back {
  position: relative;
  z-index: 1;
  transform: translateX(calc(0.5 * var(--ai2026-overlap)));
}

.bottom-glow {
    position: relative;
  }
  
  .bottom-glow::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px; /* thickness of the glow */
    background: linear-gradient(
      to right,
      #ff00ff,
      #00ffff
    );
    box-shadow:
      0 2px 6px rgba(255, 0, 255, 0.6),
      0 4px 12px rgba(0, 255, 255, 0.4);
  }
  .neon-separator{
    --h: 12px;          /* total separator height */
    --left: 10%;        /* split position on the LEFT side */
    --right: 90%;       /* split position on the RIGHT side */
  
    position: relative;
    width: 100%;
    height: var(--h);
    margin: 2rem 0;
    overflow: hidden;
  }
  
  /* top (magenta) trapezoid: thin left, thick right */
  .neon-separator::before{
    content:"";
    position:absolute;
    inset:0;
    background:#ff00ff;
    clip-path: polygon(
      0 0,
      100% 0,
      100% var(--right),
      0 var(--left)
    );
  }
  
  /* bottom (cyan) trapezoid: thick left, thin right */
  .neon-separator::after{
    content:"";
    position:absolute;
    inset:0;
    background:#00f6ff;
    clip-path: polygon(
      0 var(--left),
      100% var(--right),
      100% 100%,
      0 100%
    );
  }
   