/* ==========================================================================
   RESPONSIVE.CSS
   Companion stylesheet for style.css — layout/spacing/sizing rules only.
   No colors or decorative properties are added here.

   BREAKPOINT MAP
   01. Large Desktop        (min-width: 1400px)
   02. Laptop / Small Desktop (max-width: 1199px)
   03. iPad Landscape / Tablet (max-width: 1024px)
   04. iPad Portrait          (max-width: 991px)
   05. Tablet / Large Phone   (max-width: 767px)
   06. Mobile Landscape       (max-width: 575px)
   07. Mobile / iPhone        (max-width: 480px)
   08. Small iPhone (SE)      (max-width: 374px)
   09. Landscape orientation fixes
   ========================================================================== */


/* ==========================================================================
   01. LARGE DESKTOP  (1400px and up)
   ========================================================================== */
@media screen and (min-width: 1400px) {
    :root {
        --sps-container: 1200px;
    }

    .header-topbar .container,
    .head-bar > .container {
        max-width: 1200px;
    }

    .footer-all {
        gap: 50px;
    }

    .banner-container {
        max-width: 1200px;
    }
}


/* ==========================================================================
   02. LAPTOP / SMALL DESKTOP  (max-width: 1199px)
   ========================================================================== */
@media screen and (max-width: 1199px) {
    .container,
    .header-topbar .container,
    .head-bar > .container,
    .banner-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .primary-menu {
        gap: 18px;
    }

    .main-navigation a {
        padding: 10px 12px;
        font-size: 16px;
    }

    #sidebar {
        width: 280px;
        flex: 0 0 280px;
        margin-right: 0;
    }

    .footer.ftr-widg {
        padding: 60px 30px 0 30px !important;
    }

    .footer-all {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }

    .rfl-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 31.33%;
        margin: 0 1% 20px;
        float: left;
    }
}


/* ==========================================================================
   03. IPAD LANDSCAPE / TABLET  (max-width: 1024px)
   ========================================================================== */
@media screen and (max-width: 1024px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 20px;
    }

    /* ----- Header topbar ----- */
    .header-topbar .container {
        flex-wrap: wrap;
        min-height: auto;
        padding: 10px 20px;
        row-gap: 8px;
    }

    .header-topbar .left {
        width: 100%;
        justify-content: center;
    }

    .header-topbar .right {
        width: 100%;
        margin-left: 0;
        justify-content: center;
    }

    .header-topbar .phntp,
    .header-topbar .emltp {
        line-height: 1.6;
        margin-right: 16px;
    }

    /* ----- Header inner ----- */
    .header-inner,
    .header > .container,
    .head-bar > .container {
        min-height: 70px;
        flex-wrap: wrap;
        gap: 14px;
    }

    .logo {
        min-height: auto !important;
        padding: 10px 0;
    }

    .logo img,
    .custom-logo {
        width: 212px;
    }

    .logo p.site-title,
    .site-title {
        font-size: 20px;
    }

    /* ----- Navigation ----- */
    #navigation {
        justify-content: flex-end;
    }

    .primary-menu {
        gap: 0;
    }

    /* ----- Header button ----- */
    .skt-header-button {
        padding: 14px 18px;
        font-size: 15px;
        height: auto;
    }

    /* ----- Layout / sidebar ----- */
    .page_content {
        flex-direction: column;
        gap: 30px;
        padding: 30px 0;
    }

    #sidebar {
        width: 100%;
        flex: 1 1 100%;
        margin-right: 0;
    }

    .site-main {
        width: 100%;
        flex: 1 1 100%;
    }

    /* ----- Banner ----- */
    .inner-banner-thumb {
        min-height: 200px;
    }

    .banner-container {
        padding: 40px 20px;
    }

    .banner-container h1 {
        font-size: 34px;
    }

    /* ----- Footer ----- */
    .footer.ftr-widg {
        padding: 50px 20px 0 20px !important;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .footer-all {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .rfl-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .copyright-wrapper .copyright-txt {
        padding: 20px 0;
    }

    /* ----- WooCommerce ----- */
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 31.33%;
        margin: 0 1% 20px;
    }

    /* ----- Extra: news columns ----- */
    .itl-newscol {
        width: 47%;
        margin: 0 3% 30px 0;
    }
    .itl-newscol:nth-child(2n) {
        margin-right: 0;
    }

    /* ----- Extra: lets-talk ----- */
    .lets-talk {
        width: 100%;
        float: none;
        top: 0;
        margin-bottom: 0;
    }

    .lets-talk-title {
        font-size: 36px;
        text-align: left;
        padding: 0;
    }
}


/* ==========================================================================
   04. IPAD PORTRAIT  (max-width: 991px)
   ========================================================================== */
