@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500&family=Bebas+Neue&family=Exo+2:wght@300;400;500;600&family=Rajdhani:wght@400;600;700&family=Share+Tech+Mono&display=swap');
/* Font Imports */

/* Variable CSS */
.clc-embed {
    container-type: inline-size;
    container-name: clc-site;
    isolation: isolate;
    text-align: left;
    white-space: normal;
    --wn-bg: #1e1e2d;
    --white: #ffffff;
    --text-color: #666666;
    --text-color-main: #333;
    --border-color: #cccccc;
    --line-color: var(--border-color);
    /* f0f0f0 */
    --labour: #c52237;
    --labour-head: color-mix(in srgb, var(--labour) 90%, black);
    --footer-col: #e4e4e4;
    --page-bg: #f5f5f5;
    --content-bg: #eaeaea;
    font-family: 'Exo 2', 'Barlow', sans-serif;
    font-size: 15px;
    color: var(--text-color-main);
    line-height: 1.75;
    border: solid 3px #161621;
}


/* Container */

.clc-embed.terminal {
    font-family: 'Exo 2', sans-serif;
    max-width: 1242px;
    margin: 40px auto;
    background: var(--page-bg);
    position: relative;
    overflow: hidden;
}

/* Header */
.clc-embed .header {
    box-sizing: border-box;
    background: #13161a;
    height: 140px;
    border-left: none;
    border-top: none;
    border-right: none;
    overflow: hidden;
    user-select: none;
    pointer-events: none;
}

.clc-embed .header .header-banner {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Navigation */
.clc-embed .nav {
    border-bottom: 2px solid rgb(29, 29, 29);
    background: linear-gradient(transparent 70%, rgba(107, 107, 107, 0.25));
}

.clc-embed .nav ul {
    align-items: stretch;
    display: flex;
    flex: 1;
    gap: 2px;
    list-style: none;
    margin: 0;
    margin-top: unset !important;
    margin-bottom: unset !important;
    min-height: 42px;
    padding: 0 18px;
    flex-wrap: wrap;
}

.clc-embed .nav ul li {
    align-items: center;
    border: 2px outset #f2f2f2;
    cursor: pointer;
    display: flex;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 0 13px;
    color: #333;
    position: relative;
    transition: color 0.15s ease;
}

.clc-embed .nav ul li:hover {
    color: var(--labour);
}

.clc-embed .nav ul li.active {
    color: var(--labour);
    font-weight: 700;
}

.clc-embed .nav ul li.active::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 8px;
    height: 2px;
    background: var(--labour);
}

/* Shared SVG icon color */
.clc-embed .svg-icon {
    display: inline-block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background-color: #333;
    -webkit-mask: var(--icon-image) center / contain no-repeat;
    mask: var(--icon-image) center / contain no-repeat;
}

.clc-embed .icon-home {
    --icon-image: url('https://images.kamilishahajulikani.dev/icons/home-svgrepo-com%20(1).svg');
}

.clc-embed .icon-search {
    --icon-image: url('https://images.kamilishahajulikani.dev/icons/search-globe-svgrepo-com.svg');
}

.clc-embed .icon-link {
    --icon-image: url('https://images.kamilishahajulikani.dev/icons/svg-link-icon.svg');
}

/* Search icon */
.clc-embed .nav ul li.search {
    margin-left: auto;
    border: 0;
    padding: 0;
    min-width: 0;
    cursor: default;
}

.clc-embed .nav-search {
    display: flex;
    align-self: stretch;
    min-width: 0;
}

.clc-embed .nav-search input {
    box-sizing: border-box;
    width: 340px;
    min-width: 0;
    min-height: 42px;
    border: 2px inset #eee;
    border-radius: 0;
    padding: 6px 10px;
    background: #fafafa;
    color: #333;
    font: 12px 'Poppins', sans-serif;
}

.clc-embed .nav-search button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    border: 2px outset #f2f2f2;
    border-radius: 0;
    background: #e8e8e8;
    cursor: pointer;
}

.clc-embed .nav-search button:active {
    border-style: inset;
}

.clc-embed .search-results {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    z-index: 30;
    box-sizing: border-box;
    width: min(360px, calc(100vw - 48px));
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #aaa;
    background: #f8f8f6;
    box-shadow: 2px 3px 0 rgb(0 0 0 / 15%);
    text-align: left;
}

