/* Temporary for development stage, recommend copying this CSS to frontend.css for production */
section[data-module="investor-relation-highlights"] {
    width: 100%;
    padding: 10px 0 20px;
}

section[data-module="investor-relation-highlights"] *,
section[data-module="investor-relation-highlights"] *::before,
section[data-module="investor-relation-highlights"] *::after {
    box-sizing: border-box;
}

section[data-module="investor-relation-highlights"] .cab-ir-downloads-wrap {
    width: 100%;
}

/* Grid */
section[data-module="investor-relation-highlights"] .cab-ir-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
    width: 100%;
}

/* Second row hidden initially */
section[data-module="investor-relation-highlights"] .cab-ir-extra-wrap {
    display: none;
    width: 100%;
    margin-top: 34px;
}

/* Card */
section[data-module="investor-relation-highlights"] a.cab-ir-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 195px;
    padding: 30px 28px 26px;
    border: none;
    border-radius: 17px;
    background-color: #f32f3d !important;
    background-image: none !important;
    color: #ffffff !important;
    text-decoration: none !important;
    overflow: visible;
    box-shadow: 12px 12px 25px rgba(0, 0, 0, 0.12);
    transition:
        background-color 0.45s ease,
        box-shadow 0.45s ease,
        transform 0.45s ease;
}

/* Prevent theme link styling */
section[data-module="investor-relation-highlights"] a.cab-ir-card:link,
section[data-module="investor-relation-highlights"] a.cab-ir-card:visited,
section[data-module="investor-relation-highlights"] a.cab-ir-card:focus {
    background-color: #f32f3d !important;
    color: #ffffff !important;
    text-decoration: none !important;
    outline: none;
}

/* Soft bottom shadow */
section[data-module="investor-relation-highlights"] .cab-ir-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -58px;
    width: 100%;
    height: 25px;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(
        to bottom,
        rgba(243, 47, 61, 0.17) 0%,
        rgba(243, 47, 61, 0.07) 45%,
        rgba(243, 47, 61, 0) 100%
    );
    filter: blur(3px);
    pointer-events: none;
    transition:
        opacity 0.4s ease,
        background 0.4s ease;
}

/* Card inner layout */
section[data-module="investor-relation-highlights"] .cab-ir-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 139px;
}

/* Card title */
section[data-module="investor-relation-highlights"] .cab-ir-card-title {
    margin: 0 !important;
    padding: 0;
    color: #ffffff !important;
    font-size: 24px;
	  font-weight: 600;
	  line-height: 1.2;
    text-align: center;
    transition: color 0.4s ease;
}

/* Download row */
section[data-module="investor-relation-highlights"] .cab-ir-card-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: 100%;
    margin-top: 28px;
}

/* Download text */
section[data-module="investor-relation-highlights"] .cab-ir-card-download-text {
    display: inline-block;
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    transition: color 0.4s ease;
}

/* Circular arrow */
section[data-module="investor-relation-highlights"] .cab-ir-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.13);
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}

section[data-module="investor-relation-highlights"] .cab-ir-card-arrow {
    display: block;
    width: 12px;
    height: 12px;
    background-image: url("https://cab.stagings.entertopwp.com/wp-content/uploads/2026/06/button-arrow-4.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Card hover */
section[data-module="investor-relation-highlights"] a.cab-ir-card:hover {
    background-color: #d8c09f !important;
    color: #000000 !important;
    text-decoration: none !important;
    transform: translateY(-5px);
    box-shadow: 14px 17px 30px rgba(0, 0, 0, 0.16);
}

section[data-module="investor-relation-highlights"] a.cab-ir-card:hover .cab-ir-card-title {
    color: #000000 !important;
}

section[data-module="investor-relation-highlights"] a.cab-ir-card:hover .cab-ir-card-download-text {
    color: #f32f3d !important;
}

section[data-module="investor-relation-highlights"] a.cab-ir-card:hover .cab-ir-card-icon {
    transform: rotate(80deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.17);
}

/* Load More wrapper */
section[data-module="investor-relation-highlights"] .cab-ir-toggle-wrap {
    margin-top: 105px;
}

section[data-module="investor-relation-highlights"] .cab-division-button-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Load More button */
section[data-module="investor-relation-highlights"] .cab-division-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 155px;
    padding: 15px 24px 15px 26px;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #ff2f3a;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition:
        color 0.35s ease,
        transform 0.35s ease;
}

/* Left curved border */
section[data-module="investor-relation-highlights"] .cab-division-btn::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 22px;
    height: 34px;
    border-left: 1.5px solid #ff2f3a;
    border-bottom: 1.5px solid #ff2f3a;
    border-radius: 0 0 0 18px;
    background: transparent;
    z-index: -1;
    transition:
        width 0.45s ease,
        height 0.45s ease,
        border-color 0.35s ease,
        background-color 0.35s ease,
        border-radius 0.45s ease;
}

