/*
Theme Name: Oryncart
Theme URI: https://team.oryncart.com/oryncart-theme/
Author: Oryncart Team
Author URI: https://team.oryncart.com/
Description: Oryncart Blog is a clean, responsive, and lightweight WordPress theme perfect for bloggers, news, and magazine websites. It is fully compatible with the Elementor page builder, allowing you to easily design custom layouts with drag-and-drop simplicity.
Version: 6.7.8
Tested up to: 6.8
Requires at least: 5.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oryncart
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, theme-options, translation-ready, editor-style
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Copyright (C) 2025 Oryncart
*/
.screen-reader-text {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  left: auto;
  z-index: 100000;
  padding: 15px;
  background-color: #f1f1f1;
  border: 2px solid #333;
  color: #333;
}

.wp-caption {
  max-width: 100%;
  text-align: center;
  margin: 10px 0;
}

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

.wp-caption-text {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.gallery-caption {
  font-size: 14px;
  text-align: center;
  color: #888;
}

.bypostauthor {
  font-weight: bold;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* drop-down menu */
html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
}

.main-menu li {
  position: relative;
}

.main-menu li>.sub-menu,
.main-menu li>.children {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

.main-menu li:hover>.sub-menu,
.main-menu li:hover>.children {
  display: block;
}

.main-menu li {
  position: relative;
}

.main-menu li .sub-menu li a {
  display: block;
  color: #111;
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
}

/* pagination style */
.pagination-wrap ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.pagination-wrap ul li a,
.pagination-wrap ul li span {
  display: inline-block;
  color: #5A5858;
  text-align: center;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 51px;
  width: 50px;
  height: 50px;
  border: 1px solid var(--main-color1);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination-wrap ul li span.current {
  background-color: var(--main-color1);
  color: #fff;
}

/* bredcrum Style */
p.current-page {
  margin-top: 7px;
}

.post-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.entry-title {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.entry-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.entry-title {
  display: block;
  width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  white-space: normal;
}

.post,
.entry {
  max-width: 100%;
  overflow: hidden;
}

.blog-content-area a,
.post-content a,
.wp-block-post-terms a {
  text-decoration: underline;
}

/* But don't apply globally to all links unless needed */
a {
  text-decoration: none;
}

.entry-content a,
.comment-content a,
.custom-content a {
  text-decoration: underline;
}

.tags {
  color: #000;
  text-decoration: underline;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  transition: 0.3s ease;
}

.post-body a {
  text-decoration: underline !important;
}

/* Global link style - no underline by default */
a {
  text-decoration: none;
}

/* Underline links in post and page content only */
.entry-content a,
.wp-block-post-content a,
.about-company-section a,
.blog-content-area a,
.post-content a {
  text-decoration: underline;
}

/* Optional: hover style */
.entry-content a:hover,
.wp-block-post-content a:hover,
.about-company-section a:hover,
.blog-content-area a:hover,
.post-content a:hover {
  text-decoration: underline;
  color: inherit;
}

/* .blog-author a,
.blog-date a,
.blog-comments a {
  text-decoration: underline;
} */

.widget {
  width: 100%;
  border-radius: 5px;
  background: #E4F2FF;
  padding: 23px 30px;
  margin-bottom: 40px;
}

.widget a {
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}

a:focus,
button:focus,
input:focus {
  outline: 2px solid #0073aa;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.search-box {
  display: none;
}

.search-box.show {
  display: flex;
  /* opacity: 1; */
}

.main-menu li:focus-within>ul,
.main-menu li:focus-within>.sub-menu,
.main-menu li:hover>ul,
.main-menu li:hover>.sub-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}

.main-menu ul ul {
  display: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  transition: all 0.2s ease;
}

.m-sub-menu-l2 {
  display: none;
}

.m-sub-menu-l2.open {
  display: block;
}

.main-menu .menu-item-has-children>ul {
  position: absolute;
  left: 100%;
  top: 0;
}

/* All submenus show directly below parent menu */
.main-menu ul.sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  z-index: 9999;
  background: #CDE7FF;
  display: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Show submenu on hover */
.main-menu li:hover>ul.sub-menu,
.main-menu li:focus-within>ul.sub-menu {
  display: block;
}

/* Prevent submenu from going sideways for deeper levels */
.main-menu ul.sub-menu ul.sub-menu {
  left: 0;
  top: 100%;
  /* same as first-level submenu */
}

.main-menu .menu-item-has-children>ul {
  left: 0 !important;
  top: 100% !important;
}

.main-menu .menu-item-has-children>ul.sub-menu ul {
  left: 0 !important;
  top: 100% !important;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
}

.mobile-menu.visible {
  transform: translateX(0%);
}

@media (min-width: 290px) and (max-width: 414px) {
  .mobile-menu.visible {
    max-width: 74%;
  }
}

@media (min-width: 415px) and (max-width: 575px) {
  .mobile-menu.visible {
    max-width: 75%;
  }
}

/* 404 */
.custom-404-container {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
  padding: 2rem;
  background: #f8f9fa;
}

.custom-404 {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.custom-404 h1 {
  font-size: 6rem;
  margin-bottom: 0.5rem;
  color: rgb(0, 0, 0);
  font-weight: 800;
}

.custom-404 h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #343a40;
}

.custom-404 p {
  font-size: 1rem;
  color: #6c757d;
}

.custom-404 a.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: rgb(243, 98, 243);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.custom-404 a.button:hover {
  background-color: #005c8e;
}

.footer-section img {
  max-width: 100%;
  max-height: 80px;
  height: auto;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-section .payment-options img,
.footer-section .footer-logo img,
.footer-section .download-app img {
  max-height: 80px;
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}

.footer-section .footer-logo {
  overflow: hidden;
  max-width: 100%;
}

.footer-section .download-app a img {
  max-height: 50px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

.logo-v2 img {
  max-width: 150px;
  max-height: 250px;
  width: auto;
  height: auto;
  display: block;
}


.post-title a,
.post-meta a {
  text-decoration: none;
}

.post-title a:hover,
.post-meta a:hover {
  text-decoration: underline;
}

.main-menu .menu-item-has-children>ul.sub-menu ul {
    left: 60% !important;
    top: 100% !important;
}



.post-nav-links {
    clear: both; 
    display: block;
    margin-top: 15px; 
}
.entry-content::after,
.col-lg-12::after {
    content: "";
    display: table;
    clear: both;
}
/* Post pagination / page links style */
.post-nav-links {
    clear: both;
    margin-top: 20px;
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.post-nav-links span,
.post-nav-links a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

/* Active / current page */
.post-nav-links .current {
    background: #0073aa; /* WP blue */
    border-color: #0073aa;
    color: #fff;
    font-weight: bold;
}

/* Hover effect */
.post-nav-links a:hover {
    background: #f0f0f0;
    border-color: #bbb;
}
@media (max-width: 600px) {
    .blog-meta {
        height: 56px;
    }

    h2.entry-title {
        text-align: center;
    }
}

.logo-v2 {
    display: flex;
    justify-content: center; 
    align-items: center;
    max-width: 100%;
    padding: 15px 20px; 
    box-sizing: border-box;
}

.logo-v2 .site-title {
    font-size: 2rem;       
    line-height: 1.2;
    margin: 0;
    white-space: normal;   
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .logo-v2 .site-title {
        font-size: 1.5rem; 
    }
}


.main-menu ul.sub-menu {
    display: none;
}

.main-menu li.menu-item-has-children:hover > .sub-menu,
.main-menu li.menu-item-has-children:focus-within > .sub-menu {
    display: block;
}

.main-menu ul.sub-menu ul.sub-menu ul.sub-menu ul.sub-menu ul.sub-menu ul.sub-menu ul.sub-menu ul.sub-menu ul.sub-menu {
    display: none !important; /* level 6+ hide */
}