.clc-embed .search-result-item {
    display: block;
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
    color: #333;
    text-decoration: none;
}

.clc-embed .search-result-item:hover,
.clc-embed .search-result-item:focus-visible {
    outline: none;
    background: #e9e9e6;
    color: var(--labour);
}

.clc-embed .result-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.clc-embed .result-section,
.clc-embed .search-status {
    color: #777;
    font-size: 11px;
    font-weight: 400;
}

.clc-embed .search-status {
    margin: 0;
    padding: 10px 12px;
}

@media (max-width: 640px) {

    .clc-embed .nav ul li.search,
.clc-embed .nav-search {
        width: 100%;
    }

    .clc-embed .nav-search input {
        flex: 1;
    }

    .clc-embed .search-results {
        width: 100%;
    }
}

@container clc-site (max-width: 640px) {

    .clc-embed .nav ul li.search,
.clc-embed .nav-search {
        width: 100%;
    }

    .clc-embed .nav-search input {
        flex: 1;
    }

    .clc-embed .search-results {
        width: 100%;
    }
}

/* Hero Image */
.clc-embed .wn-hero {
    position: relative;
    overflow: hidden;
    /* height: 420px; */
    height: 280px;
}

.clc-embed .hero-slides {
    position: absolute;
    inset: 0;
}

.clc-embed .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.clc-embed .hero-slide.active {
    opacity: 1;
}

.clc-embed .wn-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: var(--page-bg);
    padding: 60px 40px 40px;
    z-index: 10;
}

.clc-embed .wn-hero-overlay h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 51px;
    line-height: 1.05;
    margin: 0 0 12px;
    color: var(--page-bg) !important;
}

.clc-embed .wn-hero-overlay p {
    font-size: 14px !important;
    color: var(--page-bg) !important;
}



/* Content Area */
.clc-embed .content-container {
    padding: 40px 80px;
}

.clc-embed .content-container h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 2.8px;
    margin: 0 0 10px;
    color: var(--labour-head);
    text-transform: capitalize !important;
}

.clc-embed .content-container h2 {
    letter-spacing: 1px;
    margin-top: 4px;
    margin-bottom: 8px;
    color: var(--text-color-main);
    font-family: 'Poppins', system-ui, sans-serif;
}

.clc-embed .content-container p {
    font-size: 15px;
    color: var(--text-color-main);
}

.clc-embed .content-container .sub {
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin: 0 0 28px !important;
}

/* Tab content panels */
.clc-embed .tab-panel {
    display: none;
    min-height: 600px;
}

.clc-embed .tab-panel.active {
    display: block;
}

.clc-embed .tab-panel ul {
    padding-left: 20px;
    margin: 12px 0 0;
}

.clc-embed .tab-panel li {
    margin-bottom: 6px;
    color: var(--text-color-main);
}

/* Profile cards */
.clc-embed .content-container .profile {
    border-top: var(--border-color) solid 1px;
    margin-bottom: 24px;
    display: flow-root;
    padding-top: 18px;
    scroll-margin-top: 24px;
}

.clc-embed .content-container .profile:last-child {
    margin-bottom: 0;
}

.clc-embed .profile-img {
    margin-top: 10px;
    aspect-ratio: 4 / 5;
    width: 100%;
    overflow: hidden;
    background: var(--footer-col);
}

.clc-embed .profile-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.clc-embed .profile-info {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    margin: 0 24px 16px 0;
    padding: 8px;
    border: 2px outset #f2f2f2;
    background: var(--footer-col);
    text-align: center;
    color: var(--text-color-main);
    float: left;
    align-items: center;
    width: 240px;
    max-width: 100%;
    position: relative;
}

.clc-embed .profile-bio {
    margin-top: 0;
    font-family: inherit;
    line-height: 1.8;
}

.clc-embed .profile-bio p {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: inherit;
    text-align: left;
    overflow-wrap: break-word;
}

.clc-embed .profile-info .data {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    width: 100%;
    line-height: 1.4;
}

.clc-embed .profile-info span {
    display: block;
    text-align: center;
}

.clc-embed .profile-info .title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: 0;
}

