.header-two{z-index: 99;}
.topbar__two{display: block!important;}
@media(max-width: 1024px){
  .header-two__right{flex: 1!important;}
  .topbar__two{background: #192437!important;}
  .topbar__left{display: none!important;}
  .topbar__right{flex: 0 0 100%!important;}
}
@media(max-width: 680px){
  .topbar__right-content #block-indutri-subtheme-topbarlinks{display: none!important;}
}
/* Header Two Styles */
.header-two .site-branding-logo {
    max-width: 100px;
}

.header-two .header-two__main-menu {
    justify-content: center;
}

.header-two .header-two__main-menu .gva_menu_main li a {
    font-weight: 100;
    font-size: 15px;
    font-style: var(--indutri-font-sans-serif);
    /* line-height: 64px; */
}

.header-two .header-two__main-menu .header-two__main-menu__right {
    display: none !important;
}

/* Main Slideshow Styles */
.main_slideshow .views-field-field-image-1 .item-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

/*.main_slideshow .views-field-field-highlight-image .field-content::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background: linear-gradient(to right, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0) 58%);*/
/*    z-index: 1;*/
/*}*/
.main_slideshow .views-field-field-highlight-image .field-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0) 58%);
    z-index: 1;
}
.main_slideshow .views-field-fieldset-1 {
    position: absolute;
    bottom: 20%;
    left: 10%;
    z-index: 2;
    transform: translateX(0) translateY(0);
}

.main_slideshow .views-field-fieldset-1 .field-content a {
    color: #fff;
    line-height: 3rem;
    font-size: 20px;
    font-weight: 600;
    font-style: var(--indutri-font-sans-serif);
    padding:5px;
    background: #623412;
}
/* ================================
   PPDA Appeals Tribunal
   Resources / Publications Styling
   ================================ */

:root {
  --pat-primary: #6b3f1d;   /* Dark brown */
  --pat-accent:  #c89b3c;   /* Gold */
  --pat-muted:   #6b7280;   /* Muted text */
  --pat-border:  #e5e7eb;   /* Light border */
  --pat-bg:      #ffffff;
}

/* Container */
.post-block.document-teaser,
.post-block.document-teaser-2,
.post-block.document-detail {
  background: #f7f7f9;
  /*border-bottom: 2px solid #000;*/
  padding: 5px;
  width: 100%;
  max-width: 980px;
  height: 175px;
}

/* Flex layout */
.document-container {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* Icon section */
.document-thumbnail {
  flex-shrink: 0;
}

.document-icon {
  font-size: 80px;
  color: red;
  margin-left:10px;
}

/* Content */
.document-content {
  flex: 1;
}

/* Title */
.document-title {
  margin: 0;
}

.document-title h5,
.document-title h6,
.document-title h1 {
  margin: 0;
  font-weight: 600;
  color: var(--pat-primary);
}

.document-title a {
  color: #000;
  text-decoration: none;
  /*font-family: Nunito;*/
  text-transform: capitalize;
  font-size:17px;
}

.document-title a:hover {
  text-decoration: underline;
  color:#febd11;
}

/* Meta info */
.document-meta {
  font-size: 13px;
  color: var(--pat-muted);
  margin: 1px 0 2px;
}

.document-meta span {
  margin:0;
}

/* Description */
.post-two__desc {
  font-size: 14px;
  color: #374151;
  margin-bottom: 12px;
}

/* Actions */
.document-actions {
  margin-top: 1px;
}

.document-actions a {
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.document-actions a:hover {
  text-decoration: underline;
  color:#febd11;
}

/* Download button icon */
.btn-download i {
  color: #623412;
}

/* ================================
   Responsive (Mobile)
   ================================ */
@media (max-width: 640px) {
  .document-container {
    flex-direction: column;
  }

  .document-icon {
    font-size: 28px;
  }
}
.doc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
}

.doc-icon {
  font-size: 28px;
  color: #c89b3c;
  flex-shrink: 0;
}

.doc-main {
  flex: 1;
  min-width: 0;
}

.doc-title {
  font-size: 15px;
  font-weight: 600;
  color: #6b3f1d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-title a {
  color: inherit;
  text-decoration: none;
}

.doc-meta {
  font-size: 12px;
  color: #6b7280;
}

.doc-meta span {
  margin: 0 4px;
}

.doc-actions {
  display: flex;
  gap: 12px;
  white-space: nowrap;
}

.doc-actions a {
  font-size: 13px;
  text-decoration: none;
  color: #6b3f1d;
  font-weight: 500;
}

.doc-actions a:hover {
  text-decoration: underline;
}

.doc-description {
  margin-top: 8px;
  font-size: 14px;
  color: #374151;
}

/* Mobile */
@media (max-width: 640px) {
  .doc-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .doc-actions {
    margin-top: 6px;
  }
}
.meta-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  color: #6b7280;
}

.meta-sep {
  margin: 0 2px;
}

.document-size {
  font-weight: 500;
  color: #6b3f1d;
}

.btn-preview {
  margin-left: 6px;
  font-weight: 500;
  text-decoration: none;
  color: #6b3f1d;
}

.btn-preview:hover {
  text-decoration: underline;
}
.flaglines{
    width: 100%;
    margin-bottom: 0.1px
  }
  
.flaglines .black{
    display:block;
    height: 3px;
    background: black;
  }
  
.flaglines .yellow{
    display:block;
    height: 2px;
    background: yellow;
  }
  
.flaglines .red{
    display:block;
    height: 3px;
    background: red;
  }
  
