/*!
Theme Name: Orthocare Theme
Theme URI:  https://themixly.com/
Author:     Arkay Apps
Author URI: https://arkayapps.in/
Description: A lightweight theme to import React/Next templates into WordPress using Elementor.
Version:    1.0.0
Text Domain: themixly
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: orthocare
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

orthocare is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

.custom_img {
    overflow: hidden;
    position: relative
}
.custom_img:after {
    background-color: hsla(0, 0%, 100%, .3);
    content: "";
    height: 0;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    transition: none;
    width: 200%;
    z-index: 1;
}

.custom_img:hover:after {
    background-color: transparent;
    height: 250%;
    transition: height .7s linear,background-color .6s linear
}
.red {color: #b41e1e;}
.shadow-lg {
    box-shadow: 0 .25rem 1.75rem rgba(30,34,40,.07)!important;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

header > .elementor-sticky--active {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}
.elementor-post__text {padding: 20px;}
article.elementor-post {margin-bottom: 20px;box-shadow: 0 .25rem 1.75rem rgba(30,34,40,.07)!important;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;}

.box-hover:hover {background: #3d9995;}
.box-hover:hover * {color: #fff;}
.elementor-button {cursor: pointer;}


/* --- Sidebar Wrapper --- */
.ortho-sidebar {
  font-family: "Poppins", sans-serif;
  color: #333;
  line-height: 1.6;
}

/* --- Section Titles --- */
.sidebar-title {
  color: #83C5C8;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 15px;
  margin-top: 0;
}

/* --- Popular Posts --- */
.popular-posts {
  margin-bottom: 30px;
}

.popular-post-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.popular-thumb img {
  width: 110px;
  height: 80px !important;
  object-fit: cover;
  border-radius: 10px !important;
  margin-right: 10px;
}

.popular-content {
  flex: 1;
}

.popular-title {
  display: block;
  color: #000;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
}

.popular-title:hover {
  color: #83C5C8;
}

.popular-date {
  color: #999;
  font-size: 13px;
  margin-top: 4px;
}

/* --- Categories --- */
.sidebar-categories {
  list-style: none;
  padding-left: 15px;
  margin-bottom: 25px;
}

.sidebar-categories li {
  margin-bottom: 6px;
  position: relative;
}

.sidebar-categories li::before {
  content: "•";
  color: #83C5C8;
  position: absolute;
  left: -12px;
  top: 0;
}

.sidebar-categories a {
  color: #0080b5;
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar-categories a:hover {
  color: #005f85;
}

/* --- Tags --- */
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sidebar-tags a {
  color: #0080b5;
  font-size: 13px;
  text-decoration: none;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.sidebar-tags a:hover {
  background: #ffffff;
  color: #fff;
  border-radius: 10px;
  transform: translateY(-.15rem);
  box-shadow: 0 .25rem .75rem rgba(30, 34, 40, .15);
}

.pages-sitemap ul {
  list-style-type: none;
  margin-left: 20px;
  padding-left: 0;
}

.pages-sitemap li {
  margin: 4px 0;
}

.pages-sitemap a {
  text-decoration: none;
  color: #0073aa;
}

.pages-sitemap a:hover {
  color: #005177;
  text-decoration: underline;
}