/*
Theme Name: the7dtchild
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable, performance and SEO optimized, responsive, retina ready multipurpose WordPress theme. It will fit every site – big or small. From huge corporate portals to studio or personal sites – The7 will become a great foundation for your next project!
Version: 1.0.8
License: This WordPress theme is comprised of two parts: (1) The PHP code and integrated HTML are licensed under the GPL license as is WordPress itself.  You will find a copy of the license text in the same directory as this text file. Or you can read it here: http://wordpress.org/about/gpl/ (2) All other parts of the theme including, but not limited to the CSS code, images, and design are licensed according to the license purchased. Read about licensing details here: http://themeforest.net/licenses/regular_extended
Template: dt-the7
*/

.entry-author {
  display: none !important;
}

.custom-red-text > a,
.custom-red-text > a .menu-item-text,
.custom-red-text > a .menu-text {
  color: #a9101a !important;
}

#hero_section .vc_single_image-wrapper img {
  max-height: 415px;
  padding-top: 35px !important;
}
/* Common Button Styling */
.counter_row .default-btn-shortcode.dt-btn.dt-btn-l,
#hero_section .default-btn-shortcode.dt-btn.dt-btn-s {
  background: #fff !important;
  color: #141617 !important;
  transition: all 0.3s ease !important;
}

/* Button Text & Icon */
.counter_row .default-btn-shortcode.dt-btn.dt-btn-l span,
.counter_row .default-btn-shortcode.dt-btn.dt-btn-l i,
#hero_section .default-btn-shortcode.dt-btn.dt-btn-s span,
#hero_section .default-btn-shortcode.dt-btn.dt-btn-s i {
  color: #141617 !important;
}

/* Hover */
.counter_row .default-btn-shortcode.dt-btn.dt-btn-l:hover,
#hero_section .default-btn-shortcode.dt-btn.dt-btn-s:hover {
  background: #a9101a !important;
  color: #fff !important;
}

/* Hover Text & Icon */
.counter_row .default-btn-shortcode.dt-btn.dt-btn-l:hover span,
.counter_row .default-btn-shortcode.dt-btn.dt-btn-l:hover i,
#hero_section .default-btn-shortcode.dt-btn.dt-btn-s:hover span,
#hero_section .default-btn-shortcode.dt-btn.dt-btn-s:hover i {
  color: #fff !important;
}

/* Replace The7 arrow glyph with Font Awesome arrow (matches footer) */
a.post-details i.dt-icon-the7-arrow-03:before,
a.post-details i.icomoon-the7-font-the7-arrow-03:before,
.details-type-link i.dt-icon-the7-arrow-03:before,
.details-type-btn i.dt-icon-the7-arrow-03:before,
.custom-blog-mini-btn i.dt-icon-the7-arrow-03:before,
.featured-split-btn i.dt-icon-the7-arrow-03:before {
content: "\f061" !important; /* fa-arrow-right */
font-family: FontAwesome !important;
speak: none;
}

.vc_separator h4 {
  font-size: 22px !important;
  line-height: 30px !important;
  font-weight: 500 !important;
  color: #a9101a !important;
  margin: 20px !important;
}

/* Tilted / diagonal arrow on Read more links & buttons site-wide */
.dt-btn.ico-right-side > i,
.dt-btn-link.ico-right-side > i,
.btn-link.ico-right-side > i,
.btn-arrow i,
a.post-details > i,
a.post-details i.fa,
a.post-details i.fa-arrow-right,
a.post-details i[class*="dt-icon-the7-arrow"],
a.post-details i[class*="icomoon-the7"],
.details-type-link > i,
.details-type-btn > i,
.custom-blog-mini-btn > i,
.featured-split-btn > i,
.more-link > i,
.entry-excerpt + a > i,
#page .post-entry-content a.post-details i,
#page .items-grid a.post-details i,
#page .blog-carousel-shortcode a.post-details i,
#page .blog-shortcode a.post-details i {
display: inline-block !important;
transform: rotate(40deg) !important;
transform-origin: center center;
transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
will-change: transform;
}

