@font-face {
  font-family: "PTSerifPro ExtraBold";
  src: url(PTSerifPro-ExtraBold.ttf);
}

@font-face {
  font-family: "PTSerifPro Bold";
  src: url(PTSerifPro-Bold.ttf);
}

@font-face {
  font-family: "PTSerifPro Bold Italics";
  src: url(PTSerifPro-BoldItalic.ttf);
}

@font-face {
  font-family: "PTSerifPro Demi";
  src: url(PTSerifPro-Demi.ttf);
}

@font-face {
  font-family: "PTSerifPro";
  src: url(PTSerifPro.ttf);
}

@font-face {
  font-family: "PTSerifPro Italics";
  src: url(PTSerifPro-Italic.ttf);
}

/* ========== Root & Theme ========== */
:root {
  --bg-color: #ffffff;
  --border-line: #ddd;
  --text-color: #000000;
  --tag-text: #333;
  --inactive-text: #bebebe;
  --accent-color: #FFB534;
  --card-bg: #F3F3F3;
  --button-color: #000;
  --green-bg: #dffadf;
  --border-color: #ffffff;
  --text-color-inverse: #ffffff;
  --duration-bg: #dddddd;
  --menu-bg-color: rgba(160, 160, 160, 0.35); /* Frost effect */
  --menu-border: 1px solid rgba(255, 255, 255, 0.452); /* Dispersion border */
  --blur-bg: rgba(160, 160, 160, 0.35);
  /*
  | Compatibility variables used by the search modal
  | and other newer public components.
  */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #333333;
  --text-secondary: #666666;
  --shadow-color: rgba(0, 0, 0, 0.1);


  --linear-gradient: linear-gradient(
      135deg,
      rgb(236, 255, 239) 0%,
      rgba(242, 255, 244, 0.219) 70%
    );
  --linear-gradient2: linear-gradient(
      135deg,
      rgb(255, 255, 255) 0%,
      rgba(242, 255, 244, 0.349) 70%
    );
}

body.dark-mode {
  --bg-color: #111111;
  --border-line: #333333;
  --text-color: #b9b9b9;
  --tag-text: #dddddd;
  --inactive-text: #474747;
  --accent-color: #FFB534;
  --card-bg: #1f1f1f;
  --button-color: #fff;
  --green-bg: #1d241b;
  --border-color: #777777;
  --text-color-inverse: #000000;
  --duration-bg: #424242;
  --menu-bg-color: rgba(141, 141, 141, 0.234); /* Frost effect */
  --menu-border: 1px solid rgba(73, 73, 73, 0.337); /* Dispersion border */
  --blur-bg: rgba(46, 46, 46, 0.35);

  /*
  | Dark equivalents of the compatibility variables.
  */
  --bg-primary: #111111;
  --bg-secondary: #2d2d2d;
  --text-primary: #bbbbbb;
  --text-secondary: #cccccc;
  --shadow-color: rgba(0, 0, 0, 0.3);

  
   --linear-gradient: linear-gradient(
      135deg,
      rgb(0, 0, 0) 0%,
      rgba(28, 34, 28, 0.308) 70%
    );
  --linear-gradient2: linear-gradient(
      135deg,
      rgb(0, 0, 0) 0%,
      rgba(28, 34, 28, 0.308) 70%
    );
}


/* ========== Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.3s;
}

p, h1, h2, h3, span {
  transition: 0s;
}


body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.the-body {
  display: block;
}

main {
  margin-left: clamp(10px, 5vw, 120px);
  margin-right: clamp(10px, 5vw, 120px);
}

/* ========== Header ========== */

/*================Toggle===========*/
#toggle{
  display: none;
}

#toggle-mobile{
  display: none;
}


.display {
    display: flex;
    align-items: center;
    justify-content: center;
}

.display label, .display2 label {
    width: 70px;
    height: 40px;
    border-radius: 999px;
    background: #F3F3F3;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05) inset;
    cursor: pointer;
    position: relative;
}

.circle {
    width: 32px;
    height: 32px;
    border-radius: 100px;
    background: white;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.05),
    -10px -10px 30px rgba(0, 0, 0, 0.05) inset;
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(10%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

svg {
    width: 20px;
    position: absolute;
}
.sun {
    color: #FFD600;
    margin-top: 0%;
    opacity: 1;
}
.moon {
    margin-top: -150%;
    color: white;
    opacity: 0;
}

input[type=checkbox]:checked + .display {
    background: #2c2c2f00;
}
input[type=checkbox]:checked + .display label {
    background: #1F1F21;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3) inset;
}
input[type=checkbox]:checked + .display label .circle {
    left: 100%;
    transform: translate(-110%, -50%);
    background: #39393c;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3),
    -10px -10px 30px rgba(0, 0, 0, 0.2) inset;
}
input[type=checkbox]:checked + .display label .circle .sun {
    margin-top: 150%;
    opacity: 0;
}
input[type=checkbox]:checked + .display label .circle .moon {
    margin-top: 0%;
    opacity: 1;
}

/* Mobile theme-toggle checked state */
input[type=checkbox]:checked + .display2 label {
    background: #1F1F21;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.3) inset;
}

input[type=checkbox]:checked + .display2 label .circle {
    left: 100%;
    transform: translate(-110%, -50%);
    background: #39393c;
    box-shadow:
        10px 10px 20px rgba(0, 0, 0, 0.3),
        -10px -10px 30px rgba(0, 0, 0, 0.2) inset;
}

input[type=checkbox]:checked + .display2 label .circle .sun {
    margin-top: 150%;
    opacity: 0;
}

input[type=checkbox]:checked + .display2 label .circle .moon {
    margin-top: 0%;
    opacity: 1;
}

label:active .circle {
    width: 50px;
}

.mobile-sidebar {
  display: none;
}

.info-bar{
    background-color: #FFB534;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.7rem;
}

.info-bar span{
    flex: 1; 
    text-align: center;
    padding: 0px 30px;
}

.info-bar span:first-child{
    text-align: left;
    display: flex;
}

.info-bar span:last-child{
    text-align: right;
}

.header-social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  margin: 0px 10px;
}

