/**
 * IPS At a Glance - WordPress page styles.
 * Dark theme matching the IPS "Four Decades of Policy Scholarship & Public Dialogue" design.
 */

.ips-glance {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #0a0f1a;
    color: #e8eef6;
    line-height: 1.6;
}

.ips-glance a {
    color: #c9a227;
    text-decoration: none;
}

.ips-glance a:hover {
    text-decoration: underline;
}

/* ---------- Container ---------- */
.ips-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Hero ---------- */
.ips-hero {
    background: linear-gradient(180deg, #0a0f1a 0%, #0c1426 60%);
    padding: 56px 0 48px 0;
    border-bottom: 1px solid #1a243a;
}

.ips-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.ips-hero-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.12);
    border: 1px solid rgba(201, 162, 39, 0.35);
    color: #d4af37;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 18px 0;
    color: #fff;
    letter-spacing: -0.02em;
}

.ips-hero-desc {
    font-size: 16px;
    color: #b9c6d8;
    margin: 0 0 30px 0;
    max-width: 720px;
    line-height: 1.7;
}

.ips-hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ips-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.ips-btn-gold {
    background: #c9a227;
    color: #0b0e16;
}

.ips-btn-gold:hover {
    background: #b89424;
}

.ips-btn-outline {
    background: transparent;
    color: #b9c6d8;
    border: 1px solid #2d3a56;
}

.ips-btn-outline:hover {
    border-color: #c9a227;
    color: #fff;
}

.ips-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.ips-hero-verified {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8a97ab;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-dot {
    color: #c9a227;
}

/* ---------- Sections ---------- */
.ips-section {
    padding: 56px 0;
    border-bottom: 1px solid #142036;
}

.ips-container > .ips-kicker,
.ips-kicker {
    color: #c9a227;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #16233a;
    margin: 0 0 14px 0;
    letter-spacing: -0.01em;
}

.ips-section-desc {
    font-size: 15px;
    color: #8a97ab;
    margin: 0 0 26px 0;
    max-width: 760px;
}

/* ---------- Legacy stats ---------- */
.ips-legacy .ips-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 6px;
}

.ips-stat-card {
    background: #0d1424;
    border: 1px solid #1d2a44;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ips-stat-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9a227;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-stat-value {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.ips-stat-icon {
    font-size: 24px;
    align-self: flex-start;
    margin-top: 4px;
}

.ips-stat-desc {
    font-size: 13px;
    color: #8a97ab;
    margin: 0;
    line-height: 1.5;
}

.ips-footnote {
    font-size: 12px;
    color: #6a778c;
    margin-top: 18px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Research pillars ---------- */
.ips-research .ips-stats-grid,
.ips-research .ips-pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 6px;
}

.ips-pillar-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.ips-selector-label {
    color: #8a97ab;
    font-size: 13px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    align-self: center;
}

.ips-pill {
    background: #0d1424;
    border: 1px solid #1d2a44;
    color: #b9c6d8;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
}

.ips-pill:hover {
    border-color: #c9a227;
    color: #fff;
}

.ips-pill.active {
    background: #c9a227;
    color: #0b0e16;
    border-color: #c9a227;
}

.ips-pillar-card {
    background: #f4f6f8;
    color: #16233a;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ips-pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.ips-pillar-card.combined {
    background: #0d1424;
    color: #fff;
    border-color: #1d2a44;
}

.ips-pillar-card.combined .ips-pillar-kicker,
.ips-pillar-card.combined .ips-pillar-title,
.ips-pillar-card.combined .ips-pillar-sub {
    color: inherit;
}