/* Hover: straighten arrow, grow it, nudge right with a springy feel */
.dt-btn.ico-right-side:hover > i,
.dt-btn-link.ico-right-side:hover > i,
.btn-link.ico-right-side:hover > i,
.btn-arrow:hover i,
a.post-details:hover > i,
a.post-details:hover i.fa,
a.post-details:hover i.fa-arrow-right,
a.post-details:hover i[class*="dt-icon-the7-arrow"],
a.post-details:hover i[class*="icomoon-the7"],
.details-type-link:hover > i,
.details-type-btn:hover > i,
.custom-blog-mini-btn:hover > i,
.featured-split-btn:hover > i,
.more-link:hover > i,
.entry-excerpt + a:hover > i,
#page .post-entry-content a.post-details:hover i,
#page .items-grid a.post-details:hover i,
#page .blog-carousel-shortcode a.post-details:hover i,
#page .blog-shortcode a.post-details:hover i {
transform: rotate(0deg) scale(1.35) translateX(4px) !important;
}

.fanehaq .aio-icon-img {
  border-radius: 20px !important;
  overflow: hidden;
  transition: transform 1.2s ease-in-out;
}

.image-scale {
  border-radius: 20px !important;
  overflow: hidden;
  transition: transform 1.2s ease-in-out;
}

.image-scale:hover {
  transform: scale(1.08);
}

/* Custom Style */
/* Custom Service Box Styles */

/* Base Card Container */
.aio-icon-component.custom_service_box.style_3 {
background: #ffffff;
border: 1.5px solid #e2e5e8;
border-radius: 20px;
padding: 35px 35px;
height: 300px; /* Reduced height to remove empty dead space */
display: flex;
align-items: flex-start;
box-sizing: border-box;
margin-bottom: 25px;
transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Hover Effect (Popup / Lifted Shadow) */
.aio-icon-component.custom_service_box.style_3:hover {
transform: translateY(-6px);
box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
border-color: #d0d4d9;
}

/* Inner Link & Flex Layout */
.aio-icon-component.custom_service_box.style_3 .aio-icon-box-link {
text-decoration: none;
width: 100%;
height: 100%;
display: block;
}

.aio-icon-component.custom_service_box.style_3 .aio-icon-box {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
height: 100%;
width: 100%;
gap: 24px;
}

/* Icon Alignment */
.aio-icon-component.custom_service_box.style_3 .aio-icon-top,
.aio-icon-component.custom_service_box.style_3 .ult-just-icon-wrapper,
.aio-icon-component.custom_service_box.style_3 .align-icon {
text-align: left !important;
width: 100%;
margin: 0;
padding: 0;
}

.aio-icon-component.custom_service_box.style_3 .aio-icon {
color: #D94B4A !important;
font-size: 80px !important;
display: inline-block;
line-height: 1;
}

/* Small Triangle Divider */
.aio-icon-component.custom_service_box.style_3 .aio-icon-top::after {
content: "";
display: block;
width: 0;
height: 0;
margin: 12px 0 14px 6px; /* Tight, compact spacing */
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-bottom: 10px solid #f0f1f3;
}

/* Header & Text Alignment */
.aio-icon-component.custom_service_box.style_3 .aio-icon-header {
width: 100%;
margin: 0;
padding: 0;
}

.aio-icon-component.custom_service_box.style_3 .aio-icon-title {
text-align: left !important;
margin: 0 !important;
padding: 0 !important;
  font-weight: 400 !important;
}

.btn-arrow i {
transform: rotate(40deg);
margin-left: 10px;
transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-arrow:hover i {
transform: rotate(0deg) scale(1.35) translateX(4px);
}

.page-title.solid-bg.bg-img-enabled {
  background-size: cover !important;
  height: 300px; 
}


.ground_voices h3.entry-title {
  font-weight: 600 !important;
  font-size: 24px !important;
}

/* Tab Content — match DEF Newsletter tab look (active + hover only) */
.custom_tab ul {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: stretch;
  gap: 8px;
}

.custom_tab li {
  position: relative;
  margin: 0 !important;
  padding: 10px 0 0 !important;
  border: none !important;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex: 0 1 auto;
}

.custom_tab li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  max-width: 180px;
  width: 100%;
  height: auto;
  min-height: 48px;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  color: #6b7280 !important;
  background: #f9f9fb !important;
  border: none !important;
  padding: 12px 20px !important;
  margin: 0 !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease;
}

.custom_tab li.vc_active {
  border: none !important;
  padding: 10px 0 0 !important;
  margin: 0 !important;
}

.custom_tab li.vc_active::before,
.custom_tab li:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 3px;
  background: #a9101a;
  border-radius: 1px;
  pointer-events: none;
}

