/*
Theme Name: ausmalee theme
Author: ausmalee
Author URI: https://ausmalee.com
Description: A ausmalee theme 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Fira Sans', 'Noto Sans', 'Open Sans', sans-serif !important;
  background-color: #FFF1EC !important;
}

.navbar-brand,
h1,
h2,
h3 {
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}

h2 {
  position: relative;
  line-height: 2rem !important;
  border-left: 4px solid #73ADCF;
  padding-left: 10px;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -300px; /* hidden by default */
    width: 300px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
    padding: 1rem;
    z-index: 1050;
    overflow-y: auto;
}

.sidebar.open {
    right: 0;
}

.search-center {
    z-index: 1030;
}

.navbar-toggler {
    z-index: 1031; /* make sure toggle is above */
}

.navbar-nav .dropdown-toggle::after {
  border: none !important;
}

.alignleft {
  float: left;
  margin: 10px;
}

.navbar-nav .nav-link,
.navbar-nav .dropdown-toggle {
  position: relative;
}

.navbar-nav .nav-link::after,
.navbar-nav .dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #0d6efd;
  transition: width 0.3s ease, left 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .dropdown-toggle:hover::after {
  width: 100%;
  left: 0;
}

.rank-math-breadcrumb p {
  margin: 0;
}

.rank-math-breadcrumb p>a {
  color: white;
}

.btn-primary {
  background-color: #E4EDE0 !important;
  border-color: #E4EDE0 !important;
  color: black !important;
}

.btn-primary:hover {
  background-color: #EFB657 !important;
  border-color: #EFB657 !important;
}

@media (max-width:769px) {
  .alignleft {
    float: unset;
    display: flex;
    margin: auto;
  }
}

img {
  max-width: 100%;
  height: auto;
}

.aligncenter {
  margin: auto;
}

.aligncenter,
.alignnone {
  display: grid;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: auto;
}
.gallery-grid{
	display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: auto;
}
.position-md-absolute {
  position: static;
}

.translate-md-middle {
  transform: unset;
}

@media (min-width: 768px) {
  .position-md-absolute {
    position: absolute !important;
  }

  .translate-md-middle {
    transform: translate(-50%, -50%) !important;
  }

}

.social-icons a {
  text-decoration: none;
}

.social-icons a[aria-label="facebook"] i {
  color: #1877F2;
}

.social-icons a[aria-label="pinterest"] i {
  color: #E60023;
}

.social-icons a[aria-label="youtube"] i {
  color: #FF0000;
}

.social-icons a[aria-label="instagram"] i {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%,
      #fdf497 5%, #fd5949 45%, #d6249f 60%,
      #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-icons a[aria-label="deviantArt"] i {
  color: #05CC47;
}

.social-icons a[aria-label="tiktok"] i {
  color: #000000;
}

.social-icons a:hover i {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.social-icons {
  text-align: center;
}

.social-icons a {
  margin: 10px;
  transition: all 0.3s ease;
}

.social-icons i {
  font-size: 2rem;
}

.toggle-icon {
  transition: transform .3s ease;
}

button.collapsed .toggle-icon {
  transform: rotate(-90deg);
}

.collapsed-content {
  max-height: 70px;
  overflow: hidden;
  position: relative;
}

.collapsed-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(rgba(255, 255, 255, 0), white);
}

.read-more-btn .arrow-icon {
  display: inline-block;
  margin-left: 0.3em;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

.read-more-btn.expanded .arrow-icon {
  transform: rotate(180deg);
}
.categories-grid{
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .6rem;
    max-width: var(--max-width);
    margin: auto;
}
/* Scroll-to-Top button */
#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #0066cc;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  display: none;   
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
  z-index: 1000;
}
#scrollToTop.show {
  display: flex;       
  opacity: 1;
}
#scrollToTop.hide {
  opacity: 0;
}
.chev {
  display: inline-block;
  transition: transform 200ms ease;
}

[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .chev { transition: none; }
}

.svg-box {
  position: relative;
  cursor: pointer;
}

/* Black overlay */
.svg-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.25s ease;
  pointer-events: none;
}

.svg-box:hover::after {
  background: rgba(0,0,0,0.5); /* 50% black */
}

