/*
Theme Name: CISOSE 2027 DAPPS-2
Theme URI: https://example.com/cisose-2027-dapps-2
Author: CISOSE DAPPS
Description: Conference theme with animated DAPPS masthead, connecting-dots background, and a simple content area for WordPress pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cisose-2027-dapps-2
*/

/* Theme chrome + intro live in assets/intro.css (enqueued from functions.php). */

:root {
  /* Override in Appearance → Customize → Additional CSS, e.g. --site-content-width: 100%; */
  --site-content-width: 75%;
  --site-content-max-width: 72rem;
}

.site-nav {
  margin-left: auto;
  margin-right: 0.75rem;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 1.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  color: rgba(0, 102, 153, 0.72);
  font-family: var(--font-display, "Open Sans Condensed", sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--ieee-blue, #006699);
  text-decoration: none;
}

.site-nav__list .current-menu-item > a {
  color: var(--ieee-blue, #006699);
  text-decoration: none;
}

.site-content {
  position: relative;
  z-index: 2;
  width: var(--site-content-width);
  max-width: var(--site-content-max-width);
  margin: 0 auto;
  padding: 8.5rem 0 4rem;
  box-sizing: border-box;
  color: var(--page-ink, #000);
  background: transparent;
}

.site-content--front {
  min-height: calc(100dvh - 7.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.entry__title {
  margin: 0 0 1rem;
  font-family: var(--font-display, "Open Sans Condensed", sans-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--page-ink, #000);
}

.entry__title a {
  color: inherit;
  text-decoration: none;
}

.entry__content {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--page-ink, #000);
}

.entry__content > *:first-child {
  margin-top: 0;
}

.entry__content h2,
.entry__content h3,
.entry__content h4 {
  font-family: var(--font-display, "Open Sans Condensed", sans-serif);
  font-weight: 700;
  color: var(--page-ink, #000);
}

.entry__content a {
  color: var(--ieee-blue, #006699);
}

.entry__content a:hover,
.entry__content a:focus-visible {
  color: var(--ieee-blue, #006699);
  text-decoration: underline;
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 4rem;
  padding: 2.5rem 1.5rem 1.75rem;
  background: var(--ieee-blue, #006699);
  border-top: none;
  color: #fff;
}

.site-footer__inner {
  width: var(--site-content-width);
  max-width: var(--site-content-max-width);
  margin: 0 auto;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.6;
}

.site-footer a {
  color: #fff;
}

.site-footer p {
  margin: 0;
}

/* —— Chair / organizer profiles —— */

.chair-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 2rem 1.5rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.chair {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 12rem;
  margin: 0 auto;
}

.chair__photo {
  position: relative;
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 0 0.85rem;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 102, 153, 0.08);
  color: inherit;
  text-decoration: none;
  isolation: isolate;
  transition:
    transform 0.35s var(--ease-inout, cubic-bezier(0.45, 0, 0.55, 1)),
    box-shadow 0.35s var(--ease-inout, cubic-bezier(0.45, 0, 0.55, 1));
}

a.chair__photo {
  cursor: pointer;
}

a.chair__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s var(--ease-inout, cubic-bezier(0.45, 0, 0.55, 1));
  pointer-events: none;
}

a.chair__photo::before {
  content: "View";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -45%);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition:
    opacity 0.3s var(--ease-inout, cubic-bezier(0.45, 0, 0.55, 1)),
    transform 0.3s var(--ease-inout, cubic-bezier(0.45, 0, 0.55, 1));
  pointer-events: none;
}

a.chair__photo:hover,
a.chair__photo:focus-visible {
  transform: scale(1.04);
  box-shadow: 0 0 0 2px var(--ieee-blue, #006699);
  outline: none;
}

a.chair__photo:hover::after,
a.chair__photo:focus-visible::after {
  opacity: 1;
}

a.chair__photo:hover::before,
a.chair__photo:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.chair__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chair__photo--initials {
  display: grid;
  place-items: center;
}

.chair__initials {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ieee-blue, #006699);
}

.chair__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--page-ink, #000);
}

.chair__role {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ieee-blue, #006699);
}

.chair__location {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.55);
}