.clc-embed .profile-info .role {
    color: var(--text-color-main);
    font-weight: 400;
    font-size: 14px;
}

.clc-embed .profile-info>span {
    font-size: 14px;
    margin-top: 6px;
}

/* Fake Button */
.clc-embed .fake-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    border: 0;
    border-radius: 4px;
    padding: 8px 42px;
    font-family: inherit;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.4;
    color: var(--button-color, var(--labour));
    background: var(--button-background, var(--page-bg));
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.2s;
    user-select: none;
}

.clc-embed .fake-button a:any-link,
.clc-embed .button-list a:any-link {
    color: inherit;
    text-decoration: none;
}

.clc-embed .fake-button:hover,
.clc-embed .article-back:hover,
.clc-embed .article-permalink:hover {
    filter: brightness(0.8);
}

.clc-embed .fake-button:focus-visible,
.clc-embed .button-list:focus-visible,
.clc-embed .article-back:focus-visible,
.clc-embed .article-permalink:focus-visible {
    outline: 2px solid var(--labour);
    outline-offset: 3px;
}

.clc-embed .click {
    cursor: pointer;
}

/* Footer */
.clc-embed footer {
    border-bottom: 1px solid var(--line-color);
    border-top: 1px solid var(--line-color);
    margin-top: 5px;
}

.clc-embed footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 1.8;
    cursor: pointer;
}

.clc-embed footer h4 {
    margin: 0 0 12px;
    font-weight: bolder;
}

.clc-embed .footer-rows {
    background: #e4e4e4;
    color: #666;
    font-size: 14px;
    padding: 20px 14px 14px;
}

.clc-embed .footer-section {}

.clc-embed .footer-row {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clc-embed .footer-link {
    display: inline-block;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.clc-embed .footer-link:hover {
    color: var(--labour);
    text-decoration: underline;
}

.clc-embed .footer-link:focus-visible {
    outline: 2px solid var(--labour);
    outline-offset: 3px;
}

.clc-embed .footer-row img {
    height: 60px;
    margin-bottom: 16px;
}

.clc-embed .footer strong {
    font-weight: bolder;
}

.clc-embed .footer-address {
    margin: 8px 0;
}

.clc-embed .footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.clc-embed .footer-language {
    margin-left: 12px;
    color: var(--text-color);
    text-decoration: none;
}

.clc-embed .footer-copyright {
    color: var(--text-color);
}

.clc-embed .bottom-divider {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

/* Components */

.clc-embed .simple-grid {
    display: grid;
    margin-block: 8px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 40px;
    text-align: justify;
}

.clc-embed .simple-grid .card {
    padding: 0 0 4px;
    border-bottom: 1px solid var(--border-color);
}

.clc-embed .simple-grid:last-of-type .card {
    padding: 0 0 4px;
    border-bottom: none;
}

/* None of the animations are mine. */
/* VHS / CRT effect */
.clc-embed.terminal::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-image:
        repeating-linear-gradient(to bottom,
            transparent 0px,
            transparent 1.8px,
            rgba(0, 0, 0, 0.12) 1.8px,
            rgba(0, 0, 0, 0.12) 2.9px),
        radial-gradient(ellipse at center,
            transparent 48%,
            rgba(0, 0, 0, 0.04) 88%);
    background-size: 100% 100%, 100% 100%;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: multiply;
    opacity: 0.15;
}

/* Glitchy scanlines + interference */
.clc-embed.terminal::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background: repeating-linear-gradient(to bottom,
            transparent 0px,
            rgba(255, 255, 255, 0.35) 0.8px,
            rgba(0, 0, 0, 0.62) 3px,
            transparent 4.5px);
    background-size: 100% 6px;
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: overlay;
    animation:
        clc-crt-scanlines 1.1s linear infinite,
        clc-crt-glitch 3.6s steps(1, end) infinite;
    opacity: 0.24;
}

@keyframes clc-crt-scanlines {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 160px;
    }
}

@keyframes clc-crt-glitch {

    0%,
    86%,
    100% {
        transform: translate(0, 0);
    }

    87% {
        transform: translate(-5px, 1px);
    }

    89% {
        transform: translate(6px, -2px);
    }

    91% {
        transform: translate(-3px, 2px);
    }

    93% {
        transform: translate(4px, -1px);
    }

    95% {
        transform: translate(-2px, 1px);
    }
}

