/*
CTC Separate Stylesheet
Updated: 2025-02-03 08:25:17
*/

/* Font Awesome 6 Free - Solid (Weight 900) */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("/wp-content/themes/flatsome-child/libraries/fonts-awesome/webfonts/fa-solid-900.woff2") format("woff2"),
        url("/wp-content/themes/flatsome-child/libraries/fonts-awesome/webfonts/fa-solid-900.ttf") format("truetype");
}

/* Font Awesome 6 Free - Regular (Weight 400) */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/wp-content/themes/flatsome-child/libraries/fonts-awesome/webfonts/fa-regular-400.woff2") format("woff2"),
        url("/wp-content/themes/flatsome-child/libraries/fonts-awesome/webfonts/fa-regular-400.ttf") format("truetype");
}

/* Font Awesome 6 Brands - Regular (Weight 400) */
@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/wp-content/themes/flatsome-child/libraries/fonts-awesome/webfonts/fa-brands-400.woff2") format("woff2"),
        url("/wp-content/themes/flatsome-child/libraries/fonts-awesome/webfonts/fa-brands-400.ttf") format("truetype");
}

/* Font Awesome Classes */
.fa,
.fas {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.far {
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
}

.fab {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
}

/* Custom CSS cho Homepage (Theme Flatsome) */

:root {
    --brand-color: #0060cf;
    --brand-dark: #003d82;
    --brand-light: #e6eff7;
    --brand-light-10: rgba(0, 83, 178, 0.1);
    --brand-light-30: rgba(0, 83, 178, 0.05);
}

.text-brand {
    color: var(--brand-color) !important;
}

.text-brand-dark {
    color: var(--brand-dark) !important;
}

.text-brand-light {
    color: var(--brand-light) !important;
}

.bg-brand {
    background-color: var(--brand-color) !important;
}

.bg-brand-dark {
    background-color: var(--brand-dark) !important;
}

.bg-brand-light {
    background-color: var(--brand-light) !important;
}

.bg-brand-light-10 {
    background-color: var(--brand-light-10) !important;
}

.bg-brand-light-30 {
    background-color: var(--brand-light-30) !important;
}

.text-white {
    color: #fff !important;
}

.text-dark {
    color: #1f2937 !important;
}

.text-gray {
    color: #4b5563 !important;
}

.bg-white {
    background-color: #fff !important;
}

.bg-slate-100 {
    background-color: #f1f5f9 !important;
}

.bg-white-5 {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.border-white-20 {
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.bd-rd {
    border-radius: 8px !important;
}

.bd-rd-large {
    border-radius: 16px !important;
}

.bd-rd-full {
    border-radius: 9999px !important;
}

.box-shadow-small {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

/* Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-6 {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 849px) {

    /* Medium */
    .md-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md-grid-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 850px) {

    /* Large */
    .md-grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .md-grid-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .md-flex-row {
        flex-direction: row !important;
    }

    .md-w-1-3 {
        width: 33.333333% !important;
    }

    .md-w-1-4 {
        width: 25% !important;
    }

    .md-block {
        display: block !important;
    }
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Utilities */
.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.line-height-small {
    line-height: 1.2;
}

.line-height-medium {
    line-height: 1.5;
}

.line-height-large {
    line-height: 1.8;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-60 {
    opacity: 0.6;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.items-end {
    align-items: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-2 {
    flex: 2 1 0%;
}

.shrink-0 {
    flex-shrink: 0;
}

.w-full {
    width: 100% !important;
}

.h-full {
    height: 100% !important;
}

.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.h-24 {
    height: 6rem;
}

.max-w-250 {
    max-width: 250px;
}

.min-w-0 {
    min-width: 0;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.object-cover {
    object-fit: cover !important;
}

.object-contain {
    object-fit: contain !important;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Positions */
.top-minus-1 {
    top: -0.25rem;
}

.top-minus-10 {
    top: -2.5rem;
}

.right-minus-10 {
    right: -2.5rem;
}

.bottom-minus-6 {
    bottom: -1.5rem;
}

.right-minus-6 {
    right: -1.5rem;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

.blur-3xl {
    filter: blur(64px);
}

.scale-110 {
    transform: scale(1.1);
}

.h-400 {
    height: 400px !important;
}

.aspect-3-4 {
    aspect-ratio: 3 / 4;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.hidden-overflow {
    overflow: hidden;
}

/* Custom elements */
.service-card {
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: rgba(0, 83, 178, 0.2);
}

.service-card.hover-border-slate:hover {
    border-color: #cbd5e1;
}

.news-card .img-zoom {
    transition: transform 0.5s ease;
}

.news-card:hover .img-zoom {
    transform: scale(1.05);
}

.hover-primary:hover {
    color: var(--brand-color) !important;
}

.bg-gradient-line {
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
}

.b-l-4 {
    border-left: 4px solid var(--brand-color);
}

.list-checked {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.list-checked li {
    position: relative;
    padding-left: 1.5rem;
    display: flex;
    align-items: center;
}

.list-checked li .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 10px;
}

ul.list-checked {
    margin-bottom: 0px !important;
}

.circle-pulse::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.logo-grayscale {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-grayscale:hover {
    filter: grayscale(0%);
}

.tooltip-greeting {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
}

@media (max-width: 549px) {

    /* Mobile */
    .tooltip-greeting {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: -10px;
    }
}

.sc-blog .box-image {
    display: none;
}

.sc-blog .box-text {
    padding: 0 0 15px;
}

.sc-blog .box-text .is-divider {
    display: none;
}

/* ==========================================================================
   TRANG DANH MỤC BÀI VIẾT – ARCHIVE ISSHO
   ========================================================================== */

/* Hero section – tiêu đề trang archive */
.issho-archive-hero {
    background-color: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 80px 20px;
}

.issho-archive-hero__inner {
    max-width: 800px;
    margin: 0 auto;
}

.issho-archive-hero__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-color);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.issho-archive-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 20px;
}

.issho-archive-hero__desc {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
    max-width: 560px;
    margin: 0;
}

/* Wrapper nội dung archive list */
.issho-archive-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* Post list */
.issho-archive-list {
    margin: 0;
    padding: 0;
}

.issho-archive-list .post-list-title,
.issho-archive-page .page-title-wrapper {
    display: none;
    /* Ẩn title mặc định của Flatsome */
}

/* Mỗi news item */
.issho-news-item {
    border-bottom: 1px solid #e2e8f0;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.issho-news-item:first-child {
    border-top: 1px solid #e2e8f0;
}

/* Link toàn item */
.issho-news-link {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.issho-news-link:hover {
    padding-left: 4px;
}

.issho-news-link:hover .issho-news-title {
    color: var(--brand-color);
}

.issho-news-link:hover .issho-news-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Ngày đăng */
.issho-news-date {
    flex-shrink: 0;
    width: 120px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.05em;
}

/* Tiêu đề bài */
.issho-news-title {
    flex: 1;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: #1e293b;
    margin: 0;
    transition: color 0.2s ease;
}

/* Mũi tên */
.issho-news-arrow {
    flex-shrink: 0;
    color: var(--brand-color);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.25s ease;
    display: flex;
    align-items: center;
}

/* Pagination */
.issho-archive-list .pagination,
.issho-archive-list nav.pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.issho-archive-list .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}

.issho-archive-list .pagination .page-numbers:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.issho-archive-list .pagination .page-numbers.current {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    color: #fff;
}

/* Mobile */
@media (max-width: 549px) {
    .issho-archive-hero {
        padding: 48px 20px;
    }

    .issho-news-link {
        flex-wrap: wrap;
        gap: 6px;
        padding: 20px 0;
    }

    .issho-news-date {
        width: 100%;
    }

    .issho-news-arrow {
        display: none;
    }
}

/* ==========================================================================
   TRANG CHI TIẾT BÀI VIẾT – SINGLE ISSHO
   ========================================================================== */

.issho-single-wrapper .row.align-center>.col {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Thumbnail toàn width */
.issho-single-thumbnail {
    margin-bottom: 48px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    aspect-ratio: 16 / 9;
}

.issho-single-thumbnail__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nội dung bài viết */
.issho-single-body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #334155;
}
/* Blockquote */
.issho-single-body blockquote,
.issho-single-body .wp-block-quote {
    border-left: 4px solid var(--brand-color);
    padding: 16px 24px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #1e293b;
    font-weight: 500;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
}

/* Image gallery trong bài */
.issho-single-body .wp-block-gallery,
.issho-single-body .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.issho-single-body .wp-block-gallery img,
.issho-single-body .gallery img {
    border-radius: 12px;
    width: 100%;
    height: 240px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Footer bài viết */
.issho-single-footer {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.issho-share-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.issho-share-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.issho-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand-color);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.issho-back-link:hover {
    gap: 14px;
    color: var(--brand-dark);
}

@media (max-width: 549px) {
    .issho-single-thumbnail {
        border-radius: 8px;
        aspect-ratio: 4 / 3;
    }

    .issho-single-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .issho-single-body .wp-block-gallery,
    .issho-single-body .gallery {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   TRANG LIÊN HỆ – CONTACT PAGE
   ========================================================================== */

/* Hero banner */
.issho-contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.issho-contact-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.issho-contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 83, 178, 0.78) 0%, rgba(0, 61, 130, 0.55) 100%);
}

.issho-contact-hero__content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 24px;
    max-width: 640px;
}

.issho-contact-hero__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
}

.issho-contact-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #fff;
}

.issho-contact-hero__line {
    width: 72px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
}

/* Form section */
.issho-contact-form-section {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px;
}

.issho-contact-form-section .issho-form-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto 40px;
}

/* Wrapper form CF7 */
.issho-cf7-wrapper {
    background: #fff;
    border: 1px solid #e9eef4;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 8px 40px rgba(0, 83, 178, 0.07);
}

/* Styling CF7 fields */
.issho-cf7-wrapper .wpcf7-form {
    display: grid;
    gap: 24px;
}

.issho-cf7-wrapper .wpcf7-form .two-col-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.issho-cf7-wrapper label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.issho-cf7-wrapper input[type="text"],
.issho-cf7-wrapper input[type="email"],
.issho-cf7-wrapper input[type="tel"],
.issho-cf7-wrapper textarea,
.issho-cf7-wrapper select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d9e0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 0.95rem;
    color: #1e293b;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: inherit;
}

.issho-cf7-wrapper input[type="text"]:focus,
.issho-cf7-wrapper input[type="email"]:focus,
.issho-cf7-wrapper input[type="tel"]:focus,
.issho-cf7-wrapper textarea:focus,
.issho-cf7-wrapper select:focus {
    border-color: var(--brand-color);
    box-shadow: 0 0 0 3px rgba(0, 83, 178, 0.12);
    background: #fff;
}

.issho-cf7-wrapper textarea {
    resize: vertical;
    min-height: 140px;
}

.issho-cf7-wrapper .wpcf7-submit,
.issho-cf7-wrapper input[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--brand-color);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(0, 83, 178, 0.25);
    font-family: inherit;
}

.issho-cf7-wrapper .wpcf7-submit:hover,
.issho-cf7-wrapper input[type="submit"]:hover {
    background-color: var(--brand-dark);
    transform: translateY(-1px);
}

/* Acceptance checkbox */
.issho-cf7-wrapper .wpcf7-acceptance .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.issho-cf7-wrapper .wpcf7-acceptance input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--brand-color);
}

.issho-cf7-wrapper .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
}

.issho-cf7-wrapper .wpcf7-acceptance a {
    color: var(--brand-color);
    font-weight: 600;
    text-decoration: underline;
}

/* Thông báo CF7 */
.issho-cf7-wrapper .wpcf7-response-output {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Info grid — 3 cột địa chỉ/điện thoại/email */
.issho-contact-info-grid {
    background: #f8fafc;
    border-top: 1px solid #e9eef4;
    border-bottom: 1px solid #e9eef4;
    padding: 64px 24px;
}

.issho-contact-info-grid__inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.issho-contact-info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 16px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9eef4;
    transition: box-shadow 0.2s;
}

.issho-contact-info-card:hover {
    box-shadow: 0 8px 32px rgba(0, 83, 178, 0.09);
}

.issho-contact-info-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-light-10);
    color: var(--brand-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.issho-contact-info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.issho-contact-info-card p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 849px) {
    .issho-contact-info-grid__inner {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 549px) {
    .issho-cf7-wrapper {
        padding: 28px 20px;
    }

    .issho-contact-hero {
        height: 280px;
    }
}