.header-social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid #ffffff;
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.header-social-icons a:hover {
  background: #fff;
  color: #000;
}

.menu-icon {
  display: none;
}

.top-bar {
  padding: 0;
  color: #fff;
  display: block;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  /* margin-bottom: 2rem; */
}
.theme-toggle {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

.search-link {
  padding: 2px 8px;
    border: 2px solid #636363bc;
    border-radius: 20px;
    cursor: pointer;
}

.main-nav {
  background: var(--bg-color);
  display: block;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
}
.logo {
  font-weight: bold;
  font-size: 1.4rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links li a {
  text-decoration: none;
  color: var(--text-color);
}
.nav-links li.active a {
  font-weight: bold;
  border-bottom: 2px solid var(--accent-color);
}

.site-header {
  text-align: center;
  padding-top: 20px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  align-items: flex-start;
}

.theme-toggle {
  background: #f1f1f1;
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
}

.user-icon {
  background: #F3F3F3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size:27px;
  color: #bababa;
  overflow: hidden;
}

.user-icon i {
  position: relative;
  bottom: -5px;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  top: -10px;
}

.logo-circle {
  background: var(--green-bg);
  border-radius: 100%;
  padding: 32px 17px;
  margin-bottom: 8px;
}

.logo {
  width: 70px;
  height: auto;
}

.site-title {
  color: var(--text-color);
  font-size: 18px;
  letter-spacing: 4px;
  font-weight: 400;
  margin: 0;
  position: relative;
  top: -40px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: -20px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  padding: 5px 0;
}

.nav-menu a:hover {
  color: var(--accent-color);
  transition: 0.2s;
}


.nav-menu .active {
  color: #FFB534;
  font-weight: 800; 
}

/* =========================BREADCRUMB bar======================== */

.breadcrumb-bar {
  width: 100%;
  background-color: var(--card-bg);
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -10px 0 0 0;
  padding: 0 7vw;
  }

.breadcrumb-header {
  color: var(--text-color);
}

.breadcrumbs {
  float: right;            
  font-family: Inter;
  font-size: 0.8rem;
  font-weight: 600;
  color: #777;
}

.breadcrumbs a {
  text-decoration: none;
  color: #777;
}

.breadcrumbs a:hover {
  color: #3d3d3d;
}

.breadcrumbs span {
  margin: 0 3px;
  color: #aaa; 
}



/* ========== Layout ========== */
.blog-grid-container {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 2.5rem;
  padding: 2rem;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-bar {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
}

.search-bar input[type="search"] {
  width: 100%;
  padding: 12px 40px 12px 20px;
  border: none;
  border-radius: 50px;
  background-color: var(--card-bg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  font-size: 16px;
  color: #333;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

.search-bar .search-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
  pointer-events: none;
}

/* Chrome, Edge, Safari */
input[type="search"]::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
}

/* Firefox */
input[type="search"]::-moz-search-clear {
  display: none;
}


.category-widget {
  background-color: var(--card-bg);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-widget h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  border-bottom: 1px solid var(--border-line);
  padding: 12px 0;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.category-list a:hover {
  color: #FFB534;
}

.category-list .see-all {
  font-size: 0.9rem;
  padding-top: 10px;
  color: #666;
  text-align: right;
}

.category-list .see-all a {
  color: #555;
  font-weight: normal;
}

.see-all a:hover {
  text-decoration: underline;
}

.most-viewed-widget {
  background-color: var(--card-bg);
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.most-viewed-widget h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.most-viewed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: item;
}

.most-viewed-list li {
  counter-increment: item;
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 2.2rem; /* space for the number */
}

.most-viewed-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  font-size: 1.5rem; /* increase number size */
  color: var(--text-color);
}

.post-title {
  display: block;
  font-weight: 700;
  color: var(--text-color);
}

.post-meta {
  display: block;
  font-size: 0.7rem;
  color: #888;
  text-transform: uppercase;
  margin-top: 2px;
}

.see-more {
  text-align: right;
  font-size: 0.9rem;
  margin-top: 10px;
}

.see-more a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.see-more a:hover {
  text-decoration: underline;
}

.widget-gallery h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  border-radius: 5px;
}

.gallery-grid img {
  width: 100%;
  display: block;
  height: auto;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}

.thumb {
  height: auto;
}


/*=============Calendar==============*/
.wrapper{
  width: 100%;
  background: var(--card-bg);
  border-radius: 10px;
  margin-top: 20px;
}
.wrapper header{
  display: flex;
  align-items: center;
  padding: 25px 30px 10px;
  justify-content: space-between;
}
header .icons{
  display: flex;
}
header .icons span{
  height: 20px;
  width: 20px;
  margin: 0 5px;
  cursor: pointer;
  color: #363636;
  text-align: center;
  line-height: 19px;
  font-size: 0.5rem;
  user-select: none;
  border-radius: 50%;
  border: 1px solid #878787;
}
.icons span:last-child{
  margin-right: -10px;
}
header .icons span:hover{
  background: #b4b4b4;
}
header .current-date{
  font-size: 1.2rem;
  font-weight: 800;
}
.calendar{
  padding: 10px;
}
.calender-line {
  width: 100%;
  height: 1px;
  background-color: #959595;
  margin: 5px 5px;
}

.calendar ul{
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  text-align: center;
}
.calendar .days{
  margin-bottom: 20px;
}
.calendar li{
  color: var(--text-color);
  width: calc(100% / 7);
  font-size: 0.85rem;
}
.calendar .weeks li{
  font-weight: 700;
  cursor: default;
  color: #959595;
}
.calendar .days li{
  z-index: 1;
  cursor: pointer;
  position: relative;
  margin-top: 20px;
  font-weight: 400;
}
.days li.inactive{
  color: var(--inactive-text);
}
.days li.active{
  color: var(--text-color-inverse);
}
.days li::before{
  position: absolute;
  content: "";
  left: 50%;
  top: 50%;
  height: 30px;
  width: 30px;
  z-index: -1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.days li.active::before{
  background: #FFB534;
}
.days li:not(.active):hover::before{
  background: var(--green-bg);
}

.calendar-footer {
  display: flex;
  align-items: center;
  background-color: var(--bg-color);
  border-radius: 12px;
  gap: 10px;
  font-family: sans-serif;
  max-width: 800px;
}

.date-badge {
  background-color: var(--green-bg);
  border-radius: 10px 0 0 10px;
  text-align: center;
  min-width: 80px;
  min-height: 80px;
}

.date-badge span {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-color);
  position: relative;
  top: 4px;
}

.date-badge strong {
  font-size: 50px;
  line-height: 1;
  display: block;
  color: var(--text-color);
  letter-spacing: -0.08em;
}

.date-details {
  flex-grow: 1;
  height: 100%;
}

.date-details h4 {
  font-size: 15px;
  margin: 0 0 0px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.2;
}

.read-now {
  background-color: #ffb534;
  color: var(--text-color-inverse);
  border: none;
  padding: 12px 10px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 10px;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
  margin: 0px 20px 0px 10px;
}

.read-now:hover {
  background-color: #000000;
}


/* ========== Main Content ========== */
.most-read {
  display: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

    .category-card {
        background: var(--card-bg);
        border-radius: 16px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform 0.2s ease;
        cursor: pointer;
        text-decoration: none;
    }

    .category-content {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .category-content h3 {
        font-size: 1.125rem;
        color: var(--text-color);
        line-height: 1.1;
        margin: 0;}

      .category-image {
        width: 100%;
        height: 100px;
        object-fit: cover;
        display: block;
    }

    .post-meta {
    display: block;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    margin-top: 2px;
    font-weight: 600;
}

    .category-title {
        font-size: 0.7rem;
        font-weight: bold;
        color: var(--text-color);
        line-height: 1.4;
        margin: 0;
    }

.main-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.featured-post {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.featured-post h2 {
  margin-bottom: 0.5rem;
}
.featured-post button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent-color);
  color: var(--text-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.feature-wrapper {
  display: flex;
  justify-content: center;
}

.feature-card {
  background-color: var(--green-bg);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  position: relative;
  overflow: visible;
  width: 100%;
}

.text-section {
  padding: 1.0rem;
  flex: 0 0 60%;
  z-index: 1;
}

.text-section .tag {
  display: inline-block;
  background: var(--duration-bg);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tag-text);
  margin-right: 8px;
}

.text-section .date {
  font-size: 0.8rem;
  color: #666;
}

.title {
  font-family: "PTSerifPro Bold";
  font-size: 2rem;
  font-weight: bold;
  margin: 1.5rem 0;
  color: var(--text-color);
  line-height: 1.1; /* Reduced line spacing */
}

.description {
  font-size: 0.9rem;
  color: #8e8e8e;
  margin-bottom: 2rem;
  line-height: 1.5; /* Reduced line spacing */
}

.read-more {
  background-color: #FFB534;
  color: var(--text-color-inverse);
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: none;
}

.read-more a {
  text-decoration: none;
  color: var(--text-color-inverse);
}

.read-more:hover {
  background-color: var(--text-color);
  transition: all 0.5s ease;
}

.image-section {
  position: absolute;
  right: 50px;
  top: 31%;
  transform: translateY(-50%);
  max-width: 270px;
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
  background: white;
}

.image-section img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 760px) {
  .feature-card {
    flex-direction: column;
  }

  .text-section {
    flex: 1 1 100%;
  }

  .image-section {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 1.5rem;
    max-width: 100%;
  }
}



/* Grid container */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

/* Blog card style */
.blog-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card-meta {
  display: inline;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-color);
}

.read-time {
  background: var(--duration-bg);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}

.card-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-color);
  line-height: 1.4;
  margin: 0;
}