/* scanline (overtop) */
.clc-embed .vhs-scan {
    position: absolute;
    top: -10%;
    left: -20px;
    width: calc(100% + 40px);
    height: 2px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(0, 0, 0, 0.22),
            transparent);
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: multiply;
    animation: clc-vhs-scan 7.5s linear infinite;
    opacity: 0.4;
}

@keyframes clc-vhs-scan {
    0% {
        top: -8%;
    }

    100% {
        top: 108%;
    }
}

/* Noise texture */
.clc-embed .vhs-noise {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-image: url('https://images.kamilishahajulikani.dev/miscellaneous/4k_Dissolve_Noise_Texture.png');
    background-repeat: repeat;
    background-size: 115px 115px;
    opacity: 0.045;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
    animation: clc-noise-crawl 8.5s linear infinite;
}

@keyframes clc-noise-crawl {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 180px 120px;
    }
}

.clc-embed .main-content {
    background: var(--content-bg);
    padding: 36px;
    border-left: rgb(250, 250, 250) solid 2px;
    border-bottom: rgb(250, 250, 250) solid 2px;
    border-top: var(--border-color) solid 1px;
    border-right: var(--border-color) solid 1px;
    margin-bottom: 32px;
}

.clc-embed .side-content {
    min-width: 0;
    box-sizing: border-box;
    padding: 12px;
    background: rgba(136, 22, 22, 0.05);
}

.clc-embed .sidebar-container {
    padding: 24px;
    /* background: rgba(190, 190, 190, 0.2); */
    background: rgb(228, 228, 228);
    margin-bottom: 24px;
    border-left: rgb(250, 250, 250) solid 2px;
    border-bottom: rgb(250, 250, 250) solid 2px;
    border-top: var(--border-color) solid 1px;
    border-right: var(--border-color) solid 1px;
}

.clc-embed .sidebar-container:last-child {
    margin-bottom: 10px;
}

.clc-embed .sidebar-promo-image {
    display: block;
    width: 100%;
    height: auto;
}

.clc-embed .sidebar-container.news {
    position: relative;
    max-height: unset;
}

.clc-embed .sidebar-container.news .side-news {
    position: relative;
    display: flow-root;
}

.clc-embed .latest-news {
    --latest-news-max-height: 220px;
    position: relative;
}

.clc-embed .news-preview {
    position: relative;
    max-height: var(--latest-news-max-height);
    overflow: hidden;
}

.clc-embed .latest-news.is-overflowing:not(.is-expanded) .news-preview::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 64px;
    background: linear-gradient(to bottom, transparent, #e4e4e4);
    pointer-events: none;
}

.clc-embed .latest-news.is-expanded .news-preview {
    display: none;
}

.clc-embed .latest-news.is-expanded {
    padding-bottom: 46px;
}

.clc-embed .news-details>summary {
    position: absolute;
    bottom: 8px;
    left: 10%;
    z-index: 1;
    box-sizing: border-box;
    list-style: none;
}

.clc-embed .news-details>summary::-webkit-details-marker {
    display: none;
}

.clc-embed .sidebar-container.news .expand {
    display: none;
    width: 80%;
    height: 30px;
    align-content: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #636262;
    margin: 0 auto;
    text-align: center;
    border-radius: 4px;
    background: #fff;
    border: var(--border-color) solid 1px;
    transition: filter 0.15s ease;
    cursor: pointer;
}

.clc-embed .latest-news.is-overflowing .news-details>summary {
    display: block;
}

.clc-embed .news-decrease-label,
.clc-embed .news-details[open] .news-expand-label {
    display: none;
}

.clc-embed .news-details[open] .news-decrease-label {
    display: inline;
}

.clc-embed .sidebar-container.news .expand:hover {
    filter: brightness(0.8);
}

.clc-embed .news-details>summary:focus-visible {
    outline: 2px solid var(--labour);
    outline-offset: 3px;
}


.clc-embed .sidebar-container.contact header {
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
}

.clc-embed .sidebar-container.contact h2 {
    margin: 0;
    line-height: 1;
    margin-bottom: 12px;
}

.clc-embed .body-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.clc-embed .body-main>* {
    min-width: 0;
}

