/* ============================================================
   Innoway Blog — Full Extracted Stylesheet
   Palette:  ink #171412 | paper #FFFFFF | cream #FFF6EE
             orange #FF9000 | orange-deep #E67A00 | orange-soft #FFE3C2
             line #ECE3D6 | muted #7A6F62
   Type:     'Sora' (display / headings) + 'Inter' (body / UI)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

#innoway-blog {
    --ink: #171412;
    --paper: #ffffff;
    --cream: #FFF6EE;
    --orange: #FF9000;
    --orange-deep: #E67A00;
    --orange-soft: #FFE3C2;
    --line: #ECE3D6;
    --muted: #7A6F62;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--paper);
}

#innoway-blog h1,
#innoway-blog h2,
#innoway-blog h3,
#innoway-blog h4 {
    font-family: 'Sora', sans-serif;
}

#innoway-blog a {
    text-decoration: none;
}

a:hover,
a:focus,
a:active,
a.active {
    background-color: unset !important;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   Hero / Slider Section
   ============================================================ */
#main-slide {
    position: relative;
}

#main-slide .slider-content p {
    margin-bottom: 10px !important;
    margin-top: 15px;
}

/* Extracted from inline style on h1.animated1 */
#main-slide .slider-content h1.animated1 {
    text-shadow: 3px 3px 2px #000, 0 0 2px #000;
}

.animated1 span {
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.animated1 span strong {
    position: relative;
}

.animated1 span strong::after {
    content: "";
    display: block;
    width: 64px;
    height: 5px;
    margin: 18px auto 0;
    border-radius: 3px;
    background: var(--orange);
}

.animated2 {
    color: #F3E9DC !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ============================================================
   Toolbar (Search / Categories / Tags)
   ============================================================ */
.blog-toolbar {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 34px 0 30px;
}

.toolbar-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange-deep);
    margin-bottom: 10px;
}

.toolbar-eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--orange);
    display: inline-block;
}

/* ---------- Search Shell ---------- */
.search-shell {
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 4px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: border-color .2s ease, box-shadow .2s ease;
    max-width: 340px;
}

.search-shell:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px var(--orange-soft);
}

.search-shell .fa-search {
    color: var(--orange);
    font-size: 13px;
}

/* Extracted from inline style on .gcse-search */
.search-shell .gcse-search {
    width: 100%;
}

.search-shell .gsc-control-cse {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    width: 100% !important;
    font-family: 'Inter', sans-serif !important;
}

.search-shell table.gsc-search-box {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    width: 100% !important;
}

.search-shell td.gsc-input {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

.search-shell .gsc-input-box {
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    height: auto !important;
}

.search-shell input.gsc-input {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--ink) !important;
    padding: 8px 0 !important;
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

.search-shell input.gsc-input::placeholder {
    color: var(--muted) !important;
    font-weight: 400 !important;
}

.search-shell td.gsc-search-button {
    padding: 0 0 0 6px !important;
}

.search-shell .gsc-search-button-v2 {
    background: var(--orange) !important;
    border-radius: 8px !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    transition: background .18s ease;
}

.search-shell .gsc-search-button-v2:hover {
    background: var(--orange-deep) !important;
}

.search-shell .gsc-search-button-v2 svg {
    fill: #fff !important;
}

/* ---------- Category & Tag Chips ---------- */
.chip-row-label {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    margin: 22px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chip-row-label i {
    color: var(--orange);
    font-size: 13px;
}

.chip-scroll {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
}

.chip-scroll .chip-track {
    flex: 1;
}

.chip-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--orange-soft) transparent;
}

.chip-track::-webkit-scrollbar {
    height: 6px;
}

.chip-track::-webkit-scrollbar-thumb {
    background: var(--orange-soft);
    border-radius: 6px;
}

.chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--paper);
    border: 1.5px solid var(--line);
    color: var(--ink) !important;
    font-size: 13.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: all .18s ease;
}

.chip:hover {
    border-color: var(--orange);
    background: var(--orange-soft) !important;
    color: var(--orange-deep) !important;
    transform: translateY(-1px);
}

.chip .count {
    color: var(--muted);
    font-weight: 500;
    font-size: 12px;
}

.chip.tag-chip {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff !important;
}

.chip.tag-chip .count {
    color: #C9BFB2;
}

.chip.tag-chip:hover {
    background: var(--orange-deep) !important;
    border-color: var(--orange-deep);
    color: #fff !important;
}

.chip.tag-chip:hover .count {
    color: #FFE9CF;
}