.card-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/*most read===============*/
.post-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
}

.post-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--text-color);
}

.post-card-rank {
  font-weight: 700;
}

.post-card-reads {
  background: #e6ffe6;
  color: #216921;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}

.post-card-category {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.post-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.4;
  margin: 0;
}

.post-card-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}



/* ========== Pagination ========== */
.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0;
}

.pagination-left {
  text-align: left;
}

.pagination-center {
  flex: 1;
  text-align: center;
}

.pagination-right {
  text-align: right;
}

.page-button,
.nav-button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 6px;
  background-color: var(--card-bg); 
  color: #666;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  margin: 0 2px;
}

.page-button:hover,
.nav-button:hover:not(:disabled) {
  background-color: #000000;
  color: #ffffff;
  transition: background-color 1s ease;
}

.page-button.active {
  background-color: #FFB534; 
  color: var(--text-color-inverse);
  font-weight: bold;
}

.nav-button:disabled {
  background-color: var(--card-bg);
  color: #aaa;
  cursor: default;
}

/*==========CAT===========*/

.more-contents {
  display: none;
}


/*===========Read More=========*/
.more-card {
  display: none;
}

/* ========== Footer ========== */
.footer {
  background-color: #000000;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  flex-wrap: wrap;
  padding: 8rem;

}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-quote {
  font-family: Georgia;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-copy {
  font-size: 0.8rem;
  font-weight: 200;
  color: #ccc;
}

.footer-logo {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  max-width: 110px;
  margin-bottom: 10px;
}

.footer-logo p {
  margin: 10px;
  font-family: 'Inter', Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 200;
  letter-spacing: 0.2em;
}

.footer-subscribe {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 40px;
}

.footer-subscribe > * {
  width: 100%;
  max-width: 250px;
  text-align: left; 
}

.footer-subscribe h4 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-family: Georgia;
  font-weight: 400;
}

