/*
Theme Name: Begin Again
Description: A minimal WordPress theme for pages and posts
Version: 1.0
Author: Your Name
*/
.nk-main,
body{
  background-color: #ffffff !important;
}
/*make image smooth on resize*/
img{

  max-width: 100%;
  height: auto;
  display: block;
  /* Force GPU compositing to make transforms smoother */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  /* Rendering/interpolation hints */
  image-rendering: auto;
  /* Some browsers support these vendor hints; they may improve scaling quality */
  -webkit-optimize-contrast: auto;
  -ms-interpolation-mode: bicubic; /* IE */
  /* Keep image aspect and avoid cover cropping by default */
  object-fit: contain;
}
video {
   width: 100%;
   object-fit: contain;
  object-position: center;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  filter: grayscale(0);
}
.video-container {
  overflow: hidden !important;
}
.video-embed iframe{
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
}
.video-container video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
/* Snow Theme Carousel Styles */
.nk-carousel-3 .flickity-slider > div {
  height: 550px;
  width: 100%;
}
.nk-carousel-2 img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}
.nk-carousel-3 .flickity-slider > div > div {
  background-size: cover;
  background-position: 50% 50%;
}
video {
  transform: translateZ(0); /* force GPU layer */
  backface-visibility: hidden;
  will-change: transform;
}
/* Fix Side Navigation Menu Styles - Only main menu, not social icons */
.nk-navbar-side .nk-nav-row-full .nk-nav-row-center ul li a {
  color: #fff !important;
  font-size: 2rem !important;
  font-weight: 600 !important;
  padding: 15px 40px !important;
  font-family: "Din", serif !important;
  line-height: 1.1 !important;
}

.nk-navbar-side .nk-nav-row-full .nk-nav-row-center ul li a:hover {
  color: #fff !important;
}

.full-1200  {
  max-width:  1200px !important;
}
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Din";
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  margin-bottom: 40px;
}

.site-title {
  font-size: 2rem;
  font-weight: 300;
  text-decoration: none;
  color: #333;
}

.site-title:hover {
  color: #666;
}

/* Navigation */
.main-navigation {
  margin-top: 20px;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-navigation a {
  text-decoration: none;
  color: #666;
  font-weight: 400;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: #333;
}

/* Content */
.site-content {
  margin-bottom: 60px;
}

/* Posts */
.post {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid #f0f0f0;
}

.post:last-child {
  border-bottom: none;
}

.post-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.post-title a {
  text-decoration: none;
  color: #333;
}

.post-title a:hover {
  color: #666;
}

.post-meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.post-content {
  line-height: 1.7;
}

.post-content p {
  margin-bottom: 20px;
}

/* Pages */
.page-title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 30px;
  text-align: center;
}

.page-content {
  line-height: 1.7;
}

.page-content p {
  margin-bottom: 20px;
}

/* Footer */
.site-footer {
  background: #f8f8f8;
  padding: 40px 0;
  text-align: center;
  color: #666;
  border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .site-title {
    font-size: 1.5rem;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 15px;
  }

  .post-title {
    font-size: 1.5rem;
  }

  .page-title {
    font-size: 2rem;
  }
}
