/*
Theme Name: Lim Hello Elementor Child
Description: Custom child theme for Everest website.
Author: Lim
Template: hello-elementor
Version: 1.0.0
Text Domain: lim-hello-elementor-child
*/

/* Custom CSS will go below */  

/*CUSTOM FORM*/
/* =========================================================
   DAVID LIM CONTACT FORM - COMPLETE STYLING
========================================================= */

.david-contact-form {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;

    font-family: inherit;
    color: #1f2933;
}


/* =========================================================
   TWO COLUMN ROW
========================================================= */

.david-contact-form .david-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 20px;

    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   FORM GROUP
========================================================= */

.david-contact-form .david-form-group {
    width: 100%;

    margin: 0 0 18px 0;
    padding: 0;

    box-sizing: border-box;
}


.david-contact-form .david-full-width {
    width: 100%;
}


/* =========================================================
   LABELS
========================================================= */

.david-contact-form label {
    display: block;

    margin: 0 0 7px 0;
    padding: 0;

    color: #1c2733;

    font-size: 14px;
    line-height: 1.4;

    font-weight: 600;

    letter-spacing: 0;
}


/* REQUIRED STAR */

.david-contact-form .required {
    color: #d62828;

    font-size: 14px;
    font-weight: 700;
}


/* =========================================================
   CF7 WRAPPERS
========================================================= */

.david-contact-form .wpcf7-form-control-wrap {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;
}


/* =========================================================
   INPUTS
========================================================= */

.david-contact-form input[type="text"],
.david-contact-form input[type="email"],
.david-contact-form input[type="tel"],
.david-contact-form input[type="number"],
.david-contact-form select,
.david-contact-form textarea {

    display: block;

    width: 100%;

    margin: 0;
    padding: 12px 14px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #d3d9df;
    border-radius: 3px;

    color: #1f2933;

    font-family: inherit;

    font-size: 14px;
    line-height: 1.45;

    font-weight: 400;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}


/* INPUT HEIGHT */

.david-contact-form input[type="text"],
.david-contact-form input[type="email"],
.david-contact-form input[type="tel"],
.david-contact-form input[type="number"],
.david-contact-form select {
    min-height: 46px;
}


/* =========================================================
   TEXTAREA
========================================================= */

