/* ===== Info Pages Shared Styles ===== */

.info-page {
    margin-top: 81px;
    min-height: 60vh;
}

@media (max-width: 1199px) {
    .info-page {
        margin-top: 70px;
    }
}

@media (max-width: 991px) {
    .info-page {
        margin-top: 60px;
    }
}

/* Hero Banner */
.info-hero {
    background: linear-gradient(135deg, var(--ct-red) 0%, var(--ct-red-dark) 100%);
    color: #fff;
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.info-hero::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.info-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.info-hero .info-breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.info-hero .info-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-hero .info-breadcrumb a:hover {
    color: #fff;
}

.info-hero .info-breadcrumb span {
    margin: 0 8px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .info-hero {
        padding: 40px 0 35px;
    }

    .info-hero h1 {
        font-size: 26px;
    }
}

/* Content Body */
.info-body {
    padding: 50px 0 70px;
    background: #fff;
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
}

.info-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ct-red);
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e6ed;
}

.info-content h2:first-child {
    margin-top: 0;
}

.info-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #353535;
    margin: 28px 0 12px;
}

.info-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 16px;
}

.info-content ul,
.info-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.info-content li {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 8px;
}

.info-content li strong {
    color: #353535;
}

.info-content a {
    color: var(--ct-red);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.info-content a:hover {
    color: var(--ct-red-dark);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #e0e6ed;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.info-card:hover {
    box-shadow: 0 4px 20px rgba(6, 60, 135, 0.1);
    transform: translateY(-2px);
}

.info-card .info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--ct-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ct-red);
    margin: 0 0 10px;
}

.info-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Call-to-action box */
.info-cta {
    background: #f0f4f8;
    border-left: 4px solid var(--ct-red);
    border-radius: 8px;
    padding: 24px 28px;
    margin: 30px 0;
}

.info-cta h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ct-red);
    margin: 0 0 8px;
}

.info-cta p {
    font-size: 15px;
    color: #555;
    margin: 0;
}

.info-cta a {
    font-weight: 600;
}

/* Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.info-table th {
    background: var(--ct-red);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.info-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e6ed;
    color: #555;
}

.info-table tr:nth-child(even) td {
    background: #f8f9fa;
}

.info-table tr:hover td {
    background: #f0f4f8;
}

/* Last updated */
.info-last-updated {
    font-size: 13px;
    color: #999;
    font-style: italic;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e6ed;
}

/* Press/Blog grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin: 30px 0;
}

.info-grid-item {
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.info-grid-item:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.info-grid-item .info-grid-body {
    padding: 22px 24px;
}

.info-grid-item .info-grid-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--ct-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.info-grid-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: #353535;
    margin: 0 0 10px;
    line-height: 1.3;
}

.info-grid-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 12px;
}

.info-grid-item .info-grid-date {
    font-size: 13px;
    color: #999;
}

/* Code block */
.info-code {
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    overflow-x: auto;
}

.info-code .info-code-comment {
    color: #64748b;
}

.info-code .info-code-key {
    color: #93c5fd;
}

.info-code .info-code-string {
    color: #86efac;
}

@media (max-width: 768px) {
    .info-body {
        padding: 35px 0 50px;
    }

    .info-content h2 {
        font-size: 20px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