.flags{
  display:block;
  }
  .howxp .image-content-three__read-more  a {
      color:#6b3f1d !important;
      font-weight:800;
  }
  .howxp .image-content-three__title a {
  color:#623412 !important;
  font-weight:800;
  }
/* ===========================================================
   MAIN SLIDER  —  full-bleed hero  (CSS only, no HTML changes)
   Scope: .main_slider
   =========================================================== */

.main_slider{
  --hero-gold:#d4a017;
  --hero-eyebrow:#e9c463;
  --hero-navy:#0b1c2d;

  /* fluid height: grows with viewport but capped so it never gets out of hand */
  --hero-h:clamp(430px, 46vw, 650px);
}

/* let the carousel and stage follow the hero height, kill default padding */
.main_slider{ position:relative; z-index:1; }
.main_slider .remove_padding_row{ padding:0; }
.main_slider .owl-carousel,
.main_slider .owl-stage-outer,
.main_slider .owl-stage,
.main_slider .owl-item{
  height:var(--hero-h) !important;   /* beats theme/owl height rules */
  min-height:var(--hero-h);          /* never collapse shorter than this */
}

/* ---------- each slide becomes the hero canvas ---------- */
.main_slider .owl-item .item{
  position:relative;
  height:var(--hero-h);
  min-height:var(--hero-h);
  overflow:hidden;
  display:flex;
  align-items:flex-end;
}
.main_slider .owl-item .item > div{ position:static; }

/* background image fills the slide on EVERY screen size, cropping not scaling */
.main_slider .owl-item .item-image,
.main_slider .owl-item .item-image .field-content{
  height:100%;
}
.main_slider .owl-item .item-image img{
  position:absolute !important;
  inset:0;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center;
  z-index:0;
}

/* subtle scroll parallax (progressive enhancement; static cover if unsupported) */
@supports (animation-timeline: view()){
  .main_slider .owl-item .item-image img{
    height:120% !important;     /* extra room so the image stays covered while it moves */
    top:-10%;
    bottom:auto;
    animation:heroParallax linear both;
    animation-timeline:view();
    animation-range:cover 0% cover 100%;
    will-change:transform;
  }
  @keyframes heroParallax{
    from{ transform:translateY(-5%); }
    to{   transform:translateY(5%); }
  }
}
@media (prefers-reduced-motion: reduce){
  .main_slider .owl-item .item-image img{ animation:none !important; }
}

/* dark gradient overlay (left -> right) via pseudo-element */
.main_slider .owl-item .item::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,
              rgba(11,28,45,.82) 0%,
              rgba(11,28,45,.45) 55%,
              rgba(11,28,45,.2) 100%);
}

/* ---------- content block (bottom-left) ---------- */
.main_slider .views-field-fieldset{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:0;
  z-index:2;
  width:100%;
  max-width:1200px;          /* matches the rest of your centered content */
  padding:0 15px 56px;
  box-sizing:border-box;
}
.main_slider .views-field-fieldset > .field-content{ display:block; }
.main_slider .views-field-fieldset fieldset{
  border:0;
  margin:0;
  padding:0;
  min-width:0;
}

/* ---------- title (theme heading font, 42px) ---------- */
.main_slider .views-field-title{ margin:0 0 20px; max-width:780px; }
.main_slider .views-field-title a{
  font-family:var(--indutri-heading-font-family), 'Newsreader', serif;
  font-weight:500;
  font-size:42px;
  line-height:1.12;
  color:#fff;
  text-decoration:none;
  text-wrap:balance;
  display:block;
}
.main_slider .views-field-title a:hover{ color:#fff; opacity:.92; }

/* ---------- body (16px) ---------- */
.main_slider .views-field-body .field-content{
  font-size:16px;
  line-height:1.6;
  color:#dfe6ee;
  max-width:560px;
  margin:0 0 30px;
}

/* ---------- "Read more" -> gold CTA (square) ---------- */
.main_slider .views-field-view-node a{
  display:inline-block;
  background:var(--hero-gold);
  color:#1a1408;
  padding:15px 30px;
  border-radius:0;
  font:700 14px/1 sans-serif;
  text-decoration:none;
  transition:background .2s ease;
}
.main_slider .views-field-view-node a::after{ content:" \2192"; }
.main_slider .views-field-view-node a:hover{ background:#c0900f; color:#1a1408; }

/* ---------- nav arrows (square, no rounding) ---------- */
.main_slider .owl-carousel{ position:relative; }
.main_slider .owl-nav{ margin:0; }
.main_slider .owl-nav .owl-prev,
.main_slider .owl-nav .owl-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:0;
  background:rgba(255,255,255,.14);
  color:#fff;
  cursor:pointer;
  transition:background .2s ease;
}
.main_slider .owl-nav .owl-prev:hover,
.main_slider .owl-nav .owl-next:hover{ background:rgba(255,255,255,.28); }
/* sit just inside the 1200px content band; beats the theme's !important rule
   (.owl-carousel .owl-nav > div.owl-prev) via the extra .main_slider scope */
.main_slider .owl-carousel .owl-nav > div.owl-prev{
  left:max(15px, calc(50% - 600px)) !important;
  right:auto !important;
}
.main_slider .owl-carousel .owl-nav > div.owl-next{
  right:max(15px, calc(50% - 600px)) !important;
  left:auto !important;
}

/* ---------- responsive (height handled by clamp; tune type + spacing) ---------- */
@media (max-width:991px){
  .main_slider .views-field-fieldset{ padding:0 28px 40px; }
  .main_slider .views-field-title a{ font-size:32px; }
}
@media (max-width:575px){
  .main_slider .views-field-title a{ font-size:26px; }
  .main_slider .views-field-body .field-content{ font-size:15px; }
}