/* Cast Talents — public blog styles */

/* Header is position:absolute over the page — heroes need top padding to clear it. */
.ct-blog-hero {
    background: linear-gradient(160deg, #f3fbff 0%, #ffffff 45%, #eef8f9 100%);
    color: #062646;
    padding: 150px 0 40px;
    text-align: center;
}

.ct-blog-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: #062646;
}

.ct-blog-hero h1 span {
    color: #1c7887;
}

.ct-blog-hero p {
    color: #5a6b74;
    margin: 0;
}

/* Cards */
.ct-blog-card {
    background: #fff;
    border: 1px solid #e5ecef;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ct-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(6, 38, 70, 0.12);
}

.ct-blog-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f4f6;
}

.ct-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ct-blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #b8c8cf;
}

.ct-blog-card-body {
    padding: 1.1rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.ct-blog-card-body h2 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.ct-blog-card-body h2 a {
    color: #062646;
    text-decoration: none;
}

.ct-blog-card-body h2 a:hover {
    color: #1c7887;
}

.ct-blog-date {
    font-size: 0.78rem;
    color: #8a9ba5;
    margin: 0;
}

.ct-blog-excerpt {
    font-size: 0.88rem;
    color: #5a6b74;
    margin: 0;
}

.ct-blog-readmore {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1c7887;
    text-decoration: none;
}

.ct-blog-readmore:hover {
    text-decoration: underline;
    color: #14606c;
}

/* Article page */
.ct-blog-article-hero {
    background: linear-gradient(160deg, #f3fbff 0%, #ffffff 45%, #eef8f9 100%);
    color: #062646;
    padding: 150px 0 30px;
    margin-bottom: 2rem;
}

.ct-blog-article-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    max-width: 850px;
    color: #062646;
}

.ct-blog-article-hero .ct-blog-date {
    color: #8a9ba5;
}

.ct-blog-breadcrumb a {
    color: #1c7887;
    font-size: 0.85rem;
    text-decoration: none;
}

.ct-blog-breadcrumb a:hover {
    color: #14606c;
    text-decoration: underline;
}

.ct-blog-featured {
    margin: 0 0 2rem;
}

.ct-blog-featured img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 14px;
}

/* Rich content — professional article typography */
.ct-blog-content {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #2c3a42;
    word-wrap: break-word;
}

.ct-blog-content h1,
.ct-blog-content h2,
.ct-blog-content h3,
.ct-blog-content h4 {
    color: #062646;
    font-weight: 700;
    margin: 1.6em 0 0.6em;
    line-height: 1.3;
}

.ct-blog-content h1 { font-size: 1.7rem; }
.ct-blog-content h2 { font-size: 1.45rem; }
.ct-blog-content h3 { font-size: 1.2rem; }

.ct-blog-content p {
    margin-bottom: 1.1em;
}

.ct-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
}

.ct-blog-content blockquote {
    border-left: 4px solid #1c7887;
    background: #f4fafb;
    padding: 0.9rem 1.2rem;
    margin: 1.4rem 0;
    border-radius: 0 10px 10px 0;
    color: #40525c;
}

.ct-blog-content ul,
.ct-blog-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.1em;
}

.ct-blog-content li {
    margin-bottom: 0.35em;
}

.ct-blog-content a {
    color: #1c7887;
}

.ct-blog-content .ql-align-center { text-align: center; }
.ct-blog-content .ql-align-right { text-align: right; }
.ct-blog-content .ql-align-justify { text-align: justify; }
.ct-blog-content .ql-size-small { font-size: 0.8em; }
.ct-blog-content .ql-size-large { font-size: 1.4em; }
.ct-blog-content .ql-size-huge { font-size: 1.9em; }

.ct-blog-gallery h3,
.ct-blog-related h3 {
    color: #062646;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.ct-blog-gallery img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 768px) {
    .ct-blog-hero {
        padding: 110px 0 30px;
    }

    .ct-blog-article-hero {
        padding: 110px 0 25px;
    }

    .ct-blog-content {
        font-size: 0.97rem;
    }
}