/* Scroll Buttons for Tag Row */
.ibs-scroll-btn {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    max-width: 34px;
    max-height: 34px;
    border-radius: 50%;
    background: var(--paper);
    border: 1.5px solid var(--line);
    color: var(--orange-deep);
    cursor: pointer;
    padding: 0;
    margin: 0 0 10px 0;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    box-sizing: border-box;
    line-height: 1;
    transition: all .18s ease;
}

.ibs-scroll-btn:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.ibs-scroll-btn:active {
    transform: scale(0.92);
}

.ibs-scroll-btn:focus {
    outline: none;
}

.ibs-scroll-btn .ibs-scroll-icon {
    width: 12px;
    height: 12px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Toolbar Alignment */
.toolbar-top-row .chip-row-label {
    margin-top: 0;
}

@media (max-width: 767px) {
    .toolbar-top-row .col-md-8 {
        margin-top: 22px;
    }
}

/* ============================================================
   Blog Card Grid
   ============================================================ */
.blog-grid-section {
    padding: 46px 0 20px;
    background: var(--paper);
}

.blog-grid-section .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.blog-grid-section .row > [class*="col-"] {
    display: flex;
    margin-bottom: 0;
}

.blog-post {
    border-radius: 16px;
    padding: 0 !important;
    margin-top: 28px;
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    cursor: pointer;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px -14px rgba(23, 20, 18, 0.22);
    border-color: var(--orange);
}

.blog-post .card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--cream);
}

.blog-post .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.blog-post:hover .card-media img {
    transform: scale(1.06);
}

.blog-post .card-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.blog-post:hover .card-media::after {
    transform: scaleX(1);
}

/* Pinned Post Badge */
.pinned-icon {
    position: absolute;
    top: 14px;
    right: -1px;
    background: var(--orange);
    color: #fff !important;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px 6px 12px;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: none;
    text-shadow: none;
    cursor: default;
}

.pinned-icon i {
    font-size: 11px;
}

/* Card Body & Metadata */
.card-body {
    padding: 20px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 12px;
}

.card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-meta i {
    color: var(--orange);
    font-size: 12px;
}

.card-meta .meta-date {
    color: var(--ink);
    font-weight: 600;
}

.card-author-inline {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    display: inline;
    text-transform: none;
}

.card-author-inline i {
    color: var(--orange);
    font-size: 12px;
    margin-right: 3px;
}

.blog-post h3 {
    height: auto;
    min-height: 44px;
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-post h3 a {
    color: var(--ink);
    transition: color .18s ease;
}

.blog-post:hover h3 a {
    color: var(--orange-deep);
}

.blog-post p.excerpt {
    height: auto;
    min-height: 54px;
    font-weight: 400;
    color: #4E463C;
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.learn-more-button {
    background: var(--orange);
    margin-top: auto;
    font-weight: 700 !important;
    border-radius: 8px;
    padding: 8px 16px !important;
    color: #fff !important;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    letter-spacing: 0.01em;
    width: fit-content;
    transition: background .18s ease;
}

.learn-more-button:hover {
    background: var(--orange-deep);
}

.learn-more-button i {
    transition: transform .2s ease;
    font-size: 11px;
}

.blog-post:hover .learn-more-button i {
    transform: translateX(4px);
}

/* ============================================================
   No Results State
   ============================================================ */
.no-results {
    text-align: center;
    padding: 70px 20px;
    color: var(--muted);
    font-family: 'Sora', sans-serif;
}

/* Extracted from inline style on .no-results i */
.no-results .no-results-icon,
.no-results i.fa-file-o {
    font-size: 34px;
    color: #E9D9C4;
    margin-bottom: 14px;
    display: block;
}

/* Extracted from inline style on .no-results p */
.no-results .no-results-text,
.no-results p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

/* ============================================================
   Pagination
   ============================================================ */
.navigation.pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagination {
    display: flex;
    justify-content: center;
}

.pagination .page-link,
.pagination li a {
    border-radius: 10px !important;
    margin: 0 4px;
    border: 1.5px solid var(--line) !important;
    color: var(--ink) !important;
    font-weight: 600;
}

.pagination li.active a,
.pagination .page-item.active .page-link {
    background: var(--orange) !important;
    border-color: var(--orange) !important;
    color: #fff !important;
}

.pagination li a:hover {
    background: var(--orange-soft) !important;
    border-color: var(--orange) !important;
}

/* ============================================================
   Responsive & Accessibility
   ============================================================ */
@media (max-width: 480px) {
    .gsc-input {
        width: 100% !important;
    }
    .search-shell {
        max-width: 100%;
    }
    .blog-toolbar {
        padding: 26px 0 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-post,
    .card-media img,
    .card-media::after,
    .chip,
    .learn-more-button i {
        transition: none !important;
    }
}