.clc-embed .body-main .main-content {
    padding: 28px;
}

.clc-embed .body-main .banner-ad {
    margin-left: 0;
    margin-right: 0;
}

.clc-embed .side-news article {
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 6px;
}

.clc-embed .side-news .title {
    font-style: italic;
    color: var(--labour) !important;
    display: block;
    text-decoration: none;
}

.clc-embed .side-news .title:hover {
    text-decoration: underline;
}

.clc-embed .sidebar-container.list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.clc-embed .sidebar-container.list .button-list img {
    height: 20px;
    width: 20px;
    object-fit: cover;
    object-position: center;

}

.clc-embed .sidebar-container.list .button-list {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 6px 12px;
    box-sizing: border-box;
    min-height: 34px;
    max-height: unset;
    color: var(--labour);
    font-family: inherit;
    font-size: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.8);
    border: var(--border-color) solid 1px;
}

/* XenForo thread layout overrides, scoped to this embed. */
[data-template="thread_view"] .clc-embed .sidebar-container img {
    max-width: unset;
}

[data-template="thread_view"] .clc-embed .profile-info {
    width: unset;
    padding-right: 35px !important;
}

.clc-embed .sidebar-container.list .button-list span {
    text-transform: uppercase;
    color: inherit;
    font-weight: 700;
}

.clc-embed .banner-ad {
    position: relative;
    box-sizing: border-box;
    margin: 0 24px 30px;
    /* padding: 24px; */
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 165px;
    background: rgba(190, 190, 190, 0.2);
    border-left: rgb(250, 250, 250) solid 3px;
    border-bottom: rgb(250, 250, 250) solid 3px;
    border-top: var(--border-color) solid 2px;
    border-right: var(--border-color) solid 2px;
    text-align: center;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 1px;
    border-radius: 4px;
    color: var(--text-color-main);
    user-select: none;
}

.clc-embed .banner-ad.page {
    margin: unset;
    margin-top: 50px !important;
    min-height: 60px;
    max-height: 165px;
    height: unset;
    padding: 24px;
}

.clc-embed .banner-ad.page.large {
    min-height: 324px;
    max-height: unset;
}

.clc-embed .banner-ad.page.large2 {
    min-height: 180px;
}

.clc-embed .banner-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.clc-embed .banner-ad span {
    font-size: 34px;
}

.clc-embed .banner-ad .text {
    position: absolute;
    padding: 4px 24px;
    background: rgba(214, 214, 214, 0.7);
    color: rgb(42, 42, 95);
    font-weight: 600;
    text-transform: capitalize;
    border: rgba(0, 0, 0, 0.4) solid 2px;
    font-size: 14px;
    top: 12px;
    left: 24px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

@media (max-width: 1100px) {
    .clc-embed .content-container {
        padding: 28px;
    }

    .clc-embed .main-content {
        padding: 28px;
    }

    .clc-embed .body-main {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 18px;
    }

    .clc-embed .sidebar-container {
        padding: 20px;
    }
}

@container clc-site (max-width: 1100px) {
    .clc-embed .content-container {
        padding: 28px;
    }

    .clc-embed .main-content {
        padding: 28px;
    }

    .clc-embed .body-main {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 18px;
    }

    .clc-embed .sidebar-container {
        padding: 20px;
    }
}

@media (max-width: 1000px) {
    .clc-embed .body-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .clc-embed .side-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        align-items: start;
    }

    .clc-embed .side-content .sidebar-container {
        min-width: 0;
        margin-bottom: 0;
    }
}

