/*===========================================
  BLOG CUSTOM HTML LAYOUTS
  All .custom-html-layout styles
  Loads ONLY on blog posts with custom layouts
===========================================*/

/* Global Styles for Custom HTML Layout Posts */
.custom-html-layout,
.custom-html-layout p,
.custom-html-layout li,
.custom-html-layout td,
.custom-html-layout th,
.custom-html-layout h1,
.custom-html-layout h2,
.custom-html-layout h3,
.custom-html-layout h4,
.custom-html-layout .highlight-box,
.custom-html-layout .cta-button,
.custom-html-layout .color-name,
.custom-html-layout .feature-content p,
.custom-html-layout .skylet-name,
.custom-html-layout .skylet-desc,
.custom-html-layout .fashion-name,
.custom-html-layout .fashion-percent {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    box-sizing: border-box;
}

.custom-html-layout p,
.custom-html-layout li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.custom-html-layout * {
    box-sizing: border-box;
}

/* Layout Control */
.custom-html-layout .chl-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

/* Color Variables */
.custom-html-layout {
    --primary: #0055a4;
    --secondary: #00aeef;
    --accent: #f7941d;
    --light: #f5f5f5;
    --dark: #333333;
    --text: #4a4a4a;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header within the post content */
.custom-html-layout .chl-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.custom-html-layout .chl-header h1,
.custom-html-layout .chl-header p {
    color: white;
}

.custom-html-layout .chl-header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.custom-html-layout .chl-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections */
.custom-html-layout section {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    overflow: hidden;
}

.custom-html-layout section.nitro-offscreen {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    width: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

/* Headings */
.custom-html-layout h1 {
    font-size: 2.5rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.custom-html-layout h2 {
    color: var(--primary);
    font-size: 2rem;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.custom-html-layout h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.custom-html-layout h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 25px;
    margin-bottom: 15px;
}

.custom-html-layout h4 {
    color: var(--primary);
    font-size: 1.2rem;
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Highlight Box */
.custom-html-layout .highlight-box {
    background-color: rgba(0, 174, 239, 0.1);
    border-left: 5px solid var(--secondary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.custom-html-layout .highlight-box h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* CTA Buttons */
.custom-html-layout .cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
}

.custom-html-layout .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background-color: var(--accent);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    gap: 10px;
    font-size: 1rem;
}

.custom-html-layout .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: #e58210;
}

.custom-html-layout .cta-button i {
    font-size: 1.2rem;
}

/* Color Swatches */
.custom-html-layout .swatch-category {
    margin-bottom: 30px;
}

.custom-html-layout .color-swatch-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.custom-html-layout .color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.custom-html-layout .color-swatch:hover {
    transform: scale(1.1);
}

.custom-html-layout .color-name {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    white-space: nowrap;
    color: var(--dark);
}

/* Swatch Color Definitions */
.custom-html-layout .tint-burgundy-12 { background-color: #f8f6f6; }
.custom-html-layout .tint-burgundy-25 { background-color: #e8e0e2; }
.custom-html-layout .tint-burgundy-60 { background-color: #a8818e; }
.custom-html-layout .tint-burgundy-75 { background-color: #8e6071; }
.custom-html-layout .tint-burgundy-85 { background-color: #724054; }
.custom-html-layout .tint-burgundy-95 { background-color: #5c2e40; }
.custom-html-layout .tint-midnight-12 { background-color: #f7f9fa; }
.custom-html-layout .tint-midnight-25 { background-color: #e1e9ef; }
.custom-html-layout .tint-midnight-60 { background-color: #7a96af; }
.custom-html-layout .tint-midnight-75 { background-color: #5a7899; }
.custom-html-layout .tint-midnight-85 { background-color: #3f5a7a; }
.custom-html-layout .tint-midnight-95 { background-color: #253e5c; }
.custom-html-layout .tint-copper-12 { background-color: #f9f7f6; }
.custom-html-layout .tint-copper-25 { background-color: #ede6e0; }
.custom-html-layout .tint-copper-60 { background-color: #a48981; }
.custom-html-layout .tint-copper-75 { background-color: #8e7060; }
.custom-html-layout .tint-copper-85 { background-color: #725540; }
.custom-html-layout .tint-copper-95 { background-color: #5c402e; }
.custom-html-layout .tint-grey-12 { background-color: #f6f7f7; }
.custom-html-layout .tint-grey-25 { background-color: #e0e3e5; }
.custom-html-layout .tint-grey-60 { background-color: #818a90; }
.custom-html-layout .tint-grey-75 { background-color: #60696f; }
.custom-html-layout .tint-grey-85 { background-color: #404a52; }
.custom-html-layout .tint-grey-95 { background-color: #2e373f; }
.custom-html-layout .tint-brown-12 { background-color: #f7f5f3; }
.custom-html-layout .tint-brown-25 { background-color: #e7e0da; }
.custom-html-layout .tint-brown-60 { background-color: #998c7a; }
.custom-html-layout .tint-brown-75 { background-color: #7d6d57; }
.custom-html-layout .tint-brown-85 { background-color: #634e38; }
.custom-html-layout .tint-brown-95 { background-color: #493a26; }
.custom-html-layout .tint-pioneer-12 { background-color: #f5f7f5; }
.custom-html-layout .tint-pioneer-25 { background-color: #e0e7e0; }
.custom-html-layout .tint-pioneer-60 { background-color: #7a997a; }
.custom-html-layout .tint-pioneer-75 { background-color: #5a7d5a; }
.custom-html-layout .tint-pioneer-85 { background-color: #3f633f; }
.custom-html-layout .tint-pioneer-95 { background-color: #254925; }
.custom-html-layout .tint-black-12 { background-color: #f6f6f6; }
.custom-html-layout .tint-black-25 { background-color: #e0e0e0; }
.custom-html-layout .tint-black-60 { background-color: #818181; }
.custom-html-layout .tint-black-75 { background-color: #606060; }
.custom-html-layout .tint-black-85 { background-color: #404040; }
.custom-html-layout .tint-black-95 { background-color: #2e2e2e; }
.custom-html-layout .tint-blue-12 { background-color: #e8f5fc; }
.custom-html-layout .tint-blue-25 { background-color: #c5e5f8; }
.custom-html-layout .tint-rose-10 { background-color: #f7eef0; }
.custom-html-layout .tint-grad-grey-25-0 { background: linear-gradient(to bottom, #e0e0e0, #ffffff); }
.custom-html-layout .tint-grad-grey-75-25 { background: linear-gradient(to bottom, #606060, #e0e0e0); }
.custom-html-layout .tint-grad-grey-90-40 { background: linear-gradient(to bottom, #404040, #a0a0a0); }
.custom-html-layout .tint-grad-burgundy-25-0 { background: linear-gradient(to bottom, #e8e0e2, #ffffff); }
.custom-html-layout .tint-grad-burgundy-75-25 { background: linear-gradient(to bottom, #8e6071, #e8e0e2); }
.custom-html-layout .tint-grad-burgundy-90-40 { background: linear-gradient(to bottom, #724054, #c396a7); }
.custom-html-layout .tint-grad-midnight-25-0 { background: linear-gradient(to bottom, #e1e9ef, #ffffff); }
.custom-html-layout .tint-grad-midnight-75-25 { background: linear-gradient(to bottom, #5a7899, #e1e9ef); }
.custom-html-layout .tint-grad-midnight-90-40 { background: linear-gradient(to bottom, #3f5a7a, #a5c0d9); }
.custom-html-layout .tint-grad-copper-25-0 { background: linear-gradient(to bottom, #ede6e0, #ffffff); }
.custom-html-layout .tint-grad-copper-75-25 { background: linear-gradient(to bottom, #8e7060, #ede6e0); }
.custom-html-layout .tint-grad-copper-90-40 { background: linear-gradient(to bottom, #725540, #c9b5a7); }
.custom-html-layout .tint-grad-dusk-25-0 { background: linear-gradient(to bottom, #e0e3e5, #ffffff); }
.custom-html-layout .tint-grad-dusk-75-25 { background: linear-gradient(to bottom, #60696f, #e0e3e5); }
.custom-html-layout .tint-grad-dusk-90-40 { background: linear-gradient(to bottom, #404a52, #a5b3bb); }
.custom-html-layout .tint-grad-brown-25-0 { background: linear-gradient(to bottom, #e7e0da, #ffffff); }
.custom-html-layout .tint-grad-brown-75-25 { background: linear-gradient(to bottom, #7d6d57, #e7e0da); }
.custom-html-layout .tint-grad-brown-90-40 { background: linear-gradient(to bottom, #634e38, #b39d85); }
.custom-html-layout .tint-grad-pioneer-25-0 { background: linear-gradient(to bottom, #e0e7e0, #ffffff); }
.custom-html-layout .tint-grad-pioneer-75-25 { background: linear-gradient(to bottom, #5a7d5a, #e0e7e0); }
.custom-html-layout .tint-grad-pioneer-90-40 { background: linear-gradient(to bottom, #3f633f, #9db59d); }
.custom-html-layout .tint-grad-black-25-0 { background: linear-gradient(to bottom, #e0e0e0, #ffffff); }
.custom-html-layout .tint-grad-black-75-25 { background: linear-gradient(to bottom, #606060, #e0e0e0); }
.custom-html-layout .tint-grad-black-90-40 { background: linear-gradient(to bottom, #404040, #a0a0a0); }
.custom-html-layout .tint-grad-blue-25-0 { background: linear-gradient(to bottom, #c5e5f8, #ffffff); }
.custom-html-layout .tint-grad-greyblue-40 { background: linear-gradient(to bottom, #81a3bf, #c5e5f8); }
.custom-html-layout .tint-polar-grey { background-color: #393939; }
.custom-html-layout .tint-polar-brown { background-color: #48321f; }
.custom-html-layout .tint-polar-pioneer { background-color: #1d3a1d; }
.custom-html-layout .tint-polar-skylet-fun { background-color: #9d5c37; }
.custom-html-layout .tint-polar-skylet-road { background-color: #785234; }
.custom-html-layout .tint-polar-skylet-sport { background-color: #5e3226; }
.custom-html-layout .tint-happy-yellow { background-color: #f2e55c; }
.custom-html-layout .tint-magma-orange { background-color: #f9a258; }
.custom-html-layout .tint-spicy-red { background-color: #f5745c; }
.custom-html-layout .tint-sunset-violet { background-color: #de5883; }
.custom-html-layout .tint-sweet-violet { background-color: #a182ca; }
.custom-html-layout .tint-space-blue { background-color: #6fb4e7; }
.custom-html-layout .tint-chillout-green { background-color: #a3d9c1; }
.custom-html-layout .tint-pretty-pink { background-color: #f5a6bf; }
.custom-html-layout .mirror-gold { background: linear-gradient(135deg, #FFD700, #DAA520); }
.custom-html-layout .mirror-silver { background: linear-gradient(135deg, #C0C0C0, #E8E8E8); }
.custom-html-layout .mirror-blue { background: linear-gradient(135deg, #1E90FF, #87CEFA); }
.custom-html-layout .mirror-red { background: linear-gradient(135deg, #DC143C, #FF6347); }
.custom-html-layout .duravision-blue { background: linear-gradient(45deg, #0055a4, #00aeef); }
.custom-html-layout .duravision-green { background: linear-gradient(45deg, #008000, #7CFC00); }
.custom-html-layout .duravision-gold { background: linear-gradient(45deg, #FFD700, #FFA500); }
.custom-html-layout .duravision-purple { background: linear-gradient(45deg, #800080, #BA55D3); }

/* Feature List */
.custom-html-layout .feature-list {
    list-style-type: none;
    padding-left: 0;
    margin: 15px 0 25px;
}

.custom-html-layout .feature-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.custom-html-layout .feature-list li::before {
    content: "✓";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Note Text */
.custom-html-layout .note {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
    margin-top: 10px;
}

/* Table */
.custom-html-layout .table-container {
    overflow-x: auto;
    margin: 30px 0;
}

.custom-html-layout table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.custom-html-layout thead {
    background-color: var(--primary);
    color: white;
}

.custom-html-layout th,
.custom-html-layout td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
}

.custom-html-layout tbody tr:nth-child(even) {
    background-color: rgba(0, 174, 239, 0.05);
}

.custom-html-layout tbody tr:hover {
    background-color: rgba(0, 174, 239, 0.1);
}

/* New Tag */
.custom-html-layout .new-tag {
    background-color: var(--accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
}

/* Skylet Swatches */
.custom-html-layout .skylet-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin: 30px 0;
}

.custom-html-layout .skylet-swatch {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.custom-html-layout .skylet-swatch .color-swatch {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.custom-html-layout .skylet-name {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.custom-html-layout .skylet-desc {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* Fashion Swatches */
.custom-html-layout .fashion-container {
    margin: 30px 0;
}

.custom-html-layout .fashion-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 20px;
}

.custom-html-layout .fashion-swatch {
    flex: 1 1 calc(25% - 20px);
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.custom-html-layout .fashion-swatch .color-swatch {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.custom-html-layout .fashion-name {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.custom-html-layout .fashion-percent {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Features Grid */
.custom-html-layout .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.custom-html-layout .feature-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.custom-html-layout .feature-card:hover {
    transform: translateY(-5px);
}

.custom-html-layout .feature-icon {
    background-color: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 2rem;
}

.custom-html-layout .feature-content {
    padding: 20px;
    flex-grow: 1;
}

.custom-html-layout .feature-content h4 {
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* Map Container */
.custom-html-layout .map-container {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    line-height: 0;
}

.custom-html-layout .map-container iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: 0;
}

/* FAQ Section */
.custom-html-layout .faq-section div {
    margin-bottom: 20px;
}

.custom-html-layout .faq-section h3 {
    margin-top: 0;
}

.custom-html-layout .faq-section p {
    margin-bottom: 0;
}

/* Footer within the post content */
.custom-html-layout .chl-footer {
    background-color: var(--dark);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
    border-radius: 15px 15px 0 0;
}

.custom-html-layout .chl-footer p {
    color: white;
    margin: 10px 0;
    font-size: 0.9rem;
}

/* Ortho-K Components */
.custom-html-layout .chl-header .hero-text {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.custom-html-layout .chl-section-simple-bordered {
    background-color: transparent;
    box-shadow: none;
    padding: 50px 0;
    border-bottom: 1px solid #eaeaea;
    border-radius: 0;
    margin-bottom: 0;
}

.custom-html-layout .chl-section-simple-bordered:last-of-type {
    border-bottom: none;
}

.custom-html-layout .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.custom-html-layout .benefit-card {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.custom-html-layout .benefit-card:hover {
    transform: translateY(-5px);
}

.custom-html-layout .benefit-card h3 {
    color: #005792;
    margin-top: 0;
    margin-bottom: 15px;
}

.custom-html-layout .steps-container {
    counter-reset: step-counter;
    margin: 30px 0;
}

.custom-html-layout .step-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
    min-height: 60px;
}

.custom-html-layout .step-item:before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background: #005792;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
}

.custom-html-layout .step-item h3 {
    color: #005792;
    margin-top: 0;
}

.custom-html-layout .chl-cta-section-fullwidth {
    background-color: #f5f9fc;
    text-align: center;
    padding: 60px 0;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.custom-html-layout .chl-cta-section-fullwidth h2 {
    color: #005792 !important;
}

.custom-html-layout .chl-cta-section-fullwidth h2::after {
    display:none;
}

.custom-html-layout .contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}

.custom-html-layout .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.custom-html-layout .contact-icon {
    font-size: 1.5rem;
    color: #005792;
}

.custom-html-layout .centered-image-block {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.custom-html-layout .centered-image-block img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.custom-html-layout .standard-bullet-list ul {
    margin-left: 40px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.custom-html-layout .standard-bullet-list ul li {
    margin-bottom: 10px;
}

.custom-html-layout .chl-text-orthok-primary {
    color: #005792 !important;
}

.custom-html-layout h2.chl-text-orthok-primary::after {
    display: none;
}

.custom-html-layout h2.chl-text-orthok-primary {
    margin: 30px 0 15px 0;
    line-height: 1.3;
    padding-bottom: 0;
}

.custom-html-layout h3.chl-text-orthok-primary {
    margin: 25px 0 15px 0;
}

/* Photochromic Post Components */
.custom-html-layout {
    --pc-zeiss-blue: #0033a0;
    --pc-zeiss-light-blue: #d4e1f7;
    --pc-highlight-bg: #fffaed;
    --pc-section-bg: #f8f9fa;
}

.custom-html-layout .photochromic-intro-section {
    background-color: var(--pc-highlight-bg);
    padding: 2rem 0;
    border-radius: 0px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.custom-html-layout .photochromic-intro-section h2 {
    color: var(--pc-zeiss-blue);
    border-bottom: none;
}

.custom-html-layout .photochromic-intro-section h2::after {
    display: none;
}

.custom-html-layout section.chl-section-lightgrey-pc {
    background-color: var(--pc-section-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-radius: 8px;
    padding: 2rem;
}

.custom-html-layout section.chl-section-lightgrey-pc h2 {
    color: var(--pc-zeiss-blue);
    border-bottom: 2px solid var(--pc-zeiss-light-blue);
    padding-bottom: 0.5rem;
}

.custom-html-layout section.chl-section-lightgrey-pc h2::after {
    display: none;
}

.custom-html-layout .photochromic-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.custom-html-layout .photochromic-tech-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.custom-html-layout .photochromic-tech-card:hover {
    transform: translateY(-5px);
}

.custom-html-layout .photochromic-tech-card-header {
    padding: 1.5rem;
    background-color: #e0e0e0;
    color: #333;
}

.custom-html-layout .photochromic-tech-card-header h3 {
    margin-top: 0;
    font-size: 1.5rem;
    line-height: 1.3;
    color: inherit;
}

.custom-html-layout .photochromic-tech-card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.custom-html-layout .photochromic-tech-card-body h4 {
    color: var(--pc-zeiss-blue);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.3;
}

.custom-html-layout .swatch-display-photochromic {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.custom-html-layout .swatch-item-photochromic {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-html-layout .swatch-circle-split {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    overflow: hidden;
    border: 1px solid #ccc;
    margin-bottom: 5px;
}

.custom-html-layout .swatch-circle-split > div {
    width: 50%;
    height: 100%;
}

.custom-html-layout .swatch-label-photochromic {
    margin-top: 5px;
    font-size: 0.8rem;
    color: #666;
}

.custom-html-layout .feature-list-photochromic li::before {
    color: var(--pc-zeiss-blue);
}

.custom-html-layout .photochromic-enhancement-section {
    background: linear-gradient(to right, var(--pc-zeiss-light-blue), white);
    padding: 2rem 0;
    margin: 2rem 0;
    border-radius: 0px;
    box-shadow: none;
}

.custom-html-layout .photochromic-enhancement-section h2 {
    color: var(--pc-zeiss-blue);
    border-bottom: 2px solid var(--pc-zeiss-light-blue);
    padding-bottom: 0.5rem;
}

.custom-html-layout .photochromic-enhancement-section h2::after {
    display: none;
}

.custom-html-layout .photochromic-enhancement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.custom-html-layout .photochromic-enhancement-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.custom-html-layout .photochromic-enhancement-card h4 {
    color: var(--pc-zeiss-blue);
    margin-top: 0;
}

.custom-html-layout .photochromic-cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem 0;
    background-color: var(--pc-zeiss-light-blue);
    border-radius: 0px;
    box-shadow: none;
}

.custom-html-layout .photochromic-cta-section h2 {
    color: var(--pc-zeiss-blue);
    border-bottom: 2px solid var(--pc-zeiss-light-blue);
    padding-bottom: 0.5rem;
}

.custom-html-layout .photochromic-cta-section h2::after {
    display: none;
}

.custom-html-layout .photochromic-cta-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.custom-html-layout .cta-button.cta-button-photochromic-style {
    background-color: var(--pc-zeiss-blue);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-html-layout .cta-button.cta-button-photochromic-style:hover {
    background-color: #00287a;
}

.custom-html-layout .photochromic-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.custom-html-layout .photochromic-comparison-table th,
.custom-html-layout .photochromic-comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.custom-html-layout .photochromic-comparison-table th {
    background-color: var(--pc-zeiss-blue);
    color: white;
}

.custom-html-layout .photochromic-comparison-table tr:nth-child(even) td {
    background-color: #f2f2f2;
}

.custom-html-layout .chl-footer .footer-logo-simple {
    max-width: 80px;
    height: auto;
    margin-bottom: 1rem;
    box-shadow: none;
    border-radius: 0;
}

.custom-html-layout .chl-footer .footer-contact-details p,
.custom-html-layout .chl-footer .footer-disclaimer p {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
    margin: 0.5rem 0;
}

.custom-html-layout .chl-footer .footer-contact-details a.footer-link {
    color: white;
    text-decoration: underline;
}

.custom-html-layout .chl-footer .footer-contact-details a.footer-link:hover {
    color: var(--secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .custom-html-layout .chl-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .custom-html-layout .chl-header h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    .custom-html-layout .chl-header p {
        font-size: 1rem;
    }
    .custom-html-layout h1 {
        font-size: 2rem;
    }
    .custom-html-layout h2 {
        font-size: 1.75rem;
    }
    .custom-html-layout h3 {
        font-size: 1.4rem;
    }
    .custom-html-layout section {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    .custom-html-layout .cta-container {
        flex-direction: column;
        align-items: center;
    }
    .custom-html-layout .cta-button {
        width: 100%;
        max-width: 320px;
    }
    .custom-html-layout .color-swatch {
        width: 50px;
        height: 50px;
    }
    .custom-html-layout .color-name {
        font-size: 0.75rem;
        bottom: -22px;
    }
    .custom-html-layout .skylet-container {
        gap: 20px;
    }
    .custom-html-layout .skylet-swatch {
        flex-basis: 100%;
    }
    .custom-html-layout .fashion-row {
        justify-content: center;
        gap: 20px;
    }
    .custom-html-layout .fashion-swatch {
        flex-basis: calc(50% - 10px);
        min-width: 100px;
    }
    .custom-html-layout .map-container iframe {
        height: 300px;
    }
    .custom-html-layout .benefits-grid {
        grid-template-columns: 1fr;
    }
    .custom-html-layout .chl-header.chl-header-style-orthok .hero-text {
        font-size: 1.1rem;
    }
    .custom-html-layout .step-item {
        padding-left: 60px;
    }
    .custom-html-layout .step-item:before {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .custom-html-layout .chl-cta-section-fullwidth {
        padding: 40px 0;
    }
    .custom-html-layout .photochromic-intro-section,
    .custom-html-layout .photochromic-enhancement-section,
    .custom-html-layout .photochromic-cta-section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .custom-html-layout section.chl-section-lightgrey-pc {
        padding: 1.5rem;
    }
    .custom-html-layout .photochromic-tech-grid,
    .custom-html-layout .photochromic-enhancement-grid {
        grid-template-columns: 1fr;
    }
    .custom-html-layout .photochromic-comparison-table th,
    .custom-html-layout .photochromic-comparison-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    .custom-html-layout h1[style*="text-align: center"] {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    .custom-html-layout .chl-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .custom-html-layout .chl-header h1 {
        font-size: 1.5rem;
    }
    .custom-html-layout .chl-header p {
        font-size: 0.9rem;
    }
    .custom-html-layout h1 {
        font-size: 1.7rem;
    }
    .custom-html-layout h2 {
        font-size: 1.5rem;
    }
    .custom-html-layout h3 {
        font-size: 1.3rem;
    }
    .custom-html-layout p,
    .custom-html-layout li {
        font-size: 1rem;
    }
    .custom-html-layout section {
        padding: 15px 10px;
        margin-bottom: 25px;
    }
    .custom-html-layout .color-swatch-container {
        gap: 10px;
        justify-content: center;
    }
    .custom-html-layout .color-swatch {
        width: 40px;
        height: 40px;
        margin-bottom: 20px;
    }
    .custom-html-layout .color-name {
        font-size: 0.7rem;
    }
    .custom-html-layout .fashion-swatch {
        flex-basis: calc(50% - 10px);
    }
    .custom-html-layout .highlight-box {
        padding: 15px;
        margin: 20px 0;
    }
    .custom-html-layout .chl-header.chl-header-style-orthok .hero-text {
        font-size: 1rem;
    }
    .custom-html-layout h1[style*="text-align: center"] {
        font-size: 1.8rem !important;
    }
}