/*
Theme Name: Harquin
Theme URI: https://harquin.com/
Author: Harquin Creative Group
Author URI: https://harquin.com/
Description: A custom WordPress theme for Harquin Creative Group based on their website design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: harquin
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #707070;
    line-height: 1.3;
    background-color: #f4f4f4;
}

p {
    margin: 12px 0;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header styles */
.site-header {
    /*background-image: url('assets/images/headerbg.png');*/
    color: white;
    padding: 20px 0 0;

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#f26722+0,f37231+9,f37333+12,f47437+13,f47d44+21,f47c47+21,f47e4c+25,f68354+28,f48649+40,f68647+41,f7873c+52,f68c28+72,f88d22+74,f78d1f+79,f6883a+89,f6883d+91,f6854d+97,f58351+100,f68252+100,f6895c+100,f6895c+100 */
    background: linear-gradient(to right, #f26722 0%, #f37231 9%, #f37333 12%, #f47437 13%, #f47d44 21%, #f47c47 21%, #f47e4c 25%, #f68354 28%, #f48649 40%, #f68647 41%, #f7873c 52%, #f68c28 72%, #f88d22 74%, #f78d1f 79%, #f6883a 89%, #f6883d 91%, #f6854d 97%, #f58351 100%, #f68252 100%, #f6895c 100%, #f6895c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    max-width: 200px;
}

.site-tagline {
    font-style: italic;
    margin-left: 20px;
    color: #fff;
}

.header-contact {
    text-align: right;
}

.header-contact p {
    margin: 5px 0;
}

/* Navigation styles */
.main-navigation {
    background-color: #006666; /* Teal color from the screenshot */
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
}

.main-menu {
    list-style: none;
    display: flex;
    margin: 0;
    font-weight: bold;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    color: white;
    margin: 15px 0;
    padding: 0 20px;
    display: block;
    text-transform: lowercase;
}


@media (min-width: 769px) {
    .main-menu li:not(:last-child) a {
        border-right: 1px solid #f47321;
    }
}

.main-menu a:hover {
    background-color: #005555;
}

/* Hamburger Menu Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1000;
}

/* Hide hamburger on desktop */
@media (min-width: 801px) {
    .menu-toggle {
        display: none !important;
    }
    
    .main-menu {
        display: flex !important;
    }
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger animation when menu is toggled */
.main-navigation.toggled .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.main-navigation.toggled .hamburger-line:nth-child(2) {
    opacity: 0;
}

.main-navigation.toggled .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Content area */
.site-content {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Main content area */
.content-area {
    display: flex;
    flex-wrap: wrap;
}

.main-content {
    flex: 2;
    padding-right: 20px;
}

.sidebar {
    flex: 1;
    padding-left: 20px;
    border-left: 1px solid #eee;
}

/* Two sidebars layout */
.content-area-two-sidebars {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.content-area-two-sidebars .main-content {
    flex: 2;
    order: 2;
    padding: 0 20px;
}

.content-area-two-sidebars .sidebar-left {
    flex: 1;
    order: 1;
    padding-right: 20px;
    border-left: none;
    border-right: 1px solid #eee;
}

.content-area-two-sidebars .sidebar-right {
    flex: 1;
    order: 3;
    padding-left: 20px;
    border-left: 1px solid #eee;
}

/* Left sidebar layout */
.content-area-left-sidebar {
    display: flex;
    flex-wrap: wrap;
}

.content-area-left-sidebar .main-content {
    flex: 2;
    order: 2;
    padding-left: 20px;
    padding-right: 0;
}

.content-area-left-sidebar .sidebar-left {
    flex: 1;
    order: 1;
    padding-left: 0;
    padding-right: 20px;
    border-left: none;
    border-right: 1px solid #eee;
    max-width: 205px;
}

/* Feature boxes */
.feature-boxes {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}

.feature-box {
    flex: 1;
    min-width: 300px;
    margin: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.feature-box h3 {
    color: #f47321;
    margin-bottom: 10px;
}

/* Footer styles */
.site-footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive styles */
@media (max-width: 800px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .header-contact {
        text-align: center;
        margin-top: 15px;
    }

    /* Hamburger menu for mobile */
    .menu-toggle {
        display: block;
        /*position: absolute;
        top: 15px;
        right: 20px;*/
    }

    .nav-container {
        position: relative;
        padding: 15px 0;
    }

    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #006666;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .main-navigation.toggled .main-menu {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .main-menu li {
        border-bottom: 1px solid #005555;
    }

    .main-menu li:last-child {
        border-bottom: none;
    }

    .main-menu a {
        padding: 15px 20px;
        margin: 0;
        border-right: none;
    }

    .content-area,
    .content-area-two-sidebars,
    .content-area-left-sidebar {
        flex-direction: column;
    }

    .main-content,
    .sidebar,
    .content-area-two-sidebars .main-content,
    .content-area-two-sidebars .sidebar-left,
    .content-area-two-sidebars .sidebar-right,
    .content-area-left-sidebar .main-content,
    .content-area-left-sidebar .sidebar-left {
        padding: 0;
        order: initial;
    }

    .sidebar,
    .content-area-two-sidebars .sidebar-left,
    .content-area-two-sidebars .sidebar-right,
    .content-area-left-sidebar .sidebar-left {
        border-left: none;
        border-right: none;
        border-top: 1px solid #eee;
        margin-top: 20px;
        padding-top: 20px;
        margin-bottom: 50px;
    }
}

/* News Article Styles */
.news-archive-list {
    margin: 30px 0;
}

.news-archive-list .news-article-card {
    margin-bottom: 30px;
}

.news-article-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.news-article-content {
    display: flex;
    flex-direction: column;
}

.news-article-image {
    overflow: hidden;
}

.news-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.news-article-card:hover .news-thumbnail {
    transform: scale(1.05);
}

.news-article-text {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-article-card .entry-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-article-card .entry-title a {
    color: #333;
    text-decoration: none;
}

.news-article-card .entry-title a:hover {
    color: #f47321;
}

.news-article-card .entry-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.news-article-card .entry-summary {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
    flex-grow: 1;
}

.news-article-footer {
    margin-top: auto;
}

.read-more {
    display: inline-block;
    background-color: #f47321;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.read-more:hover {
    background-color: #e0651a;
    color: white;
}

/* Single News Article Styles */
.news-article-single {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-article-single .entry-title {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.news-article-single .entry-meta {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95em;
    color: #666;
}


.news-article-featured-image {
    margin: 25px 0;
    text-align: center;
}

.news-featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-article-single .entry-content {
    line-height: 1.8;
    color: #333;
    margin: 25px 0;
}

.news-article-single .entry-content p {
    margin-bottom: 1.2em;
}

.news-article-single .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
}

.news-article-single .entry-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    float: none !important;
    display: block;
}


.news-navigation {
    margin-top: 30px;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nav-previous,
.nav-next {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background: #e9ecef;
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
    color: #333;
    display: block;
}

.nav-subtitle {
    display: block;
    font-size: 0.8em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 600;
    line-height: 1.3;
}

.nav-next {
    text-align: right;
}

/* Page Header Styles */
.page-header {
    margin-bottom: 40px;
    text-align: center;
    padding: 40px 0;
    background: #f47321;
    color: white;
    border-radius: 8px;
}

.page-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.archive-description {
    font-size: 1.1em;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Pagination Styles */
.navigation.pagination {
    margin: 40px 0;
    text-align: center;
}

.nav-links {
    display: inline-flex;
    gap: 10px;
}

.page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: #f47321;
    color: white;
    border-color: #f47321;
}

/* No Posts Styles */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.no-posts h2 {
    color: #666;
    margin-bottom: 15px;
}

.no-posts p {
    color: #888;
    font-size: 1.1em;
}

/* Responsive News Styles */
@media (max-width: 768px) {
    .news-archive-list .news-article-card {
        margin-bottom: 20px;
    }

    .news-article-single {
        padding: 20px;
    }

    .news-article-single .entry-title {
        font-size: 1.8em;
    }

    .page-title {
        font-size: 2em;
    }

    .nav-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nav-next {
        text-align: left;
    }
}

.XOText {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #707070;
}

.XOSmall {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #006666;
}

.XOBig, .xoBig {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    color: #672066;
}

.XOBlue {
    color: #672066;
}

.XOTitle {
    color: #006666;
    font-weight: bold;
    font-size: 13px;
}

.XOTitleBlue {
    color: #672066;
    font-weight: bold;
    font-size: 13px;
}

.XOLink {
    color: #672066;
    text-decoration: none;
}

.XOLink:hover {
    color: #FF6633;
}

.XOMenu {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9pt;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1.5;
}

.XOMenu:hover {
    color: #FEA61A;
}

.XOHeader {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    color: #FFFFFF;
    font-weight: bold;
}

.XOHeaderLink {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 8pt;
    color: #FFFFFF;
}

.XOHeaderLink:hover {
    color: #E0E0E0;
}

.XOLeftText {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #606060;
    line-height: 1.7;
}

.XOLeftTitle, .xoLeftTitle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    color: #672066;
    line-height: 1.2;
    font-weight: normal;
}

.XOOrange {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9pt;
    color: #FF6633;
}

.active-menu-item a {
    color: #FEA61A;
}

ul {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #006666;
    font-weight: bold;
    text-align: left;
    line-height: 1.7;
}

.XOYear {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #006666;
    font-weight: bold;
}

a.XOYear:hover {
    color: #006666;
}

.XOGrey {
    color: #58595B;
}

td.xoBlue {
    padding-left: 10px;
}

/* POV Shortcode Styles */
.pov-articles {
    margin: 20px 0;
    list-style: disc;
    padding-left: 20px;
}

.pov-article {
    margin-bottom: 25px;
}

.pov-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #006666;
    margin-bottom: 8px;
    line-height: 1.3;
}

.pov-title a {
    color: #006666;
    text-decoration: none;
}

.pov-title a:hover {
    color: #f47321;
}

.pov-abstract {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #707070;
    line-height: 1.5;
    margin-left: 20px;
    /*text-indent: -20px;*/
}

/* Responsive POV styles */
@media (max-width: 768px) {
    .pov-articles {
        padding-left: 15px;
    }
    
    .pov-abstract {
        margin-left: 15px;
        text-indent: -15px;
    }
}

/* Sidebar Widget Styles */
.sidebar-widget {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
}

.widget-title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #006666;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f47321;
}

.recent-articles-list,
.categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.recent-articles-list li,
.categories-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.recent-articles-list li:last-child,
.categories-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-articles-list a,
.categories-list a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #006666;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.recent-articles-list a:hover,
.categories-list a:hover {
    color: #f47321;
}

/* Responsive sidebar styles */
@media (max-width: 768px) {
    .sidebar-widget {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .widget-title {
        font-size: 14px;
    }
}