@container clc-site (max-width: 1000px) {
    .clc-embed .body-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .clc-embed .side-content {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        align-items: start;
    }

    .clc-embed .side-content .sidebar-container {
        min-width: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 640px) {
    .clc-embed.terminal {
        margin: 16px auto;
    }

    .clc-embed .content-container {
        padding: 20px 14px;
    }

    .clc-embed .main-content,
.clc-embed .body-main .main-content {
        padding: 22px 18px;
        margin-bottom: 24px;
    }

    .clc-embed .simple-grid {
        gap: 24px;
    }

    .clc-embed .side-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .clc-embed .wn-hero {
        height: 340px;
    }

    .clc-embed .wn-hero-overlay {
        padding: 48px 22px 24px;
    }

    .clc-embed .wn-hero-overlay h1 {
        font-size: 38px;
    }

    .clc-embed .footer-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@container clc-site (max-width: 640px) {
    .clc-embed.terminal {
        margin: 16px auto;
    }

    .clc-embed .content-container {
        padding: 20px 14px;
    }

    .clc-embed .main-content,
.clc-embed .body-main .main-content {
        padding: 22px 18px;
        margin-bottom: 24px;
    }

    .clc-embed .simple-grid {
        gap: 24px;
    }

    .clc-embed .side-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .clc-embed .wn-hero {
        height: 340px;
    }

    .clc-embed .wn-hero-overlay {
        padding: 48px 22px 24px;
    }

    .clc-embed .wn-hero-overlay h1 {
        font-size: 38px;
    }

    .clc-embed .footer-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

/* Former inline component styles */
.clc-embed .support-grid {
    gap: 32px;
}

.clc-embed .membership-action {
    justify-content: center;
    display: flex;
}

.clc-embed .membership-action-inner {
    text-align: center;
    margin: 20px 0;
    border-radius: 6px;
}

.clc-embed .membership-button {
    --button-background: var(--labour);
    --button-color: var(--page-bg);
}

.clc-embed .signup-copy {
    font-size: 15px;
}

.clc-embed[data-clc-site] input.signup-input {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    margin: 18px auto !important;
    padding: 0 12px !important;
    overflow: hidden !important;
    font-family: 'Exo 2', 'Barlow', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: normal !important;
    text-align: center !important;
    text-transform: uppercase;
    background: #f8f8f8 !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 4px !important;
    color: var(--text-color) !important;
    box-shadow: none !important;
}

.clc-embed[data-clc-site] input.signup-input::placeholder {
    font: inherit !important;
    color: inherit !important;
    text-align: inherit !important;
    opacity: 1 !important;
}

.clc-embed .signup-submit {
    display: block;
    margin-inline: auto;
    padding: 10px 18px;
    font-size: 14px;
}

.clc-embed .sidebar-actions {
    position: relative;
}

.clc-embed .profile-image-featured {
    margin-bottom: 0;
}

.clc-embed .profile-name-wrap {
    width: 100%;
    box-sizing: border-box;
    margin-top: 8px;
    border: 1px solid var(--border-color);
    background: var(--page-bg);
    text-align: center;
}

.clc-embed .profile-name {
    display: block;
    padding: 5px 8px;
    color: var(--text-color-main);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    margin-block: 0;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .clc-embed .profile-info {
        float: none;
        margin: 0 auto 24px;
    }

    .clc-embed .profile-bio {
        margin-top: 0;
    }
}

@container clc-site (max-width: 640px) {
    .clc-embed .profile-info {
        float: none;
        margin: 0 auto 24px;
    }

    .clc-embed .profile-bio {
        margin-top: 0;
    }
}

.clc-embed .undecorated-link {
    text-decoration: none;
}

/* Plain news index */
.clc-embed .news-entry {
    margin-bottom: 28px;
}

.clc-embed .content-container .news-entry-heading {
    margin: 0 0 4px;
    font: 400 22px/1.3 Arial, sans-serif;
    letter-spacing: 0;
}

.clc-embed .news-entry-link {
    color: #153b9b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.clc-embed .news-entry-link:visited {
    color: #663d85;
}

.clc-embed .news-entry-link:hover {
    color: #a01b2b;
}

.clc-embed .news-entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    color: #686868;
    font: 12px/1.6 Arial, sans-serif;
}

.clc-embed .content-container .news-entry-summary {
    margin: 6px 0 0;
    color: #444;
    font: 14px/1.6 Arial, sans-serif;
}

.clc-embed .news-status {
    font: 14px/1.6 Arial, sans-serif;
    color: #555;
}

.clc-embed .latest-news-entry+.latest-news-entry {
    margin-top: 14px;
}

.clc-embed .latest-news-entry time {
    display: block;
    margin-top: 3px;
    color: #666;
    font-size: 11px;
}

.clc-embed .news-entry-link:focus-visible,
.clc-embed .nav li:focus-visible {
    outline: 2px solid #153b9b;
    outline-offset: 4px;
}

/* Newspaper-style article view */
.clc-embed .tab-panel[data-tab="article"] .content-primary {
    min-height: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.clc-embed .tab-panel[data-tab="article"] .article-content {
    flex: 1;
    margin-bottom: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 0;
    height: var(--article-reader-height, auto);
    max-height: var(--article-reader-max-height, none);
    overflow: hidden;
}

.clc-embed .article-reader {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.clc-embed .article-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 4px;
}

.clc-embed .article-scroll::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.clc-embed .article-scroll:focus {
    outline: none;
}

.clc-embed .article-scroll:focus-visible {
    outline: 2px solid var(--labour);
    outline-offset: -2px;
}

.clc-embed .article-fade {
    display: none;
    position: absolute;
    inset: auto 0 0;
    height: 72px;
    background: linear-gradient(to bottom, transparent, var(--content-bg));
    pointer-events: none;
}

.clc-embed .article-reader.has-overflow:not(.at-bottom) .article-fade {
    display: block;
}

.clc-embed .article-scroll-help {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.clc-embed .article-toolbar {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
}

.clc-embed .article-back {
    display: inline-block;
    padding: 5px 10px;
    border: 2px outset var(--border-color);
    background: var(--footer-col);
    color: var(--text-color-main);
    font: 700 10px/1.4 Arial, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
}

.clc-embed .article-back:active {
    border-style: inset;
}

.clc-embed .article-permalink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 4px;
    background: transparent;
    color: var(--text-color-main);
    line-height: 1;
    cursor: pointer;
}

.clc-embed .article-permalink .svg-icon {
    display: block;
}

.clc-embed .article-permalink[hidden] {
    display: none;
}

.clc-embed .article-share {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.clc-embed .permalink-status {
    color: var(--text-color);
    font: 11px/1.4 Arial, sans-serif;
}

.clc-embed .article-permalink.copied {
    outline: 1px solid var(--labour);
}

.clc-embed .permalink-fallback {
    box-sizing: border-box;
    width: 220px;
    max-width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 6px 10px;
    background: var(--page-bg);
    color: var(--text-color-main);
    font: 12px/1.5 Arial, sans-serif;
}

.clc-embed .article-content .article-category {
    margin: 0 0 6px;
    color: var(--labour-head);
    font: 700 11px/1.5 'Poppins', Arial, sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.clc-embed .article-content .article-title {
    margin: 0 0 10px;
    color: var(--text-color-main);
    font: 700 clamp(28px, 4.5vw, 42px)/1.15 'Poppins', Arial, sans-serif;
    letter-spacing: -1px;
    overflow-wrap: anywhere;
    text-transform: none !important;
}

.clc-embed .article-content .article-standfirst {
    margin: 0 0 18px;
    color: var(--text-color);
    font: 21px/1.45 Georgia, 'Times New Roman', serif;
}

.clc-embed .article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    border-top: 1px solid var(--border-color);
    margin: 0 0 22px;
    padding-top: 10px;
    color: var(--text-color);
    font: 12px/1.5 Arial, sans-serif;
}

.clc-embed .article-published {
    color: var(--text-color-main);
    font-size: 11px;
    text-transform: uppercase;
}

.clc-embed .article-published::before {
    content: '\25B8 ';
}

.clc-embed .article-figure {
    margin: 0 0 24px;
}

.clc-embed .article-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.clc-embed .article-figure figcaption {
    margin-top: 8px;
    color: var(--text-color);
    font: italic 13px/1.5 Arial, sans-serif;
}

.clc-embed .article-body {
    color: var(--text-color-main);
    font: 20px/1.6 Georgia, 'Times New Roman', serif;
    overflow-wrap: anywhere;
}

.clc-embed .article-body p {
    margin: 0 0 20px;
}

.clc-embed .article-content .article-body p {
    color: inherit;
    font: inherit;
}

@media (max-width: 640px) {

    .clc-embed .article-content .article-standfirst,
.clc-embed .article-body {
        font-size: 18px;
    }

    .clc-embed .content-container .news-entry-heading {
        font-size: 20px;
    }
}

@container clc-site (max-width: 640px) {

    .clc-embed .article-content .article-standfirst,
.clc-embed .article-body {
        font-size: 18px;
    }

    .clc-embed .content-container .news-entry-heading {
        font-size: 20px;
    }
}
