@charset "UTF-8";
/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans Sinhala", sans-serif;
  line-height: 1.6;
  color: #333;
}

main {
  margin: 0 auto;
}

.flexrow {
  display: flex;
  flex-wrap: wrap;
}

.two-col {
  width: 100%;
  padding: 15px;
}

.lkpoem {
  font-size: 14px;
  line-height: 24px;
  text-align: left;
}
.lkpoem .kavi-row {
  max-width: -moz-max-content;
  max-width: max-content;
}
.lkpoem .kavi-row img {
  width: 100%;
  height: auto;
}
.lkpoem .line {
  width: 100%;
  display: flex;
  justify-content: space-between;
  min-height: 25px;
}
.lkpoem .line span {
  padding-left: 15px;
}
.lkpoem .space {
  display: block;
  width: 100%;
  margin-bottom: 15px;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}
.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery {
  width: 100%;
}
.gallery .gallery-item {
  width: 25%;
}
.gallery .gallery-item .gallery-icon {
  padding: 5px;
}
.gallery .gallery-item img {
  width: 100%;
  height: auto;
  border: 0 !important;
}

@media (min-width: 768px) {
  .two-col {
    width: 50%;
  }
  .lkpoem {
    font-size: 1.53vw;
  }
}
@media (min-width: 1024px) {
  .lkpoem {
    font-size: 1vw;
  }
}
@media (min-width: 1270px) {
  main {
    max-width: 1270px;
  }
  .lkpoem {
    font-size: 0.95vw;
  }
}
@media (min-width: 1400px) {
  main {
    max-width: 1400px;
  }
  .lkpoem {
    font-size: 14px;
  }
}
@media (max-width: 1200px) {
  main {
    margin: 0 20px;
  }
}
input {
  border-radius: 4px;
  color: #1f1f1f;
  font-size: 16px;
  padding: 12px 14px;
  text-align: left;
  z-index: 1;
  width: 100%;
  max-width: 550px;
  border: 1px solid #bdbdbd;
}
input[type=submit] {
  background-color: #0053bd; /* WordPress blue */
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: auto;
  min-width: 220px;
  text-align: center;
}
input[type=checkbox] {
  width: auto;
}

textarea {
  width: 100%;
  max-width: 550px;
  border-radius: 4px;
  color: #1f1f1f;
  font-size: 16px;
  border: 1px solid #bdbdbd;
}

@media (max-width: 768px) {
  input[type=submit] {
    width: 100%;
    margin-top: 20px;
  }
}
header {
  background-color: #fff;
}
header .row {
  align-items: center;
  display: flex;
}
header .container {
  padding: 20px;
}
header .logo-wrap img {
  width: auto;
  height: 42px;
}
header .mob-nav-button {
  display: none;
}
header nav {
  margin-left: auto;
}
header nav ul {
  display: flex;
}
header nav ul li {
  padding: 0 12px;
  list-style: none;
}
header nav ul li a {
  color: #0053bd;
  text-decoration: none;
}

@media screen and (max-width: 1024px) {
  header .mob-nav-button {
    width: 32px;
    display: flex;
    flex-direction: column;
    margin-left: auto;
    cursor: pointer;
  }
  header .mob-nav-button span {
    border-bottom: 1px solid #999;
    height: 0;
    margin: 4px 0;
    width: 100%;
  }
  header nav {
    position: fixed;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 80px 14px;
    height: 100vh;
    width: 100%;
    left: 0;
    top: 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transform: translateX(-100vw);
    -webkit-transform: translateX(100vw);
    -moz-transform: translateX(100vw);
    -ms-transform: translateX(100vw);
    -o-transform: translateX(100vw);
  }
  header nav ul {
    flex-direction: column;
  }
  header nav .menu li {
    padding: 12px 0;
  }
}
@media (min-width: 1200px) {
  header .container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 30px 0;
  }
}
@media (min-width: 1400px) {
  header .container {
    max-width: 1400px;
  }
}
body.nav-active .mob-nav-button {
  z-index: 10;
}
body.nav-active .mob-nav-button span:last-child {
  display: none;
}
body.nav-active nav {
  transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
}