.custom_tab li.vc_active a,
.custom_tab li:not(.vc_active) a:hover {
  background: #a9101a !important;
  color: #fff !important;
  height: auto;
  min-height: 48px;
  padding: 12px 22px !important;
  border-radius: 50px !important;
}

.custom_tab li.vc_active a:hover {
  background: #a9101a !important;
  color: #fff !important;
}

.custom_tab li a span {
  white-space: normal !important;
  text-align: center;
  line-height: 1.25;
}


.custom-def-tab li a {
  padding: 10px 35px !important;
  font-size: 16px;
  line-height: 1.3;
  border: none !important;
  border-radius: 0px !important;
  background: #f9f9fb !important;
  border-left: 3px solid #f9f9fb !important;
}

.custom-def-tab li.vc_active a {
  background: #fff !important;
  border-color: #D94B4A !important;
}

.custom-def-tab li a .fa {
  color: #D94B4A !important;
  font-size: 22px !important;
  transform: rotate(28deg) !important;
  margin-left: 12px !important;
  font-weight: 900 !IMPORTANT;
  display: inline-block !important;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.custom-def-tab li a:hover .fa {
  transform: rotate(0deg) scale(1.35) translateX(4px) !important;
}

.flagship_programme article.post,
 .community_updates article.post{
  border: 1px solid #e1e4e8 !important;
  border-radius: 36px !important;
  padding: 15px !important;
	 height: auto !important;
}

/* Blog Mini / Blog List event dates */
.items-grid .post-content > a.entry-title,
.items-grid .post-content > a:first-child {
display: block;
font-weight: 700;
margin-bottom: 6px;
}

.items-grid .custom-blog-dates,
.post-entry-content .custom-blog-dates {
color: #c41230;
font-weight: 700;
font-size: 16px;
line-height: 1.3;
margin: 0 0 10px;
}

.items-grid .post-content .text-small {
margin: 0 0 14px;
}

.items-grid .custom-blog-mini-btn {
display: inline-flex;
align-items: center;
gap: 8px;
margin-top: 4px;
}

.items-grid .custom-blog-mini-btn i {
margin-left: 4px;
}

/* =========================================================
 Blog Carousel — Featured Split layout (image left)
 ========================================================= */
.blog-carousel-shortcode .featured-split-post {
background: transparent !important;
box-shadow: none !important;
border: none !important;
height: auto !important;
}

.blog-carousel-shortcode .featured-split-layout {
display: flex;
align-items: center;
gap: 48px;
width: 100%;
padding: 20px 40px;
box-sizing: border-box;
}

.blog-carousel-shortcode .featured-split-media {
flex: 0 0 46%;
max-width: 46%;
margin: 0;
}

.blog-carousel-shortcode .featured-split-media .post-thumbnail,
.blog-carousel-shortcode .featured-split-media .post-thumbnail-rollover,
.blog-carousel-shortcode .featured-split-media img {
border-radius: 28px;
overflow: hidden;
display: block;
width: 100%;
}

.blog-carousel-shortcode .featured-split-content {
flex: 1 1 auto;
padding: 0 !important;
background: transparent !important;
text-align: left;
}

.blog-carousel-shortcode .featured-split-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 0 0 16px;
}

