/* MyThemeShop Point Theme - Comprehensive CSS */

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, tbody, td, tfoot, th, thead, tr {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #e7e5e6;
    font-family: 'Open Sans', 'Droid Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

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

ol, ul {
    list-style: none;
}

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

a {
    color: #38b7ee;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2a8dc5;
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin: 10px 0;
    font-weight: bold;
}

h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p { margin: 0 0 15px 0; }

/* WordPress Emoji & Smiley */
img.wp-smiley,
img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}

/* ============================================
   STRUCTURE & MAIN CONTAINER
   ============================================ */

.main-container {
    max-width: 1080px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#page {
    position: relative;
}

#header {
    position: relative;
    background: #fff;
}

.main-header {
    padding: 20px 0;
    text-align: center;
}

#global-title {
    font-size: 12px;
    color: #999;
    margin: 0 0 10px 0;
    text-align: center;
}

#logo {
    text-align: center;
    margin-bottom: 15px;
}

#logo img,
#logo a {
    max-width: 310px;
    width: 100%;
    height: auto;
}

/* ============================================
   NAVIGATION
   ============================================ */

.secondary-navigation {
    background: #333;
    border-bottom: 3px solid #38b7ee;
}

#navigation {
    text-align: center;
}

#navigation ul.menu,
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #333;
}

#navigation ul.menu li,
.menu li {
    display: inline-block;
    position: relative;
}

#navigation ul.menu li a,
.menu li a {
    display: block;
    padding: 12px 18px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.3s ease;
}

#navigation ul.menu li a:hover,
.menu li:hover > a,
.menu .current-menu-item > a,
.current-menu-ancestor > a {
    background: #38b7ee;
    color: #fff;
}

.menu .current-menu-item,
.current-menu-ancestor {
    background: #38b7ee;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #38b7ee;
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.sub-menu li a {
    color: #fff;
    padding: 10px 15px;
    font-size: 12px;
    display: block;
}

.sub-menu li a:hover {
    background: #2a8dc5;
}

/* Trending Bar */
.trending-articles {
    background: #333;
    color: #fff;
    padding: 8px 15px;
    font-size: 12px;
    overflow-x: auto;
    border-top: 1px solid #222;
}

.trending-articles ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.trending-articles li {
    margin-right: 15px;
    white-space: nowrap;
}

.trending-articles li.firstlink {
    font-weight: bold;
    color: #38b7ee;
}

.trending-articles a {
    color: #ccc;
}

.trending-articles a:hover {
    color: #fff;
}

#pull {
    display: none;
}

/* ============================================
   CONTENT AREA
   ============================================ */

#page {
    display: flex;
}

.content {
    flex: 1;
    padding: 20px;
}

.inside {
    position: relative;
}

/* Featured Box */
.featuredBox {
    margin-bottom: 30px;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 4px;
}

.featured-thumbnail {
    position: relative;
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 4px;
}

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

.featured-cat {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #38b7ee;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

.featured-cat.cat4 { background: #38b7ee; }
.featured-cat.cat8 { background: #ff6b6b; }
.featured-cat.cat13 { background: #4ecdc4; }
.featured-cat.cat18 { background: #ffa502; }

.featured-title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    line-height: 1.4;
}

.featured-title a {
    color: #333;
}

.featured-title a:hover {
    color: #38b7ee;
}

.featured-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 8px 0;
}

/* Articles Grid */
.firstpost,
.secondpost,
.thirdpost {
    display: inline-block;
    width: calc(50% - 10px);
    margin-right: 10px;
    margin-bottom: 20px;
    vertical-align: top;
}

.firstpost {
    width: 100%;
    margin-right: 0;
}

.article {
    background: #f9f9f9;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.article:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.latest {
    margin-bottom: 20px;
}

.post-content {
    position: relative;
}

.excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 10px 0;
}

/* Post Info */
.post-info {
    font-size: 12px;
    color: #999;
    margin: 10px 0;
}

.post-info a {
    color: #38b7ee;
}

.post-info a:hover {
    color: #2a8dc5;
}

/* Carousel */
.carousel {
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 20px;
    border-top: 2px solid #38b7ee;
    border-bottom: 2px solid #38b7ee;
}

.carousel ul {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: flex;
    white-space: nowrap;
}

.carousel li {
    margin-right: 10px;
    flex-shrink: 0;
}

.carousel li img {
    width: 140px;
    height: 130px;
    object-fit: cover;
    border-radius: 4px;
}

.carousel a:hover img {
    opacity: 0.8;
}

/* ============================================
   SIDEBAR
   ============================================ */

#sidebars {
    width: 300px;
    padding: 20px;
    background: #f5f5f5;
    border-left: 1px solid #ddd;
}

.sidebar {
    position: relative;
}

.sidebar_list {
    margin-bottom: 25px;
}

.sidebar_list .footer-title {
    background: #38b7ee;
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 10px 0;
    border-radius: 4px;
}

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

.sidebar_list li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.sidebar_list li:last-child {
    border-bottom: none;
}

.sidebar_list li a {
    color: #38b7ee;
    font-size: 13px;
}

.sidebar_list li a:hover {
    color: #2a8dc5;
    text-decoration: underline;
}

/* Widget Styling */
.widget {
    margin-bottom: 20px;
}

.wpt_widget_content {
    background: #fff;
    padding: 10px 0;
}

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

.wpt_widget_content li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.wpt_widget_content li:last-child {
    border-bottom: none;
}

.wpt_widget_content a {
    color: #38b7ee;
    font-size: 12px;
}

.wpt_widget_content a:hover {
    color: #2a8dc5;
}

/* Tag Cloud */
.tagcloud {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
}

.tagcloud a {
    display: inline-block;
    margin: 3px;
    padding: 3px 8px;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 12px;
    color: #38b7ee;
}

.tagcloud a:hover {
    background: #38b7ee;
    color: #fff;
}

/* Tab Content */
.tab-content {
    display: none;
}

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

#tabber ul.tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    border-bottom: 2px solid #38b7ee;
}

