* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 100px;
}

/* Top Bar - Trending Now */
.penci-top-bar {
  background: #222;
  color: #fff;
  height: auto;
  font-size: 13px;
}

.penci-top-bar .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 100px;
}

.penci-headline {
  display: flex;
  align-items: center;
}

.penci-topbar-trending {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  overflow: hidden;
}

.headline-title {
  background: #8bc34a;
  color: #fff;
  padding: 8px 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.penci-topbar-trending,
.penci-trending-nav {
  float: left;
  position: relative;
  z-index: 100;
  padding-left: 8px;
  padding-right: 8px;
  display: flex;
  align-items: center;
  gap: 0;
}

.penci-slider-prev,
.penci-slider-next {
  width: auto;
  height: 32px;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
  margin: 0;
  padding: 0 5px;
  line-height: 32px;
  outline: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.penci-slider-prev:hover,
.penci-slider-next:hover {
  color: #fff;
  text-decoration: none;
}

.penci-slider-prev:active,
.penci-slider-next:active {
  color: #fff;
  text-decoration: none;
}

.penci-faicon {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 32px;
  -webkit-font-smoothing: antialiased;
}

.fa-angle-left:before,
.fa-angle-right:before {
  font-size: 20px;
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 32px;
  text-decoration: none;
  vertical-align: middle;
}

.fa-angle-left:before {
  content: "‹";
}

.fa-angle-right:before {
  content: "›";
}

/* Additional states for navigation arrows */
.penci-slider-prev.at-start,
.penci-slider-next.at-end {
  opacity: 0.6;
}

.penci-slider-prev.at-start:hover,
.penci-slider-next.at-end:hover {
  opacity: 0.8;
  color: #ccc;
}

.penci-headline-posts {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 32px;
}

.trending-slides {
  display: flex;
  flex-direction: column;
  transition: transform 0.1s ease-in-out;
  height: auto;
}

.trending-slide {
  flex-shrink: 0;
  height: 32px;
  min-height: 32px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.penci-topbar-post-title {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.penci-topbar-post-title:hover {
  color: #8bc34a;
}

/* Trending navigation controlled by JavaScript */

/* Navigation */
#navigation {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
}

#navigation .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
#logo {
  flex-shrink: 0;
  padding: 12px 0;
}

#logo a {
  display: block;
  line-height: 0;
}

.penci-logo {
  max-height: 60px;
  width: auto;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
}

/* Menu */
#menu-main-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.menu-item {
  margin: 0;
  position: relative;
}

.menu-item a {
  display: block;
  padding: 30px 18px;
  color: #313131;
  text-decoration: none;
  font-family: "Karla", sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  white-space: nowrap;
}

.menu-item.current-menu-item a,
.menu-item a:hover {
  background-color: #8bc34a;
  color: #fff;
}

/* Search */
#top-search {
  flex-shrink: 0;
  padding: 10px;
}

.search-click {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.search-click:hover svg circle,
.search-click:hover svg line {
  stroke: #8bc34a;
}

/* Navbar Search Section */
.navbar-search-section {
  display: none;
  align-items: center;
  gap: 20px;
  flex: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  height: 84px;
  padding: 30px 0;
}

#navigation.search-active .navbar-search-section {
  display: flex;
  opacity: 1;
}

#navigation.search-active .nav-element {
  display: none;
}

.navbar-search-form {
  flex: 1;
}

.navbar-search-field {
  width: 100%;
  border: none;
  border-bottom: 2px solid #ddd;
  padding: 10px 0;
  font-size: 15px;
  font-family: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
}

.navbar-search-field:focus {
  border-bottom-color: #8bc34a;
}

.navbar-search-field::placeholder {
  color: #999;
}

.navbar-search-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.navbar-search-close:hover {
  transform: rotate(90deg);
}

.navbar-search-close:hover svg line {
  stroke: #8bc34a;
}

/* Main Content */
main {
  padding: 5px 0;
  min-height: 60vh;
}

/* Featured Carousel Section */
.featuredsl-customizer {
  position: relative;
  margin-bottom: 40px;
}