.blog-carousel-shortcode .featured-split-tag {
display: inline-block;
background: #d94b4a;
color: #fff !important;
font-size: 14px;
font-weight: 600;
line-height: 1.2;
padding: 8px 16px;
border-radius: 999px;
text-decoration: none !important;
}

.blog-carousel-shortcode .featured-split-tag:hover {
background: #c41230;
color: #fff !important;
}

.blog-carousel-shortcode .featured-split-content .entry-title {
margin: 0 0 12px !important;
font-size: 36px;
line-height: 1.2;
font-weight: 700;
}

.blog-carousel-shortcode .featured-split-content .entry-title a {
color: #141617;
text-decoration: none;
}

.blog-carousel-shortcode .featured-split-categories {
margin: 0 0 16px;
font-size: 16px;
font-weight: 600;
line-height: 1.3;
}

.blog-carousel-shortcode .featured-split-categories a {
color: #d94b4a !important;
text-decoration: none !important;
}

.blog-carousel-shortcode .featured-split-categories a:hover {
color: #c41230 !important;
}

.blog-carousel-shortcode .featured-split-content .entry-excerpt {
margin: 0 0 24px;
font-size: 16px;
line-height: 1.6;
color: #333;
max-width: 560px;
}

.blog-carousel-shortcode .featured-split-btn {
display: inline-flex !important;
align-items: center;
gap: 10px;
background: #a9101a !important;
color: #fff !important;
border: none !important;
border-radius: 999px !important;
padding: 12px 28px !important;
font-size: 16px !important;
font-weight: 600 !important;
text-decoration: none !important;
line-height: 1.2 !important;
}

.blog-carousel-shortcode .featured-split-btn:hover {
background: #8f0d16 !important;
color: #fff !important;
}

.blog-carousel-shortcode .featured-split-btn i {
font-size: 14px;
margin-left: 2px;
transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-carousel-shortcode .featured-split-btn:hover i {
transform: rotate(0deg) scale(1.35) translateX(4px);
}
.millions_view .align-icon {
transform: rotate(28deg) !important;
}

/* Impact counters — row extra class: coter-values
   Number centered in the column. Plus is a superscript on the top-right. */
.coter-values,
.coter-values .vc_column_container,
.coter-values .vc_column-inner,
.coter-values .wpb_wrapper {
  text-align: center !important;
}

.coter-values .wpb_wrapper {
  display: block !important;
  width: 100% !important;
}

.coter-values .stats-block,
.coter-values .stats-block.stats-left,
.coter-values .stats-block.stats-right,
.coter-values .stats-block.stats-top {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: center !important;
  margin: 0 auto !important;
  float: none !important;
  width: 100% !important;
  box-sizing: border-box;
}

.coter-values .stats-id {
  display: none !important;
}

.coter-values .stats-desc {
  display: contents !important;
}

.coter-values .counter_prefix,
.coter-values .stats-number,
.coter-values .counter_suffix {
  order: 1;
  display: inline-block !important;
  float: none !important;
}

.coter-values .counter_prefix:empty,
.coter-values .counter_suffix:empty {
  display: none !important;
}

/* Direct child only — nested order does not move the plus */
.coter-values .stats-block > *:not(.stats-desc):not(.stats-id) {
  order: 2 !important;
  float: none !important;
  position: relative !important;
  top: -0.45em;
  left: auto !important;
  right: auto !important;
  align-self: flex-start;
  margin: 0 0 0 2px !important;
  transform: none !important;
}

.coter-values .stats-block .aio-icon-component,
.coter-values .stats-block .ult-just-icon-wrapper,
.coter-values .stats-block .align-icon,
.coter-values .stats-block .aio-icon {
  float: none !important;
  display: inline-flex !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
}

.coter-values .stats-text {
  order: 3 !important;
  flex: 0 0 100%;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  float: none !important;
}

.post-thumbnail-rollover {
border-radius: 18px;
}

.def-programme-tab article,
.def-programme-tab .flagship_programme article.post{
border: 1px solid #e1e4e8 !important;
border-radius: 36px !important;
padding: 15px !important;
height: auto !important;
}

.def-programme-tab article .post-thumbnail,
.post-format-standard .post-rollover{
border-radius: 18px;
overflow: hidden;
}

.def-programme-tab .dt-css-grid {
grid-row-gap: 24px !important;
grid-column-gap: 24px !important;
}

.post-format-standard {
border: 1px solid #e1e4e8 !important;
border-radius: 36px !important;
padding: 15px !important;
height: auto !important;
}

.post-details:hover {
color: #fff !important;
background: var(--the7-btn-hover-bg,#a9101a);
border-color: var(--the7-btn-border-hover-color);
}
#footer .custom-menu {
display: flex;
flex-wrap: wrap;
}
#footer .custom-menu li {
width: 50%;
margin: 0px !important;
padding: 10px 0px !important;
}