.ips-pillar-card.combined .ips-pillar-kicker { color: #d4af37; }

.ips-pillar-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-pillar-card.combined .ips-pillar-kicker { color: #c9a227; }

.ips-pillar-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0;
    color: inherit;
}

.ips-pillar-sub {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.ips-pillar-card.combined .ips-pillar-sub { color: #94a3b8; }

.ips-pillar-icon {
    font-size: 28px;
    align-self: flex-start;
    margin-top: 6px;
}

/* ---------- Outputs (dialogues & publications) ---------- */
.ips-outputs-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 8px;
}

.ips-output-col {
    background: #f4f6f8;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    color: #16233a;
}

.ips-output-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b45309;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 8px;
}

.ips-output-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.ips-output-total {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: #16233a;
    margin-bottom: 18px;
}

.ips-output-list {
    margin-bottom: 24px;
}

.ips-output-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.ips-output-item-media {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ips-output-item-body {
    flex: 1;
}

.ips-output-item-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 2px 0;
}

.ips-output-item-sub {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 6px 0;
}

.ips-output-item-value {
    font-size: 20px;
    font-weight: 800;
    color: #b45309;
    white-space: nowrap;
}

.ips-output-bar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.ips-bar-label {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-bar-track {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
}

.ips-bar-seg {
    height: 100%;
}

.ips-bar-seg-a { background: #0f172a; }
.ips-bar-seg-b { background: #c9a227; }
.ips-bar-seg-c { background: #64748b; }
.ips-bar-seg-d { background: #94a3b8; }

.ips-bar-legend {
    font-size: 11px;
    color: #64748b;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Digital outreach ---------- */
.ips-outreach-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #16a34a;
    margin-bottom: 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-updated {
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.35);
    color: #16a34a;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
}

.ips-tv-card {
    background: #0b1424;
    border: 1px solid #1d2a44;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ips-tv-media {
    flex: 1 1 340px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ips-youtube-logo {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    flex-shrink: 0;
}

.ips-tv-info .ips-tv-network {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-tv-info .ips-tv-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px 0;
}

.ips-tv-info .ips-tv-desc {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.ips-tv-stats {
    display: flex;
    gap: 24px;
    flex: 1 1 260px;
}

.ips-stat {
    flex: 1;
}

.ips-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.ips-stat-label {
    font-size: 12px;
    color: #8a97ab;
    margin: 0 0 2px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-stat-note {
    font-size: 11px;
    color: #c9a227;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.ips-social-card {
    background: #f4f6f8;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    color: #16233a;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ips-social-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ips-social-icon {
    font-size: 20px;
    width: 32px;
    height: 32px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ips-social-dot {
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    flex-shrink: 0;
}

.ips-social-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #475569;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-social-value {
    font-size: 24px;
    font-weight: 800;
    color: #16233a;
    margin: 0;
}

.ips-social-sub {
    font-size: 11px;
    color: #64748b;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-social-likes {
    font-size: 12px;
    font-weight: 700;
    color: #b45309;
    margin-top: 4px;
}

/* ---------- Press publishing ---------- */
.ips-press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 6px;
}

.ips-press-card {
    background: #f4f6f8;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
    color: #16233a;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ips-press-kicker {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b45309;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-press-value {
    font-size: 30px;
    font-weight: 800;
    color: #16233a;
    margin: 0;
}

.ips-press-label {
    font-size: 14px;
    font-weight: 700;
    color: #16233a;
    margin: 0 0 2px 0;
}

.ips-press-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.ips-press-icon {
    font-size: 24px;
    align-self: flex-start;
    margin-top: 6px;
}

/* ---------- Footer ---------- */
.ips-footer {
    background: #0a0f1a;
    border-top: 1px solid #1a243a;
    padding: 40px 0;
    color: #94a3b8;
}

.ips-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.ips-footer-brand {
    flex: 1 1 260px;
}

.ips-footer-logo {
    font-size: 18px;
    font-weight: 800;
    color: #c9a227;
    letter-spacing: 0.05em;
}

.ips-footer-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 4px 0 2px 0;
}

.ips-footer-loc {
    font-size: 11px;
    color: #d4af37;
    margin-bottom: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-footer-desc {
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

.ips-footer-address {
    font-size: 12px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ips-footer-nav {
    display: flex;
    gap: 40px;
    flex: 2 1 400px;
}

.ips-footer-col {
    flex: 1;
}

.ips-footer-col strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c9a227;
    margin-bottom: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ips-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ips-footer-col li {
    font-size: 13px;
    margin-bottom: 8px;
}

.ips-footer-legal {
    font-size: 12px;
    margin-top: 8px;
}

.ips-footer-legal p {
    margin: 4px 0;
}
