/*!
Theme Name: Insight Laser
Theme URI: https://insightlasereyecenter.com
Author: Rindy Portfolio
Author URI: https://rindyportfolio.com
Description: A WordPress starter theme based on Underscores. Clean, simple, and PHP 8 compatible.
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: insight-medical
Domain Path: /languages

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

Insight Medical 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/
*/

/* ========================================================================
   Normalize
   ======================================================================== */

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
    display: block;
}

summary {
    display: list-item;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

progress {
    vertical-align: baseline;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/* ========================================================================
   Base Styles
   ======================================================================== */

html,
body {
    height: 100%;
}

body {
    background-color: #ffffff;
    color: #000000;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5rem;
    border-left: 4px solid #0693e3;
    padding-left: 1rem;
    color: #666;
}

address {
    margin-bottom: 1.5rem;
    font-style: normal;
    line-height: 1.5;
}

pre {
    background: #f5f5f5;
    color: #333;
    font-family: "Courier 10 Pitch", courier, monospace;
    font-size: 15px;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
    padding: 1.6rem;
    overflow: auto;
    max-width: 100%;
}

code,
kbd,
tt,
var {
    font-family: monaco, "Courier New", monospace;
    font-size: 15px;
    font-size: 1rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9e6;
    text-decoration: none;
}

big {
    font-size: 125%;
}

a {
    color: #0693e3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus,
a:active {
    color: #005a87;
    text-decoration: underline;
}

/* ========================================================================
   Layout
   ======================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
    padding: 3rem 0;
}

/* ========================================================================
   Header & Navigation
   ======================================================================== */

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-logo-link {
    display: inline-block;
    margin-right: 1rem;
}

.custom-logo {
    max-width: 100%;
    height: auto;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    color: #000000;
    text-decoration: none;
}

.site-title a:hover {
    color: #0693e3;
}

.site-description {
    font-size: 0.875rem;
    margin: 0.5rem 0 0 0;
    color: #666666;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navigation ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.main-navigation a {
    display: block;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item > a,
.main-navigation li.current-menu-parent > a {
    color: #0693e3;
}

.main-navigation li {
    position: relative;
}

.main-navigation ul ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: none;
    min-width: 200px;
    padding: 0.5rem 0;
    z-index: 1001;
    gap: 0;
}

.main-navigation li:hover > ul {
    display: flex;
}

.main-navigation ul ul li {
    width: 100%;
    position: relative;
}

.main-navigation ul ul a {
    padding: 0.75rem 1.5rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000000;
    padding: 0.5rem;
    line-height: 1;
}

.menu-toggle:hover {
    color: #0693e3;
}

/* Mobile Menu */
@media screen and (max-width: 768px) {
    .site-branding {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .main-navigation {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        display: none;
        width: 100%;
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation ul ul {
        position: static;
        border: none;
        padding-left: 1.5rem;
        background: #f5f5f5;
        margin-top: 0.5rem;
    }

    .main-navigation li:hover > ul {
        display: flex;
    }

    .main-navigation a {
        display: block;
        padding: 0.75rem 0;
    }

    .menu-toggle {
        display: block;
        align-self: flex-start;
    }
}

/* ========================================================================
   Posts & Pages
   ======================================================================== */

.posts-navigation,
.posts-pagination,
.post-navigation {
    margin: 2rem 0;
    text-align: center;
}

.post,
.page {
    margin-bottom: 2rem;
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    margin: 0 0 1rem 0;
}

.entry-title a {
    text-decoration: none;
}

.entry-meta {
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 1rem;
}

.entry-content {
    line-height: 1.8;
}

.entry-content > *:last-child {
    margin-bottom: 0;
}

.entry-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.entry-footer span {
    display: block;
    margin-bottom: 0.5rem;
}

.entry-footer a {
    margin-right: 0.5rem;
}

/* Featured Image */
.post-thumbnail {
    margin-bottom: 1.5rem;
}

.post-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

/* Comments */
.comments-area {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

.comments-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list li {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f5f5f5;
}

.comment-list li li {
    margin-left: 2rem;
}

.comment-author {
    font-weight: 600;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #666666;
}

.comment-text {
    margin-top: 0.5rem;
}

/* ========================================================================
   Sidebar
   ======================================================================== */

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li a {
    text-decoration: none;
}

.widget ul li a:hover {
    text-decoration: underline;
}

/* ========================================================================
   Footer
   ======================================================================== */

.site-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 3rem 0 2rem 0;
    color: #666666;
    margin-top: auto;
}

.site-footer a {
    color: #0693e3;
}

.site-footer a:hover {
    color: #005a87;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.875rem;
    color: #999999;
}

/* ========================================================================
   Forms
   ========================================================================  */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background-color: #0693e3;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: #005a87;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px 5px;
    max-width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
    border-color: #0693e3;
}

textarea {
    width: 100%;
}

/* ========================================================================
   Accessibility
   ======================================================================== */

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ========================================================================
   Alignments
   ======================================================================== */

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

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

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

/* ========================================================================
   Utility Classes
   ======================================================================== */

.clear:before,
.clear:after {
    content: " ";
    display: table;
}

.clear:after {
    clear: both;
}
