@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


:root {
/* color */
  --dark:             #000000;
  --light:            #ffffff;
  --greysh:           #a4a0b2;
  --light-blue:       #00aeef;
  --dark-blue:        #333366;
  --med-blue:         #003366;
/* layout */
  --content-column-max-width: 45rem;  
/* fonts */
  --main-font:        Roboto, Sans-Serif;
  --header-font:      Roboto, Sans-Serif;
  --navingation-font: 'Roboto Condensed', Sans-Serif;
}





* { 
  box-sizing: border-box; 
}

html {
  font-family: var(--main-font);
  font-size: 100%;
  vertical-align: top;
}

body {
  background-color: var(--light);
}

h1 {
  font-family: var(--header-font);
  font-weight: 700;
  line-height: 150%;
  color: var(--dark);
  font-size: clamp(1.5rem, 1.75vw, 2.5rem);
  border-bottom: .5px solid var(--dark);
  margin: -.333rem 0 .667rem;
  padding-bottom: .333rem;
}
h2 {
  font-family: var(--header-font);
  font-size: clamp(1.5rem, 1.25vw, 2rem);
  font-weight: 700;
  line-height: 150%;
  color: var(--dark);
}
h3 {
  font-family: var(--header-font);
  font-size: clamp(1.25rem, 1.0vw, 1.5rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--dark);
}
h4 {
  font-family: var(--header-font);
  font-size: clamp(1rem, 0.9vw, 1.25rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--dark);
}
h5 {
  font-family: var(--header-font);
  font-size: clamp(0.90rem, 0.8vw, 1.2rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--dark);
}
h6 {
  font-family: var(--header-font);
  font-size: clamp(0.75rem, 0.7vw, 1rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--dark);
}
p {
  font-family: var(--main-font);
  font-size: clamp(1rem, 0.8vw, 1.5rem);
  font-weight: 400;
  line-height: 175%;
  color: var(--dark);
}

li {
  font-family: var(--main-font);
  font-size: clamp(1rem, 0.8vw, 1.5rem);
  font-weight: 400;
  line-height: 150%;
  color: var(--dark);
  margin-bottom: 1rem;
}

a {
  color: var(--med-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* header */
header {
  background-color: var(--light-blue);
  color: var(--light);
  margin: 0;
  padding: 0;
}

#top-logo {
  padding: 1rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

#top-logo img {
  width: 100%;
  height: auto;
}


/* end header */

/* navigation start */
#menu-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 25px;
  height: 25px;
}

#main-header nav {
  min-height: 40px;
}
#menu-toggle .menu-line {
  fill:var(--light);
  visibility: visible;
}
.sm-active #menu-toggle .menu-line {
  visibility: hidden;
}
#menu-toggle .menu-x {
  fill: var(--light);
  visibility: hidden;
}
.sm-active #menu-toggle .menu-x {
  visibility: visible;
}

#main-header nav ul {
  display: none;
}

#main-header.sm-active nav ul {
  display: block;
}
#main-header nav {
  position: relative;
  background-color: var(--dark-blue);
  color: var(--light);
  padding: 0.75rem 0.75rem 2.75rem 0.75rem;
}
#main-header nav a {
  font-family: var(--navingation-font);
  font-weight: bold;
  color: var(--light);
}

#main-header nav > ul, #main-header nav > ul > li > ul  {
  list-style-type: none;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 1rem;
}

#main-header nav > ul > li > ul {
  padding: 0.75rem;
}

@media (min-width:1024px) {
  #main-header nav ul {
    display: block;
  }
  #menu-toggle {
    display: none;
  }
  #main-header > nav > ul {
    margin: 0 auto;
    text-align: center;
  }
  #main-header > nav > ul > li {
    display: inline-block;
    border-bottom: 0;
    text-align: center;
    padding: 0 2rem;
  }
  #main-header > nav li.nav-sections > a {
    display: none;
  }
  #main-header > nav > ul > li > ul {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3rem;
    background-color: var(--light-blue);
    text-align: center;
  }
  #main-header > nav > ul > li > ul > li {
    display: inline-block;
    border-bottom: 0;
    text-align: center;
    padding: 0 2rem;
  }
}



