/*
Theme Name: Gotland Game Conference 2026
Theme URI: https://gotlandgameconference.com/2026/
Description: Child theme for Gotland Game Conference 2026, based on Twenty Twenty-Five.
Author: Ulf Benjaminsson
Template: twentytwentyfive
Version: 0.1.0
Text Domain: ggc2026
*/

:root {
  --ggc-black: #08080b;
  --ggc-white: #f7f4ef;
  --ggc-yellow: #ffcf24;
  --ggc-pink: #ff4fa3;
  --ggc-blue: #3dd7ff;
  --ggc-muted: #b8b3aa;
}

/* General page feel */
body {
  background: var(--ggc-black);
  color: var(--ggc-white);
}


/* Header logo - preserve aspect ratio */
.wp-block-site-logo {
  line-height: 0;
}

.wp-block-site-logo a {
  display: inline-block;
}

.wp-block-site-logo img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 120px;
  max-height: none;
  object-fit: contain;
}

/* Header */
.site-header,
.wp-block-template-part .wp-block-group.alignfull.has-ggc-black-background-color {
  position: relative;
  z-index: 10;
}

.wp-block-site-logo img {
  max-height: 64px;
  width: auto;
}

.wp-block-navigation {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wp-block-navigation a:hover,
.wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--ggc-yellow);
}

/* Hide default page title on the front page */
.home .wp-block-post-title,
.front-page .wp-block-post-title {
  display: none;
}

/* Useful page section helper */
.ggc-section {
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

/* Big editorial display text */
.ggc-kicker {
  color: var(--ggc-yellow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Stat cards */
.ggc-stat {
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 1rem;
}

.ggc-stat strong {
  display: block;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.95;
  color: var(--ggc-yellow);
}

.ggc-stat span {
  color: var(--ggc-muted);
  font-size: 0.95rem;
}

/* Cards */
.ggc-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.ggc-card h3 {
  margin-top: 0;
}

/* Buttons */
.wp-block-button .wp-block-button__link {
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Speaker/sponsor image treatment */
.ggc-speaker-card img,
.ggc-sponsor-card img {
  border-radius: 18px;
}

.ggc-speaker-card {
  background: rgba(255,255,255,0.05);
  border-radius: 24px;
  overflow: hidden;
}

.ggc-speaker-card .wp-block-group {
  padding: 1.25rem;
}

/* Footer-ish section */
.ggc-footer {
  border-top: 1px solid rgba(255,255,255,0.18);
  color: var(--ggc-muted);
}