.featuredsl-customizer .container {
  position: relative;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.swiper-slide,
.item {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.wrapper-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 5px;
  max-width: 1170px;
  margin: 0 auto;
}

.penci-item-mag {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.penci-item-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  min-height: 320px;
}

.penci-item-2,
.penci-item-3 {
  grid-column: 2 / 3;
  min-height: 150px;
}

.penci-item-4,
.penci-item-0 {
  min-height: 150px;
}

.penci-image-holder {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

.penci-item-mag:hover .penci-image-holder {
  transform: scale(1.05);
}

.penci-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

.overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.penci-mag-featured-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.feat-text {
  color: #fff;
}

.cat.featured-cat {
  margin-bottom: 15px;
}

.penci-cat-name {
  display: inline-block;
  background: #8bc34a;
  color: #fff;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.3s;
}

.penci-cat-name:hover {
  background: #7cb342;
}

.feat-text h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  line-height: 1.4;
}

.penci-item-1 .feat-text h3 {
  font-size: 18px;
}

.feat-text h3 a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.feat-text h3 a:hover {
  opacity: 0.8;
}

.feat-meta {
  display: flex;
  gap: 5px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.feat-meta a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.feat-meta a:hover {
  color: #fff;
}

/* Carousel Navigation */
.penci-owl-nav {
  position: absolute;
  top: 50%;
  left: 30px;
  right: 30px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featuredsl-customizer:hover .penci-owl-nav,
.featuredsl-customizer .penci-owl-nav:hover {
  opacity: 1;
}

.owl-prev,
.owl-next {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
  position: relative;
}

.owl-prev:before,
.owl-next:before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-left: 2px solid #313131;
  border-bottom: 2px solid #313131;
}

.owl-prev:before {
  transform: rotate(45deg);
  margin-left: 4px;
}

.owl-next:before {
  transform: rotate(-135deg);
  margin-right: 4px;
}

.owl-prev:hover,
.owl-next:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.owl-prev:hover:before,
.owl-next:hover:before {
  border-color: #8bc34a;
}

.penciicon-left-chevron,
.penciicon-right-chevron {
  display: none;
}

/* Hero Carousel Wrapper */
.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  min-height: 525px;
  margin-bottom: 40px;
  overflow: hidden;
}

/* Hero Section - Main Featured Grid */
.hero-section {
  display: grid;
  grid-template-columns: 585px 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 5px;
  max-width: 1170px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 50%;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease,
    visibility 0.6s ease;
  pointer-events: none;
  width: 100%;
  transform: translateX(100%) translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  will-change: transform, opacity;
}

.hero-section.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transform: translateX(-50%) translateZ(0);
}

.hero-section.slide-out-left {
  transform: translateX(-150%) translateZ(0);
  opacity: 0;
}

.hero-section.slide-out-right {
  transform: translateX(50%) translateZ(0);
  opacity: 0;
}

.hero-section.slide-in-from-left {
  transform: translateX(-150%) translateZ(0);
  opacity: 0;
}

.hero-section.slide-in-from-right {
  transform: translateX(50%) translateZ(0);
  opacity: 0;
}

.hero-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 100%;
}

.hero-small {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 100%;
}

.hero-small:nth-of-type(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.hero-small:nth-of-type(3) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.hero-small:nth-of-type(4) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.hero-small:nth-of-type(5) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

.hero-link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: #fff;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-link:hover img {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
  color: #fff;
  z-index: 2;
}

.hero-category {
  display: inline-block;
  background: #8bc34a;
  color: #fff;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  text-decoration: none;
  transition: background 0.3s;
}

.hero-category:hover {
  background: #7cb342;
}

.hero-large h2 {
  font-size: 18px;
  margin: 0 0 12px 0;
  line-height: 1.4;
  font-weight: 600;
}

.hero-small h3 {
  font-size: 16px;
  margin: 0 0 12px 0;
  line-height: 1.4;
  font-weight: 600;
}

.hero-large h2 a,
.hero-small h3 a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.hero-large h2 a:hover,
.hero-small h3 a:hover {
  opacity: 0.8;
}

.hero-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  gap: 15px;
}

/* Content with Sidebar Layout */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  margin-bottom: 60px;
}

.main-content {
  min-width: 0;
}

/* Latest News Section */
.latest-news {
  margin-bottom: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #eeeeee;
}

.section-header h2,
.section-header h3 {
  font-size: 1.8rem;
  color: #8bc34a;
  font-weight: 700;
  margin: 0;
}

.view-all {
  color: #8bc34a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.view-all:hover {
  color: #7cb342;
}

/* News Grid - Single column layout */
.news-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.news-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.3s;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 40px;
}

.news-card:last-child {
  border-bottom: none;
}

.news-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.news-image {
  width: 46.25%;
  max-width: 100%;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0;
}

.news-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.news-card:hover .news-image img {
  opacity: 0.7;
}

.news-content {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 10px;
}

.news-category {
  display: inline-block;
  background: transparent;
  color: #8bc34a;
  padding: 0;
  border-radius: 0;
  font-size: 13px;
  text-transform: capitalize;
  margin-bottom: 15px;
  font-weight: 500;
}

.news-card h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #313131;
  line-height: 1.3;
  font-weight: 600;
}

.news-card h3:hover {
  color: #8bc34a;
}

.news-meta {
  font-size: 13px;
  color: #888;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
}

.news-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* Sidebar */
.sidebar-widget-area {
  position: sticky;
  top: 20px;
  align-self: start;
}

/* Sidebar Widgets */
.widget {
  margin-bottom: 30px;
  padding: 25px;
}

.widget-title {
  position: relative;
  margin: 0 0 25px 0;
  padding-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #313131;
}

.widget-title.penci-border-arrow {
  border-bottom: 2px solid #111111;
}

.widget-title.penci-border-arrow .inner-arrow {
  position: relative;
  display: inline-block;
  padding-right: 10px;
}

.widget-title.penci-border-arrow .inner-arrow:after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 0;
  right: 0;
  height: 2px;
  background: #111111;
}