/* Fly button */
.svg-box .coloring-fly {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  border: 0;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transform: translate(-20px,-20px) scale(.6);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s ease, opacity .2s ease;
  z-index: 2; /* above overlay */
}

.svg-box:hover .coloring-fly {
  transform: translate(calc(130% - 24px), calc(180% - 24px)) scale(1);
  opacity: 1;
  pointer-events: auto;
}
/* ── Hero ──────────────────────────────────────────────── */
#hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(160deg, #FFF1EC 55%, #e8f4f9 100%);
}

.hero-content {
  max-width: 640px;
  margin: auto;
}

.hero-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: .75rem;
  color: #2d2d2d;
}

.hero-lead {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  display: flex;
  max-width: 90%;
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,.1);
}

.hero-search__input {
  flex: 1;
  border: none;
  padding: .7rem 1.25rem;
  font-size: .95rem;
  outline: none;
  background: transparent;
}

.hero-search__btn {
  border: none;
  background: #73ADCF;
  color: #fff;
  padding: .7rem 1.25rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s;
}

.hero-search__btn:hover {
  background: #5a97ba;
}

/* ── Category cards ────────────────────────────────────── */
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: .4rem;
}

.cat-card__img {
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}

.cat-card:hover .cat-card__img {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
}

.cat-card__name {
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  color: #333;
}

/* ── Posts tab nav ─────────────────────────────────────── */
.posts-tabs-nav {
  display: flex;
  gap: .25rem;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  position: sticky;
  top: 83px;
  z-index: 1;
  background: white;
}

.posts-tab {
  background: none;
  border: none;
  padding: .6rem 1.25rem;
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}

.posts-tab:hover {
  color: #73ADCF;
}

.posts-tab.active {
  color: #73ADCF;
  border-bottom-color: #73ADCF;
}

/* ── Tab panes ─────────────────────────────────────────── */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ── Coloring card ─────────────────────────────────────── */
.coloring-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
  list-style: none;
}

.coloring-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.13);
}

.coloring-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.coloring-card__img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.coloring-card__title {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  padding: .5rem .5rem;
  color: #333;
  line-height: 1.3;
}

/* ── About section ─────────────────────────────────────── */
.about-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
}

.about-img {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .about-img {
    width: 90px;
  }
}
#switch-lang{
	position: fixed;
    bottom: 20px;
    left: 10px;
}
#switch-lang #lang_choice_1{
	height:30px;
}
a.dropdown-item.py-1 {
    word-wrap: break-word;
    white-space: break-spaces;
}
/* ── Breadcrumbs ─────────────────────────────────────── */
.bread-cumb {
  background-color: transparent !important;
  padding: 8px 0 !important;
}

.bread-cumb .rank-math-breadcrumb p {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
}

.bread-cumb a {
  display: inline-block;
  padding: 4px 14px;
  background-color: #78a8d8;   
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,.12);
}
.bread-cumb a:hover {
  background-color: #5a90c8;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}

.bread-cumb .last {
  display: inline-block;
  padding: 4px 14px;
  background-color: #f07860;    
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 2px 5px rgba(0,0,0,.12);
}

.bread-cumb .separator {
  color: #adb5bd;
  font-size: 0;
}
.bread-cumb .separator::after {
  content: "→";
  font-size: 14px;
  color: #9aa0a6;
  margin: 0 2px;
}

/* ── Sidebar: Trending Posts ───────────────────────────── */
#sidebar-trending-posts {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(102, 126, 234, 0.15);
  background: #fff;
  border: 1.5px solid #e0dcf8;
  margin-bottom: 1rem;
}

#sidebar-trending-posts .bg-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  padding: 14px 18px !important;
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
}

#sidebar-trending-posts .bg-info::before {
  content: '🔥';
  font-size: 1.2em;
  margin-right: 8px;
}

#sidebar-trending-posts .bg-info a {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.4px;
  text-decoration: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: color 0.2s;
}

#sidebar-trending-posts .bg-info a:hover {
  color: #ffe066 !important;
}

#sidebar-trending-posts > a {
  display: block;
  padding: 12px 12px 0 12px;
  text-decoration: none !important;
}

#sidebar-trending-posts > a:last-of-type {
  padding-bottom: 12px;
}

#sidebar-trending-posts > a .card {
  border: 1.5px solid #ede9ff !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.10);
  margin-bottom: 0 !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  background: #fff;
}

