/* ------------------------------------------------------------
resources
------------------------------------------------------------ */


.resources_grid {padding-bottom:70px;}




/* Filter tabs */
.resource-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.resource-filter-btn {
    padding: 0.4rem 1rem;
    border: 2px solid #111;
    color: #111;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background 0.2s, color 0.2s;
}
.resource-filter-btn:hover,
.resource-filter-btn.active {
    background: #111;
    color: #fff;
}

/* Cards */
.resource-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.75rem;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
	border-radius:20px;
}
.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    color: var(--lightgrey);
}

/* Block colours per link type */
.resource-type-pdf     { background: #1a1a2e; color: #fff; }
.resource-type-webpage { background: #f0f0f0; color: #111; }
.resource-type-video   { background: #111;    color: #fff; }

.resource-card__tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
}
.resource-card__type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
}
.resource-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0.25rem 0;
}
.resource-card__desc {
    font-size: 0.875rem;
    opacity: 0.75;
    flex-grow: 1;
    margin: 0;
}
.resource-card__cta {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: auto;
    padding-top: 0.75rem;
}





/* ------------------------------------------------------------
events grid
------------------------------------------------------------ */
.events_grid   {padding-top:50px; padding-bottom:50px;}


.gridevent_card {
	background: #fff;
	height: 100%;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.gridevent_card_image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.gridevent_card_content {
	padding: 20px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.gridevent_card_meta {
	margin-bottom: 10px;
	opacity: 0.7;
}

.gridevent_card_title {
	font-size: 20px;
	margin-bottom: 10px;
}

.gridevent_card_excerpt {
	margin-bottom: 20px;
}

.gridevent_card_footer {
	text-align: center;
}




/* ------------------------------------------------------------
More
------------------------------------------------------------ */

.text-rotator {
  background: #eee; /* your grey box */
  padding: 40px;
  position: relative;
}

.text-stage {
  position: relative;
  min-height: 80px; /* 👈 KEY: locks height */
}

/* stack all text in same spot */
.text-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* active one fades in */
.text-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
Image header
------------------------------------------------------------ */

.small_header{
    background-repeat: no-repeat;
    background-size: cover;
	min-height:150px;
	padding-top:40px;
}

.small_header .abovetext{font-size:20px; color: var(--blue); text-transform:uppercase; font-family: "new-rubrik-edge", sans-serif; font-weight:600;}
.small_header h1{font-family: "new-rubrik-edge", sans-serif; font-weight:600;}




/* ------------------------------------------------------------
news
------------------------------------------------------------ */

.news-item {  margin-bottom: 30px;}

.news-header {
    padding: 80px 0 40px;
}

.news-list {
    padding: 40px 0 80px;
}

.news-card {
  
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden; /* keeps image corners clean */
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.news-card img {
    width: 100%;

    display: block;
}

.news-content {
    padding: 20px; /* 👈 this is the key bit */
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-content h3 a {
    text-decoration: none;
    color: var(--black);
}

.news-date {
    font-size: 0.8rem;
    margin-bottom: 8px;
    opacity: 0.7;
}

.news-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


.news_card_image {
    height: 240px;        /* 👈 fixed height */
    overflow: hidden;
}

.news_card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* 👈 crops nicely */
    display: block;
}



/* ------------------------------------------------------------
partners
------------------------------------------------------------ */

.partner-card .blackbutton {
    align-self: center;
    display: inline-block;
	margin-top:10px; margin-bottom:10px;
}

.partner-card {
    padding: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.partner-logo {
    padding: 20px 0; /* adjust to taste */
}

.partner-logo img {
    max-height: 80px;
    object-fit: contain;
}

.blackbutton {
    display: inline-block;
    width: auto;
}


/* ------------------------------------------------------------
plaintext
------------------------------------------------------------ */

.plaintext  {padding-top:50px; padding-bottom:50px;}


/* ------------------------------------------------------------
team
------------------------------------------------------------ */
.team-section {padding-bottom:50px;}

.team-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.team-card img {
    object-fit: cover;
   
}
.modal-body img {
    border-radius: 8px;
    object-fit: cover;
}

.modal-body h3 {
    margin-bottom: 5px;
}

.modal-body .text-muted {
    margin-bottom: 15px;
}

.linkedin {
    display: inline-block;
    margin-top: 10px;
    font-weight: 500;
}




/* ------------------------------------------------------------
About 
------------------------------------------------------------ */
.about   {padding-top:50px; padding-bottom:50px;}
.about p {font-size:16px; font-weight:500; line-height:20px;}
.about img {max-width:210px; height:auto; margin-bottom:30px;}
.about {
    background-image: url('https://citizenkay.co.uk/orukjv/wp-content/uploads/2026/03/Rectangle-3.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
}


@media (max-width: 768px) {
    .about {
        background-image: none;
    }
}

/* ------------------------------------------------------------
Logos teaser
------------------------------------------------------------ */
.partners_teaser  {padding-top:50px; padding-bottom:50px;}
.partners_teaser h4 {margin-bottom:20px;}
.partners_teaser hr {margin-bottom:40px;}

.partners img {
 max-height: 60px;
    width: auto;
    object-fit: contain
}


/* ------------------------------------------------------------
Animated header
------------------------------------------------------------ */

.animobile  {padding-top:50px; padding-bottom:50px;}


:root {
    --hero-scale: 0.85; /* 👈 adjust this only */
}
.text_stage {
    will-change: transform;
}

.lockup {
    position: relative; /* 👈 required for absolute children */
}

.innovators {
    position: absolute;

    left: calc(250px * var(--hero-scale));
    top:0;

    transform: translateY(0); /* keep stable */

    font-family: "new-rubrik-edge", sans-serif;
    font-weight: 600;
font-size: calc(140px * var(--hero-scale));    line-height: 90%;
    color: #fff;

    opacity: 0;
    white-space: nowrap;
}

.text_animation {
    padding-top: 170px;

}

.text_stage {
    position: sticky;
    top: 0;
    height: 50vh;
    overflow: hidden;
    background: #000;
}

/* Words */
.joint span,
.venture span, .innovators span {
    font-family: "new-rubrik-edge", sans-serif;
    font-weight: 600;
    color: #fff;
font-size: calc(140px * var(--hero-scale));    line-height: 90%;
}

/* Row layout */
.row2 {
    display: flex;
    align-items: center; /* 👈 KEY CHANGE */
    gap: 8px;

    margin-top: 0.2em;
margin-left: calc(170px * var(--hero-scale));}

/* Subhead image */
.subhead img {
    display: block;
    width: calc(140px * var(--hero-scale));
    height: auto;
	margin-top:19px;
}

/* Venture alignment */
.venture{
    white-space: nowrap;
    margin-left: -0.9ch;
}

/* Letter spacing */
.joint span,
.venture span  {
    display: inline-block;
    margin-right: -0.02em;
}

.innovators span {
    display: inline-block;
    margin-right: -0.015em; /* 👈 slightly different */
}


.the_word {
    position: absolute;

    left: 250px;   /* 👈 SAME as .innovators */
    top: 0;

    font-family: "new-rubrik-edge", sans-serif;
    font-weight: 600;
    font-size: calc(140px * var(--hero-scale, 1));
    line-height: 90%;
    color: #fff;

    opacity: 0;
    white-space: nowrap;
}

.the_word span {
    display: inline-block;
    margin-right: -0.02em;
}

.conv {
    position: absolute;
  left: calc(70px * var(--hero-scale));
top: calc(130px * var(--hero-scale));
    opacity: 0;
	    font-family: "new-rubrik-edge", sans-serif;
    font-weight: 600;
font-size: calc(140px * var(--hero-scale));    line-height: 90%;
}

.rsation {
    position: absolute;
  left: calc(130px * var(--hero-scale));
  top: calc(130px * var(--hero-scale));
    transform: translateX(4ch); /* 👈 push right of the "e" */
    opacity: 0;
	    font-family: "new-rubrik-edge", sans-serif;
    font-weight: 600;
font-size: calc(140px * var(--hero-scale));    line-height: 90%;
}





.entrepreneurs {
    position: absolute;

  left: calc(620px * var(--hero-scale));
    top: calc(130px * var(--hero-scale));

    font-family: "new-rubrik-edge", sans-serif;
    font-weight: 600;
font-size: calc(140px * var(--hero-scale));    line-height: 90%;
    color: #fff;

    opacity: 0;
    white-space: nowrap;
}

.entrepreneurs span {
    display: inline-block;
    margin-right: -0.015em;
}




/* ------------------------------------------------------------
news teaser
------------------------------------------------------------ */


/* Cards wrapper */
.news_cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Individual card */
.news_card {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(33.333% - 16px);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover polish */
.news_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* Image */
.news_card_image {
    overflow: hidden;
    border-bottom-left-radius: 40% 18px;
    border-bottom-right-radius: 40% 18px;
}

.news_card_image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Subtle image zoom */
.news_card:hover .news_card_image img {
    transform: scale(1.04);
}

/* Card body */
.news_card_body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 24px 24px;
}

/* Content */
.news_card_content {
    margin-bottom: 20px;
}

/* Typography */
.news_card_content h4 {
    margin-bottom: 8px;
}

.news_card_content p {
    margin: 0;
    margin-bottom: 24px;
    line-height: 1.5;
    color: rgba(0,0,0,0.75);
}

/* Button */
.news_card_body .whitebutton {
    margin-top: auto;
    align-self: flex-start;
    transition: all 0.2s ease;
}

/* Button hover */
.news_card_body .whitebutton:hover {
    transform: translateY(-1px);
}

/* Section styling (unchanged) */
.news_cardscontainer {
    padding: 60px 0 160px;
    background-image: url('https://citizenkay.co.uk/orukjv/wp-content/uploads/2026/03/Group.png');
    background-size: cover;
    background-position: bottom center;
}

.news_cardscontainer h4 {
    margin-bottom: 50px;
}

/* Responsive */
@media (max-width: 992px) {
    .news_card {
        flex: 1 1 calc(50% - 12px);
    }
}


@media (max-width: 768px) {
    .news_card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .news_card_image img {
        height: 200px;
    }
}



/* ------------------------------------------------------------
Stats
------------------------------------------------------------ */

.stats {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 50px 0; /* 👈 more vertical space overall */
}

/* Full-width grey lines */
/* Full-width grey lines */
.stats::before,
.stats::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ccc;
    z-index: 1;
}

.stats::before {
    top: 0;
}

.stats::after {
    bottom: 0; /* 👈 THIS WAS MISSING */
}
/* Individual stat */
.stat {
    position: relative;
    flex: 1;
    text-align: center;
    color: #999;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 2;

    padding: 20px 10px; /* 👈 THIS creates space from lines */
}

/* Hover text */
.stat:hover {
    color: #000;
    transform: translateY(-2px);
}

/* Green glow segments */
.stat::before,
.stat::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    height: 2px;
    opacity: 0;
    pointer-events: none;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0) 0%,
        var(--green) 25%,
        var(--green) 75%,
        rgba(0,0,0,0) 100%
    );

    box-shadow:
        0 0 6px rgba(0,150,80,0.6),
        0 0 12px rgba(0,150,80,0.4),
        0 0 20px rgba(0,150,80,0.2);

    transform: scaleX(0.6);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 👇 THIS is the correct alignment */
.stat::before {
    top: -50px;   /* matches .stats padding */
}

.stat::after {
    bottom: -50px;
}

/* Hover activation */
.stat:hover::before,
.stat:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Container spacing */
.statscontainer {
    padding-top: 100px;
    padding-bottom: 100px;
}

.statscontainer h4 {
    margin-bottom: 70px;
}

/* Typography */
.statnumber {
    font-size: 40px;
    font-family: "new-rubrik-edge", sans-serif;
    font-weight: 600;
    margin-bottom: 6px;
	color: var(--blue);
}

.stattext {
    font-size: 18px;
    font-family: "new-rubrik-edge", sans-serif;
    font-weight: 400;
    padding-left: 20px;
    padding-right: 20px;
}



/* ------------------------------------------------------------
Stats – Mobile
------------------------------------------------------------ */

@media (max-width: 768px) {

    .stats {
        flex-direction: column;
        padding: 30px 0;
    }

    .stat {
        padding: 20px 0;
        border-bottom: 1px solid #ddd;
    }

    .stat:last-child {
        border-bottom: none;
    }

    /* Make text always “active” feeling */
    .stat {
        color: #000;
    }

    /* Turn glow into subtle divider accent */
    .stat::before,
    .stat::after {
        display: none; /* disable hover glow */
    }

    /* Add left accent line instead */
    .stat {
        position: relative;
        padding-left: 20px;
    }

    .stat::marker,
    .stat::before {
        content: "";
        position: absolute;
        left: 0;
        top: 20px;
        bottom: 20px;
        width: 3px;
        background: var(--green);
        opacity: 0.3;
    }

    /* Optional: stronger on tap */
    .stat:active::before {
        opacity: 1;
    }

    .statnumber {
        font-size: 32px;
    }

    .stattext {
        font-size: 16px;
        padding: 0;
    }
}
/* ------------------------------------------------------------
Testimonials 
------------------------------------------------------------ */
.testimonial_slider .slick-dots {position:relative; }

/* Slider wrapper */
.testimonial_slider {
    margin-top: 40px;
}

/* Each slide */
.testimonial_slide {
    padding: 20px;
}

/* Card */
.testimonial_card {
    background: var(--green);
    color: #000;
    padding: 40px 30px;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
	    box-shadow: 0 8px 20px rgba(0,0,0,0.08);

	
}

/* Quote */
.testimonial_card p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Author */
.testimonial_author {
    display: block;
    font-size: 0.9rem;
    opacity: 0.7;
}

.testimonial_card {
    min-height: 220px; /* adjust based on longest testimonial */
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.testimonial_slider {
    padding: 40px 0; /* adjust to taste */
}


/* ------------------------------------------------------------
CARDS
------------------------------------------------------------ */

/* Cards wrapper */
.events_cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Individual card */
.event_card {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(33.333% - 16px);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover polish */
.event_card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* Image */
.event_card_image {
    overflow: hidden;
    border-bottom-left-radius: 40% 18px;
    border-bottom-right-radius: 40% 18px;
}

.event_card_image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Subtle image zoom */
.event_card:hover .event_card_image img {
    transform: scale(1.04);
}

/* Card body */
.event_card_body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 24px 24px;
}

/* Content */
.event_card_content {
    margin-bottom: 20px;
}

/* Typography */
.event_card_content h4 {
    margin-bottom: 8px;
}

.event_card_content p {
    margin: 0;
    margin-bottom: 24px;
    line-height: 1.5;
    color: rgba(0,0,0,0.75);
}

/* Button */
.event_card_body .whitebutton {
    margin-top: auto;
    align-self: flex-start;
    transition: all 0.2s ease;
}

/* Button hover (subtle) */
.event_card_body .whitebutton:hover {
    transform: translateY(-1px);
}

/* Section styling */
.cards {
    padding: 60px 0 160px;
    background-image: url('/wp-content/uploads/2026/03/btmpatter.png');
    background-repeat: repeat-x;
    background-position: bottom center;
}

.cards h4 {
    margin-bottom: 50px;
}

/* Responsive */
@media (max-width: 992px) {
    .event_card {
        flex: 1 1 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .event_card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .event_card_image img {
        height: 200px; /* slightly tighter on mobile */
    }
}

/* ------------------------------------------------------------
events_teaser
------------------------------------------------------------ */

.viewevents {
    margin-top: 50px;
}

/* Outer section */
.events_teaser {
    position: relative;
    min-height: clamp(500px, 70vh, 800px);
    background-image: url('https://citizenkay.co.uk/orukjv/wp-content/uploads/2026/03/image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

/* Dark overlay */
.events_teaser::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

/* Keep content above overlay */
.events_teaser .container {
    position: relative;
    z-index: 2;
}

.events_teaser_subheader {
    max-width: 670px;
    margin: auto;
}

/* Inner white box */
.events_teaserinner {
    background: #fff;
    padding: 40px;
    border-radius: 6px;
    margin: 40px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .events_teaserinner {
        padding: 24px;
    }
}

/* ------------------------------------------------------------
EVENT META (UPDATED STRUCTURE)
------------------------------------------------------------ */

.events_meta {
    margin-top: 30px;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Each block (label + box) */
.event_meta_block {
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
}

/* Label ABOVE the box */
.event_meta_block .bodysmall {
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

/* The box itself */
.event_box {
    background: var(--green);
    color: #000;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    height: 100%;

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

/* Content inside box */
.event_box span {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
}
/* ------------------------------------------------------------
Image header
------------------------------------------------------------ */

.image_header{
    background-repeat: no-repeat;
    background-size: cover;
	min-height:400px;
	padding-top:240px;
}

.image_header .abovetext{font-size:20px; color: var(--blue); text-transform:uppercase; font-family: "new-rubrik-edge", sans-serif; font-weight:600;}
.image_header h1{font-family: "new-rubrik-edge", sans-serif; font-weight:600;}



/* ------------------------------------------------------------
post
------------------------------------------------------------ */


.posttext  { }
.posttextinner {margin-top:50px; margin-bottom:50px; padding-bottom:50px; padding-top:50px; border-left: var(--blue) 1px solid; padding-left:30px;}


/* ------------------------------------------------------------
 SLIDER
------------------------------------------------------------ */
.slick-listcontainer {	padding-bottom:40px !important;}
.slidertext {padding-top:40px; }
.slideinner {background-color: var(--lightgrey); margin:40px; padding:30px; padding-top:20px; padding-bottom:40px; border-radius:20px;}
	
	.my-slider {
    margin-inline: 0px;

}
.slideinner h2 {color: var(--blue);}

.my-slider .slide {
  padding: 0 0px;
	

}

.my-slider .slick-slide {
  opacity: .6;
  transition: opacity .3s ease;
}

.my-slider .slick-center {
  opacity: 1;
}
.my-slider {
  overflow: visible;
}


/* ============================================================
   MODULE: statement
============================================================ */

.statement {padding-bottom:100px; padding-top:100px;}
.statement h2 {margin-bottom:40px;}


/* ============================================================
   MODULE: Two cols
============================================================ */

.two_cols {padding-bottom:200px; padding-top:100px;}
.two_cols {
    background-image: url('https://citizenkay.co.uk/orukjv/wp-content/uploads/2026/03/btmpattern2.png');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
}








}