/* Recent Posts Widget */
.side-newsfeed {
  list-style: none;
  margin: 0;
  padding: 0;
}

.penci-feed {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.penci-feed:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.side-item {
  display: flex;
  gap: 15px;
}

.side-image {
  flex-shrink: 0;
  width: 100px;
  height: 70px;
  overflow: hidden;
  border-radius: 4px;
}

.side-image a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.side-image a:hover img {
  transform: scale(1.1);
}

.side-item-text {
  flex: 1;
  min-width: 0;
}

.side-title-post {
  margin: 0 0 8px 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.side-title-post a {
  color: #313131;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.side-title-post a:hover {
  color: #8bc34a;
}

.penci-side-item-meta {
  font-size: 12px;
  color: #888;
}

.side-item-meta {
  display: inline-block;
}

.entry-date {
  font-style: normal;
}

/* Categories Widget */
.categories-block {
  margin: 0;
}

.categories-layout-wrap {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cat-block {
  width: 100%;
}

.cat-block a {
  display: block;
  padding: 10px 20px;
  background: #dedede;
  color: #313131;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  line-height: 1.4;
}

.cat-block a:hover {
  background: #8bc34a;
  color: #fff;
}

.category-title {
  margin: 0;
  font-size: 15px;
  font-family: "Karla", sans-serif;
  font-weight: 500;
  color: inherit;
}

/* Post Grid (for list pages) */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

/* Post grid in content-with-sidebar should be single column */
.content-with-sidebar .post-grid {
  grid-template-columns: 1fr;
}

.post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-meta {
  margin-bottom: 10px;
}

.category {
  display: inline-block;
  background: #8bc34a;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  text-transform: capitalize;
}

.post-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.post-card h3 a {
  color: #2c3e50;
  text-decoration: none;
}

.post-card h3 a:hover {
  color: #8bc34a;
}

.post-info {
  font-size: 0.9rem;
  color: #666;
  display: flex;
  gap: 15px;
}

/* Single Post */
.post-single {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

.post-header {
  margin-bottom: 30px;
}

.post-header h1 {
  font-size: 2.5rem;
  margin: 15px 0;
  color: #2c3e50;
}

.post-header .post-meta {
  display: flex;
  gap: 15px;
  color: #666;
}

.featured-image {
  margin-bottom: 30px;
}

.featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.post-single .post-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-single .post-content h2,
.post-single .post-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.post-single .post-content ul {
  margin: 15px 0;
  padding-left: 30px;
}

.post-single .post-content li {
  margin-bottom: 8px;
}

/* Page Header */
.page-header {
  margin-bottom: 40px;
  text-align: center;
  padding: 30px 0;
}

.page-header h1 {
  font-size: 2rem;
  color: #313131;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category page header styling */
.page-header h1::before {
  content: "CATEGORY: ";
  color: #313131;
  font-weight: 400;
}

.page-header h1 {
  color: #8bc34a;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #fff;
  padding: 30px 30px;
  margin-top: 60px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .hero-large {
    grid-row: span 1;
  }
}

@media (max-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr 300px;
    gap: 30px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  #navigation .container {
    flex-wrap: wrap;
  }

  #menu-main-menu {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 768px) {
  .penci-top-bar {
    display: none;
  }

  .wrapper-item {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .penci-item-1,
  .penci-item-2,
  .penci-item-3,
  .penci-item-4,
  .penci-item-0 {
    grid-column: 1 / 2;
    grid-row: auto;
    min-height: 300px;
  }

  .penci-slide-overlay {
    padding: 20px;
  }

  .penci-item-1 .feat-text h3 {
    font-size: 1.5rem;
  }

  .feat-text h3 {
    font-size: 1.2rem;
  }

  .owl-prev,
  .owl-next {
    width: 40px;
    height: 40px;
  }

  .content-with-sidebar {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-card a {
    flex-direction: column;
  }

  .news-image {
    width: 100%;
    height: 250px;
  }

  .news-card h3 {
    font-size: 20px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-widget-area {
    position: static;
  }

  #navigation .container {
    padding: 10px;
  }

  #logo {
    padding: 8px 0;
  }

  .penci-logo {
    max-height: 50px;
  }

  #menu-main-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-item a {
    padding: 15px 20px;
  }

  .post-single {
    padding: 20px;
  }

  .post-header h1 {
    font-size: 1.8rem;
  }

  .hero-large h2 {
    font-size: 1.5rem;
  }

  .hero-small h3 {
    font-size: 1rem;
  }
}

/* Search Results Styles */
.search-results-container {
  width: 100%;
  padding: 40px 0;
}

.search-results-heading {
  font-family: "Karla", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 30px 0;
  padding: 0;
  color: #313131;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  position: relative;
}

#search-query {
  color: #8bc34a;
  font-style: normal;
}

#search-loading {
  padding: 40px 20px;
  text-align: center;
  font-size: 18px;
  color: #666;
}

#no-results {
  padding: 40px 20px;
  text-align: center;
  font-size: 18px;
  color: #666;
}

@media (max-width: 768px) {
  .search-results-heading {
    font-size: 1.5rem;
  }
}