.subscribe-form {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 250px;
  margin-bottom: 20px;
}

.subscribe-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #aaa;
  padding: 8px 30px 8px 0;
  width: 100%;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 200;
}

.subscribe-form input::placeholder {
  color: #aaa;
}

.email-icon {
  position: absolute;
  right: 0;
  top: 8px;
  color: #aaa;
  font-size: 1rem;
}

.subscribe-button {
  width: 100%;
  background-color: #ffffff24;
  color: #ffffff;
  padding: 10px 20px;
  margin: 15px 0 0px 0;
  border: none;
  border-radius: 0px;
  border: 0.3px solid #ffffff69;
  font-weight: bold;
  font-size: 0.95rem;
  cursor: pointer;
}

.subscribe-button:hover {
  background-color: #ffffff;
  color: #000;
  transition: background-color 0.5s ease-in;
}

.social-icons {
  display: flex;
  justify-content: flex-start;
  gap: 5px;
  margin: 20px 0;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid #888;
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.social-icons a:hover {
  background: #fff;
  color: #000;
}


/* ==================AUDIO=================== */
.audio-width {
  background-color: var(--green-bg);
  border-radius: 12px;

}

.audio-player {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  max-width: 700px;
  gap: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.play-button {
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.audio-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.audio-title {
  font-weight: 600;
  font-size: 15px;
}

.audio-duration {
  font-size: 13px;
  color: #6d866d;
  margin-top: 2px;
}

.blog-text {
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-size: 1.25rem;
  text-align: left;
}

.text-content {
  padding: 0 2rem;
}

.text-image {
  display: block;
  width: auto;
  height: auto;
}

.mobile-gallery {
    display: none;
  }

/*================Read Post Section====================*/
.cover-image img {
  height: 100%;
  width: 100%;
  border-radius: 8px;
  display: block;
}

.download-image {
  display: flex;
  align-items: center;
  background-color: var(--button-color);
  color: var(--text-color-inverse);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: .75rem;
  cursor: pointer;
  font-family: Inter;
}

.download-image a {
  color: var(--text-color-inverse);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.download-image svg {
  position: static;
  color: var(--text-color-inverse);
}

.share-image {
  display: flex;
  align-items: center;
  background-color: var(--card-bg);
  color: var(--text-color);
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: .75rem;
  cursor: pointer;
  font-family: Inter;
}

.share-image a {
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.share-image svg {
  position: static;
  width: 15px;
  margin-right: 3px;
  color: var(--text-color);
}

.image-buttons {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 20px;
}

.download-sec {
  display: none;
}

.pagination-scroll-left {
  border: none;
  border-radius: 6px;
  background-color: var(--card-bg); 
  color: #666;
  font-size: 14px;
  cursor: pointer;
  font-weight: bold;
  margin: 0 2px;
}

.pagination-scroll-right {
  border: none;
  border-radius: 6px;
  background-color: var(--card-bg); 
  color: #666;
  font-size: 14px;
  cursor: pointer;
  font-weight: bold;
  margin: 0 2px;
}

.pagination-scroll:hover:not(:disabled) {
  background-color: #000000;
  color: #ffffff;
  transition: background-color 1s ease;
}

.pagination-scroll.active {
  background-color: #FFB534; 
  color: var(--text-color-inverse);
  font-weight: bold;
}

.pagination-scroll:disabled {
  background-color: var(--card-bg);
  color: #aaa;
  cursor: default;
}

.related-post{
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
}

.most-read-main {
  display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.most-read-main a {
  color: var(--text-color);
}

.related-post a {
  color: var(--text-color);
}

    .see-more svg {
        position: unset;
    }

    .most-read-title {
        font-size: 1.4rem;
        padding-bottom: 20px;
    }
/*====================CATEGORY PAGE==================*/
.cat-subcontent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
}
.featured-card {
  background: #f2fff4;
  background: var(--linear-gradient);

  border-radius: 15px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  position: relative;
  text-decoration: none;
  color: var(--text-color);
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  position: absolute;
  z-index: -1;
}

.featured-card:hover img {
  transform: scale(1.12);
}

.featured-texts {
  padding: 2rem 3rem;
  justify-content: space-between;
   align-items: center;
}

.featured-title {
  font-size: 1.8rem;
  font-weight: 600;
}

 .featured-meta {
    font-size: 0.8rem;
  }

.new-badge {
  padding: 5px 7px;
  background-color: #7FFF00;
  color: black;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;

}

/*=================ABOUT PAGE ===============*/
.top-bar-about {
    padding: 0;
    color: #fff;
    display: block;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    /* margin-bottom: 2rem; */
}

.main-nav-about {
  background: #000;
    display: block;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
    font-family: 'Inter';
}

.header-top-about {
  display: block;
  padding: 0 3rem;
}

.about-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu-about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-right: 3rem;
  font-weight: 500;
}

.nav-menu-about p {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  margin: 0 2rem;
  padding: 5px 9px;
  border: 2px solid #3f3f3fa9;
  border-radius: 50px;
}

.nav-menu-about a {
  text-decoration: none;
  color: #fff;
}

.nav-menu-about a:hover {
  color: var(--accent-color);
  transition: 0.2s;
}


.nav-menu-about .active {
  color: #FFB534;
  font-weight: 800; 
}

.about-explore {
  padding: 0 2rem;
}

.about-explore i {
  padding: 0 5px;
}

.logo-circle-about {
  border-radius: 100%;
  padding: 10px 17px;
  margin: 0 20px;
}

.logo-container-about {
  display: flex;
  justify-content: center;
  align-items: center;
  top: -10px;
  margin-top: 2rem;
  padding: 3rem 0;
}

.logo-about {
  width: 200px;
    height: auto;
}

.site-title-about {
  font-family: 'Inter';
  font-weight: 500;
  font-size: 40px;
  letter-spacing: 8px;
}

.about-slogan {
  font-family: 'Inter';
  font-weight: 200;
  font-size: 20px;
  letter-spacing: 1px;
  margin-top: -10px;
}

.about-body {
  margin: 5rem 10%;
}

.about-info {
  display: flex;
  gap: 10%;
}

.about-info img {
  width: 25rem;
  height: 100%;
}

.about-text-body h1 {
  font-family: "PTSerifPro Extrabold";
  margin-bottom: 3rem;
}

.about-text-body p {
  font-family: "PTSerifPro";
  font-size: 18px;
  line-height: 2;
}

.text-bold {
  font-family: "PTSerifPro Bold";
}

.church-link{
  font-family: "PTSerifPro Bold";
  color: var(--text-color);
}

.italic-text {
  font-family: "PTSerifPro Bold Italics";
}

.about-anchors {
  margin: 5rem 0;  
}

.about-anchors h1 {
  font-family: "PTSerifPro Extrabold";
  padding: 10px 2rem;
}

.about-vison {
  display: grid;
  gap: 2rem;
  text-align: center;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background-color: var(--green-bg);
  padding: 3rem 3rem;
  border-radius: 20px;
}

.daily-capsules img {
  height: 25px;
  filter: brightness(0);
}

@media (prefers-color-scheme: dark) {
  .daily-capsules img {
    filter: brightness(0) invert(1);
  }
}

.about-abstract h1 {
  font-family: "PTSerifPro Extrabold";
  padding: 10px 0;
}

.about-abstract p {
 font-family: "PTSerifPro";
  font-size: 18px;
  line-height: 2; 
}

.glance {
    display: flex;
    background: var(--card-bg);
    gap: 40px;
    justify-content: space-between;
    padding: 50px 10%;
    flex-wrap: wrap; /* allow wrapping on small screens */
    font-family: 'Inter';
  }

  .glance > div h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
  }

  .count {
    font-size: 2rem;
    font-weight: 200;
    color: #777777;
  }

  .posts-count {
    display: flex;
    justify-content: center;
    align-items: center;
  }

   .category-count {
    display: flex;
    justify-content: center;
    align-items: center;
  }

   .read-count {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .reach-count {
    display: flex;
    justify-content: center;
    align-items: center;
  }  

  .plus {
    opacity: 0;
    transition: opacity 0.5s ease;
    margin-left: 2px;
  }

  .plus.visible {
    opacity: 1;
  }

.accounts-social {
  margin: 2rem 0;
  padding: 3rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.accounts-social h1 {
  font-family: "PTSerifPro Extrabold", serif;
  margin-bottom: 2rem;
}

/* GRID LAYOUT */
.account-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.account-icons a {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 1rem 1.2rem;
  font-weight: 400;
  text-decoration: none;
  color: #777777;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 10px;
  transition: all 0.3s ease;
  margin: 0 20px;
}

.account-icons a i {
  font-size: 2rem;
  color: var(--text-color);
}

/* Hover effect (optional but clean) */
.account-icons a:hover {
  background: var(--card-bg);
  color: var(--text-color);
}

.about-text-body p {
  text-align: left;
}


.page-wrapper {
  background: linear-gradient(135deg, #e9ffff, #f6ffff);
  width: 100%;
  max-width: 1200px;
  border-radius: 30px;
  padding: 2rem 3rem;
}

/* NAV */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}

.contact-btn {
  background: #14b8a6;
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}

/* HERO */
.hero {
  text-align: center;
  margin-top: 5rem;
  margin-bottom: 8rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin: auto;
  font-size: 1.2rem;
  color: #666;
}

/* ==============CONTACT CARD=========== */
.logo-container-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 10%;
}

.logo-circle-contact {
  display: flex;
}

.logo-contact {
  width: 90px;
  height: auto;
}

.logo-contact img {
  width: 100%;
}

.site-title-contact {
  font-family: 'Inter';
  font-weight: 400;
  font-size: 23px;
  letter-spacing: 5px;
  margin: 0 15px;
}

.logo-container-contact {
  padding: 0;
}

.contact-body{
  position: relative;
}

.contact-card {
  position: absolute;
  top: -130px;
  width: 80%;
  margin: 0 10%;
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  background: var(--green-bg);
  border-radius: 20px;
  padding: 0.7rem;
  box-shadow: 0 15px 40px rgba(44, 44, 44, 0.068);
}

/* LEFT */
.contact-info {
  background: var(--accent-color);
  color: white;
  padding: 2.5rem;
  border-radius: 15px;
  width: 35%;
  font-family: 'Inter';
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  font-size: 1rem;
  color: #ffffff;
}

.contact-info ul {
  list-style: none;
  margin-top: 2rem;
  margin-bottom: 3rem;
  color: #ffffff;
}

.contact-info li {
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-info li i {
  padding-right: 1rem;
}

/* RIGHT */
.contact-form {
  width: 60%;
  background: var(--bg-color);  
  border-radius: 15px;
  padding: 3rem 2rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 2rem;
  width: 100%;
}

.form-group label {
  font-size: 1rem;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
  background: none;
  font-family: 'Inter';
  outline: none;
}

.form-group label {
  font-weight: 300;
}

.send-btn {
  background: #ffb534;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
}

.line-break {
  height: 31rem;
}

.mobile-din {
  display: none;
}


  /* Responsive: move number below title on small screens */
  @media (max-width: 600px) {
    .glance {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

    .glance > div h2 {
      justify-content: center;
      align-items: center;
      gap: 5px;
    }

    .count {
      font-size: 1.8rem;
    }
  }



/* ---------------- MOBILE ---------------- */

@media (max-width: 760px) {
  .featured-card {
    flex-direction: column;
  }

  .featured-texts {
  padding: 1.5rem 1.5rem;
  justify-content: space-between;
   align-items: center;
}

  .featured-text,
  .featured-image {
    max-width: 100%;
  }

  .featured-title {
    font-size: 1.3rem;
  }

  .featured-meta {
    font-size: 0.5rem;
  }
}


/* ========== Responsive ========== */
@media (max-width: 900px) {
    main {
  margin-left: 5px;
  margin-right: 5px;
}

  /* .blog-grid-container {
    grid-template-columns: 1fr;
  } */

  .feature-card {
    margin-top: 30px;
  }
   
  .text-section {
    flex: 0 0 56%;
  }

  .image-section {
    top: 27%;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  } 

  .card-content{
  padding: 2rem;
}

  .footer-logo {
    text-align: center;
    margin-top: 1rem;
  }
}

@media (max-width: 1023px) {

  .mobile-din {
  display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Sidebar base styles */
.mobile-sidebar {
  display: block;
  position: fixed;
  top: 0;
  left: -1000px; /* start hidden */
  width: 75%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 9999;
  transition: left 0.3s ease-in-out;
  overflow-y: auto;
  padding: 2.5rem 1.5rem;
}

.close-sidebar {
  padding: 2rem 0;
  color: #aaa;
}

.close-sidebar svg {
  width: 1.5rem;
  height: auto;
}

/* When active, slide in */
.mobile-sidebar.active {
  left: 0;
}

/* Backdrop overlay */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--blur-bg); /* Frost effect */
  backdrop-filter: blur(4px);           /* Refraction */
  -webkit-backdrop-filter: blur(4px);   /* Safari support */
  inset: 0;
  z-index: 999;
}

/* Disable scrolling when sidebar is active */
.no-scroll {
  overflow: hidden;
}

/* Close icon alignment */
label .close-sidebar {
  background: none;
  display: flex;
  justify-content: flex-start;
  cursor: pointer;
  margin-bottom: 20px;
}

.sidebar-nav {
  padding: 2rem 0;
  text-align: center;
}

.sidebar-nav a {
  display: block;
  margin: 10px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  padding: 5px;
  text-decoration: none;
}

.menu-icon {
    display: grid;
    background: var(--menu-bg-color); /* Frost effect */
  backdrop-filter: blur(7px);           /* Refraction */
  -webkit-backdrop-filter: blur(7px);   /* Safari support */
  border: var(--menu-border); /* Dispersion border */
    position: fixed;
    left: -0.9rem;
    padding: 10px 17px 10px 30px;
    border-radius: 1rem;
    z-index: 9999;
    margin-top: -0.5rem;
    font-size: 18px;
    gap: .8rem;
}

.menu-icon i {
  padding-bottom: 0;
  color: rgb(255, 255, 255);
}

.display2 {
  display: flex;
  position: absolute;
  padding: .7rem 0;
  order: 3;
}

.display2 label {
  width: 50px;
  height: 28.6px;
}

.display2 .circle {
  width: 23px;
  height: 23px;
  border-radius: 100%;
}

.display2 .circle svg {
  width: 16px;
}

.account  {
    text-align: center;
    align-items: center;
    position: absolute;
    right: 1.5rem;
    font-size: 1.2rem;
    overflow: hidden;
}

.display {
  display: flex;
  position: absolute;
  right: 0;
  padding-right: 1rem;
  order: 3;
}

.display label {
  width: 50px;
  height: 28.6px;
}

.display .circle {
  width: 23px;
  height: 23px;
  border-radius: 100%;
}

.display .circle svg {
  width: 16px;
}

.user-icon {
  display: none;
}

.nav-menu {
  display: none;
}

.main-nav {
  padding: 3rem 0 0 0;
}

.header-top {
  display: flex;
  justify-content: center;
  padding: 0 2rem;
}

.logo-container {
  max-width: 186px;
}

.site-title {
  text-align: center;
}

.logo-circle {
  padding: 25px 14px;
}

.logo {
  width: 50px;
  height: auto;
}

.site-title {
  font-size: 0.6rem;
  padding-top: 5px;
}

  .blog-grid-container {
    grid-template-columns: 1fr; /* make main content take full width */
  }

  .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  }

  .post-card {
        flex-direction: column;
    transition: transform 0.2s ease;
    cursor: pointer;
    overflow: hidden;
  }

  .feature-card {
    margin-top: 10px;
  }

/*==========CAT===========*/
.explore-more{
  font-family: Georgia;
  font-size: 2rem;
  font-weight: 600;
  padding: 2rem 0;
}

.more-contents {
  display: block;
  text-align: center;
  /* margin: 0 2rem; */
}

.mobile-category {
  padding: 2rem 0;
  background-color: var(--card-bg);
  width: 100%;
  justify-content: center;
  text-align: center;
  border-radius: 16px;
}

.categories-title {
  font-size: 1.3rem;
  padding: 0 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-color);
  font-size: 1.5rem;
}

.category-title {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-color);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}

.category-items {
  /* max-width: 230px;
  min-width: 230px; */
  width: 100%;
  margin: auto;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--border-line);
}

.category-images {
  object-fit: cover;
  width: 100%;
  height: 150px;
  overflow: hidden;
  object-fit: cover;
  object-position: right top;
  right: 0;
}

.all-category {
  display: block;
  padding: 3rem 0 1rem 0;
}

  .most-read, .most-read-post {
  display: grid;
}

.most-read-post {
  margin: 2rem 0;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.category-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.category-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-image {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.category-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.category-meta {
  display: inline;
  justify-content: space-between;
  align-items: center;
  font-size: 0.55rem;
  color: var(--text-color);
}

.category-title {
  font-size: 0.7rem;
  font-weight: bold;
  color: var(--text-color);
  line-height: 1.4;
  margin: 0;
}

.most-read-main {
  display: flex;
  justify-content: space-between;
}

.most-read-main a {
  color: var(--text-color);
}

.see-more svg {
  position: unset;
}

.most-read-title {
  font-size: 1.4rem;
  padding-bottom: 20px;
}

.mobile-gallery {
    display: block;
    margin-bottom: 2.5rem;
  }

.mobile-gallery-title {
  font-size: 1.4rem;
}

.download-sec {
  display: block;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;  
}

.nav-menu-about {
  display: none;
}

/*========ABOUT LOGO========*/

.header-top-about {
  padding: 20px;
}

.main-nav-about {
  padding: 3rem;
}

.logo-container-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: -10px;
  margin-top: 2rem;
  padding: 3rem 0;
}

.logo-about {
  width: 150px;
    height: auto;
}

.site-title-about {
  font-family: 'Inter';
  font-weight: 500;
  font-size: 31px;
  letter-spacing: 8px;
}

.logo-container-about {
  padding: 0;
}

.about-slogan {
  font-family: 'Inter';
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 1px;
  margin-top: -10px;
}

.about-info {
  display: block;
  text-align: center;
}

.about-theme {
  text-align: center;
}

.about-anchors h1 {
  text-align: center;
}

.about-abstract h1 {
  text-align: center;
}

  .contact-card {
    flex-direction: column;
        width: 90%;
    margin: 0 5%
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .form-row {
    flex-direction: column;
  }
  
  .contact-info {
    padding: 2rem;
  }

  .line-break {
  height: 130vh;
}

}

/* @media (max-width: 875px) {
  .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

} */


@media (max-width: 760px) {
  
  main {
  margin-left: 5px;
  margin-right: 5px;
}

.info-bar {
  padding: 5px;
}

.info-bar span:first-child {
  display: none;
}

.info-bar span:last-child {
  display: none;
}


.feature-card{
  border-radius: 0 0 16px 16px;
}

.blog-grid-container {
  padding: 0;
  margin: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 0 2rem;
}

.text-section {
  flex: 0 0 30%;
  padding: 0;
  margin: -3rem 0 0.5rem 0;
}

.text-section .tag {
  font-size: 0.6rem;
}

.text-section .date {
  font-size: 0.7rem;
}

.text-section .title {
  font-size: 1.7rem;
}

.text-section .description {
  font-size: 0.85rem;
}



.image-section {
  transform: none;
  margin-top: 1.5rem;
  max-width: 100%;
  top: -10%;
}

/* .image-section img {
  border-radius: 10px;
} */

.text-section {
  order: 1;
}

.pagination {
  margin: 0 0 20px 0;
  padding: 0 2rem;
  gap: 5px;
  justify-content: center;
}

.pagination-left {
  text-align: left;
}

.pagination-center {
  flex: 1;
  text-align: center;
  flex-grow: 4;
}

.pagination-right {
  text-align: right;
}

.pagination-scroll-right {
  border: none;
  border-radius: 6px;
  background-color: var(--card-bg); 
  color: #666;
  font-size: 12px;
  cursor: pointer;
  font-weight: bold;
  margin: 0 2px;
}

.pagination-scroll-left {
  border: none;
  border-radius: 6px;
  background-color: var(--card-bg); 
  color: #666;
  font-size: 12px;
  cursor: pointer;
  font-weight: bold;
  margin: 0 2px;
}

.cat-subcontent {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  padding: 2rem;
  gap: 20px;
}




/* Blog card style */

.more-read-time {
  background: var(--duration-bg);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}


.more-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}

/* .more-contents {
  margin: 0 2rem;
} */

.nav-button {
  width: 40px;
  height: 40px;
}

.page-button {
  width: 40px;
  height: 40px;
}

.mobile-din {
  grid-template-columns: repeat(1, 1fr);
  margin: 0 2rem;
}

.widget-gallery {
  margin: 0 2rem;
}

.footer {
    padding: 60px 20px;
  }

.most-read {
        display: grid;
        padding: 0 2rem;
    }

      .posts-grid {
      padding: 0 2rem;
    
}

.mobile-gallery {
    padding: 0 2rem;
  }


.logo-container-about {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.logo-about {
  width: 120px;
    height: auto;
}

.site-title-about {
  font-family: 'Inter';
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 8px;
  line-height: 1;
}

.about-slogan {
  font-family: 'Inter';
  font-weight: 200;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 3;
}

/* ===============FOOTER================*/
.footer {
  gap: 2rem;
}

.footer-column {
  order: 2;
  min-width: 100%;
  padding: 0;
  align-items: center;
}

.footer-subscribe {
  order: 1;
  min-width: 100%;
  padding: 0;
  align-items: center;
}

.footer-logo {
  order: 0;
  min-width: 100%;
  padding: 0;
  align-items: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 20px 0;

}

.footer-logo p {
  font-size: 1.25rem;
}

}

@media (max-width: 600px) {
  .blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 2rem;
}
}

@media (max-width: 480px) {
/* * {
  outline: 1px solid red;
} */

   main {
    margin-left: 0px;
    margin-right: 0px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr; /* 1 column */
  }

  .card-content {
    padding: 1.5rem;
  }

   .footer {
    padding: 40px 16px;
  }

  .about-info img {
    width: 100%;
    height: 100%;
}
}

@media (max-width: 360px) {
.nav-button {
  width: 30px;
  height: 30px;
}

.page-button {
  width: 30px;
  height: 30px;
}

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

}

@media (min-width: 1205px) {
  

  .posts-grid
{
  display: none;
}
}


@media (max-width: 1205px) {
/* :root {
        --scale: 1;
    }

body {
        width: 100%;
        margin-bottom: 0;
        transform: scale(var(--scale));
    } */

.gallery-grid-mobile {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.4rem;
    border-radius: 5px;
}

.gallery-grid-mobile img {
  width: 100%;
  display: block;
  height: auto;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
}
}

/* Container */
.comments-container {
  font-family: "Inter", sans-serif;
  margin: 1rem 0 2rem 0;
}

.comments-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* Comment Box */
.comments-box {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
}

/* Header */
.comments-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Inter;
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid #aaaaaa6c;
}

.comments-header svg {
  position: static;
}

.comment-count {
  font-size: 1.1rem;
  font-weight: 400;
}

/* #comment-list {
  margin-bottom: 25px;
} */

/* Comment Item */
.comment-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-line);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comment-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.comment-user i {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ccc;
  display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    font-size: 35px;
    padding-top: 10px;
    overflow: hidden;
    color: #eee;
}

