.leadgraphic {
    width: 100%;

}

figure {
    max-width: unset;
    float: unset;
}

.overviewboxmain{
    
    background-color    : rgb(255, 255, 255, 0.5);
    background-image:  url('/images/tokyo.jpg');  
    background-blend-mode: color;
    
    
}

.articlead {
    display: flex;
    width: 100%;
    height: 37vh;

    position: relative;

    min-height: 18rem;
}

.articlead img ,figure img{
    flex: 1;
    max-inline-size: 100%;
    object-fit: cover;
}

.articlead::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust opacity as needed */
  }
  
  .overlaytxt {
    position: absolute;
    /*inset: 0 50% 50%;*/
    inset: 0 15% 10% 15%;
    font-family:Roboto;
    color: white;
    bottom: 1rem;
    font-size: xxx-large;
    font-weight: 600;
    padding: 8px 12px;
    text-align: center;
  }



.summarybox {
    display: flex;
    flex-direction: column; 
    width: 70%;
    background-color: white;
    min-height: 15rem;
    border: 1px solid black ;
    margin-bottom: 2em;
    position: relative;
}

.summarybox2 {
    /*    display: flex;
        flex-direction: column; */
        width: 70%;
        background-color: white;
        min-height: 15rem;
        border: 1px solid black ;
        margin-bottom: 2em;
        position: relative;
    }
    

.centr {
    margin: auto;
    left: 0;
    right: 0;
    width: 90%;
    margin-top: -7em;
    margin-bottom: 3em;

}
.left {
    margin-left: 0.5em;
    /*margin-top: -7em; */
}

.right {
    margin-right: 0.5em;
    margin-left: auto;
}

.right , .left {
    max-width: 55rem;
}

.artictop {
    width: 75%;
    /*margin-left: 5%;*/
    margin: auto;
}

.artictop h1 {
    font-family: sans-serif;
    line-height: 1.25em;
    font-weight: 500;
    letter-spacing: .2px;
    font-size: 2.25em;
}

.artictop h2 {
    font-family: sans-serif;
    line-height: 1.25em;
    font-weight: 350;
    letter-spacing: .2px;
    font-size: 1.75em;
}

.artictop p {
 
    font-family: sans-serif;
    line-height: 1.15em;
    /*line-height: 2em;*/
    font-weight: 300;
    letter-spacing: .15px;
    font-size: 1.25em; 
    /*font-size: 1.5em;*/
    margin-left: 0;
    margin-right: 0;
    max-width: 50rem;
}

.artictop .artictopsmall,
.summarybox .artictopsmall  {
 
    font-family: sans-serif;
    line-height: 1.15em;
    /*line-height: 2em;*/
    font-weight: 300;
    letter-spacing: .12px;
    font-size: 1.15em;
    /*font-size: 1.5em;*/
    margin-left: 0;
    margin-right: 0;
}

.artictop ul {
    font-size: 1.15em;
}

.articinset {
    /*width: 100vw; */
    width: 100%;
    margin: 0;
    background-color: hsl(196,100%, 80%);
    opacity: 0.65;
    min-height: 15rem;
    /*margin-left: -15%; */
    
}

/*.articinset {
    /*width: 100vw; */
  /*  width: 90vw;
    margin: 0;
    background-color: hsl(196,100%, 80%);
    opacity: 0.65;
    min-height: 15rem;
    /*margin-left: -15%; */
    /*margin-left: -5%; 
} */

.insetinner {
    display: flex;
    flex-direction: column;
    width: 78%;
    margin: auto;
}

.insetinner h3 {
    padding-left: 1em;
    font-size: 1.5em;
    letter-spacing: 0.3px;
}

.highlightinner {
    margin-inline-start: 1.4em;
    border-left: 3px solid darkblue;
    margin-bottom: 1em;
}