#sidebar-trending-posts > a:hover .card {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(102, 126, 234, 0.22);
  border-color: #b8abf0 !important;
}

#sidebar-trending-posts > a .card img {
  transition: opacity 0.2s;
  display: block;
  width: 100%;
}

#sidebar-trending-posts > a:hover .card img {
  opacity: 0.92;
}

#sidebar-trending-posts .card .card-title {
  color: #5b4cc4 !important;
  font-weight: 700 !important;
  font-size: 0.97rem !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  background: #f8f6ff;
  border-top: 2px solid #ede9ff;
  text-align: center;
  line-height: 1.4;
}

#sidebar-trending-posts > a:hover .card .card-title {
  color: #764ba2 !important;
}
/* ── Sidebar: Popular Posts ───────────────────────────── */

#sidebar-popular-posts {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(102, 126, 234, 0.15);
  background: #fff;
  border: 1.5px solid #e0dcf8;
  margin-bottom: 1rem;
}

#sidebar-popular-posts .bg-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  padding: 14px 18px !important;
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
}

#sidebar-popular-posts .bg-info::before {
  content: '⭐';
  font-size: 1.2em;
  margin-right: 8px;
}

#sidebar-popular-posts .bg-info a {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.4px;
  text-decoration: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: color 0.2s;
}

#sidebar-popular-posts .bg-info a:hover {
  color: #ffe066 !important;
}

#sidebar-popular-posts > a {
  display: block;
  padding: 12px 12px 0 12px;
  text-decoration: none !important;
}

#sidebar-popular-posts > a:last-of-type {
  padding-bottom: 12px;
}

#sidebar-popular-posts > a .card {
  border: 1.5px solid #ede9ff !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.10);
  margin-bottom: 0 !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  background: #fff;
}

#sidebar-popular-posts > a:hover .card {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(102, 126, 234, 0.22);
  border-color: #b8abf0 !important;
}

#sidebar-popular-posts > a .card img {
  transition: opacity 0.2s;
  display: block;
  width: 100%;
}

#sidebar-popular-posts > a:hover .card img {
  opacity: 0.92;
}

#sidebar-popular-posts .card .card-title {
  color: #5b4cc4 !important;
  font-weight: 700 !important;
  font-size: 0.97rem !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  background: #f8f6ff;
  border-top: 2px solid #ede9ff;
  text-align: center;
  line-height: 1.4;
}

#sidebar-popular-posts > a:hover .card .card-title {
  color: #764ba2 !important;
}


/* ── Sidebar: Last Posts ───────────────────────────── */

#sidebar-last-posts {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(102, 126, 234, 0.15);
  background: #fff;
  border: 1.5px solid #e0dcf8;
}

#sidebar-last-posts .bg-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  padding: 14px 18px !important;
  margin-bottom: 0 !important;
  display: flex;
  align-items: center;
}

#sidebar-last-posts .bg-info::before {
  content: '🕐';
  font-size: 1.2em;
  margin-right: 8px;
}

#sidebar-last-posts .bg-info a {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  letter-spacing: 0.4px;
  text-decoration: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: color 0.2s;
}

#sidebar-last-posts .bg-info a:hover {
  color: #ffe066 !important;
}

#sidebar-last-posts > a {
  display: block;
  padding: 12px 12px 0 12px;
  text-decoration: none !important;
}

#sidebar-last-posts > a:last-of-type {
  padding-bottom: 12px;
}

#sidebar-last-posts > a .card {
  border: 1.5px solid #ede9ff !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.10);
  margin-bottom: 0 !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  background: #fff;
}

#sidebar-last-posts > a:hover .card {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(102, 126, 234, 0.22);
  border-color: #b8abf0 !important;
}

#sidebar-last-posts > a .card img {
  transition: opacity 0.2s;
  display: block;
  width: 100%;
}

#sidebar-last-posts > a:hover .card img {
  opacity: 0.92;
}

#sidebar-last-posts .card .card-title {
  color: #5b4cc4 !important;
  font-weight: 700 !important;
  font-size: 0.97rem !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  background: #f8f6ff;
  border-top: 2px solid #ede9ff;
  text-align: center;
  line-height: 1.4;
}

#sidebar-last-posts > a:hover .card .card-title {
  color: #764ba2 !important;
}