.hero {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero .issue-image {
  width: 100%;
  position: relative;
  font-size: 0;
  padding-bottom: 40%;
  overflow: hidden;
  border-radius: 0.5rem;
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
}
.hero .issue-image img {
  position: absolute;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.hero .issue-details {
  width: 100%;
  padding: 15px;
  background-color: rgb(246, 246, 247);
  border: 1px solid rgb(229, 231, 235);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
}
.hero .lktagline {
  color: #0053bd;
  font-size: 24px;
  text-align: center;
  line-height: 32px;
  margin-bottom: 15px;
}
.hero .vol {
  font-size: 18px;
  color: rgb(96, 96, 96);
  text-align: center;
}
.hero h1 {
  font-size: 2em;
  background-color: #0053bd;
  color: #fff;
  padding: 8px 10px;
  line-height: 1.2;
  border-left: 10px solid #2b92ff;
  border-bottom-right-radius: 65px;
  text-align: left;
  margin: 0.5em 0;
}
.hero .issue-poem {
  margin-top: 20px;
  text-align: right;
  display: inline-block;
  width: 100%;
}
.hero .issue-poem .kavi-row {
  margin-left: auto;
}
.hero .issue-poem .poem-author {
  margin-top: 10px;
  line-height: 1;
}
.hero .issue-poem .poem-author span {
  display: block;
  padding-top: 10px;
  font-size: 12px;
  line-height: 16px;
}
.hero .info-block {
  font-size: 16px;
  line-height: 22px;
  margin-top: auto;
}
.hero .info-block p:first-child {
  margin-bottom: 8px;
}
.hero .info-block span {
  font-size: 14px;
  color: rgb(96, 96, 96);
}
.hero .issue-text {
  width: 100%;
  margin: 30px 0;
  position: relative;
}
.hero .issue-text h2 {
  text-align: center;
  margin-bottom: 50px;
}
.hero .issue-text .pi-btn {
  position: absolute;
  top: 0;
  right: 0;
  border: 1px solid #0053bd;
  padding: 6px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.hero .issue-text .pi-btn:before {
  content: "";
  background-image: url("../img/list.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 22px;
  height: 22px;
  padding-right: 5px;
}
.hero .issue-text .video-item {
  max-width: 450px;
  margin: 30px 0;
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero .issue-text h2 {
    margin-bottom: 30px;
  }
  .hero .issue-text .pi-btn {
    position: inherit;
    margin: 0 auto 20px;
    width: -moz-fit-content;
    width: fit-content;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    height: auto;
    padding: 12px 20px;
  }
}
@media (min-width: 1024px) {
  .hero .issue-image {
    width: 66%;
  }
  .hero .issue-details {
    width: 32%;
    margin-left: 2%;
  }
}
/* Masonry grid */
.poems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* exactly 3 per row */
  gap: 20px; /* space between poems */
}

.poem-card {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}
.poem-card:hover {
  transform: translateY(-5px);
}
.poem-card .btn {
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  padding: 8px 10px;
  line-height: 1;
  background-color: #0053bd;
  color: #fff;
  border-radius: 6px;
  transition: all 0.5s ease;
}
.poem-card .btn:hover {
  background-color: #164773;
  transition: all 0.5s ease;
}

.poem-image {
  width: 100%;
  height: 275px;
  -o-object-fit: cover;
     object-fit: cover;
}

.poem-content {
  padding: 15px;
}
.poem-content a {
  text-decoration: none;
}

.poem-title {
  font-size: 1.5rem;
  color: #0053bd;
  margin-bottom: 8px;
}

.poem-author {
  font-size: 1rem;
  color: #888;
  font-style: italic;
  margin-bottom: 15px;
}

.author-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.auth-image {
  min-width: 60px;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  border: 4px solid #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.auth-image img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.poem-text {
  font-size: 1rem;
  line-height: 1.6;
  white-space: pre-line;
}

.poem-highlight {
  background-color: yellow;
  transition: background-color 2s ease; /* fade out over 2s */
}

@media (max-width: 1024px) {
  .poems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .poems-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (max-width: 460px) {
  main {
    margin: 0 12px;
  }
  .poem-content {
    padding: 12px;
  }
  .lkpoem {
    font-size: 12px;
    line-height: 18px;
  }
}
.poem-index {
  position: fixed;
  top: 0;
  right: 0;
  max-width: 450px;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 5;
  transform: translateX(500px);
  transition: all 0.5s;
  padding: 50px 15px 15px;
  overflow-x: auto;
}
.poem-index.active {
  transform: translateX(0);
}
.poem-index .close {
  position: sticky;
  top: 0;
  left: 92%;
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
  background-color: #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 5px 10px;
}
.poem-index .poem-row {
  border-bottom: 1px dashed #164773;
  padding: 10px 20px;
  cursor: pointer;
}
.poem-index .poem-row:hover {
  background-color: #eee;
}
.poem-index .poem-row h3 {
  color: #0053bd;
}
.poem-index .poem-row p {
  margin: 0;
}
.poem-index .poem-row a {
  text-decoration: none;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.issue-card {
  text-align: center;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease;
}
.issue-card a {
  text-decoration: none;
  color: #0053bd;
}

.issue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.issue-thumb {
  position: relative;
  padding-bottom: 62%;
  overflow: hidden;
}
.issue-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

.issue-title {
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
}

.poem-block {
  margin-bottom: 60px;
}

.single-poem .poem-wrap {
  width: 100%;
}
.single-poem .poem-image {
  height: auto;
}
.single-poem .poem-content .btn {
  display: none;
}
.single-poem .poem-list {
  width: 100%;
}
.single-poem .poem-list a {
  display: block;
  padding: 5px 0;
  text-decoration: none;
  color: rgb(96, 96, 96);
}
.single-poem .poem-list a h4 {
  color: #0053bd;
}
.single-poem .poem-list a .issue {
  font-size: 14px;
}
.single-poem .poem-list .poem-row {
  margin: 10px 0;
  border-bottom: 1px dashed #bdbdbd;
  width: 100%;
}
.single-poem .poem-list .poem-row:hover {
  background-color: #eee;
}

@media (min-width: 1024px) {
  .single-poem .poem-wrap {
    width: 60%;
  }
  .single-poem .poem-list {
    width: 40%;
    padding: 0 0 0 40px;
  }
}
.page h1 {
  font-size: 32px;
  background-color: #0053bd;
  color: #fff;
  padding: 10px 14px;
  line-height: 1.2;
  border-left: 10px solid #2b92ff;
  border-bottom-right-radius: 65px;
  text-align: left;
  margin-bottom: 30px;
}
.page h2 {
  margin-bottom: 20px;
  color: #464646;
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.video-item {
  display: block;
  position: relative;
  text-align: center;
  color: #000;
  text-decoration: none;
}
.video-item::before {
  content: "▶";
  background-color: #0053bd;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  line-height: 74px;
  font-size: 40px;
  opacity: 0.8;
  cursor: pointer;
}

.video-item img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s;
}

.video-item:hover img {
  transform: scale(1.05);
}

.video-title {
  display: block;
  margin-top: 8px;
  font-size: 16px;
}

footer {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}
footer .tr {
  border-radius: 50%;
  text-align: center;
  background-color: #0053bd;
  color: #fff;
  width: 26px;
  display: inline-block;
  height: 26px;
  text-decoration: none;
}/*# sourceMappingURL=default.css.map */