/* =============================================================
   Safe Passage Demo Site
   Only styles for: disclaimer overlay, GT content block, GT article
   All MobilityPlaza chrome is rendered via screenshot images.
   ============================================================= */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Open Sans', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.5;
    /* Constrain to match screenshot viewport width (@2x images ÷ 2) */
    max-width: 1005px;
    margin: 0 auto;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =============================================================
   DISCLAIMER OVERLAY
   ============================================================= */
.disclaimer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.disclaimer-overlay.dismissed {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.disclaimer-box {
    background: #fff;
    max-width: 580px;
    margin: 0 24px;
    padding: 48px 44px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.disclaimer-title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.disclaimer-text {
    font-size: 15px;
    color: #555;
    line-height: 1.65;
    margin-bottom: 16px;
}

.disclaimer-text:last-of-type {
    margin-bottom: 32px;
}

.disclaimer-text strong {
    color: #222;
    font-weight: 600;
}

.disclaimer-btn {
    display: inline-block;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #1a6b6a;
    border: none;
    padding: 14px 48px;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.2s;
}

.disclaimer-btn:hover {
    background: #145554;
}

/* =============================================================
   SITE CONTENT (revealed after disclaimer)
   ============================================================= */
.site-content--hidden {
    display: none;
}

/* =============================================================
   SCREENSHOT IMAGES (header, articles)
   Full-width, no decoration — just the image.
   ============================================================= */
.screenshot-header img,
.screenshot-articles img {
    width: 100%;
    height: auto;
    display: block;
}

/* =============================================================
   SAFE PASSAGE SECTION (Knowledge homepage)
   ============================================================= */
.gt-section {
    background: #f9fafb;
    border-top: 3px solid #1a6b6a;
}

.gt-section-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 20px 24px;
}

/* Column Header */
.gt-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.gt-column-header-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.gt-column-title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1a6b6a;
    letter-spacing: -0.3px;
}

.gt-column-subtitle {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

.gt-column-header-logo {
    flex-shrink: 0;
}

.gt-secu-logo {
    height: 28px;
    width: auto;
    filter: invert(1) brightness(0.3);
}

.gt-secu-logo--small {
    height: 18px;
}

.gt-made-possible {
    font-size: 11px;
    color: #888;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Three-column teaser layout */
.gt-teasers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gt-teaser-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.15s;
}

.gt-teaser-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.gt-teaser-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.gt-teaser-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gt-teaser-card:hover .gt-teaser-image img {
    transform: scale(1.03);
}

.gt-teaser-body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gt-teaser-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
    margin-bottom: 6px;
}

.gt-teaser-card:hover .gt-teaser-title {
    color: #1a6b6a;
}

.gt-teaser-date {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 10px;
}

.gt-teaser-text {
    font-size: 13px;
    color: #666;
    line-height: 1.45;
    flex: 1;
    margin-bottom: 8px;
}

.gt-teaser-read {
    font-size: 13px;
    font-weight: 700;
    color: #1a6b6a;
    letter-spacing: 0.2px;
}

/* =============================================================
   SAFE PASSAGE ARTICLE PAGE
   ============================================================= */
.gt-article-page {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 32px;
}

/* Hero */
.gt-article-hero {
    margin: 0 0 24px;
    border-radius: 2px;
    overflow: hidden;
}

.gt-article-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Title & Meta */
.gt-article-header {
    margin-bottom: 32px;
}

.gt-article-title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 20px;
}

.gt-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.gt-article-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gt-article-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #8a8a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gt-article-avatar span {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.gt-article-author-info {
    display: flex;
    flex-direction: column;
}

.gt-article-author-name {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.gt-article-author-role {
    font-size: 13px;
    color: #888;
}

.gt-article-date {
    font-size: 13px;
    color: #999;
}

/* Article Body */
.gt-article-body {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

.gt-article-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 36px 0 14px;
}

.gt-article-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin: 28px 0 10px;
}

.gt-article-body p {
    margin-bottom: 16px;
}

.gt-article-body .gt-article-intro {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 28px;
}

.gt-article-body ul {
    margin: 0 0 20px 24px;
}

.gt-article-body li {
    margin-bottom: 10px;
}

.gt-article-body strong {
    font-weight: 700;
    color: #222;
}

/* Attribution Block */
.gt-attribution {
    margin: 40px 0;
    padding: 24px;
    background: #f7f9fa;
    border: 1px solid #e4e4e4;
    border-left: 4px solid #1a6b6a;
    border-radius: 2px;
}

.gt-attribution-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gt-attribution-logo {
    flex-shrink: 0;
}

.gt-attribution-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.gt-attribution-text strong {
    color: #1a6b6a;
}

/* Article Footer / Tags */
.gt-article-footer {
    padding: 20px 0;
    border-top: 1px solid #e8e8e8;
}

.gt-article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gt-tag {
    font-size: 11px;
    font-weight: 600;
    color: #1a6b6a;
    background: #e8f4f4;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Sidebar */
.gt-article-sidebar {
    padding-top: 24px;
}

.gt-sidebar-section {
    margin-bottom: 32px;
}

.gt-sidebar-section h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1a6b6a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a6b6a;
    margin-bottom: 16px;
}

.gt-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gt-sidebar-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.gt-sidebar-list a {
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}

.gt-sidebar-list a:hover {
    color: #1a6b6a;
}

/* Edition Label (on article pages) */
.gt-edition-label {
    font-size: 12px;
    font-weight: 700;
    color: #1a6b6a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
