@font-face{font-family:Funnel;src:url(fonts/Funnel_Display/FunnelDisplay-VariableFont_wght.ttf);}
body{
   display: flex;
   flex-direction: column;
}
main{
   flex: 1;
}

/* BERITA */
.berita{

   &.news-grid{
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

      .news-title{
         font-size: 1rem;
      }
   }
}
article{
   h1{
      font-size: 2.5rem;
      line-height: 2.8rem;
      width: 80%;
      margin: auto;
      margin-bottom: 20px;
   }
   h3, .h3{
      font-size: 1.6rem;
   }
   img{
      width: 100%;
      margin: 40px 0;
      border-radius: 10px;
      background: rgba( 255, 255, 255, 0.6 );
      box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
      backdrop-filter: blur( 4px );
      -webkit-backdrop-filter: blur( 4px );
      border: 15px solid rgb(255, 255, 255);
   }
   p{
      width: 80%;
      margin: auto;
      padding-bottom: 15px;

      em {
         margin: 1.5rem 0;
         padding: 1rem 1.5rem;
         border-left: 4px solid #d4d4d4;
         background: #f2f2f2;
         font-style: italic;
         color: #333;
         line-height: 1.6;
         border-radius: 6px;
         display: inline-block;
      }
   }
   .date{
      color: grey;
   }
   .agenda-title{
      font-size: 1.4rem;
      padding-bottom: 20px;
      display: inline-block;
   }

   &.preference{

      h3{
         font-size: 1.2rem;
         font-weight: 600;
      }
      p{
         width: 100%;
      }
      ol,ul {
         margin: 12px 40px 25px;

         li{
            line-height: 2rem;
         }
         
         & li::before {
            display: inline-block;
            white-space: nowrap;
            width: 1.2em;
            position: absolute;
            left: 0;
         }
      }
   }
}

/* GALLERY STD */
.gallery-std{
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
   gap: 25px;
   padding: 20px 0;

   .gallery-card {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: var(--card-shadow);
      transition: transform 0.2s;
      border: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      text-decoration: none;

      .gallery-img-wrapper {
         position: relative;
         height: 200px;
         background: #f0f0f0;
         overflow: hidden;

         .gallery-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
         }
      }
      .gallery-body {
         padding: 20px;
         flex: 1;
         display: flex;
         flex-direction: column;

         .gallery-title {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 8px;
            color: var(--text);
         }
         .gallery-desc {
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 15px;
            line-height: 1.5;
         }
         .gallery-footer {
            margin-top: auto;
            padding-top: 15px;
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: var(--text-light);

            .creator-info {
               display: flex;
               align-items: center;
               gap: 8px;
            }
         }
      }
   }
   .gallery-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
      border-color: var(--primary);

      .gallery-img {
         transform: scale(1.05);
      }
   }
}
.gallery-dynamic {
  column-count: 3;
  column-gap: 16px;
}
.gallery-dynamic img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 16px;
  break-inside: avoid;
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}
.gallery-dynamic img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  filter: brightness(1.05) contrast(1.05);
}
/* DASHBOARD.CSS */
.page-title{
  padding: 20px 0 10px;
  color: #4A4747;
  text-shadow: 2px 2px 3px var(--color-theme-3);
  border-bottom: 1px solid rgba(134,119,148,.4);
  text-transform: uppercase;
  margin-bottom: 10px;

  small{
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    color: gray;
  }
  h1{
    font-size: 22px;
    line-height: 20px;
    font-weight: 700;
  }
}
footer{
   background: #f2f2f2;
   color: #000;
   display: grid;
   justify-content: center;
   justify-content: center;
   border-bottom: 60px solid #cacaca;

   .wrap{
      width: 80%;
      max-width: 800px;
      margin: auto;

      .center{
         display: grid;
      justify-content: center;
      }
      img{
         height: 150px;
      }
      .komite{
         font-size: 18px;
         line-height: 1.4rem;
         text-align: center;
         font-family: Lexend;
         font-weight: 400;
      }
      .komite-text{
         padding: 20px 0;
         color: #5E6282;
         text-align: center;
         font-family: Lexend;
         font-weight: 300;
      }
      .komite-contact{     
         float: left;
         font-family: Lexend;
         list-style: none;
         font-size: 0.7rem;
         padding-left: 5px;
         width: 100%;
         color: #5E6282;

         div{
            text-align: center;
            label{
               font-weight: 600;
            }
            i{
               font-size: 0.8rem;
            }
         }
      }
      .komite-copyright{
         width: 100%;
         display: grid;
         justify-content: center;
         font-size: 0.8rem;
         font-family: Lexend;
         padding: 30px 0 20px;
         color: #2d2d2d;
      }
   }
}