.comment-name {
  font-weight: 600;
}

.comment-time {
  font-size: 0.85rem;
  color: #777;
}

/* Like Button */
.like-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #bbb;
  border-radius: 20px;
  background: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.like-button:hover {
  background: #000;
  color: #fff;
}

.comment-text {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Write Comment Area */
.write-comment textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ababab;
  outline: none;
  resize: none;
  font-family: inherit;
  font-size: 0.95rem;
  margin-top: 10px;
  background: var(--bg-color);
}

/* Form */
.comment-form {
  margin-top: 20px;
}

.form-group {
  width: -webkit-fill-available;
  padding: 0 10px;
}

.form-group label {
  display: block;
  font-weight: 400;
}

.form-group label span {
  color: red;
}

.form-group input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #bbb;
  outline: none;
  background: transparent;
}

.form-class {
  display: flex;
  justify-content: space-between;
}

.comment-submit {
  width: 100%;
  padding: 15px;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  margin-top: 10px;
}

.comment-submit:hover {
  opacity: 0.7;
}

/* --------------------- RESPONSIVE ---------------------- */
@media (max-width: 1204px) {
 .form-group {
  width: 100%;
  padding: 0;
}

.category-content h3 {
        font-size: 1.3rem;
        color: var(--text-color);
        line-height: 1.1;
        margin: 0;}

.form-class {
  display: block;
  justify-content: space-between;
}

}