.highlightlist {
    font-size: 1.25em;
    line-height: 160%;
    letter-spacing: .25px;
    color: black;
    font-weight: 500;
    font-family: sans-serif;
}

.summaryinner {
    width: 55%;
    margin-left: 1.5em;
    margin-top: 1em;

}

.summarygrid {
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.summaryinner2 {
    display: flex;
    flex-direction: column; 
    /*width: 55%; */
    margin-left: 1.5em;
    margin-top: 1em;
    margin-right: 1em;

}

.summaryinner2 h3 {
    font-size: 1.35em;
}

.summ {
    font-size: 1.35em;
    letter-spacing: 0.3px;
    font-weight: 500;
    text-decoration: underline;
}

.summaryinner_img {
    display: flex; 
    /*flex-direction: column; */
    /*display: grid;
    grid-template-rows: subgrid;*/

}

/*.summaryinner_img > .gridimg {
    align-self: end;
} */

.gridimg {
    display: flex;
    flex-direction: column;
    margin-right: 0;
    width: unset;
    margin-left: 0;
}

.featurebox {
    /*font-weight: bold; */
    font-size: 1.15em;
}










/*///// Fancy button /////////*/


.cardbtn2 {
    margin-inline-start: auto;
    margin-block: auto;
    margin-block-end: 5%;
    margin-right: 3em;
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 10rem;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.15rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    padding-inline: 4em
  }
  .cardbtn2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0cf;
    border-radius: 10rem;
    z-index: -2;
  }
  .cardbtn2:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #008fb3;
    transition: all 0.3s;
    border-radius: 10rem;
    z-index: -1;
  }
  .cardbtn2:hover {
    color: #fff;
  }
  .cardbtn2:hover:before {
    width: 100%;
  }
  /************/

  /*////////  Background //////////*/

  .parallax {
    /* The image used */
    background-image: url('/images/tokyo.jpg');
  
    /* Full height */
    height: 100%; 
  
    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .image-container {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
  }
  
  .image-container img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  @media (max-width: 1000px) {

    .summarybox {
        width: 100%;

    }

    .left , .right {
        margin-left: 0;
        margin-right: 0; 
        max-width: unset;
        
    }

    .summarygrid {
        all : unset;
    }

    .summaryinner2 {
        width: unset;
        max-width: 50rem;
    }

    .summaryinner_img {
        all: unset;
        display: unset;
    }

    .gridimg img {
        max-height: 35vh;
        width: 100%;
    }

    .cardbtn2 {
        padding-inline: 6em;
        margin-right: 4em;
        min-block-size: fit-content;
    }

  }

  @media  (max-width: 1000px) and ( (pointer: fine))  {
    .gridimg img {
        max-height: 45vh;
        
    }

  }

  @media screen and (orientation: portrait) and (not (pointer: fine))  {
    .summaryinner2 {
        max-width: 50rem;
        font-size: 1.8em;
        /*text-align: center; */
    }

    .summaryinner2 ul {
        text-align: left;
    }

  }


  @media screen and (orientation: landscape) and (not (pointer: fine))  {

    .articlead {
        height: 60vh;
    }

    .gridimg img {
        max-height: 50vh;

  }
  }

  @media screen and (not (pointer: fine))  {
    .artictop p ,    .summarybox .artictopsmall{
        font-size: 1.5em;
        line-height: 1.85em;
    }

    .artictop h2 {
        font-size: 2em;
    }
    .artictop ul {
        font-size: 2em;
    }

    .highlightlist {
        letter-spacing: 0.5px;
    }
    
    .artictop.articmain {
        width: 95%;
    }

    .highlightlist {
        font-size: 2em;
    }

    .summ {
        font-size: 2.1em;
        letter-spacing: 0.6px;
    }

    .insetinner h3 {
        font-size: 2.1em;
        letter-spacing: 0.75px;
    }

    .featurebox.highlightlist {
        font-size: 1.5em;
        font-weight: normal;
    }
  }