@media screen and (max-width: 991px) {
    h1 { font-size: 30px; }
    h2 { font-size: 26px; }
    h3 { font-size: 22px; }

    .header-topbar {
        font-size: 14px;
    }

    .header-topbar .phntp,
    .header-topbar .emltp {
        font-size: 14px;
        margin-right: 12px;
    }

    .header-topbar .social-icons a {
        width: 26px;
        height: 26px;
    }

    #sidebar aside.widget,
    .widget {
        padding: 20px !important;
    }

    .footer-all {
        grid-template-columns: 1fr 1fr;
    }

    .itl-contact-us-form .wpcf7-form-control-wrap {
        width: 100%;
        padding: 10px 0;
    }

    .itl-contact-us-form .wpcf7-submit {
        float: none;
        display: inline-block;
        margin-top: 20px;
    }
}


/* ==========================================================================
   05. TABLET / LARGE PHONE  (max-width: 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
    body {
        font-size: 14.5px;
        line-height: 1.6;
    }

    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    h3 { font-size: 19px; }
    h4 { font-size: 17px; }

    .container {
        padding: 0 16px;
    }

    /* ----- Header topbar ----- */
    .header-topbar .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header-topbar .left,
    .header-topbar .right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-topbar .phntp,
    .header-topbar .emltp {
        margin: 4px 10px;
    }

    /* ----- Header / Logo ----- */
    .header > .container,
    .head-bar > .container {
        min-height: 64px;
        padding: 10px 16px;
    }

    .logo img,
    .custom-logo {
        width: 212px;
    }

    .logo p.site-title,
    .site-title {
        font-size: 18px;
    }

    .site-description {
        font-size: 12px;
    }

    .srcrt {
        width: 100%;
        order: 4;
    }

    .skt-header-button {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
    }

    /* ----- Banner ----- */
    .inner-banner-thumb {
        min-height: 160px;
    }

    .banner-container {
        padding: 30px 16px;
    }

    .banner-container h1 {
        font-size: 26px;
    }

    /* ----- Blog ----- */
    .blogpost-wrap-wsb {
        gap: 20px;
    }

    article.post .entry-header,
    article.hentry .entry-header,
    article.post .entry-content,
    article.hentry .entry-content,
    article.post .entry-summary,
    article.hentry .entry-summary,
    article.post .rdmore,
    article.hentry .rdmore,
    .blog-post article.post .entry-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .entry-title {
        font-size: 20px;
    }

    .postmeta {
        gap: 8px;
        font-size: 12px;
    }

    article.single-post {
        padding: 18px 14px;
    }

    /* ----- Pagination ----- */
    .pagination .nav-links a,
    .pagination .nav-links span {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }

    /* ----- Sidebar ----- */
    #sidebar {
        width: 100%;
        flex: 1 1 100%;
        font-size: 14px;
    }

    #sidebar aside.widget,
    .widget {
        padding: 18px !important;
        margin-bottom: 18px;
    }

    #sidebar h2, #sidebar h3, #sidebar h4,
    #sidebar h5, #sidebar h6, #sidebar .widget-title {
        font-size: 16px;
    }

    /* ----- Comments ----- */
    #comments {
        margin-top: 34px;
        padding-top: 20px;
    }

    .comments-title {
        font-size: 19px;
    }

    .comment-body {
        padding: 14px;
    }

    .comment-author {
        gap: 8px;
    }

    .comment-list .children {
        margin-left: 14px;
        padding-left: 0;
    }

    .comment-respond {
        padding: 18px;
    }

    /* ----- Footer ----- */
    .footer.ftr-widg {
        padding: 40px 16px 0 16px !important;
    }

    .footer-all {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rfl-row {
        grid-template-columns: 1fr;
    }

    .footer h1, .footer h2, .footer h3,
    .footer h4, .footer h5, .footer h6 {
        font-size: 19px;
        margin: 0 0 14px;
    }

    .o-layout {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .o-layout__left,
    .o-layout__right {
        text-align: center;
    }

    .c-footer-logo,
    .c-footer-social {
        padding: 20px 0;
        text-align: center;
    }

    .c-social-icons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .copyright-wrapper .copyright-txt {
        padding: 16px;
        text-align: center;
    }

    .copyright-left,
    .copyright-right {
        float: none;
        width: 100%;
        text-align: center;
    }

    /* ----- WooCommerce ----- */
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 48%;
        margin: 0 1% 20px;
    }

    .woocommerce table.shop_table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* ----- Tables ----- */
    table:not(.wp-block-table table):not(.widget_calendar table) {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* ----- Embeds ----- */
    .wp-block-embed__wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
        overflow: hidden;
    }

    .wp-block-embed__wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    /* ----- Extra: news columns ----- */
    .itl-newsarea {
        text-align: center;
    }

    .itl-newscol {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }

    /* ----- Extra: lets-talk ----- */
    .lets-talk-title {
        font-size: 28px;
        text-align: left;
    }

    .lets-talk form input[type="email"] {
        width: 100%;
        top: 0;
    }
}


