/*
Theme Name:minnak-child
Template:minnak
Version:2.0.0
*/
.top-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
}

.top {
	background-color: #222527;
	border-radius: 5px;
}


.top img {
	aspect-ratio: 6 / 5;
	object-fit: contain;
	width: 100%;
}

.top .entry-title {
  line-height: 1.4;
}

.top .entry-content {
  font-size: 14px;
}

.ad-embed {
	position: relative;
	text-align: center;
}

.ad-embed > img {
	position: absolute;
}

.main-navigation li, .menu-scrollable li {
	padding: 0 2rem;
  text-align: left;
}


/* =========================================
   Category Badge
   ========================================= */
.cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.cat-links a {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(136, 141, 144, 0.5);
  font-size: 11px;
  color: #888D90;
  text-decoration: none;
  line-height: 1.6;
  transition: border-color 0.2s, color 0.2s;
}

.cat-links a:hover {
  border-color: rgba(136, 141, 144, 0.9);
  color: #b0b5b8;
}

.single .cat-links::before {
  content: none;
}

.single .cat-links {
  margin-left: 12px;
}

/* =========================================
   Posts Navigation
   ========================================= */
.site-main .posts-navigation {
  margin: 48px 0 0;
}

.posts-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
}

.posts-navigation .nav-previous,
.posts-navigation .nav-next {
  flex: 0 0 auto;
}

.posts-navigation .nav-next {
  order: -1;
}

.posts-navigation .nav-previous {
  margin-left: auto;
}

.posts-navigation a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  transition: border-color 0.25s, color 0.25s;
}
.posts-navigation a:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: rgb(255, 255, 255);
}

.posts-navigation .nav-next a::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.posts-navigation .nav-next a:hover::before {
  transform: rotate(45deg) translate(-2px, 2px);
}

.posts-navigation .nav-previous a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.posts-navigation .nav-previous a:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}

.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation .site-main .post-navigation {
  width: 100%;
}

/* =========================================
   Post Navigation
   ========================================= */
.post-navigation .nav-links {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  gap: 32px;
}

.post-navigation .nav-links div:nth-of-type(2) {
  border-left: none;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1 0 50%;
}

.post-navigation .nav-next {
  text-align: right;
}

.post-navigation a {
  display: block;
  text-decoration: none;
  transition: opacity 0.25s;
}
.post-navigation a:hover {
  opacity: 0.7;
}

.post-navigation .nav-subtitle {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 6px;
}

.post-navigation .nav-title {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  transition: none;
}

/* =========================================
   Media Queries
   ========================================= */
@media screen and (max-width: 1200px) {
	.top-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 768px) {
	.top-grid {
		grid-template-columns: 1fr;
	}
}