#tabber ul.tabs li {
    flex: 1;
}

#tabber ul.tabs li a {
    display: block;
    padding: 10px;
    text-align: center;
    background: #f0f0f0;
    color: #333;
    font-weight: bold;
    border-right: 1px solid #ddd;
    transition: background 0.3s ease;
}

#tabber ul.tabs li a:hover {
    background: #e0e0e0;
}

#tabber ul.tabs li a.selected {
    background: #38b7ee;
    color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: #222;
    color: #ccc;
    padding: 30px 20px;
    border-top: 3px solid #38b7ee;
}

.footer-navigation {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-navigation a {
    color: #ccc;
    padding: 0 15px;
    font-size: 12px;
    border-right: 1px solid #444;
}

.footer-navigation a:last-child {
    border-right: none;
}

.footer-navigation a:hover {
    color: #38b7ee;
}

.foot-logo {
    text-align: center;
    margin-bottom: 20px;
}

.foot-logo img {
    max-width: 150px;
    height: auto;
}

.footer-title {
    color: #38b7ee;
    font-weight: bold;
    font-size: 14px;
    margin: 20px 0 10px 0;
}

footer .widget {
    margin-bottom: 20px;
}

footer .widget li a {
    color: #999;
    font-size: 12px;
}

footer .widget li a:hover {
    color: #38b7ee;
}

footer .textwidget {
    font-size: 12px;
    line-height: 1.6;
}

footer .textwidget a {
    color: #ccc;
}

footer .textwidget a:hover {
    color: #38b7ee;
}

.copyrights {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 15px;
    font-size: 11px;
    color: #888;
}

.copyright-text,
.copyright-left-text {
    font-size: 11px;
    color: #888;
    margin: 5px 0;
}

/* ============================================
   FORMS & BUTTONS
   ============================================ */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: #38b7ee;
    outline: none;
    box-shadow: 0 0 5px rgba(56, 183, 238, 0.3);
}

input#author:focus,
input#email:focus,
input#url:focus,
#commentform textarea:focus {
    border-color: #38b7ee;
}

button,
input[type="submit"],
input[type="button"],
.button,
.header-button {
    background-color: #38b7ee;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 13px;
    transition: background 0.3s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover,
.header-button:hover {
    background-color: #2a8dc5;
}

#commentform input#submit {
    background-color: #38b7ee;
    color: #fff;
}

.mts-subscribe input[type='submit'] {
    background-color: #38b7ee;
    color: #fff;
}

/* ============================================
   COMMENTS & FORMS
   ============================================ */

#commentform {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-top: 20px;
}

#commentform h3 {
    font-size: 16px;
    margin-top: 0;
}

#commentform a {
    color: #38b7ee;
}

.fn {
    font-weight: bold;
}

.fn a {
    color: #38b7ee;
}

.reply {
    margin-top: 10px;
}

.reply a {
    color: #38b7ee;
    font-size: 12px;
}

.single_post a {
    color: #38b7ee;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    text-align: center;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.pagination a {
    background-color: #38b7ee;
    color: #fff;
    transition: background 0.3s ease;
}

.pagination a:hover {
    background-color: #2a8dc5;
}

.pagination .current,
.pagination span.dots {
    background: #f0f0f0;
    color: #333;
    border-color: #ddd;
}

.nav-previous,
.nav-next {
    margin: 20px 0;
}

.nav-previous a,
.nav-next a {
    background-color: #38b7ee;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-block;
}

/* ============================================
   SINGLE POST / ARTICLE PAGE
   ============================================ */

.single_post {
    background: #fff;
    padding: 20px;
}

.single_post a {
    color: #38b7ee;
}

.single_post .post-info {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.single_post .post-info a {
    color: #38b7ee;
}

.single_post .related-posts {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.single_post .related-posts a:hover {
    color: #2a8dc5;
}

/* ============================================
   UTILITIES & HELPERS
   ============================================ */

.clear,
.cleared {
    clear: both;
}

.readMore {
    text-align: right;
}

.readMore a {
    color: #38b7ee;
    font-weight: bold;
}

.readMore a:hover {
    color: #2a8dc5;
}

.hover {
    transition: all 0.3s ease;
}

.latestPost-review-wrapper {
    background-color: #38b7ee;
    color: #fff;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.frontTitle {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.row > div {
    padding: 0 10px;
}

/* ============================================
   RESPONSIVE DESIGN (TABLET)
   ============================================ */

@media (max-width: 768px) {
    .main-container {
        max-width: 100%;
    }

    #page {
        flex-direction: column;
    }

    #sidebars {
        width: 100%;
        border-left: none;
        border-top: 1px solid #ddd;
    }

    .content {
        padding: 15px;
    }

    #navigation ul.menu {
        flex-direction: column;
    }

    #navigation ul.menu li {
        width: 100%;
    }

    #navigation ul.menu li a {
        padding: 15px;
        text-align: left;
    }

    .sub-menu {
        position: static;
        display: none;
        background: #222;
    }

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

    .firstpost,
    .secondpost,
    .thirdpost {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    #logo img {
        max-width: 100%;
        width: 100%;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    body {
        background: #fff;
    }

    .main-container {
        max-width: 100%;
        box-shadow: none;
    }

    #navigation,
    #sidebars,
    footer,
    .pagination,
    .nav-previous,
    .nav-next {
        display: none;
    }

    a {
        color: #333;
    }

    a[href]:after {
        content: none;
    }
}