/* ==========================================================================
   06. MOBILE LANDSCAPE  (max-width: 575px)
   ========================================================================== */
@media screen and (max-width: 575px) {
    .container {
        padding: 0 14px;
    }

    h1 { font-size: 23px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }

    .header-topbar .phntp,
    .header-topbar .emltp {
        font-size: 13px;
        margin: 3px 6px;
    }

    .logo img,
    .custom-logo {
        width: 130px;
    }

    .banner-container h1 {
        font-size: 22px;
    }

    .inner-banner-thumb {
        min-height: 140px;
    }

    article.post .post-thumb,
    article.hentry .post-thumb {
        aspect-ratio: 4 / 3;
    }

    .entry-title {
        font-size: 18px;
    }

    .postmeta {
        gap: 6px;
    }

    .pagination .nav-links {
        gap: 6px;
    }

    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 100%;
        margin: 0 0 16px;
        float: none;
        display: block;
    }

    .comment-author {
        flex-wrap: wrap;
    }

    .footer h1, .footer h2, .footer h3,
    .footer h4, .footer h5, .footer h6 {
        font-size: 17px;
    }
}


/* ==========================================================================
   07. MOBILE / IPHONE  (max-width: 480px)
   ========================================================================== */
@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 14px;
    }

    h1 { font-size: 22px; }
    h2 { font-size: 19px; }
    h3 { font-size: 17px; }
    h4 { font-size: 16px; }

    .header-topbar .container {
        padding: 10px 14px;
    }

    .header-topbar .phntp,
    .header-topbar .emltp {
        width: 100%;
        justify-content: center;
        margin: 3px 0;
    }

    .header-topbar .social-icons {
        margin-top: 6px;
    }

    .header > .container,
    .head-bar > .container {
        padding: 8px 14px;
        gap: 10px;
    }

    .logo img,
    .custom-logo {
        width: 120px;
    }

    .logo p.site-title,
    .site-title {
        font-size: 16px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .skt-header-button {
        font-size: 14px;
        padding: 10px 14px;
    }

    .inner-banner-thumb {
        min-height: 130px;
    }

    .banner-container {
        padding: 24px 14px;
    }

    .banner-container h1 {
        font-size: 20px;
    }

    .page_content {
        gap: 20px;
        padding: 24px 0;
    }

    article.post .entry-header,
    article.hentry .entry-header,
    article.post .entry-content,
    article.hentry .entry-content,
    article.post .entry-summary,
    article.hentry .entry-summary,
    article.post .rdmore,
    article.hentry .rdmore {
        padding-left: 14px;
        padding-right: 14px;
    }

    .entry-title {
        font-size: 17px;
    }

    .postmeta {
        font-size: 11px;
    }

    #sidebar aside.widget,
    .widget {
        padding: 14px !important;
    }

    .pagination .nav-links a,
    .pagination .nav-links span {
        min-width: 30px;
        height: 30px;
        padding: 0 8px;
        font-size: 12px;
    }

    .comment-body,
    .comment-respond {
        padding: 12px;
    }

    .comment-author .avatar {
        width: 40px;
        height: 40px;
    }

    .footer.ftr-widg {
        padding: 30px 14px 0 14px !important;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .footerarea {
        padding: 30px 0 16px;
    }

    .c-social-icons__link {
        width: 42px;
        height: 42px;
    }

    .lets-talk-title {
        font-size: 22px;
    }

    .itl-newstitle h3 {
        font-size: 18px;
    }
}


/* ==========================================================================
   08. SMALL IPHONE (SE and below)  (max-width: 374px)
   ========================================================================== */
@media screen and (max-width: 374px) {
    .container {
        padding: 0 12px;
    }

    h1 { font-size: 20px; }
    h2 { font-size: 18px; }

    .logo img,
    .custom-logo {
        width: 105px;
    }

    .banner-container h1 {
        font-size: 18px;
    }

    .entry-title {
        font-size: 16px;
    }

    .skt-header-button {
        font-size: 13px;
        padding: 9px 12px;
    }

    .main-navigation a {
        font-size: 14px;
        padding: 12px 18px;
    }

    .pagination .nav-links a,
    .pagination .nav-links span {
        min-width: 28px;
        height: 28px;
        padding: 0 6px;
        font-size: 11px;
    }
}


/* ==========================================================================
   09. LANDSCAPE ORIENTATION FIXES
   ========================================================================== */
@media screen and (max-width: 900px) and (orientation: landscape) {
    .inner-banner-thumb {
        min-height: 140px;
    }

    .banner-container {
        padding: 20px 16px;
    }

    .main-navigation > div > ul,
    .main-navigation > ul {
        padding: 70px 0 30px;
    }
}


/* ==========================================================================
   10. TOUCH DEVICE / HOVER FALLBACK
   ========================================================================== */
@media (hover: none) and (pointer: coarse) {
    .main-navigation ul ul {
        transition: none;
    }
}