@media (max-width: 760px) {
  .comments-box {
    padding: 20px;
  }

  .comment-top {
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
  }

  .like-button {
    align-self: center;
  }

}

@media (max-width: 480px) {
  .comments-title {
    font-size: 1.4rem;
  }

  .text-content {
  padding: 0 2rem;
}

  .comments-header {
    font-size: 1rem;
  }

  .comment-user img {
    width: 40px;
    height: 40px;
  }

  .comment-text {
    font-size: 0.9rem;
  }

  .comment-submit {
    padding: 13px;
  }

  .category-content h3 {
        font-size: 1.1rem;
        color: var(--text-color);
        line-height: 1.1;
        margin: 0;}
}

/*
|--------------------------------------------------------------------------
| Mobile sidebar active navigation link
|--------------------------------------------------------------------------
|
| The active route receives a solid Word Intelligence amber colour.
| There is no underline or bottom border.
|
*/

.mobile-sidebar
.sidebar-nav
a.active,

.mobile-sidebar
.sidebar-nav
a[aria-current="page"] {
    color:
        var(--accent-color) !important;

    font-weight: 800 !important;
    opacity: 1;

    text-decoration: none !important;
}

.mobile-sidebar
.sidebar-nav
a.active:hover,

.mobile-sidebar
.sidebar-nav
a[aria-current="page"]:hover {
    color:
        var(--accent-color) !important;
}