.custim-btn-link a {
position: relative !important;
display: flex !important;
align-items: center !important;
gap: 4px !important;
}
.custim-btn-link a::before{display:none !important;}
.custim-btn-link a::after {
font-family: icomoon-the7-font !important;
font-weight: 800 !important;
content: "\f029" !important;
color: #D94B4A !important;
display: inline-block;
height: 2em;
width: 2em;
text-align: center;
line-height: 2em !important;
opacity: 1 !important;
padding: 0px !important;
transform: rotate(28deg) !important;
}

.custim-btn-link a:hover{
font-weight: 600 !important;	
}

.custim-btn-link a:hover::after {
transform: rotate(0deg) !important;
}


#page .post-details i {
font-size: 14px !important;
}

.image-slider-wrap .rs-ov-hidden {
border-radius: 24px;
overflow: hidden;
}

/* Dynamic Brochure / Report / Impact Story / Case Study buttons */
.def-resource-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 8px 0 24px;
}

.def-resource-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #a9101a;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none !important;
  white-space: nowrap;
}

.def-resource-btn:hover {
  background: #8f0d16;
  color: #fff !important;
}

.def-resource-btn i {
  font-size: 12px;
  display: inline-block;
  transform: rotate(40deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.def-resource-btn:hover i {
  transform: rotate(0deg) scale(1.35) translateX(4px);
}

/* Blog Masonry — Classic + solid color (alternating)
   Solids stay shorter; masonry stagger fills the gap under them. */
.def-color-alt-grid .iso-container > .wf-cell,
.def-color-alt-grid .dt-css-grid > .wf-cell {
  box-sizing: border-box !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.def-color-alt-grid .iso-container > .wf-cell > article,
.def-color-alt-grid .dt-css-grid > .wf-cell > article {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.def-color-alt-grid article.def-color-alt-layout {
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.def-color-alt-grid article.def-color-alt-solid {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border: none !important;
  height: auto !important;
}

.def-color-alt-grid article.def-color-alt-solid .post-thumbnail-wrap,
.def-color-alt-grid article.def-color-alt-solid .post-entry-content {
  display: none !important;
}

.def-color-alt-solid-link {
  display: block;
  height: auto;
  color: #fff !important;
  text-decoration: none !important;
}

.def-color-alt-solid {
  min-height: 230px;
  height: auto;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  border-radius: 20px;
  box-sizing: border-box;
}

.def-color-alt-cat {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  opacity: 0.9;
}

.def-color-alt-solid .entry-title {
  margin: 0 !important;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.def-color-alt-solid .entry-title span {
  color: #fff !important;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

.def-color-alt-meta {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.92;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.def-post-hashtags {
  margin: 8px 0 0 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 500;
  color: #a9101a !important;
  white-space: normal;
}

.def-color-alt-grid article.def-color-alt-image .def-post-hashtags {
  margin: 8px 0 20px !important;
}

.def-color-alt-grid article.def-color-alt-image .def-post-hashtags + a.post-details,
.def-color-alt-grid article.def-color-alt-image .def-post-hashtags + .post-details {
  margin-top: 0 !important;
}

.def-color-alt-solid .def-post-hashtags {
  color: #fff !important;
  margin-top: auto !important;
  opacity: 0.95;
}

@media (max-width: 991px) and (min-width: 768px){
	  .vc_col-md-5 {
    width: 41.66666667%;
  }
	  .vc_col-md-7 {
    width: 58.33333333%;
  }
	
#hero_section .uvc-heading h1 {
  font-size: 26px;
  line-height: 28px;
  margin-top: 0px !important;
  margin-bottom: 20px !important;
}
	
	#hero_section .uvc-heading .uvc-sub-heading {
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 20px !important;
}
	
	.image-slider-wrap .vc_column-inner {
  padding-right: 10px;
}
	
	 .vc_col-md-3 {
    width: 25%;
  }
	
	.vc_col-md-9 {
    width: 75%;
  }
	
	.newsletter_section .vc_custom_1788867521899 {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
	}
	
	.millions_view h3 {
  margin-top: 25px !important;
}
	
	.visual-stories-row,
	.dt-css-grid,
	.mpub-grid.mpub-grid--two{
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
	
	.custom-def-tab li a {
  padding: 10px 10px !important;
  font-size: 14px;
	}
	
	.custom-def-tab li a .fa {
  font-size: 16px !important;
	}
}

@media (max-width: 991px) {
.blog-carousel-shortcode .featured-split-layout {
  flex-direction: column;
  gap: 28px;
  padding: 16px 20px;
}

.blog-carousel-shortcode .featured-split-media {
  flex: 0 0 auto;
  max-width: 100%;
  width: 100%;
}

.blog-carousel-shortcode .featured-split-content .entry-title {
  font-size: 28px;
}
}

@media (max-width: 767px) {

#hero_section .vc_col-has-fill > .vc_column-inner {
  margin: 0px 25px !important;
  padding: 16px 16px !important;
  background-size: cover !important;
  background-position: -65px 0px !important;
  margin-top: 25px !important;
  border-radius: 20px !important;
  position: relative;
}

#hero_section .vc_col-has-fill > .vc_column-inner .uvc-sub-heading {
  margin-bottom: 15px !important;
}

#hero_section .vc_col-has-fill > .vc_column-inner .wpb_wrapper .open-new-tab {
  margin-top: 6px !important;
  margin-right: 6px !important;
}

.vc_column-inner.vc_custom_1787566691784 {
  padding: 24px;
  margin: 0px 25px;
}

.vc_column-inner.vc_custom_1787566691784 .btn-align-center {
  padding-top: 20px;
}

.vc_row.wpb_row.vc_row-fluid.vc_custom_1787664407910.vc_row-has-fill.vc_row-o-full-height.vc_row-o-columns-middle.vc_row-o-equal-height.vc_row-o-content-middle.vc_row-flex {
  min-height: auto !important;
}

.vc_column-inner.vc_custom_1787664629102 {
  background-size: cover !important;
  border-radius: 26px;
  margin: 0px 25px;
}

.vc_custom_1787576409123 {
  margin: 0px 0px !important;
  padding: 16px !important;
}

.vc_custom_1787576409123 .vc_column-inner {
  padding: 0px 12px !important;
}

.vc_custom_1787576409123 .vc_column-inner h3 {
  margin-top: 16px;
}

.dt-css-grid {
  padding-top: 25px;
}

/* Newsletter signup box — stretch grey frame around heading + button */
.newsletter_section > .vc_col-sm-2 {
  display: none !important;
}

.newsletter_section > .vc_col-has-fill {
  width: 100% !important;
  max-width: 100% !important;
}

.newsletter_section .vc_col-has-fill > .vc_column-inner,
.newsletter_section .vc_custom_1788867521899 {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  margin: 0 16px !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 100% 100% !important;
}

.newsletter_section .dt-btn {
  max-width: 100%;
  white-space: normal;
}

.blog-carousel-shortcode .featured-split-content .entry-title {
  font-size: 24px;
}

/* Donate — mobile header */
.masthead .header-elements-button-1,
.dt-mobile-header .header-elements-button-1,
.mini-widgets .header-elements-button-1,
a.header-elements-button-1 {
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 600 !important;
  padding: 8px 14px !important;
  border-radius: 4px !important;
}

.masthead .header-elements-button-1 span,
.dt-mobile-header .header-elements-button-1 span,
a.header-elements-button-1 span {
  font-size: 12px !important;
  line-height: 16px !important;
}

.masthead .header-elements-button-1 i,
.dt-mobile-header .header-elements-button-1 i,
a.header-elements-button-1 i {
  font-size: 11px !important;
  margin-left: 6px !important;
}

/* Explore + View All — large The7 buttons */
.counter_row .default-btn-shortcode.dt-btn.dt-btn-l,
#default-btn-d52891555c73f1becb98983f48d97e9c,
#default-btn-689861651e9ee25ab22e742510476bef,
a.dt-btn-l[href*="deflogs"] {
  font-size: 18px !important;
  line-height: 25px !important;
  padding: 7px 14px !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

.counter_row .default-btn-shortcode.dt-btn.dt-btn-l span,
#default-btn-d52891555c73f1becb98983f48d97e9c span,
#default-btn-689861651e9ee25ab22e742510476bef span,
a.dt-btn-l[href*="deflogs"] span {
  font-size: 18px !important;
  line-height: 25px !important;
}

.counter_row .default-btn-shortcode.dt-btn.dt-btn-l i,
#default-btn-d52891555c73f1becb98983f48d97e9c i,
#default-btn-689861651e9ee25ab22e742510476bef i,
a.dt-btn-l[href*="deflogs"] i {
  font-size: 12px !important;
}

/* Post Read more buttons */
#page a.post-details,
#page a.post-details.details-type-btn,
#page a.post-details.dt-btn,
#page .custom-blog-mini-btn {
  font-size: 12px !important;
  line-height: 16px !important;
  padding: 10px 10px 10px 14px !important;
}

#page a.post-details i,
#page .custom-blog-mini-btn i {
  font-size: 11px !important;
}

#footer .custom-menu li {
width: 100%;
margin: 0px !important;
padding: 10px 0px !important;
}

.blog-carousel-shortcode .featured-split-layout {
  padding: 10px 8px;
}

#ultimate-heading-90546a9e8f7edbc44,
.uvc-main-heading.ult-responsive {
padding-top: 25px;
}

.owl-prev {
left: -30px !important;
}

.owl-next {
right: -30px !important;
}

.stories-tabs-wrapper .vc_tta-panel {
  padding-bottom: 4px;
}

.stories-tabs-wrapper .vc_tta-panel-body {
padding-bottom: 10px !important;
}

.fanehaq .aio-icon-box {
display: flex !important;
flex-wrap: wrap;
gap: 20px;
}

.stories-tabs-wrapper  .vc_active .vc_tta-panel-title a,
.past-event-wrapper .vc_active .vc_tta-panel-title a,
.def-programme-tab .vc_active .vc_tta-panel-title a{
background: #a9101a !important;
  color:#fff !important
}

.past-event-wrapper .post-format-standard {
flex-wrap: wrap;
gap: 16px;
}

  .wpb-content-wrapper .vc_custom_1787659749631 {
  margin-top: 30px !important;
  padding-top: 0px !important;
  padding-bottom: 30px !important;
  background-position: initial !important;
  border-radius: 40px;
}

.vc_custom_1787659749631 h1 {
margin-top: 0px !important;
}

.flagship_programme article.post { 
padding: 0px !important;
}

.owl-stage-outer{
  margin-left: -2px;
}

.dt-btn i {
  font-size: 14px !important;
}

.def-resource-buttons {
  gap: 8px;
}

.def-resource-btn {
  font-size: 13px;
  padding: 8px 16px;
}

.def-color-alt-solid {
  min-height: 210px;
  padding: 22px 18px;
}

.def-color-alt-solid .entry-title span {
  font-size: 22px;
}
	
	.uvc-main-heading h1 {
	  line-height: 1.2 !important;	
	}

	.community_updates .uvc-heading.uvc-heading-default-font-sizes .uvc-main-heading h1 {
  margin: 0px 0px !important;
}
	
  .community_updates.vc_custom_1788850133186 {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
	
	 .spacer-6aa024014114d {
    height: 0px !important;
  }
	.visual-story-title {
  font-size: 18px;
	}
	
	.stats-block, 
	.wpb_row .wpb_column .wpb_wrapper .stats-block {
  display: flex !important;
		margin: 20px 0px !important;
  justify-content: center;
}
	
	.vc_column-inner.vc_custom_1787566751926 {
  padding-top: 30px !important;
  padding-right: 30px !important;
  padding-bottom: 30px !important;
  padding-left: 30px !important;
		margin-bottom: 25px;
	}
	
	 .vc_row.wpb_row {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }
	
	.vc_row.wpb_row.founder_bio {
  margin-top: 30px !important;
		padding: 10px 0px !important;
}
	
	.vc_row.wpb_row.vc_row-fluid.ult-vc-hide-row.vc_row-has-fill, 
	.vc_row.wpb_row.vc_row-fluid.vc_custom_1787655057047.vc_row-has-fill.vc_row-o-equal-height.vc_row-o-content-middle.vc_row-flex,
	.vc_row.wpb_row.events_highlights,
	.vc_row.wpb_row.events_highlights .vc_row.wpb_row{
		margin-top: 0px !important;
    margin-bottom: 0px !important;
	}
	
	.millions_view.vc_row.wpb_row {
  margin-bottom: 30px !important;
}
	
	.millions_view h2 {
  font-size: 24px;
  line-height: 1.2;
}
	
	.millions_view .open-new-tab {
  padding: 10px 16px !important;
  font-size: 14px;
}

	.events_highlights .vc_row {
  padding-top: 0px !important;
}
	
	.vc_row.wpb_row.def-programme-tab {
  margin-top: 30px !important;
}
	
	.def_blogs h1,
	.def_blogs .wpb_wrapper{
  text-align: center;
}
	
	.newsletter_section h3 {
  font-size: 26px !important;
  line-height: 1.2 !important;
 
}
	
	.newsletter_section .uvc-main-heading{
		 padding-top: 0px !important;
	}
	
	.newsletter_section .dt-btn{padding: 10px 16px 10px 16px !important;
  font-size: 16px !important;
}
	
	#top-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
	
}

/* Carried over from The7.2 parent custom CSS */
.blog .dt-format-gallery .dt-format-gallery-coll.full,
.archive .dt-format-gallery .dt-format-gallery-coll.full,
.search .dt-format-gallery .dt-format-gallery-coll.full {
	display: none;
}
.portfolio-categories a,
.portfolio-categories a *,
.portfolio-categories span {
	display: none !important;
}
#comments {
	display: none !important;
}
.comment-link,
.category-link {
	display: none !important;
}

/* The7 15: keep full-width WPBakery rows visible and images inside the content box */
.full-width-wrap {
	opacity: 1 !important;
}
.vc_single_image-img,
.wpb_single_image img {
	max-width: 100%;
	height: auto;
}

/* Publications carousel: keep book covers in a horizontal row, not stretched */
.carousel-slider-outer {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}
.carousel-slider.owl-carousel {
	width: 100%;
}
.carousel-slider .owl-stage-outer {
	overflow: hidden;
}
.carousel-slider .carousel-slider__item {
	text-align: center;
}
.carousel-slider .carousel-slider__item a {
	display: block;
}
.carousel-slider .owl-item img,
.carousel-slider .carousel-slider__item img {
	display: block !important;
	width: auto !important;
	max-width: 100% !important;
	max-height: 300px !important;
	height: auto !important;
	margin: 0 auto;
	object-fit: contain;
}