.david-contact-form textarea {

    min-height: 145px;
    height: 145px;

    resize: vertical;

    padding-top: 13px;
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.david-contact-form input::placeholder,
.david-contact-form textarea::placeholder {

    color: #8a929a;

    font-size: 14px;

    font-weight: 400;

    opacity: 1;
}


/* =========================================================
   FOCUS
========================================================= */

.david-contact-form input[type="text"]:focus,
.david-contact-form input[type="email"]:focus,
.david-contact-form input[type="tel"]:focus,
.david-contact-form input[type="number"]:focus,
.david-contact-form select:focus,
.david-contact-form textarea:focus {

    border-color: #0b438e;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(11, 67, 142, 0.08);
}


/* =========================================================
   SUBMIT BUTTON WRAPPER
========================================================= */

.david-contact-form .david-form-submit {

    width: 100%;

    margin: 6px 0 0 0;

    padding: 0;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.david-contact-form input[type="submit"] {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 220px;
    min-height: 48px;

    margin: 0;

    padding: 13px 30px;

    border: none;
    border-radius: 3px;

    background: #073d89;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;
    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.4px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.david-contact-form input[type="submit"]:hover {

    background: #052e68;

    transform: translateY(-1px);

    box-shadow:
        0 6px 14px rgba(7, 61, 137, 0.2);
}


/* =========================================================
   CONTACT FORM 7 <p> AND <br> FIX
========================================================= */

.david-contact-form p {

    margin: 0 !important;

    padding: 0 !important;
}


.david-contact-form br {

    display: none !important;

    height: 0 !important;

    line-height: 0 !important;

    margin: 0 !important;

    padding: 0 !important;
}


.david-contact-form label + br,
.david-contact-form .wpcf7-form-control-wrap + br,
.david-contact-form p > br {

    display: none !important;
}


/* =========================================================
   REMOVE EXTRA CF7 SPACING
========================================================= */

.david-contact-form .wpcf7-form-control {

    margin-top: 0 !important;

    margin-bottom: 0 !important;
}


.david-contact-form .wpcf7-form-control-wrap {

    line-height: normal !important;
}


.david-contact-form p:empty {

    display: none !important;
}


/* =========================================================
   VALIDATION
========================================================= */

.david-contact-form .wpcf7-not-valid {

    border-color: #d62828 !important;
}


.david-contact-form .wpcf7-not-valid-tip {

    display: block;

    margin: 5px 0 0 0;

    color: #d62828;

    font-size: 12px;
    line-height: 1.35;

    font-weight: 500;
}


/* =========================================================
   RESPONSE MESSAGE
========================================================= */

.wpcf7 form .wpcf7-response-output {

    margin: 18px 0 0 0 !important;

    padding: 12px 14px !important;

    border-radius: 3px;

    font-size: 13px;
    line-height: 1.5;

    font-weight: 500;
}


/* =========================================================
   SPINNER
========================================================= */

.david-contact-form .wpcf7-spinner {

    margin: 0 0 0 10px !important;
}


/* =========================================================
   SELECT DROPDOWN
========================================================= */

.david-contact-form select {

    appearance: none;

    background-color: #ffffff;

    cursor: pointer;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .david-contact-form .david-form-row {

        gap: 16px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .david-contact-form .david-form-row {

        grid-template-columns: 1fr;

        gap: 0;
    }


    .david-contact-form .david-form-group {

        margin-bottom: 15px;
    }


    .david-contact-form label {

        font-size: 14px;

        margin-bottom: 6px;
    }


    .david-contact-form input[type="text"],
    .david-contact-form input[type="email"],
    .david-contact-form input[type="tel"],
    .david-contact-form input[type="number"],
    .david-contact-form select {

        min-height: 46px;

        font-size: 14px;
    }


    .david-contact-form textarea {

        min-height: 135px;

        height: 135px;

        font-size: 14px;
    }


    .david-contact-form input[type="submit"] {

        width: 100%;

        min-width: 0;

        min-height: 48px;

        font-size: 13px;
    }

}



/* =========================================
   CLIMBING RESUME SECTION
========================================= */

.climbing-resume-section {
    width: 100%;
}


/* =========================================
   TIMELINE GRID
========================================= */

.climbing-timeline-grid {
    display: grid !important;
    grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 0 !important;
}


/* =========================================
   EACH ITEM
========================================= */

.climbing-timeline-item {
    position: relative !important;

    width: 100% !important;
    min-width: 0 !important;

    text-align: center !important;

    align-items: center !important;

    padding: 0 7px !important;

    box-sizing: border-box !important;
}


/* =========================================
   YEAR
========================================= */

.climbing-year {
    margin-bottom: 12px !important;
}

.climbing-year .elementor-heading-title {
    color: #082F66 !important;

    font-size: 15px !important;
    line-height: 1.2 !important;

    font-weight: 700 !important;

    text-align: center !important;

    margin: 0 !important;
}


/* =========================================
   DOT + LINE
========================================= */

.climbing-dot-line {
    position: relative !important;

    width: 100% !important;
    height: 2px !important;

    background: #082F66 !important;

    margin: 0 0 20px 0 !important;

    padding: 0 !important;
}

.climbing-dot-line::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 12px;
    height: 12px;

    background: #082F66;

    border-radius: 50%;

    transform: translate(-50%, -50%);
}


/* =========================================
   PLACE TITLE
========================================= */

.climbing-place-title {
    margin-bottom: 5px !important;
}

.climbing-place-title .elementor-heading-title {
    color: #082F66 !important;

    font-size: 15px !important;
    line-height: 1.05 !important;

    font-weight: 700 !important;

    text-align: center !important;

    margin: 0 !important;
}


/* =========================================
   DESCRIPTION
========================================= */

.climbing-place-desc,
.climbing-place-desc p {
    margin: 0 !important;

    color: #222222 !important;

    font-size: 13px !important;
    line-height: 1.25 !important;

    font-weight: 400 !important;

    text-align: center !important;
}


/* =========================================
   TABLET
   3 ITEMS PER ROW
========================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .climbing-timeline-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

        column-gap: 18px !important;
        row-gap: 36px !important;
    }

    .climbing-timeline-item {
        padding: 0 8px !important;
    }

    .climbing-year .elementor-heading-title {
        font-size: 16px !important;
    }

    .climbing-place-title .elementor-heading-title {
        font-size: 15px !important;
    }

    .climbing-place-desc,
    .climbing-place-desc p {
        font-size: 13px !important;
    }
}


/* =========================================
   MOBILE
   2 ITEMS PER ROW
========================================= */

@media (max-width: 767px) {

    .climbing-timeline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

        column-gap: 14px !important;
        row-gap: 32px !important;
    }

    .climbing-timeline-item {
        padding: 0 5px !important;
    }

    .climbing-year {
        margin-bottom: 10px !important;
    }

    .climbing-year .elementor-heading-title {
        font-size: 15px !important;
    }

    .climbing-dot-line {
        margin-bottom: 16px !important;
    }

    .climbing-place-title .elementor-heading-title {
        font-size: 14px !important;
        line-height: 1.1 !important;
    }

    .climbing-place-desc,
    .climbing-place-desc p {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
}




/*REMOVED BORDER*/
@media (max-width: 768px) {
  .no-border-line {
    border-right: none !important;
  }
}

@media (max-width: 576px) {
  .no-border-mobile {
    border-right: none !important;
  }
}



/*ESPEDITION ARTICLES PAGE*/
/* =========================================================
   EXPEDITIONS A-Z PAGE
========================================================= */

.expeditions-az-page {
    width: 100%;
    padding: 45px 0 70px;
    background: #ffffff;
}

.expeditions-az-wrap {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);

    gap: 40px;

    align-items: start;
}


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

.expeditions-sidebar {
    width: 100%;
}

.expeditions-twitter-box {
    padding: 18px;

    background: #f8fbfe;

    border: 1px solid #dce4ec;
    border-radius: 4px;
}

.expeditions-twitter-box h3 {
    margin: 0;
    color: #0b2b5a;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.expeditions-small-line {
    width: 34px;
    height: 2px;
    margin: 11px 0 18px;
    background: #EEA32Ds;
}


/* =========================================================
   TWITTER PLACEHOLDER
========================================================= */

.expeditions-twitter-placeholder {
    padding: 14px;

    background: #ffffff;

    border: 1px solid #e1e6eb;
    border-radius: 3px;

    color: #253240;

    font-size: 13px;
    line-height: 1.5;
}

.twitter-profile-row {
    display: flex;
    align-items: center;

    gap: 9px;

    margin: 13px 0;
}

.twitter-avatar {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #000000;
    color: #ffffff;

    font-size: 12px;
}

.twitter-profile-row strong {
    display: block;

    color: #152536;

    font-size: 12px;
}

.twitter-profile-row span {
    display: block;

    color: #697785;

    font-size: 11px;
}

.expeditions-twitter-placeholder p {
    margin: 0;
}

.expeditions-view-x {
    display: inline-block;
    margin-top: 18px;
    color: #0b2b5a;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none;
}

.expeditions-view-x:hover {
    color: #EEA32D;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.expeditions-main-content {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   PAGE HEADING
========================================================= */

.expeditions-page-heading {
    margin-bottom: 18px;
}

.expeditions-page-heading h1 {
    margin: 0;
    color: #0b2b5a;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.expeditions-heading-line {
    width: 48px;
    height: 3px;
    margin-top: 10px;
    background: #EEA32D;
}


/* =========================================================
   LIST
========================================================= */

.expeditions-list {
    display: flex;
    flex-direction: column;

    gap: 5px;

    width: 100%;
}


/* =========================================================
   EACH ITEM
========================================================= */

.expedition-list-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 28px;

    align-items: center;

    width: 100%;
    min-height: 53px;

    padding: 0 12px 0 8px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #dfe5eb;
    border-radius: 4px;

    color: #082f66;

    text-decoration: none;

    box-shadow: 0 2px 7px rgba(8, 47, 102, 0.04);

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.expedition-list-item:hover {
    background: #f7faff;

    border-color: #bdcddd;

    transform: translateX(3px);

    box-shadow: 0 4px 11px rgba(8, 47, 102, 0.07);
}


/* =========================================================
   ICON
========================================================= */

.expedition-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f2f7fc;
    color: #0b2b5a;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.expedition-list-item:hover .expedition-icon {
    background: #0b2b5a;
    color: #ffffff;
}


/* =========================================================
   TITLE
========================================================= */

.expedition-title {
    padding-left: 10px;
    color: #0b2b5a;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 600;
}


/* =========================================================
   ARROW
========================================================= */

.expedition-arrow {
    justify-self: end;
    color: #0b2b5a;
    font-size: 27px;
    line-height: 1;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.expedition-list-item:hover .expedition-arrow {
    transform: translateX(3px);
}


/* =========================================================
   SHARE BUTTONS
========================================================= */

.expeditions-share-row {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 35px;

    margin: 28px 0;
}

.expeditions-share-row a {
    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 11px;
    line-height: 1;
    font-weight: 600;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.expeditions-share-row a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}


/* X */

.expeditions-share-x {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    padding: 6px 13px;

    background: #000000;
    color: #ffffff;

    border-radius: 18px;
}


/* LINKEDIN */

.expeditions-share-linkedin {
    display: inline-flex;
    align-items: center;

    overflow: hidden;

    padding-right: 9px;

    background: #0a66c2;
    color: #ffffff;

    border-radius: 2px;
}

.expeditions-linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: stretch;

    min-width: 26px;

    margin-right: 6px;

    padding: 5px;

    box-sizing: border-box;

    background: #ffffff;
    color: #0a66c2;

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   RESPONSE BOX
========================================================= */

.expeditions-response-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    width: 100%;

    padding: 20px 22px;

    box-sizing: border-box;

    background: #f7faff;

    border: 1px solid #dbe4ec;
    border-radius: 4px;
}

.expeditions-response-left {
    display: flex;
    align-items: center;

    gap: 15px;
}

.response-comment-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0b2b5a;
    border-radius: 50%;
    color: #0b2b5a;
    font-size: 13px;
}

.response-title {
    color: #0b2b5a;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.response-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 17px;
    border: 1px solid #0b2b5a;
    border-radius: 3px;
    background: #ffffff;
    color: #0b2b5a;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.response-view-button:hover {
    background: #0b2b5a;
    color: #ffffff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .expeditions-az-wrap {
        grid-template-columns: 200px minmax(0, 1fr);

        gap: 25px;
    }

    .expeditions-page-heading h1 {
        font-size: 29px;
    }

    .expedition-title {
        font-size: 14px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .expeditions-az-page {
        padding: 35px 0 50px;
    }

    .expeditions-az-wrap {
        width: calc(100% - 30px);

        grid-template-columns: 1fr;

        gap: 28px;
    }


    /* Main content first */
    .expeditions-main-content {
        order: 1;
    }

    .expeditions-sidebar {
        order: 2;
    }


    .expeditions-page-heading h1 {
        font-size: 26px;
    }


    .expedition-list-item {
        grid-template-columns: 42px minmax(0, 1fr) 22px;

        min-height: 58px;

        padding-right: 10px;
    }


    .expedition-icon {
        width: 32px;
        height: 32px;
    }


    .expedition-title {
        padding-left: 6px;

        font-size: 13px;
        line-height: 1.3;
    }


    .expedition-arrow {
        font-size: 23px;
    }


    .expeditions-share-row {
        justify-content: flex-start;

        gap: 16px;

        margin: 24px 0;
    }


    .expeditions-response-box {
        flex-direction: column;
        align-items: flex-start;

        padding: 17px;
    }


    .response-view-button {
        width: 100%;

        box-sizing: border-box;
    }
	
	.article-card-content {
    padding: 20px !important;
    }
	
	.article-title {
    font-size: 26px !important;
    }
	
	.exp-gallery-featured .exp-gallery-content h3 {
    font-size: 20px !important;
    }
	
	.exp-gallery-featured .exp-gallery-content {
    padding: 24px !important;
    }
	
	.article-header h1 {
    font-size: 26px !important;
}

    .article-title a {
    font-size: 22px !important;
    }
	
	.single-news-related {
    width: 100% !important;
    padding: 24px !important;
    }
	
	.single-news-page {
    width: 100%;
    position: relative !important;

    }
	
	.single-news-heading h1 {
    font-size: 26px !important;
    }
	
	.exp-gallery-featured .exp-gallery-image {
    min-height: 100% !important;
    }
	
	.article-main-card .article-featured-image img {
    max-width: 100% !important;
    max-height: 100% !important; 
	}

}




/** FOR ARTICLE PAGE HEADER **/
.page-id-862 .main-site-header,
.single-article .main-site-header,
.single-post .main-site-header,
.page-id-819 .main-site-header {
    position: static !important;
    background-color: #061A27 !important;
}

.custom-footer a {
  color: #ffffff !important;
}

.custom-footer a:hover {
  color: #EEA32D !important;
}

.article-header h1 a {
    color: #0b2b5a  !important; 
}

.sub-post-item-block h2 a {
    color: #0b2b5a  !important; 
}
.news-title a {
    color: #0b2b5a  !important; 
}


/*.wp-block-image img {
    display: none !important;
}*/

/*FORM BUTTON*/  
input#submit.submit-comment-btn {
	background-color: #061a27 !important;
	border: 1px solid #061a27 !important;
	color: #ffffff !important; /* Text color change karne ke liye */
}
				
input#submit.submit-comment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(8, 47, 102, 0.08);
}				