/* navigation end */




.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
 
.clearfix {
  display: block;
}

/* main content section  */


section.main {
  display: inline-block;
  padding: 1rem;
  width: 100%;
}

@media (min-width: 728px) {
  section.main {
    display: inline-block;
    padding: 0 0 1rem 15px;
    width: calc(100vw - 145px);
  }
}

@media (min-width: 1140px) {
  section.main {
    padding-left: calc((100vw - 850px) /2);
    max-width: calc(850px + ((100vw - 850px) /2));
  }
}


.content {
  border: 1px solid #eeeeee;
  min-height: 75vh;
}

/* home page articles layout */
.list-article-title h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.list-main-article .list-article-image {
  clear: both;
  padding: 0;
  margin: 0;
}

/* list-main-article */
.list-main-article .list-article-image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--dark);
}

.list-main-article .list-article-title {
  padding: 1rem 2rem;
  color: var(--light);
  background-color: var(--light-blue);
}

.list-main-article .list-article-title a {
  color: var(--light);
}

.list-main-article .list-article-title h2 {
  padding: 0;
  margin: 0;
}

/* list-two-article */
.list-two-article {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-two-article .list-inner-article .list-article-image {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-two-article .list-inner-article .list-article-image img {
  width: 100%;
  height: auto;
}

.list-two-article .list-inner-article .list-article-title {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-two-article .list-inner-article:first-child {
  padding-bottom: 1rem;
  border-bottom: 0.5px solid var(--greysh);
}

.list-two-article .list-inner-article:last-child {
  padding-top: 1rem;
}

@media (min-width: 728px) {
  .list-two-article {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .list-two-article .list-inner-article {
    display: table-cell;
    width: 50%;
    padding-left: 1rem;
  }
  .list-two-article .list-inner-article:first-child {
    border-right: 1px solid var(--dark);
    padding-left: 0;
    padding-right: 1rem;
    border-bottom: 0;
    padding:bottom: 0;
  }
  .list-two-article .list-inner-article:last-child {
    padding-top: 0;
  }
}


/* list-one-pict-article */
.list-one-pict-article {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-one-pict-article .list-article-image {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-one-pict-article .list-article-image img {
  width: 100%;
  height: auto;
}

.list-one-pict-article .list-article-image a {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}


@media (min-width: 480px) {
  .list-one-pict-article {
    display: table;
    width: 100%;
    table-layout: fixed;
  }
  .list-one-pict-article .list-article-image {
    display: table-cell;
    width: 25%;
    vertical-align: middle;
    padding-right: 1rem;
  }
  .list-one-pict-article .list-article-title {
    display: table-cell;
    width: 75%;
    vertical-align: middle;
    padding-left: 1rem;
  }
}

.list-one-article, .list-article-more {
  clear: both;
  padding: 0;
  margin: 0;
}

.list-article {
  margin-bottom: 1rem;
}

div.sep {
  clear: both;
  padding: 0.5rem 0;
}

div.sep > div {
  border-top: 0.5px solid var(--greysh);
  height: 1px;
}

/* ads */

.top-ad {
  clear: both;
  width: 100%;
  text-align: center;
  max-width: 728px;
  aspect-ratio: 728 / 130;
  margin: 0 auto;
  padding: 20px 0;
}
.top-ad img {
  width: 100%;
  height: auto;
}

.side-ad {
  min-height: 90px;
  width: 120px;
  display: inline-block;
  vertical-align:top;
  text-align: center;
}

.side-ad img {
  margin: 0 auto;
}

@media (min-width: 1140px) {
  .side-ad {
    width: calc((100vw - 860px) /2);
  }
}

/* footer */

footer {
  background-color: var(--dark-blue);
  padding: 1rem;
  color: var(--light);
  font-size: 75%;
}

footer p, footer a, footer h4 {
  color: var(--light);
  text-align: center;
}

/* footer nav start */
footer nav > ul {
  display: block;
  text-align: center;
}
footer > nav > ul {
  margin: 0 auto;
  text-align: center;
}
footer > nav > ul > li {
  display: inline-block;
  text-align: center;
  padding: 0 2rem;
}

/* footer nav end */

@media (min-width: 1024px) {

}