/* Bottom line */
section[data-module="investor-relation-highlights"] .cab-division-btn::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 0;
    width: calc(100% - 18px);
    height: 1px;
    background-color: #ff2f3a;
    z-index: -1;
    transition:
        opacity 0.35s ease,
        background-color 0.35s ease;
}

/* Button arrow */
section[data-module="investor-relation-highlights"] .cab-division-arrow {
    position: relative;
    display: inline-block;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

section[data-module="investor-relation-highlights"] .cab-division-arrow::before,
section[data-module="investor-relation-highlights"] .cab-division-arrow::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: opacity 0.35s ease;
}

section[data-module="investor-relation-highlights"] .cab-division-arrow::before {
    background-image: url("https://cab.stagings.entertopwp.com/wp-content/uploads/2026/04/ir-arrow-2.png");
    opacity: 1;
}

section[data-module="investor-relation-highlights"] .cab-division-arrow::after {
    background-image: url("https://cab.stagings.entertopwp.com/wp-content/uploads/2026/06/button-arrow-4.png");
    opacity: 0;
}

/* Button hover */
section[data-module="investor-relation-highlights"] .cab-division-btn:hover {
    color: #000000;
    background: transparent;
}

section[data-module="investor-relation-highlights"] .cab-division-btn:hover::before {
    width: 100%;
    height: 100%;
    border-color: #d5be9e;
    border-radius: 0 0 0 18px;
    background-color: #d5be9e;
}

section[data-module="investor-relation-highlights"] .cab-division-btn:hover::after {
    opacity: 0;
}

section[data-module="investor-relation-highlights"] .cab-division-btn:hover .cab-division-arrow {
    transform: rotate(80deg);
}

section[data-module="investor-relation-highlights"] .cab-division-btn:hover .cab-division-arrow::before {
    opacity: 0;
}

section[data-module="investor-relation-highlights"] .cab-division-btn:hover .cab-division-arrow::after {
    opacity: 1;
}

/* Show Less arrow state */
section[data-module="investor-relation-highlights"] .cab-ir-toggle-btn[aria-expanded="true"] .cab-division-arrow {
    transform: rotate(180deg);
}

section[data-module="investor-relation-highlights"] .cab-ir-toggle-btn[aria-expanded="true"]:hover .cab-division-arrow {
    transform: rotate(260deg);
}

/* Typical laptop screen size */
@media (max-width: 1400px) {

    section[data-module="investor-relation-highlights"] .cab-ir-grid {
        gap: 25px;
    }

    section[data-module="investor-relation-highlights"] a.cab-ir-card {
        min-height: 190px;
        padding: 28px 22px 24px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-card-title {
        font-size: 22px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-card-download-text {
        font-size: 17px;
    }
}

/* Small laptop */
@media (min-width: 981px) and (max-width: 1199px) {

    section[data-module="investor-relation-highlights"] .cab-ir-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-extra-wrap {
        margin-top: 28px;
    }
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 980px) {

    section[data-module="investor-relation-highlights"] {
        padding: 25px 0 45px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-extra-wrap {
        margin-top: 24px;
    }

    section[data-module="investor-relation-highlights"] a.cab-ir-card {
        min-height: 185px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-card-title {
        font-size: 21px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-toggle-wrap {
        margin-top: 85px;
    }
}

/* Mobile screen size - landscape view */
@media (max-width: 767px) {

    section[data-module="investor-relation-highlights"] {
        padding: 0px 8px 0px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-grid {
        gap: 10px;
    	grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    section[data-module="investor-relation-highlights"] .cab-ir-extra-wrap {
        margin-top: 10px;
    }

    section[data-module="investor-relation-highlights"] a.cab-ir-card {
        min-height: 194px;
        padding: 30px 25px 25px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-card-title {
        font-size: 24px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-toggle-wrap {
        margin-top: 20px;
    }
}

/* Mobile screen size */
@media (max-width: 480px) {
	
	section[data-module="investor-relation-highlights"] .cab-ir-card::after {
  	bottom: -36px;
	}

    section[data-module="investor-relation-highlights"] a.cab-ir-card {
        min-height: auto;
		padding: 20px 10px 20px;
		border-radius: 16px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-card-inner {
        min-height: 20px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-card-title {
        font-size: 16px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-card-download {
        gap: 16px;
        margin-top: 25px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-card-download-text {
        font-size: 16px;
    }

    section[data-module="investor-relation-highlights"] .cab-ir-card-icon {
        width: 35px;
		height: 35px;
		flex-basis: 35px;
    }

    section[data-module="investor-relation-highlights"] .cab-division-btn {
        min-width: auto;
        padding: 14px 22px 14px 24px;
        font-size: 16px;
    }
}